clarify the purpose of this project
[nyanglibc.git] / debug / wmemcpy_chk.s
blobccf4c677bb0264488de6ff282d9df559ce3f6875
1 .text
2 .p2align 4,,15
3 .globl __wmemcpy_chk
4 .type __wmemcpy_chk, @function
5 __wmemcpy_chk:
6 cmpq %rdx, %rcx
7 jb .L7
8 salq $2, %rdx
9 jmp memcpy@PLT
10 .p2align 4,,10
11 .p2align 3
12 .L7:
13 subq $8, %rsp
14 call __chk_fail
15 .size __wmemcpy_chk, .-__wmemcpy_chk
16 .hidden __chk_fail