aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>1999-09-20 08:45:53 +0000
committerAlan Modra <amodra@gmail.com>1999-09-20 08:45:53 +0000
commit2664272934d70e9134be593ed97da232ce319c89 (patch)
treea4f7a69896199b67e51da5f5edf586d6061358c7 /include
parent34ca6cf879e70a8b02c4743c6e7586e9dd09bd7c (diff)
downloadgdb-2664272934d70e9134be593ed97da232ce319c89.zip
gdb-2664272934d70e9134be593ed97da232ce319c89.tar.gz
gdb-2664272934d70e9134be593ed97da232ce319c89.tar.bz2
Delete bogus R_PCLONG. Tidy R_*.
Diffstat (limited to 'include')
-rw-r--r--include/coff/ChangeLog5
-rw-r--r--include/coff/internal.h49
2 files changed, 27 insertions, 27 deletions
diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog
index d946c77..198093c 100644
--- a/include/coff/ChangeLog
+++ b/include/coff/ChangeLog
@@ -1,3 +1,8 @@
+1999-09-20 Alan Modra <alan@spri.levels.unisa.edu.au>
+
+ * internal.h: Delete bogus R_PCLONG, duplicate R_RELBYTE and
+ R_RELWORD, and rewrite some R_* as decimal.
+
1999-09-06 Donn Terry <donn@interix.com>
* internal.h (DTYPE): Define.
diff --git a/include/coff/internal.h b/include/coff/internal.h
index e0f5067..86c24bd 100644
--- a/include/coff/internal.h
+++ b/include/coff/internal.h
@@ -590,33 +590,28 @@ struct internal_reloc
unsigned long r_offset; /* Used by Alpha ECOFF, SPARC, others */
};
-#define R_RELBYTE 017
-#define R_RELWORD 020
-#define R_PCRBYTE 022
-#define R_PCRWORD 023
-#define R_PCRLONG 024
-
-#define R_DIR16 01
-#define R_DIR32 06
-#define R_PCLONG 020
-#define R_RELBYTE 017
-#define R_RELWORD 020
-#define R_IMAGEBASE 07
-
-
-#define R_PCR16L 128
-#define R_PCR26L 129
-#define R_VRT16 130
-#define R_HVRT16 131
-#define R_LVRT16 132
-#define R_VRT32 133
-#define R_RELLONG (0x11) /* Direct 32-bit relocation */
-#define R_IPRSHORT (0x18)
-#define R_IPRLONG (0x1a)
-#define R_GETSEG (0x1d)
-#define R_GETPA (0x1e)
-#define R_TAGWORD (0x1f)
-#define R_JUMPTARG 0x20 /* strange 29k 00xx00xx reloc */
+#define R_DIR16 1
+#define R_DIR32 6
+#define R_IMAGEBASE 7
+#define R_RELBYTE 15
+#define R_RELWORD 16
+#define R_RELLONG 17
+#define R_PCRBYTE 18
+#define R_PCRWORD 19
+#define R_PCRLONG 20
+#define R_IPRSHORT 24
+#define R_IPRLONG 26
+#define R_GETSEG 29
+#define R_GETPA 30
+#define R_TAGWORD 31
+#define R_JUMPTARG 32 /* strange 29k 00xx00xx reloc */
+
+#define R_PCR16L 128
+#define R_PCR26L 129
+#define R_VRT16 130
+#define R_HVRT16 131
+#define R_LVRT16 132
+#define R_VRT32 133
/* This reloc identifies mov.b instructions with a 16bit absolute