mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
string: Ensure *_chk routines have their hidden builtin definition available
If libc_hidden_builtin_{def,proto} isn't properly set for *_chk routines,
there are unwanted PLT entries in libc.so.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
This commit is contained in:
@@ -32,3 +32,4 @@ MEMMOVE_CHK (void *dest, const void *src, size_t len, size_t destlen)
|
||||
|
||||
return memmove (dest, src, len);
|
||||
}
|
||||
libc_hidden_builtin_def (MEMMOVE_CHK)
|
||||
|
||||
Reference in New Issue
Block a user