[arm] Reduce usage of arm_selected_cpu.
authorRichard Earnshaw <rearnsha@arm.com>
Thu, 15 Dec 2016 15:44:01 +0000 (15:44 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Thu, 15 Dec 2016 15:44:01 +0000 (15:44 +0000)
commitd2d19167c3a5f46af1726a6b79a6f4bc586e788a
tree4ca845859f0d94cfb247374a998c634f723e91a6
parenta8e0b6c659fd78719ad21b5ee4c896ac11b1d38c
[arm] Reduce usage of arm_selected_cpu.

Make more use of the new data structure for initializing existing
variables.

* arm.c (arm_option_override): Use arm_active_target as source of
information for arm_base_arch and arm_arch_name.
* (arm_file_start): Use arm_active_target for core name.

From-SVN: r243700
gcc/ChangeLog
gcc/config/arm/arm.c