diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:03:48 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:03:48 -0800 |
commit | 4e468ed2eb86a2406e14f1eca82072ee501d05fd (patch) | |
tree | 4e05b3c66eef86531e464521a3bf96a1864d4bf5 /libc/arch-arm/syscalls | |
parent | a27d2baa0c1a2ec70f47ea9199b1dd6762c8a349 (diff) | |
download | bionic-4e468ed2eb86a2406e14f1eca82072ee501d05fd.zip bionic-4e468ed2eb86a2406e14f1eca82072ee501d05fd.tar.gz bionic-4e468ed2eb86a2406e14f1eca82072ee501d05fd.tar.bz2 |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'libc/arch-arm/syscalls')
-rw-r--r-- | libc/arch-arm/syscalls/__fork.S (renamed from libc/arch-arm/syscalls/fork.S) | 6 | ||||
-rw-r--r-- | libc/arch-arm/syscalls/__pread64.S | 21 | ||||
-rw-r--r-- | libc/arch-arm/syscalls/__pwrite64.S | 21 | ||||
-rw-r--r-- | libc/arch-arm/syscalls/__timer_create.S (renamed from libc/arch-arm/syscalls/timer_create.S) | 6 | ||||
-rw-r--r-- | libc/arch-arm/syscalls/__timer_delete.S (renamed from libc/arch-arm/syscalls/timer_delete.S) | 6 | ||||
-rw-r--r-- | libc/arch-arm/syscalls/__timer_getoverrun.S (renamed from libc/arch-arm/syscalls/timer_getoverrun.S) | 6 | ||||
-rw-r--r-- | libc/arch-arm/syscalls/__timer_gettime.S (renamed from libc/arch-arm/syscalls/timer_gettime.S) | 6 | ||||
-rw-r--r-- | libc/arch-arm/syscalls/__timer_settime.S (renamed from libc/arch-arm/syscalls/timer_settime.S) | 6 | ||||
-rw-r--r-- | libc/arch-arm/syscalls/getitimer.S | 19 |
9 files changed, 79 insertions, 18 deletions
diff --git a/libc/arch-arm/syscalls/fork.S b/libc/arch-arm/syscalls/__fork.S index c9c18c4..fddd276 100644 --- a/libc/arch-arm/syscalls/fork.S +++ b/libc/arch-arm/syscalls/__fork.S @@ -2,12 +2,12 @@ #include <sys/linux-syscalls.h> .text - .type fork, #function - .globl fork + .type __fork, #function + .globl __fork .align 4 .fnstart -fork: +__fork: .save {r4, r7} stmfd sp!, {r4, r7} ldr r7, =__NR_fork diff --git a/libc/arch-arm/syscalls/__pread64.S b/libc/arch-arm/syscalls/__pread64.S new file mode 100644 index 0000000..ea645e1 --- /dev/null +++ b/libc/arch-arm/syscalls/__pread64.S @@ -0,0 +1,21 @@ +/* autogenerated by gensyscalls.py */ +#include <sys/linux-syscalls.h> + + .text + .type __pread64, #function + .globl __pread64 + .align 4 + .fnstart + +__pread64: + mov ip, sp + .save {r4, r5, r6, r7} + stmfd sp!, {r4, r5, r6, r7} + ldmfd ip, {r4, r5, r6} + ldr r7, =__NR_pread64 + swi #0 + ldmfd sp!, {r4, r5, r6, r7} + movs r0, r0 + bxpl lr + b __set_syscall_errno + .fnend diff --git a/libc/arch-arm/syscalls/__pwrite64.S b/libc/arch-arm/syscalls/__pwrite64.S new file mode 100644 index 0000000..d1263be --- /dev/null +++ b/libc/arch-arm/syscalls/__pwrite64.S @@ -0,0 +1,21 @@ +/* autogenerated by gensyscalls.py */ +#include <sys/linux-syscalls.h> + + .text + .type __pwrite64, #function + .globl __pwrite64 + .align 4 + .fnstart + +__pwrite64: + mov ip, sp + .save {r4, r5, r6, r7} + stmfd sp!, {r4, r5, r6, r7} + ldmfd ip, {r4, r5, r6} + ldr r7, =__NR_pwrite64 + swi #0 + ldmfd sp!, {r4, r5, r6, r7} + movs r0, r0 + bxpl lr + b __set_syscall_errno + .fnend diff --git a/libc/arch-arm/syscalls/timer_create.S b/libc/arch-arm/syscalls/__timer_create.S index a690777..5bc3966 100644 --- a/libc/arch-arm/syscalls/timer_create.S +++ b/libc/arch-arm/syscalls/__timer_create.S @@ -2,12 +2,12 @@ #include <sys/linux-syscalls.h> .text - .type timer_create, #function - .globl timer_create + .type __timer_create, #function + .globl __timer_create .align 4 .fnstart -timer_create: +__timer_create: .save {r4, r7} stmfd sp!, {r4, r7} ldr r7, =__NR_timer_create diff --git a/libc/arch-arm/syscalls/timer_delete.S b/libc/arch-arm/syscalls/__timer_delete.S index b5d89f5..4ddee01 100644 --- a/libc/arch-arm/syscalls/timer_delete.S +++ b/libc/arch-arm/syscalls/__timer_delete.S @@ -2,12 +2,12 @@ #include <sys/linux-syscalls.h> .text - .type timer_delete, #function - .globl timer_delete + .type __timer_delete, #function + .globl __timer_delete .align 4 .fnstart -timer_delete: +__timer_delete: .save {r4, r7} stmfd sp!, {r4, r7} ldr r7, =__NR_timer_delete diff --git a/libc/arch-arm/syscalls/timer_getoverrun.S b/libc/arch-arm/syscalls/__timer_getoverrun.S index 2dd4e22..fb0c87d 100644 --- a/libc/arch-arm/syscalls/timer_getoverrun.S +++ b/libc/arch-arm/syscalls/__timer_getoverrun.S @@ -2,12 +2,12 @@ #include <sys/linux-syscalls.h> .text - .type timer_getoverrun, #function - .globl timer_getoverrun + .type __timer_getoverrun, #function + .globl __timer_getoverrun .align 4 .fnstart -timer_getoverrun: +__timer_getoverrun: .save {r4, r7} stmfd sp!, {r4, r7} ldr r7, =__NR_timer_getoverrun diff --git a/libc/arch-arm/syscalls/timer_gettime.S b/libc/arch-arm/syscalls/__timer_gettime.S index c4bb75c..9d6e446 100644 --- a/libc/arch-arm/syscalls/timer_gettime.S +++ b/libc/arch-arm/syscalls/__timer_gettime.S @@ -2,12 +2,12 @@ #include <sys/linux-syscalls.h> .text - .type timer_gettime, #function - .globl timer_gettime + .type __timer_gettime, #function + .globl __timer_gettime .align 4 .fnstart -timer_gettime: +__timer_gettime: .save {r4, r7} stmfd sp!, {r4, r7} ldr r7, =__NR_timer_gettime diff --git a/libc/arch-arm/syscalls/timer_settime.S b/libc/arch-arm/syscalls/__timer_settime.S index d8a18ab..a7be132 100644 --- a/libc/arch-arm/syscalls/timer_settime.S +++ b/libc/arch-arm/syscalls/__timer_settime.S @@ -2,12 +2,12 @@ #include <sys/linux-syscalls.h> .text - .type timer_settime, #function - .globl timer_settime + .type __timer_settime, #function + .globl __timer_settime .align 4 .fnstart -timer_settime: +__timer_settime: .save {r4, r7} stmfd sp!, {r4, r7} ldr r7, =__NR_timer_settime diff --git a/libc/arch-arm/syscalls/getitimer.S b/libc/arch-arm/syscalls/getitimer.S new file mode 100644 index 0000000..404c2fc --- /dev/null +++ b/libc/arch-arm/syscalls/getitimer.S @@ -0,0 +1,19 @@ +/* autogenerated by gensyscalls.py */ +#include <sys/linux-syscalls.h> + + .text + .type getitimer, #function + .globl getitimer + .align 4 + .fnstart + +getitimer: + .save {r4, r7} + stmfd sp!, {r4, r7} + ldr r7, =__NR_getitimer + swi #0 + ldmfd sp!, {r4, r7} + movs r0, r0 + bxpl lr + b __set_syscall_errno + .fnend |