Files
semi-libc/src/thread/powerpc/__set_thread_area.s
T
Rich Felker 5e1019b01c 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.
2018-09-12 14:34:32 -04:00

13 lines
204 B
ArmAsm

.text
.global __set_thread_area
.hidden __set_thread_area
.type __set_thread_area, %function
__set_thread_area:
# mov pointer in reg3 into r2
mr 2, 3
# put 0 into return reg
li 3, 0
# return
blr