projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add linux-specific unshare syscall wrapper
[oweals/musl.git]
/
src
/
internal
/
libc.c
diff --git
a/src/internal/libc.c
b/src/internal/libc.c
index 5f12e29588cf1cccba4f8e967c7fe7927b14e3c3..c1e21ca021a45ebe7f2736a4cba13d75e0c1613d 100644
(file)
--- a/
src/internal/libc.c
+++ b/
src/internal/libc.c
@@
-9,3
+9,7
@@
struct __libc *__libc_loc()
#else
struct __libc __libc;
#endif
#else
struct __libc __libc;
#endif
+
+#ifdef BROKEN_VISIBILITY
+__asm__(".hidden __libc");
+#endif