From 9894127d202d8c0c821d852658057a03ba3cc3d2 Mon Sep 17 00:00:00 2001 From: Noah Goldstein Date: Thu, 21 Oct 2021 15:53:58 -0500 Subject: String: Add hidden defs for __memcmpeq() to enable internal usage No bug. This commit adds hidden defs for all declarations of __memcmpeq. This enables usage of __memcmpeq without the PLT for usage internal to GLIBC. --- sysdeps/x86_64/multiarch/memcmp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sysdeps/x86_64/multiarch/memcmp.c') diff --git a/sysdeps/x86_64/multiarch/memcmp.c b/sysdeps/x86_64/multiarch/memcmp.c index 4a3aad2..7b3409b 100644 --- a/sysdeps/x86_64/multiarch/memcmp.c +++ b/sysdeps/x86_64/multiarch/memcmp.c @@ -31,6 +31,7 @@ libc_ifunc_redirected (__redirect_memcmp, memcmp, IFUNC_SELECTOR ()); weak_alias (memcmp, bcmp) # undef __memcmpeq strong_alias (memcmp, __memcmpeq) +libc_hidden_def (__memcmpeq) # ifdef SHARED __hidden_ver1 (memcmp, __GI_memcmp, __redirect_memcmp) -- cgit v1.1