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