summaryrefslogtreecommitdiff
path: root/lib/libc/arch/powerpc/sys/ptrace.S
blob: e20aa27a65e3b0e59529cc014e7dec4bba2c0228 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* int ptrace(int *mask) */

#include "SYS.h"

	.text
PREFIX(ptrace)
	sc
	cmpwi 0, 0
 	beq ok
	b	PIC_PLT(_ASM_LABEL(cerror))

ok:
	blr