aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-coff.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1995-01-12 00:36:23 +0000
committerKen Raeburn <raeburn@cygnus>1995-01-12 00:36:23 +0000
commit460a34e851e332fe7d9737cf1d779fab06b8df9d (patch)
tree027ae999f023951b836b044dc0a9e58138c584e9 /gas/config/obj-coff.c
parentc01ebe2a5e49f72ccbfc777ffb7a20c45029f170 (diff)
downloadgdb-460a34e851e332fe7d9737cf1d779fab06b8df9d.zip
gdb-460a34e851e332fe7d9737cf1d779fab06b8df9d.tar.gz
gdb-460a34e851e332fe7d9737cf1d779fab06b8df9d.tar.bz2
For COFF targets, make sure F_RELFLG is set exactly when no relocs are present,
instead of making it depend solely on the target CPU.
Diffstat (limited to 'gas/config/obj-coff.c')
-rw-r--r--gas/config/obj-coff.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c
index ccb0842..1108df6 100644
--- a/gas/config/obj-coff.c
+++ b/gas/config/obj-coff.c
@@ -22,6 +22,11 @@
#include "obstack.h"
#include "subsegs.h"
+/* I think this is probably always correct. */
+#ifndef KEEP_RELOC_INFO
+#define KEEP_RELOC_INFO
+#endif
+
const char *s_get_name PARAMS ((symbolS * s));
static symbolS *def_symbol_in_progress;