libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix for powepc64-linux bi-arch compiler using powerpc64-linux de


From: Jakub Jelinek
Subject: [PATCH] Fix for powepc64-linux bi-arch compiler using powerpc64-linux defaulting binutils
Date: Mon, 9 Jun 2003 15:59:12 -0400
User-agent: Mutt/1.2.5.1i

Hi!

If ld defaults to -m elf64ppc on powerpc64-*-linux*, relinking doesn't
work for 32-bit compilations, as plain ld -r instead of the desired
ld -m elf32ppclinux -r is used.

2003-06-09  Jakub Jelinek  <address@hidden>

        * libtool.m4 (libtool_flags): Handle powerpc64-*linux*
        the same way as ppc64-*linux*.

--- libtool.m4.jj       2003-03-19 07:58:22.000000000 -0500
+++ libtool.m4  2003-06-05 11:47:48.000000000 -0400
@@ -199,7 +199,7 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*li
         x86_64-*linux*)
           LD="${LD-ld} -m elf_i386"
           ;;
-        ppc64-*linux*)
+        ppc64-*linux*|powerpc64-*linux*)
           LD="${LD-ld} -m elf32ppclinux"
           ;;
         s390x-*linux*)

        Jakub




reply via email to

[Prev in Thread] Current Thread [Next in Thread]