summaryrefslogtreecommitdiff
path: root/src/thread/x32/__set_thread_area.s
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/x32/__set_thread_area.s
parentf5f7673d71f843b423e60bbdd7de49fd1bbcc8c1 (diff)
downloadmusl-5e1019b01c968707accc85c99e63a18af665cf27.tar.gz
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/x32/__set_thread_area.s')
-rw-r--r--src/thread/x32/__set_thread_area.s1
1 files changed, 1 insertions, 0 deletions
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 */