config.gcc: Add arm/t-arm-softfp and soft-fp/t-softfp to arm configs.
authorPaul Brook <pbrook@gcc.gnu.org>
Mon, 3 Mar 2008 14:30:48 +0000 (14:30 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Mon, 3 Mar 2008 14:30:48 +0000 (14:30 +0000)
commitbf98ec6c84b2214ff2f4f7614b42d90b3a8201ad
tree04b6034461ff1523e97a87f42762e23838f44671
parent9a3277660593535784174ac188b09a151ca9aaee
config.gcc: Add arm/t-arm-softfp and soft-fp/t-softfp to arm configs.

2008-03-03  Paul Brook  <paul@codesourcery.com>

gcc/
* config.gcc: Add arm/t-arm-softfp and soft-fp/t-softfp to arm
configs.  Add new --with-arch options.
* config/arm/t-arm-softfp: New file.
* config/arm/elf.h: Disable soft-fp routines on everything except
ARMv6-M.
* config/arm/ieee754-df.S: Rename L_* to L_arm_*.
* config/arm/ieee754-sf.S: Ditto.
* config/arm/t-arm-elf: Ditto.
* config/arm/arm.c (FL_FOR_ARCH6M): Define.
(all_architectures): Add armv6-m.
(arm_output_mi_thunk): Add TARGET_THUMB1_ONLY thunks.
* config/arm/lib1funcs.asm: Add __ARM_ARCH_6M__ conditionals.
Include bpabi-v6m.S.
* config/arm/arm.h (TARGET_THUMB1_ONLY): Define.
(ARM_DECLARE_FUNCTION_NAME): Handle Thumb-1 only thunks.
* config/arm/sfp-machine.h: New file.
* config/arm/bpabi-v6m.S: New file.
* config/arm/arm-cores.def: Add cortex-m1.
* config/arm/arm-tune.md: Regenerate.
* config/arm/libunwind.S: Add ARMv6-M implementation.
* config/arm/bpabi.h: Add renames for soft-float routines.
* doc/invoke.texi: Document -mcpu=cortex-m1 and -march=armv6-m.

From-SVN: r132837
16 files changed:
gcc/config.gcc
gcc/config/arm/arm-cores.def
gcc/config/arm/arm-tune.md
gcc/config/arm/arm.c
gcc/config/arm/arm.h
gcc/config/arm/bpabi-v6m.S [new file with mode: 0644]
gcc/config/arm/bpabi.h
gcc/config/arm/elf.h
gcc/config/arm/ieee754-df.S
gcc/config/arm/ieee754-sf.S
gcc/config/arm/lib1funcs.asm
gcc/config/arm/libunwind.S
gcc/config/arm/sfp-machine.h [new file with mode: 0644]
gcc/config/arm/t-arm-elf
gcc/config/arm/t-arm-softfp [new file with mode: 0644]
gcc/doc/invoke.texi