diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-02-26 21:14:16 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-02-26 21:14:16 -0600 |
commit | 5840fb368374b8bff1c12ea711dc36f3e4fb03fe (patch) | |
tree | 6c009c28e6c338d7a2a69dbdf2a590899ba7ffad /main/gcc/gcc-powerpc-target-optspace.patch | |
parent | f00bacedea607dec88102c34af096565cdc35d5f (diff) | |
download | aports-5840fb368374b8bff1c12ea711dc36f3e4fb03fe.tar.bz2 aports-5840fb368374b8bff1c12ea711dc36f3e4fb03fe.tar.xz |
main/gcc: fix compilation using -Os on powerpc (upstream PR 43810)
Diffstat (limited to 'main/gcc/gcc-powerpc-target-optspace.patch')
-rw-r--r-- | main/gcc/gcc-powerpc-target-optspace.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/main/gcc/gcc-powerpc-target-optspace.patch b/main/gcc/gcc-powerpc-target-optspace.patch new file mode 100644 index 0000000000..d812863ea5 --- /dev/null +++ b/main/gcc/gcc-powerpc-target-optspace.patch @@ -0,0 +1,13 @@ +--- a/libgcc/config/rs6000/t-ppccomm 2010/04/06 11:07:48 157989 ++++ b/libgcc/config/rs6000/t-ppccomm 2011/02/23 18:06:29 170443 +@@ -15,7 +15,9 @@ + e500crtsavg64gpr.S \ + e500crtsavg64gprctr.S + +-EXTRA_PARTS += ecrti$(objext) ecrtn$(objext) ncrti$(objext) ncrtn$(objext) ++EXTRA_PARTS += crtbegin$(objext) crtend$(objext) \ ++ crtbeginS$(objext) crtendS$(objext) crtbeginT$(objext) \ ++ ecrti$(objext) ecrtn$(objext) ncrti$(objext) ncrtn$(objext) + + # We build {e,n}crti.o and {e,n}crtn.o, which serve to add begin and + # end labels to all of the special sections used when we link using gcc. |