clarify the purpose of this project
[nyanglibc.git] / debug / getcwd_chk.s
blob963b674a6567265612419b2f36fa760d854a9675
1 .text
2 .p2align 4,,15
3 .globl __getcwd_chk
4 .type __getcwd_chk, @function
5 __getcwd_chk:
6 cmpq %rdx, %rsi
7 ja .L7
8 jmp __getcwd
9 .L7:
10 subq $8, %rsp
11 call __chk_fail
12 .size __getcwd_chk, .-__getcwd_chk
13 .hidden __chk_fail
14 .hidden __getcwd