mirror of
https://sourceware.org/git/glibc.git
synced 2025-11-26 00:03:11 +03:00
Enable --enable-fortify-source with clang
clang generates internal calls for some _chk symbol, so add internal aliases for them, and stub some with rtld-stubbed-symbols to avoid ld.so linker issues. Reviewed-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1,8 @@
|
||||
#include <libio/bits/stdio2-decl.h>
|
||||
|
||||
#ifndef _ISOMAC
|
||||
libc_hidden_proto (__fgets_unlocked_chk)
|
||||
libc_hidden_ldbl_proto (vfprintf)
|
||||
libc_hidden_ldbl_proto (__vasprintf_chk)
|
||||
libc_hidden_ldbl_proto (__vfprintf_chk)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user