linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Test target_flags directly rather than...
authorAlan Modra <amodra@bigpond.net.au>
Sun, 30 Nov 2003 23:43:05 +0000 (23:43 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Sun, 30 Nov 2003 23:43:05 +0000 (10:13 +1030)
* config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Test
target_flags directly rather than using TARGET_* defines.

From-SVN: r74078

gcc/ChangeLog
gcc/config/rs6000/linux64.h

index 42deabae3c8dad2403056d3482f44bf720cf74d4..509040783435e0577b4bf2dd6e3dcaf6fa01b098 100644 (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.
index 63471ea7b1f6a8f85c0fa6970ab95f786eb8ee41..338143c2dfcde44f3c9a8235888b7a0fedc3081b 100644 (file)
              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");               \