On Mon, Nov 18, 2013 at 9:57 AM, Ulrich Weigand
<ulrich.weig...@de.ibm.com> wrote:
> Ian Lance Taylor <i...@google.com> wrote on 18.11.2013 18:32:08:
>> On Sun, Nov 17, 2013 at 2:00 PM, Ulrich Weigand <uweig...@de.ibm.com>
> wrote:
>> >
>> > - It seems you've already updated libgo's libtool.m4 to support
> powerpc64le.
>> >   However, the patch to fix this unfortunately went through a number of
>> >   iterations, and the version that's now in the gcc libgo sources is
> one of
>> >   the intermediate ones, not the final version that went upstream.
> This is
>> >   not a big deal, but would probably be nice to get fixed at some
> point.
>>
>> Alan Modra sent me a patch for that.  If you can send me a patch for
>> the final update, I'd be happy to apply it.
>
> This patch brings it up to date with the current version (as in GCC's main
> libtool.m4):
> (See attached file: libgo-libtool.diff)

Thanks.  Committed to mainline.

Ian
diff -r 635b8c6e7505 libgo/config/libtool.m4
--- a/libgo/config/libtool.m4	Fri Nov 22 08:19:40 2013 -0800
+++ b/libgo/config/libtool.m4	Fri Nov 22 12:38:13 2013 -0800
@@ -1239,10 +1239,10 @@
 	  x86_64-*linux*)
 	    LD="${LD-ld} -m elf_i386"
 	    ;;
-	  powerpc64le-*)
+	  powerpc64le-*linux*)
 	    LD="${LD-ld} -m elf32lppclinux"
 	    ;;
-	  powerpc64-*)
+	  powerpc64-*linux*)
 	    LD="${LD-ld} -m elf32ppclinux"
 	    ;;
 	  s390x-*linux*)
@@ -1261,10 +1261,10 @@
 	  x86_64-*linux*)
 	    LD="${LD-ld} -m elf_x86_64"
 	    ;;
-	  powerpcle-*)
+	  powerpcle-*linux*)
 	    LD="${LD-ld} -m elf64lppc"
 	    ;;
-	  powerpc-*)
+	  powerpc-*linux*)
 	    LD="${LD-ld} -m elf64ppc"
 	    ;;
 	  s390*-*linux*|s390*-*tpf*)

Reply via email to