From 6c9f2ad1b7c0d459b7da99c9674b33311f68ca60 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Wed, 23 Aug 2000 11:19:20 +0000 Subject: [PATCH] * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target environment is pe. --- gas/ChangeLog | 5 +++++ gas/config/tc-i386.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 604453482..e98d769a2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2000-08-23 Alexandre Oliva + + * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target + environment is pe. + 2000-08-22 H.J. Lu * config.in (STRICTCOFF): New for strict COFF. diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h index 9c4609b3b..03084319d 100644 --- a/gas/config/tc-i386.h +++ b/gas/config/tc-i386.h @@ -41,7 +41,7 @@ struct fix; #define tc_fix_adjustable(X) tc_i386_fix_adjustable(X) extern int tc_i386_fix_adjustable PARAMS ((struct fix *)); -#if defined (OBJ_ELF) || defined (OBJ_COFF) || defined (TE_PE) +#if (defined (OBJ_ELF) || defined (OBJ_COFF)) && !defined (TE_PE) /* This arranges for gas/write.c to not apply a relocation if tc_fix_adjustable() says it is not adjustable. */ #define TC_FIX_ADJUSTABLE(fixP) tc_fix_adjustable (fixP) -- 2.11.4.GIT