Commit 57c21a42 by Jason Thorpe Committed by Jason Thorpe

elf.h (SUBTARGET_EXTRA_SPECS): Add subtarget_asm_float_spec.

* 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
parent 5f2925a7
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> 2002-11-21 Nick Clifton <nickc@redhat.com>
* config/fr30/fr30.md (movsf_constant_store): Move code to * config/fr30/fr30.md (movsf_constant_store): Move code to
......
...@@ -36,13 +36,19 @@ Boston, MA 02111-1307, USA. */ ...@@ -36,13 +36,19 @@ Boston, MA 02111-1307, USA. */
#ifndef SUBTARGET_EXTRA_SPECS #ifndef SUBTARGET_EXTRA_SPECS
#define 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 #endif
#ifndef SUBTARGET_EXTRA_ASM_SPEC #ifndef SUBTARGET_EXTRA_ASM_SPEC
#define SUBTARGET_EXTRA_ASM_SPEC "" #define SUBTARGET_EXTRA_ASM_SPEC ""
#endif #endif
#ifndef SUBTARGET_ASM_FLOAT_SPEC
#define SUBTARGET_ASM_FLOAT_SPEC "\
%{mapcs-float:-mfloat} %{msoft-float:-mno-fpu}"
#endif
#ifndef ASM_SPEC #ifndef ASM_SPEC
#define ASM_SPEC "\ #define ASM_SPEC "\
%{mbig-endian:-EB} \ %{mbig-endian:-EB} \
...@@ -50,8 +56,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -50,8 +56,7 @@ Boston, MA 02111-1307, USA. */
%{mcpu=*:-mcpu=%*} \ %{mcpu=*:-mcpu=%*} \
%{march=*:-march=%*} \ %{march=*:-march=%*} \
%{mapcs-*:-mapcs-%*} \ %{mapcs-*:-mapcs-%*} \
%{mapcs-float:-mfloat} \ %(subtarget_asm_float_spec) \
%{msoft-float:-mno-fpu} \
%{mthumb-interwork:-mthumb-interwork} \ %{mthumb-interwork:-mthumb-interwork} \
%(subtarget_extra_asm_spec)" %(subtarget_extra_asm_spec)"
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment