[PATCH 1/2] riscv: Add support for GNU indirect function
Florian Weimer
fweimer@redhat.com
Fri Dec 4 05:57:57 GMT 2020
* Vincent Chen:
> On Tue, Dec 1, 2020 at 7:42 PM Florian Weimer <fweimer@redhat.com> wrote:
>>
>> * Vincent Chen:
>>
>> > diff --git a/libc-abis b/libc-abis
>> > index e702f6ae24..fb772499b2 100644
>> > --- a/libc-abis
>> > +++ b/libc-abis
>> > @@ -46,5 +46,6 @@ IFUNC powerpc64-*-linux*
>> > IFUNC powerpc-*-linux*
>> > IFUNC sparc64-*-linux*
>> > IFUNC sparc-*-linux*
>> > +IFUNC riscv*-linux*
>> > # Absolute (SHN_ABS) symbols working correctly.
>> > ABSOLUTE
>>
>> Does this really work? Isn't RISC-V already at the ABSOLUTE level?
>>
> Sorry, I could not really catch what you mean. The SHN_ABS symbols
> could work correctly in riscv, so did you mean I should add the entry
> "+IFUNC riscv*-linux*" below the "ABSOLUTE" entry?
It's the same issue that Andreas raised. He knows much more about this
than I do. I think you have to come up with a new IFUNC_2 ABI version
that comes after ABSOLUTE.
Thanks,
Florian
--
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill
More information about the Libc-alpha
mailing list