arm: fix v[78]-r multilibs when configured with --with-multlib-list=aprofile
authorRichard Earnshaw <rearnsha@arm.com>
Mon, 9 Dec 2019 13:51:50 +0000 (13:51 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Mon, 9 Dec 2019 13:51:50 +0000 (13:51 +0000)
When gcc for Arm is configured with --with-multilib-list=aprofile a
misplaced endif directive in the makefile was causing the arm->thumb
mapping for multilibs to be omitted from the reuse rules.  This
resulted in the default multilib being picked rather than the thumb2
opimized version.

* config/arm/t-multilib: Use arm->thumb multilib reuse rules
on a-profile.

From-SVN: r279128

gcc/ChangeLog
gcc/config/arm/t-multilib

index 29328fed1c171637757bf6be3a1c91e4993a7201..101fc5c139d7647246b6af7fc20dfa40e3f967e0 100644 (file)
@@ -1,3 +1,8 @@
+2019-12-09  Richard Earnshaw  <rearnsha@arm.com>
+
+       * config/arm/t-multilib: Use arm->thumb multilib reuse rules
+       on a-profile.
+
 2019-12-09  Segher Boessenkool  <segher@kernel.crashing.org>
 
        * config/rs6000/rs6000.md (unnamed mfcr define_insn): Name this
index dc97c8f09fb0b7f53520432e1a174adfce1bf6af..d5ee537193f2416909516c563b9848a79dabb1bf 100644 (file)
@@ -185,6 +185,8 @@ MULTILIB_MATCHES    += march?armv7=march?armv8.5-a
 MULTILIB_MATCHES       += $(foreach ARCH, $(v8_5_a_simd_variants), \
                             march?armv7+fp=march?armv8.5-a$(ARCH))
 
+endif          # Not APROFILE.
+
 # Use Thumb libraries for everything.
 
 MULTILIB_REUSE         += mthumb/march.armv7/mfloat-abi.soft=marm/march.armv7/mfloat-abi.soft
@@ -198,4 +200,3 @@ MULTILIB_REUSE              += $(foreach MODE, arm thumb, \
                             $(foreach ARCH, armv7, \
                               mthumb/march.$(ARCH)/mfloat-abi.soft=m$(MODE)/march.$(ARCH)/mfloat-abi.softfp))
 
-endif          # Not APROFILE.