]> gcc.gnu.org Git - gcc.git/commitdiff
elf.h (SUBTARGET_EXTRA_SPECS): Add subtarget_asm_float_spec.
authorJason Thorpe <thorpej@wasabisystems.com>
Thu, 21 Nov 2002 21:29:24 +0000 (21:29 +0000)
committerJason Thorpe <thorpej@gcc.gnu.org>
Thu, 21 Nov 2002 21:29:24 +0000 (21:29 +0000)
* config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Add
subtarget_asm_float_spec.
(SUBTARGET_ASM_FLOAT_SPEC): Define, moving the
defaults from...
(ASM_SPEC): ...here.  Use subtarget_asm_float_spec.

From-SVN: r59358

gcc/ChangeLog
gcc/config/arm/elf.h

index 302d13db8565fc3e2c869ddd6e13131b46ea67da..7d615b312f80309c17bfd720d39c78ad57741494 100644 (file)
@@ -1,3 +1,11 @@
+2002-11-21  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Add
+       subtarget_asm_float_spec.
+       (SUBTARGET_ASM_FLOAT_SPEC): Define, moving the
+       defaults from...
+       (ASM_SPEC): ...here.  Use subtarget_asm_float_spec.
+
 2002-11-21  Nick Clifton  <nickc@redhat.com>
 
        * config/fr30/fr30.md (movsf_constant_store): Move code to
index 4813f38f61be5522583fa7a4a90ce5cb761472a4..0ad23f8f5d03c6c982573874a75969054cd6303a 100644 (file)
@@ -36,13 +36,19 @@ Boston, MA 02111-1307, USA.  */
 
 #ifndef SUBTARGET_EXTRA_SPECS
 #define SUBTARGET_EXTRA_SPECS \
-  { "subtarget_extra_asm_spec",        SUBTARGET_EXTRA_ASM_SPEC },
+  { "subtarget_extra_asm_spec",        SUBTARGET_EXTRA_ASM_SPEC }, \
+  { "subtarget_asm_float_spec", SUBTARGET_ASM_FLOAT_SPEC },
 #endif
 
 #ifndef SUBTARGET_EXTRA_ASM_SPEC
 #define SUBTARGET_EXTRA_ASM_SPEC ""
 #endif
 
+#ifndef SUBTARGET_ASM_FLOAT_SPEC
+#define SUBTARGET_ASM_FLOAT_SPEC "\
+%{mapcs-float:-mfloat} %{msoft-float:-mno-fpu}"
+#endif
+
 #ifndef ASM_SPEC
 #define ASM_SPEC "\
 %{mbig-endian:-EB} \
@@ -50,8 +56,7 @@ Boston, MA 02111-1307, USA.  */
 %{mcpu=*:-mcpu=%*} \
 %{march=*:-march=%*} \
 %{mapcs-*:-mapcs-%*} \
-%{mapcs-float:-mfloat} \
-%{msoft-float:-mno-fpu} \
+%(subtarget_asm_float_spec) \
 %{mthumb-interwork:-mthumb-interwork} \
 %(subtarget_extra_asm_spec)"
 #endif
This page took 0.074849 seconds and 5 git commands to generate.