[PATCH] powerpc64le: Also avoid IFUNC for __mempcpy_power7

Adhemerval Zanella Netto adhemerval.zanella@linaro.org
Mon Feb 3 13:03:38 GMT 2025



On 02/02/25 12:21, Florian Weimer wrote:
> Code used during early static startup in elf/dl-tls.c uses
> __mempcpy.
> 
> Fixes commit cbd9fd236981717d3d4ee942986ea912e9707c32 ("Consolidate
> TLS block allocation for static binaries with ld.so").

LGTM, thanks.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

> 
> ---
>  sysdeps/powerpc/powerpc64/le/multiarch/dl-symbol-redir-ifunc.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/sysdeps/powerpc/powerpc64/le/multiarch/dl-symbol-redir-ifunc.h b/sysdeps/powerpc/powerpc64/le/multiarch/dl-symbol-redir-ifunc.h
> index e559ab03e3..93276e1578 100644
> --- a/sysdeps/powerpc/powerpc64/le/multiarch/dl-symbol-redir-ifunc.h
> +++ b/sysdeps/powerpc/powerpc64/le/multiarch/dl-symbol-redir-ifunc.h
> @@ -20,5 +20,6 @@
>  #define _DL_IFUNC_GENERIC_H
>  
>  asm ("memset = __memset_power8");
> +asm ("__mempcpy = __mempcpy_power7");
>  
>  #endif
> 



More information about the Libc-alpha mailing list