From 762cf6cdb36ec4403d833c85371a4df686e0e58d Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 10 Sep 2018 16:25:49 -0400 Subject: use hidden visibility for sh __unmapself backends --- src/thread/sh/__unmapself.c | 4 ++-- 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 -- cgit v1.2.1