Improve placement in previous commit
authorRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 5 Jul 2007 19:59:16 +0000 (19:59 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 5 Jul 2007 19:59:16 +0000 (19:59 +0000)
From-SVN: r126384

gcc/config/mips/mips.c

index 29c58982784f8c0a37f79d48de5152aa112f1279..783ff034296db2e314e0905c89047d8ffba81952 100644 (file)
@@ -6143,11 +6143,6 @@ mips_file_start (void)
         causes unnecessary IRIX 6 ld warnings.  */
       const char * abi_string = NULL;
 
-#ifdef HAVE_AS_GNU_ATTRIBUTE
-      fprintf (asm_out_file, "\t.gnu_attribute 4, %d\n",
-              TARGET_HARD_FLOAT_ABI ? (TARGET_DOUBLE_FLOAT ? 1 : 2) : 3);
-#endif
-
       switch (mips_abi)
        {
        case ABI_32:   abi_string = "abi32"; break;
@@ -6174,6 +6169,11 @@ mips_file_start (void)
 
       /* Restore the default section.  */
       fprintf (asm_out_file, "\t.previous\n");
+
+#ifdef HAVE_AS_GNU_ATTRIBUTE
+      fprintf (asm_out_file, "\t.gnu_attribute 4, %d\n",
+              TARGET_HARD_FLOAT_ABI ? (TARGET_DOUBLE_FLOAT ? 1 : 2) : 3);
+#endif
     }
 
   /* Generate the pseudo ops that System V.4 wants.  */