projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
clean up sloppy nested inclusion from pthread_impl.h
[oweals/musl.git]
/
src
/
thread
/
i386
/
__set_thread_area.s
1
.text
2
.global __set_thread_area
3
.type __set_thread_area,@function
4
__set_thread_area:
5
push %ebx
6
push $0x51
7
push $0xfffff
8
push 16(%esp)
9
push $-1
10
mov %esp,%ebx
11
xor %eax,%eax
12
mov $243,%al
13
int $128
14
testl %eax,%eax
15
jnz 1f
16
movl (%esp),%ecx
17
leal 3(,%ecx,8),%ecx
18
movw %cx,%gs
19
1:
20
addl $16,%esp
21
popl %ebx
22
ret