diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-09-10 16:25:49 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-09-12 14:34:32 -0400 |
commit | 762cf6cdb36ec4403d833c85371a4df686e0e58d (patch) | |
tree | 53482428fc237522b241015b50878c8ae137c98a | |
parent | fe61a7aa53e68e8a17b5eb8d502e6fa314139ced (diff) | |
download | musl-762cf6cdb36ec4403d833c85371a4df686e0e58d.tar.gz musl-762cf6cdb36ec4403d833c85371a4df686e0e58d.tar.bz2 musl-762cf6cdb36ec4403d833c85371a4df686e0e58d.tar.xz musl-762cf6cdb36ec4403d833c85371a4df686e0e58d.zip |
use hidden visibility for sh __unmapself backends
-rw-r--r-- | src/thread/sh/__unmapself.c | 4 | ||||
-rw-r--r-- | src/thread/sh/__unmapself_mmu.s | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/thread/sh/__unmapself.c b/src/thread/sh/__unmapself.c index 719392a6..35fb3c92 100644 --- a/src/thread/sh/__unmapself.c +++ b/src/thread/sh/__unmapself.c @@ -1,7 +1,7 @@ #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 diff --git a/src/thread/sh/__unmapself_mmu.s b/src/thread/sh/__unmapself_mmu.s index 0161d53d..688087b8 100644 --- a/src/thread/sh/__unmapself_mmu.s +++ b/src/thread/sh/__unmapself_mmu.s @@ -1,5 +1,6 @@ .text .global __unmapself_sh_mmu +.hidden __unmapself_sh_mmu .type __unmapself_sh_mmu, @function __unmapself_sh_mmu: mov #91, r3 ! SYS_munmap |