diff options
author | Nick Clifton <nickc@cambridge.redhat.com> | 2001-12-19 15:27:22 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2001-12-19 15:27:22 +0000 |
commit | eb95cf36c1beb5787b9668515defa3b4c240a971 (patch) | |
tree | 051b309959682c733c5c0eb8433b1e19d1dd69e4 /gcc | |
parent | fbdc1ec2dc60c5066cd56c7bd74ca5c54452c499 (diff) | |
download | gcc-eb95cf36c1beb5787b9668515defa3b4c240a971.zip gcc-eb95cf36c1beb5787b9668515defa3b4c240a971.tar.gz gcc-eb95cf36c1beb5787b9668515defa3b4c240a971.tar.bz2 |
Pass -mno-fpu onto gas unless -mhard-float is specified.
From-SVN: r48179
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/arm/xscale-elf.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f26f578..85b6bd7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2001-12-19 Nick Clifton <nickc@cambridge.redhat.com> + * config/arm/xscale-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Pass + -mno-fpu onto gas unless -mhard-float is specified. + (MULTILIB_DEFAULTS): Include msoft-float. + * config/arm/t-xscale-coff (EXTRA_MULTILIB_PARTS): Remove definition. * config/arm/coff.h (SUPPORTS_INIT_PRIORITY): Define (to false). diff --git a/gcc/config/arm/xscale-elf.h b/gcc/config/arm/xscale-elf.h index 72615da..b1ce04e 100644 --- a/gcc/config/arm/xscale-elf.h +++ b/gcc/config/arm/xscale-elf.h @@ -28,9 +28,9 @@ Boston, MA 02111-1307, USA. */ #define SUBTARGET_CPU_DEFAULT TARGET_CPU_xscale #endif -#define SUBTARGET_EXTRA_ASM_SPEC "%{!mcpu=*:-mxscale}" +#define SUBTARGET_EXTRA_ASM_SPEC "%{!mcpu=*:-mxscale} %{!mhard-float:-mno-fpu}" #ifndef MULTILIB_DEFAULTS #define MULTILIB_DEFAULTS \ - { "mlittle-endian", "mno-thumb-interwork", "marm" } + { "mlittle-endian", "mno-thumb-interwork", "marm", "msoft-float" } #endif |