about summary refs log tree commit diff
path: root/debug
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-02-08 10:56:30 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-04-17 16:12:41 -0300
commitdb7a80b30f1972456fde5a0db1e1047b048fdf28 (patch)
tree9347c8a9707bce9fdccdae12917b64380458564c /debug
parentb80b3618dc7c3da40c530ef0bbdcde139fc7b4a1 (diff)
downloadglibc-db7a80b30f1972456fde5a0db1e1047b048fdf28.tar.gz
glibc-db7a80b30f1972456fde5a0db1e1047b048fdf28.tar.xz
glibc-db7a80b30f1972456fde5a0db1e1047b048fdf28.zip
Enable --enable-fortify-source with clang
Diffstat (limited to 'debug')
-rw-r--r--debug/vasprintf_chk.c1
-rw-r--r--debug/vfprintf_chk.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/debug/vasprintf_chk.c b/debug/vasprintf_chk.c
index 2d6bf8ebba..693bac0432 100644
--- a/debug/vasprintf_chk.c
+++ b/debug/vasprintf_chk.c
@@ -35,3 +35,4 @@ __vasprintf_chk (char **result_ptr, int flag, const char *format, va_list ap)
 
   return __vasprintf_internal (result_ptr, format, ap, mode);
 }
+libc_hidden_def (__vasprintf_chk)
diff --git a/debug/vfprintf_chk.c b/debug/vfprintf_chk.c
index 62c34a965e..7ee34d57a7 100644
--- a/debug/vfprintf_chk.c
+++ b/debug/vfprintf_chk.c
@@ -29,3 +29,4 @@ ___vfprintf_chk (FILE *fp, int flag, const char *format, va_list ap)
   return __vfprintf_internal (fp, format, ap, mode);
 }
 ldbl_strong_alias (___vfprintf_chk, __vfprintf_chk)
+ldbl_hidden_def (___vfprintf_chk, __vfprintf_chk)