summaryrefslogtreecommitdiff
path: root/include
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
commit20c05de80761c02abea6337af7932d7e471ff34b (patch)
treefebbad5efa2caf0144afa914ba811fb987bb3797 /include
parentd4ba2db903fc07f51ec7a449e2fd9d8cff52fdf7 (diff)
downloadgdb-20c05de80761c02abea6337af7932d7e471ff34b.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')
-rw-r--r--include/elf/ChangeLog9
-rw-r--r--include/elf/sh.h20
2 files changed, 20 insertions, 9 deletions
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 <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 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