* sh.h (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,

R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): Change
numbers to the range from 160 to 167.
(R_SH_FIRST_INVALID_RELOC): Adjust.
(R_SH_FIRST_INVALID_RELOC_2, R_SH_LAST_INVALID_RELOC_2):
New relocs to fill in the gap.
This commit is contained in:
Alexandre Oliva 2000-09-14 04:56:55 +00:00
parent 67b0ce5ff0
commit b162f39709
2 changed files with 20 additions and 9 deletions

View File

@ -1,3 +1,12 @@
2000-09-14 Alexandre Oliva <aoliva@redhat.com>
* sh.h (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): Change
numbers to the range from 160 to 167.
(R_SH_FIRST_INVALID_RELOC): Adjust.
(R_SH_FIRST_INVALID_RELOC_2, R_SH_LAST_INVALID_RELOC_2):
New relocs to fill in the gap.
2000-09-13 Anders Norlander <anorland@acc.umu.se> 2000-09-13 Anders Norlander <anorland@acc.umu.se>
* mips.h (E_MIPS_MACH_4K): New define. * mips.h (E_MIPS_MACH_4K): New define.

View File

@ -63,15 +63,7 @@ START_RELOC_NUMBERS (elf_sh_reloc_type)
RELOC_NUMBER (R_SH_DIR8BP, 7) RELOC_NUMBER (R_SH_DIR8BP, 7)
RELOC_NUMBER (R_SH_DIR8W, 8) RELOC_NUMBER (R_SH_DIR8W, 8)
RELOC_NUMBER (R_SH_DIR8L, 9) RELOC_NUMBER (R_SH_DIR8L, 9)
RELOC_NUMBER (R_SH_GOT32, 10) FAKE_RELOC (R_SH_FIRST_INVALID_RELOC, 10)
RELOC_NUMBER (R_SH_PLT32, 11)
RELOC_NUMBER (R_SH_COPY, 12)
RELOC_NUMBER (R_SH_GLOB_DAT, 13)
RELOC_NUMBER (R_SH_JMP_SLOT, 14)
RELOC_NUMBER (R_SH_RELATIVE, 15)
RELOC_NUMBER (R_SH_GOTOFF, 16)
RELOC_NUMBER (R_SH_GOTPC, 17)
FAKE_RELOC (R_SH_FIRST_INVALID_RELOC, 18)
FAKE_RELOC (R_SH_LAST_INVALID_RELOC, 24) FAKE_RELOC (R_SH_LAST_INVALID_RELOC, 24)
RELOC_NUMBER (R_SH_SWITCH16, 25) RELOC_NUMBER (R_SH_SWITCH16, 25)
RELOC_NUMBER (R_SH_SWITCH32, 26) RELOC_NUMBER (R_SH_SWITCH32, 26)
@ -86,6 +78,16 @@ START_RELOC_NUMBERS (elf_sh_reloc_type)
RELOC_NUMBER (R_SH_GNU_VTENTRY, 35) RELOC_NUMBER (R_SH_GNU_VTENTRY, 35)
RELOC_NUMBER (R_SH_LOOP_START, 36) RELOC_NUMBER (R_SH_LOOP_START, 36)
RELOC_NUMBER (R_SH_LOOP_END, 37) RELOC_NUMBER (R_SH_LOOP_END, 37)
FAKE_RELOC (R_SH_FIRST_INVALID_RELOC_2, 38)
FAKE_RELOC (R_SH_LAST_INVALID_RELOC_2, 159)
RELOC_NUMBER (R_SH_GOT32, 160)
RELOC_NUMBER (R_SH_PLT32, 161)
RELOC_NUMBER (R_SH_COPY, 162)
RELOC_NUMBER (R_SH_GLOB_DAT, 163)
RELOC_NUMBER (R_SH_JMP_SLOT, 164)
RELOC_NUMBER (R_SH_RELATIVE, 165)
RELOC_NUMBER (R_SH_GOTOFF, 166)
RELOC_NUMBER (R_SH_GOTPC, 167)
END_RELOC_NUMBERS (R_SH_max) END_RELOC_NUMBERS (R_SH_max)
#endif #endif