aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-12-22 20:53:35 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-12-22 20:53:35 +0000
commitec56dfb4b097e2e8054843a8f2330185df401932 (patch)
tree45a2c632a1d575d37ff01a16785297399cff6d54
parentad1172d4c6f24e92bc0af0d4d1d258b493b49ed7 (diff)
downloadgdb-ec56dfb4b097e2e8054843a8f2330185df401932.zip
gdb-ec56dfb4b097e2e8054843a8f2330185df401932.tar.gz
gdb-ec56dfb4b097e2e8054843a8f2330185df401932.tar.bz2
2000-12-22 H.J. Lu <hjl@gnu.org>
* config/tc-i386.c (reloc): Update the macro for non-bfd assembler. (BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler.
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-i386.c21
2 files changed, 17 insertions, 10 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index eac4815..b14a5a0 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,11 @@
2000-12-22 H.J. Lu <hjl@gnu.org>
+ * config/tc-i386.c (reloc): Update the macro for non-bfd
+ assembler.
+ (BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler.
+
+2000-12-22 H.J. Lu <hjl@gnu.org>
+
* dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER.
Wed Dec 20 14:21:22 MET 2000 Jan Hubicka <jh@suse.cz>
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 0485c67..6cea877 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -1141,16 +1141,17 @@ tc_i386_fix_adjustable (fixP)
return 1;
}
#else
-#define reloc(SIZE,PCREL,OTHER) 0
-#define BFD_RELOC_16 0
-#define BFD_RELOC_32 0
-#define BFD_RELOC_16_PCREL 0
-#define BFD_RELOC_32_PCREL 0
-#define BFD_RELOC_386_PLT32 0
-#define BFD_RELOC_386_GOT32 0
-#define BFD_RELOC_386_GOTOFF 0
-#define BFD_RELOC_X86_64_PLT32 0
-#define BFD_RELOC_X86_64_GOT32 0
+#define reloc(SIZE,PCREL,SIGN,OTHER) 0
+#define BFD_RELOC_16 0
+#define BFD_RELOC_32 0
+#define BFD_RELOC_16_PCREL 0
+#define BFD_RELOC_32_PCREL 0
+#define BFD_RELOC_386_PLT32 0
+#define BFD_RELOC_386_GOT32 0
+#define BFD_RELOC_386_GOTOFF 0
+#define BFD_RELOC_X86_64_PLT32 0
+#define BFD_RELOC_X86_64_GOT32 0
+#define BFD_RELOC_X86_64_GOTPCREL 0
#endif
static int intel_float_operand PARAMS ((char *mnemonic));