Merge commit '3224c08bd77043338ad6e9ecacbd4c118205e873' into honeycomb-mr1-release-to-dalvik-dev

This commit is contained in:
Brian Carlstrom 2011-02-28 11:36:06 -08:00
commit 449c8dee92
281 changed files with 3826 additions and 2197 deletions

View File

@ -219,7 +219,7 @@ int sendmsg:socketcall:16(int, const struct msghdr *, unsigned int) -
int recvmsg:socketcall:17(int, struct msghdr *, unsigned int) -1,102,-1
# sockets for sh.
int __socketcall:__socketcall(int, unsigned long*) -1,-1,102
int __socketcall:socketcall(int, unsigned long*) -1,-1,102
# scheduler & real-time
int sched_setscheduler(pid_t pid, int policy, const struct sched_param *param) 156

View File

@ -26,15 +26,10 @@
* SUCH DAMAGE.
*/
#include <asm/unistd.h>
.text
.type _exit_with_stack_teardown, #function
.globl _exit_with_stack_teardown
.align 4
#include <machine/asm.h>
@ void _exit_with_stack_teardown(void * stackBase, int stackSize, int retCode)
_exit_with_stack_teardown:
ENTRY(_exit_with_stack_teardown)
#if __ARM_EABI__
mov lr, r2
@ -53,3 +48,4 @@ _exit_with_stack_teardown:
@ exit() should never return, cause a crash if it does
mov r0, #0
ldr r0, [r0]
END(_exit_with_stack_teardown)

View File

@ -70,6 +70,7 @@ ENTRY(_setjmp)
mov r0, #0x00000000
bx lr
END(_setjmp)
.L_setjmp_magic:
.word _JB_MAGIC__SETJMP
@ -109,3 +110,4 @@ botch:
bl PIC_SYM(_C_LABEL(longjmperror), PLT)
bl PIC_SYM(_C_LABEL(abort), PLT)
b . - 8 /* Cannot get here */
END(_longjmp)

View File

