1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-11-27 12:01:15 +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:
Adhemerval Zanella
2025-11-20 15:30:11 -03:00
parent 25de0771ec
commit 8d26bed1eb
20 changed files with 89 additions and 12 deletions

View File

@@ -1 +1,5 @@
#include <misc/bits/syslog-decl.h>
#ifndef _ISOMAC
libc_hidden_ldbl_proto (__vsyslog_chk)
#endif