meta: move photon/libc to root
This commit is contained in:
11
libc/sys/horizon/machine/x86_64/pthread.s
Normal file
11
libc/sys/horizon/machine/x86_64/pthread.s
Normal file
@@ -0,0 +1,11 @@
|
||||
.global __pthread_self
|
||||
.type __pthread_self, @function
|
||||
|
||||
__pthread_self:
|
||||
push %rbp
|
||||
mov %rsp, %rbp
|
||||
|
||||
mov %fs:0, %rax
|
||||
|
||||
pop %rbp
|
||||
ret
|
||||
Reference in New Issue
Block a user