diff options
Diffstat (limited to 'libc/arch-arm/syscalls/dup2.S')
-rw-r--r-- | libc/arch-arm/syscalls/dup2.S | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/libc/arch-arm/syscalls/dup2.S b/libc/arch-arm/syscalls/dup2.S index 1ced458..ed346d9 100644 --- a/libc/arch-arm/syscalls/dup2.S +++ b/libc/arch-arm/syscalls/dup2.S @@ -1,13 +1,8 @@ /* autogenerated by gensyscalls.py */ +#include <machine/asm.h> #include <sys/linux-syscalls.h> - .text - .type dup2, #function - .globl dup2 - .align 4 - .fnstart - -dup2: +ENTRY(dup2) .save {r4, r7} stmfd sp!, {r4, r7} ldr r7, =__NR_dup2 @@ -16,4 +11,4 @@ dup2: movs r0, r0 bxpl lr b __set_syscall_errno - .fnend +END(dup2) |