[ARM] Fix A12 rule for arm-none-eabi / t-aprofile.

Submitted by Ramana Radhakrishnan on March 28, 2014, 1:44 p.m.


Message ID 53357CAF.2010200@arm.com
State New
Headers show

Commit Message

Ramana Radhakrishnan March 28, 2014, 1:44 p.m.

	This affects only arm-none-eabi targets and those using t-aprofile in 
their multilib lists. The problem here is that when the A12 support was 
added, we mistakenly added this to the MULTILIB_MATCHES rule for the A15 
rather than putting out a separate line for this.

Fixed thusly and verified that the correct multilibs are now chosen.

Applied to trunk as nearly obvious.


2014-03-28  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

       * config/arm/t-aprofile (MULTILIB_MATCHES): Correct A12 rule.

Patch hide | download patch | download mbox

Index: gcc/config/arm/t-aprofile
--- gcc/config/arm/t-aprofile   (revision 208895)
+++ gcc/config/arm/t-aprofile   (working copy)
@@ -81,7 +81,8 @@  MULTILIB_EXCEPTIONS    += *march=armv7ve
  MULTILIB_MATCHES       += march?armv7-a=mcpu?cortex-a8
  MULTILIB_MATCHES       += march?armv7-a=mcpu?cortex-a9
  MULTILIB_MATCHES       += march?armv7-a=mcpu?cortex-a5
-MULTILIB_MATCHES       += march?armv7ve=mcpu?cortex-a15=mcpu?cortex-a12
+MULTILIB_MATCHES       += march?armv7ve=mcpu?cortex-a15
+MULTILIB_MATCHES       += march?armv7ve=mcpu?cortex-a12
  MULTILIB_MATCHES       += march?armv7ve=mcpu?cortex-a15.cortex-a7
  MULTILIB_MATCHES       += march?armv8-a=mcpu?cortex-a53
  MULTILIB_MATCHES       += march?armv8-a=mcpu?cortex-a57