From e4dc702c20ea77ce13e8295e302810a7bd5512ac Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Thu, 26 Aug 2004 00:58:56 +0000 Subject: [PATCH] symbian.h (SUBTARGET_ASM_FLOAT_SPEC): Default to -mfpu=vfp -march=armv5t * config/arm/symbian.h (SUBTARGET_ASM_FLOAT_SPEC): Default to -mfpu=vfp -march=armv5t * config/arm/t-symbian: Change multilib to mfloat-aby=softfp. From-SVN: r86594 --- gcc/ChangeLog | 6 ++++++ gcc/config/arm/symbian.h | 5 ++--- gcc/config/arm/t-symbian | 4 ++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 43d00b5fd39..ff6ff49a6c0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-08-28 Paul Brook + + * config/arm/symbian.h (SUBTARGET_ASM_FLOAT_SPEC): Default to + -mfpu=vfp -march=armv5t + * config/arm/t-symbian: Change multilib to mfloat-aby=softfp. + 2004-08-25 Richard Henderson * target-def.h (TARGET_SCALAR_MODE_SUPPORTED_P): New. diff --git a/gcc/config/arm/symbian.h b/gcc/config/arm/symbian.h index d048652fe01..d30e7384a21 100644 --- a/gcc/config/arm/symbian.h +++ b/gcc/config/arm/symbian.h @@ -59,9 +59,8 @@ #undef SUBTARGET_CPU_DEFAULT #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi -/* The assembler should assume the VFP FPU format when the hard-float - ABI is in use. */ +/* The assembler should assume VFP FPU format, and armv5t. */ #undef SUBTARGET_ASM_FLOAT_SPEC #define SUBTARGET_ASM_FLOAT_SPEC \ - "%{!mfpu=*:%{mfloat-abi=hard:-mfpu=vfp}}" + "%{!mfpu=*:-mfpu=vfp} %{!mcpu=*:%{!march=*:-march=armv5t}}" diff --git a/gcc/config/arm/t-symbian b/gcc/config/arm/t-symbian index 0c616c52da0..fba534ce8ef 100644 --- a/gcc/config/arm/t-symbian +++ b/gcc/config/arm/t-symbian @@ -2,6 +2,6 @@ # multilib for those without -- using the soft-float ABI in both # cases. Symbian OS object should be compiled with interworking # enabled, so there are no separate thumb-mode libraries. -MULTILIB_OPTIONS = mfloat-abi=hard -MULTILIB_DIRNAMES = hard +MULTILIB_OPTIONS = mfloat-abi=softfp +MULTILIB_DIRNAMES = softfp -- 2.30.2