From: Alexandre Oliva Date: Thu, 14 Sep 2000 04:56:55 +0000 (+0000) Subject: * sh.h (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32d070f0dea9c9f1bda92a58f2f3c2b8e12efec9;p=binutils-gdb.git * 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. --- diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 1256f71f4c2..d69ac30506e 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,12 @@ +2000-09-14 Alexandre Oliva + + * 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 * mips.h (E_MIPS_MACH_4K): New define. diff --git a/include/elf/sh.h b/include/elf/sh.h index c226e436356..6a1e5613ebf 100644 --- a/include/elf/sh.h +++ b/include/elf/sh.h @@ -63,15 +63,7 @@ START_RELOC_NUMBERS (elf_sh_reloc_type) RELOC_NUMBER (R_SH_DIR8BP, 7) RELOC_NUMBER (R_SH_DIR8W, 8) RELOC_NUMBER (R_SH_DIR8L, 9) - RELOC_NUMBER (R_SH_GOT32, 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_FIRST_INVALID_RELOC, 10) FAKE_RELOC (R_SH_LAST_INVALID_RELOC, 24) RELOC_NUMBER (R_SH_SWITCH16, 25) 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_LOOP_START, 36) 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) #endif