diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2016-11-03 18:08:19 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@gcc.gnu.org> | 2016-11-03 18:08:19 +0000 |
commit | 1bac673faf4a0a0bd0a5606dad9d98b33d568510 (patch) | |
tree | 16d5962ff38b8730e9c99bfd7c2a76f15c6ec776 /gcc/config/arm/freebsd.h | |
parent | ac5b3efff29c2b0bf056adbb1e075927692653da (diff) | |
download | gcc-1bac673faf4a0a0bd0a5606dad9d98b33d568510.zip gcc-1bac673faf4a0a0bd0a5606dad9d98b33d568510.tar.gz gcc-1bac673faf4a0a0bd0a5606dad9d98b33d568510.tar.bz2 |
[arm] Eliminate SUBTARGET_CPU_DEFAULT
* config.gcc (arm-wrs-vxworks): Set target_cpu_cname.
(arm*-freebsd*): Likewise.
(arm*-*-netbsdelf*): Likewise.
(arm*-*-linux*): Likewise.
(arm*-*-uclinux*eabi*): Likewise.
(arm*-*-phoenix*): Likewise.
(arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*): Likewise.
(arm*-*-*): Don't clobber target_cpu_cname when --with-cpu is not
specified. Default to arm6 if target_cpu_cname is not set.
* arm/arm.c (arm_option_override): Simplify logic. Assert that the
default cpu has been correctly configured.
* arm/arm.h (TARGET_CPU_DEFAULT): Delete.
(target_cpus): Delete TARGET_CPU_generic, add TARGET_CPU_num_cores.
* arm/freebsd.h (SUBTARGET_CPU_DEFAULT): Delete.
* arm/linux-eabi.h (SUBTARGET_CPU_DEFAULT): Delete.
* arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Delete.
* arm/symbian.h (SUBTARGET_CPU_DEFAULT): Delete.
* arm/unknown-elf.h (SUBTARGET_CPU_DEFAULT): Delete.
From-SVN: r241827
Diffstat (limited to 'gcc/config/arm/freebsd.h')
-rw-r--r-- | gcc/config/arm/freebsd.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/config/arm/freebsd.h b/gcc/config/arm/freebsd.h index 0ade4e9..949c397 100644 --- a/gcc/config/arm/freebsd.h +++ b/gcc/config/arm/freebsd.h @@ -112,14 +112,6 @@ #undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE BITS_PER_WORD -#if defined (TARGET_FREEBSD_ARMv6) -#undef SUBTARGET_CPU_DEFAULT -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm1176jzs -#else -#undef SUBTARGET_CPU_DEFAULT -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9 -#endif - /* FreeBSD 10 does not support unaligned access for armv6 and up. Unaligned access support was added in FreeBSD 11. */ #if FBSD_MAJOR < 11 |