summaryrefslogtreecommitdiff
path: root/src/thread
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-10 15:42:03 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-12 14:34:32 -0400
commit5e1019b01c968707accc85c99e63a18af665cf27 (patch)
treefbdd7f7fbc27541550139f771cc2a2e163db1145 /src/thread
parentf5f7673d71f843b423e60bbdd7de49fd1bbcc8c1 (diff)
downloadmusl-5e1019b01c968707accc85c99e63a18af665cf27.tar.gz
musl-5e1019b01c968707accc85c99e63a18af665cf27.tar.bz2
musl-5e1019b01c968707accc85c99e63a18af665cf27.tar.xz
musl-5e1019b01c968707accc85c99e63a18af665cf27.zip
make arch __set_thread_area backends hidden
this is not a public interface, and does not even necessarily match the syscall on all archs that have a syscall by that name. on archs where it's implemented in C, no action on the source file is needed; the hidden declaration in pthread_arch.h suffices.
Diffstat (limited to 'src/thread')
-rw-r--r--src/thread/aarch64/__set_thread_area.s1
-rw-r--r--src/thread/i386/__set_thread_area.s1
-rw-r--r--src/thread/microblaze/__set_thread_area.s1
-rw-r--r--src/thread/or1k/__set_thread_area.s1
-rw-r--r--src/thread/powerpc/__set_thread_area.s1
-rw-r--r--src/thread/powerpc64/__set_thread_area.s1
-rw-r--r--src/thread/s390x/__set_thread_area.s1
-rw-r--r--src/thread/x32/__set_thread_area.s1
-rw-r--r--src/thread/x86_64/__set_thread_area.s1
9 files changed, 9 insertions, 0 deletions
diff --git a/src/thread/aarch64/__set_thread_area.s b/src/thread/aarch64/__set_thread_area.s
index 97a80acc..fd0df34b 100644
--- a/src/thread/aarch64/__set_thread_area.s
+++ b/src/thread/aarch64/__set_thread_area.s
@@ -1,4 +1,5 @@
.global __set_thread_area
+.hidden __set_thread_area
.type __set_thread_area,@function
__set_thread_area:
msr tpidr_el0,x0
diff --git a/src/thread/i386/__set_thread_area.s b/src/thread/i386/__set_thread_area.s
index 3a558fb0..c2c21dd5 100644
--- a/src/thread/i386/__set_thread_area.s
+++ b/src/thread/i386/__set_thread_area.s
@@ -1,5 +1,6 @@
.text
.global __set_thread_area
+.hidden __set_thread_area
.type __set_thread_area,@function
__set_thread_area:
push %ebx
diff --git a/src/thread/microblaze/__set_thread_area.s b/src/thread/microblaze/__set_thread_area.s
index 21dc1e1f..9a226a91 100644
--- a/src/thread/microblaze/__set_thread_area.s
+++ b/src/thread/microblaze/__set_thread_area.s
@@ -1,4 +1,5 @@
.global __set_thread_area
+.hidden __set_thread_area
.type __set_thread_area,@function
__set_thread_area:
ori r21, r5, 0
diff --git a/src/thread/or1k/__set_thread_area.s b/src/thread/or1k/__set_thread_area.s
index 44c5d459..b9ffb930 100644
--- a/src/thread/or1k/__set_thread_area.s
+++ b/src/thread/or1k/__set_thread_area.s
@@ -1,4 +1,5 @@
.global __set_thread_area
+.hidden __set_thread_area
.type __set_thread_area,@function
__set_thread_area:
l.ori r10, r3, 0
diff --git a/src/thread/powerpc/__set_thread_area.s b/src/thread/powerpc/__set_thread_area.s
index c1a34c1f..86c498fa 100644
--- a/src/thread/powerpc/__set_thread_area.s
+++ b/src/thread/powerpc/__set_thread_area.s
@@ -1,5 +1,6 @@
.text
.global __set_thread_area
+.hidden __set_thread_area
.type __set_thread_area, %function
__set_thread_area:
# mov pointer in reg3 into r2
diff --git a/src/thread/powerpc64/__set_thread_area.s b/src/thread/powerpc64/__set_thread_area.s
index 9622826d..bb9c55d6 100644
--- a/src/thread/powerpc64/__set_thread_area.s
+++ b/src/thread/powerpc64/__set_thread_area.s
@@ -1,5 +1,6 @@
.text
.global __set_thread_area
+.hidden __set_thread_area
.type __set_thread_area, %function
__set_thread_area:
mr 13, 3
diff --git a/src/thread/s390x/__set_thread_area.s b/src/thread/s390x/__set_thread_area.s
index fd412913..00a11e25 100644
--- a/src/thread/s390x/__set_thread_area.s
+++ b/src/thread/s390x/__set_thread_area.s
@@ -1,5 +1,6 @@
.text
.global __set_thread_area
+.hidden __set_thread_area
.type __set_thread_area, %function
__set_thread_area:
sar %a1, %r2
diff --git a/src/thread/x32/__set_thread_area.s b/src/thread/x32/__set_thread_area.s
index e0daf72f..c0fee87e 100644
--- a/src/thread/x32/__set_thread_area.s
+++ b/src/thread/x32/__set_thread_area.s
@@ -1,6 +1,7 @@
/* Copyright 2011-2012 Nicholas J. Kain, licensed under standard MIT license */
.text
.global __set_thread_area
+.hidden __set_thread_area
.type __set_thread_area,@function
__set_thread_area:
mov %edi,%esi /* shift for syscall */
diff --git a/src/thread/x86_64/__set_thread_area.s b/src/thread/x86_64/__set_thread_area.s
index f3ff4f61..7347ff4d 100644
--- a/src/thread/x86_64/__set_thread_area.s
+++ b/src/thread/x86_64/__set_thread_area.s
@@ -1,6 +1,7 @@
/* Copyright 2011-2012 Nicholas J. Kain, licensed under standard MIT license */
.text
.global __set_thread_area
+.hidden __set_thread_area
.type __set_thread_area,@function
__set_thread_area:
mov %rdi,%rsi /* shift for syscall */