From ec56dfb4b097e2e8054843a8f2330185df401932 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 22 Dec 2000 20:53:35 +0000 Subject: [PATCH] 2000-12-22 H.J. Lu * config/tc-i386.c (reloc): Update the macro for non-bfd assembler. (BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler. --- gas/ChangeLog | 6 ++++++ gas/config/tc-i386.c | 21 +++++++++++---------- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index eac4815d057..b14a5a06931 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2000-12-22 H.J. Lu + + * 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 * dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 0485c6784e4..6cea8771483 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)); -- 2.30.2