projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove special nan handling from x86 sqrt asm
[musl]
/
src
/
internal
/
libc.c
diff --git
a/src/internal/libc.c
b/src/internal/libc.c
index
59d302d
..
c1e21ca
100644
(file)
--- a/
src/internal/libc.c
+++ b/
src/internal/libc.c
@@
-7,5
+7,9
@@
struct __libc *__libc_loc()
return &__libc;
}
#else
return &__libc;
}
#else
-struct __libc __libc ATTR_LIBC_VISIBILITY;
+struct __libc __libc;
+#endif
+
+#ifdef BROKEN_VISIBILITY
+__asm__(".hidden __libc");
#endif
#endif