clarify the purpose of this project
[nyanglibc.git] / debug / explicit_bzero_chk.s
blobaf787a609d5160a94d6d35146a35fd4b44f241f6
1 .text
2 .p2align 4,,15
3 .globl __explicit_bzero_chk
4 .type __explicit_bzero_chk, @function
5 __explicit_bzero_chk:
6 subq $8, %rsp
7 cmpq %rsi, %rdx
8 jb .L5
9 movq %rsi, %rdx
10 xorl %esi, %esi
11 call memset@PLT
12 addq $8, %rsp
13 ret
14 .p2align 4,,10
15 .p2align 3
16 .L5:
17 call __chk_fail
18 .size __explicit_bzero_chk, .-__explicit_bzero_chk
19 .globl __explicit_bzero_chk_internal
20 .hidden __explicit_bzero_chk_internal
21 .set __explicit_bzero_chk_internal,__explicit_bzero_chk
22 .hidden __chk_fail