[PATCH 1/2] riscv: Add support for GNU indirect function

Vincent Chen vincent.chen@sifive.com
Fri Dec 4 03:29:09 GMT 2020


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?


More information about the Libc-alpha mailing list