diff options
author | Elliott Hughes <enh@google.com> | 2013-10-24 15:15:14 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-10-24 15:48:32 -0700 |
commit | 11952073af22568bba0b661f7a9d4402c443a888 (patch) | |
tree | c4ae77a40e8e309219cd4ab993a39d92f3d13e50 /libc/arch-arm | |
parent | cdac5f73aca015287d1f40ff50d4fbf293a0c549 (diff) | |
download | bionic-11952073af22568bba0b661f7a9d4402c443a888.zip bionic-11952073af22568bba0b661f7a9d4402c443a888.tar.gz bionic-11952073af22568bba0b661f7a9d4402c443a888.tar.bz2 |
Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls.
(aarch64 kernels don't have these system calls.)
Change-Id: I6f64075aa412f71520f2df71c3d69b647f91c1ca
Diffstat (limited to 'libc/arch-arm')
-rw-r--r-- | libc/arch-arm/syscalls.mk | 11 | ||||
-rw-r--r-- | libc/arch-arm/syscalls/__clone.S (renamed from libc/arch-arm/syscalls/__sys_clone.S) | 4 | ||||
-rw-r--r-- | libc/arch-arm/syscalls/__epoll_pwait.S (renamed from libc/arch-arm/syscalls/epoll_wait.S) | 13 | ||||
-rw-r--r-- | libc/arch-arm/syscalls/__fork.S | 16 | ||||
-rw-r--r-- | libc/arch-arm/syscalls/__ppoll.S (renamed from libc/arch-arm/syscalls/select.S) | 6 | ||||
-rw-r--r-- | libc/arch-arm/syscalls/__pselect6.S (renamed from libc/arch-arm/syscalls/__open.S) | 13 | ||||
-rw-r--r-- | libc/arch-arm/syscalls/pause.S | 16 | ||||
-rw-r--r-- | libc/arch-arm/syscalls/poll.S | 16 |
8 files changed, 25 insertions, 70 deletions
diff --git a/libc/arch-arm/syscalls.mk b/libc/arch-arm/syscalls.mk index 959dfeb..e8b6759 100644 --- a/libc/arch-arm/syscalls.mk +++ b/libc/arch-arm/syscalls.mk @@ -1,9 +1,10 @@ # Generated by gensyscalls.py. Do not edit. syscall_src := syscall_src += arch-arm/syscalls/__brk.S +syscall_src += arch-arm/syscalls/__clone.S +syscall_src += arch-arm/syscalls/__epoll_pwait.S syscall_src += arch-arm/syscalls/__fcntl.S syscall_src += arch-arm/syscalls/__fcntl64.S -syscall_src += arch-arm/syscalls/__fork.S syscall_src += arch-arm/syscalls/__fstatfs64.S syscall_src += arch-arm/syscalls/__getcpu.S syscall_src += arch-arm/syscalls/__getcwd.S @@ -11,8 +12,9 @@ syscall_src += arch-arm/syscalls/__getpriority.S syscall_src += arch-arm/syscalls/__ioctl.S syscall_src += arch-arm/syscalls/__llseek.S syscall_src += arch-arm/syscalls/__mmap2.S -syscall_src += arch-arm/syscalls/__open.S syscall_src += arch-arm/syscalls/__openat.S +syscall_src += arch-arm/syscalls/__ppoll.S +syscall_src += arch-arm/syscalls/__pselect6.S syscall_src += arch-arm/syscalls/__ptrace.S syscall_src += arch-arm/syscalls/__reboot.S syscall_src += arch-arm/syscalls/__rt_sigaction.S @@ -24,7 +26,6 @@ syscall_src += arch-arm/syscalls/__sched_getaffinity.S syscall_src += arch-arm/syscalls/__set_tls.S syscall_src += arch-arm/syscalls/__sigaction.S syscall_src += arch-arm/syscalls/__statfs64.S -syscall_src += arch-arm/syscalls/__sys_clone.S syscall_src += arch-arm/syscalls/__syslog.S syscall_src += arch-arm/syscalls/__timer_create.S syscall_src += arch-arm/syscalls/__timer_delete.S @@ -53,7 +54,6 @@ syscall_src += arch-arm/syscalls/dup.S syscall_src += arch-arm/syscalls/dup3.S syscall_src += arch-arm/syscalls/epoll_create1.S syscall_src += arch-arm/syscalls/epoll_ctl.S -syscall_src += arch-arm/syscalls/epoll_wait.S syscall_src += arch-arm/syscalls/eventfd.S syscall_src += arch-arm/syscalls/execve.S syscall_src += arch-arm/syscalls/faccessat.S @@ -124,11 +124,9 @@ syscall_src += arch-arm/syscalls/munlock.S syscall_src += arch-arm/syscalls/munlockall.S syscall_src += arch-arm/syscalls/munmap.S syscall_src += arch-arm/syscalls/nanosleep.S -syscall_src += arch-arm/syscalls/pause.S syscall_src += arch-arm/syscalls/perf_event_open.S syscall_src += arch-arm/syscalls/personality.S syscall_src += arch-arm/syscalls/pipe2.S -syscall_src += arch-arm/syscalls/poll.S syscall_src += arch-arm/syscalls/prctl.S syscall_src += arch-arm/syscalls/pread64.S syscall_src += arch-arm/syscalls/pwrite64.S @@ -149,7 +147,6 @@ syscall_src += arch-arm/syscalls/sched_setaffinity.S syscall_src += arch-arm/syscalls/sched_setparam.S syscall_src += arch-arm/syscalls/sched_setscheduler.S syscall_src += arch-arm/syscalls/sched_yield.S -syscall_src += arch-arm/syscalls/select.S syscall_src += arch-arm/syscalls/sendfile.S syscall_src += arch-arm/syscalls/sendfile64.S syscall_src += arch-arm/syscalls/sendmsg.S diff --git a/libc/arch-arm/syscalls/__sys_clone.S b/libc/arch-arm/syscalls/__clone.S index d6b20f2..b7ff23b 100644 --- a/libc/arch-arm/syscalls/__sys_clone.S +++ b/libc/arch-arm/syscalls/__clone.S @@ -4,7 +4,7 @@ #include <linux/err.h> #include <machine/asm.h> -ENTRY(__sys_clone) +ENTRY(__clone) mov ip, sp .save {r4, r5, r6, r7} stmfd sp!, {r4, r5, r6, r7} @@ -16,4 +16,4 @@ ENTRY(__sys_clone) bxls lr neg r0, r0 b __set_errno -END(__sys_clone) +END(__clone) diff --git a/libc/arch-arm/syscalls/epoll_wait.S b/libc/arch-arm/syscalls/__epoll_pwait.S index b2b1fef..5eb3dab 100644 --- a/libc/arch-arm/syscalls/epoll_wait.S +++ b/libc/arch-arm/syscalls/__epoll_pwait.S @@ -4,13 +4,16 @@ #include <linux/err.h> #include <machine/asm.h> -ENTRY(epoll_wait) - mov ip, r7 - ldr r7, =__NR_epoll_wait +ENTRY(__epoll_pwait) + mov ip, sp + .save {r4, r5, r6, r7} + stmfd sp!, {r4, r5, r6, r7} + ldmfd ip, {r4, r5, r6} + ldr r7, =__NR_epoll_pwait swi #0 - mov r7, ip + ldmfd sp!, {r4, r5, r6, r7} cmn r0, #(MAX_ERRNO + 1) bxls lr neg r0, r0 b __set_errno -END(epoll_wait) +END(__epoll_pwait) diff --git a/libc/arch-arm/syscalls/__fork.S b/libc/arch-arm/syscalls/__fork.S deleted file mode 100644 index 99d795d..0000000 --- a/libc/arch-arm/syscalls/__fork.S +++ /dev/null @@ -1,16 +0,0 @@ -/* Generated by gensyscalls.py. Do not edit. */ - -#include <asm/unistd.h> -#include <linux/err.h> -#include <machine/asm.h> - -ENTRY(__fork) - mov ip, r7 - ldr r7, =__NR_fork - swi #0 - mov r7, ip - cmn r0, #(MAX_ERRNO + 1) - bxls lr - neg r0, r0 - b __set_errno -END(__fork) diff --git a/libc/arch-arm/syscalls/select.S b/libc/arch-arm/syscalls/__ppoll.S index 26ded74..7b833ac 100644 --- a/libc/arch-arm/syscalls/select.S +++ b/libc/arch-arm/syscalls/__ppoll.S @@ -4,16 +4,16 @@ #include <linux/err.h> #include <machine/asm.h> -ENTRY(select) +ENTRY(__ppoll) mov ip, sp .save {r4, r5, r6, r7} stmfd sp!, {r4, r5, r6, r7} ldmfd ip, {r4, r5, r6} - ldr r7, =__NR__newselect + ldr r7, =__NR_ppoll swi #0 ldmfd sp!, {r4, r5, r6, r7} cmn r0, #(MAX_ERRNO + 1) bxls lr neg r0, r0 b __set_errno -END(select) +END(__ppoll) diff --git a/libc/arch-arm/syscalls/__open.S b/libc/arch-arm/syscalls/__pselect6.S index 20469df..44e22ee 100644 --- a/libc/arch-arm/syscalls/__open.S +++ b/libc/arch-arm/syscalls/__pselect6.S @@ -4,13 +4,16 @@ #include <linux/err.h> #include <machine/asm.h> -ENTRY(__open) - mov ip, r7 - ldr r7, =__NR_open +ENTRY(__pselect6) + mov ip, sp + .save {r4, r5, r6, r7} + stmfd sp!, {r4, r5, r6, r7} + ldmfd ip, {r4, r5, r6} + ldr r7, =__NR_pselect6 swi #0 - mov r7, ip + ldmfd sp!, {r4, r5, r6, r7} cmn r0, #(MAX_ERRNO + 1) bxls lr neg r0, r0 b __set_errno -END(__open) +END(__pselect6) diff --git a/libc/arch-arm/syscalls/pause.S b/libc/arch-arm/syscalls/pause.S deleted file mode 100644 index 3a4b384..0000000 --- a/libc/arch-arm/syscalls/pause.S +++ /dev/null @@ -1,16 +0,0 @@ -/* Generated by gensyscalls.py. Do not edit. */ - -#include <asm/unistd.h> -#include <linux/err.h> -#include <machine/asm.h> - -ENTRY(pause) - mov ip, r7 - ldr r7, =__NR_pause - swi #0 - mov r7, ip - cmn r0, #(MAX_ERRNO + 1) - bxls lr - neg r0, r0 - b __set_errno -END(pause) diff --git a/libc/arch-arm/syscalls/poll.S b/libc/arch-arm/syscalls/poll.S deleted file mode 100644 index 655aced..0000000 --- a/libc/arch-arm/syscalls/poll.S +++ /dev/null @@ -1,16 +0,0 @@ -/* Generated by gensyscalls.py. Do not edit. */ - -#include <asm/unistd.h> -#include <linux/err.h> -#include <machine/asm.h> - -ENTRY(poll) - mov ip, r7 - ldr r7, =__NR_poll - swi #0 - mov r7, ip - cmn r0, #(MAX_ERRNO + 1) - bxls lr - neg r0, r0 - b __set_errno -END(poll) |