blob: f8926507df706f899ccfe8b6c79ebd9c7be1701f [file] [log] [blame]
Raghu Gandham1fa0d842012-01-27 17:51:42 -08001/* autogenerated by gensyscalls.py */
Elliott Hughes5c2772f2013-03-21 22:15:06 -07002#include <asm/unistd.h>
Raghu Gandham1fa0d842012-01-27 17:51:42 -08003 .text
4 .globl __ptrace
5 .align 4
6 .ent __ptrace
7
8__ptrace:
9 .set noreorder
10 .cpload $t9
11 li $v0, __NR_ptrace
12 syscall
13 bnez $a3, 1f
14 move $a0, $v0
15 j $ra
16 nop
171:
18 la $t9,__set_errno
19 j $t9
20 nop
21 .set reorder
22 .end __ptrace