clarify the purpose of this project
[nyanglibc.git] / debug / getcwd_chk.shared.s
blob0a36f9aa142aec90a49fa66e34cd493efb70ce30
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 __getcwd_chk
9 .type __getcwd_chk, @function
10 __getcwd_chk:
11 cmpq %rdx, %rsi
12 ja .L7
13 jmp __GI___getcwd
14 .L7:
15 subq $8, %rsp
16 call __GI___chk_fail
17 .size __getcwd_chk, .-__getcwd_chk