configure.ac (HAVE_LD_LARGE_TOC): Use correct linker emulation for powerpc64 little...
authorAnton Blanchard <anton@samba.org>
Tue, 7 May 2013 01:01:08 +0000 (01:01 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Tue, 7 May 2013 01:01:08 +0000 (10:31 +0930)
* configure.ac (HAVE_LD_LARGE_TOC): Use correct linker emulation
for powerpc64 little endian.
* configure: Regenerate.

From-SVN: r198662

gcc/ChangeLog
gcc/configure
gcc/configure.ac

index 47675e58cbc163ab8c355c4b155d408432a9a3f4..2388ac8df9a2df968270555b10205fb0aa44c3f1 100644 (file)
@@ -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,
index fd4a0ebacc0ccf859ad26b6d25845d20f85b065b..e1262cd2887a82efef0644779cbdf74b64d158ed 100755 (executable)
@@ -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"
       ;;
index a859d99a832c7baac2934acd0c2c856970238773..a289cf748b51f4f6aff09446587d0317578a03ed 100644 (file)
@@ -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"
       ;;