mirror of git://sourceware.org/git/glibc.git
aarch64: Remove duplicate memchr/strlen in libc.a (BZ 31777)
The generic version provides weak definitions of memchr/strlen, which are already provided by the ifunc resolvers. Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
parent
e9a37242f9
commit
ef9596352b
|
|
@ -24,6 +24,9 @@
|
|||
# undef libc_hidden_builtin_def
|
||||
# define libc_hidden_builtin_def(name)
|
||||
|
||||
# undef weak_alias
|
||||
# define weak_alias(a, b)
|
||||
|
||||
/* Add a hidden definition for use within libc.so. */
|
||||
# ifdef SHARED
|
||||
.globl __GI_memchr; __GI_memchr = __memchr_generic
|
||||
|
|
|
|||
|
|
@ -30,6 +30,9 @@
|
|||
# undef libc_hidden_builtin_def
|
||||
# define libc_hidden_builtin_def(name)
|
||||
|
||||
# undef weak_alias
|
||||
# define weak_alias(a, b)
|
||||
|
||||
# ifdef SHARED
|
||||
/* It doesn't make sense to send libc-internal strlen calls through a PLT. */
|
||||
.globl __GI_strlen; __GI_strlen = __strlen_generic
|
||||
|
|
|
|||
Loading…
Reference in New Issue