summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/linux64.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2003-11-30 23:43:05 +0000
committerAlan Modra <amodra@gcc.gnu.org>2003-12-01 10:13:05 +1030
commitc3a77bf9c646bb2bc35e2b40571dced66fa293de (patch)
treee86d08a2b045c23c82561d17a0e4df4257fd9993 /gcc/config/rs6000/linux64.h
parent0e73769eec7e2c25b5556438e364bb729a829ea4 (diff)
downloadgcc-c3a77bf9c646bb2bc35e2b40571dced66fa293de.tar.gz
linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Test target_flags directly rather than using TARGET_* defines.
* config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Test target_flags directly rather than using TARGET_* defines. From-SVN: r74078
Diffstat (limited to 'gcc/config/rs6000/linux64.h')
-rw-r--r--gcc/config/rs6000/linux64.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h
index 63471ea7b1f..338143c2dfc 100644
--- a/gcc/config/rs6000/linux64.h
+++ b/gcc/config/rs6000/linux64.h
@@ -74,17 +74,17 @@
rs6000_current_abi = ABI_AIX; \
error (INVALID_64BIT, "call"); \
} \
- if (TARGET_RELOCATABLE) \
+ if (target_flags & MASK_RELOCATABLE) \
{ \
target_flags &= ~MASK_RELOCATABLE; \
error (INVALID_64BIT, "relocatable"); \
} \
- if (TARGET_EABI) \
+ if (target_flags & MASK_EABI) \
{ \
target_flags &= ~MASK_EABI; \
error (INVALID_64BIT, "eabi"); \
} \
- if (TARGET_PROTOTYPE) \
+ if (target_flags & MASK_PROTOTYPE) \
{ \
target_flags &= ~MASK_PROTOTYPE; \
error (INVALID_64BIT, "prototype"); \