clarify the purpose of this project
[nyanglibc.git] / ctype / ctype-info.s
blob093337eb232062eeff3a5ec22d629eaf67f6ddaa
1 .text
2 .p2align 4,,15
3 .globl __ctype_b_loc
4 .type __ctype_b_loc, @function
5 __ctype_b_loc:
6 movq __libc_tsd_CTYPE_B@gottpoff(%rip), %rax
7 addq %fs:0, %rax
8 ret
9 .size __ctype_b_loc, .-__ctype_b_loc
10 .p2align 4,,15
11 .globl __ctype_toupper_loc
12 .type __ctype_toupper_loc, @function
13 __ctype_toupper_loc:
14 movq __libc_tsd_CTYPE_TOUPPER@gottpoff(%rip), %rax
15 addq %fs:0, %rax
16 ret
17 .size __ctype_toupper_loc, .-__ctype_toupper_loc
18 .p2align 4,,15
19 .globl __ctype_tolower_loc
20 .type __ctype_tolower_loc, @function
21 __ctype_tolower_loc:
22 movq __libc_tsd_CTYPE_TOLOWER@gottpoff(%rip), %rax
23 addq %fs:0, %rax
24 ret
25 .size __ctype_tolower_loc, .-__ctype_tolower_loc
26 .p2align 4,,15
27 .globl __ctype_init
28 .hidden __ctype_init
29 .type __ctype_init, @function
30 __ctype_init:
31 movq _nl_current_LC_CTYPE@gottpoff(%rip), %rax
32 movq __libc_tsd_CTYPE_B@gottpoff(%rip), %rcx
33 movq %fs:(%rax), %rax
34 movq (%rax), %rax
35 movq 64(%rax), %rsi
36 movq 72(%rax), %rdi
37 movq 88(%rax), %rax
38 leaq 256(%rsi), %rdx
39 addq $512, %rax
40 movq %rdx, %fs:(%rcx)
41 movq __libc_tsd_CTYPE_TOUPPER@gottpoff(%rip), %rcx
42 leaq 512(%rdi), %rdx
43 movq %rdx, %fs:(%rcx)
44 movq __libc_tsd_CTYPE_TOLOWER@gottpoff(%rip), %rdx
45 movq %rax, %fs:(%rdx)
46 ret
47 .size __ctype_init, .-__ctype_init
48 .globl __libc_tsd_CTYPE_TOLOWER
49 .section .tbss,"awT",@nobits
50 .align 8
51 .type __libc_tsd_CTYPE_TOLOWER, @object
52 .size __libc_tsd_CTYPE_TOLOWER, 8
53 __libc_tsd_CTYPE_TOLOWER:
54 .zero 8
55 .globl __libc_tsd_CTYPE_TOUPPER
56 .align 8
57 .type __libc_tsd_CTYPE_TOUPPER, @object
58 .size __libc_tsd_CTYPE_TOUPPER, 8
59 __libc_tsd_CTYPE_TOUPPER:
60 .zero 8
61 .globl __libc_tsd_CTYPE_B
62 .align 8
63 .type __libc_tsd_CTYPE_B, @object
64 .size __libc_tsd_CTYPE_B, 8
65 __libc_tsd_CTYPE_B:
66 .zero 8
67 .hidden _nl_current_LC_CTYPE