This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
A patch for i386 non-bfd assembler.
- To: binutils at sourceware dot cygnus dot com
- Subject: A patch for i386 non-bfd assembler.
- From: "H . J . Lu" <hjl at valinux dot com>
- Date: Fri, 22 Dec 2000 12:54:37 -0800
I checked in the following patch for i386 non-bfd assembler.
--
H.J. Lu (hjl@valinux.com)
----
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.
Index: config/tc-i386.c
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/config/tc-i386.c,v
retrieving revision 1.39
diff -u -p -r1.39 tc-i386.c
--- config/tc-i386.c 2000/12/22 00:47:46 1.39
+++ config/tc-i386.c 2000/12/22 20:50:53
@@ -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));