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