aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arm/unknown-elf.h
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2016-11-03 18:08:19 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2016-11-03 18:08:19 +0000
commit1bac673faf4a0a0bd0a5606dad9d98b33d568510 (patch)
tree16d5962ff38b8730e9c99bfd7c2a76f15c6ec776 /gcc/config/arm/unknown-elf.h
parentac5b3efff29c2b0bf056adbb1e075927692653da (diff)
downloadgcc-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/unknown-elf.h')
-rw-r--r--gcc/config/arm/unknown-elf.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/config/arm/unknown-elf.h b/gcc/config/arm/unknown-elf.h
index fafe057..e5c0507 100644
--- a/gcc/config/arm/unknown-elf.h
+++ b/gcc/config/arm/unknown-elf.h
@@ -88,10 +88,6 @@
} \
while (0)
-#ifndef SUBTARGET_CPU_DEFAULT
-#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm7tdmi
-#endif
-
/* The libgcc udivmod functions may throw exceptions. If newlib is
configured to support long longs in I/O, then printf will depend on
udivmoddi4, which will depend on the exception unwind routines,