clarify the purpose of this project
[nyanglibc.git] / csu / version.shared.s
blobef41ebd66ec8916d85bfd48499e4ad1266bc1a5f
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 #NO_APP
7 .p2align 4,,15
8 .globl __libc_print_version
9 .hidden __libc_print_version
10 .type __libc_print_version, @function
11 __libc_print_version:
12 leaq banner(%rip), %rsi
13 movl $413, %edx
14 movl $1, %edi
15 jmp __GI___write
16 .size __libc_print_version, .-__libc_print_version
17 .p2align 4,,15
18 .globl __gnu_get_libc_release
19 .type __gnu_get_libc_release, @function
20 __gnu_get_libc_release:
21 leaq __libc_release(%rip), %rax
22 ret
23 .size __gnu_get_libc_release, .-__gnu_get_libc_release
24 .weak gnu_get_libc_release
25 .set gnu_get_libc_release,__gnu_get_libc_release
26 .p2align 4,,15
27 .globl __gnu_get_libc_version
28 .type __gnu_get_libc_version, @function
29 __gnu_get_libc_version:
30 leaq __libc_version(%rip), %rax
31 ret
32 .size __gnu_get_libc_version, .-__gnu_get_libc_version
33 .weak gnu_get_libc_version
34 .set gnu_get_libc_version,__gnu_get_libc_version
35 .p2align 4,,15
36 .globl __libc_main
37 .type __libc_main, @function
38 __libc_main:
39 leaq banner(%rip), %rsi
40 movl $1, %edi
41 subq $8, %rsp
42 movl $413, %edx
43 call __GI___write
44 xorl %edi, %edi
45 call __GI__exit
46 .size __libc_main, .-__libc_main
47 .section .rodata.str1.32,"aMS",@progbits,1
48 .align 32
49 .type banner, @object
50 .size banner, 414
51 banner:
52 .ascii "GNU C Library (GNU libc) release release version 2.33.\nCopy"
53 .ascii "right (C) 2021 Free Software Foundation, Inc.\nThis is free "
54 .ascii "software; see the source for copying co"
55 .string "nditions.\nThere is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE.\nCompiled by GNU CC version 7.3.0.\nlibc ABIs: UNIQUE IFUNC ABSOLUTE\nFor bug reporting instructions, please see:\n<https://www.gnu.org/software/libc/bugs.html>.\n"
56 .section .rodata.str1.1,"aMS",@progbits,1
57 .type __libc_version, @object
58 .size __libc_version, 5
59 __libc_version:
60 .string "2.33"
61 .section .rodata.str1.8,"aMS",@progbits,1
62 .align 8
63 .type __libc_release, @object
64 .size __libc_release, 8
65 __libc_release:
66 .string "release"