aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@gcc.gnu.org>2007-07-05 19:59:16 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2007-07-05 19:59:16 +0000
commit2ab16fe0d1c891de826310f2c0a48641a1de65f4 (patch)
tree76121222ca875faf8c6e461b58ad21c2fa73a467
parent629c69574f896ad73b62d8808d9f148f55d98724 (diff)
downloadgcc-2ab16fe0d1c891de826310f2c0a48641a1de65f4.zip
gcc-2ab16fe0d1c891de826310f2c0a48641a1de65f4.tar.gz
gcc-2ab16fe0d1c891de826310f2c0a48641a1de65f4.tar.bz2
Improve placement in previous commit
From-SVN: r126384
-rw-r--r--gcc/config/mips/mips.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 29c5898..783ff03 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -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. */