summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.5.1/pr43810.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.5.1/pr43810.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.1/pr43810.patch57
1 files changed, 0 insertions, 57 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/pr43810.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/pr43810.patch
deleted file mode 100644
index e9db4c07f6..0000000000
--- a/meta/recipes-devtools/gcc/gcc-4.5.1/pr43810.patch
+++ /dev/null
@@ -1,57 +0,0 @@
1From 33ba46dc9395d7a6b1496e9f273cf953d59a8d71 Mon Sep 17 00:00:00 2001
2From: froydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>
3Date: Wed, 23 Feb 2011 18:06:29 +0000
4Subject: [PATCH 1/6] PR target/43810
5
6 Backport from mainline:
7 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8
9 * config.host (powerpc*-eabispe*): Set tmake_file.
10 (powerpc*-eabi*): Likewise.
11 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12 crtbeginS, crtendS, crtbeginT.
13
14git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_5-branch@170443 138bc75d-0d04-0410-961f-82ee72b054a4
15---
16 libgcc/config.host | 2 ++
17 libgcc/config/rs6000/t-ppccomm | 4 +++-
18 2 files changed, 5 insertions(+), 1 deletions(-)
19
20diff --git a/libgcc/config.host b/libgcc/config.host
21index fe3465e..f85c723 100644
22--- a/libgcc/config.host
23+++ b/libgcc/config.host
24@@ -454,6 +454,7 @@ powerpc*-*-freebsd*)
25 powerpc-*-netbsd*)
26 ;;
27 powerpc-*-eabispe*)
28+ tmake_file="${tmake_file} rs6000/t-ppccomm"
29 ;;
30 powerpc-*-eabisimaltivec*)
31 ;;
32@@ -464,6 +465,7 @@ powerpc-*-elf*)
33 powerpc-*-eabialtivec*)
34 ;;
35 powerpc-*-eabi*)
36+ tmake_file="${tmake_file} rs6000/t-ppccomm"
37 ;;
38 powerpc-*-rtems*)
39 ;;
40diff --git a/libgcc/config/rs6000/t-ppccomm b/libgcc/config/rs6000/t-ppccomm
41index 1a711eb..4548cd7 100644
42--- a/libgcc/config/rs6000/t-ppccomm
43+++ b/libgcc/config/rs6000/t-ppccomm
44@@ -15,7 +15,9 @@ LIB2ADD_ST += crtsavfpr.S crtresfpr.S \
45 e500crtsavg64gpr.S \
46 e500crtsavg64gprctr.S
47
48-EXTRA_PARTS += ecrti$(objext) ecrtn$(objext) ncrti$(objext) ncrtn$(objext)
49+EXTRA_PARTS += crtbegin$(objext) crtend$(objext) \
50+ crtbeginS$(objext) crtendS$(objext) crtbeginT$(objext) \
51+ ecrti$(objext) ecrtn$(objext) ncrti$(objext) ncrtn$(objext)
52
53 # We build {e,n}crti.o and {e,n}crtn.o, which serve to add begin and
54 # end labels to all of the special sections used when we link using gcc.
55--
561.7.4
57