summaryrefslogtreecommitdiff
path: root/src/thread/sh/__set_thread_area.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/sh/__set_thread_area.c')
-rw-r--r--src/thread/sh/__set_thread_area.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/thread/sh/__set_thread_area.c b/src/thread/sh/__set_thread_area.c
index 9c47f78d..34264bdd 100644
--- a/src/thread/sh/__set_thread_area.c
+++ b/src/thread/sh/__set_thread_area.c
@@ -7,14 +7,11 @@
#define CPU_HAS_LLSC 0x0040
#define CPU_HAS_CAS_L 0x0400
-__attribute__((__visibility__("hidden")))
-extern const char __sh_cas_gusa[], __sh_cas_llsc[], __sh_cas_imask[], __sh_cas_cas_l[];
+extern hidden const char __sh_cas_gusa[], __sh_cas_llsc[], __sh_cas_imask[], __sh_cas_cas_l[];
-__attribute__((__visibility__("hidden")))
-const void *__sh_cas_ptr;
+hidden const void *__sh_cas_ptr;
-__attribute__((__visibility__("hidden")))
-unsigned __sh_nommu;
+hidden unsigned __sh_nommu;
int __set_thread_area(void *p)
{