]> git.ipfire.org Git - thirdparty/gcc.git/commit
[arm] Allow new extended syntax CPU and architecture
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Jun 2017 21:03:46 +0000 (21:03 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Jun 2017 21:03:46 +0000 (21:03 +0000)
commit26a9c0df5cd51f7c1abd4ecb7f861a5475e86bc5
treec0f1dda648777a99dec0f285e53000a81810a6fc
parent57730275a4d26a7c76b2b697d82764b78c84f1e1
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249290 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config.gcc
gcc/config/arm/arm.c
gcc/config/arm/parsecpu.awk