]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 1 May 2009 14:44:17 +0000 (14:44 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Fri, 1 May 2009 14:44:17 +0000 (14:44 +0000)
* 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.

gas/ChangeLog
gas/config/tc-arm.c
gas/config/te-armeabi.h
gas/config/te-armlinuxeabi.h
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/attr-mcpu.d
gas/testsuite/gas/arm/mapmisc.d

index 7ac1bf5f21abd66453a2e3fabee6a39870539bf6..b5c82701640aebfb6d04b8a649fe5ec34268178e 100644 (file)
@@ -1,3 +1,10 @@
+2009-05-01  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * 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.
+
 2009-05-01  Julian Brown  <julian@codesourcery.com>
 
        * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
index 6615acafde8924c29ce631a88badf62ea3fd92e7..21de2b33296046c06875268835e6fced96d0031b 100644 (file)
@@ -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)
index c553bed7984811507efdeedec0b7083942de371c..6a76304addf3900ae7892dea8eb4a93cc34d9fd7 100644 (file)
@@ -18,7 +18,7 @@
    02110-1301, USA.  */
 
 /* The EABI requires the use of VFP.  */
-#define FPU_DEFAULT FPU_ARCH_VFP_V2
+#define FPU_DEFAULT FPU_ARCH_VFP
 #define EABI_DEFAULT EF_ARM_EABI_VER5
 
 #define LOCAL_LABELS_DOLLAR 1
index 3b596ace9460152142c0efdfe91b51a46056be1b..ac2b2ad04ff6f35b133a2fbd38fce9d05d47b8ed 100644 (file)
@@ -20,5 +20,5 @@
 #include "te-linux.h"
 
 /* The EABI requires the use of VFP.  */
-#define FPU_DEFAULT FPU_ARCH_VFP_V2
+#define FPU_DEFAULT FPU_ARCH_VFP
 #define EABI_DEFAULT EF_ARM_EABI_VER5
index ad97bc95cb13bbc211300a2c3a8482b5c5ed9e69..e7a526c744c87f15bc5d84bcfbe8ecc6f9e8f449 100644 (file)
@@ -1,3 +1,10 @@
+2009-05-01  Nathan Sidwell  <nathan@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gas/arm/attr-mcpu.d: Add -mfpu=neon.
+       * gas/arm/mapmisc.d: Correct expected output for .double and
+       .dcb.d.
+
 2009-04-20  Jan Beulich  <jbeulich@novell.com>
 
        * gas/i386/equ.s: Adjust.
index 484353fea9751467a60dd968cf440190048a0864..80cb168cffbdafdda208b72e070bf46ef603847e 100644 (file)
@@ -1,6 +1,6 @@
 # name: EABI attributes from command line
 # source: blank.s
-# as: -mcpu=cortex-a8
+# as: -mcpu=cortex-a8 -mfpu=neon
 # readelf: -A
 # This test is only valid on EABI based ports.
 # target: *-*-*eabi
index 0d8527c15b139d01207fbefd2085ed988a2c463c..b2954b72ebc49b68f9b522e0b1ac24cf84c55f80 100644 (file)
@@ -1,4 +1,4 @@
-#as: -EL -I$srcdir/$subdir
+#as: -EL -I$srcdir/$subdir -mfpu=neon
 #objdump: --syms --special-syms -d
 #name: ARM Mapping Symbols for miscellaneous directives
 # This test is only valid on EABI based ports.
@@ -74,11 +74,11 @@ Disassembly of section .text:
   50:  e1a00000        nop                     \(mov r0,r0\)
   54:  40200000        .word   0x40200000
   58:  e1a00000        nop                     \(mov r0,r0\)
-  5c:  400c0000        .word   0x400c0000
-  60:  00000000        .word   0x00000000
+  5c:  00000000        .word   0x00000000
+  60:  400c0000        .word   0x400c0000
   64:  e1a00000        nop                     \(mov r0,r0\)
-  68:  40120000        .word   0x40120000
-  6c:  00000000        .word   0x00000000
+  68:  00000000        .word   0x00000000
+  6c:  40120000        .word   0x40120000
   70:  e1a00000        nop                     \(mov r0,r0\)
   74:  00000004        .word   0x00000004
   78:  00000004        .word   0x00000004