From 1dc9e472e19acfe6dc7f41e429236e7eef7ceda1 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 3 Mar 2009 19:28:35 -0800 Subject: auto import from //depot/cupcake/@135843 --- libc/arch-arm/syscalls/__ptrace.S | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 libc/arch-arm/syscalls/__ptrace.S (limited to 'libc/arch-arm/syscalls/__ptrace.S') diff --git a/libc/arch-arm/syscalls/__ptrace.S b/libc/arch-arm/syscalls/__ptrace.S new file mode 100644 index 0000000..329a5af --- /dev/null +++ b/libc/arch-arm/syscalls/__ptrace.S @@ -0,0 +1,19 @@ +/* autogenerated by gensyscalls.py */ +#include + + .text + .type __ptrace, #function + .globl __ptrace + .align 4 + .fnstart + +__ptrace: + .save {r4, r7} + stmfd sp!, {r4, r7} + ldr r7, =__NR_ptrace + swi #0 + ldmfd sp!, {r4, r7} + movs r0, r0 + bxpl lr + b __set_syscall_errno + .fnend -- cgit v1.1