summaryrefslogtreecommitdiff
path: root/src/internal/libc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/libc.c')
-rw-r--r--src/internal/libc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/internal/libc.c b/src/internal/libc.c
index 5f12e295..c1e21ca0 100644
--- a/src/internal/libc.c
+++ b/src/internal/libc.c
@@ -9,3 +9,7 @@ struct __libc *__libc_loc()
#else
struct __libc __libc;
#endif
+
+#ifdef BROKEN_VISIBILITY
+__asm__(".hidden __libc");
+#endif