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