[bfd]
* reloc.c: Remove unused M32C relocs, add BFD_RELOC_M32C_HI8. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * elf32-m32c.c (m32c_elf_howto_table): Add R_M32C_8, R_M32C_LO16, R_M32C_HI8, R_M32C_HI16. (m32c_reloc_map): Likewise. (m32c_elf_relocate_section): Add R_M32C_HI8 and R_M32C_HI16. [cpu] * m32c.opc (parse_unsigned8): Add %dsp8(). (parse_signed8): Add %hi8(). (parse_unsigned16): Add %dsp16(). (parse_signed16): Add %lo16() and %hi16(). (parse_lab_5_3): Make valuep a bfd_vma *. [gas] * config/tc-m32c.c (md_cgen_lookup_reloc): Add 8 bit operands. Support %mod() modifiers from opcodes. * doc/c-m32c.texi (M32C-Modifiers): New section. [include/elf] * m32c.h: Add R_M32C_8, R_M32C_LO16, R_M32C_HI8, and R_M32C_HI16. [opcodes] * m32c-asm.c Regenerate. * m32c-dis.c Regenerate.
This commit is contained in:
parent
0a911c4e6d
commit
8efb275cc3
@ -1,3 +1,7 @@
|
|||||||
|
2005-07-25 DJ Delorie <dj@redhat.com>
|
||||||
|
|
||||||
|
* m32c.h: Add R_M32C_8, R_M32C_LO16, R_M32C_HI8, and R_M32C_HI16.
|
||||||
|
|
||||||
2005-07-25 Jan Hubicka <jh@suse.cz>
|
2005-07-25 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
* x86-64.h (SHN_X86_64_LCOMMON): New.
|
* x86-64.h (SHN_X86_64_LCOMMON): New.
|
||||||
|
@ -30,6 +30,16 @@ along with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
RELOC_NUMBER (R_M32C_32, 3)
|
RELOC_NUMBER (R_M32C_32, 3)
|
||||||
RELOC_NUMBER (R_M32C_8_PCREL, 4)
|
RELOC_NUMBER (R_M32C_8_PCREL, 4)
|
||||||
RELOC_NUMBER (R_M32C_16_PCREL, 5)
|
RELOC_NUMBER (R_M32C_16_PCREL, 5)
|
||||||
|
|
||||||
|
/* 8 bit unsigned address, used for dsp8[a0] etc */
|
||||||
|
RELOC_NUMBER (R_M32C_8, 6)
|
||||||
|
/* Bits 0..15 of an address, for SMOVF's A0, A1A0, etc. */
|
||||||
|
RELOC_NUMBER (R_M32C_LO16, 7)
|
||||||
|
/* Bits 16..23 of an address, for SMOVF's R1H etc. */
|
||||||
|
RELOC_NUMBER (R_M32C_HI8, 8)
|
||||||
|
/* Bits 16..31 of an address, for LDE's A1A0 etc. */
|
||||||
|
RELOC_NUMBER (R_M32C_HI16, 9)
|
||||||
|
|
||||||
END_RELOC_NUMBERS (R_M32C_max)
|
END_RELOC_NUMBERS (R_M32C_max)
|
||||||
|
|
||||||
#define EF_M32C_CPU_M16C 0x00000075 /* default */
|
#define EF_M32C_CPU_M16C 0x00000075 /* default */
|
||||||
|
Loading…
Reference in New Issue
Block a user