diff --git a/gas/ChangeLog b/gas/ChangeLog index 6044534827..e98d769a21 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 9c4609b3be..03084319da 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)