mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-03 10:21:05 +00:00
e826574c98
Due to the way the conditions were written, the rtld build of strncmp ended up with no definition of the strncmp symbol at all: The implementations were renamed for use within an IFUNC resolver, but the IFUNC resolver itself was missing (because rtld does not use IFUNCs). Reviewed-by: Carlos O'Donell <carlos@redhat.com>
9 lines
245 B
C
9 lines
245 B
C
#if defined (SHARED) && IS_IN (libc)
|
|
# define STRNCMP __strncmp_ia32
|
|
# undef libc_hidden_builtin_def
|
|
# define libc_hidden_builtin_def(name) \
|
|
__hidden_ver1 (__strncmp_ia32, __GI_strncmp, __strncmp_ia32);
|
|
#endif
|
|
|
|
#include "string/strncmp.c"
|