aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeno Hou <lenohou@gmail.com>2016-06-28 14:31:29 +0000
committerAnthony G. Basile <blueness@gentoo.org>2016-06-28 13:47:02 -0400
commitc288da02f7fc90f969d06a4dbd50b22cfa782d6d (patch)
tree90322d31dd706064adfc3dd017e291b789e73dd6 /sys-devel
parenteclass/toolchain-binutils.eclass: copy from tree (diff)
downloadppc64le-c288da02f7fc90f969d06a4dbd50b22cfa782d6d.tar.gz
ppc64le-c288da02f7fc90f969d06a4dbd50b22cfa782d6d.tar.bz2
ppc64le-c288da02f7fc90f969d06a4dbd50b22cfa782d6d.zip
sys-devel/binutils: add ld BE emulations for ppc64le target #580614
Signed-off-by: Leno Hou <lenohou@gmail.com> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/binutils/files/binutils-configure-target.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-devel/binutils/files/binutils-configure-target.patch b/sys-devel/binutils/files/binutils-configure-target.patch
new file mode 100644
index 0000000..0cd8778
--- /dev/null
+++ b/sys-devel/binutils/files/binutils-configure-target.patch
@@ -0,0 +1,18 @@
+--- ld/configure.tgt.orig 2016-05-15 07:49:39.661039407 +0000
++++ ld/configure.tgt 2016-05-15 08:15:24.441045822 +0000
+@@ -586,10 +586,13 @@
+ esac
+ case "${targ}" in
+ powerpc*le-*)
+- for z in targ_emul targ_extra_emuls targ_extra_libpath targ64_extra_emuls targ64_extra_libpath
++ for z in targ_extra_emuls targ_extra_libpath targ64_extra_emuls targ64_extra_libpath
+ do
+- eval ${z}=\"`eval echo \\$${z} | sed -e 's/ppc/lppc/g'`\"
++ eval ${z}+=\" `eval echo \\$${z} | sed -e 's/ppc/lppc/g'`\"
+ done
++ eval targ_extra_emuls+=\" \$targ_emul\"
++ eval targ_emul=\"`eval echo \\$targ_emul | sed -e 's/ppc/lppc/g'`\"
++
+ esac ;;
+ powerpc-*-nto*) targ_emul=elf32ppcnto ;;
+ powerpcle-*-nto*) targ_emul=elf32lppcnto ;;