clarify the purpose of this project
[nyanglibc.git] / debug / fdelt_chk.shared.s
blobd76e515d2ba80dee992a0e1a1ef7e301b052b763
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 __fdelt_chk
9 .type __fdelt_chk, @function
10 __fdelt_chk:
11 cmpq $1023, %rdi
12 ja .L7
13 movq %rdi, %rax
14 sarq $6, %rax
15 ret
16 .L7:
17 subq $8, %rsp
18 call __GI___chk_fail
19 .size __fdelt_chk, .-__fdelt_chk
20 .globl __fdelt_warn
21 .set __fdelt_warn,__fdelt_chk