diff options
author | Mark Mitchell <mmitchel@gcc.gnu.org> | 2004-08-20 20:15:19 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2004-08-20 20:15:19 +0000 |
commit | 87c2399d8985816fef6925e743eb16c074d5bc7a (patch) | |
tree | e7757c8802d1e5b9a35203b3d0939b8de7752be2 /gcc/config/arm/symbian.h | |
parent | d2294baa8bc194e9b4ba45eb0e5b06e50b15ca99 (diff) | |
download | gcc-87c2399d8985816fef6925e743eb16c074d5bc7a.zip gcc-87c2399d8985816fef6925e743eb16c074d5bc7a.tar.gz gcc-87c2399d8985816fef6925e743eb16c074d5bc7a.tar.bz2 |
config.gcc (arm*-*-symbianelf*): Add t-symbian Makefile fragment.
* config.gcc (arm*-*-symbianelf*): Add t-symbian Makefile
fragment.
* config/arm/bpabi.h (RENAME_LIBRARY_SET): Fix typo.
(SUBTARGET_EXTRA_ASM_SPEC): Pass -meabi=3 to the assembler.
* config/arm/symbian.h (SUBTARGET_CPU_DEFAULT): Assume ARMV5
architecture.
(SUBTARGET_ASM_FLOAT_SPEC): Default to -mfpu=vfp for hard-float
configurations.
* config/arm/t-symbian: New file.
From-SVN: r86338
Diffstat (limited to 'gcc/config/arm/symbian.h')
-rw-r--r-- | gcc/config/arm/symbian.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/config/arm/symbian.h b/gcc/config/arm/symbian.h index bd647d3..d048652 100644 --- a/gcc/config/arm/symbian.h +++ b/gcc/config/arm/symbian.h @@ -52,3 +52,16 @@ /* Support the "dllimport" attribute. */ #define TARGET_DLLIMPORT_DECL_ATTRIBUTES 1 + +/* Symbian OS assumes ARM V5 or above. Since -march=armv5 is + equivalent to making the ARM 10TDMI core the default, we can set + SUBTARGET_CPU_DEFAULT and get an equivalent effect. */ +#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. */ +#undef SUBTARGET_ASM_FLOAT_SPEC +#define SUBTARGET_ASM_FLOAT_SPEC \ + "%{!mfpu=*:%{mfloat-abi=hard:-mfpu=vfp}}" + |