aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rwxr-xr-xgcc/configure3
-rw-r--r--gcc/configure.ac3
3 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 47675e5..2388ac8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2013-05-07 Anton Blanchard <anton@samba.org>
+
+ * configure.ac (HAVE_LD_LARGE_TOC): Use correct linker emulation
+ for powerpc64 little endian.
+ * configure: Regenerate.
+
2013-05-06 Graham Stott <grahams@btinternet.com>
* expmed.c (init_expmed_rtl): Remove unused fields reg_fld, plus_fld,
diff --git a/gcc/configure b/gcc/configure
index fd4a0eb..e1262cd 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -26602,6 +26602,9 @@ fi
case "$target:$tm_file" in
powerpc64-*-freebsd* | powerpc64*-*-linux* | powerpc*-*-linux*rs6000/biarch64.h*)
case "$target" in
+ *le-*-linux*)
+ emul_name="-melf64lppc"
+ ;;
*-*-linux*)
emul_name="-melf64ppc"
;;
diff --git a/gcc/configure.ac b/gcc/configure.ac
index a859d99..a289cf7 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -4573,6 +4573,9 @@ fi
case "$target:$tm_file" in
powerpc64-*-freebsd* | powerpc64*-*-linux* | powerpc*-*-linux*rs6000/biarch64.h*)
case "$target" in
+ *le-*-linux*)
+ emul_name="-melf64lppc"
+ ;;
*-*-linux*)
emul_name="-melf64ppc"
;;