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
This commit is contained in:
Jason Thorpe 2002-11-21 21:29:24 +00:00 committed by Jason Thorpe
parent 5f2925a72d
commit 57c21a4200
2 changed files with 16 additions and 3 deletions

View 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

View 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