This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[csl-arm] Armv7 multilib fix


The patch below fixes a thinko in the armv7 multilib configuration which meant 
the multilib was never actually used.

Tested with cross to arm-none-eabi.
Applied to branches/csl/arm-4_1

Paul

2006-02-27  Paul Brook  <paul@codesourcery.com>

	* config/arm/t-arm-elf: Fix backwards MULTILIB_MATCHES.

Index: gcc/config/arm/t-arm-elf
===================================================================
--- gcc/config/arm/t-arm-elf	(revision 111486)
+++ gcc/config/arm/t-arm-elf	(working copy)
@@ -14,11 +14,12 @@ MULTILIB_MATCHES     =
 MULTILIB_OPTIONS      += march=armv7
 MULTILIB_DIRNAMES     += thumb2
 MULTILIB_EXCEPTIONS   += march=armv7* marm/*march=armv7*
-MULTILIB_MATCHES      += march?armv7a=march?armv7
-MULTILIB_MATCHES      += march?armv7r=march?armv7
-MULTILIB_MATCHES      += march?armv7m=march?armv7
-MULTILIB_MATCHES      += mcpu?cortex-a8=march?armv7
-MULTILIB_MATCHES      += mcpu?cortex-m3=march?armv7
+MULTILIB_MATCHES      += march?armv7=march?armv7a
+MULTILIB_MATCHES      += march?armv7=march?armv7r
+MULTILIB_MATCHES      += march?armv7=march?armv7m
+MULTILIB_MATCHES      += march?armv7=mcpu?cortex-a8
+MULTILIB_MATCHES      += march?armv7=mcpu?cortex-r4
+MULTILIB_MATCHES      += march?armv7=mcpu?cortex-m3
 
 # MULTILIB_OPTIONS    += mcpu=ep9312
 # MULTILIB_DIRNAMES   += ep9312


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]