* config/rs6000/rs6000.c (rs6000_handle_option): Use
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Mar 2006 07:56:35 +0000 (07:56 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Mar 2006 07:56:35 +0000 (07:56 +0000)
TARGET_NO_FP_IN_TOC inside #ifdef TARGET_USES_SYSV4_OPT too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112223 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 97bf8f0..68487e9 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 babd076..889f2b0 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
        {