]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
powerpc64le: Also avoid IFUNC for __mempcpy
authorFlorian Weimer <fweimer@redhat.com>
Sun, 2 Feb 2025 15:21:39 +0000 (16:21 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 5 Feb 2025 08:53:11 +0000 (09:53 +0100)
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").

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/powerpc/powerpc64/le/multiarch/dl-symbol-redir-ifunc.h

index e559ab03e34df1a072bae68338a6622e390a5ec4..93276e157858c21f3aaff03558507b35e1c736f2 100644 (file)
@@ -20,5 +20,6 @@
 #define _DL_IFUNC_GENERIC_H
 
 asm ("memset = __memset_power8");
+asm ("__mempcpy = __mempcpy_power7");
 
 #endif