[arm] Allow new extended syntax CPU and architecture
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 16 Jun 2017 21:03:46 +0000 (21:03 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Fri, 16 Jun 2017 21:03:46 +0000 (21:03 +0000)
commitbf35d17a30c0a476b6abc82e0b029029c5599104
treec0f1dda648777a99dec0f285e53000a81810a6fc
parent357e1023c9b10e98d1aa4d59fdb876078de47608
[arm] Allow new extended syntax CPU and architecture

This patch extends support for the new extended-style architecture
strings to configure and the target default options.  We validate any
options passed by the user to configure against the permitted
extensions for that CPU or architecture.

* config.gcc (arm*-*-fucshia*): Set target_cpu_cname to the real
cpu name.
(arm*-*-*): Set target_cpu_default2 to a quoted string.
* config/arm/parsecpu.awk (check_cpu): Validate any extension
options.
(check_arch): Likewise.
* config/arm/arm.c (arm_configure_build_target): Handle
TARGET_CPU_DEFAULT being a string constant.  Scan any feature
options in the default.

From-SVN: r249290
gcc/ChangeLog
gcc/config.gcc
gcc/config/arm/arm.c
gcc/config/arm/parsecpu.awk