about summary refs log tree commit diff
path: root/src/thread/sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/sh')
-rw-r--r--src/thread/sh/__unmapself.c4
-rw-r--r--src/thread/sh/__unmapself_mmu.s1
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