mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +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:
@@ -26,3 +26,4 @@ __memset_chk (void *dstpp, int c, size_t len, size_t dstlen)
|
||||
|
||||
return memset (dstpp, c, len);
|
||||
}
|
||||
libc_hidden_builtin_def (__memset_chk)
|
||||
|
Reference in New Issue
Block a user