From: Rich Felker Date: Mon, 10 Sep 2018 20:25:49 +0000 (-0400) Subject: use hidden visibility for sh __unmapself backends X-Git-Tag: v1.1.21~132 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=762cf6cdb36ec4403d833c85371a4df686e0e58d;p=oweals%2Fmusl.git use hidden visibility for sh __unmapself backends --- 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