Files
rosetta/lib/libc/pthread/sys/x86_64/pthread_self.S

14 lines
142 B
ArmAsm

.code64
.global __pthread_self
.type __pthread_self, @function
__pthread_self:
push %rbp
mov %rsp, %rbp
mov %gs:0, %rax
pop %rbp
ret