@ -26,17 +26,9 @@
* SUCH DAMAGE.
*/
#include <sys/linux-syscalls.h>
#include <machine/asm.h>
#include <machine/cpu-features.h>
.global __atomic_cmpxchg
.type __atomic_cmpxchg, %function
.global __atomic_swap
.type __atomic_swap, %function
.global __atomic_dec
.type __atomic_dec, %function
.global __atomic_inc
.type __atomic_inc, %function
#define FUTEX_WAIT 0
#define FUTEX_WAKE 1
@ -48,8 +40,7 @@
*/
/* r0(addr) -> r0(old) */
__atomic_dec:
.fnstart
ENTRY(__atomic_dec)
mov r1, r0 @ copy addr so we don't clobber it
1: ldrex r0, [r1] @ load current value into r0
sub r2, r0, #1 @ generate new value into r2
@ -57,11 +48,10 @@ __atomic_dec:
cmp r3, #0 @ success?
bxeq lr @ yes, return
b 1b @ no, retry
.fnend
END(__atomic_dec)
/* r0(addr) -> r0(old) */
__atomic_inc:
.fnstart
ENTRY(__atomic_inc)
mov r1, r0
1: ldrex r0, [r1]
add r2, r0, #1
@ -69,11 +59,10 @@ __atomic_inc:
cmp r3, #0
bxeq lr
b 1b
.fnend
END(__atomic_inc)
/* r0(old) r1(new) r2(addr) -> r0(zero_if_succeeded) */
__atomic_cmpxchg:
.fnstart
ENTRY(__atomic_cmpxchg)
1: mov ip, #2 @ ip=2 means "new != old"
ldrex r3, [r2] @ load current value into r3
teq r0, r3 @ new == old?
@ -82,18 +71,17 @@ __atomic_cmpxchg:
beq 1b @ yes, retry
mov r0, ip @ return 0 on success, 2 on failure
bx lr
.fnend
END(__atomic_cmpxchg)
/* r0(new) r1(addr) -> r0(old) */
__atomic_swap:
.fnstart
ENTRY(__atomic_swap)
1: ldrex r2, [r1]
strex r3, r0, [r1]
teq r3, #0
bne 1b
mov r0, r2
bx lr
.fnend
END(__atomic_swap)
#else /*not defined __ARM_HAVE_LDREX_STREX*/
/*
@ -107,8 +95,7 @@ __atomic_swap:
.equ kernel_atomic_base, 0xFFFF0FFF
/* r0(addr) -> r0(old) */
__atomic_dec:
.fnstart
ENTRY(__atomic_dec)
.save {r4, lr}
stmdb sp!, {r4, lr}
mov r2, r0
@ -122,11 +109,10 @@ __atomic_dec:
add r0, r1, #1
ldmia sp!, {r4, lr}
bx lr
.fnend
END(__atomic_dec)
/* r0(addr) -> r0(old) */
__atomic_inc:
.fnstart
ENTRY(__atomic_inc)
.save {r4, lr}
stmdb sp!, {r4, lr}
mov r2, r0
@ -140,11 +126,10 @@ __atomic_inc:
sub r0, r1, #1
ldmia sp!, {r4, lr}
bx lr
.fnend
END(__atomic_inc)
/* r0(old) r1(new) r2(addr) -> r0(zero_if_succeeded) */
__atomic_cmpxchg:
.fnstart
ENTRY(__atomic_cmpxchg)
.save {r4, lr}
stmdb sp!, {r4, lr}
mov r4, r0 /* r4 = save oldvalue */
@ -160,14 +145,13 @@ __atomic_cmpxchg:
2: @ atomic_cmpxchg
ldmia sp!, {r4, lr}
bx lr
.fnend
END(__atomic_cmpxchg)
/* r0(new) r1(addr) -> r0(old) */
__atomic_swap:
.fnstart
ENTRY(__atomic_swap)
swp r0, r0, [r1]
bx lr
.fnend
END(__atomic_swap)
#endif /*not defined __ARM_HAVE_LDREX_STREX*/
@ -191,18 +175,16 @@ __atomic_swap:
#if __ARM_EABI__
__futex_syscall3:
.fnstart
ENTRY(__futex_syscall3)
stmdb sp!, {r4, r7}
.save {r4, r7}
ldr r7, =__NR_futex
swi #0
ldmia sp!, {r4, r7}
bx lr
.fnend
END(__futex_syscall3)
__futex_wait:
.fnstart
ENTRY(__futex_wait)
stmdb sp!, {r4, r7}
.save {r4, r7}
mov r3, r2
@ -212,10 +194,9 @@ __futex_wait:
swi #0
ldmia sp!, {r4, r7}
bx lr
.fnend
END(__futex_wait)
__futex_wake:
.fnstart
ENTRY(__futex_wake)
.save {r4, r7}
stmdb sp!, {r4, r7}
mov r2, r1
@ -224,28 +205,32 @@ __futex_wake:
swi #0
ldmia sp!, {r4, r7}
bx lr
.fnend
END(__futex_wake)
#else
__futex_syscall3:
ENTRY(__futex_syscall3)
swi #__NR_futex
bx lr
END(__futex_syscall3)
__futex_wait:
ENTRY(__futex_wait)
mov r3, r2
mov r2, r1
mov r1, #FUTEX_WAIT
swi #__NR_futex
bx lr
END(__futex_wait)
__futex_wake:
ENTRY(__futex_wake)
mov r2, r1
mov r1, #FUTEX_WAKE
swi #__NR_futex
bx lr
END(__futex_wake)
#endif
__futex_syscall4:
ENTRY(__futex_syscall4)
b __futex_syscall3
END(__futex_syscall4)

View File

