public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, COMMITTED] arm: fix v[78]-r multilibs when configured with --with-multlib-list=aprofile
@ 2019-12-09 13:53 Richard Earnshaw (lists)
  0 siblings, 0 replies; only message in thread
From: Richard Earnshaw (lists) @ 2019-12-09 13:53 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 391 bytes --]

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.

Committed to trunk.

[-- Attachment #2: a-multilib.patch --]
[-- Type: text/x-patch, Size: 725 bytes --]

diff --git a/gcc/config/arm/t-multilib b/gcc/config/arm/t-multilib
index dc97c8f09fb..d5ee537193f 100644
--- a/gcc/config/arm/t-multilib
+++ b/gcc/config/arm/t-multilib
@@ -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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-09 13:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-09 13:53 [PATCH, COMMITTED] arm: fix v[78]-r multilibs when configured with --with-multlib-list=aprofile Richard Earnshaw (lists)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).