This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PING: PATCH: Backport x32 support to libtool
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>, DJ Delorie <dj at redhat dot com>, neroden at gcc dot gnu dot org, Alexandre Oliva <aoliva at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 16 Apr 2012 10:47:24 -0700
- Subject: Re: PING: PATCH: Backport x32 support to libtool
- References: <CAMe9rOr0YxkT7hpQFLKV9psy2eUpU600XxvNzghanLOph_RRmg@mail.gmail.com>
On Tue, Apr 3, 2012 at 7:49 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Thu, Mar 29, 2012 at 7:34 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
>> On Sat, Mar 3, 2012 at 9:54 AM, H.J. Lu <hongjiu.lu@intel.com> wrote:
>>> Hi,
>>>
>>> This patch backports x32 support to libtool:
>>>
>>> http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=88992fe6771ec3258bde1b03314ce579da0ac2d5
>>>
>>> OK to install?
>>>
>>> Thanks.
>>>
>>>
>>> H.J.
>>> ---
>>> ommit 0d8c092cac25c3bce5dbfc1981b84df91b3f6086
>>> Author: H.J. Lu <hjl.tools@gmail.com>
>>> Date: ? Mon Dec 12 13:03:14 2011 -0800
>>>
>>> ? ?Add x32 support to libtool.m4
>>>
>>> ? ?2011-12-12 ?H.J. Lu ?<hongjiu.lu@intel.com>
>>>
>>> ? ? ? ?* libtool.m4 (_LT_ENABLE_LOCK): Support x32.
>>>
>>> diff --git a/ChangeLog.x32 b/ChangeLog.x32
>>> new file mode 100644
>>> index 0000000..b6e01ee
>>> --- /dev/null
>>> +++ b/ChangeLog.x32
>>> @@ -0,0 +1,3 @@
>>> +2011-12-12 ?H.J. Lu ?<hongjiu.lu@intel.com>
>>> +
>>> + ? ? ? * libtool.m4 (_LT_ENABLE_LOCK): Support x32.
>>> diff --git a/libtool.m4 b/libtool.m4
>>> index 67321a7..a7f99ac 100644
>>> --- a/libtool.m4
>>> +++ b/libtool.m4
>>> @@ -1232,7 +1232,14 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
>>> ? ? ? ? ? ?LD="${LD-ld} -m elf_i386_fbsd"
>>> ? ? ? ? ? ?;;
>>> ? ? ? ? ?x86_64-*linux*)
>>> - ? ? ? ? ? LD="${LD-ld} -m elf_i386"
>>> + ? ? ? ? ? case `/usr/bin/file conftest.o` in
>>> + ? ? ? ? ? ? *x86-64*)
>>> + ? ? ? ? ? ? ? LD="${LD-ld} -m elf32_x86_64"
>>> + ? ? ? ? ? ? ? ;;
>>> + ? ? ? ? ? ? *)
>>> + ? ? ? ? ? ? ? LD="${LD-ld} -m elf_i386"
>>> + ? ? ? ? ? ? ? ;;
>>> + ? ? ? ? ? esac
>>> ? ? ? ? ? ?;;
>>> ? ? ? ? ?ppc64-*linux*|powerpc64-*linux*)
>>> ? ? ? ? ? ?LD="${LD-ld} -m elf32ppclinux"
>>
>>
>> Hi Ralf,
>>
>> Can you review this patch?
>>
>> Thanks.
>>
>
> PING.
>
PING.
--
H.J.