projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
move riscv64 register index constants to signal.h
[musl]
/
src
/
ldso
/
i386
/
tlsdesc.s
1
.text
2
.global __tlsdesc_static
3
.hidden __tlsdesc_static
4
.type __tlsdesc_static,@function
5
__tlsdesc_static:
6
mov 4(%eax),%eax
7
ret
8
9
.global __tlsdesc_dynamic
10
.hidden __tlsdesc_dynamic
11
.type __tlsdesc_dynamic,@function
12
__tlsdesc_dynamic:
13
mov 4(%eax),%eax
14
push %edx
15
mov %gs:4,%edx
16
push %ecx
17
mov (%eax),%ecx
18
mov 4(%eax),%eax
19
add (%edx,%ecx,4),%eax
20
pop %ecx
21
sub %gs:0,%eax
22
pop %edx
23
ret