aboutsummaryrefslogtreecommitdiff
path: root/include/coff/ti.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-03-02 12:06:14 +1030
committerAlan Modra <amodra@gmail.com>2021-03-03 17:46:24 +1030
commitdc83f2d20e964f9a7fd9a97ba9d3950b908752a1 (patch)
treeb2655d6a19d07021558a1151bf85ae70194768a6 /include/coff/ti.h
parentca87bad0e90e53de2f6509939c45cd7434329a49 (diff)
downloadgdb-dc83f2d20e964f9a7fd9a97ba9d3950b908752a1.zip
gdb-dc83f2d20e964f9a7fd9a97ba9d3950b908752a1.tar.gz
gdb-dc83f2d20e964f9a7fd9a97ba9d3950b908752a1.tar.bz2
Split relocation defines out of coff/internal.h
include/ * coff/internal.h: Delete obsolete relocation defines. Move used relocation defines.. * coff/i386.h: ..to here.. * coff/ti.h: ..and here.. * coff/x86_64.h: ..and here.. * coff/z80.h: ..and here.. * coff/z8k.h: ..and here. bfd/ * reloc.c: Include x86_64.h rather than internal.h.
Diffstat (limited to 'include/coff/ti.h')
-rw-r--r--include/coff/ti.h22
1 files changed, 15 insertions, 7 deletions
diff --git a/include/coff/ti.h b/include/coff/ti.h
index fc246ee..5d242d1 100644
--- a/include/coff/ti.h
+++ b/include/coff/ti.h
@@ -549,12 +549,20 @@ struct external_reloc
do memset (dst->r_reserved, 0, sizeof (dst->r_reserved)); while (0)
/* various relocation types. */
-#define R_ABS 0x0000 /* no relocation */
-#define R_REL13 0x002A /* 13-bit direct reference (???) */
-#define R_PARTLS7 0x0028 /* 7 LSBs of an address */
-#define R_PARTMS9 0x0029 /* 9MSBs of an address */
-#define R_EXTWORD 0x002B /* 23-bit direct reference */
-#define R_EXTWORD16 0x002C /* 16-bit direct reference to 23-bit addr*/
-#define R_EXTWORDMS7 0x002D /* upper 7 bits of 23-bit address */
+#define R_REL24 5
+#define R_RELWORD 16
+#define R_RELLONG 17
+#define R_PCRWORD 19
+#define R_PCR24 21
+#define R_PARTLS16 32
+#define R_PARTMS8 33
+
+#define R_ABS 0 /* no relocation */
+#define R_REL13 0x2A /* 13-bit direct reference (???) */
+#define R_PARTLS7 0x28 /* 7 LSBs of an address */
+#define R_PARTMS9 0x29 /* 9MSBs of an address */
+#define R_EXTWORD 0x2B /* 23-bit direct reference */
+#define R_EXTWORD16 0x2C /* 16-bit direct reference to 23-bit addr*/
+#define R_EXTWORDMS7 0x2D /* upper 7 bits of 23-bit address */
#endif /* COFF_TI_H */