@ -26,14 +26,9 @@
* SUCH DAMAGE.
*/
#include <sys/linux-syscalls.h>
#include <machine/asm.h>
.text
.type __pthread_clone, #function
.global __pthread_clone
.align 4
.fnstart
__pthread_clone:
ENTRY(__pthread_clone)
@ insert the args onto the new stack
str r0, [r1, #-4]
str r3, [r1, #-8]
@ -73,7 +68,7 @@ __pthread_clone:
__error:
mov r0, #-1
bx lr
.fnend
END(__pthread_clone)
#
@ -88,12 +83,8 @@ __error:
# at the end of the parameter list makes the
# implementation much simpler.
#
.type __bionic_clone, #function
.globl __bionic_clone
.align 4
.fnstart
__bionic_clone:
ENTRY(__bionic_clone)
mov ip, sp
.save {r4, r5, r6, r7}
@ -124,5 +115,4 @@ __bionic_clone:
ldr r0, [sp, #-4]
ldr r1, [sp, #-8]
b __bionic_clone_entry
.fnend
END(__bionic_clone)

View File

@ -29,6 +29,7 @@
*/
#include <machine/asm.h>
#include <machine/cpu-features.h>
/*
* ffs - find first set bit, this algorithm isolates the first set
@ -36,8 +37,8 @@
* 6 bits as an index into the table. This algorithm should be a win
* over the checking each bit in turn as per the C compiled version.
*
* under ARMv5 there's an instruction called CLZ (count leading Zero's) that
* could be used
* Some newer ARM architectures have an instruction named
* CLZ (count leading Zero's) that is used
*
* This is the ffs algorithm devised by d.seal and posted to comp.sys.arm on
* 16 Feb 1994.
@ -47,7 +48,7 @@ ENTRY(ffs)
/* Standard trick to isolate bottom bit in r0 or 0 if r0 = 0 on entry */
rsb r1, r0, #0
ands r0, r0, r1
#ifndef __ARM_ARCH_5__
#ifndef __ARM_HAVE_CLZ
/*
* now r0 has at most one set bit, call this X
* if X = 0, all further instructions are skipped
@ -61,6 +62,7 @@ ENTRY(ffs)
ldrneb r0, [ r2, r0, lsr #26 ]
bx lr
END(ffs)
.text;
.type .L_ffs_table, _ASM_TYPE_OBJECT;
@ -74,9 +76,10 @@ ENTRY(ffs)
.byte 10, 0, 0, 25, 0, 0, 21, 27 /* 40-47 */
.byte 31, 0, 0, 0, 0, 24, 0, 20 /* 48-55 */
.byte 30, 0, 23, 19, 29, 18, 17, 0 /* 56-63 */
#else
#else /* !defined(__ARM_HAVE_CLZ) */
clzne r0, r0
rsbne r0, r0, #32
bx lr
#endif
END(ffs)
#endif /* !defined(__ARM_HAVE_CLZ) */

View File

@ -33,17 +33,13 @@
of a corrupted malloc heap).
*/
#include <sys/linux-syscalls.h>
#include <machine/asm.h>
#ifndef __NR_kill
#define __NR_kill 37
#endif
.text
.type kill, #function
.globl kill
.align 4
kill:
ENTRY(kill)
stmfd sp!, {r4-r7, ip, lr}
ldr r7, =__NR_kill
swi #0
@ -51,3 +47,4 @@ kill:
movs r0, r0
bxpl lr
b __set_syscall_errno
END(kill)

View File

@ -27,12 +27,7 @@
*/
#include <machine/cpu-features.h>
.text
.global memcmp
.type memcmp, %function
.align 4
#include <machine/asm.h>
/*
* Optimized memcmp() for ARM9.
@ -43,8 +38,7 @@
* (2) The loads are scheduled in a way they won't stall
*/
memcmp:
.fnstart
ENTRY(memcmp)
PLD (r0, #0)
PLD (r1, #0)
@ -176,7 +170,7 @@ memcmp:
9: /* restore registers and return */
ldmfd sp!, {r4, lr}
bx lr
.fnend
END(memcmp)

View File

@ -27,12 +27,7 @@
*/
#include <machine/cpu-features.h>
.text
.global __memcmp16
.type __memcmp16, %function
.align 4
#include <machine/asm.h>
/*
* Optimized memcmp16() for ARM9.
@ -43,8 +38,7 @@
* (2) The loads are scheduled in a way they won't stall
*/
__memcmp16:
.fnstart
ENTRY(__memcmp16)
PLD (r0, #0)
PLD (r1, #0)
@ -95,8 +89,6 @@ __memcmp16:
/* restore registers and return */
ldmnefd sp!, {r4, lr}
bxne lr
.fnend
0: /* here the first pointer is aligned, and we have at least 3 words
@ -237,3 +229,4 @@ __memcmp16:
7: /* fix up the 2 pointers and fallthrough... */
sub r1, r1, #2
b 2b
END(__memcmp16)

View File

@ -27,6 +27,7 @@
*/
#include <machine/cpu-features.h>
#include <machine/asm.h>
#if defined(__ARM_NEON__)
@ -143,18 +144,12 @@ memcpy:
ldmfd sp!, {r0, lr}
bx lr
.fnend
END(memcpy)
#else /* __ARM_ARCH__ < 7 */
.text
.global memcpy
.type memcpy, %function
.align 4
/*
* Optimized memcpy() for ARM.
*
@ -162,12 +157,11 @@ memcpy:
* so we have to preserve R0.
*/
memcpy:
ENTRY(memcpy)
/* The stack must always be 64-bits aligned to be compliant with the
* ARM ABI. Since we have to save R0, we might as well save R4
* which we can use for better pipelining of the reads below
*/
.fnstart
.save {r0, r4, lr}
stmfd sp!, {r0, r4, lr}
/* Making room for r5-r11 which will be spilled later */
@ -504,7 +498,7 @@ copy_last_3_and_return:
add sp, sp, #28
ldmfd sp!, {r0, r4, lr}
bx lr
.fnend
END(memcpy)
#endif /* __ARM_ARCH__ < 7 */

View File

@ -25,15 +25,8 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
.text
.global memset
.type memset, %function
.global bzero
.type bzero, %function
.align
#include <machine/asm.h>
/*
* Optimized memset() for ARM.
@ -41,15 +34,15 @@
* memset() returns its first argument.
*/
bzero:
ENTRY(bzero)
mov r2, r1
mov r1, #0
END(bzero)
memset:
ENTRY(memset)
/* compute the offset to align the destination
* offset = (4-(src&3))&3 = -src & 3
*/
.fnstart
.save {r0, r4-r7, lr}
stmfd sp!, {r0, r4-r7, lr}
rsb r3, r0, #0
@ -113,5 +106,4 @@ memset:
strcsb r1, [r0]
ldmfd sp!, {r0, r4-r7, lr}
bx lr
.fnend
END(memset)

View File

@ -79,6 +79,7 @@ ENTRY(setjmp)
mov r0, #0x00000000
bx lr
END(setjmp)
.Lsetjmp_magic:
.word _JB_MAGIC_SETJMP
@ -138,3 +139,4 @@ botch:
bl PIC_SYM(_C_LABEL(longjmperror), PLT)
bl PIC_SYM(_C_LABEL(abort), PLT)
b . - 8 /* Cannot get here */
END(longjmp)

View File

@ -33,6 +33,8 @@
* SUCH DAMAGE.
*/
#define _ALIGN_TEXT .align 0
#include <machine/asm.h>
#include <machine/setjmp.h>
@ -50,6 +52,7 @@ ENTRY(sigsetjmp)
teq r1, #0
beq PIC_SYM(_C_LABEL(_setjmp), PLT)
b PIC_SYM(_C_LABEL(setjmp), PLT)
END(sigsetjmp)
.L_setjmp_magic:
.word _JB_MAGIC__SETJMP
@ -60,3 +63,4 @@ ENTRY(siglongjmp)
teq r2, r3
beq PIC_SYM(_C_LABEL(_longjmp), PLT)
b PIC_SYM(_C_LABEL(longjmp), PLT)
END(siglongjmp)

View File

@ -30,15 +30,9 @@
*/
#include <machine/cpu-features.h>
#include <machine/asm.h>
.text
.global strcpy
.type strcpy, %function
.align 4
strcpy:
.fnstart
ENTRY(strcpy)
PLD(r1, #0)
eor r2, r0, r1
mov ip, r0
@ -136,3 +130,4 @@ strcpy:
cmp r2, #0
bne 4b
bx lr
END(strcpy)

View File

@ -32,18 +32,15 @@
abort due to a fatal runtime error (e.g. detection
of a corrupted malloc heap).
*/
#include <sys/linux-syscalls.h>
#include <machine/asm.h>
#ifndef __NR_tkill
#define __NR_tkill 238
#endif
.text
.type tkill, #function
.globl tkill
.align 4
tkill:
ENTRY(tkill)
stmfd sp!, {r4-r7, ip, lr}
ldr r7, =__NR_tkill
swi #0
@ -51,3 +48,4 @@ tkill:
movs r0, r0
bxpl lr
b __set_syscall_errno
END(tkill)

View File

@ -70,7 +70,13 @@
#define _ASM_TYPE_FUNCTION #function
#define _ASM_TYPE_OBJECT #object
#define _ENTRY(x) \
.text; _ALIGN_TEXT; .globl x; .type x,_ASM_TYPE_FUNCTION; x:
.text; _ALIGN_TEXT; .globl x; .type x,_ASM_TYPE_FUNCTION; x: .fnstart
#define _ASM_SIZE(x) .size x, .-x;
#define _END(x) \
.fnend; \
_ASM_SIZE(x)
#ifdef GPROF
# ifdef __ELF__
@ -86,8 +92,10 @@
#define ENTRY(y) _ENTRY(_C_LABEL(y)); _PROF_PROLOGUE
#define ENTRY_NP(y) _ENTRY(_C_LABEL(y))
#define END(y) _END(_C_LABEL(y))
#define ASENTRY(y) _ENTRY(_ASM_LABEL(y)); _PROF_PROLOGUE
#define ASENTRY_NP(y) _ENTRY(_ASM_LABEL(y))
#define ASEND(y) _END(_ASM_LABEL(y))
#define ASMSTR .asciz

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __brk, #function
.globl __brk
.align 4
.fnstart
__brk:
ENTRY(__brk)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_brk
@ -16,4 +11,4 @@ __brk:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__brk)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __fcntl, #function
.globl __fcntl
.align 4
.fnstart
__fcntl:
ENTRY(__fcntl)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_fcntl
@ -16,4 +11,4 @@ __fcntl:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__fcntl)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __fcntl64, #function
.globl __fcntl64
.align 4
.fnstart
__fcntl64:
ENTRY(__fcntl64)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_fcntl64
@ -16,4 +11,4 @@ __fcntl64:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__fcntl64)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __fork, #function
.globl __fork
.align 4
.fnstart
__fork:
ENTRY(__fork)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_fork
@ -16,4 +11,4 @@ __fork:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__fork)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __fstatfs64, #function
.globl __fstatfs64
.align 4
.fnstart
__fstatfs64:
ENTRY(__fstatfs64)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_fstatfs64
@ -16,4 +11,4 @@ __fstatfs64:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__fstatfs64)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __getcpu, #function
.globl __getcpu
.align 4
.fnstart
__getcpu:
ENTRY(__getcpu)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_getcpu
@ -16,4 +11,4 @@ __getcpu:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__getcpu)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __getcwd, #function
.globl __getcwd
.align 4
.fnstart
__getcwd:
ENTRY(__getcwd)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_getcwd
@ -16,4 +11,4 @@ __getcwd:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__getcwd)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __getpriority, #function
.globl __getpriority
.align 4
.fnstart
__getpriority:
ENTRY(__getpriority)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_getpriority
@ -16,4 +11,4 @@ __getpriority:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__getpriority)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __ioctl, #function
.globl __ioctl
.align 4
.fnstart
__ioctl:
ENTRY(__ioctl)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_ioctl
@ -16,4 +11,4 @@ __ioctl:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__ioctl)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __llseek, #function
.globl __llseek
.align 4
.fnstart
__llseek:
ENTRY(__llseek)
mov ip, sp
.save {r4, r5, r6, r7}
stmfd sp!, {r4, r5, r6, r7}
@ -18,4 +13,4 @@ __llseek:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__llseek)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __mmap2, #function
.globl __mmap2
.align 4
.fnstart
__mmap2:
ENTRY(__mmap2)
mov ip, sp
.save {r4, r5, r6, r7}
stmfd sp!, {r4, r5, r6, r7}
@ -18,4 +13,4 @@ __mmap2:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__mmap2)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __open, #function
.globl __open
.align 4
.fnstart
__open:
ENTRY(__open)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_open
@ -16,4 +11,4 @@ __open:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__open)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __openat, #function
.globl __openat
.align 4
.fnstart
__openat:
ENTRY(__openat)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_openat
@ -16,4 +11,4 @@ __openat:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__openat)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __ptrace, #function
.globl __ptrace
.align 4
.fnstart
__ptrace:
ENTRY(__ptrace)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_ptrace
@ -16,4 +11,4 @@ __ptrace:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__ptrace)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __reboot, #function
.globl __reboot
.align 4
.fnstart
__reboot:
ENTRY(__reboot)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_reboot
@ -16,4 +11,4 @@ __reboot:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__reboot)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __rt_sigaction, #function
.globl __rt_sigaction
.align 4
.fnstart
__rt_sigaction:
ENTRY(__rt_sigaction)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_rt_sigaction
@ -16,4 +11,4 @@ __rt_sigaction:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__rt_sigaction)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __rt_sigprocmask, #function
.globl __rt_sigprocmask
.align 4
.fnstart
__rt_sigprocmask:
ENTRY(__rt_sigprocmask)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_rt_sigprocmask
@ -16,4 +11,4 @@ __rt_sigprocmask:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__rt_sigprocmask)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __rt_sigtimedwait, #function
.globl __rt_sigtimedwait
.align 4
.fnstart
__rt_sigtimedwait:
ENTRY(__rt_sigtimedwait)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_rt_sigtimedwait
@ -16,4 +11,4 @@ __rt_sigtimedwait:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__rt_sigtimedwait)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __sched_getaffinity, #function
.globl __sched_getaffinity
.align 4
.fnstart
__sched_getaffinity:
ENTRY(__sched_getaffinity)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_sched_getaffinity
@ -16,4 +11,4 @@ __sched_getaffinity:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__sched_getaffinity)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __set_tls, #function
.globl __set_tls
.align 4
.fnstart
__set_tls:
ENTRY(__set_tls)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_ARM_set_tls
@ -16,4 +11,4 @@ __set_tls:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__set_tls)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __setresuid, #function
.globl __setresuid
.align 4
.fnstart
__setresuid:
ENTRY(__setresuid)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_setresuid32
@ -16,4 +11,4 @@ __setresuid:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__setresuid)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __setreuid, #function
.globl __setreuid
.align 4
.fnstart
__setreuid:
ENTRY(__setreuid)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_setreuid32
@ -16,4 +11,4 @@ __setreuid:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__setreuid)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __setuid, #function
.globl __setuid
.align 4
.fnstart
__setuid:
ENTRY(__setuid)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_setuid32
@ -16,4 +11,4 @@ __setuid:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__setuid)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __sigsuspend, #function
.globl __sigsuspend
.align 4
.fnstart
__sigsuspend:
ENTRY(__sigsuspend)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_sigsuspend
@ -16,4 +11,4 @@ __sigsuspend:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__sigsuspend)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __statfs64, #function
.globl __statfs64
.align 4
.fnstart
__statfs64:
ENTRY(__statfs64)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_statfs64
@ -16,4 +11,4 @@ __statfs64:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__statfs64)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __sys_clone, #function
.globl __sys_clone
.align 4
.fnstart
__sys_clone:
ENTRY(__sys_clone)
mov ip, sp
.save {r4, r5, r6, r7}
stmfd sp!, {r4, r5, r6, r7}
@ -18,4 +13,4 @@ __sys_clone:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__sys_clone)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __syslog, #function
.globl __syslog
.align 4
.fnstart
__syslog:
ENTRY(__syslog)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_syslog
@ -16,4 +11,4 @@ __syslog:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__syslog)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __timer_create, #function
.globl __timer_create
.align 4
.fnstart
__timer_create:
ENTRY(__timer_create)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_timer_create
@ -16,4 +11,4 @@ __timer_create:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__timer_create)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __timer_delete, #function
.globl __timer_delete
.align 4
.fnstart
__timer_delete:
ENTRY(__timer_delete)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_timer_delete
@ -16,4 +11,4 @@ __timer_delete:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__timer_delete)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __timer_getoverrun, #function
.globl __timer_getoverrun
.align 4
.fnstart
__timer_getoverrun:
ENTRY(__timer_getoverrun)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_timer_getoverrun
@ -16,4 +11,4 @@ __timer_getoverrun:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__timer_getoverrun)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __timer_gettime, #function
.globl __timer_gettime
.align 4
.fnstart
__timer_gettime:
ENTRY(__timer_gettime)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_timer_gettime
@ -16,4 +11,4 @@ __timer_gettime:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__timer_gettime)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __timer_settime, #function
.globl __timer_settime
.align 4
.fnstart
__timer_settime:
ENTRY(__timer_settime)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_timer_settime
@ -16,4 +11,4 @@ __timer_settime:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__timer_settime)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __wait4, #function
.globl __wait4
.align 4
.fnstart
__wait4:
ENTRY(__wait4)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_wait4
@ -16,4 +11,4 @@ __wait4:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__wait4)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __waitid, #function
.globl __waitid
.align 4
.fnstart
__waitid:
ENTRY(__waitid)
mov ip, sp
.save {r4, r5, r6, r7}
stmfd sp!, {r4, r5, r6, r7}
@ -18,4 +13,4 @@ __waitid:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(__waitid)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type _exit, #function
.globl _exit
.align 4
.fnstart
_exit:
ENTRY(_exit)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_exit_group
@ -16,4 +11,4 @@ _exit:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(_exit)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type _exit_thread, #function
.globl _exit_thread
.align 4
.fnstart
_exit_thread:
ENTRY(_exit_thread)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_exit
@ -16,4 +11,4 @@ _exit_thread:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(_exit_thread)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type accept, #function
.globl accept
.align 4
.fnstart
accept:
ENTRY(accept)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_accept
@ -16,4 +11,4 @@ accept:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(accept)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type access, #function
.globl access
.align 4
.fnstart
access:
ENTRY(access)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_access
@ -16,4 +11,4 @@ access:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(access)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type acct, #function
.globl acct
.align 4
.fnstart
acct:
ENTRY(acct)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_acct
@ -16,4 +11,4 @@ acct:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(acct)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type bind, #function
.globl bind
.align 4
.fnstart
bind:
ENTRY(bind)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_bind
@ -16,4 +11,4 @@ bind:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(bind)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type cacheflush, #function
.globl cacheflush
.align 4
.fnstart
cacheflush:
ENTRY(cacheflush)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_ARM_cacheflush
@ -16,4 +11,4 @@ cacheflush:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(cacheflush)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type capget, #function
.globl capget
.align 4
.fnstart
capget:
ENTRY(capget)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_capget
@ -16,4 +11,4 @@ capget:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(capget)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type capset, #function
.globl capset
.align 4
.fnstart
capset:
ENTRY(capset)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_capset
@ -16,4 +11,4 @@ capset:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(capset)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type chdir, #function
.globl chdir
.align 4
.fnstart
chdir:
ENTRY(chdir)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_chdir
@ -16,4 +11,4 @@ chdir:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(chdir)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type chmod, #function
.globl chmod
.align 4
.fnstart
chmod:
ENTRY(chmod)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_chmod
@ -16,4 +11,4 @@ chmod:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(chmod)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type chown, #function
.globl chown
.align 4
.fnstart
chown:
ENTRY(chown)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_chown32
@ -16,4 +11,4 @@ chown:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(chown)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type chroot, #function
.globl chroot
.align 4
.fnstart
chroot:
ENTRY(chroot)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_chroot
@ -16,4 +11,4 @@ chroot:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(chroot)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type clock_getres, #function
.globl clock_getres
.align 4
.fnstart
clock_getres:
ENTRY(clock_getres)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_clock_getres
@ -16,4 +11,4 @@ clock_getres:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(clock_getres)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type clock_gettime, #function
.globl clock_gettime
.align 4
.fnstart
clock_gettime:
ENTRY(clock_gettime)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_clock_gettime
@ -16,4 +11,4 @@ clock_gettime:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(clock_gettime)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type clock_nanosleep, #function
.globl clock_nanosleep
.align 4
.fnstart
clock_nanosleep:
ENTRY(clock_nanosleep)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_clock_nanosleep
@ -16,4 +11,4 @@ clock_nanosleep:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(clock_nanosleep)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type clock_settime, #function
.globl clock_settime
.align 4
.fnstart
clock_settime:
ENTRY(clock_settime)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_clock_settime
@ -16,4 +11,4 @@ clock_settime:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(clock_settime)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type close, #function
.globl close
.align 4
.fnstart
close:
ENTRY(close)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_close
@ -16,4 +11,4 @@ close:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(close)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type connect, #function
.globl connect
.align 4
.fnstart
connect:
ENTRY(connect)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_connect
@ -16,4 +11,4 @@ connect:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(connect)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type delete_module, #function
.globl delete_module
.align 4
.fnstart
delete_module:
ENTRY(delete_module)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_delete_module
@ -16,4 +11,4 @@ delete_module:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(delete_module)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type dup, #function
.globl dup
.align 4
.fnstart
dup:
ENTRY(dup)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_dup
@ -16,4 +11,4 @@ dup:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(dup)

