resolved conflicts for merge of 7efad83d to lmp-dev-plus-aosp

Change-Id: I3994c3c69e187e08d69642e097de14b5040c5b3b
This commit is contained in:
Elliott Hughes 2014-09-08 16:21:24 -07:00
commit 938473a7f0
1176 changed files with 1193 additions and 3503 deletions

View File

@ -57,7 +57,7 @@ ENTRY(__bionic_clone)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
1: # The child. 1: # The child.
# Setting lr to 0 will make the unwinder stop at __start_thread # Setting lr to 0 will make the unwinder stop at __start_thread

View File

@ -47,5 +47,5 @@ ENTRY(syscall)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(syscall) END(syscall)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__accept4) ENTRY(__accept4)
mov ip, r7 mov ip, r7
ldr r7, =__NR_accept4 ldr r7, =__NR_accept4
@ -12,5 +10,5 @@ ENTRY(__accept4)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__accept4) END(__accept4)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__brk) ENTRY(__brk)
mov ip, r7 mov ip, r7
ldr r7, =__NR_brk ldr r7, =__NR_brk
@ -12,5 +10,5 @@ ENTRY(__brk)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__brk) END(__brk)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__connect) ENTRY(__connect)
mov ip, r7 mov ip, r7
ldr r7, =__NR_connect ldr r7, =__NR_connect
@ -12,5 +10,5 @@ ENTRY(__connect)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__connect) END(__connect)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__epoll_pwait) ENTRY(__epoll_pwait)
mov ip, sp mov ip, sp
stmfd sp!, {r4, r5, r6, r7} stmfd sp!, {r4, r5, r6, r7}
@ -20,5 +18,5 @@ ENTRY(__epoll_pwait)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__epoll_pwait) END(__epoll_pwait)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__exit) ENTRY(__exit)
mov ip, r7 mov ip, r7
ldr r7, =__NR_exit ldr r7, =__NR_exit
@ -12,5 +10,5 @@ ENTRY(__exit)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__exit) END(__exit)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__fcntl64) ENTRY(__fcntl64)
mov ip, r7 mov ip, r7
ldr r7, =__NR_fcntl64 ldr r7, =__NR_fcntl64
@ -12,5 +10,5 @@ ENTRY(__fcntl64)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__fcntl64) END(__fcntl64)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__fstatfs64) ENTRY(__fstatfs64)
mov ip, r7 mov ip, r7
ldr r7, =__NR_fstatfs64 ldr r7, =__NR_fstatfs64
@ -12,5 +10,5 @@ ENTRY(__fstatfs64)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__fstatfs64) END(__fstatfs64)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__getcpu) ENTRY(__getcpu)
mov ip, r7 mov ip, r7
ldr r7, =__NR_getcpu ldr r7, =__NR_getcpu
@ -12,5 +10,5 @@ ENTRY(__getcpu)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__getcpu) END(__getcpu)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__getcwd) ENTRY(__getcwd)
mov ip, r7 mov ip, r7
ldr r7, =__NR_getcwd ldr r7, =__NR_getcwd
@ -12,5 +10,5 @@ ENTRY(__getcwd)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__getcwd) END(__getcwd)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__getdents64) ENTRY(__getdents64)
mov ip, r7 mov ip, r7
ldr r7, =__NR_getdents64 ldr r7, =__NR_getdents64
@ -12,5 +10,5 @@ ENTRY(__getdents64)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__getdents64) END(__getdents64)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__getpid) ENTRY(__getpid)
mov ip, r7 mov ip, r7
ldr r7, =__NR_getpid ldr r7, =__NR_getpid
@ -12,5 +10,5 @@ ENTRY(__getpid)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__getpid) END(__getpid)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__getpriority) ENTRY(__getpriority)
mov ip, r7 mov ip, r7
ldr r7, =__NR_getpriority ldr r7, =__NR_getpriority
@ -12,5 +10,5 @@ ENTRY(__getpriority)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__getpriority) END(__getpriority)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__ioctl) ENTRY(__ioctl)
mov ip, r7 mov ip, r7
ldr r7, =__NR_ioctl ldr r7, =__NR_ioctl
@ -12,5 +10,5 @@ ENTRY(__ioctl)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__ioctl) END(__ioctl)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__llseek) ENTRY(__llseek)
mov ip, sp mov ip, sp
stmfd sp!, {r4, r5, r6, r7} stmfd sp!, {r4, r5, r6, r7}
@ -20,5 +18,5 @@ ENTRY(__llseek)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__llseek) END(__llseek)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__mmap2) ENTRY(__mmap2)
mov ip, sp mov ip, sp
stmfd sp!, {r4, r5, r6, r7} stmfd sp!, {r4, r5, r6, r7}
@ -20,5 +18,5 @@ ENTRY(__mmap2)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__mmap2) END(__mmap2)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__openat) ENTRY(__openat)
mov ip, r7 mov ip, r7
ldr r7, =__NR_openat ldr r7, =__NR_openat
@ -12,5 +10,5 @@ ENTRY(__openat)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__openat) END(__openat)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__ppoll) ENTRY(__ppoll)
mov ip, sp mov ip, sp
stmfd sp!, {r4, r5, r6, r7} stmfd sp!, {r4, r5, r6, r7}
@ -20,5 +18,5 @@ ENTRY(__ppoll)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__ppoll) END(__ppoll)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__pselect6) ENTRY(__pselect6)
mov ip, sp mov ip, sp
stmfd sp!, {r4, r5, r6, r7} stmfd sp!, {r4, r5, r6, r7}
@ -20,5 +18,5 @@ ENTRY(__pselect6)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__pselect6) END(__pselect6)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__ptrace) ENTRY(__ptrace)
mov ip, r7 mov ip, r7
ldr r7, =__NR_ptrace ldr r7, =__NR_ptrace
@ -12,5 +10,5 @@ ENTRY(__ptrace)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__ptrace) END(__ptrace)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__reboot) ENTRY(__reboot)
mov ip, r7 mov ip, r7
ldr r7, =__NR_reboot ldr r7, =__NR_reboot
@ -12,5 +10,5 @@ ENTRY(__reboot)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__reboot) END(__reboot)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__rt_sigaction) ENTRY(__rt_sigaction)
mov ip, r7 mov ip, r7
ldr r7, =__NR_rt_sigaction ldr r7, =__NR_rt_sigaction
@ -12,5 +10,5 @@ ENTRY(__rt_sigaction)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__rt_sigaction) END(__rt_sigaction)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__rt_sigpending) ENTRY(__rt_sigpending)
mov ip, r7 mov ip, r7
ldr r7, =__NR_rt_sigpending ldr r7, =__NR_rt_sigpending
@ -12,5 +10,5 @@ ENTRY(__rt_sigpending)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__rt_sigpending) END(__rt_sigpending)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__rt_sigprocmask) ENTRY(__rt_sigprocmask)
mov ip, r7 mov ip, r7
ldr r7, =__NR_rt_sigprocmask ldr r7, =__NR_rt_sigprocmask
@ -12,5 +10,5 @@ ENTRY(__rt_sigprocmask)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__rt_sigprocmask) END(__rt_sigprocmask)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__rt_sigsuspend) ENTRY(__rt_sigsuspend)
mov ip, r7 mov ip, r7
ldr r7, =__NR_rt_sigsuspend ldr r7, =__NR_rt_sigsuspend
@ -12,5 +10,5 @@ ENTRY(__rt_sigsuspend)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__rt_sigsuspend) END(__rt_sigsuspend)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__rt_sigtimedwait) ENTRY(__rt_sigtimedwait)
mov ip, r7 mov ip, r7
ldr r7, =__NR_rt_sigtimedwait ldr r7, =__NR_rt_sigtimedwait
@ -12,5 +10,5 @@ ENTRY(__rt_sigtimedwait)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__rt_sigtimedwait) END(__rt_sigtimedwait)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__sched_getaffinity) ENTRY(__sched_getaffinity)
mov ip, r7 mov ip, r7
ldr r7, =__NR_sched_getaffinity ldr r7, =__NR_sched_getaffinity
@ -12,5 +10,5 @@ ENTRY(__sched_getaffinity)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__sched_getaffinity) END(__sched_getaffinity)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__set_tid_address) ENTRY(__set_tid_address)
mov ip, r7 mov ip, r7
ldr r7, =__NR_set_tid_address ldr r7, =__NR_set_tid_address
@ -12,5 +10,5 @@ ENTRY(__set_tid_address)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__set_tid_address) END(__set_tid_address)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__set_tls) ENTRY(__set_tls)
mov ip, r7 mov ip, r7
ldr r7, =__ARM_NR_set_tls ldr r7, =__ARM_NR_set_tls
@ -12,5 +10,5 @@ ENTRY(__set_tls)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__set_tls) END(__set_tls)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__sigaction) ENTRY(__sigaction)
mov ip, r7 mov ip, r7
ldr r7, =__NR_sigaction ldr r7, =__NR_sigaction
@ -12,5 +10,5 @@ ENTRY(__sigaction)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__sigaction) END(__sigaction)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__signalfd4) ENTRY(__signalfd4)
mov ip, r7 mov ip, r7
ldr r7, =__NR_signalfd4 ldr r7, =__NR_signalfd4
@ -12,5 +10,5 @@ ENTRY(__signalfd4)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__signalfd4) END(__signalfd4)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__socket) ENTRY(__socket)
mov ip, r7 mov ip, r7
ldr r7, =__NR_socket ldr r7, =__NR_socket
@ -12,5 +10,5 @@ ENTRY(__socket)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__socket) END(__socket)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__statfs64) ENTRY(__statfs64)
mov ip, r7 mov ip, r7
ldr r7, =__NR_statfs64 ldr r7, =__NR_statfs64
@ -12,5 +10,5 @@ ENTRY(__statfs64)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__statfs64) END(__statfs64)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__timer_create) ENTRY(__timer_create)
mov ip, r7 mov ip, r7
ldr r7, =__NR_timer_create ldr r7, =__NR_timer_create
@ -12,5 +10,5 @@ ENTRY(__timer_create)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__timer_create) END(__timer_create)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__timer_delete) ENTRY(__timer_delete)
mov ip, r7 mov ip, r7
ldr r7, =__NR_timer_delete ldr r7, =__NR_timer_delete
@ -12,5 +10,5 @@ ENTRY(__timer_delete)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__timer_delete) END(__timer_delete)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__timer_getoverrun) ENTRY(__timer_getoverrun)
mov ip, r7 mov ip, r7
ldr r7, =__NR_timer_getoverrun ldr r7, =__NR_timer_getoverrun
@ -12,5 +10,5 @@ ENTRY(__timer_getoverrun)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__timer_getoverrun) END(__timer_getoverrun)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__timer_gettime) ENTRY(__timer_gettime)
mov ip, r7 mov ip, r7
ldr r7, =__NR_timer_gettime ldr r7, =__NR_timer_gettime
@ -12,5 +10,5 @@ ENTRY(__timer_gettime)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__timer_gettime) END(__timer_gettime)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__timer_settime) ENTRY(__timer_settime)
mov ip, r7 mov ip, r7
ldr r7, =__NR_timer_settime ldr r7, =__NR_timer_settime
@ -12,5 +10,5 @@ ENTRY(__timer_settime)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__timer_settime) END(__timer_settime)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__waitid) ENTRY(__waitid)
mov ip, sp mov ip, sp
stmfd sp!, {r4, r5, r6, r7} stmfd sp!, {r4, r5, r6, r7}
@ -20,5 +18,5 @@ ENTRY(__waitid)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(__waitid) END(__waitid)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(_exit) ENTRY(_exit)
mov ip, r7 mov ip, r7
ldr r7, =__NR_exit_group ldr r7, =__NR_exit_group
@ -12,7 +10,7 @@ ENTRY(_exit)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(_exit) END(_exit)
.globl _Exit .globl _Exit

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(acct) ENTRY(acct)
mov ip, r7 mov ip, r7
ldr r7, =__NR_acct ldr r7, =__NR_acct
@ -12,5 +10,5 @@ ENTRY(acct)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(acct) END(acct)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(bind) ENTRY(bind)
mov ip, r7 mov ip, r7
ldr r7, =__NR_bind ldr r7, =__NR_bind
@ -12,5 +10,5 @@ ENTRY(bind)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(bind) END(bind)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(cacheflush) ENTRY(cacheflush)
mov ip, r7 mov ip, r7
ldr r7, =__ARM_NR_cacheflush ldr r7, =__ARM_NR_cacheflush
@ -12,5 +10,5 @@ ENTRY(cacheflush)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(cacheflush) END(cacheflush)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(capget) ENTRY(capget)
mov ip, r7 mov ip, r7
ldr r7, =__NR_capget ldr r7, =__NR_capget
@ -12,5 +10,5 @@ ENTRY(capget)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(capget) END(capget)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(capset) ENTRY(capset)
mov ip, r7 mov ip, r7
ldr r7, =__NR_capset ldr r7, =__NR_capset
@ -12,5 +10,5 @@ ENTRY(capset)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(capset) END(capset)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(chdir) ENTRY(chdir)
mov ip, r7 mov ip, r7
ldr r7, =__NR_chdir ldr r7, =__NR_chdir
@ -12,5 +10,5 @@ ENTRY(chdir)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(chdir) END(chdir)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(chroot) ENTRY(chroot)
mov ip, r7 mov ip, r7
ldr r7, =__NR_chroot ldr r7, =__NR_chroot
@ -12,5 +10,5 @@ ENTRY(chroot)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(chroot) END(chroot)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(clock_getres) ENTRY(clock_getres)
mov ip, r7 mov ip, r7
ldr r7, =__NR_clock_getres ldr r7, =__NR_clock_getres
@ -12,5 +10,5 @@ ENTRY(clock_getres)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(clock_getres) END(clock_getres)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(clock_gettime) ENTRY(clock_gettime)
mov ip, r7 mov ip, r7
ldr r7, =__NR_clock_gettime ldr r7, =__NR_clock_gettime
@ -12,5 +10,5 @@ ENTRY(clock_gettime)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(clock_gettime) END(clock_gettime)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(clock_nanosleep) ENTRY(clock_nanosleep)
mov ip, r7 mov ip, r7
ldr r7, =__NR_clock_nanosleep ldr r7, =__NR_clock_nanosleep
@ -12,5 +10,5 @@ ENTRY(clock_nanosleep)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(clock_nanosleep) END(clock_nanosleep)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(clock_settime) ENTRY(clock_settime)
mov ip, r7 mov ip, r7
ldr r7, =__NR_clock_settime ldr r7, =__NR_clock_settime
@ -12,5 +10,5 @@ ENTRY(clock_settime)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(clock_settime) END(clock_settime)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(close) ENTRY(close)
mov ip, r7 mov ip, r7
ldr r7, =__NR_close ldr r7, =__NR_close
@ -12,5 +10,5 @@ ENTRY(close)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(close) END(close)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(delete_module) ENTRY(delete_module)
mov ip, r7 mov ip, r7
ldr r7, =__NR_delete_module ldr r7, =__NR_delete_module
@ -12,5 +10,5 @@ ENTRY(delete_module)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(delete_module) END(delete_module)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(dup) ENTRY(dup)
mov ip, r7 mov ip, r7
ldr r7, =__NR_dup ldr r7, =__NR_dup
@ -12,5 +10,5 @@ ENTRY(dup)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(dup) END(dup)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(dup3) ENTRY(dup3)
mov ip, r7 mov ip, r7
ldr r7, =__NR_dup3 ldr r7, =__NR_dup3
@ -12,5 +10,5 @@ ENTRY(dup3)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(dup3) END(dup3)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(epoll_create1) ENTRY(epoll_create1)
mov ip, r7 mov ip, r7
ldr r7, =__NR_epoll_create1 ldr r7, =__NR_epoll_create1
@ -12,5 +10,5 @@ ENTRY(epoll_create1)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(epoll_create1) END(epoll_create1)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(epoll_ctl) ENTRY(epoll_ctl)
mov ip, r7 mov ip, r7
ldr r7, =__NR_epoll_ctl ldr r7, =__NR_epoll_ctl
@ -12,5 +10,5 @@ ENTRY(epoll_ctl)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(epoll_ctl) END(epoll_ctl)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(eventfd) ENTRY(eventfd)
mov ip, r7 mov ip, r7
ldr r7, =__NR_eventfd2 ldr r7, =__NR_eventfd2
@ -12,5 +10,5 @@ ENTRY(eventfd)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(eventfd) END(eventfd)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(execve) ENTRY(execve)
mov ip, r7 mov ip, r7
ldr r7, =__NR_execve ldr r7, =__NR_execve
@ -12,5 +10,5 @@ ENTRY(execve)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(execve) END(execve)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(faccessat) ENTRY(faccessat)
mov ip, r7 mov ip, r7
ldr r7, =__NR_faccessat ldr r7, =__NR_faccessat
@ -12,5 +10,5 @@ ENTRY(faccessat)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(faccessat) END(faccessat)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(fallocate64) ENTRY(fallocate64)
mov ip, sp mov ip, sp
stmfd sp!, {r4, r5, r6, r7} stmfd sp!, {r4, r5, r6, r7}
@ -20,5 +18,5 @@ ENTRY(fallocate64)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(fallocate64) END(fallocate64)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(fchdir) ENTRY(fchdir)
mov ip, r7 mov ip, r7
ldr r7, =__NR_fchdir ldr r7, =__NR_fchdir
@ -12,5 +10,5 @@ ENTRY(fchdir)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(fchdir) END(fchdir)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(fchmod) ENTRY(fchmod)
mov ip, r7 mov ip, r7
ldr r7, =__NR_fchmod ldr r7, =__NR_fchmod
@ -12,5 +10,5 @@ ENTRY(fchmod)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(fchmod) END(fchmod)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(fchmodat) ENTRY(fchmodat)
mov ip, r7 mov ip, r7
ldr r7, =__NR_fchmodat ldr r7, =__NR_fchmodat
@ -12,5 +10,5 @@ ENTRY(fchmodat)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(fchmodat) END(fchmodat)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(fchown) ENTRY(fchown)
mov ip, r7 mov ip, r7
ldr r7, =__NR_fchown32 ldr r7, =__NR_fchown32
@ -12,5 +10,5 @@ ENTRY(fchown)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(fchown) END(fchown)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(fchownat) ENTRY(fchownat)
mov ip, sp mov ip, sp
stmfd sp!, {r4, r5, r6, r7} stmfd sp!, {r4, r5, r6, r7}
@ -20,5 +18,5 @@ ENTRY(fchownat)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(fchownat) END(fchownat)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(fdatasync) ENTRY(fdatasync)
mov ip, r7 mov ip, r7
ldr r7, =__NR_fdatasync ldr r7, =__NR_fdatasync
@ -12,5 +10,5 @@ ENTRY(fdatasync)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(fdatasync) END(fdatasync)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(fgetxattr) ENTRY(fgetxattr)
mov ip, r7 mov ip, r7
ldr r7, =__NR_fgetxattr ldr r7, =__NR_fgetxattr
@ -12,5 +10,5 @@ ENTRY(fgetxattr)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(fgetxattr) END(fgetxattr)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(flistxattr) ENTRY(flistxattr)
mov ip, r7 mov ip, r7
ldr r7, =__NR_flistxattr ldr r7, =__NR_flistxattr
@ -12,5 +10,5 @@ ENTRY(flistxattr)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(flistxattr) END(flistxattr)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(flock) ENTRY(flock)
mov ip, r7 mov ip, r7
ldr r7, =__NR_flock ldr r7, =__NR_flock
@ -12,5 +10,5 @@ ENTRY(flock)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(flock) END(flock)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(fremovexattr) ENTRY(fremovexattr)
mov ip, r7 mov ip, r7
ldr r7, =__NR_fremovexattr ldr r7, =__NR_fremovexattr
@ -12,5 +10,5 @@ ENTRY(fremovexattr)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(fremovexattr) END(fremovexattr)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(fsetxattr) ENTRY(fsetxattr)
mov ip, sp mov ip, sp
stmfd sp!, {r4, r5, r6, r7} stmfd sp!, {r4, r5, r6, r7}
@ -20,5 +18,5 @@ ENTRY(fsetxattr)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(fsetxattr) END(fsetxattr)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(fstat64) ENTRY(fstat64)
mov ip, r7 mov ip, r7
ldr r7, =__NR_fstat64 ldr r7, =__NR_fstat64
@ -12,7 +10,7 @@ ENTRY(fstat64)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(fstat64) END(fstat64)
.globl fstat .globl fstat

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(fstatat64) ENTRY(fstatat64)
mov ip, r7 mov ip, r7
ldr r7, =__NR_fstatat64 ldr r7, =__NR_fstatat64
@ -12,7 +10,7 @@ ENTRY(fstatat64)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(fstatat64) END(fstatat64)
.globl fstatat .globl fstatat

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(fsync) ENTRY(fsync)
mov ip, r7 mov ip, r7
ldr r7, =__NR_fsync ldr r7, =__NR_fsync
@ -12,5 +10,5 @@ ENTRY(fsync)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(fsync) END(fsync)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(ftruncate) ENTRY(ftruncate)
mov ip, r7 mov ip, r7
ldr r7, =__NR_ftruncate ldr r7, =__NR_ftruncate
@ -12,5 +10,5 @@ ENTRY(ftruncate)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(ftruncate) END(ftruncate)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(ftruncate64) ENTRY(ftruncate64)
mov ip, r7 mov ip, r7
ldr r7, =__NR_ftruncate64 ldr r7, =__NR_ftruncate64
@ -12,5 +10,5 @@ ENTRY(ftruncate64)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(ftruncate64) END(ftruncate64)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(getegid) ENTRY(getegid)
mov ip, r7 mov ip, r7
ldr r7, =__NR_getegid32 ldr r7, =__NR_getegid32
@ -12,5 +10,5 @@ ENTRY(getegid)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(getegid) END(getegid)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(geteuid) ENTRY(geteuid)
mov ip, r7 mov ip, r7
ldr r7, =__NR_geteuid32 ldr r7, =__NR_geteuid32
@ -12,5 +10,5 @@ ENTRY(geteuid)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(geteuid) END(geteuid)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(getgid) ENTRY(getgid)
mov ip, r7 mov ip, r7
ldr r7, =__NR_getgid32 ldr r7, =__NR_getgid32
@ -12,5 +10,5 @@ ENTRY(getgid)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(getgid) END(getgid)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(getgroups) ENTRY(getgroups)
mov ip, r7 mov ip, r7
ldr r7, =__NR_getgroups32 ldr r7, =__NR_getgroups32
@ -12,5 +10,5 @@ ENTRY(getgroups)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(getgroups) END(getgroups)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(getitimer) ENTRY(getitimer)
mov ip, r7 mov ip, r7
ldr r7, =__NR_getitimer ldr r7, =__NR_getitimer
@ -12,5 +10,5 @@ ENTRY(getitimer)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(getitimer) END(getitimer)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(getpeername) ENTRY(getpeername)
mov ip, r7 mov ip, r7
ldr r7, =__NR_getpeername ldr r7, =__NR_getpeername
@ -12,5 +10,5 @@ ENTRY(getpeername)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(getpeername) END(getpeername)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(getpgid) ENTRY(getpgid)
mov ip, r7 mov ip, r7
ldr r7, =__NR_getpgid ldr r7, =__NR_getpgid
@ -12,5 +10,5 @@ ENTRY(getpgid)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(getpgid) END(getpgid)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(getppid) ENTRY(getppid)
mov ip, r7 mov ip, r7
ldr r7, =__NR_getppid ldr r7, =__NR_getppid
@ -12,5 +10,5 @@ ENTRY(getppid)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(getppid) END(getppid)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(getresgid) ENTRY(getresgid)
mov ip, r7 mov ip, r7
ldr r7, =__NR_getresgid32 ldr r7, =__NR_getresgid32
@ -12,5 +10,5 @@ ENTRY(getresgid)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(getresgid) END(getresgid)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(getresuid) ENTRY(getresuid)
mov ip, r7 mov ip, r7
ldr r7, =__NR_getresuid32 ldr r7, =__NR_getresuid32
@ -12,5 +10,5 @@ ENTRY(getresuid)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(getresuid) END(getresuid)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(getrlimit) ENTRY(getrlimit)
mov ip, r7 mov ip, r7
ldr r7, =__NR_ugetrlimit ldr r7, =__NR_ugetrlimit
@ -12,5 +10,5 @@ ENTRY(getrlimit)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(getrlimit) END(getrlimit)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(getrusage) ENTRY(getrusage)
mov ip, r7 mov ip, r7
ldr r7, =__NR_getrusage ldr r7, =__NR_getrusage
@ -12,5 +10,5 @@ ENTRY(getrusage)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(getrusage) END(getrusage)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(getsid) ENTRY(getsid)
mov ip, r7 mov ip, r7
ldr r7, =__NR_getsid ldr r7, =__NR_getsid
@ -12,5 +10,5 @@ ENTRY(getsid)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(getsid) END(getsid)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(getsockname) ENTRY(getsockname)
mov ip, r7 mov ip, r7
ldr r7, =__NR_getsockname ldr r7, =__NR_getsockname
@ -12,5 +10,5 @@ ENTRY(getsockname)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(getsockname) END(getsockname)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(getsockopt) ENTRY(getsockopt)
mov ip, sp mov ip, sp
stmfd sp!, {r4, r5, r6, r7} stmfd sp!, {r4, r5, r6, r7}
@ -20,5 +18,5 @@ ENTRY(getsockopt)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(getsockopt) END(getsockopt)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(gettimeofday) ENTRY(gettimeofday)
mov ip, r7 mov ip, r7
ldr r7, =__NR_gettimeofday ldr r7, =__NR_gettimeofday
@ -12,5 +10,5 @@ ENTRY(gettimeofday)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(gettimeofday) END(gettimeofday)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(getuid) ENTRY(getuid)
mov ip, r7 mov ip, r7
ldr r7, =__NR_getuid32 ldr r7, =__NR_getuid32
@ -12,5 +10,5 @@ ENTRY(getuid)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(getuid) END(getuid)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(getxattr) ENTRY(getxattr)
mov ip, r7 mov ip, r7
ldr r7, =__NR_getxattr ldr r7, =__NR_getxattr
@ -12,5 +10,5 @@ ENTRY(getxattr)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(getxattr) END(getxattr)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(init_module) ENTRY(init_module)
mov ip, r7 mov ip, r7
ldr r7, =__NR_init_module ldr r7, =__NR_init_module
@ -12,5 +10,5 @@ ENTRY(init_module)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(init_module) END(init_module)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(inotify_add_watch) ENTRY(inotify_add_watch)
mov ip, r7 mov ip, r7
ldr r7, =__NR_inotify_add_watch ldr r7, =__NR_inotify_add_watch
@ -12,5 +10,5 @@ ENTRY(inotify_add_watch)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(inotify_add_watch) END(inotify_add_watch)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(inotify_init1) ENTRY(inotify_init1)
mov ip, r7 mov ip, r7
ldr r7, =__NR_inotify_init1 ldr r7, =__NR_inotify_init1
@ -12,5 +10,5 @@ ENTRY(inotify_init1)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(inotify_init1) END(inotify_init1)

View File

@ -2,8 +2,6 @@
#include <private/bionic_asm.h> #include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(inotify_rm_watch) ENTRY(inotify_rm_watch)
mov ip, r7 mov ip, r7
ldr r7, =__NR_inotify_rm_watch ldr r7, =__NR_inotify_rm_watch
@ -12,5 +10,5 @@ ENTRY(inotify_rm_watch)
cmn r0, #(MAX_ERRNO + 1) cmn r0, #(MAX_ERRNO + 1)
bxls lr bxls lr
neg r0, r0 neg r0, r0
b __set_errno b __set_errno_internal
END(inotify_rm_watch) END(inotify_rm_watch)

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