From fb723c87490b76d1d2fe521886f7cb6c96ed40b7 Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Thu, 17 Feb 2011 10:47:44 -0800 Subject: 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 --- libc/arch-arm/syscalls/getsockopt.S | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'libc/arch-arm/syscalls/getsockopt.S') diff --git a/libc/arch-arm/syscalls/getsockopt.S b/libc/arch-arm/syscalls/getsockopt.S index 76e1b11..d52f441 100644 --- a/libc/arch-arm/syscalls/getsockopt.S +++ b/libc/arch-arm/syscalls/getsockopt.S @@ -1,13 +1,8 @@ /* autogenerated by gensyscalls.py */ +#include #include - .text - .type getsockopt, #function - .globl getsockopt - .align 4 - .fnstart - -getsockopt: +ENTRY(getsockopt) mov ip, sp .save {r4, r5, r6, r7} stmfd sp!, {r4, r5, r6, r7} @@ -18,4 +13,4 @@ getsockopt: movs r0, r0 bxpl lr b __set_syscall_errno - .fnend +END(getsockopt) -- cgit v1.1