rs6000.c (rs6000_handle_option): Use TARGET_NO_FP_IN_TOC inside #ifdef TARGET_USES_SY...
authorAlan Modra <amodra@bigpond.net.au>
Mon, 20 Mar 2006 07:56:35 +0000 (07:56 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Mon, 20 Mar 2006 07:56:35 +0000 (18:26 +1030)
* config/rs6000/rs6000.c (rs6000_handle_option): Use
TARGET_NO_FP_IN_TOC inside #ifdef TARGET_USES_SYSV4_OPT too.

From-SVN: r112223

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 97bf8f09b631199e43529cebd7fa7b0408fd0d11..68487e94a4b4c0ded61998674670bbeb58952235 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-20  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/rs6000/rs6000.c (rs6000_handle_option): Use
+       TARGET_NO_FP_IN_TOC inside #ifdef TARGET_USES_SYSV4_OPT too.
+
 2006-03-19  David Edelsohn  <edelsohn@gnu.org>
 
        * genpreds.c (write_tm_preds_h): Add semicolon and newline at
index babd0760f3b0758df1e929cc3c20b0f63a9bb554..889f2b085c86d047ec75101f7be6ba6c59289c3d 100644 (file)
@@ -1753,18 +1753,18 @@ rs6000_handle_option (size_t code, const char *arg, int value)
     case OPT_mrelocatable:
       if (value == 1)
        {
-         target_flags |= MASK_MINIMAL_TOC | MASK_NO_FP_IN_TOC;
-         target_flags_explicit |= MASK_MINIMAL_TOC | MASK_NO_FP_IN_TOC;
+         target_flags |= MASK_MINIMAL_TOC;
+         target_flags_explicit |= MASK_MINIMAL_TOC;
+         TARGET_NO_FP_IN_TOC = 1;
        }
       break;
 
     case OPT_mrelocatable_lib:
       if (value == 1)
        {
-         target_flags |= MASK_RELOCATABLE | MASK_MINIMAL_TOC
-           | MASK_NO_FP_IN_TOC;
-         target_flags_explicit |= MASK_RELOCATABLE | MASK_MINIMAL_TOC
-           | MASK_NO_FP_IN_TOC;
+         target_flags |= MASK_RELOCATABLE | MASK_MINIMAL_TOC;
+         target_flags_explicit |= MASK_RELOCATABLE | MASK_MINIMAL_TOC;
+         TARGET_NO_FP_IN_TOC = 1;
        }
       else
        {