projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix async thread cancellation stack alignment
[musl]
/
src
/
thread
/
sh
/
__unmapself.c
diff --git
a/src/thread/sh/__unmapself.c
b/src/thread/sh/__unmapself.c
index
d4fb8be
..
35fb3c9
100644
(file)
--- a/
src/thread/sh/__unmapself.c
+++ b/
src/thread/sh/__unmapself.c
@@
-1,7
+1,7
@@
#include "pthread_impl.h"
#include "pthread_impl.h"
-void __unmapself_sh_mmu(void *, size_t);
-void __unmapself_sh_nommu(void *, size_t);
+
hidden
void __unmapself_sh_mmu(void *, size_t);
+
hidden
void __unmapself_sh_nommu(void *, size_t);
#if !defined(__SH3__) && !defined(__SH4__)
#define __unmapself __unmapself_sh_nommu
#if !defined(__SH3__) && !defined(__SH4__)
#define __unmapself __unmapself_sh_nommu
@@
-12,7
+12,7
@@
void __unmapself_sh_nommu(void *, size_t);
: : "r"(pc), "r"(sp) : "r0", "memory" )
#include "../__unmapself.c"
#undef __unmapself
: : "r"(pc), "r"(sp) : "r0", "memory" )
#include "../__unmapself.c"
#undef __unmapself
-extern
__attribute__((__visibility__("hidden")))
unsigned __sh_nommu;
+extern
hidden
unsigned __sh_nommu;
#else
#define __sh_nommu 0
#endif
#else
#define __sh_nommu 0
#endif