View File

@ -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)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type epoll_create, #function
.globl epoll_create
.align 4
.fnstart
epoll_create:
ENTRY(epoll_create)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_epoll_create
@ -16,4 +11,4 @@ epoll_create:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(epoll_create)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type epoll_ctl, #function
.globl epoll_ctl
.align 4
.fnstart
epoll_ctl:
ENTRY(epoll_ctl)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_epoll_ctl
@ -16,4 +11,4 @@ epoll_ctl:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(epoll_ctl)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type epoll_wait, #function
.globl epoll_wait
.align 4
.fnstart
epoll_wait:
ENTRY(epoll_wait)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_epoll_wait
@ -16,4 +11,4 @@ epoll_wait:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(epoll_wait)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type eventfd, #function
.globl eventfd
.align 4
.fnstart
eventfd:
ENTRY(eventfd)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_eventfd2
@ -16,4 +11,4 @@ eventfd:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(eventfd)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type execve, #function
.globl execve
.align 4
.fnstart
execve:
ENTRY(execve)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_execve
@ -16,4 +11,4 @@ execve:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(execve)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type fchdir, #function
.globl fchdir
.align 4
.fnstart
fchdir:
ENTRY(fchdir)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_fchdir
@ -16,4 +11,4 @@ fchdir:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(fchdir)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type fchmod, #function
.globl fchmod
.align 4
.fnstart
fchmod:
ENTRY(fchmod)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_fchmod
@ -16,4 +11,4 @@ fchmod:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(fchmod)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type fchmodat, #function
.globl fchmodat
.align 4
.fnstart
fchmodat:
ENTRY(fchmodat)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_fchmodat
@ -16,4 +11,4 @@ fchmodat:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(fchmodat)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type fchown, #function
.globl fchown
.align 4
.fnstart
fchown:
ENTRY(fchown)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_fchown32
@ -16,4 +11,4 @@ fchown:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(fchown)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type fchownat, #function
.globl fchownat
.align 4
.fnstart
fchownat:
ENTRY(fchownat)
mov ip, sp
.save {r4, r5, r6, r7}
stmfd sp!, {r4, r5, r6, r7}
@ -18,4 +13,4 @@ fchownat:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(fchownat)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type fdatasync, #function
.globl fdatasync
.align 4
.fnstart
fdatasync:
ENTRY(fdatasync)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_fdatasync
@ -16,4 +11,4 @@ fdatasync:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(fdatasync)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type flock, #function
.globl flock
.align 4
.fnstart
flock:
ENTRY(flock)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_flock
@ -16,4 +11,4 @@ flock:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(flock)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type fstat, #function
.globl fstat
.align 4
.fnstart
fstat:
ENTRY(fstat)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_fstat64
@ -16,4 +11,4 @@ fstat:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(fstat)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type fstatat, #function
.globl fstatat
.align 4
.fnstart
fstatat:
ENTRY(fstatat)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_fstatat64
@ -16,4 +11,4 @@ fstatat:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(fstatat)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type fsync, #function
.globl fsync
.align 4
.fnstart
fsync:
ENTRY(fsync)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_fsync
@ -16,4 +11,4 @@ fsync:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(fsync)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type ftruncate, #function
.globl ftruncate
.align 4
.fnstart
ftruncate:
ENTRY(ftruncate)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_ftruncate
@ -16,4 +11,4 @@ ftruncate:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(ftruncate)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type ftruncate64, #function
.globl ftruncate64
.align 4
.fnstart
ftruncate64:
ENTRY(ftruncate64)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_ftruncate64
@ -16,4 +11,4 @@ ftruncate64:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(ftruncate64)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type futex, #function
.globl futex
.align 4
.fnstart
futex:
ENTRY(futex)
mov ip, sp
.save {r4, r5, r6, r7}
stmfd sp!, {r4, r5, r6, r7}
@ -18,4 +13,4 @@ futex:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(futex)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type getdents, #function
.globl getdents
.align 4
.fnstart
getdents:
ENTRY(getdents)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_getdents64
@ -16,4 +11,4 @@ getdents:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(getdents)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type getegid, #function
.globl getegid
.align 4
.fnstart
getegid:
ENTRY(getegid)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_getegid32
@ -16,4 +11,4 @@ getegid:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(getegid)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type geteuid, #function
.globl geteuid
.align 4
.fnstart
geteuid:
ENTRY(geteuid)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_geteuid32
@ -16,4 +11,4 @@ geteuid:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(geteuid)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type getgid, #function
.globl getgid
.align 4
.fnstart
getgid:
ENTRY(getgid)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_getgid32
@ -16,4 +11,4 @@ getgid:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(getgid)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type getgroups, #function
.globl getgroups
.align 4
.fnstart
getgroups:
ENTRY(getgroups)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_getgroups32
@ -16,4 +11,4 @@ getgroups:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(getgroups)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type getitimer, #function
.globl getitimer
.align 4
.fnstart
getitimer:
ENTRY(getitimer)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_getitimer
@ -16,4 +11,4 @@ getitimer:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(getitimer)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type getpeername, #function
.globl getpeername
.align 4
.fnstart
getpeername:
ENTRY(getpeername)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_getpeername
@ -16,4 +11,4 @@ getpeername:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(getpeername)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type getpgid, #function
.globl getpgid
.align 4
.fnstart
getpgid:
ENTRY(getpgid)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_getpgid
@ -16,4 +11,4 @@ getpgid:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(getpgid)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type getpid, #function
.globl getpid
.align 4
.fnstart
getpid:
ENTRY(getpid)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_getpid
@ -16,4 +11,4 @@ getpid:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(getpid)

View File

@ -1,13 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type getppid, #function
.globl getppid
.align 4
.fnstart
getppid:
ENTRY(getppid)
.save {r4, r7}
stmfd sp!, {r4, r7}
ldr r7, =__NR_getppid
@ -16,4 +11,4 @@ getppid:
movs r0, r0
bxpl lr
b __set_syscall_errno
.fnend
END(getppid)

Some files were not shown because too many files have changed in this diff Show More