aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-arm.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2009-05-01 14:44:17 +0000
committerNathan Sidwell <nathan@codesourcery.com>2009-05-01 14:44:17 +0000
commit45eb4c1b77d62e66daf78a5dddf43fd8413d68df (patch)
tree81a61a23acad7320a17a77803b59b3fb0964daab /gas/config/tc-arm.c
parent323427d1cbb214ea9710ff62581b5635bebb32f3 (diff)
downloadgdb-45eb4c1b77d62e66daf78a5dddf43fd8413d68df.zip
gdb-45eb4c1b77d62e66daf78a5dddf43fd8413d68df.tar.gz
gdb-45eb4c1b77d62e66daf78a5dddf43fd8413d68df.tar.bz2
* config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
* config/tc-armeabi.h (FPU_DEFAULT): Likewise. * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer the default FPU from the processor. testsuite/ * gas/arm/attr-mcpu.d: Add -mfpu=neon. * gas/arm/mapmisc.d: Correct expected output for .double and .dcb.d.
Diffstat (limited to 'gas/config/tc-arm.c')
-rw-r--r--gas/config/tc-arm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 6615aca..21de2b3 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -20274,7 +20274,8 @@ md_begin (void)
}
else if (!mfpu_opt)
{
-#if !(defined (TE_LINUX) || defined (TE_NetBSD) || defined (TE_VXWORKS))
+#if !(defined (EABI_DEFAULT) || defined (TE_LINUX) \
+ || defined (TE_NetBSD) || defined (TE_VXWORKS))
/* Some environments specify a default FPU. If they don't, infer it
from the processor. */
if (mcpu_fpu_opt)