clarify the purpose of this project
[nyanglibc.git] / debug / vprintf_chk.shared.s
blob6af5db14d33051cf6db4950755d80e5c5b76a10d
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 ___vprintf_chk
9 .type ___vprintf_chk, @function
10 ___vprintf_chk:
11 movq stdout@GOTPCREL(%rip), %rax
12 xorl %ecx, %ecx
13 testl %edi, %edi
14 setg %cl
15 addl %ecx, %ecx
16 movq (%rax), %rdi
17 jmp __vfprintf_internal
18 .size ___vprintf_chk, .-___vprintf_chk
19 .globl __vprintf_chk
20 .set __vprintf_chk,___vprintf_chk
21 .hidden __vfprintf_internal