OSDN Git Service

MIPS: 32/64-bit VDSO support
authorGoran Ferenc <goran.ferenc@imgtec.com>
Tue, 30 May 2017 14:00:41 +0000 (16:00 +0200)
committerElliott Hughes <enh@google.com>
Thu, 1 Jun 2017 15:50:57 +0000 (08:50 -0700)
commit996f6decfad3cb0a3e87c0f7e5c0578ccae45d56
treef301c19a2b53159a290f92e1237bc6bc6a31031f
parent15eaaddef9fffda1209e9cc576b47b0f6e0cb379
MIPS: 32/64-bit VDSO support

File libc/SYSCALLS.TXT is updated to generate bionic's system call wrappers
for clock_gettime() & gettimeofday() that will be called if kernel vdso
implementations fail to execute.
The system call wrappers are generated using a python script gensyscalls.py.

Since all architectures support vdso now, there is no more need for conditional
statements regarding supported architectures in libc/bionic/vdso.cpp &
libc/private/bionic_vdso.h files.

Test: builds
Change-Id: I7213f29c179a7929851499d78a72900638ae861a
Signed-off-by: Goran Ferenc <goran.ferenc@imgtec.com>
libc/SYSCALLS.TXT
libc/arch-mips/syscalls/__clock_gettime.S [moved from libc/arch-mips/syscalls/clock_gettime.S with 86% similarity]
libc/arch-mips/syscalls/__gettimeofday.S [moved from libc/arch-mips/syscalls/gettimeofday.S with 86% similarity]
libc/arch-mips64/syscalls/__clock_gettime.S [moved from libc/arch-mips64/syscalls/clock_gettime.S with 84% similarity]
libc/arch-mips64/syscalls/__gettimeofday.S [moved from libc/arch-mips64/syscalls/gettimeofday.S with 84% similarity]
libc/bionic/vdso.cpp
libc/private/bionic_vdso.h