summaryrefslogtreecommitdiff
path: root/include/elf/sh.h
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-09-14 04:56:55 +0000
committerAlexandre Oliva <aoliva@redhat.com>2000-09-14 04:56:55 +0000
commit550a532f0718e4ac16af4137662f8310d5c6bc83 (patch)
treebca8ad6e97be2bd1753e9de937241e21af5007c8 /include/elf/sh.h
parent522c104836414c229b86aca128b0b4b7869aae19 (diff)
downloadbinutils-redhat-550a532f0718e4ac16af4137662f8310d5c6bc83.tar.gz
* 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/sh.h')
-rw-r--r--include/elf/sh.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/include/elf/sh.h b/include/elf/sh.h
index c226e43635..6a1e5613eb 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