~angelsl/ubuntu/wily/gcc-5/mips-cross

« back to all changes in this revision

Viewing changes to debian/patches/arm-multilib-soft-float.diff

  • Committer: angelsl
  • Date: 2015-10-30 03:30:35 UTC
  • Revision ID: angelsl-20151030033035-rmug41zm8hyjgisg
Original import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- a/src/gcc/config/arm/t-linux-eabi
 
2
+++ b/src/gcc/config/arm/t-linux-eabi
 
3
@@ -24,6 +24,23 @@
 
4
 MULTILIB_OPTIONS       =
 
5
 MULTILIB_DIRNAMES      =
 
6
 
 
7
+ifneq (,$(findstring MULTIARCH_DEFAULTS,$(tm_defines)))
 
8
+ifneq (,$(findstring __arm_linux_gnueabi__,$(tm_defines)))
 
9
+  MULTILIB_OPTIONS     = mfloat-abi=softfp/mfloat-abi=hard/mfloat-abi=soft
 
10
+  MULTILIB_DIRNAMES    = . hf soft-float
 
11
+  MULTILIB_EXCEPTIONS  =
 
12
+  MULTILIB_MATCHES     = mfloat-abi?hard=mhard-float mfloat-abi?soft=msoft-float
 
13
+  MULTILIB_OSDIRNAMES  = ../../lib/arm-linux-gnueabi ../../lib/arm-linux-gnueabihf soft-float
 
14
+endif
 
15
+ifneq (,$(findstring __arm_linux_gnueabihf__,$(tm_defines)))
 
16
+  MULTILIB_OPTIONS     = mfloat-abi=hard/mfloat-abi=softfp/mfloat-abi=soft
 
17
+  MULTILIB_DIRNAMES    = . sf soft-float
 
18
+  MULTILIB_EXCEPTIONS  =
 
19
+  MULTILIB_MATCHES     = mfloat-abi?hard=mhard-float mfloat-abi?soft=msoft-float
 
20
+  MULTILIB_OSDIRNAMES  = ../../lib/arm-linux-gnueabihf ../../lib/arm-linux-gnueabi soft-float
 
21
+endif
 
22
+endif
 
23
+
 
24
 #MULTILIB_OPTIONS     += mcpu=fa606te/mcpu=fa626te/mcpu=fmp626/mcpu=fa726te
 
25
 #MULTILIB_DIRNAMES    += fa606te fa626te fmp626 fa726te
 
26
 #MULTILIB_EXCEPTIONS  += *mthumb/*mcpu=fa606te *mthumb/*mcpu=fa626te *mthumb/*mcpu=fmp626 *mthumb/*mcpu=fa726te*