This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH v2] ARM: Use different linker path for hardfloat ABI
- From: Michael Hope <michael dot hope at linaro dot org>
- To: Jeff Law <law at redhat dot com>
- Cc: Richard Earnshaw <rearnsha at arm dot com>, "Carlos O'Donell" <carlos at systemhalted dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>, "cross-distro at lists dot linaro dot org" <cross-distro at lists dot linaro dot org>, "libc-ports at sourceware dot org" <libc-ports at sourceware dot org>
- Date: Tue, 1 May 2012 14:43:32 +1200
- Subject: Re: [PATCH v2] ARM: Use different linker path for hardfloat ABI
- References: <CANLjY-kZ6FakmtKkHjjC2YNgCBkydiNq8F81Fb7SgW0RE6iF5w@mail.gmail.com> <4F9576DE.9070608@arm.com> <CANLjY-=y8pnK2jJZ+mo212o=5b0yOMgvy5G=WhoKnJX_mOV1CQ@mail.gmail.com> <CADZpyixYZAGYv=i=Xe4fefcBsxqPb3onaC1RGnfzGJnRX+MF4Q@mail.gmail.com> <CANLjY-m8udADuOo1gMfR9NWa-iw_JHbtnsoRAF1of1cvzdxSTg@mail.gmail.com> <4F9EAE9D.3040509@arm.com> <CANLjY-nhVTqr1_xrM7NpyOnyWYZkT4hpWZJb2VKDAGVvSaf8Aw@mail.gmail.com> <4F9F0B9F.1040403@redhat.com>
On 1 May 2012 10:01, Jeff Law <law@redhat.com> wrote:
> On 04/30/2012 03:47 PM, Michael Hope wrote:
>
>>>>
>>>> 2012-04-27 ?Michael Hope<michael.hope@linaro.org>
>>>>
>>>> ? ? ? * config/arm/linux-eabi.h (GLIBC_DYNAMIC_LINKER): Pick the loader
>>>> ? ? ? using a spec rule.
>>>>
>>>
>>> Michael,
>>>
>>> can you try this patch please. ?It should make it possible to then
>>> create linux-eabihf.h containing just
>>>
>>> #undef TARGET_DEFAULT_FLOAT_ABI
>>> #define TARGET_DEFAULT_FLOAT_ABI ARM_FLOAT_ABI_HARD
>>> #undef GLIBC_DYNAMIC_LINKER_DEFAULT
>>> #define GLIBC_DYNAMIC_LINKER_DEFAULT GLIBC_DYNAMIC_LINKER_HARD_FLOAT
>>>
>>> Which is not quite as simple as leaving out the second re-define, but
>>> pretty close.
>>
>>
>> Hi Richard. ?Your patch tests just fine. ?I like it. ?You could change
>> the spec rule to the newer if-elseif-else form but that's a nit.
>
> So who owns creating the appropriate glibc patch now that we've got a good
> gcc patch?
Carlos is working on the GLIBC patch:
http://sourceware.org/ml/libc-ports/2012-04/msg00171.html
-- Michael