This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][v2] Add AARCH64 relocation constants to elf/elf.h
- From: Petr Machata <pmachata at redhat dot com>
- To: Andrew Pinski <pinskia at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, Marcus Shawcroft <marcus dot shawcroft at linaro dot org>
- Date: Thu, 11 Jul 2013 14:24:17 -0700
- Subject: Re: [PATCH][v2] Add AARCH64 relocation constants to elf/elf.h
- References: <m2li5vz7c5 dot fsf at redhat dot com> <CABXK9nfLQ2Mmh4OgyEL31q9VjycNDDTsASMsSQ-PtOvPThe21Q at mail dot gmail dot com> <m2bo6qzerr dot fsf_-_ at redhat dot com> <m2r4f5xa1o dot fsf at redhat dot com> <CA+=Sn1mrahgn+toiuOqshmFW3cPYUZMRqg1_ukHsZtruZvae-g at mail dot gmail dot com>
Andrew Pinski <pinskia@gmail.com> writes:
> On Thu, Jul 11, 2013 at 10:48 AM, Petr Machata <pmachata@redhat.com> wrote:
>> Petr Machata <pmachata@redhat.com> writes:
>>
>>> Marcus Shawcroft <marcus.shawcroft@linaro.org> writes:
>>>
>>>> The next version of the ABI which I'm told should be published real
>>>> soon now, renames these three dropping the '64' suffix, their
>>>> semantics remain unchanged, therefore:
>>>>
>>>> R_AARCH64_TLS_DTPMOD 1028
>>>> R_AARCH64_TLS_DTPREL 1029
>>>> R_AARCH64_TLS_TPREL 1030
>>
>> I just realized that these three defines are used in
>> aarch64/dl-machine.h. Clarly this needs patching. It seems to me that
>> we should get back to my original patch (without the renaming), and I
>> should then post another patch with just the rename. How does that
>> sound?
>
> Or rather rename them in aarch64/dl-machine.h. This will make it
> easier in the near future to add ILP32 ABI support to ld.so.
Yes, that would be part of the rename patch.
Thanks,
PM