diff options
author | Kenny Root <kroot@google.com> | 2011-02-17 10:47:44 -0800 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2011-02-17 10:47:47 -0800 |
commit | fb723c87490b76d1d2fe521886f7cb6c96ed40b7 (patch) | |
tree | 4e9b11c99efd159b26a0e7a7e3ddab250bc478bd /libc/arch-arm/syscalls/pipe2.S | |
parent | f540c03bff8bb15f1954df275629fd32dc87aaf5 (diff) | |
download | bionic-fb723c87490b76d1d2fe521886f7cb6c96ed40b7.zip bionic-fb723c87490b76d1d2fe521886f7cb6c96ed40b7.tar.gz bionic-fb723c87490b76d1d2fe521886f7cb6c96ed40b7.tar.bz2 |
libc: ARM: update syscalls with new script
Used the new gensyscalls.py script to update the ARM syscalls with the
BEGIN(x) and END(x) macros to give size information for the code of the
syscall. Useful for valgrind.
Change-Id: I8c481c8928401ac110fd19b087f7d67e4db39326
Diffstat (limited to 'libc/arch-arm/syscalls/pipe2.S')
-rw-r--r-- | libc/arch-arm/syscalls/pipe2.S | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/libc/arch-arm/syscalls/pipe2.S b/libc/arch-arm/syscalls/pipe2.S index df77094..da2ecba 100644 --- a/libc/arch-arm/syscalls/pipe2.S +++ b/libc/arch-arm/syscalls/pipe2.S @@ -1,13 +1,8 @@ /* autogenerated by gensyscalls.py */ +#include <machine/asm.h> #include <sys/linux-syscalls.h> - .text - .type pipe2, #function - .globl pipe2 - .align 4 - .fnstart - -pipe2: +ENTRY(pipe2) .save {r4, r7} stmfd sp!, {r4, r7} ldr r7, =__NR_pipe2 @@ -16,4 +11,4 @@ pipe2: movs r0, r0 bxpl lr b __set_syscall_errno - .fnend +END(pipe2) |