diff options
author | Elliott Hughes <enh@google.com> | 2014-02-19 14:54:31 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-02-19 14:54:31 -0800 |
commit | 9abbbdc5346020e33a8fdbe7254dd0fdff9df616 (patch) | |
tree | 9a4c06c1cb4b09c8c957c72e061984db2321cc40 /libc/arch-mips/syscalls | |
parent | e6c451f5f2e17fccccedaa1c2a90d8d9ba0c1917 (diff) | |
download | bionic-9abbbdc5346020e33a8fdbe7254dd0fdff9df616.zip bionic-9abbbdc5346020e33a8fdbe7254dd0fdff9df616.tar.gz bionic-9abbbdc5346020e33a8fdbe7254dd0fdff9df616.tar.bz2 |
Make mips/mips64 syscall stubs more like the other architectures.
Change-Id: I55f8c1a95f643a6e484f12fbcc25e2c77e55b6b8
Diffstat (limited to 'libc/arch-mips/syscalls')
196 files changed, 588 insertions, 1764 deletions
diff --git a/libc/arch-mips/syscalls/__brk.S b/libc/arch-mips/syscalls/__brk.S index cfe5494..9325c26 100644 --- a/libc/arch-mips/syscalls/__brk.S +++ b/libc/arch-mips/syscalls/__brk.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __brk - .align 4 - .ent __brk +#include <private/bionic_asm.h> -__brk: +ENTRY(__brk) .set noreorder .cpload t9 li v0, __NR_brk @@ -22,4 +16,4 @@ __brk: j t9 nop .set reorder - .end __brk +END(__brk) diff --git a/libc/arch-mips/syscalls/__epoll_pwait.S b/libc/arch-mips/syscalls/__epoll_pwait.S index bff520a..a417cdd 100644 --- a/libc/arch-mips/syscalls/__epoll_pwait.S +++ b/libc/arch-mips/syscalls/__epoll_pwait.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __epoll_pwait - .align 4 - .ent __epoll_pwait +#include <private/bionic_asm.h> -__epoll_pwait: +ENTRY(__epoll_pwait) .set noreorder .cpload t9 li v0, __NR_epoll_pwait @@ -22,4 +16,4 @@ __epoll_pwait: j t9 nop .set reorder - .end __epoll_pwait +END(__epoll_pwait) diff --git a/libc/arch-mips/syscalls/__exit.S b/libc/arch-mips/syscalls/__exit.S index ca4e820..1515b41 100644 --- a/libc/arch-mips/syscalls/__exit.S +++ b/libc/arch-mips/syscalls/__exit.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __exit - .align 4 - .ent __exit +#include <private/bionic_asm.h> -__exit: +ENTRY(__exit) .set noreorder .cpload t9 li v0, __NR_exit @@ -22,4 +16,4 @@ __exit: j t9 nop .set reorder - .end __exit +END(__exit) diff --git a/libc/arch-mips/syscalls/__fcntl64.S b/libc/arch-mips/syscalls/__fcntl64.S index 33d8932..b9815a1 100644 --- a/libc/arch-mips/syscalls/__fcntl64.S +++ b/libc/arch-mips/syscalls/__fcntl64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __fcntl64 - .align 4 - .ent __fcntl64 +#include <private/bionic_asm.h> -__fcntl64: +ENTRY(__fcntl64) .set noreorder .cpload t9 li v0, __NR_fcntl64 @@ -22,4 +16,4 @@ __fcntl64: j t9 nop .set reorder - .end __fcntl64 +END(__fcntl64) diff --git a/libc/arch-mips/syscalls/__fstatfs64.S b/libc/arch-mips/syscalls/__fstatfs64.S index 9fd19bf..8774a53 100644 --- a/libc/arch-mips/syscalls/__fstatfs64.S +++ b/libc/arch-mips/syscalls/__fstatfs64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __fstatfs64 - .align 4 - .ent __fstatfs64 +#include <private/bionic_asm.h> -__fstatfs64: +ENTRY(__fstatfs64) .set noreorder .cpload t9 li v0, __NR_fstatfs64 @@ -22,4 +16,4 @@ __fstatfs64: j t9 nop .set reorder - .end __fstatfs64 +END(__fstatfs64) diff --git a/libc/arch-mips/syscalls/__getcpu.S b/libc/arch-mips/syscalls/__getcpu.S index 042417e..2352e01 100644 --- a/libc/arch-mips/syscalls/__getcpu.S +++ b/libc/arch-mips/syscalls/__getcpu.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __getcpu - .align 4 - .ent __getcpu +#include <private/bionic_asm.h> -__getcpu: +ENTRY(__getcpu) .set noreorder .cpload t9 li v0, __NR_getcpu @@ -22,4 +16,4 @@ __getcpu: j t9 nop .set reorder - .end __getcpu +END(__getcpu) diff --git a/libc/arch-mips/syscalls/__getcwd.S b/libc/arch-mips/syscalls/__getcwd.S index ff805fe..e844f9a 100644 --- a/libc/arch-mips/syscalls/__getcwd.S +++ b/libc/arch-mips/syscalls/__getcwd.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __getcwd - .align 4 - .ent __getcwd +#include <private/bionic_asm.h> -__getcwd: +ENTRY(__getcwd) .set noreorder .cpload t9 li v0, __NR_getcwd @@ -22,4 +16,4 @@ __getcwd: j t9 nop .set reorder - .end __getcwd +END(__getcwd) diff --git a/libc/arch-mips/syscalls/__getpriority.S b/libc/arch-mips/syscalls/__getpriority.S index 1f7259e..882386b 100644 --- a/libc/arch-mips/syscalls/__getpriority.S +++ b/libc/arch-mips/syscalls/__getpriority.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __getpriority - .align 4 - .ent __getpriority +#include <private/bionic_asm.h> -__getpriority: +ENTRY(__getpriority) .set noreorder .cpload t9 li v0, __NR_getpriority @@ -22,4 +16,4 @@ __getpriority: j t9 nop .set reorder - .end __getpriority +END(__getpriority) diff --git a/libc/arch-mips/syscalls/__ioctl.S b/libc/arch-mips/syscalls/__ioctl.S index 8830733..ddf5323 100644 --- a/libc/arch-mips/syscalls/__ioctl.S +++ b/libc/arch-mips/syscalls/__ioctl.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __ioctl - .align 4 - .ent __ioctl +#include <private/bionic_asm.h> -__ioctl: +ENTRY(__ioctl) .set noreorder .cpload t9 li v0, __NR_ioctl @@ -22,4 +16,4 @@ __ioctl: j t9 nop .set reorder - .end __ioctl +END(__ioctl) diff --git a/libc/arch-mips/syscalls/__llseek.S b/libc/arch-mips/syscalls/__llseek.S index 7128319..10819f7 100644 --- a/libc/arch-mips/syscalls/__llseek.S +++ b/libc/arch-mips/syscalls/__llseek.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __llseek - .align 4 - .ent __llseek +#include <private/bionic_asm.h> -__llseek: +ENTRY(__llseek) .set noreorder .cpload t9 li v0, __NR__llseek @@ -22,4 +16,4 @@ __llseek: j t9 nop .set reorder - .end __llseek +END(__llseek) diff --git a/libc/arch-mips/syscalls/__mmap2.S b/libc/arch-mips/syscalls/__mmap2.S index 712c311..5372817 100644 --- a/libc/arch-mips/syscalls/__mmap2.S +++ b/libc/arch-mips/syscalls/__mmap2.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __mmap2 - .align 4 - .ent __mmap2 +#include <private/bionic_asm.h> -__mmap2: +ENTRY(__mmap2) .set noreorder .cpload t9 li v0, __NR_mmap2 @@ -22,4 +16,4 @@ __mmap2: j t9 nop .set reorder - .end __mmap2 +END(__mmap2) diff --git a/libc/arch-mips/syscalls/__openat.S b/libc/arch-mips/syscalls/__openat.S index f30002c..f833dd8 100644 --- a/libc/arch-mips/syscalls/__openat.S +++ b/libc/arch-mips/syscalls/__openat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __openat - .align 4 - .ent __openat +#include <private/bionic_asm.h> -__openat: +ENTRY(__openat) .set noreorder .cpload t9 li v0, __NR_openat @@ -22,4 +16,4 @@ __openat: j t9 nop .set reorder - .end __openat +END(__openat) diff --git a/libc/arch-mips/syscalls/__ppoll.S b/libc/arch-mips/syscalls/__ppoll.S index 9c78d76..a5711d9 100644 --- a/libc/arch-mips/syscalls/__ppoll.S +++ b/libc/arch-mips/syscalls/__ppoll.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __ppoll - .align 4 - .ent __ppoll +#include <private/bionic_asm.h> -__ppoll: +ENTRY(__ppoll) .set noreorder .cpload t9 li v0, __NR_ppoll @@ -22,4 +16,4 @@ __ppoll: j t9 nop .set reorder - .end __ppoll +END(__ppoll) diff --git a/libc/arch-mips/syscalls/__pselect6.S b/libc/arch-mips/syscalls/__pselect6.S index 235679b..4c0a0a5 100644 --- a/libc/arch-mips/syscalls/__pselect6.S +++ b/libc/arch-mips/syscalls/__pselect6.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __pselect6 - .align 4 - .ent __pselect6 +#include <private/bionic_asm.h> -__pselect6: +ENTRY(__pselect6) .set noreorder .cpload t9 li v0, __NR_pselect6 @@ -22,4 +16,4 @@ __pselect6: j t9 nop .set reorder - .end __pselect6 +END(__pselect6) diff --git a/libc/arch-mips/syscalls/__ptrace.S b/libc/arch-mips/syscalls/__ptrace.S index d792558..fcbe529 100644 --- a/libc/arch-mips/syscalls/__ptrace.S +++ b/libc/arch-mips/syscalls/__ptrace.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __ptrace - .align 4 - .ent __ptrace +#include <private/bionic_asm.h> -__ptrace: +ENTRY(__ptrace) .set noreorder .cpload t9 li v0, __NR_ptrace @@ -22,4 +16,4 @@ __ptrace: j t9 nop .set reorder - .end __ptrace +END(__ptrace) diff --git a/libc/arch-mips/syscalls/__reboot.S b/libc/arch-mips/syscalls/__reboot.S index e5be535..4aa0e7a 100644 --- a/libc/arch-mips/syscalls/__reboot.S +++ b/libc/arch-mips/syscalls/__reboot.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __reboot - .align 4 - .ent __reboot +#include <private/bionic_asm.h> -__reboot: +ENTRY(__reboot) .set noreorder .cpload t9 li v0, __NR_reboot @@ -22,4 +16,4 @@ __reboot: j t9 nop .set reorder - .end __reboot +END(__reboot) diff --git a/libc/arch-mips/syscalls/__rt_sigaction.S b/libc/arch-mips/syscalls/__rt_sigaction.S index 35ec829..6c5bc37 100644 --- a/libc/arch-mips/syscalls/__rt_sigaction.S +++ b/libc/arch-mips/syscalls/__rt_sigaction.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __rt_sigaction - .align 4 - .ent __rt_sigaction +#include <private/bionic_asm.h> -__rt_sigaction: +ENTRY(__rt_sigaction) .set noreorder .cpload t9 li v0, __NR_rt_sigaction @@ -22,4 +16,4 @@ __rt_sigaction: j t9 nop .set reorder - .end __rt_sigaction +END(__rt_sigaction) diff --git a/libc/arch-mips/syscalls/__rt_sigpending.S b/libc/arch-mips/syscalls/__rt_sigpending.S index fb695f5..e62f079 100644 --- a/libc/arch-mips/syscalls/__rt_sigpending.S +++ b/libc/arch-mips/syscalls/__rt_sigpending.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __rt_sigpending - .align 4 - .ent __rt_sigpending +#include <private/bionic_asm.h> -__rt_sigpending: +ENTRY(__rt_sigpending) .set noreorder .cpload t9 li v0, __NR_rt_sigpending @@ -22,4 +16,4 @@ __rt_sigpending: j t9 nop .set reorder - .end __rt_sigpending +END(__rt_sigpending) diff --git a/libc/arch-mips/syscalls/__rt_sigprocmask.S b/libc/arch-mips/syscalls/__rt_sigprocmask.S index 674d645..94ef493 100644 --- a/libc/arch-mips/syscalls/__rt_sigprocmask.S +++ b/libc/arch-mips/syscalls/__rt_sigprocmask.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __rt_sigprocmask - .align 4 - .ent __rt_sigprocmask +#include <private/bionic_asm.h> -__rt_sigprocmask: +ENTRY(__rt_sigprocmask) .set noreorder .cpload t9 li v0, __NR_rt_sigprocmask @@ -22,4 +16,4 @@ __rt_sigprocmask: j t9 nop .set reorder - .end __rt_sigprocmask +END(__rt_sigprocmask) diff --git a/libc/arch-mips/syscalls/__rt_sigsuspend.S b/libc/arch-mips/syscalls/__rt_sigsuspend.S index 15c709d..077746f 100644 --- a/libc/arch-mips/syscalls/__rt_sigsuspend.S +++ b/libc/arch-mips/syscalls/__rt_sigsuspend.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __rt_sigsuspend - .align 4 - .ent __rt_sigsuspend +#include <private/bionic_asm.h> -__rt_sigsuspend: +ENTRY(__rt_sigsuspend) .set noreorder .cpload t9 li v0, __NR_rt_sigsuspend @@ -22,4 +16,4 @@ __rt_sigsuspend: j t9 nop .set reorder - .end __rt_sigsuspend +END(__rt_sigsuspend) diff --git a/libc/arch-mips/syscalls/__rt_sigtimedwait.S b/libc/arch-mips/syscalls/__rt_sigtimedwait.S index d4f4a00..404eab7 100644 --- a/libc/arch-mips/syscalls/__rt_sigtimedwait.S +++ b/libc/arch-mips/syscalls/__rt_sigtimedwait.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __rt_sigtimedwait - .align 4 - .ent __rt_sigtimedwait +#include <private/bionic_asm.h> -__rt_sigtimedwait: +ENTRY(__rt_sigtimedwait) .set noreorder .cpload t9 li v0, __NR_rt_sigtimedwait @@ -22,4 +16,4 @@ __rt_sigtimedwait: j t9 nop .set reorder - .end __rt_sigtimedwait +END(__rt_sigtimedwait) diff --git a/libc/arch-mips/syscalls/__sched_getaffinity.S b/libc/arch-mips/syscalls/__sched_getaffinity.S index a5fdd67..da71709 100644 --- a/libc/arch-mips/syscalls/__sched_getaffinity.S +++ b/libc/arch-mips/syscalls/__sched_getaffinity.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __sched_getaffinity - .align 4 - .ent __sched_getaffinity +#include <private/bionic_asm.h> -__sched_getaffinity: +ENTRY(__sched_getaffinity) .set noreorder .cpload t9 li v0, __NR_sched_getaffinity @@ -22,4 +16,4 @@ __sched_getaffinity: j t9 nop .set reorder - .end __sched_getaffinity +END(__sched_getaffinity) diff --git a/libc/arch-mips/syscalls/__set_thread_area.S b/libc/arch-mips/syscalls/__set_thread_area.S index 0e796c4..f83249e 100644 --- a/libc/arch-mips/syscalls/__set_thread_area.S +++ b/libc/arch-mips/syscalls/__set_thread_area.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __set_thread_area - .align 4 - .ent __set_thread_area +#include <private/bionic_asm.h> -__set_thread_area: +ENTRY(__set_thread_area) .set noreorder .cpload t9 li v0, __NR_set_thread_area @@ -22,4 +16,4 @@ __set_thread_area: j t9 nop .set reorder - .end __set_thread_area +END(__set_thread_area) diff --git a/libc/arch-mips/syscalls/__set_tid_address.S b/libc/arch-mips/syscalls/__set_tid_address.S index 27db911..146cd0d 100644 --- a/libc/arch-mips/syscalls/__set_tid_address.S +++ b/libc/arch-mips/syscalls/__set_tid_address.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __set_tid_address - .align 4 - .ent __set_tid_address +#include <private/bionic_asm.h> -__set_tid_address: +ENTRY(__set_tid_address) .set noreorder .cpload t9 li v0, __NR_set_tid_address @@ -22,4 +16,4 @@ __set_tid_address: j t9 nop .set reorder - .end __set_tid_address +END(__set_tid_address) diff --git a/libc/arch-mips/syscalls/__sigaction.S b/libc/arch-mips/syscalls/__sigaction.S index aa9ead7..03dd9da 100644 --- a/libc/arch-mips/syscalls/__sigaction.S +++ b/libc/arch-mips/syscalls/__sigaction.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __sigaction - .align 4 - .ent __sigaction +#include <private/bionic_asm.h> -__sigaction: +ENTRY(__sigaction) .set noreorder .cpload t9 li v0, __NR_sigaction @@ -22,4 +16,4 @@ __sigaction: j t9 nop .set reorder - .end __sigaction +END(__sigaction) diff --git a/libc/arch-mips/syscalls/__statfs64.S b/libc/arch-mips/syscalls/__statfs64.S index d6cc518..9f94e6a 100644 --- a/libc/arch-mips/syscalls/__statfs64.S +++ b/libc/arch-mips/syscalls/__statfs64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __statfs64 - .align 4 - .ent __statfs64 +#include <private/bionic_asm.h> -__statfs64: +ENTRY(__statfs64) .set noreorder .cpload t9 li v0, __NR_statfs64 @@ -22,4 +16,4 @@ __statfs64: j t9 nop .set reorder - .end __statfs64 +END(__statfs64) diff --git a/libc/arch-mips/syscalls/__syslog.S b/libc/arch-mips/syscalls/__syslog.S index 2b71f11..ace69c7 100644 --- a/libc/arch-mips/syscalls/__syslog.S +++ b/libc/arch-mips/syscalls/__syslog.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __syslog - .align 4 - .ent __syslog +#include <private/bionic_asm.h> -__syslog: +ENTRY(__syslog) .set noreorder .cpload t9 li v0, __NR_syslog @@ -22,4 +16,4 @@ __syslog: j t9 nop .set reorder - .end __syslog +END(__syslog) diff --git a/libc/arch-mips/syscalls/__timer_create.S b/libc/arch-mips/syscalls/__timer_create.S index 399590d..449bd28 100644 --- a/libc/arch-mips/syscalls/__timer_create.S +++ b/libc/arch-mips/syscalls/__timer_create.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __timer_create - .align 4 - .ent __timer_create +#include <private/bionic_asm.h> -__timer_create: +ENTRY(__timer_create) .set noreorder .cpload t9 li v0, __NR_timer_create @@ -22,4 +16,4 @@ __timer_create: j t9 nop .set reorder - .end __timer_create +END(__timer_create) diff --git a/libc/arch-mips/syscalls/__timer_delete.S b/libc/arch-mips/syscalls/__timer_delete.S index 47d3706..7bc5e05 100644 --- a/libc/arch-mips/syscalls/__timer_delete.S +++ b/libc/arch-mips/syscalls/__timer_delete.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __timer_delete - .align 4 - .ent __timer_delete +#include <private/bionic_asm.h> -__timer_delete: +ENTRY(__timer_delete) .set noreorder .cpload t9 li v0, __NR_timer_delete @@ -22,4 +16,4 @@ __timer_delete: j t9 nop .set reorder - .end __timer_delete +END(__timer_delete) diff --git a/libc/arch-mips/syscalls/__timer_getoverrun.S b/libc/arch-mips/syscalls/__timer_getoverrun.S index 97ae207..7382c91 100644 --- a/libc/arch-mips/syscalls/__timer_getoverrun.S +++ b/libc/arch-mips/syscalls/__timer_getoverrun.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __timer_getoverrun - .align 4 - .ent __timer_getoverrun +#include <private/bionic_asm.h> -__timer_getoverrun: +ENTRY(__timer_getoverrun) .set noreorder .cpload t9 li v0, __NR_timer_getoverrun @@ -22,4 +16,4 @@ __timer_getoverrun: j t9 nop .set reorder - .end __timer_getoverrun +END(__timer_getoverrun) diff --git a/libc/arch-mips/syscalls/__timer_gettime.S b/libc/arch-mips/syscalls/__timer_gettime.S index 45e05ae..d6195b9 100644 --- a/libc/arch-mips/syscalls/__timer_gettime.S +++ b/libc/arch-mips/syscalls/__timer_gettime.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __timer_gettime - .align 4 - .ent __timer_gettime +#include <private/bionic_asm.h> -__timer_gettime: +ENTRY(__timer_gettime) .set noreorder .cpload t9 li v0, __NR_timer_gettime @@ -22,4 +16,4 @@ __timer_gettime: j t9 nop .set reorder - .end __timer_gettime +END(__timer_gettime) diff --git a/libc/arch-mips/syscalls/__timer_settime.S b/libc/arch-mips/syscalls/__timer_settime.S index da13eac..9fbab86 100644 --- a/libc/arch-mips/syscalls/__timer_settime.S +++ b/libc/arch-mips/syscalls/__timer_settime.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __timer_settime - .align 4 - .ent __timer_settime +#include <private/bionic_asm.h> -__timer_settime: +ENTRY(__timer_settime) .set noreorder .cpload t9 li v0, __NR_timer_settime @@ -22,4 +16,4 @@ __timer_settime: j t9 nop .set reorder - .end __timer_settime +END(__timer_settime) diff --git a/libc/arch-mips/syscalls/__waitid.S b/libc/arch-mips/syscalls/__waitid.S index c3ade3a..4c9142e 100644 --- a/libc/arch-mips/syscalls/__waitid.S +++ b/libc/arch-mips/syscalls/__waitid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl __waitid - .align 4 - .ent __waitid +#include <private/bionic_asm.h> -__waitid: +ENTRY(__waitid) .set noreorder .cpload t9 li v0, __NR_waitid @@ -22,4 +16,4 @@ __waitid: j t9 nop .set reorder - .end __waitid +END(__waitid) diff --git a/libc/arch-mips/syscalls/_exit.S b/libc/arch-mips/syscalls/_exit.S index 64d5494..5a0877d 100644 --- a/libc/arch-mips/syscalls/_exit.S +++ b/libc/arch-mips/syscalls/_exit.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl _exit - .align 4 - .ent _exit +#include <private/bionic_asm.h> -_exit: +ENTRY(_exit) .set noreorder .cpload t9 li v0, __NR_exit_group @@ -22,4 +16,4 @@ _exit: j t9 nop .set reorder - .end _exit +END(_exit) diff --git a/libc/arch-mips/syscalls/_flush_cache.S b/libc/arch-mips/syscalls/_flush_cache.S index 1d14843..64967fe 100644 --- a/libc/arch-mips/syscalls/_flush_cache.S +++ b/libc/arch-mips/syscalls/_flush_cache.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl _flush_cache - .align 4 - .ent _flush_cache +#include <private/bionic_asm.h> -_flush_cache: +ENTRY(_flush_cache) .set noreorder .cpload t9 li v0, __NR_cacheflush @@ -22,4 +16,4 @@ _flush_cache: j t9 nop .set reorder - .end _flush_cache +END(_flush_cache) diff --git a/libc/arch-mips/syscalls/accept.S b/libc/arch-mips/syscalls/accept.S index da29290..09496ab 100644 --- a/libc/arch-mips/syscalls/accept.S +++ b/libc/arch-mips/syscalls/accept.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl accept - .align 4 - .ent accept +#include <private/bionic_asm.h> -accept: +ENTRY(accept) .set noreorder .cpload t9 li v0, __NR_accept @@ -22,4 +16,4 @@ accept: j t9 nop .set reorder - .end accept +END(accept) diff --git a/libc/arch-mips/syscalls/acct.S b/libc/arch-mips/syscalls/acct.S index 05bbdc2..6e4a4f2 100644 --- a/libc/arch-mips/syscalls/acct.S +++ b/libc/arch-mips/syscalls/acct.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl acct - .align 4 - .ent acct +#include <private/bionic_asm.h> -acct: +ENTRY(acct) .set noreorder .cpload t9 li v0, __NR_acct @@ -22,4 +16,4 @@ acct: j t9 nop .set reorder - .end acct +END(acct) diff --git a/libc/arch-mips/syscalls/bind.S b/libc/arch-mips/syscalls/bind.S index e45203f..9119aa8 100644 --- a/libc/arch-mips/syscalls/bind.S +++ b/libc/arch-mips/syscalls/bind.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl bind - .align 4 - .ent bind +#include <private/bionic_asm.h> -bind: +ENTRY(bind) .set noreorder .cpload t9 li v0, __NR_bind @@ -22,4 +16,4 @@ bind: j t9 nop .set reorder - .end bind +END(bind) diff --git a/libc/arch-mips/syscalls/capget.S b/libc/arch-mips/syscalls/capget.S index 05fe75f..549dc76 100644 --- a/libc/arch-mips/syscalls/capget.S +++ b/libc/arch-mips/syscalls/capget.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl capget - .align 4 - .ent capget +#include <private/bionic_asm.h> -capget: +ENTRY(capget) .set noreorder .cpload t9 li v0, __NR_capget @@ -22,4 +16,4 @@ capget: j t9 nop .set reorder - .end capget +END(capget) diff --git a/libc/arch-mips/syscalls/capset.S b/libc/arch-mips/syscalls/capset.S index d731c09..637ac37 100644 --- a/libc/arch-mips/syscalls/capset.S +++ b/libc/arch-mips/syscalls/capset.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl capset - .align 4 - .ent capset +#include <private/bionic_asm.h> -capset: +ENTRY(capset) .set noreorder .cpload t9 li v0, __NR_capset @@ -22,4 +16,4 @@ capset: j t9 nop .set reorder - .end capset +END(capset) diff --git a/libc/arch-mips/syscalls/chdir.S b/libc/arch-mips/syscalls/chdir.S index e757ebf..752e4e7 100644 --- a/libc/arch-mips/syscalls/chdir.S +++ b/libc/arch-mips/syscalls/chdir.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl chdir - .align 4 - .ent chdir +#include <private/bionic_asm.h> -chdir: +ENTRY(chdir) .set noreorder .cpload t9 li v0, __NR_chdir @@ -22,4 +16,4 @@ chdir: j t9 nop .set reorder - .end chdir +END(chdir) diff --git a/libc/arch-mips/syscalls/chroot.S b/libc/arch-mips/syscalls/chroot.S index d3a431d..d1ffc97 100644 --- a/libc/arch-mips/syscalls/chroot.S +++ b/libc/arch-mips/syscalls/chroot.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl chroot - .align 4 - .ent chroot +#include <private/bionic_asm.h> -chroot: +ENTRY(chroot) .set noreorder .cpload t9 li v0, __NR_chroot @@ -22,4 +16,4 @@ chroot: j t9 nop .set reorder - .end chroot +END(chroot) diff --git a/libc/arch-mips/syscalls/clock_getres.S b/libc/arch-mips/syscalls/clock_getres.S index 7b65c83..49d9bba 100644 --- a/libc/arch-mips/syscalls/clock_getres.S +++ b/libc/arch-mips/syscalls/clock_getres.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl clock_getres - .align 4 - .ent clock_getres +#include <private/bionic_asm.h> -clock_getres: +ENTRY(clock_getres) .set noreorder .cpload t9 li v0, __NR_clock_getres @@ -22,4 +16,4 @@ clock_getres: j t9 nop .set reorder - .end clock_getres +END(clock_getres) diff --git a/libc/arch-mips/syscalls/clock_gettime.S b/libc/arch-mips/syscalls/clock_gettime.S index 05e21b4..42929e8 100644 --- a/libc/arch-mips/syscalls/clock_gettime.S +++ b/libc/arch-mips/syscalls/clock_gettime.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl clock_gettime - .align 4 - .ent clock_gettime +#include <private/bionic_asm.h> -clock_gettime: +ENTRY(clock_gettime) .set noreorder .cpload t9 li v0, __NR_clock_gettime @@ -22,4 +16,4 @@ clock_gettime: j t9 nop .set reorder - .end clock_gettime +END(clock_gettime) diff --git a/libc/arch-mips/syscalls/clock_nanosleep.S b/libc/arch-mips/syscalls/clock_nanosleep.S index 03ed9fd..e7c25ce 100644 --- a/libc/arch-mips/syscalls/clock_nanosleep.S +++ b/libc/arch-mips/syscalls/clock_nanosleep.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl clock_nanosleep - .align 4 - .ent clock_nanosleep +#include <private/bionic_asm.h> -clock_nanosleep: +ENTRY(clock_nanosleep) .set noreorder .cpload t9 li v0, __NR_clock_nanosleep @@ -22,4 +16,4 @@ clock_nanosleep: j t9 nop .set reorder - .end clock_nanosleep +END(clock_nanosleep) diff --git a/libc/arch-mips/syscalls/clock_settime.S b/libc/arch-mips/syscalls/clock_settime.S index 66719d8..e7dda91 100644 --- a/libc/arch-mips/syscalls/clock_settime.S +++ b/libc/arch-mips/syscalls/clock_settime.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl clock_settime - .align 4 - .ent clock_settime +#include <private/bionic_asm.h> -clock_settime: +ENTRY(clock_settime) .set noreorder .cpload t9 li v0, __NR_clock_settime @@ -22,4 +16,4 @@ clock_settime: j t9 nop .set reorder - .end clock_settime +END(clock_settime) diff --git a/libc/arch-mips/syscalls/close.S b/libc/arch-mips/syscalls/close.S index a997dab..bc2c325 100644 --- a/libc/arch-mips/syscalls/close.S +++ b/libc/arch-mips/syscalls/close.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl close - .align 4 - .ent close +#include <private/bionic_asm.h> -close: +ENTRY(close) .set noreorder .cpload t9 li v0, __NR_close @@ -22,4 +16,4 @@ close: j t9 nop .set reorder - .end close +END(close) diff --git a/libc/arch-mips/syscalls/connect.S b/libc/arch-mips/syscalls/connect.S index 646eaa5..6f10652 100644 --- a/libc/arch-mips/syscalls/connect.S +++ b/libc/arch-mips/syscalls/connect.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl connect - .align 4 - .ent connect +#include <private/bionic_asm.h> -connect: +ENTRY(connect) .set noreorder .cpload t9 li v0, __NR_connect @@ -22,4 +16,4 @@ connect: j t9 nop .set reorder - .end connect +END(connect) diff --git a/libc/arch-mips/syscalls/delete_module.S b/libc/arch-mips/syscalls/delete_module.S index a6d03f3..9247f5a 100644 --- a/libc/arch-mips/syscalls/delete_module.S +++ b/libc/arch-mips/syscalls/delete_module.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl delete_module - .align 4 - .ent delete_module +#include <private/bionic_asm.h> -delete_module: +ENTRY(delete_module) .set noreorder .cpload t9 li v0, __NR_delete_module @@ -22,4 +16,4 @@ delete_module: j t9 nop .set reorder - .end delete_module +END(delete_module) diff --git a/libc/arch-mips/syscalls/dup.S b/libc/arch-mips/syscalls/dup.S index 49fbf39..61b1c03 100644 --- a/libc/arch-mips/syscalls/dup.S +++ b/libc/arch-mips/syscalls/dup.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl dup - .align 4 - .ent dup +#include <private/bionic_asm.h> -dup: +ENTRY(dup) .set noreorder .cpload t9 li v0, __NR_dup @@ -22,4 +16,4 @@ dup: j t9 nop .set reorder - .end dup +END(dup) diff --git a/libc/arch-mips/syscalls/dup3.S b/libc/arch-mips/syscalls/dup3.S index 637a7d4..d0694e8 100644 --- a/libc/arch-mips/syscalls/dup3.S +++ b/libc/arch-mips/syscalls/dup3.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl dup3 - .align 4 - .ent dup3 +#include <private/bionic_asm.h> -dup3: +ENTRY(dup3) .set noreorder .cpload t9 li v0, __NR_dup3 @@ -22,4 +16,4 @@ dup3: j t9 nop .set reorder - .end dup3 +END(dup3) diff --git a/libc/arch-mips/syscalls/epoll_create1.S b/libc/arch-mips/syscalls/epoll_create1.S index 26fbdd7..2043f39 100644 --- a/libc/arch-mips/syscalls/epoll_create1.S +++ b/libc/arch-mips/syscalls/epoll_create1.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl epoll_create1 - .align 4 - .ent epoll_create1 +#include <private/bionic_asm.h> -epoll_create1: +ENTRY(epoll_create1) .set noreorder .cpload t9 li v0, __NR_epoll_create1 @@ -22,4 +16,4 @@ epoll_create1: j t9 nop .set reorder - .end epoll_create1 +END(epoll_create1) diff --git a/libc/arch-mips/syscalls/epoll_ctl.S b/libc/arch-mips/syscalls/epoll_ctl.S index 77cae69..9474d3a 100644 --- a/libc/arch-mips/syscalls/epoll_ctl.S +++ b/libc/arch-mips/syscalls/epoll_ctl.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl epoll_ctl - .align 4 - .ent epoll_ctl +#include <private/bionic_asm.h> -epoll_ctl: +ENTRY(epoll_ctl) .set noreorder .cpload t9 li v0, __NR_epoll_ctl @@ -22,4 +16,4 @@ epoll_ctl: j t9 nop .set reorder - .end epoll_ctl +END(epoll_ctl) diff --git a/libc/arch-mips/syscalls/eventfd.S b/libc/arch-mips/syscalls/eventfd.S index ada783e..5282a91 100644 --- a/libc/arch-mips/syscalls/eventfd.S +++ b/libc/arch-mips/syscalls/eventfd.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl eventfd - .align 4 - .ent eventfd +#include <private/bionic_asm.h> -eventfd: +ENTRY(eventfd) .set noreorder .cpload t9 li v0, __NR_eventfd2 @@ -22,4 +16,4 @@ eventfd: j t9 nop .set reorder - .end eventfd +END(eventfd) diff --git a/libc/arch-mips/syscalls/execve.S b/libc/arch-mips/syscalls/execve.S index 531a7af..fcaec0a 100644 --- a/libc/arch-mips/syscalls/execve.S +++ b/libc/arch-mips/syscalls/execve.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl execve - .align 4 - .ent execve +#include <private/bionic_asm.h> -execve: +ENTRY(execve) .set noreorder .cpload t9 li v0, __NR_execve @@ -22,4 +16,4 @@ execve: j t9 nop .set reorder - .end execve +END(execve) diff --git a/libc/arch-mips/syscalls/faccessat.S b/libc/arch-mips/syscalls/faccessat.S index 9735ef1..e7afe2a 100644 --- a/libc/arch-mips/syscalls/faccessat.S +++ b/libc/arch-mips/syscalls/faccessat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl faccessat - .align 4 - .ent faccessat +#include <private/bionic_asm.h> -faccessat: +ENTRY(faccessat) .set noreorder .cpload t9 li v0, __NR_faccessat @@ -22,4 +16,4 @@ faccessat: j t9 nop .set reorder - .end faccessat +END(faccessat) diff --git a/libc/arch-mips/syscalls/fallocate64.S b/libc/arch-mips/syscalls/fallocate64.S index 7747f2a..d814606 100644 --- a/libc/arch-mips/syscalls/fallocate64.S +++ b/libc/arch-mips/syscalls/fallocate64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl fallocate64 - .align 4 - .ent fallocate64 +#include <private/bionic_asm.h> -fallocate64: +ENTRY(fallocate64) .set noreorder .cpload t9 li v0, __NR_fallocate @@ -22,4 +16,4 @@ fallocate64: j t9 nop .set reorder - .end fallocate64 +END(fallocate64) diff --git a/libc/arch-mips/syscalls/fchdir.S b/libc/arch-mips/syscalls/fchdir.S index 71fafed..daac0f5 100644 --- a/libc/arch-mips/syscalls/fchdir.S +++ b/libc/arch-mips/syscalls/fchdir.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl fchdir - .align 4 - .ent fchdir +#include <private/bionic_asm.h> -fchdir: +ENTRY(fchdir) .set noreorder .cpload t9 li v0, __NR_fchdir @@ -22,4 +16,4 @@ fchdir: j t9 nop .set reorder - .end fchdir +END(fchdir) diff --git a/libc/arch-mips/syscalls/fchmod.S b/libc/arch-mips/syscalls/fchmod.S index 77e4205..e947e41 100644 --- a/libc/arch-mips/syscalls/fchmod.S +++ b/libc/arch-mips/syscalls/fchmod.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl fchmod - .align 4 - .ent fchmod +#include <private/bionic_asm.h> -fchmod: +ENTRY(fchmod) .set noreorder .cpload t9 li v0, __NR_fchmod @@ -22,4 +16,4 @@ fchmod: j t9 nop .set reorder - .end fchmod +END(fchmod) diff --git a/libc/arch-mips/syscalls/fchmodat.S b/libc/arch-mips/syscalls/fchmodat.S index 3fd74fb..4d2a7d3 100644 --- a/libc/arch-mips/syscalls/fchmodat.S +++ b/libc/arch-mips/syscalls/fchmodat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl fchmodat - .align 4 - .ent fchmodat +#include <private/bionic_asm.h> -fchmodat: +ENTRY(fchmodat) .set noreorder .cpload t9 li v0, __NR_fchmodat @@ -22,4 +16,4 @@ fchmodat: j t9 nop .set reorder - .end fchmodat +END(fchmodat) diff --git a/libc/arch-mips/syscalls/fchown.S b/libc/arch-mips/syscalls/fchown.S index 8cf754f..f59c0f4 100644 --- a/libc/arch-mips/syscalls/fchown.S +++ b/libc/arch-mips/syscalls/fchown.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl fchown - .align 4 - .ent fchown +#include <private/bionic_asm.h> -fchown: +ENTRY(fchown) .set noreorder .cpload t9 li v0, __NR_fchown @@ -22,4 +16,4 @@ fchown: j t9 nop .set reorder - .end fchown +END(fchown) diff --git a/libc/arch-mips/syscalls/fchownat.S b/libc/arch-mips/syscalls/fchownat.S index 2292458..af44cbc 100644 --- a/libc/arch-mips/syscalls/fchownat.S +++ b/libc/arch-mips/syscalls/fchownat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl fchownat - .align 4 - .ent fchownat +#include <private/bionic_asm.h> -fchownat: +ENTRY(fchownat) .set noreorder .cpload t9 li v0, __NR_fchownat @@ -22,4 +16,4 @@ fchownat: j t9 nop .set reorder - .end fchownat +END(fchownat) diff --git a/libc/arch-mips/syscalls/fdatasync.S b/libc/arch-mips/syscalls/fdatasync.S index 899a209..07e3592 100644 --- a/libc/arch-mips/syscalls/fdatasync.S +++ b/libc/arch-mips/syscalls/fdatasync.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl fdatasync - .align 4 - .ent fdatasync +#include <private/bionic_asm.h> -fdatasync: +ENTRY(fdatasync) .set noreorder .cpload t9 li v0, __NR_fdatasync @@ -22,4 +16,4 @@ fdatasync: j t9 nop .set reorder - .end fdatasync +END(fdatasync) diff --git a/libc/arch-mips/syscalls/fgetxattr.S b/libc/arch-mips/syscalls/fgetxattr.S index eb515c9..035e71c 100644 --- a/libc/arch-mips/syscalls/fgetxattr.S +++ b/libc/arch-mips/syscalls/fgetxattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl fgetxattr - .align 4 - .ent fgetxattr +#include <private/bionic_asm.h> -fgetxattr: +ENTRY(fgetxattr) .set noreorder .cpload t9 li v0, __NR_fgetxattr @@ -22,4 +16,4 @@ fgetxattr: j t9 nop .set reorder - .end fgetxattr +END(fgetxattr) diff --git a/libc/arch-mips/syscalls/flistxattr.S b/libc/arch-mips/syscalls/flistxattr.S index 3c4a2b4..500cd97 100644 --- a/libc/arch-mips/syscalls/flistxattr.S +++ b/libc/arch-mips/syscalls/flistxattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl flistxattr - .align 4 - .ent flistxattr +#include <private/bionic_asm.h> -flistxattr: +ENTRY(flistxattr) .set noreorder .cpload t9 li v0, __NR_flistxattr @@ -22,4 +16,4 @@ flistxattr: j t9 nop .set reorder - .end flistxattr +END(flistxattr) diff --git a/libc/arch-mips/syscalls/flock.S b/libc/arch-mips/syscalls/flock.S index 00c179f..7d843ab 100644 --- a/libc/arch-mips/syscalls/flock.S +++ b/libc/arch-mips/syscalls/flock.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl flock - .align 4 - .ent flock +#include <private/bionic_asm.h> -flock: +ENTRY(flock) .set noreorder .cpload t9 li v0, __NR_flock @@ -22,4 +16,4 @@ flock: j t9 nop .set reorder - .end flock +END(flock) diff --git a/libc/arch-mips/syscalls/fremovexattr.S b/libc/arch-mips/syscalls/fremovexattr.S index 91402eb..9f16186 100644 --- a/libc/arch-mips/syscalls/fremovexattr.S +++ b/libc/arch-mips/syscalls/fremovexattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl fremovexattr - .align 4 - .ent fremovexattr +#include <private/bionic_asm.h> -fremovexattr: +ENTRY(fremovexattr) .set noreorder .cpload t9 li v0, __NR_fremovexattr @@ -22,4 +16,4 @@ fremovexattr: j t9 nop .set reorder - .end fremovexattr +END(fremovexattr) diff --git a/libc/arch-mips/syscalls/fsetxattr.S b/libc/arch-mips/syscalls/fsetxattr.S index eb26bd6..0347128 100644 --- a/libc/arch-mips/syscalls/fsetxattr.S +++ b/libc/arch-mips/syscalls/fsetxattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl fsetxattr - .align 4 - .ent fsetxattr +#include <private/bionic_asm.h> -fsetxattr: +ENTRY(fsetxattr) .set noreorder .cpload t9 li v0, __NR_fsetxattr @@ -22,4 +16,4 @@ fsetxattr: j t9 nop .set reorder - .end fsetxattr +END(fsetxattr) diff --git a/libc/arch-mips/syscalls/fstat64.S b/libc/arch-mips/syscalls/fstat64.S index f557dc8..7228541 100644 --- a/libc/arch-mips/syscalls/fstat64.S +++ b/libc/arch-mips/syscalls/fstat64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl fstat64 - .align 4 - .ent fstat64 +#include <private/bionic_asm.h> -fstat64: +ENTRY(fstat64) .set noreorder .cpload t9 li v0, __NR_fstat64 @@ -22,7 +16,7 @@ fstat64: j t9 nop .set reorder - .end fstat64 +END(fstat64) .globl fstat .equ fstat, fstat64 diff --git a/libc/arch-mips/syscalls/fstatat64.S b/libc/arch-mips/syscalls/fstatat64.S index f5aa9ad..b2903f2 100644 --- a/libc/arch-mips/syscalls/fstatat64.S +++ b/libc/arch-mips/syscalls/fstatat64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl fstatat64 - .align 4 - .ent fstatat64 +#include <private/bionic_asm.h> -fstatat64: +ENTRY(fstatat64) .set noreorder .cpload t9 li v0, __NR_fstatat64 @@ -22,7 +16,7 @@ fstatat64: j t9 nop .set reorder - .end fstatat64 +END(fstatat64) .globl fstatat .equ fstatat, fstatat64 diff --git a/libc/arch-mips/syscalls/fsync.S b/libc/arch-mips/syscalls/fsync.S index 5718e40..96b417d 100644 --- a/libc/arch-mips/syscalls/fsync.S +++ b/libc/arch-mips/syscalls/fsync.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl fsync - .align 4 - .ent fsync +#include <private/bionic_asm.h> -fsync: +ENTRY(fsync) .set noreorder .cpload t9 li v0, __NR_fsync @@ -22,4 +16,4 @@ fsync: j t9 nop .set reorder - .end fsync +END(fsync) diff --git a/libc/arch-mips/syscalls/ftruncate.S b/libc/arch-mips/syscalls/ftruncate.S index 9004c9a..bd428fb 100644 --- a/libc/arch-mips/syscalls/ftruncate.S +++ b/libc/arch-mips/syscalls/ftruncate.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl ftruncate - .align 4 - .ent ftruncate +#include <private/bionic_asm.h> -ftruncate: +ENTRY(ftruncate) .set noreorder .cpload t9 li v0, __NR_ftruncate @@ -22,4 +16,4 @@ ftruncate: j t9 nop .set reorder - .end ftruncate +END(ftruncate) diff --git a/libc/arch-mips/syscalls/ftruncate64.S b/libc/arch-mips/syscalls/ftruncate64.S index 27c7c2a..357e9a5 100644 --- a/libc/arch-mips/syscalls/ftruncate64.S +++ b/libc/arch-mips/syscalls/ftruncate64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl ftruncate64 - .align 4 - .ent ftruncate64 +#include <private/bionic_asm.h> -ftruncate64: +ENTRY(ftruncate64) .set noreorder .cpload t9 li v0, __NR_ftruncate64 @@ -22,4 +16,4 @@ ftruncate64: j t9 nop .set reorder - .end ftruncate64 +END(ftruncate64) diff --git a/libc/arch-mips/syscalls/futex.S b/libc/arch-mips/syscalls/futex.S index bf935e0..a865fea 100644 --- a/libc/arch-mips/syscalls/futex.S +++ b/libc/arch-mips/syscalls/futex.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl futex - .align 4 - .ent futex +#include <private/bionic_asm.h> -futex: +ENTRY(futex) .set noreorder .cpload t9 li v0, __NR_futex @@ -22,4 +16,4 @@ futex: j t9 nop .set reorder - .end futex +END(futex) diff --git a/libc/arch-mips/syscalls/getdents.S b/libc/arch-mips/syscalls/getdents.S index 7ac22e3..ce92886 100644 --- a/libc/arch-mips/syscalls/getdents.S +++ b/libc/arch-mips/syscalls/getdents.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl getdents - .align 4 - .ent getdents +#include <private/bionic_asm.h> -getdents: +ENTRY(getdents) .set noreorder .cpload t9 li v0, __NR_getdents64 @@ -22,4 +16,4 @@ getdents: j t9 nop .set reorder - .end getdents +END(getdents) diff --git a/libc/arch-mips/syscalls/getegid.S b/libc/arch-mips/syscalls/getegid.S index da9fb6c..c3a3ac0 100644 --- a/libc/arch-mips/syscalls/getegid.S +++ b/libc/arch-mips/syscalls/getegid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl getegid - .align 4 - .ent getegid +#include <private/bionic_asm.h> -getegid: +ENTRY(getegid) .set noreorder .cpload t9 li v0, __NR_getegid @@ -22,4 +16,4 @@ getegid: j t9 nop .set reorder - .end getegid +END(getegid) diff --git a/libc/arch-mips/syscalls/geteuid.S b/libc/arch-mips/syscalls/geteuid.S index 92cfcf9..66e6d4f 100644 --- a/libc/arch-mips/syscalls/geteuid.S +++ b/libc/arch-mips/syscalls/geteuid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl geteuid - .align 4 - .ent geteuid +#include <private/bionic_asm.h> -geteuid: +ENTRY(geteuid) .set noreorder .cpload t9 li v0, __NR_geteuid @@ -22,4 +16,4 @@ geteuid: j t9 nop .set reorder - .end geteuid +END(geteuid) diff --git a/libc/arch-mips/syscalls/getgid.S b/libc/arch-mips/syscalls/getgid.S index 8fa39b2..674d527 100644 --- a/libc/arch-mips/syscalls/getgid.S +++ b/libc/arch-mips/syscalls/getgid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl getgid - .align 4 - .ent getgid +#include <private/bionic_asm.h> -getgid: +ENTRY(getgid) .set noreorder .cpload t9 li v0, __NR_getgid @@ -22,4 +16,4 @@ getgid: j t9 nop .set reorder - .end getgid +END(getgid) diff --git a/libc/arch-mips/syscalls/getgroups.S b/libc/arch-mips/syscalls/getgroups.S index 0399240..caa031b 100644 --- a/libc/arch-mips/syscalls/getgroups.S +++ b/libc/arch-mips/syscalls/getgroups.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl getgroups - .align 4 - .ent getgroups +#include <private/bionic_asm.h> -getgroups: +ENTRY(getgroups) .set noreorder .cpload t9 li v0, __NR_getgroups @@ -22,4 +16,4 @@ getgroups: j t9 nop .set reorder - .end getgroups +END(getgroups) diff --git a/libc/arch-mips/syscalls/getitimer.S b/libc/arch-mips/syscalls/getitimer.S index c5f5b2d..e7a655a 100644 --- a/libc/arch-mips/syscalls/getitimer.S +++ b/libc/arch-mips/syscalls/getitimer.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl getitimer - .align 4 - .ent getitimer +#include <private/bionic_asm.h> -getitimer: +ENTRY(getitimer) .set noreorder .cpload t9 li v0, __NR_getitimer @@ -22,4 +16,4 @@ getitimer: j t9 nop .set reorder - .end getitimer +END(getitimer) diff --git a/libc/arch-mips/syscalls/getpeername.S b/libc/arch-mips/syscalls/getpeername.S index b70a04e..31df8ad 100644 --- a/libc/arch-mips/syscalls/getpeername.S +++ b/libc/arch-mips/syscalls/getpeername.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl getpeername - .align 4 - .ent getpeername +#include <private/bionic_asm.h> -getpeername: +ENTRY(getpeername) .set noreorder .cpload t9 li v0, __NR_getpeername @@ -22,4 +16,4 @@ getpeername: j t9 nop .set reorder - .end getpeername +END(getpeername) diff --git a/libc/arch-mips/syscalls/getpgid.S b/libc/arch-mips/syscalls/getpgid.S index 097edae..7e3e439 100644 --- a/libc/arch-mips/syscalls/getpgid.S +++ b/libc/arch-mips/syscalls/getpgid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl getpgid - .align 4 - .ent getpgid +#include <private/bionic_asm.h> -getpgid: +ENTRY(getpgid) .set noreorder .cpload t9 li v0, __NR_getpgid @@ -22,4 +16,4 @@ getpgid: j t9 nop .set reorder - .end getpgid +END(getpgid) diff --git a/libc/arch-mips/syscalls/getpid.S b/libc/arch-mips/syscalls/getpid.S index 37d26a5..a053f5b 100644 --- a/libc/arch-mips/syscalls/getpid.S +++ b/libc/arch-mips/syscalls/getpid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl getpid - .align 4 - .ent getpid +#include <private/bionic_asm.h> -getpid: +ENTRY(getpid) .set noreorder .cpload t9 li v0, __NR_getpid @@ -22,4 +16,4 @@ getpid: j t9 nop .set reorder - .end getpid +END(getpid) diff --git a/libc/arch-mips/syscalls/getppid.S b/libc/arch-mips/syscalls/getppid.S index ac2341d..3d76fc2 100644 --- a/libc/arch-mips/syscalls/getppid.S +++ b/libc/arch-mips/syscalls/getppid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl getppid - .align 4 - .ent getppid +#include <private/bionic_asm.h> -getppid: +ENTRY(getppid) .set noreorder .cpload t9 li v0, __NR_getppid @@ -22,4 +16,4 @@ getppid: j t9 nop .set reorder - .end getppid +END(getppid) diff --git a/libc/arch-mips/syscalls/getresgid.S b/libc/arch-mips/syscalls/getresgid.S index ee09473..235902a 100644 --- a/libc/arch-mips/syscalls/getresgid.S +++ b/libc/arch-mips/syscalls/getresgid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl getresgid - .align 4 - .ent getresgid +#include <private/bionic_asm.h> -getresgid: +ENTRY(getresgid) .set noreorder .cpload t9 li v0, __NR_getresgid @@ -22,4 +16,4 @@ getresgid: j t9 nop .set reorder - .end getresgid +END(getresgid) diff --git a/libc/arch-mips/syscalls/getresuid.S b/libc/arch-mips/syscalls/getresuid.S index e22d10c..c6c4c13 100644 --- a/libc/arch-mips/syscalls/getresuid.S +++ b/libc/arch-mips/syscalls/getresuid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl getresuid - .align 4 - .ent getresuid +#include <private/bionic_asm.h> -getresuid: +ENTRY(getresuid) .set noreorder .cpload t9 li v0, __NR_getresuid @@ -22,4 +16,4 @@ getresuid: j t9 nop .set reorder - .end getresuid +END(getresuid) diff --git a/libc/arch-mips/syscalls/getrlimit.S b/libc/arch-mips/syscalls/getrlimit.S index 8e11e25..ef4ae89 100644 --- a/libc/arch-mips/syscalls/getrlimit.S +++ b/libc/arch-mips/syscalls/getrlimit.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl getrlimit - .align 4 - .ent getrlimit +#include <private/bionic_asm.h> -getrlimit: +ENTRY(getrlimit) .set noreorder .cpload t9 li v0, __NR_getrlimit @@ -22,4 +16,4 @@ getrlimit: j t9 nop .set reorder - .end getrlimit +END(getrlimit) diff --git a/libc/arch-mips/syscalls/getrusage.S b/libc/arch-mips/syscalls/getrusage.S index c94b5ba..21cabfa 100644 --- a/libc/arch-mips/syscalls/getrusage.S +++ b/libc/arch-mips/syscalls/getrusage.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl getrusage - .align 4 - .ent getrusage +#include <private/bionic_asm.h> -getrusage: +ENTRY(getrusage) .set noreorder .cpload t9 li v0, __NR_getrusage @@ -22,4 +16,4 @@ getrusage: j t9 nop .set reorder - .end getrusage +END(getrusage) diff --git a/libc/arch-mips/syscalls/getsid.S b/libc/arch-mips/syscalls/getsid.S index d1f5840..b0b21a0 100644 --- a/libc/arch-mips/syscalls/getsid.S +++ b/libc/arch-mips/syscalls/getsid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl getsid - .align 4 - .ent getsid +#include <private/bionic_asm.h> -getsid: +ENTRY(getsid) .set noreorder .cpload t9 li v0, __NR_getsid @@ -22,4 +16,4 @@ getsid: j t9 nop .set reorder - .end getsid +END(getsid) diff --git a/libc/arch-mips/syscalls/getsockname.S b/libc/arch-mips/syscalls/getsockname.S index 1cc9530..82d0b83 100644 --- a/libc/arch-mips/syscalls/getsockname.S +++ b/libc/arch-mips/syscalls/getsockname.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl getsockname - .align 4 - .ent getsockname +#include <private/bionic_asm.h> -getsockname: +ENTRY(getsockname) .set noreorder .cpload t9 li v0, __NR_getsockname @@ -22,4 +16,4 @@ getsockname: j t9 nop .set reorder - .end getsockname +END(getsockname) diff --git a/libc/arch-mips/syscalls/getsockopt.S b/libc/arch-mips/syscalls/getsockopt.S index 73602a2..ad360e3 100644 --- a/libc/arch-mips/syscalls/getsockopt.S +++ b/libc/arch-mips/syscalls/getsockopt.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl getsockopt - .align 4 - .ent getsockopt +#include <private/bionic_asm.h> -getsockopt: +ENTRY(getsockopt) .set noreorder .cpload t9 li v0, __NR_getsockopt @@ -22,4 +16,4 @@ getsockopt: j t9 nop .set reorder - .end getsockopt +END(getsockopt) diff --git a/libc/arch-mips/syscalls/gettid.S b/libc/arch-mips/syscalls/gettid.S index 340b52f..cfdc57b 100644 --- a/libc/arch-mips/syscalls/gettid.S +++ b/libc/arch-mips/syscalls/gettid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl gettid - .align 4 - .ent gettid +#include <private/bionic_asm.h> -gettid: +ENTRY(gettid) .set noreorder .cpload t9 li v0, __NR_gettid @@ -22,4 +16,4 @@ gettid: j t9 nop .set reorder - .end gettid +END(gettid) diff --git a/libc/arch-mips/syscalls/gettimeofday.S b/libc/arch-mips/syscalls/gettimeofday.S index f0fa982..e66fd77 100644 --- a/libc/arch-mips/syscalls/gettimeofday.S +++ b/libc/arch-mips/syscalls/gettimeofday.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl gettimeofday - .align 4 - .ent gettimeofday +#include <private/bionic_asm.h> -gettimeofday: +ENTRY(gettimeofday) .set noreorder .cpload t9 li v0, __NR_gettimeofday @@ -22,4 +16,4 @@ gettimeofday: j t9 nop .set reorder - .end gettimeofday +END(gettimeofday) diff --git a/libc/arch-mips/syscalls/getuid.S b/libc/arch-mips/syscalls/getuid.S index ac416eb..345af71 100644 --- a/libc/arch-mips/syscalls/getuid.S +++ b/libc/arch-mips/syscalls/getuid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl getuid - .align 4 - .ent getuid +#include <private/bionic_asm.h> -getuid: +ENTRY(getuid) .set noreorder .cpload t9 li v0, __NR_getuid @@ -22,4 +16,4 @@ getuid: j t9 nop .set reorder - .end getuid +END(getuid) diff --git a/libc/arch-mips/syscalls/getxattr.S b/libc/arch-mips/syscalls/getxattr.S index e0181c8..c7e215e 100644 --- a/libc/arch-mips/syscalls/getxattr.S +++ b/libc/arch-mips/syscalls/getxattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl getxattr - .align 4 - .ent getxattr +#include <private/bionic_asm.h> -getxattr: +ENTRY(getxattr) .set noreorder .cpload t9 li v0, __NR_getxattr @@ -22,4 +16,4 @@ getxattr: j t9 nop .set reorder - .end getxattr +END(getxattr) diff --git a/libc/arch-mips/syscalls/init_module.S b/libc/arch-mips/syscalls/init_module.S index b11ae82..21ba5b1 100644 --- a/libc/arch-mips/syscalls/init_module.S +++ b/libc/arch-mips/syscalls/init_module.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl init_module - .align 4 - .ent init_module +#include <private/bionic_asm.h> -init_module: +ENTRY(init_module) .set noreorder .cpload t9 li v0, __NR_init_module @@ -22,4 +16,4 @@ init_module: j t9 nop .set reorder - .end init_module +END(init_module) diff --git a/libc/arch-mips/syscalls/inotify_add_watch.S b/libc/arch-mips/syscalls/inotify_add_watch.S index e3b2288..beb70ec 100644 --- a/libc/arch-mips/syscalls/inotify_add_watch.S +++ b/libc/arch-mips/syscalls/inotify_add_watch.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl inotify_add_watch - .align 4 - .ent inotify_add_watch +#include <private/bionic_asm.h> -inotify_add_watch: +ENTRY(inotify_add_watch) .set noreorder .cpload t9 li v0, __NR_inotify_add_watch @@ -22,4 +16,4 @@ inotify_add_watch: j t9 nop .set reorder - .end inotify_add_watch +END(inotify_add_watch) diff --git a/libc/arch-mips/syscalls/inotify_init1.S b/libc/arch-mips/syscalls/inotify_init1.S index edd98b5..6c825c6 100644 --- a/libc/arch-mips/syscalls/inotify_init1.S +++ b/libc/arch-mips/syscalls/inotify_init1.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl inotify_init1 - .align 4 - .ent inotify_init1 +#include <private/bionic_asm.h> -inotify_init1: +ENTRY(inotify_init1) .set noreorder .cpload t9 li v0, __NR_inotify_init1 @@ -22,4 +16,4 @@ inotify_init1: j t9 nop .set reorder - .end inotify_init1 +END(inotify_init1) diff --git a/libc/arch-mips/syscalls/inotify_rm_watch.S b/libc/arch-mips/syscalls/inotify_rm_watch.S index 3b8df5b..280f2b4 100644 --- a/libc/arch-mips/syscalls/inotify_rm_watch.S +++ b/libc/arch-mips/syscalls/inotify_rm_watch.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl inotify_rm_watch - .align 4 - .ent inotify_rm_watch +#include <private/bionic_asm.h> -inotify_rm_watch: +ENTRY(inotify_rm_watch) .set noreorder .cpload t9 li v0, __NR_inotify_rm_watch @@ -22,4 +16,4 @@ inotify_rm_watch: j t9 nop .set reorder - .end inotify_rm_watch +END(inotify_rm_watch) diff --git a/libc/arch-mips/syscalls/ioprio_get.S b/libc/arch-mips/syscalls/ioprio_get.S index cb03550..fbc8b17 100644 --- a/libc/arch-mips/syscalls/ioprio_get.S +++ b/libc/arch-mips/syscalls/ioprio_get.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl ioprio_get - .align 4 - .ent ioprio_get +#include <private/bionic_asm.h> -ioprio_get: +ENTRY(ioprio_get) .set noreorder .cpload t9 li v0, __NR_ioprio_get @@ -22,4 +16,4 @@ ioprio_get: j t9 nop .set reorder - .end ioprio_get +END(ioprio_get) diff --git a/libc/arch-mips/syscalls/ioprio_set.S b/libc/arch-mips/syscalls/ioprio_set.S index ed0c5e5..d0320ed 100644 --- a/libc/arch-mips/syscalls/ioprio_set.S +++ b/libc/arch-mips/syscalls/ioprio_set.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl ioprio_set - .align 4 - .ent ioprio_set +#include <private/bionic_asm.h> -ioprio_set: +ENTRY(ioprio_set) .set noreorder .cpload t9 li v0, __NR_ioprio_set @@ -22,4 +16,4 @@ ioprio_set: j t9 nop .set reorder - .end ioprio_set +END(ioprio_set) diff --git a/libc/arch-mips/syscalls/kill.S b/libc/arch-mips/syscalls/kill.S index 3cc121c..0941717 100644 --- a/libc/arch-mips/syscalls/kill.S +++ b/libc/arch-mips/syscalls/kill.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl kill - .align 4 - .ent kill +#include <private/bionic_asm.h> -kill: +ENTRY(kill) .set noreorder .cpload t9 li v0, __NR_kill @@ -22,4 +16,4 @@ kill: j t9 nop .set reorder - .end kill +END(kill) diff --git a/libc/arch-mips/syscalls/klogctl.S b/libc/arch-mips/syscalls/klogctl.S index b7f901e..ebc8837 100644 --- a/libc/arch-mips/syscalls/klogctl.S +++ b/libc/arch-mips/syscalls/klogctl.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl klogctl - .align 4 - .ent klogctl +#include <private/bionic_asm.h> -klogctl: +ENTRY(klogctl) .set noreorder .cpload t9 li v0, __NR_syslog @@ -22,4 +16,4 @@ klogctl: j t9 nop .set reorder - .end klogctl +END(klogctl) diff --git a/libc/arch-mips/syscalls/lgetxattr.S b/libc/arch-mips/syscalls/lgetxattr.S index 1384ed5..8c4a252 100644 --- a/libc/arch-mips/syscalls/lgetxattr.S +++ b/libc/arch-mips/syscalls/lgetxattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl lgetxattr - .align 4 - .ent lgetxattr +#include <private/bionic_asm.h> -lgetxattr: +ENTRY(lgetxattr) .set noreorder .cpload t9 li v0, __NR_lgetxattr @@ -22,4 +16,4 @@ lgetxattr: j t9 nop .set reorder - .end lgetxattr +END(lgetxattr) diff --git a/libc/arch-mips/syscalls/linkat.S b/libc/arch-mips/syscalls/linkat.S index be8207a..cc7278d 100644 --- a/libc/arch-mips/syscalls/linkat.S +++ b/libc/arch-mips/syscalls/linkat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl linkat - .align 4 - .ent linkat +#include <private/bionic_asm.h> -linkat: +ENTRY(linkat) .set noreorder .cpload t9 li v0, __NR_linkat @@ -22,4 +16,4 @@ linkat: j t9 nop .set reorder - .end linkat +END(linkat) diff --git a/libc/arch-mips/syscalls/listen.S b/libc/arch-mips/syscalls/listen.S index e684c79..68eba52 100644 --- a/libc/arch-mips/syscalls/listen.S +++ b/libc/arch-mips/syscalls/listen.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl listen - .align 4 - .ent listen +#include <private/bionic_asm.h> -listen: +ENTRY(listen) .set noreorder .cpload t9 li v0, __NR_listen @@ -22,4 +16,4 @@ listen: j t9 nop .set reorder - .end listen +END(listen) diff --git a/libc/arch-mips/syscalls/listxattr.S b/libc/arch-mips/syscalls/listxattr.S index b7699db..006bfce 100644 --- a/libc/arch-mips/syscalls/listxattr.S +++ b/libc/arch-mips/syscalls/listxattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl listxattr - .align 4 - .ent listxattr +#include <private/bionic_asm.h> -listxattr: +ENTRY(listxattr) .set noreorder .cpload t9 li v0, __NR_listxattr @@ -22,4 +16,4 @@ listxattr: j t9 nop .set reorder - .end listxattr +END(listxattr) diff --git a/libc/arch-mips/syscalls/llistxattr.S b/libc/arch-mips/syscalls/llistxattr.S index 36d3787..7f833ad 100644 --- a/libc/arch-mips/syscalls/llistxattr.S +++ b/libc/arch-mips/syscalls/llistxattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl llistxattr - .align 4 - .ent llistxattr +#include <private/bionic_asm.h> -llistxattr: +ENTRY(llistxattr) .set noreorder .cpload t9 li v0, __NR_llistxattr @@ -22,4 +16,4 @@ llistxattr: j t9 nop .set reorder - .end llistxattr +END(llistxattr) diff --git a/libc/arch-mips/syscalls/lremovexattr.S b/libc/arch-mips/syscalls/lremovexattr.S index fb03fc3..21d00ea 100644 --- a/libc/arch-mips/syscalls/lremovexattr.S +++ b/libc/arch-mips/syscalls/lremovexattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl lremovexattr - .align 4 - .ent lremovexattr +#include <private/bionic_asm.h> -lremovexattr: +ENTRY(lremovexattr) .set noreorder .cpload t9 li v0, __NR_lremovexattr @@ -22,4 +16,4 @@ lremovexattr: j t9 nop .set reorder - .end lremovexattr +END(lremovexattr) diff --git a/libc/arch-mips/syscalls/lseek.S b/libc/arch-mips/syscalls/lseek.S index 6ec2c01..82c2776 100644 --- a/libc/arch-mips/syscalls/lseek.S +++ b/libc/arch-mips/syscalls/lseek.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl lseek - .align 4 - .ent lseek +#include <private/bionic_asm.h> -lseek: +ENTRY(lseek) .set noreorder .cpload t9 li v0, __NR_lseek @@ -22,4 +16,4 @@ lseek: j t9 nop .set reorder - .end lseek +END(lseek) diff --git a/libc/arch-mips/syscalls/lsetxattr.S b/libc/arch-mips/syscalls/lsetxattr.S index 605cb4a..d54ec69 100644 --- a/libc/arch-mips/syscalls/lsetxattr.S +++ b/libc/arch-mips/syscalls/lsetxattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl lsetxattr - .align 4 - .ent lsetxattr +#include <private/bionic_asm.h> -lsetxattr: +ENTRY(lsetxattr) .set noreorder .cpload t9 li v0, __NR_lsetxattr @@ -22,4 +16,4 @@ lsetxattr: j t9 nop .set reorder - .end lsetxattr +END(lsetxattr) diff --git a/libc/arch-mips/syscalls/madvise.S b/libc/arch-mips/syscalls/madvise.S index 7a4c2fa..9aa2815 100644 --- a/libc/arch-mips/syscalls/madvise.S +++ b/libc/arch-mips/syscalls/madvise.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl madvise - .align 4 - .ent madvise +#include <private/bionic_asm.h> -madvise: +ENTRY(madvise) .set noreorder .cpload t9 li v0, __NR_madvise @@ -22,4 +16,4 @@ madvise: j t9 nop .set reorder - .end madvise +END(madvise) diff --git a/libc/arch-mips/syscalls/mincore.S b/libc/arch-mips/syscalls/mincore.S index 2ea3269..0db4313 100644 --- a/libc/arch-mips/syscalls/mincore.S +++ b/libc/arch-mips/syscalls/mincore.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl mincore - .align 4 - .ent mincore +#include <private/bionic_asm.h> -mincore: +ENTRY(mincore) .set noreorder .cpload t9 li v0, __NR_mincore @@ -22,4 +16,4 @@ mincore: j t9 nop .set reorder - .end mincore +END(mincore) diff --git a/libc/arch-mips/syscalls/mkdirat.S b/libc/arch-mips/syscalls/mkdirat.S index 97fcfa9..0ac98d4 100644 --- a/libc/arch-mips/syscalls/mkdirat.S +++ b/libc/arch-mips/syscalls/mkdirat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl mkdirat - .align 4 - .ent mkdirat +#include <private/bionic_asm.h> -mkdirat: +ENTRY(mkdirat) .set noreorder .cpload t9 li v0, __NR_mkdirat @@ -22,4 +16,4 @@ mkdirat: j t9 nop .set reorder - .end mkdirat +END(mkdirat) diff --git a/libc/arch-mips/syscalls/mknodat.S b/libc/arch-mips/syscalls/mknodat.S index 32c23c5..b85d8bf 100644 --- a/libc/arch-mips/syscalls/mknodat.S +++ b/libc/arch-mips/syscalls/mknodat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl mknodat - .align 4 - .ent mknodat +#include <private/bionic_asm.h> -mknodat: +ENTRY(mknodat) .set noreorder .cpload t9 li v0, __NR_mknodat @@ -22,4 +16,4 @@ mknodat: j t9 nop .set reorder - .end mknodat +END(mknodat) diff --git a/libc/arch-mips/syscalls/mlock.S b/libc/arch-mips/syscalls/mlock.S index 1fd890f..0ba2bca 100644 --- a/libc/arch-mips/syscalls/mlock.S +++ b/libc/arch-mips/syscalls/mlock.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl mlock - .align 4 - .ent mlock +#include <private/bionic_asm.h> -mlock: +ENTRY(mlock) .set noreorder .cpload t9 li v0, __NR_mlock @@ -22,4 +16,4 @@ mlock: j t9 nop .set reorder - .end mlock +END(mlock) diff --git a/libc/arch-mips/syscalls/mlockall.S b/libc/arch-mips/syscalls/mlockall.S index 1480af6..642c6e2 100644 --- a/libc/arch-mips/syscalls/mlockall.S +++ b/libc/arch-mips/syscalls/mlockall.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl mlockall - .align 4 - .ent mlockall +#include <private/bionic_asm.h> -mlockall: +ENTRY(mlockall) .set noreorder .cpload t9 li v0, __NR_mlockall @@ -22,4 +16,4 @@ mlockall: j t9 nop .set reorder - .end mlockall +END(mlockall) diff --git a/libc/arch-mips/syscalls/mount.S b/libc/arch-mips/syscalls/mount.S index d64db81..f0c5f6b 100644 --- a/libc/arch-mips/syscalls/mount.S +++ b/libc/arch-mips/syscalls/mount.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl mount - .align 4 - .ent mount +#include <private/bionic_asm.h> -mount: +ENTRY(mount) .set noreorder .cpload t9 li v0, __NR_mount @@ -22,4 +16,4 @@ mount: j t9 nop .set reorder - .end mount +END(mount) diff --git a/libc/arch-mips/syscalls/mprotect.S b/libc/arch-mips/syscalls/mprotect.S index fbfd535..c0ce988 100644 --- a/libc/arch-mips/syscalls/mprotect.S +++ b/libc/arch-mips/syscalls/mprotect.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl mprotect - .align 4 - .ent mprotect +#include <private/bionic_asm.h> -mprotect: +ENTRY(mprotect) .set noreorder .cpload t9 li v0, __NR_mprotect @@ -22,4 +16,4 @@ mprotect: j t9 nop .set reorder - .end mprotect +END(mprotect) diff --git a/libc/arch-mips/syscalls/mremap.S b/libc/arch-mips/syscalls/mremap.S index 30c81b5..bd4c385 100644 --- a/libc/arch-mips/syscalls/mremap.S +++ b/libc/arch-mips/syscalls/mremap.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl mremap - .align 4 - .ent mremap +#include <private/bionic_asm.h> -mremap: +ENTRY(mremap) .set noreorder .cpload t9 li v0, __NR_mremap @@ -22,4 +16,4 @@ mremap: j t9 nop .set reorder - .end mremap +END(mremap) diff --git a/libc/arch-mips/syscalls/msync.S b/libc/arch-mips/syscalls/msync.S index 4b20830..e8ecb2a 100644 --- a/libc/arch-mips/syscalls/msync.S +++ b/libc/arch-mips/syscalls/msync.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl msync - .align 4 - .ent msync +#include <private/bionic_asm.h> -msync: +ENTRY(msync) .set noreorder .cpload t9 li v0, __NR_msync @@ -22,4 +16,4 @@ msync: j t9 nop .set reorder - .end msync +END(msync) diff --git a/libc/arch-mips/syscalls/munlock.S b/libc/arch-mips/syscalls/munlock.S index 58e556e..f8ddc3a 100644 --- a/libc/arch-mips/syscalls/munlock.S +++ b/libc/arch-mips/syscalls/munlock.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl munlock - .align 4 - .ent munlock +#include <private/bionic_asm.h> -munlock: +ENTRY(munlock) .set noreorder .cpload t9 li v0, __NR_munlock @@ -22,4 +16,4 @@ munlock: j t9 nop .set reorder - .end munlock +END(munlock) diff --git a/libc/arch-mips/syscalls/munlockall.S b/libc/arch-mips/syscalls/munlockall.S index f8014e8..5ced5c6 100644 --- a/libc/arch-mips/syscalls/munlockall.S +++ b/libc/arch-mips/syscalls/munlockall.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl munlockall - .align 4 - .ent munlockall +#include <private/bionic_asm.h> -munlockall: +ENTRY(munlockall) .set noreorder .cpload t9 li v0, __NR_munlockall @@ -22,4 +16,4 @@ munlockall: j t9 nop .set reorder - .end munlockall +END(munlockall) diff --git a/libc/arch-mips/syscalls/munmap.S b/libc/arch-mips/syscalls/munmap.S index e0d69ba..527825c 100644 --- a/libc/arch-mips/syscalls/munmap.S +++ b/libc/arch-mips/syscalls/munmap.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl munmap - .align 4 - .ent munmap +#include <private/bionic_asm.h> -munmap: +ENTRY(munmap) .set noreorder .cpload t9 li v0, __NR_munmap @@ -22,4 +16,4 @@ munmap: j t9 nop .set reorder - .end munmap +END(munmap) diff --git a/libc/arch-mips/syscalls/nanosleep.S b/libc/arch-mips/syscalls/nanosleep.S index 723775b..8dc816a 100644 --- a/libc/arch-mips/syscalls/nanosleep.S +++ b/libc/arch-mips/syscalls/nanosleep.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl nanosleep - .align 4 - .ent nanosleep +#include <private/bionic_asm.h> -nanosleep: +ENTRY(nanosleep) .set noreorder .cpload t9 li v0, __NR_nanosleep @@ -22,4 +16,4 @@ nanosleep: j t9 nop .set reorder - .end nanosleep +END(nanosleep) diff --git a/libc/arch-mips/syscalls/perf_event_open.S b/libc/arch-mips/syscalls/perf_event_open.S index b5454c7..a0e4416 100644 --- a/libc/arch-mips/syscalls/perf_event_open.S +++ b/libc/arch-mips/syscalls/perf_event_open.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl perf_event_open - .align 4 - .ent perf_event_open +#include <private/bionic_asm.h> -perf_event_open: +ENTRY(perf_event_open) .set noreorder .cpload t9 li v0, __NR_perf_event_open @@ -22,4 +16,4 @@ perf_event_open: j t9 nop .set reorder - .end perf_event_open +END(perf_event_open) diff --git a/libc/arch-mips/syscalls/personality.S b/libc/arch-mips/syscalls/personality.S index fbd524f..e8449a7 100644 --- a/libc/arch-mips/syscalls/personality.S +++ b/libc/arch-mips/syscalls/personality.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl personality - .align 4 - .ent personality +#include <private/bionic_asm.h> -personality: +ENTRY(personality) .set noreorder .cpload t9 li v0, __NR_personality @@ -22,4 +16,4 @@ personality: j t9 nop .set reorder - .end personality +END(personality) diff --git a/libc/arch-mips/syscalls/pipe2.S b/libc/arch-mips/syscalls/pipe2.S index 2e5ee4f..478d364 100644 --- a/libc/arch-mips/syscalls/pipe2.S +++ b/libc/arch-mips/syscalls/pipe2.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl pipe2 - .align 4 - .ent pipe2 +#include <private/bionic_asm.h> -pipe2: +ENTRY(pipe2) .set noreorder .cpload t9 li v0, __NR_pipe2 @@ -22,4 +16,4 @@ pipe2: j t9 nop .set reorder - .end pipe2 +END(pipe2) diff --git a/libc/arch-mips/syscalls/prctl.S b/libc/arch-mips/syscalls/prctl.S index 2d4bc16..e9aff3c 100644 --- a/libc/arch-mips/syscalls/prctl.S +++ b/libc/arch-mips/syscalls/prctl.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl prctl - .align 4 - .ent prctl +#include <private/bionic_asm.h> -prctl: +ENTRY(prctl) .set noreorder .cpload t9 li v0, __NR_prctl @@ -22,4 +16,4 @@ prctl: j t9 nop .set reorder - .end prctl +END(prctl) diff --git a/libc/arch-mips/syscalls/pread64.S b/libc/arch-mips/syscalls/pread64.S index 9505acf..55a54c6 100644 --- a/libc/arch-mips/syscalls/pread64.S +++ b/libc/arch-mips/syscalls/pread64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl pread64 - .align 4 - .ent pread64 +#include <private/bionic_asm.h> -pread64: +ENTRY(pread64) .set noreorder .cpload t9 li v0, __NR_pread64 @@ -22,4 +16,4 @@ pread64: j t9 nop .set reorder - .end pread64 +END(pread64) diff --git a/libc/arch-mips/syscalls/prlimit64.S b/libc/arch-mips/syscalls/prlimit64.S index fa3ba76..c695d18 100644 --- a/libc/arch-mips/syscalls/prlimit64.S +++ b/libc/arch-mips/syscalls/prlimit64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl prlimit64 - .align 4 - .ent prlimit64 +#include <private/bionic_asm.h> -prlimit64: +ENTRY(prlimit64) .set noreorder .cpload t9 li v0, __NR_prlimit64 @@ -22,4 +16,4 @@ prlimit64: j t9 nop .set reorder - .end prlimit64 +END(prlimit64) diff --git a/libc/arch-mips/syscalls/pwrite64.S b/libc/arch-mips/syscalls/pwrite64.S index 96b1603..64d3ee1 100644 --- a/libc/arch-mips/syscalls/pwrite64.S +++ b/libc/arch-mips/syscalls/pwrite64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl pwrite64 - .align 4 - .ent pwrite64 +#include <private/bionic_asm.h> -pwrite64: +ENTRY(pwrite64) .set noreorder .cpload t9 li v0, __NR_pwrite64 @@ -22,4 +16,4 @@ pwrite64: j t9 nop .set reorder - .end pwrite64 +END(pwrite64) diff --git a/libc/arch-mips/syscalls/read.S b/libc/arch-mips/syscalls/read.S index 7915d17..ff548ab 100644 --- a/libc/arch-mips/syscalls/read.S +++ b/libc/arch-mips/syscalls/read.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl read - .align 4 - .ent read +#include <private/bionic_asm.h> -read: +ENTRY(read) .set noreorder .cpload t9 li v0, __NR_read @@ -22,4 +16,4 @@ read: j t9 nop .set reorder - .end read +END(read) diff --git a/libc/arch-mips/syscalls/readahead.S b/libc/arch-mips/syscalls/readahead.S index 5bc5796..674286a 100644 --- a/libc/arch-mips/syscalls/readahead.S +++ b/libc/arch-mips/syscalls/readahead.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl readahead - .align 4 - .ent readahead +#include <private/bionic_asm.h> -readahead: +ENTRY(readahead) .set noreorder .cpload t9 li v0, __NR_readahead @@ -22,4 +16,4 @@ readahead: j t9 nop .set reorder - .end readahead +END(readahead) diff --git a/libc/arch-mips/syscalls/readlinkat.S b/libc/arch-mips/syscalls/readlinkat.S index 2c2b079..a1c7d6b 100644 --- a/libc/arch-mips/syscalls/readlinkat.S +++ b/libc/arch-mips/syscalls/readlinkat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl readlinkat - .align 4 - .ent readlinkat +#include <private/bionic_asm.h> -readlinkat: +ENTRY(readlinkat) .set noreorder .cpload t9 li v0, __NR_readlinkat @@ -22,4 +16,4 @@ readlinkat: j t9 nop .set reorder - .end readlinkat +END(readlinkat) diff --git a/libc/arch-mips/syscalls/readv.S b/libc/arch-mips/syscalls/readv.S index fa429de..af5a4cb 100644 --- a/libc/arch-mips/syscalls/readv.S +++ b/libc/arch-mips/syscalls/readv.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl readv - .align 4 - .ent readv +#include <private/bionic_asm.h> -readv: +ENTRY(readv) .set noreorder .cpload t9 li v0, __NR_readv @@ -22,4 +16,4 @@ readv: j t9 nop .set reorder - .end readv +END(readv) diff --git a/libc/arch-mips/syscalls/recvfrom.S b/libc/arch-mips/syscalls/recvfrom.S index 6fa9d6a..04b04f6 100644 --- a/libc/arch-mips/syscalls/recvfrom.S +++ b/libc/arch-mips/syscalls/recvfrom.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl recvfrom - .align 4 - .ent recvfrom +#include <private/bionic_asm.h> -recvfrom: +ENTRY(recvfrom) .set noreorder .cpload t9 li v0, __NR_recvfrom @@ -22,4 +16,4 @@ recvfrom: j t9 nop .set reorder - .end recvfrom +END(recvfrom) diff --git a/libc/arch-mips/syscalls/recvmsg.S b/libc/arch-mips/syscalls/recvmsg.S index 55b861a..a0a3a3f 100644 --- a/libc/arch-mips/syscalls/recvmsg.S +++ b/libc/arch-mips/syscalls/recvmsg.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl recvmsg - .align 4 - .ent recvmsg +#include <private/bionic_asm.h> -recvmsg: +ENTRY(recvmsg) .set noreorder .cpload t9 li v0, __NR_recvmsg @@ -22,4 +16,4 @@ recvmsg: j t9 nop .set reorder - .end recvmsg +END(recvmsg) diff --git a/libc/arch-mips/syscalls/removexattr.S b/libc/arch-mips/syscalls/removexattr.S index a911d31..0f72ebf 100644 --- a/libc/arch-mips/syscalls/removexattr.S +++ b/libc/arch-mips/syscalls/removexattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl removexattr - .align 4 - .ent removexattr +#include <private/bionic_asm.h> -removexattr: +ENTRY(removexattr) .set noreorder .cpload t9 li v0, __NR_removexattr @@ -22,4 +16,4 @@ removexattr: j t9 nop .set reorder - .end removexattr +END(removexattr) diff --git a/libc/arch-mips/syscalls/renameat.S b/libc/arch-mips/syscalls/renameat.S index 3c00ec0..210b439 100644 --- a/libc/arch-mips/syscalls/renameat.S +++ b/libc/arch-mips/syscalls/renameat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl renameat - .align 4 - .ent renameat +#include <private/bionic_asm.h> -renameat: +ENTRY(renameat) .set noreorder .cpload t9 li v0, __NR_renameat @@ -22,4 +16,4 @@ renameat: j t9 nop .set reorder - .end renameat +END(renameat) diff --git a/libc/arch-mips/syscalls/sched_get_priority_max.S b/libc/arch-mips/syscalls/sched_get_priority_max.S index 77e9371..d15a868 100644 --- a/libc/arch-mips/syscalls/sched_get_priority_max.S +++ b/libc/arch-mips/syscalls/sched_get_priority_max.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl sched_get_priority_max - .align 4 - .ent sched_get_priority_max +#include <private/bionic_asm.h> -sched_get_priority_max: +ENTRY(sched_get_priority_max) .set noreorder .cpload t9 li v0, __NR_sched_get_priority_max @@ -22,4 +16,4 @@ sched_get_priority_max: j t9 nop .set reorder - .end sched_get_priority_max +END(sched_get_priority_max) diff --git a/libc/arch-mips/syscalls/sched_get_priority_min.S b/libc/arch-mips/syscalls/sched_get_priority_min.S index e91c12d..5ff21c6 100644 --- a/libc/arch-mips/syscalls/sched_get_priority_min.S +++ b/libc/arch-mips/syscalls/sched_get_priority_min.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl sched_get_priority_min - .align 4 - .ent sched_get_priority_min +#include <private/bionic_asm.h> -sched_get_priority_min: +ENTRY(sched_get_priority_min) .set noreorder .cpload t9 li v0, __NR_sched_get_priority_min @@ -22,4 +16,4 @@ sched_get_priority_min: j t9 nop .set reorder - .end sched_get_priority_min +END(sched_get_priority_min) diff --git a/libc/arch-mips/syscalls/sched_getparam.S b/libc/arch-mips/syscalls/sched_getparam.S index 3ff3bf5..1cbe720 100644 --- a/libc/arch-mips/syscalls/sched_getparam.S +++ b/libc/arch-mips/syscalls/sched_getparam.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl sched_getparam - .align 4 - .ent sched_getparam +#include <private/bionic_asm.h> -sched_getparam: +ENTRY(sched_getparam) .set noreorder .cpload t9 li v0, __NR_sched_getparam @@ -22,4 +16,4 @@ sched_getparam: j t9 nop .set reorder - .end sched_getparam +END(sched_getparam) diff --git a/libc/arch-mips/syscalls/sched_getscheduler.S b/libc/arch-mips/syscalls/sched_getscheduler.S index d07a4f4..88b16e0 100644 --- a/libc/arch-mips/syscalls/sched_getscheduler.S +++ b/libc/arch-mips/syscalls/sched_getscheduler.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl sched_getscheduler - .align 4 - .ent sched_getscheduler +#include <private/bionic_asm.h> -sched_getscheduler: +ENTRY(sched_getscheduler) .set noreorder .cpload t9 li v0, __NR_sched_getscheduler @@ -22,4 +16,4 @@ sched_getscheduler: j t9 nop .set reorder - .end sched_getscheduler +END(sched_getscheduler) diff --git a/libc/arch-mips/syscalls/sched_rr_get_interval.S b/libc/arch-mips/syscalls/sched_rr_get_interval.S index 656dc31..647ee3c 100644 --- a/libc/arch-mips/syscalls/sched_rr_get_interval.S +++ b/libc/arch-mips/syscalls/sched_rr_get_interval.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl sched_rr_get_interval - .align 4 - .ent sched_rr_get_interval +#include <private/bionic_asm.h> -sched_rr_get_interval: +ENTRY(sched_rr_get_interval) .set noreorder .cpload t9 li v0, __NR_sched_rr_get_interval @@ -22,4 +16,4 @@ sched_rr_get_interval: j t9 nop .set reorder - .end sched_rr_get_interval +END(sched_rr_get_interval) diff --git a/libc/arch-mips/syscalls/sched_setaffinity.S b/libc/arch-mips/syscalls/sched_setaffinity.S index f6ea425..1184766 100644 --- a/libc/arch-mips/syscalls/sched_setaffinity.S +++ b/libc/arch-mips/syscalls/sched_setaffinity.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl sched_setaffinity - .align 4 - .ent sched_setaffinity +#include <private/bionic_asm.h> -sched_setaffinity: +ENTRY(sched_setaffinity) .set noreorder .cpload t9 li v0, __NR_sched_setaffinity @@ -22,4 +16,4 @@ sched_setaffinity: j t9 nop .set reorder - .end sched_setaffinity +END(sched_setaffinity) diff --git a/libc/arch-mips/syscalls/sched_setparam.S b/libc/arch-mips/syscalls/sched_setparam.S index 2bdd790..1811c74 100644 --- a/libc/arch-mips/syscalls/sched_setparam.S +++ b/libc/arch-mips/syscalls/sched_setparam.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl sched_setparam - .align 4 - .ent sched_setparam +#include <private/bionic_asm.h> -sched_setparam: +ENTRY(sched_setparam) .set noreorder .cpload t9 li v0, __NR_sched_setparam @@ -22,4 +16,4 @@ sched_setparam: j t9 nop .set reorder - .end sched_setparam +END(sched_setparam) diff --git a/libc/arch-mips/syscalls/sched_setscheduler.S b/libc/arch-mips/syscalls/sched_setscheduler.S index c895a87..8921d30 100644 --- a/libc/arch-mips/syscalls/sched_setscheduler.S +++ b/libc/arch-mips/syscalls/sched_setscheduler.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl sched_setscheduler - .align 4 - .ent sched_setscheduler +#include <private/bionic_asm.h> -sched_setscheduler: +ENTRY(sched_setscheduler) .set noreorder .cpload t9 li v0, __NR_sched_setscheduler @@ -22,4 +16,4 @@ sched_setscheduler: j t9 nop .set reorder - .end sched_setscheduler +END(sched_setscheduler) diff --git a/libc/arch-mips/syscalls/sched_yield.S b/libc/arch-mips/syscalls/sched_yield.S index 6a3b709..37f09be 100644 --- a/libc/arch-mips/syscalls/sched_yield.S +++ b/libc/arch-mips/syscalls/sched_yield.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl sched_yield - .align 4 - .ent sched_yield +#include <private/bionic_asm.h> -sched_yield: +ENTRY(sched_yield) .set noreorder .cpload t9 li v0, __NR_sched_yield @@ -22,4 +16,4 @@ sched_yield: j t9 nop .set reorder - .end sched_yield +END(sched_yield) diff --git a/libc/arch-mips/syscalls/sendfile.S b/libc/arch-mips/syscalls/sendfile.S index fb09701..84466b9 100644 --- a/libc/arch-mips/syscalls/sendfile.S +++ b/libc/arch-mips/syscalls/sendfile.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl sendfile - .align 4 - .ent sendfile +#include <private/bionic_asm.h> -sendfile: +ENTRY(sendfile) .set noreorder .cpload t9 li v0, __NR_sendfile @@ -22,4 +16,4 @@ sendfile: j t9 nop .set reorder - .end sendfile +END(sendfile) diff --git a/libc/arch-mips/syscalls/sendfile64.S b/libc/arch-mips/syscalls/sendfile64.S index 1a16900..d9733f6 100644 --- a/libc/arch-mips/syscalls/sendfile64.S +++ b/libc/arch-mips/syscalls/sendfile64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl sendfile64 - .align 4 - .ent sendfile64 +#include <private/bionic_asm.h> -sendfile64: +ENTRY(sendfile64) .set noreorder .cpload t9 li v0, __NR_sendfile64 @@ -22,4 +16,4 @@ sendfile64: j t9 nop .set reorder - .end sendfile64 +END(sendfile64) diff --git a/libc/arch-mips/syscalls/sendmsg.S b/libc/arch-mips/syscalls/sendmsg.S index 6806eda..5c37c62 100644 --- a/libc/arch-mips/syscalls/sendmsg.S +++ b/libc/arch-mips/syscalls/sendmsg.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl sendmsg - .align 4 - .ent sendmsg +#include <private/bionic_asm.h> -sendmsg: +ENTRY(sendmsg) .set noreorder .cpload t9 li v0, __NR_sendmsg @@ -22,4 +16,4 @@ sendmsg: j t9 nop .set reorder - .end sendmsg +END(sendmsg) diff --git a/libc/arch-mips/syscalls/sendto.S b/libc/arch-mips/syscalls/sendto.S index 5e4435b..580d142 100644 --- a/libc/arch-mips/syscalls/sendto.S +++ b/libc/arch-mips/syscalls/sendto.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl sendto - .align 4 - .ent sendto +#include <private/bionic_asm.h> -sendto: +ENTRY(sendto) .set noreorder .cpload t9 li v0, __NR_sendto @@ -22,4 +16,4 @@ sendto: j t9 nop .set reorder - .end sendto +END(sendto) diff --git a/libc/arch-mips/syscalls/setgid.S b/libc/arch-mips/syscalls/setgid.S index df08a94..8fa188e 100644 --- a/libc/arch-mips/syscalls/setgid.S +++ b/libc/arch-mips/syscalls/setgid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl setgid - .align 4 - .ent setgid +#include <private/bionic_asm.h> -setgid: +ENTRY(setgid) .set noreorder .cpload t9 li v0, __NR_setgid @@ -22,4 +16,4 @@ setgid: j t9 nop .set reorder - .end setgid +END(setgid) diff --git a/libc/arch-mips/syscalls/setgroups.S b/libc/arch-mips/syscalls/setgroups.S index 9e7c1b7..f2d271c 100644 --- a/libc/arch-mips/syscalls/setgroups.S +++ b/libc/arch-mips/syscalls/setgroups.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl setgroups - .align 4 - .ent setgroups +#include <private/bionic_asm.h> -setgroups: +ENTRY(setgroups) .set noreorder .cpload t9 li v0, __NR_setgroups @@ -22,4 +16,4 @@ setgroups: j t9 nop .set reorder - .end setgroups +END(setgroups) diff --git a/libc/arch-mips/syscalls/setitimer.S b/libc/arch-mips/syscalls/setitimer.S index 5fab39d..a2eea84 100644 --- a/libc/arch-mips/syscalls/setitimer.S +++ b/libc/arch-mips/syscalls/setitimer.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl setitimer - .align 4 - .ent setitimer +#include <private/bionic_asm.h> -setitimer: +ENTRY(setitimer) .set noreorder .cpload t9 li v0, __NR_setitimer @@ -22,4 +16,4 @@ setitimer: j t9 nop .set reorder - .end setitimer +END(setitimer) diff --git a/libc/arch-mips/syscalls/setns.S b/libc/arch-mips/syscalls/setns.S index 4d5cdcb..8a4f674 100644 --- a/libc/arch-mips/syscalls/setns.S +++ b/libc/arch-mips/syscalls/setns.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl setns - .align 4 - .ent setns +#include <private/bionic_asm.h> -setns: +ENTRY(setns) .set noreorder .cpload t9 li v0, __NR_setns @@ -22,4 +16,4 @@ setns: j t9 nop .set reorder - .end setns +END(setns) diff --git a/libc/arch-mips/syscalls/setpgid.S b/libc/arch-mips/syscalls/setpgid.S index a19b225..c68f9a6 100644 --- a/libc/arch-mips/syscalls/setpgid.S +++ b/libc/arch-mips/syscalls/setpgid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl setpgid - .align 4 - .ent setpgid +#include <private/bionic_asm.h> -setpgid: +ENTRY(setpgid) .set noreorder .cpload t9 li v0, __NR_setpgid @@ -22,4 +16,4 @@ setpgid: j t9 nop .set reorder - .end setpgid +END(setpgid) diff --git a/libc/arch-mips/syscalls/setpriority.S b/libc/arch-mips/syscalls/setpriority.S index 5f23ea6..2bf9f47 100644 --- a/libc/arch-mips/syscalls/setpriority.S +++ b/libc/arch-mips/syscalls/setpriority.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl setpriority - .align 4 - .ent setpriority +#include <private/bionic_asm.h> -setpriority: +ENTRY(setpriority) .set noreorder .cpload t9 li v0, __NR_setpriority @@ -22,4 +16,4 @@ setpriority: j t9 nop .set reorder - .end setpriority +END(setpriority) diff --git a/libc/arch-mips/syscalls/setregid.S b/libc/arch-mips/syscalls/setregid.S index 1c6e7cd..de77e39 100644 --- a/libc/arch-mips/syscalls/setregid.S +++ b/libc/arch-mips/syscalls/setregid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl setregid - .align 4 - .ent setregid +#include <private/bionic_asm.h> -setregid: +ENTRY(setregid) .set noreorder .cpload t9 li v0, __NR_setregid @@ -22,4 +16,4 @@ setregid: j t9 nop .set reorder - .end setregid +END(setregid) diff --git a/libc/arch-mips/syscalls/setresgid.S b/libc/arch-mips/syscalls/setresgid.S index 889dfdf..b2fd85f 100644 --- a/libc/arch-mips/syscalls/setresgid.S +++ b/libc/arch-mips/syscalls/setresgid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl setresgid - .align 4 - .ent setresgid +#include <private/bionic_asm.h> -setresgid: +ENTRY(setresgid) .set noreorder .cpload t9 li v0, __NR_setresgid @@ -22,4 +16,4 @@ setresgid: j t9 nop .set reorder - .end setresgid +END(setresgid) diff --git a/libc/arch-mips/syscalls/setresuid.S b/libc/arch-mips/syscalls/setresuid.S index 3089d81..ad9ea9b 100644 --- a/libc/arch-mips/syscalls/setresuid.S +++ b/libc/arch-mips/syscalls/setresuid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl setresuid - .align 4 - .ent setresuid +#include <private/bionic_asm.h> -setresuid: +ENTRY(setresuid) .set noreorder .cpload t9 li v0, __NR_setresuid @@ -22,4 +16,4 @@ setresuid: j t9 nop .set reorder - .end setresuid +END(setresuid) diff --git a/libc/arch-mips/syscalls/setreuid.S b/libc/arch-mips/syscalls/setreuid.S index 782e7df..888d219 100644 --- a/libc/arch-mips/syscalls/setreuid.S +++ b/libc/arch-mips/syscalls/setreuid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl setreuid - .align 4 - .ent setreuid +#include <private/bionic_asm.h> -setreuid: +ENTRY(setreuid) .set noreorder .cpload t9 li v0, __NR_setreuid @@ -22,4 +16,4 @@ setreuid: j t9 nop .set reorder - .end setreuid +END(setreuid) diff --git a/libc/arch-mips/syscalls/setrlimit.S b/libc/arch-mips/syscalls/setrlimit.S index 7e8afde..71b49ac 100644 --- a/libc/arch-mips/syscalls/setrlimit.S +++ b/libc/arch-mips/syscalls/setrlimit.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl setrlimit - .align 4 - .ent setrlimit +#include <private/bionic_asm.h> -setrlimit: +ENTRY(setrlimit) .set noreorder .cpload t9 li v0, __NR_setrlimit @@ -22,4 +16,4 @@ setrlimit: j t9 nop .set reorder - .end setrlimit +END(setrlimit) diff --git a/libc/arch-mips/syscalls/setsid.S b/libc/arch-mips/syscalls/setsid.S index 176c7bb..9467a08 100644 --- a/libc/arch-mips/syscalls/setsid.S +++ b/libc/arch-mips/syscalls/setsid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl setsid - .align 4 - .ent setsid +#include <private/bionic_asm.h> -setsid: +ENTRY(setsid) .set noreorder .cpload t9 li v0, __NR_setsid @@ -22,4 +16,4 @@ setsid: j t9 nop .set reorder - .end setsid +END(setsid) diff --git a/libc/arch-mips/syscalls/setsockopt.S b/libc/arch-mips/syscalls/setsockopt.S index 9a2c24e..e8dd3f6 100644 --- a/libc/arch-mips/syscalls/setsockopt.S +++ b/libc/arch-mips/syscalls/setsockopt.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl setsockopt - .align 4 - .ent setsockopt +#include <private/bionic_asm.h> -setsockopt: +ENTRY(setsockopt) .set noreorder .cpload t9 li v0, __NR_setsockopt @@ -22,4 +16,4 @@ setsockopt: j t9 nop .set reorder - .end setsockopt +END(setsockopt) diff --git a/libc/arch-mips/syscalls/settimeofday.S b/libc/arch-mips/syscalls/settimeofday.S index 32d2889..b9b588f 100644 --- a/libc/arch-mips/syscalls/settimeofday.S +++ b/libc/arch-mips/syscalls/settimeofday.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl settimeofday - .align 4 - .ent settimeofday +#include <private/bionic_asm.h> -settimeofday: +ENTRY(settimeofday) .set noreorder .cpload t9 li v0, __NR_settimeofday @@ -22,4 +16,4 @@ settimeofday: j t9 nop .set reorder - .end settimeofday +END(settimeofday) diff --git a/libc/arch-mips/syscalls/setuid.S b/libc/arch-mips/syscalls/setuid.S index 0c4c356..55c75c1 100644 --- a/libc/arch-mips/syscalls/setuid.S +++ b/libc/arch-mips/syscalls/setuid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl setuid - .align 4 - .ent setuid +#include <private/bionic_asm.h> -setuid: +ENTRY(setuid) .set noreorder .cpload t9 li v0, __NR_setuid @@ -22,4 +16,4 @@ setuid: j t9 nop .set reorder - .end setuid +END(setuid) diff --git a/libc/arch-mips/syscalls/setxattr.S b/libc/arch-mips/syscalls/setxattr.S index 5cc21b6..0cca64c 100644 --- a/libc/arch-mips/syscalls/setxattr.S +++ b/libc/arch-mips/syscalls/setxattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl setxattr - .align 4 - .ent setxattr +#include <private/bionic_asm.h> -setxattr: +ENTRY(setxattr) .set noreorder .cpload t9 li v0, __NR_setxattr @@ -22,4 +16,4 @@ setxattr: j t9 nop .set reorder - .end setxattr +END(setxattr) diff --git a/libc/arch-mips/syscalls/shutdown.S b/libc/arch-mips/syscalls/shutdown.S index a4f8aa2..f6e9979 100644 --- a/libc/arch-mips/syscalls/shutdown.S +++ b/libc/arch-mips/syscalls/shutdown.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl shutdown - .align 4 - .ent shutdown +#include <private/bionic_asm.h> -shutdown: +ENTRY(shutdown) .set noreorder .cpload t9 li v0, __NR_shutdown @@ -22,4 +16,4 @@ shutdown: j t9 nop .set reorder - .end shutdown +END(shutdown) diff --git a/libc/arch-mips/syscalls/sigaltstack.S b/libc/arch-mips/syscalls/sigaltstack.S index cd8538b..6632164 100644 --- a/libc/arch-mips/syscalls/sigaltstack.S +++ b/libc/arch-mips/syscalls/sigaltstack.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl sigaltstack - .align 4 - .ent sigaltstack +#include <private/bionic_asm.h> -sigaltstack: +ENTRY(sigaltstack) .set noreorder .cpload t9 li v0, __NR_sigaltstack @@ -22,4 +16,4 @@ sigaltstack: j t9 nop .set reorder - .end sigaltstack +END(sigaltstack) diff --git a/libc/arch-mips/syscalls/signalfd4.S b/libc/arch-mips/syscalls/signalfd4.S index 2f6ea1f..e2c2a30 100644 --- a/libc/arch-mips/syscalls/signalfd4.S +++ b/libc/arch-mips/syscalls/signalfd4.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl signalfd4 - .align 4 - .ent signalfd4 +#include <private/bionic_asm.h> -signalfd4: +ENTRY(signalfd4) .set noreorder .cpload t9 li v0, __NR_signalfd4 @@ -22,4 +16,4 @@ signalfd4: j t9 nop .set reorder - .end signalfd4 +END(signalfd4) diff --git a/libc/arch-mips/syscalls/socket.S b/libc/arch-mips/syscalls/socket.S index b6bd45e..2056bcd 100644 --- a/libc/arch-mips/syscalls/socket.S +++ b/libc/arch-mips/syscalls/socket.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl socket - .align 4 - .ent socket +#include <private/bionic_asm.h> -socket: +ENTRY(socket) .set noreorder .cpload t9 li v0, __NR_socket @@ -22,4 +16,4 @@ socket: j t9 nop .set reorder - .end socket +END(socket) diff --git a/libc/arch-mips/syscalls/socketpair.S b/libc/arch-mips/syscalls/socketpair.S index ac15e1b..6257327 100644 --- a/libc/arch-mips/syscalls/socketpair.S +++ b/libc/arch-mips/syscalls/socketpair.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl socketpair - .align 4 - .ent socketpair +#include <private/bionic_asm.h> -socketpair: +ENTRY(socketpair) .set noreorder .cpload t9 li v0, __NR_socketpair @@ -22,4 +16,4 @@ socketpair: j t9 nop .set reorder - .end socketpair +END(socketpair) diff --git a/libc/arch-mips/syscalls/swapoff.S b/libc/arch-mips/syscalls/swapoff.S index 2f4a189..04b5b70 100644 --- a/libc/arch-mips/syscalls/swapoff.S +++ b/libc/arch-mips/syscalls/swapoff.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl swapoff - .align 4 - .ent swapoff +#include <private/bionic_asm.h> -swapoff: +ENTRY(swapoff) .set noreorder .cpload t9 li v0, __NR_swapoff @@ -22,4 +16,4 @@ swapoff: j t9 nop .set reorder - .end swapoff +END(swapoff) diff --git a/libc/arch-mips/syscalls/swapon.S b/libc/arch-mips/syscalls/swapon.S index 1b4084f..1fe3698 100644 --- a/libc/arch-mips/syscalls/swapon.S +++ b/libc/arch-mips/syscalls/swapon.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl swapon - .align 4 - .ent swapon +#include <private/bionic_asm.h> -swapon: +ENTRY(swapon) .set noreorder .cpload t9 li v0, __NR_swapon @@ -22,4 +16,4 @@ swapon: j t9 nop .set reorder - .end swapon +END(swapon) diff --git a/libc/arch-mips/syscalls/symlinkat.S b/libc/arch-mips/syscalls/symlinkat.S index b146d13..5bd6e6c 100644 --- a/libc/arch-mips/syscalls/symlinkat.S +++ b/libc/arch-mips/syscalls/symlinkat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl symlinkat - .align 4 - .ent symlinkat +#include <private/bionic_asm.h> -symlinkat: +ENTRY(symlinkat) .set noreorder .cpload t9 li v0, __NR_symlinkat @@ -22,4 +16,4 @@ symlinkat: j t9 nop .set reorder - .end symlinkat +END(symlinkat) diff --git a/libc/arch-mips/syscalls/sync.S b/libc/arch-mips/syscalls/sync.S index b9628fb..eb788f0 100644 --- a/libc/arch-mips/syscalls/sync.S +++ b/libc/arch-mips/syscalls/sync.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl sync - .align 4 - .ent sync +#include <private/bionic_asm.h> -sync: +ENTRY(sync) .set noreorder .cpload t9 li v0, __NR_sync @@ -22,4 +16,4 @@ sync: j t9 nop .set reorder - .end sync +END(sync) diff --git a/libc/arch-mips/syscalls/sysinfo.S b/libc/arch-mips/syscalls/sysinfo.S index a5cad2f..7cdccb9 100644 --- a/libc/arch-mips/syscalls/sysinfo.S +++ b/libc/arch-mips/syscalls/sysinfo.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl sysinfo - .align 4 - .ent sysinfo +#include <private/bionic_asm.h> -sysinfo: +ENTRY(sysinfo) .set noreorder .cpload t9 li v0, __NR_sysinfo @@ -22,4 +16,4 @@ sysinfo: j t9 nop .set reorder - .end sysinfo +END(sysinfo) diff --git a/libc/arch-mips/syscalls/tgkill.S b/libc/arch-mips/syscalls/tgkill.S index 83eb957..9938843 100644 --- a/libc/arch-mips/syscalls/tgkill.S +++ b/libc/arch-mips/syscalls/tgkill.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl tgkill - .align 4 - .ent tgkill +#include <private/bionic_asm.h> -tgkill: +ENTRY(tgkill) .set noreorder .cpload t9 li v0, __NR_tgkill @@ -22,4 +16,4 @@ tgkill: j t9 nop .set reorder - .end tgkill +END(tgkill) diff --git a/libc/arch-mips/syscalls/timerfd_create.S b/libc/arch-mips/syscalls/timerfd_create.S index 9c4cc8f..c42f4e1 100644 --- a/libc/arch-mips/syscalls/timerfd_create.S +++ b/libc/arch-mips/syscalls/timerfd_create.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl timerfd_create - .align 4 - .ent timerfd_create +#include <private/bionic_asm.h> -timerfd_create: +ENTRY(timerfd_create) .set noreorder .cpload t9 li v0, __NR_timerfd_create @@ -22,4 +16,4 @@ timerfd_create: j t9 nop .set reorder - .end timerfd_create +END(timerfd_create) diff --git a/libc/arch-mips/syscalls/timerfd_gettime.S b/libc/arch-mips/syscalls/timerfd_gettime.S index d8165dc..469d174 100644 --- a/libc/arch-mips/syscalls/timerfd_gettime.S +++ b/libc/arch-mips/syscalls/timerfd_gettime.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl timerfd_gettime - .align 4 - .ent timerfd_gettime +#include <private/bionic_asm.h> -timerfd_gettime: +ENTRY(timerfd_gettime) .set noreorder .cpload t9 li v0, __NR_timerfd_gettime @@ -22,4 +16,4 @@ timerfd_gettime: j t9 nop .set reorder - .end timerfd_gettime +END(timerfd_gettime) diff --git a/libc/arch-mips/syscalls/timerfd_settime.S b/libc/arch-mips/syscalls/timerfd_settime.S index 29354ba..c7c6f47 100644 --- a/libc/arch-mips/syscalls/timerfd_settime.S +++ b/libc/arch-mips/syscalls/timerfd_settime.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl timerfd_settime - .align 4 - .ent timerfd_settime +#include <private/bionic_asm.h> -timerfd_settime: +ENTRY(timerfd_settime) .set noreorder .cpload t9 li v0, __NR_timerfd_settime @@ -22,4 +16,4 @@ timerfd_settime: j t9 nop .set reorder - .end timerfd_settime +END(timerfd_settime) diff --git a/libc/arch-mips/syscalls/times.S b/libc/arch-mips/syscalls/times.S index d4a94e5..157b34c 100644 --- a/libc/arch-mips/syscalls/times.S +++ b/libc/arch-mips/syscalls/times.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl times - .align 4 - .ent times +#include <private/bionic_asm.h> -times: +ENTRY(times) .set noreorder .cpload t9 li v0, __NR_times @@ -22,4 +16,4 @@ times: j t9 nop .set reorder - .end times +END(times) diff --git a/libc/arch-mips/syscalls/tkill.S b/libc/arch-mips/syscalls/tkill.S index 9a15ac3..c1ecb61 100644 --- a/libc/arch-mips/syscalls/tkill.S +++ b/libc/arch-mips/syscalls/tkill.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl tkill - .align 4 - .ent tkill +#include <private/bionic_asm.h> -tkill: +ENTRY(tkill) .set noreorder .cpload t9 li v0, __NR_tkill @@ -22,4 +16,4 @@ tkill: j t9 nop .set reorder - .end tkill +END(tkill) diff --git a/libc/arch-mips/syscalls/truncate.S b/libc/arch-mips/syscalls/truncate.S index 94bad29..7fe4a0f 100644 --- a/libc/arch-mips/syscalls/truncate.S +++ b/libc/arch-mips/syscalls/truncate.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl truncate - .align 4 - .ent truncate +#include <private/bionic_asm.h> -truncate: +ENTRY(truncate) .set noreorder .cpload t9 li v0, __NR_truncate @@ -22,4 +16,4 @@ truncate: j t9 nop .set reorder - .end truncate +END(truncate) diff --git a/libc/arch-mips/syscalls/truncate64.S b/libc/arch-mips/syscalls/truncate64.S index a6b77cb..0911f5f 100644 --- a/libc/arch-mips/syscalls/truncate64.S +++ b/libc/arch-mips/syscalls/truncate64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl truncate64 - .align 4 - .ent truncate64 +#include <private/bionic_asm.h> -truncate64: +ENTRY(truncate64) .set noreorder .cpload t9 li v0, __NR_truncate64 @@ -22,4 +16,4 @@ truncate64: j t9 nop .set reorder - .end truncate64 +END(truncate64) diff --git a/libc/arch-mips/syscalls/umask.S b/libc/arch-mips/syscalls/umask.S index 92d79d7..57a6aed 100644 --- a/libc/arch-mips/syscalls/umask.S +++ b/libc/arch-mips/syscalls/umask.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl umask - .align 4 - .ent umask +#include <private/bionic_asm.h> -umask: +ENTRY(umask) .set noreorder .cpload t9 li v0, __NR_umask @@ -22,4 +16,4 @@ umask: j t9 nop .set reorder - .end umask +END(umask) diff --git a/libc/arch-mips/syscalls/umount2.S b/libc/arch-mips/syscalls/umount2.S index f782297..bf8267d 100644 --- a/libc/arch-mips/syscalls/umount2.S +++ b/libc/arch-mips/syscalls/umount2.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl umount2 - .align 4 - .ent umount2 +#include <private/bionic_asm.h> -umount2: +ENTRY(umount2) .set noreorder .cpload t9 li v0, __NR_umount2 @@ -22,4 +16,4 @@ umount2: j t9 nop .set reorder - .end umount2 +END(umount2) diff --git a/libc/arch-mips/syscalls/uname.S b/libc/arch-mips/syscalls/uname.S index 48ebe6b..ce77bd5 100644 --- a/libc/arch-mips/syscalls/uname.S +++ b/libc/arch-mips/syscalls/uname.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl uname - .align 4 - .ent uname +#include <private/bionic_asm.h> -uname: +ENTRY(uname) .set noreorder .cpload t9 li v0, __NR_uname @@ -22,4 +16,4 @@ uname: j t9 nop .set reorder - .end uname +END(uname) diff --git a/libc/arch-mips/syscalls/unlinkat.S b/libc/arch-mips/syscalls/unlinkat.S index 7c36187..82e584b 100644 --- a/libc/arch-mips/syscalls/unlinkat.S +++ b/libc/arch-mips/syscalls/unlinkat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl unlinkat - .align 4 - .ent unlinkat +#include <private/bionic_asm.h> -unlinkat: +ENTRY(unlinkat) .set noreorder .cpload t9 li v0, __NR_unlinkat @@ -22,4 +16,4 @@ unlinkat: j t9 nop .set reorder - .end unlinkat +END(unlinkat) diff --git a/libc/arch-mips/syscalls/unshare.S b/libc/arch-mips/syscalls/unshare.S index ae6272a..0521f30 100644 --- a/libc/arch-mips/syscalls/unshare.S +++ b/libc/arch-mips/syscalls/unshare.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl unshare - .align 4 - .ent unshare +#include <private/bionic_asm.h> -unshare: +ENTRY(unshare) .set noreorder .cpload t9 li v0, __NR_unshare @@ -22,4 +16,4 @@ unshare: j t9 nop .set reorder - .end unshare +END(unshare) diff --git a/libc/arch-mips/syscalls/utimensat.S b/libc/arch-mips/syscalls/utimensat.S index 86cba89..208ef58 100644 --- a/libc/arch-mips/syscalls/utimensat.S +++ b/libc/arch-mips/syscalls/utimensat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl utimensat - .align 4 - .ent utimensat +#include <private/bionic_asm.h> -utimensat: +ENTRY(utimensat) .set noreorder .cpload t9 li v0, __NR_utimensat @@ -22,4 +16,4 @@ utimensat: j t9 nop .set reorder - .end utimensat +END(utimensat) diff --git a/libc/arch-mips/syscalls/wait4.S b/libc/arch-mips/syscalls/wait4.S index fbff651..ec6bd84 100644 --- a/libc/arch-mips/syscalls/wait4.S +++ b/libc/arch-mips/syscalls/wait4.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl wait4 - .align 4 - .ent wait4 +#include <private/bionic_asm.h> -wait4: +ENTRY(wait4) .set noreorder .cpload t9 li v0, __NR_wait4 @@ -22,4 +16,4 @@ wait4: j t9 nop .set reorder - .end wait4 +END(wait4) diff --git a/libc/arch-mips/syscalls/write.S b/libc/arch-mips/syscalls/write.S index 5b02bae..d10e55a 100644 --- a/libc/arch-mips/syscalls/write.S +++ b/libc/arch-mips/syscalls/write.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl write - .align 4 - .ent write +#include <private/bionic_asm.h> -write: +ENTRY(write) .set noreorder .cpload t9 li v0, __NR_write @@ -22,4 +16,4 @@ write: j t9 nop .set reorder - .end write +END(write) diff --git a/libc/arch-mips/syscalls/writev.S b/libc/arch-mips/syscalls/writev.S index 36e890e..0a2c033 100644 --- a/libc/arch-mips/syscalls/writev.S +++ b/libc/arch-mips/syscalls/writev.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include <asm/unistd.h> -#include <machine/asm.h> -#include <machine/regdef.h> - .text - .globl writev - .align 4 - .ent writev +#include <private/bionic_asm.h> -writev: +ENTRY(writev) .set noreorder .cpload t9 li v0, __NR_writev @@ -22,4 +16,4 @@ writev: j t9 nop .set reorder - .end writev +END(writev) |