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
This commit is contained in:
Alan Modra 2003-11-30 23:43:05 +00:00 committed by Alan Modra
parent 0e73769eec
commit c3a77bf9c6
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2003-12-01 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Test
target_flags directly rather than using TARGET_* defines.
2003-11-30 Ben Elliston <bje@wasabisystems.com>
* doschk.c: Remove.

View File

@ -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"); \