use hidden visibility for sh __unmapself backends
authorRich Felker <dalias@aerifal.cx>
Mon, 10 Sep 2018 20:25:49 +0000 (16:25 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 12 Sep 2018 18:34:32 +0000 (14:34 -0400)
src/thread/sh/__unmapself.c
src/thread/sh/__unmapself_mmu.s

index 719392a6b72cf40ad8c9c542cf2f3da1989856fd..35fb3c92d07649e49f4d12c01c5749f0c91ad450 100644 (file)
@@ -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
index 0161d53d425da8b9c44ba2bfd678bf9de71770cc..688087b80fefcb023c639178a63690165aa51594 100644 (file)
@@ -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