From a3da4de1ac9beb6a25fe989862a356e967c1f265 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 60445348279..e98d769a21e 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 9c4609b3bec..03084319da2 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.30.2