summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-4.3.1/debian/powerpc-biarch.dpatch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-07-18 12:28:46 +0000
committerRichard Purdie <richard@openedhand.com>2008-07-18 12:28:46 +0000
commite8bda8575637b967afaa0321fc3aeb69e809087a (patch)
treed4865b2556e227b403f9c13ad128d9bfb3c009d8 /meta/packages/gcc/gcc-4.3.1/debian/powerpc-biarch.dpatch
parentf204c8376f18d6cc443e7f4533d7eeace5d45f95 (diff)
downloadpoky-e8bda8575637b967afaa0321fc3aeb69e809087a.tar.gz
gcc 4.3.0 -> 4.3.1 (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4876 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gcc/gcc-4.3.1/debian/powerpc-biarch.dpatch')
-rw-r--r--meta/packages/gcc/gcc-4.3.1/debian/powerpc-biarch.dpatch47
1 files changed, 47 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-4.3.1/debian/powerpc-biarch.dpatch b/meta/packages/gcc/gcc-4.3.1/debian/powerpc-biarch.dpatch
new file mode 100644
index 0000000000..a1d2a727a9
--- /dev/null
+++ b/meta/packages/gcc/gcc-4.3.1/debian/powerpc-biarch.dpatch
@@ -0,0 +1,47 @@
1#! /bin/sh -e
2
3# DP: enable biarch for 32 bit compiler
4
5dir=
6if [ $# -eq 3 -a "$2" = '-d' ]; then
7 pdir="-d $3"
8 dir="$3/"
9elif [ $# -ne 1 ]; then
10 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
11 exit 1
12fi
13case "$1" in
14 -patch)
15 patch $pdir -f --no-backup-if-mismatch -p0 < $0
16 ;;
17 -unpatch)
18 patch $pdir -f --no-backup-if-mismatch -R -p0 < $0
19 ;;
20 *)
21 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
22 exit 1
23esac
24exit 0
25
26--- gcc/config/rs6000/t-linux64.orig 2007-09-29 16:03:54.000000000 +0000
27+++ gcc/config/rs6000/t-linux64 2007-09-30 10:36:47.000000000 +0000
28@@ -14,13 +14,13 @@
29 # it doesn't tell anything about the 32bit libraries on those systems. Set
30 # MULTILIB_OSDIRNAMES according to what is found on the target.
31
32-MULTILIB_OPTIONS = m64/m32 msoft-float
33-MULTILIB_DIRNAMES = 64 32 nof
34+MULTILIB_OPTIONS = m64/m32
35+MULTILIB_DIRNAMES = 64 32
36 MULTILIB_EXTRA_OPTS = fPIC mstrict-align
37-MULTILIB_EXCEPTIONS = m64/msoft-float
38-MULTILIB_EXCLUSIONS = m64/!m32/msoft-float
39-MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib) nof
40-MULTILIB_MATCHES = $(MULTILIB_MATCHES_FLOAT)
41+MULTILIB_EXCEPTIONS =
42+MULTILIB_EXCLUSIONS =
43+MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
44+MULTILIB_MATCHES =
45
46 softfp_wrap_start := '\#ifndef __powerpc64__'
47 softfp_wrap_end := '\#endif'