aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-08-23 11:19:20 +0000
committerAlexandre Oliva <aoliva@redhat.com>2000-08-23 11:19:20 +0000
commita3da4de1ac9beb6a25fe989862a356e967c1f265 (patch)
tree7bdf75cb85e1bd350b3d84b81f2849211bcdb011
parent1c85fbd95c712d847bb741ed49572b28327adeed (diff)
downloadgdb-a3da4de1ac9beb6a25fe989862a356e967c1f265.zip
gdb-a3da4de1ac9beb6a25fe989862a356e967c1f265.tar.gz
gdb-a3da4de1ac9beb6a25fe989862a356e967c1f265.tar.bz2
* config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
environment is pe.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 6044534..e98d769 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-23 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
+ environment is pe.
+
2000-08-22 H.J. Lu <hjl@gnu.org>
* config.in (STRICTCOFF): New for strict COFF.
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h
index 9c4609b..0308431 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)