• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
24