diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2000-09-14 04:56:55 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2000-09-14 04:56:55 +0000 |
commit | 32d070f0dea9c9f1bda92a58f2f3c2b8e12efec9 (patch) | |
tree | 618d2bc1b298a9fed402dc7a684a7566bafa67de /include/elf | |
parent | 156c2f8bf75a86dfa719220f9f259196d9d2491b (diff) | |
download | gdb-32d070f0dea9c9f1bda92a58f2f3c2b8e12efec9.zip gdb-32d070f0dea9c9f1bda92a58f2f3c2b8e12efec9.tar.gz gdb-32d070f0dea9c9f1bda92a58f2f3c2b8e12efec9.tar.bz2 |
* 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.
Diffstat (limited to 'include/elf')
-rw-r--r-- | include/elf/ChangeLog | 9 | ||||
-rw-r--r-- | include/elf/sh.h | 20 |
2 files changed, 20 insertions, 9 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 1256f71..d69ac30 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -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> * mips.h (E_MIPS_MACH_4K): New define. diff --git a/include/elf/sh.h b/include/elf/sh.h index c226e43..6a1e561 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 |