clarify the purpose of this project
[nyanglibc.git] / debug / wcpncpy_chk.shared.s
blob4f412c1e52f0f136a4b2d1d0f2ba393831c1d6cd
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 __wcpncpy_chk
9 .type __wcpncpy_chk, @function
10 __wcpncpy_chk:
11 cmpq %rdx, %rcx
12 jb .L7
13 jmp __wcpncpy@PLT
14 .p2align 4,,10
15 .p2align 3
16 .L7:
17 subq $8, %rsp
18 call __GI___chk_fail
19 .size __wcpncpy_chk, .-__wcpncpy_chk