install.texi: Note that ARM toolchains need binutils 2.13 or newer.
authorNick Clifton <nickc@redhat.com>
Wed, 9 Apr 2003 15:14:23 +0000 (15:14 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Wed, 9 Apr 2003 15:14:23 +0000 (15:14 +0000)
* doc/install.texi: Note that ARM toolchains need binutils 2.13 or newer.
* config/arm/elf.h (SUBTARGET_ASM_FLOAT_SPEC): Pass -mfpu=softfpa instead of -mno-fpu.
* config/arm/semi.h (ASM_SPEC): Likewise.
* config/arm/xscale-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise,
  but only if -msoft-float is specified pass.  Otherwise pass -mfpu=softvfp.

From-SVN: r65398

gcc/ChangeLog
gcc/config/arm/elf.h
gcc/config/arm/semi.h
gcc/config/arm/xscale-elf.h
gcc/doc/install.texi

index 5f9e6943b99f859ea10a68404a8f318b1564bcd2..8ab168ce101aeeb99ea548cd42b43a8a648567ce 100644 (file)
@@ -1,3 +1,14 @@
+2003-04-09  Nick Clifton  <nickc@redhat.com>
+
+       * doc/install.texi: Note that ARM toolchains need binutils 2.13 or
+       newer.
+       * config/arm/elf.h (SUBTARGET_ASM_FLOAT_SPEC): Pass -mfpu=softfpa
+       instead of -mno-fpu.
+       * config/arm/semi.h (ASM_SPEC): Likewise.
+       * config/arm/xscale-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise,
+       but only if -msoft-float is specified pass.  Otherwise pass
+       -mfpu=softvfp.
+       
 2003-04-09  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
 
        * function.c (purge_addressof): Use free_INSN_LIST_node instead of
index cc00bab31b5a1b8c9216163c51a2d51e36a1bbf6..c8fd84213507b23a7268893f981a8a02264668b9 100644 (file)
@@ -46,7 +46,7 @@
 
 #ifndef SUBTARGET_ASM_FLOAT_SPEC
 #define SUBTARGET_ASM_FLOAT_SPEC "\
-%{mapcs-float:-mfloat} %{msoft-float:-mno-fpu}"
+%{mapcs-float:-mfloat} %{msoft-float:-mfpu=softfpa}"
 #endif
 
 #ifndef ASM_SPEC
index 68fd835937e0be9fef7bc101ebad02af9f790023..a7addee574ee1030293ee8470c89bf40c73e033e 100644 (file)
@@ -64,7 +64,7 @@
 %{mcpu=*:-mcpu=%*} \
 %{march=*:-march=%*} \
 %{mapcs-float:-mfloat} \
-%{msoft-float:-mno-fpu} \
+%{msoft-float:-mfpu=softfpa} \
 %{mthumb-interwork:-mthumb-interwork} \
 %(subtarget_extra_asm_spec)"
 #endif
index d975677caf283d48bc9e4d01466f14c67e1f3410..ffa29e22043c22081bf06f653a0096fbb4a26371 100644 (file)
 #define SUBTARGET_CPU_DEFAULT          TARGET_CPU_xscale
 #endif
 
-#define SUBTARGET_EXTRA_ASM_SPEC "%{!mcpu=*:-mcpu=xscale} %{!mhard-float:-mno-fpu}"
+/* Note - there are three possible -mfpu= arguments that can be passed to
+   the assembler:
+   
+     -mfpu=softvfp   This is the default.  It indicates thats doubles are
+                     stored in a format compatable with the VFP
+                    specification.  This is the newer double format, whereby
+                    the endian-ness of the doubles matches the endian-ness
+                    of the memory architecture.
+     
+     -mfpu=fpa       This is when -mhard-float is specified.
+                     [It is not known if any XScale's have been made with
+                    hardware floating point support, but nevertheless this
+                    is what happens].
+                    
+     -mfpu=softfpa   This is when -msoft-float is specified.
+                     This is the normal beahviour of other arm configurations,
+                    which for backwards compatability purposes default to
+                    supporting the old FPA format which was always big
+                    endian, regardless of the endian-ness of the memory
+                    system.  */
+                    
+#define SUBTARGET_EXTRA_ASM_SPEC "%{!mcpu=*:-mcpu=xscale} \
+  %{mhard-float:-mfpu=fpa} \
+  %{!mhard-float: %{msoft-float:-mfpu=softfpa;:-mfpu=softvfp}}"
 
 #ifndef MULTILIB_DEFAULTS
 #define MULTILIB_DEFAULTS \
index f14581b96fb78d92a580cf390c1d96033f0f49cf..e78979baa0cdbf0ced9cef481db5ee8cd0ba8b75 100644 (file)
@@ -1918,13 +1918,19 @@ configuration.
 @end html
 @heading @anchor{arm-*-elf}arm-*-elf
 This configuration is intended for embedded systems.
+We require GNU binutils 2.13 or newer.
 
 @html
 <hr />
 @end html
 @heading @anchor{arm*-*-linux-gnu}arm*-*-linux-gnu
+We require GNU binutils 2.13 or newer.
 
-We require GNU binutils 2.10 or newer.
+@html
+<hr />
+@end html
+@heading @anchor{xscale-*-elf}xscale-*-elf
+We require GNU binutils 2.13 or newer.
 
 @html
 <hr />