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

Andreas Schwab schwab@linux-m68k.org
Tue Dec 1 11:14:32 GMT 2020


On Dez 01 2020, Vincent Chen wrote:

> Enable riscv Glibc to support GNU indirect function
> ---
>  libc-abis                  |  1 +
>  sysdeps/riscv/dl-irel.h    | 53 ++++++++++++++++++++++++++++++++++++++
>  sysdeps/riscv/dl-machine.h | 22 ++++++++++++++++
>  3 files changed, 76 insertions(+)
>  create mode 100644 sysdeps/riscv/dl-irel.h
>
> 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

Please read the comment and follow it.  Always append, never insert.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Libc-alpha mailing list