Make mips/mips64 syscall stubs more like the other architectures.
Change-Id: I55f8c1a95f643a6e484f12fbcc25e2c77e55b6b8
diff --git a/libc/arch-mips64/syscalls/__brk.S b/libc/arch-mips64/syscalls/__brk.S
index 1e3939a..c352c69 100644
--- a/libc/arch-mips64/syscalls/__brk.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_brk
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __brk
+END(__brk)
.hidden _C_LABEL(__brk)
diff --git a/libc/arch-mips64/syscalls/__epoll_pwait.S b/libc/arch-mips64/syscalls/__epoll_pwait.S
index 6167f48..5ffd49a 100644
--- a/libc/arch-mips64/syscalls/__epoll_pwait.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_epoll_pwait
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __epoll_pwait
+END(__epoll_pwait)
.hidden _C_LABEL(__epoll_pwait)
diff --git a/libc/arch-mips64/syscalls/__exit.S b/libc/arch-mips64/syscalls/__exit.S
index 0297a68..5adcc5b 100644
--- a/libc/arch-mips64/syscalls/__exit.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_exit
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __exit
+END(__exit)
.hidden _C_LABEL(__exit)
diff --git a/libc/arch-mips64/syscalls/__getcpu.S b/libc/arch-mips64/syscalls/__getcpu.S
index d20369e..ec2d87b 100644
--- a/libc/arch-mips64/syscalls/__getcpu.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getcpu
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __getcpu
+END(__getcpu)
.hidden _C_LABEL(__getcpu)
diff --git a/libc/arch-mips64/syscalls/__getcwd.S b/libc/arch-mips64/syscalls/__getcwd.S
index 47a32df..29de0a7 100644
--- a/libc/arch-mips64/syscalls/__getcwd.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getcwd
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __getcwd
+END(__getcwd)
.hidden _C_LABEL(__getcwd)
diff --git a/libc/arch-mips64/syscalls/__getdents.S b/libc/arch-mips64/syscalls/__getdents.S
index 3b89c8c..862fe42 100644
--- a/libc/arch-mips64/syscalls/__getdents.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getdents
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __getdents
+END(__getdents)
.hidden _C_LABEL(__getdents)
diff --git a/libc/arch-mips64/syscalls/__getdents64.S b/libc/arch-mips64/syscalls/__getdents64.S
index eac06aa..57d33c0 100644
--- a/libc/arch-mips64/syscalls/__getdents64.S
+++ b/libc/arch-mips64/syscalls/__getdents64.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 __getdents64
- .align 4
- .ent __getdents64
+#include <private/bionic_asm.h>
-__getdents64:
+ENTRY(__getdents64)
.set push
.set noreorder
li v0, __NR_getdents64
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __getdents64
+END(__getdents64)
.hidden _C_LABEL(__getdents64)
diff --git a/libc/arch-mips64/syscalls/__getpriority.S b/libc/arch-mips64/syscalls/__getpriority.S
index e3cd90e..d17c248 100644
--- a/libc/arch-mips64/syscalls/__getpriority.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getpriority
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __getpriority
+END(__getpriority)
.hidden _C_LABEL(__getpriority)
diff --git a/libc/arch-mips64/syscalls/__ioctl.S b/libc/arch-mips64/syscalls/__ioctl.S
index c3bd575..eca0f5d 100644
--- a/libc/arch-mips64/syscalls/__ioctl.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_ioctl
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __ioctl
+END(__ioctl)
.hidden _C_LABEL(__ioctl)
diff --git a/libc/arch-mips64/syscalls/__openat.S b/libc/arch-mips64/syscalls/__openat.S
index 0f14454..adbcdd2 100644
--- a/libc/arch-mips64/syscalls/__openat.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_openat
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __openat
+END(__openat)
.hidden _C_LABEL(__openat)
diff --git a/libc/arch-mips64/syscalls/__ppoll.S b/libc/arch-mips64/syscalls/__ppoll.S
index ac7acb9..f0e7cac 100644
--- a/libc/arch-mips64/syscalls/__ppoll.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_ppoll
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __ppoll
+END(__ppoll)
.hidden _C_LABEL(__ppoll)
diff --git a/libc/arch-mips64/syscalls/__pselect6.S b/libc/arch-mips64/syscalls/__pselect6.S
index 1e5ac2f..7398afb 100644
--- a/libc/arch-mips64/syscalls/__pselect6.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_pselect6
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __pselect6
+END(__pselect6)
.hidden _C_LABEL(__pselect6)
diff --git a/libc/arch-mips64/syscalls/__ptrace.S b/libc/arch-mips64/syscalls/__ptrace.S
index 79b75b2..ae77fa4 100644
--- a/libc/arch-mips64/syscalls/__ptrace.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_ptrace
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __ptrace
+END(__ptrace)
.hidden _C_LABEL(__ptrace)
diff --git a/libc/arch-mips64/syscalls/__reboot.S b/libc/arch-mips64/syscalls/__reboot.S
index 31ae824..6b34a4f 100644
--- a/libc/arch-mips64/syscalls/__reboot.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_reboot
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __reboot
+END(__reboot)
.hidden _C_LABEL(__reboot)
diff --git a/libc/arch-mips64/syscalls/__rt_sigaction.S b/libc/arch-mips64/syscalls/__rt_sigaction.S
index ef537a4..2e8d588 100644
--- a/libc/arch-mips64/syscalls/__rt_sigaction.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_rt_sigaction
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __rt_sigaction
+END(__rt_sigaction)
.hidden _C_LABEL(__rt_sigaction)
diff --git a/libc/arch-mips64/syscalls/__rt_sigpending.S b/libc/arch-mips64/syscalls/__rt_sigpending.S
index 2dc1bf6..93351ca 100644
--- a/libc/arch-mips64/syscalls/__rt_sigpending.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_rt_sigpending
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __rt_sigpending
+END(__rt_sigpending)
.hidden _C_LABEL(__rt_sigpending)
diff --git a/libc/arch-mips64/syscalls/__rt_sigprocmask.S b/libc/arch-mips64/syscalls/__rt_sigprocmask.S
index 2814d66..36cb21a 100644
--- a/libc/arch-mips64/syscalls/__rt_sigprocmask.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_rt_sigprocmask
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __rt_sigprocmask
+END(__rt_sigprocmask)
.hidden _C_LABEL(__rt_sigprocmask)
diff --git a/libc/arch-mips64/syscalls/__rt_sigsuspend.S b/libc/arch-mips64/syscalls/__rt_sigsuspend.S
index 83c1990..943311f 100644
--- a/libc/arch-mips64/syscalls/__rt_sigsuspend.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_rt_sigsuspend
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __rt_sigsuspend
+END(__rt_sigsuspend)
.hidden _C_LABEL(__rt_sigsuspend)
diff --git a/libc/arch-mips64/syscalls/__rt_sigtimedwait.S b/libc/arch-mips64/syscalls/__rt_sigtimedwait.S
index 48daea8..59c743b 100644
--- a/libc/arch-mips64/syscalls/__rt_sigtimedwait.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_rt_sigtimedwait
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __rt_sigtimedwait
+END(__rt_sigtimedwait)
.hidden _C_LABEL(__rt_sigtimedwait)
diff --git a/libc/arch-mips64/syscalls/__sched_getaffinity.S b/libc/arch-mips64/syscalls/__sched_getaffinity.S
index 006e395..08f6b34 100644
--- a/libc/arch-mips64/syscalls/__sched_getaffinity.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_sched_getaffinity
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __sched_getaffinity
+END(__sched_getaffinity)
.hidden _C_LABEL(__sched_getaffinity)
diff --git a/libc/arch-mips64/syscalls/__set_thread_area.S b/libc/arch-mips64/syscalls/__set_thread_area.S
index 009d004..5ea945f 100644
--- a/libc/arch-mips64/syscalls/__set_thread_area.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_set_thread_area
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __set_thread_area
+END(__set_thread_area)
.hidden _C_LABEL(__set_thread_area)
diff --git a/libc/arch-mips64/syscalls/__set_tid_address.S b/libc/arch-mips64/syscalls/__set_tid_address.S
index 4c1f97d..ce1fcf5 100644
--- a/libc/arch-mips64/syscalls/__set_tid_address.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_set_tid_address
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __set_tid_address
+END(__set_tid_address)
.hidden _C_LABEL(__set_tid_address)
diff --git a/libc/arch-mips64/syscalls/__syslog.S b/libc/arch-mips64/syscalls/__syslog.S
index 2291401..59b1f0d 100644
--- a/libc/arch-mips64/syscalls/__syslog.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_syslog
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __syslog
+END(__syslog)
.hidden _C_LABEL(__syslog)
diff --git a/libc/arch-mips64/syscalls/__timer_create.S b/libc/arch-mips64/syscalls/__timer_create.S
index aa024b7..4e70cd3 100644
--- a/libc/arch-mips64/syscalls/__timer_create.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_timer_create
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __timer_create
+END(__timer_create)
.hidden _C_LABEL(__timer_create)
diff --git a/libc/arch-mips64/syscalls/__timer_delete.S b/libc/arch-mips64/syscalls/__timer_delete.S
index 024f0c4..c61b34c 100644
--- a/libc/arch-mips64/syscalls/__timer_delete.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_timer_delete
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __timer_delete
+END(__timer_delete)
.hidden _C_LABEL(__timer_delete)
diff --git a/libc/arch-mips64/syscalls/__timer_getoverrun.S b/libc/arch-mips64/syscalls/__timer_getoverrun.S
index 0931111..7e36e35 100644
--- a/libc/arch-mips64/syscalls/__timer_getoverrun.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_timer_getoverrun
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __timer_getoverrun
+END(__timer_getoverrun)
.hidden _C_LABEL(__timer_getoverrun)
diff --git a/libc/arch-mips64/syscalls/__timer_gettime.S b/libc/arch-mips64/syscalls/__timer_gettime.S
index 4eb5f71..aef5391 100644
--- a/libc/arch-mips64/syscalls/__timer_gettime.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_timer_gettime
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __timer_gettime
+END(__timer_gettime)
.hidden _C_LABEL(__timer_gettime)
diff --git a/libc/arch-mips64/syscalls/__timer_settime.S b/libc/arch-mips64/syscalls/__timer_settime.S
index ecac0c5..dc945e7 100644
--- a/libc/arch-mips64/syscalls/__timer_settime.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_timer_settime
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __timer_settime
+END(__timer_settime)
.hidden _C_LABEL(__timer_settime)
diff --git a/libc/arch-mips64/syscalls/__waitid.S b/libc/arch-mips64/syscalls/__waitid.S
index caba21e..e395a34 100644
--- a/libc/arch-mips64/syscalls/__waitid.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_waitid
@@ -28,5 +22,5 @@
j t9
move ra, t0
.set pop
- .end __waitid
+END(__waitid)
.hidden _C_LABEL(__waitid)
diff --git a/libc/arch-mips64/syscalls/_exit.S b/libc/arch-mips64/syscalls/_exit.S
index 87aff94..9b108a6 100644
--- a/libc/arch-mips64/syscalls/_exit.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_exit_group
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end _exit
+END(_exit)
diff --git a/libc/arch-mips64/syscalls/_flush_cache.S b/libc/arch-mips64/syscalls/_flush_cache.S
index c2f8cd6..132fd4e 100644
--- a/libc/arch-mips64/syscalls/_flush_cache.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_cacheflush
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end _flush_cache
+END(_flush_cache)
diff --git a/libc/arch-mips64/syscalls/accept.S b/libc/arch-mips64/syscalls/accept.S
index dc9ac59..6c38556 100644
--- a/libc/arch-mips64/syscalls/accept.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_accept
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end accept
+END(accept)
diff --git a/libc/arch-mips64/syscalls/acct.S b/libc/arch-mips64/syscalls/acct.S
index 0b23866..7185877 100644
--- a/libc/arch-mips64/syscalls/acct.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_acct
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end acct
+END(acct)
diff --git a/libc/arch-mips64/syscalls/bind.S b/libc/arch-mips64/syscalls/bind.S
index da81dad..cb28bb4 100644
--- a/libc/arch-mips64/syscalls/bind.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_bind
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end bind
+END(bind)
diff --git a/libc/arch-mips64/syscalls/capget.S b/libc/arch-mips64/syscalls/capget.S
index 26d74b1..068e076 100644
--- a/libc/arch-mips64/syscalls/capget.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_capget
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end capget
+END(capget)
diff --git a/libc/arch-mips64/syscalls/capset.S b/libc/arch-mips64/syscalls/capset.S
index b4b87de..f29501b 100644
--- a/libc/arch-mips64/syscalls/capset.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_capset
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end capset
+END(capset)
diff --git a/libc/arch-mips64/syscalls/chdir.S b/libc/arch-mips64/syscalls/chdir.S
index af3546a..c2753bd 100644
--- a/libc/arch-mips64/syscalls/chdir.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_chdir
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end chdir
+END(chdir)
diff --git a/libc/arch-mips64/syscalls/chroot.S b/libc/arch-mips64/syscalls/chroot.S
index b992774..ca1d4a8 100644
--- a/libc/arch-mips64/syscalls/chroot.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_chroot
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end chroot
+END(chroot)
diff --git a/libc/arch-mips64/syscalls/clock_getres.S b/libc/arch-mips64/syscalls/clock_getres.S
index f277ab1..e7a8dd3 100644
--- a/libc/arch-mips64/syscalls/clock_getres.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_clock_getres
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end clock_getres
+END(clock_getres)
diff --git a/libc/arch-mips64/syscalls/clock_gettime.S b/libc/arch-mips64/syscalls/clock_gettime.S
index 8200e75..4c92a38 100644
--- a/libc/arch-mips64/syscalls/clock_gettime.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_clock_gettime
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end clock_gettime
+END(clock_gettime)
diff --git a/libc/arch-mips64/syscalls/clock_nanosleep.S b/libc/arch-mips64/syscalls/clock_nanosleep.S
index 9ac95fc..2934591 100644
--- a/libc/arch-mips64/syscalls/clock_nanosleep.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_clock_nanosleep
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end clock_nanosleep
+END(clock_nanosleep)
diff --git a/libc/arch-mips64/syscalls/clock_settime.S b/libc/arch-mips64/syscalls/clock_settime.S
index a8cd723..1969cb6 100644
--- a/libc/arch-mips64/syscalls/clock_settime.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_clock_settime
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end clock_settime
+END(clock_settime)
diff --git a/libc/arch-mips64/syscalls/close.S b/libc/arch-mips64/syscalls/close.S
index cfe5c51..f446000 100644
--- a/libc/arch-mips64/syscalls/close.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_close
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end close
+END(close)
diff --git a/libc/arch-mips64/syscalls/connect.S b/libc/arch-mips64/syscalls/connect.S
index 80600bb..8fe2d56 100644
--- a/libc/arch-mips64/syscalls/connect.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_connect
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end connect
+END(connect)
diff --git a/libc/arch-mips64/syscalls/delete_module.S b/libc/arch-mips64/syscalls/delete_module.S
index cf2579d..d24adf8 100644
--- a/libc/arch-mips64/syscalls/delete_module.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_delete_module
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end delete_module
+END(delete_module)
diff --git a/libc/arch-mips64/syscalls/dup.S b/libc/arch-mips64/syscalls/dup.S
index 0a92e57..5d2d7de 100644
--- a/libc/arch-mips64/syscalls/dup.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_dup
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end dup
+END(dup)
diff --git a/libc/arch-mips64/syscalls/dup3.S b/libc/arch-mips64/syscalls/dup3.S
index e9fba1e..90f0f89 100644
--- a/libc/arch-mips64/syscalls/dup3.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_dup3
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end dup3
+END(dup3)
diff --git a/libc/arch-mips64/syscalls/epoll_create1.S b/libc/arch-mips64/syscalls/epoll_create1.S
index 9c41868..312887f 100644
--- a/libc/arch-mips64/syscalls/epoll_create1.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_epoll_create1
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end epoll_create1
+END(epoll_create1)
diff --git a/libc/arch-mips64/syscalls/epoll_ctl.S b/libc/arch-mips64/syscalls/epoll_ctl.S
index 5f18979..461ad7b 100644
--- a/libc/arch-mips64/syscalls/epoll_ctl.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_epoll_ctl
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end epoll_ctl
+END(epoll_ctl)
diff --git a/libc/arch-mips64/syscalls/eventfd.S b/libc/arch-mips64/syscalls/eventfd.S
index 9cb87ca..da8866e 100644
--- a/libc/arch-mips64/syscalls/eventfd.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_eventfd2
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end eventfd
+END(eventfd)
diff --git a/libc/arch-mips64/syscalls/execve.S b/libc/arch-mips64/syscalls/execve.S
index 8edfc34..3cb49b6 100644
--- a/libc/arch-mips64/syscalls/execve.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_execve
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end execve
+END(execve)
diff --git a/libc/arch-mips64/syscalls/faccessat.S b/libc/arch-mips64/syscalls/faccessat.S
index 14de073..d06f420 100644
--- a/libc/arch-mips64/syscalls/faccessat.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_faccessat
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end faccessat
+END(faccessat)
diff --git a/libc/arch-mips64/syscalls/fallocate.S b/libc/arch-mips64/syscalls/fallocate.S
index 347ab1f..d1e64b5 100644
--- a/libc/arch-mips64/syscalls/fallocate.S
+++ b/libc/arch-mips64/syscalls/fallocate.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 fallocate
- .align 4
- .ent fallocate
+#include <private/bionic_asm.h>
-fallocate:
+ENTRY(fallocate)
.set push
.set noreorder
li v0, __NR_fallocate
@@ -28,7 +22,7 @@
j t9
move ra, t0
.set pop
- .end fallocate
+END(fallocate)
.globl fallocate64
.equ fallocate64, fallocate
diff --git a/libc/arch-mips64/syscalls/fchdir.S b/libc/arch-mips64/syscalls/fchdir.S
index 1b5e7cb..0c8ab73 100644
--- a/libc/arch-mips64/syscalls/fchdir.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_fchdir
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end fchdir
+END(fchdir)
diff --git a/libc/arch-mips64/syscalls/fchmod.S b/libc/arch-mips64/syscalls/fchmod.S
index b9ce347..4ebb796 100644
--- a/libc/arch-mips64/syscalls/fchmod.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_fchmod
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end fchmod
+END(fchmod)
diff --git a/libc/arch-mips64/syscalls/fchmodat.S b/libc/arch-mips64/syscalls/fchmodat.S
index f21aea7..4887324 100644
--- a/libc/arch-mips64/syscalls/fchmodat.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_fchmodat
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end fchmodat
+END(fchmodat)
diff --git a/libc/arch-mips64/syscalls/fchown.S b/libc/arch-mips64/syscalls/fchown.S
index 2eb7fa4..c21c831 100644
--- a/libc/arch-mips64/syscalls/fchown.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_fchown
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end fchown
+END(fchown)
diff --git a/libc/arch-mips64/syscalls/fchownat.S b/libc/arch-mips64/syscalls/fchownat.S
index 896ba43..eba230c 100644
--- a/libc/arch-mips64/syscalls/fchownat.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_fchownat
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end fchownat
+END(fchownat)
diff --git a/libc/arch-mips64/syscalls/fcntl.S b/libc/arch-mips64/syscalls/fcntl.S
index 755361d..1f54b0e 100644
--- a/libc/arch-mips64/syscalls/fcntl.S
+++ b/libc/arch-mips64/syscalls/fcntl.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 fcntl
- .align 4
- .ent fcntl
+#include <private/bionic_asm.h>
-fcntl:
+ENTRY(fcntl)
.set push
.set noreorder
li v0, __NR_fcntl
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end fcntl
+END(fcntl)
diff --git a/libc/arch-mips64/syscalls/fdatasync.S b/libc/arch-mips64/syscalls/fdatasync.S
index f036248..ba1eccc 100644
--- a/libc/arch-mips64/syscalls/fdatasync.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_fdatasync
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end fdatasync
+END(fdatasync)
diff --git a/libc/arch-mips64/syscalls/fgetxattr.S b/libc/arch-mips64/syscalls/fgetxattr.S
index 0cd6ad7..5b9c8ed 100644
--- a/libc/arch-mips64/syscalls/fgetxattr.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_fgetxattr
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end fgetxattr
+END(fgetxattr)
diff --git a/libc/arch-mips64/syscalls/flistxattr.S b/libc/arch-mips64/syscalls/flistxattr.S
index 2e8961b..c0bf93c 100644
--- a/libc/arch-mips64/syscalls/flistxattr.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_flistxattr
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end flistxattr
+END(flistxattr)
diff --git a/libc/arch-mips64/syscalls/flock.S b/libc/arch-mips64/syscalls/flock.S
index 93051d3..b63f6fc 100644
--- a/libc/arch-mips64/syscalls/flock.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_flock
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end flock
+END(flock)
diff --git a/libc/arch-mips64/syscalls/fremovexattr.S b/libc/arch-mips64/syscalls/fremovexattr.S
index 6ef8c12..be20d00 100644
--- a/libc/arch-mips64/syscalls/fremovexattr.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_fremovexattr
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end fremovexattr
+END(fremovexattr)
diff --git a/libc/arch-mips64/syscalls/fsetxattr.S b/libc/arch-mips64/syscalls/fsetxattr.S
index 89e0de7..92198ce 100644
--- a/libc/arch-mips64/syscalls/fsetxattr.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_fsetxattr
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end fsetxattr
+END(fsetxattr)
diff --git a/libc/arch-mips64/syscalls/fstat64.S b/libc/arch-mips64/syscalls/fstat64.S
index aad3c21..078e3dd 100644
--- a/libc/arch-mips64/syscalls/fstat64.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_fstat
@@ -28,7 +22,7 @@
j t9
move ra, t0
.set pop
- .end fstat64
+END(fstat64)
.globl fstat
.equ fstat, fstat64
diff --git a/libc/arch-mips64/syscalls/fstatat64.S b/libc/arch-mips64/syscalls/fstatat64.S
index 828439a..cc38de1 100644
--- a/libc/arch-mips64/syscalls/fstatat64.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_newfstatat
@@ -28,7 +22,7 @@
j t9
move ra, t0
.set pop
- .end fstatat64
+END(fstatat64)
.globl fstatat
.equ fstatat, fstatat64
diff --git a/libc/arch-mips64/syscalls/fstatfs64.S b/libc/arch-mips64/syscalls/fstatfs64.S
index 09380b2..3474bc2 100644
--- a/libc/arch-mips64/syscalls/fstatfs64.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_fstatfs
@@ -28,7 +22,7 @@
j t9
move ra, t0
.set pop
- .end fstatfs64
+END(fstatfs64)
.globl fstatfs
.equ fstatfs, fstatfs64
diff --git a/libc/arch-mips64/syscalls/fsync.S b/libc/arch-mips64/syscalls/fsync.S
index 08f77f0..3543fef 100644
--- a/libc/arch-mips64/syscalls/fsync.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_fsync
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end fsync
+END(fsync)
diff --git a/libc/arch-mips64/syscalls/ftruncate.S b/libc/arch-mips64/syscalls/ftruncate.S
index 3afe26a..cd97b87 100644
--- a/libc/arch-mips64/syscalls/ftruncate.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_ftruncate
@@ -28,7 +22,7 @@
j t9
move ra, t0
.set pop
- .end ftruncate
+END(ftruncate)
.globl ftruncate64
.equ ftruncate64, ftruncate
diff --git a/libc/arch-mips64/syscalls/futex.S b/libc/arch-mips64/syscalls/futex.S
index edbacba..dc7dcc6 100644
--- a/libc/arch-mips64/syscalls/futex.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_futex
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end futex
+END(futex)
diff --git a/libc/arch-mips64/syscalls/getegid.S b/libc/arch-mips64/syscalls/getegid.S
index d014386..d6b3d7f 100644
--- a/libc/arch-mips64/syscalls/getegid.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getegid
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end getegid
+END(getegid)
diff --git a/libc/arch-mips64/syscalls/geteuid.S b/libc/arch-mips64/syscalls/geteuid.S
index ec63f6c..a1d9713 100644
--- a/libc/arch-mips64/syscalls/geteuid.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_geteuid
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end geteuid
+END(geteuid)
diff --git a/libc/arch-mips64/syscalls/getgid.S b/libc/arch-mips64/syscalls/getgid.S
index 531d364..c89d709 100644
--- a/libc/arch-mips64/syscalls/getgid.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getgid
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end getgid
+END(getgid)
diff --git a/libc/arch-mips64/syscalls/getgroups.S b/libc/arch-mips64/syscalls/getgroups.S
index b7fcef6..8d9cddb 100644
--- a/libc/arch-mips64/syscalls/getgroups.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getgroups
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end getgroups
+END(getgroups)
diff --git a/libc/arch-mips64/syscalls/getitimer.S b/libc/arch-mips64/syscalls/getitimer.S
index 4f9bc63..12dad03 100644
--- a/libc/arch-mips64/syscalls/getitimer.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getitimer
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end getitimer
+END(getitimer)
diff --git a/libc/arch-mips64/syscalls/getpeername.S b/libc/arch-mips64/syscalls/getpeername.S
index 695fe6a..278428a 100644
--- a/libc/arch-mips64/syscalls/getpeername.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getpeername
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end getpeername
+END(getpeername)
diff --git a/libc/arch-mips64/syscalls/getpgid.S b/libc/arch-mips64/syscalls/getpgid.S
index 46787d6..56551ef 100644
--- a/libc/arch-mips64/syscalls/getpgid.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getpgid
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end getpgid
+END(getpgid)
diff --git a/libc/arch-mips64/syscalls/getpid.S b/libc/arch-mips64/syscalls/getpid.S
index 4f3f58f..3b457b5 100644
--- a/libc/arch-mips64/syscalls/getpid.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getpid
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end getpid
+END(getpid)
diff --git a/libc/arch-mips64/syscalls/getppid.S b/libc/arch-mips64/syscalls/getppid.S
index 0bcab00..97066f8 100644
--- a/libc/arch-mips64/syscalls/getppid.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getppid
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end getppid
+END(getppid)
diff --git a/libc/arch-mips64/syscalls/getresgid.S b/libc/arch-mips64/syscalls/getresgid.S
index 48e605b..f07fc11 100644
--- a/libc/arch-mips64/syscalls/getresgid.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getresgid
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end getresgid
+END(getresgid)
diff --git a/libc/arch-mips64/syscalls/getresuid.S b/libc/arch-mips64/syscalls/getresuid.S
index 79987d6..4f1ba86 100644
--- a/libc/arch-mips64/syscalls/getresuid.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getresuid
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end getresuid
+END(getresuid)
diff --git a/libc/arch-mips64/syscalls/getrlimit.S b/libc/arch-mips64/syscalls/getrlimit.S
index d19eaeb..f825db9 100644
--- a/libc/arch-mips64/syscalls/getrlimit.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getrlimit
@@ -28,7 +22,7 @@
j t9
move ra, t0
.set pop
- .end getrlimit
+END(getrlimit)
.globl getrlimit64
.equ getrlimit64, getrlimit
diff --git a/libc/arch-mips64/syscalls/getrusage.S b/libc/arch-mips64/syscalls/getrusage.S
index dd57c38..49f3c42 100644
--- a/libc/arch-mips64/syscalls/getrusage.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getrusage
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end getrusage
+END(getrusage)
diff --git a/libc/arch-mips64/syscalls/getsid.S b/libc/arch-mips64/syscalls/getsid.S
index 5fb9e1b..6fa362c 100644
--- a/libc/arch-mips64/syscalls/getsid.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getsid
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end getsid
+END(getsid)
diff --git a/libc/arch-mips64/syscalls/getsockname.S b/libc/arch-mips64/syscalls/getsockname.S
index 44026bf..5e16aff 100644
--- a/libc/arch-mips64/syscalls/getsockname.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getsockname
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end getsockname
+END(getsockname)
diff --git a/libc/arch-mips64/syscalls/getsockopt.S b/libc/arch-mips64/syscalls/getsockopt.S
index 8493faa..fab05b1 100644
--- a/libc/arch-mips64/syscalls/getsockopt.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getsockopt
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end getsockopt
+END(getsockopt)
diff --git a/libc/arch-mips64/syscalls/gettid.S b/libc/arch-mips64/syscalls/gettid.S
index e03bb4e..30c30c8 100644
--- a/libc/arch-mips64/syscalls/gettid.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_gettid
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end gettid
+END(gettid)
diff --git a/libc/arch-mips64/syscalls/gettimeofday.S b/libc/arch-mips64/syscalls/gettimeofday.S
index e1e5c04..07407a4 100644
--- a/libc/arch-mips64/syscalls/gettimeofday.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_gettimeofday
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end gettimeofday
+END(gettimeofday)
diff --git a/libc/arch-mips64/syscalls/getuid.S b/libc/arch-mips64/syscalls/getuid.S
index e48f4a6..87c16e1 100644
--- a/libc/arch-mips64/syscalls/getuid.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getuid
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end getuid
+END(getuid)
diff --git a/libc/arch-mips64/syscalls/getxattr.S b/libc/arch-mips64/syscalls/getxattr.S
index b46e4d9..b42ca1e 100644
--- a/libc/arch-mips64/syscalls/getxattr.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_getxattr
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end getxattr
+END(getxattr)
diff --git a/libc/arch-mips64/syscalls/init_module.S b/libc/arch-mips64/syscalls/init_module.S
index c5b2bcf..90fb6b1 100644
--- a/libc/arch-mips64/syscalls/init_module.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_init_module
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end init_module
+END(init_module)
diff --git a/libc/arch-mips64/syscalls/inotify_add_watch.S b/libc/arch-mips64/syscalls/inotify_add_watch.S
index c4c8dbf..17db414 100644
--- a/libc/arch-mips64/syscalls/inotify_add_watch.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_inotify_add_watch
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end inotify_add_watch
+END(inotify_add_watch)
diff --git a/libc/arch-mips64/syscalls/inotify_init1.S b/libc/arch-mips64/syscalls/inotify_init1.S
index b0c7dcc..356dd2d 100644
--- a/libc/arch-mips64/syscalls/inotify_init1.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_inotify_init1
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end inotify_init1
+END(inotify_init1)
diff --git a/libc/arch-mips64/syscalls/inotify_rm_watch.S b/libc/arch-mips64/syscalls/inotify_rm_watch.S
index 4b6078e..4096ca3 100644
--- a/libc/arch-mips64/syscalls/inotify_rm_watch.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_inotify_rm_watch
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end inotify_rm_watch
+END(inotify_rm_watch)
diff --git a/libc/arch-mips64/syscalls/ioprio_get.S b/libc/arch-mips64/syscalls/ioprio_get.S
index ebb4375..711890c 100644
--- a/libc/arch-mips64/syscalls/ioprio_get.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_ioprio_get
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end ioprio_get
+END(ioprio_get)
diff --git a/libc/arch-mips64/syscalls/ioprio_set.S b/libc/arch-mips64/syscalls/ioprio_set.S
index 44daba9..738403a 100644
--- a/libc/arch-mips64/syscalls/ioprio_set.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_ioprio_set
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end ioprio_set
+END(ioprio_set)
diff --git a/libc/arch-mips64/syscalls/kill.S b/libc/arch-mips64/syscalls/kill.S
index 2e4aa42..2d8b452 100644
--- a/libc/arch-mips64/syscalls/kill.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_kill
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end kill
+END(kill)
diff --git a/libc/arch-mips64/syscalls/klogctl.S b/libc/arch-mips64/syscalls/klogctl.S
index 1c10f95..2f9ca6a 100644
--- a/libc/arch-mips64/syscalls/klogctl.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_syslog
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end klogctl
+END(klogctl)
diff --git a/libc/arch-mips64/syscalls/lgetxattr.S b/libc/arch-mips64/syscalls/lgetxattr.S
index c402e81..f8e57b3 100644
--- a/libc/arch-mips64/syscalls/lgetxattr.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_lgetxattr
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end lgetxattr
+END(lgetxattr)
diff --git a/libc/arch-mips64/syscalls/linkat.S b/libc/arch-mips64/syscalls/linkat.S
index e734144..a866fa6 100644
--- a/libc/arch-mips64/syscalls/linkat.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_linkat
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end linkat
+END(linkat)
diff --git a/libc/arch-mips64/syscalls/listen.S b/libc/arch-mips64/syscalls/listen.S
index 93c1d52..0768c72 100644
--- a/libc/arch-mips64/syscalls/listen.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_listen
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end listen
+END(listen)
diff --git a/libc/arch-mips64/syscalls/listxattr.S b/libc/arch-mips64/syscalls/listxattr.S
index f00402f..f2c00f6 100644
--- a/libc/arch-mips64/syscalls/listxattr.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_listxattr
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end listxattr
+END(listxattr)
diff --git a/libc/arch-mips64/syscalls/llistxattr.S b/libc/arch-mips64/syscalls/llistxattr.S
index 2628185..f324e2c 100644
--- a/libc/arch-mips64/syscalls/llistxattr.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_llistxattr
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end llistxattr
+END(llistxattr)
diff --git a/libc/arch-mips64/syscalls/lremovexattr.S b/libc/arch-mips64/syscalls/lremovexattr.S
index ef486cb..e44c9d0 100644
--- a/libc/arch-mips64/syscalls/lremovexattr.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_lremovexattr
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end lremovexattr
+END(lremovexattr)
diff --git a/libc/arch-mips64/syscalls/lseek.S b/libc/arch-mips64/syscalls/lseek.S
index 4385df5..2858aa8 100644
--- a/libc/arch-mips64/syscalls/lseek.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_lseek
@@ -28,7 +22,7 @@
j t9
move ra, t0
.set pop
- .end lseek
+END(lseek)
.globl lseek64
.equ lseek64, lseek
diff --git a/libc/arch-mips64/syscalls/lsetxattr.S b/libc/arch-mips64/syscalls/lsetxattr.S
index 14a1aae..ed1b4df 100644
--- a/libc/arch-mips64/syscalls/lsetxattr.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_lsetxattr
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end lsetxattr
+END(lsetxattr)
diff --git a/libc/arch-mips64/syscalls/madvise.S b/libc/arch-mips64/syscalls/madvise.S
index 8ca4124..fe6a828 100644
--- a/libc/arch-mips64/syscalls/madvise.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_madvise
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end madvise
+END(madvise)
diff --git a/libc/arch-mips64/syscalls/mincore.S b/libc/arch-mips64/syscalls/mincore.S
index 9dbd21c..1e0b544 100644
--- a/libc/arch-mips64/syscalls/mincore.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_mincore
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end mincore
+END(mincore)
diff --git a/libc/arch-mips64/syscalls/mkdirat.S b/libc/arch-mips64/syscalls/mkdirat.S
index e652b23..b1c94e1 100644
--- a/libc/arch-mips64/syscalls/mkdirat.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_mkdirat
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end mkdirat
+END(mkdirat)
diff --git a/libc/arch-mips64/syscalls/mknodat.S b/libc/arch-mips64/syscalls/mknodat.S
index 1cedbb4..edbd3b6 100644
--- a/libc/arch-mips64/syscalls/mknodat.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_mknodat
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end mknodat
+END(mknodat)
diff --git a/libc/arch-mips64/syscalls/mlock.S b/libc/arch-mips64/syscalls/mlock.S
index 18ab4ba..ae599cd 100644
--- a/libc/arch-mips64/syscalls/mlock.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_mlock
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end mlock
+END(mlock)
diff --git a/libc/arch-mips64/syscalls/mlockall.S b/libc/arch-mips64/syscalls/mlockall.S
index 50fb23c..b214758 100644
--- a/libc/arch-mips64/syscalls/mlockall.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_mlockall
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end mlockall
+END(mlockall)
diff --git a/libc/arch-mips64/syscalls/mmap.S b/libc/arch-mips64/syscalls/mmap.S
index 682058e..ba6d4fa 100644
--- a/libc/arch-mips64/syscalls/mmap.S
+++ b/libc/arch-mips64/syscalls/mmap.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 mmap
- .align 4
- .ent mmap
+#include <private/bionic_asm.h>
-mmap:
+ENTRY(mmap)
.set push
.set noreorder
li v0, __NR_mmap
@@ -28,7 +22,7 @@
j t9
move ra, t0
.set pop
- .end mmap
+END(mmap)
.globl mmap64
.equ mmap64, mmap
diff --git a/libc/arch-mips64/syscalls/mount.S b/libc/arch-mips64/syscalls/mount.S
index 595585e..71e08a7 100644
--- a/libc/arch-mips64/syscalls/mount.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_mount
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end mount
+END(mount)
diff --git a/libc/arch-mips64/syscalls/mprotect.S b/libc/arch-mips64/syscalls/mprotect.S
index 77d9207..66ffa1a 100644
--- a/libc/arch-mips64/syscalls/mprotect.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_mprotect
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end mprotect
+END(mprotect)
diff --git a/libc/arch-mips64/syscalls/mremap.S b/libc/arch-mips64/syscalls/mremap.S
index 33be57f..c73320f 100644
--- a/libc/arch-mips64/syscalls/mremap.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_mremap
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end mremap
+END(mremap)
diff --git a/libc/arch-mips64/syscalls/msync.S b/libc/arch-mips64/syscalls/msync.S
index a5e29f6..a97cba8 100644
--- a/libc/arch-mips64/syscalls/msync.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_msync
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end msync
+END(msync)
diff --git a/libc/arch-mips64/syscalls/munlock.S b/libc/arch-mips64/syscalls/munlock.S
index 4d9000a..f5919ae 100644
--- a/libc/arch-mips64/syscalls/munlock.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_munlock
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end munlock
+END(munlock)
diff --git a/libc/arch-mips64/syscalls/munlockall.S b/libc/arch-mips64/syscalls/munlockall.S
index f8a1ff4..39e717c 100644
--- a/libc/arch-mips64/syscalls/munlockall.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_munlockall
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end munlockall
+END(munlockall)
diff --git a/libc/arch-mips64/syscalls/munmap.S b/libc/arch-mips64/syscalls/munmap.S
index a7e65a7..c1c9b01 100644
--- a/libc/arch-mips64/syscalls/munmap.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_munmap
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end munmap
+END(munmap)
diff --git a/libc/arch-mips64/syscalls/nanosleep.S b/libc/arch-mips64/syscalls/nanosleep.S
index a3838de..6bfd73e 100644
--- a/libc/arch-mips64/syscalls/nanosleep.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_nanosleep
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end nanosleep
+END(nanosleep)
diff --git a/libc/arch-mips64/syscalls/perf_event_open.S b/libc/arch-mips64/syscalls/perf_event_open.S
index 14465fb..d796a16 100644
--- a/libc/arch-mips64/syscalls/perf_event_open.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_perf_event_open
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end perf_event_open
+END(perf_event_open)
diff --git a/libc/arch-mips64/syscalls/personality.S b/libc/arch-mips64/syscalls/personality.S
index af39ee6..e234636 100644
--- a/libc/arch-mips64/syscalls/personality.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_personality
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end personality
+END(personality)
diff --git a/libc/arch-mips64/syscalls/pipe2.S b/libc/arch-mips64/syscalls/pipe2.S
index 4e06258..52d5baa 100644
--- a/libc/arch-mips64/syscalls/pipe2.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_pipe2
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end pipe2
+END(pipe2)
diff --git a/libc/arch-mips64/syscalls/prctl.S b/libc/arch-mips64/syscalls/prctl.S
index 122a28e..01d422e 100644
--- a/libc/arch-mips64/syscalls/prctl.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_prctl
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end prctl
+END(prctl)
diff --git a/libc/arch-mips64/syscalls/pread64.S b/libc/arch-mips64/syscalls/pread64.S
index a97a1d4..5ab8389 100644
--- a/libc/arch-mips64/syscalls/pread64.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_pread64
@@ -28,7 +22,7 @@
j t9
move ra, t0
.set pop
- .end pread64
+END(pread64)
.globl pread
.equ pread, pread64
diff --git a/libc/arch-mips64/syscalls/prlimit64.S b/libc/arch-mips64/syscalls/prlimit64.S
index e611bd0..e52ca92 100644
--- a/libc/arch-mips64/syscalls/prlimit64.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_prlimit64
@@ -28,7 +22,7 @@
j t9
move ra, t0
.set pop
- .end prlimit64
+END(prlimit64)
.globl prlimit
.equ prlimit, prlimit64
diff --git a/libc/arch-mips64/syscalls/pwrite64.S b/libc/arch-mips64/syscalls/pwrite64.S
index 08af91b..8d7a8b5 100644
--- a/libc/arch-mips64/syscalls/pwrite64.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_pwrite64
@@ -28,7 +22,7 @@
j t9
move ra, t0
.set pop
- .end pwrite64
+END(pwrite64)
.globl pwrite
.equ pwrite, pwrite64
diff --git a/libc/arch-mips64/syscalls/read.S b/libc/arch-mips64/syscalls/read.S
index 4d8c51d..3f805ca 100644
--- a/libc/arch-mips64/syscalls/read.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_read
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end read
+END(read)
diff --git a/libc/arch-mips64/syscalls/readahead.S b/libc/arch-mips64/syscalls/readahead.S
index 5ab1dcb..8f5c8c6 100644
--- a/libc/arch-mips64/syscalls/readahead.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_readahead
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end readahead
+END(readahead)
diff --git a/libc/arch-mips64/syscalls/readlinkat.S b/libc/arch-mips64/syscalls/readlinkat.S
index 8e91dcf..1381c22 100644
--- a/libc/arch-mips64/syscalls/readlinkat.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_readlinkat
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end readlinkat
+END(readlinkat)
diff --git a/libc/arch-mips64/syscalls/readv.S b/libc/arch-mips64/syscalls/readv.S
index e248942..9c7afd5 100644
--- a/libc/arch-mips64/syscalls/readv.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_readv
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end readv
+END(readv)
diff --git a/libc/arch-mips64/syscalls/recvfrom.S b/libc/arch-mips64/syscalls/recvfrom.S
index 818dc8e..d3911c6 100644
--- a/libc/arch-mips64/syscalls/recvfrom.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_recvfrom
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end recvfrom
+END(recvfrom)
diff --git a/libc/arch-mips64/syscalls/recvmsg.S b/libc/arch-mips64/syscalls/recvmsg.S
index 06d8826..21ec51d 100644
--- a/libc/arch-mips64/syscalls/recvmsg.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_recvmsg
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end recvmsg
+END(recvmsg)
diff --git a/libc/arch-mips64/syscalls/removexattr.S b/libc/arch-mips64/syscalls/removexattr.S
index 8b0d056..ea31771 100644
--- a/libc/arch-mips64/syscalls/removexattr.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_removexattr
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end removexattr
+END(removexattr)
diff --git a/libc/arch-mips64/syscalls/renameat.S b/libc/arch-mips64/syscalls/renameat.S
index fdf24db..074a6a4 100644
--- a/libc/arch-mips64/syscalls/renameat.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_renameat
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end renameat
+END(renameat)
diff --git a/libc/arch-mips64/syscalls/sched_get_priority_max.S b/libc/arch-mips64/syscalls/sched_get_priority_max.S
index c84ab98..1b67bbf 100644
--- a/libc/arch-mips64/syscalls/sched_get_priority_max.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_sched_get_priority_max
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end sched_get_priority_max
+END(sched_get_priority_max)
diff --git a/libc/arch-mips64/syscalls/sched_get_priority_min.S b/libc/arch-mips64/syscalls/sched_get_priority_min.S
index d9ab4ec..2d68752 100644
--- a/libc/arch-mips64/syscalls/sched_get_priority_min.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_sched_get_priority_min
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end sched_get_priority_min
+END(sched_get_priority_min)
diff --git a/libc/arch-mips64/syscalls/sched_getparam.S b/libc/arch-mips64/syscalls/sched_getparam.S
index 9f40fe4..d0b2069 100644
--- a/libc/arch-mips64/syscalls/sched_getparam.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_sched_getparam
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end sched_getparam
+END(sched_getparam)
diff --git a/libc/arch-mips64/syscalls/sched_getscheduler.S b/libc/arch-mips64/syscalls/sched_getscheduler.S
index e263f61..f25bde5 100644
--- a/libc/arch-mips64/syscalls/sched_getscheduler.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_sched_getscheduler
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end sched_getscheduler
+END(sched_getscheduler)
diff --git a/libc/arch-mips64/syscalls/sched_rr_get_interval.S b/libc/arch-mips64/syscalls/sched_rr_get_interval.S
index a3bba28..48233f8 100644
--- a/libc/arch-mips64/syscalls/sched_rr_get_interval.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_sched_rr_get_interval
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end sched_rr_get_interval
+END(sched_rr_get_interval)
diff --git a/libc/arch-mips64/syscalls/sched_setaffinity.S b/libc/arch-mips64/syscalls/sched_setaffinity.S
index 35bfb30..e604863 100644
--- a/libc/arch-mips64/syscalls/sched_setaffinity.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_sched_setaffinity
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end sched_setaffinity
+END(sched_setaffinity)
diff --git a/libc/arch-mips64/syscalls/sched_setparam.S b/libc/arch-mips64/syscalls/sched_setparam.S
index 714fcc9..b02439f 100644
--- a/libc/arch-mips64/syscalls/sched_setparam.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_sched_setparam
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end sched_setparam
+END(sched_setparam)
diff --git a/libc/arch-mips64/syscalls/sched_setscheduler.S b/libc/arch-mips64/syscalls/sched_setscheduler.S
index 4fe5783..dda1ce5 100644
--- a/libc/arch-mips64/syscalls/sched_setscheduler.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_sched_setscheduler
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end sched_setscheduler
+END(sched_setscheduler)
diff --git a/libc/arch-mips64/syscalls/sched_yield.S b/libc/arch-mips64/syscalls/sched_yield.S
index b2542a3..509b029 100644
--- a/libc/arch-mips64/syscalls/sched_yield.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_sched_yield
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end sched_yield
+END(sched_yield)
diff --git a/libc/arch-mips64/syscalls/sendfile.S b/libc/arch-mips64/syscalls/sendfile.S
index bce8d58..684a83a 100644
--- a/libc/arch-mips64/syscalls/sendfile.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_sendfile
@@ -28,7 +22,7 @@
j t9
move ra, t0
.set pop
- .end sendfile
+END(sendfile)
.globl sendfile64
.equ sendfile64, sendfile
diff --git a/libc/arch-mips64/syscalls/sendmsg.S b/libc/arch-mips64/syscalls/sendmsg.S
index 72227f7..6983f9a 100644
--- a/libc/arch-mips64/syscalls/sendmsg.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_sendmsg
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end sendmsg
+END(sendmsg)
diff --git a/libc/arch-mips64/syscalls/sendto.S b/libc/arch-mips64/syscalls/sendto.S
index dbb4c56..cfe774d 100644
--- a/libc/arch-mips64/syscalls/sendto.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_sendto
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end sendto
+END(sendto)
diff --git a/libc/arch-mips64/syscalls/setgid.S b/libc/arch-mips64/syscalls/setgid.S
index 3d9b5d4..cc8d3ab 100644
--- a/libc/arch-mips64/syscalls/setgid.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_setgid
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end setgid
+END(setgid)
diff --git a/libc/arch-mips64/syscalls/setgroups.S b/libc/arch-mips64/syscalls/setgroups.S
index c4dc713..63f2329 100644
--- a/libc/arch-mips64/syscalls/setgroups.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_setgroups
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end setgroups
+END(setgroups)
diff --git a/libc/arch-mips64/syscalls/setitimer.S b/libc/arch-mips64/syscalls/setitimer.S
index b1969d0..9ee02dc 100644
--- a/libc/arch-mips64/syscalls/setitimer.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_setitimer
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end setitimer
+END(setitimer)
diff --git a/libc/arch-mips64/syscalls/setns.S b/libc/arch-mips64/syscalls/setns.S
index 3073aad..191a1a0 100644
--- a/libc/arch-mips64/syscalls/setns.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_setns
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end setns
+END(setns)
diff --git a/libc/arch-mips64/syscalls/setpgid.S b/libc/arch-mips64/syscalls/setpgid.S
index 171ed17..8972160 100644
--- a/libc/arch-mips64/syscalls/setpgid.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_setpgid
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end setpgid
+END(setpgid)
diff --git a/libc/arch-mips64/syscalls/setpriority.S b/libc/arch-mips64/syscalls/setpriority.S
index a73c155..dce3a76 100644
--- a/libc/arch-mips64/syscalls/setpriority.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_setpriority
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end setpriority
+END(setpriority)
diff --git a/libc/arch-mips64/syscalls/setregid.S b/libc/arch-mips64/syscalls/setregid.S
index 14217ba..d677b32 100644
--- a/libc/arch-mips64/syscalls/setregid.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_setregid
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end setregid
+END(setregid)
diff --git a/libc/arch-mips64/syscalls/setresgid.S b/libc/arch-mips64/syscalls/setresgid.S
index 9e35dde..312eb3a 100644
--- a/libc/arch-mips64/syscalls/setresgid.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_setresgid
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end setresgid
+END(setresgid)
diff --git a/libc/arch-mips64/syscalls/setresuid.S b/libc/arch-mips64/syscalls/setresuid.S
index fdd28a9..4da79d0 100644
--- a/libc/arch-mips64/syscalls/setresuid.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_setresuid
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end setresuid
+END(setresuid)
diff --git a/libc/arch-mips64/syscalls/setreuid.S b/libc/arch-mips64/syscalls/setreuid.S
index db50c6c..33f6fce 100644
--- a/libc/arch-mips64/syscalls/setreuid.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_setreuid
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end setreuid
+END(setreuid)
diff --git a/libc/arch-mips64/syscalls/setrlimit.S b/libc/arch-mips64/syscalls/setrlimit.S
index 9ed0024..3060298 100644
--- a/libc/arch-mips64/syscalls/setrlimit.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_setrlimit
@@ -28,7 +22,7 @@
j t9
move ra, t0
.set pop
- .end setrlimit
+END(setrlimit)
.globl setrlimit64
.equ setrlimit64, setrlimit
diff --git a/libc/arch-mips64/syscalls/setsid.S b/libc/arch-mips64/syscalls/setsid.S
index b1b340f..c8d1ad5 100644
--- a/libc/arch-mips64/syscalls/setsid.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_setsid
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end setsid
+END(setsid)
diff --git a/libc/arch-mips64/syscalls/setsockopt.S b/libc/arch-mips64/syscalls/setsockopt.S
index 55cce5f..b40aad1 100644
--- a/libc/arch-mips64/syscalls/setsockopt.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_setsockopt
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end setsockopt
+END(setsockopt)
diff --git a/libc/arch-mips64/syscalls/settimeofday.S b/libc/arch-mips64/syscalls/settimeofday.S
index 72802e2..2e333f8 100644
--- a/libc/arch-mips64/syscalls/settimeofday.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_settimeofday
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end settimeofday
+END(settimeofday)
diff --git a/libc/arch-mips64/syscalls/setuid.S b/libc/arch-mips64/syscalls/setuid.S
index d8edd22..fb8125e 100644
--- a/libc/arch-mips64/syscalls/setuid.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_setuid
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end setuid
+END(setuid)
diff --git a/libc/arch-mips64/syscalls/setxattr.S b/libc/arch-mips64/syscalls/setxattr.S
index 9ccc378..04e746d 100644
--- a/libc/arch-mips64/syscalls/setxattr.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_setxattr
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end setxattr
+END(setxattr)
diff --git a/libc/arch-mips64/syscalls/shutdown.S b/libc/arch-mips64/syscalls/shutdown.S
index 335ed41..59f437a 100644
--- a/libc/arch-mips64/syscalls/shutdown.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_shutdown
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end shutdown
+END(shutdown)
diff --git a/libc/arch-mips64/syscalls/sigaltstack.S b/libc/arch-mips64/syscalls/sigaltstack.S
index 3458b11..0fbd3a1 100644
--- a/libc/arch-mips64/syscalls/sigaltstack.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_sigaltstack
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end sigaltstack
+END(sigaltstack)
diff --git a/libc/arch-mips64/syscalls/signalfd4.S b/libc/arch-mips64/syscalls/signalfd4.S
index ef1d1e5..594c73d 100644
--- a/libc/arch-mips64/syscalls/signalfd4.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_signalfd4
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end signalfd4
+END(signalfd4)
diff --git a/libc/arch-mips64/syscalls/socket.S b/libc/arch-mips64/syscalls/socket.S
index 6b042c2..2020e2e 100644
--- a/libc/arch-mips64/syscalls/socket.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_socket
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end socket
+END(socket)
diff --git a/libc/arch-mips64/syscalls/socketpair.S b/libc/arch-mips64/syscalls/socketpair.S
index b4ca8f4..fa684d1 100644
--- a/libc/arch-mips64/syscalls/socketpair.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_socketpair
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end socketpair
+END(socketpair)
diff --git a/libc/arch-mips64/syscalls/statfs64.S b/libc/arch-mips64/syscalls/statfs64.S
index accd715..e835e41 100644
--- a/libc/arch-mips64/syscalls/statfs64.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_statfs
@@ -28,7 +22,7 @@
j t9
move ra, t0
.set pop
- .end statfs64
+END(statfs64)
.globl statfs
.equ statfs, statfs64
diff --git a/libc/arch-mips64/syscalls/swapoff.S b/libc/arch-mips64/syscalls/swapoff.S
index 8041188..dfaf185 100644
--- a/libc/arch-mips64/syscalls/swapoff.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_swapoff
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end swapoff
+END(swapoff)
diff --git a/libc/arch-mips64/syscalls/swapon.S b/libc/arch-mips64/syscalls/swapon.S
index 5c24d7c..8e844c4 100644
--- a/libc/arch-mips64/syscalls/swapon.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_swapon
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end swapon
+END(swapon)
diff --git a/libc/arch-mips64/syscalls/symlinkat.S b/libc/arch-mips64/syscalls/symlinkat.S
index ce86d86..e43d597 100644
--- a/libc/arch-mips64/syscalls/symlinkat.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_symlinkat
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end symlinkat
+END(symlinkat)
diff --git a/libc/arch-mips64/syscalls/sync.S b/libc/arch-mips64/syscalls/sync.S
index e0787bd..ec342a3 100644
--- a/libc/arch-mips64/syscalls/sync.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_sync
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end sync
+END(sync)
diff --git a/libc/arch-mips64/syscalls/sysinfo.S b/libc/arch-mips64/syscalls/sysinfo.S
index 19ad141..16486fd 100644
--- a/libc/arch-mips64/syscalls/sysinfo.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_sysinfo
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end sysinfo
+END(sysinfo)
diff --git a/libc/arch-mips64/syscalls/tgkill.S b/libc/arch-mips64/syscalls/tgkill.S
index 1a8fe79..d98d9ae 100644
--- a/libc/arch-mips64/syscalls/tgkill.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_tgkill
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end tgkill
+END(tgkill)
diff --git a/libc/arch-mips64/syscalls/timerfd_create.S b/libc/arch-mips64/syscalls/timerfd_create.S
index 63e8b00..ab8e9e0 100644
--- a/libc/arch-mips64/syscalls/timerfd_create.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_timerfd_create
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end timerfd_create
+END(timerfd_create)
diff --git a/libc/arch-mips64/syscalls/timerfd_gettime.S b/libc/arch-mips64/syscalls/timerfd_gettime.S
index 2afe6f1..2ec7b9c 100644
--- a/libc/arch-mips64/syscalls/timerfd_gettime.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_timerfd_gettime
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end timerfd_gettime
+END(timerfd_gettime)
diff --git a/libc/arch-mips64/syscalls/timerfd_settime.S b/libc/arch-mips64/syscalls/timerfd_settime.S
index 40ce07d..0aec09f 100644
--- a/libc/arch-mips64/syscalls/timerfd_settime.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_timerfd_settime
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end timerfd_settime
+END(timerfd_settime)
diff --git a/libc/arch-mips64/syscalls/times.S b/libc/arch-mips64/syscalls/times.S
index ccbdbf4..2457e0c 100644
--- a/libc/arch-mips64/syscalls/times.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_times
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end times
+END(times)
diff --git a/libc/arch-mips64/syscalls/tkill.S b/libc/arch-mips64/syscalls/tkill.S
index 8caa695..14d6903 100644
--- a/libc/arch-mips64/syscalls/tkill.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_tkill
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end tkill
+END(tkill)
diff --git a/libc/arch-mips64/syscalls/truncate.S b/libc/arch-mips64/syscalls/truncate.S
index a79cdcd..a0cbe51 100644
--- a/libc/arch-mips64/syscalls/truncate.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_truncate
@@ -28,7 +22,7 @@
j t9
move ra, t0
.set pop
- .end truncate
+END(truncate)
.globl truncate64
.equ truncate64, truncate
diff --git a/libc/arch-mips64/syscalls/umask.S b/libc/arch-mips64/syscalls/umask.S
index 168ff9c..33624d2 100644
--- a/libc/arch-mips64/syscalls/umask.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_umask
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end umask
+END(umask)
diff --git a/libc/arch-mips64/syscalls/umount2.S b/libc/arch-mips64/syscalls/umount2.S
index db80fa8..6193459 100644
--- a/libc/arch-mips64/syscalls/umount2.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_umount2
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end umount2
+END(umount2)
diff --git a/libc/arch-mips64/syscalls/uname.S b/libc/arch-mips64/syscalls/uname.S
index 417ecb0..df50f45 100644
--- a/libc/arch-mips64/syscalls/uname.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_uname
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end uname
+END(uname)
diff --git a/libc/arch-mips64/syscalls/unlinkat.S b/libc/arch-mips64/syscalls/unlinkat.S
index e533bc3..29d4442 100644
--- a/libc/arch-mips64/syscalls/unlinkat.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_unlinkat
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end unlinkat
+END(unlinkat)
diff --git a/libc/arch-mips64/syscalls/unshare.S b/libc/arch-mips64/syscalls/unshare.S
index 4a19745..6d8fbf3 100644
--- a/libc/arch-mips64/syscalls/unshare.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_unshare
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end unshare
+END(unshare)
diff --git a/libc/arch-mips64/syscalls/utimensat.S b/libc/arch-mips64/syscalls/utimensat.S
index 1cde60d..654b8a4 100644
--- a/libc/arch-mips64/syscalls/utimensat.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_utimensat
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end utimensat
+END(utimensat)
diff --git a/libc/arch-mips64/syscalls/wait4.S b/libc/arch-mips64/syscalls/wait4.S
index 14abeeb..e3755b5 100644
--- a/libc/arch-mips64/syscalls/wait4.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_wait4
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end wait4
+END(wait4)
diff --git a/libc/arch-mips64/syscalls/write.S b/libc/arch-mips64/syscalls/write.S
index f58f25d..ce7f702 100644
--- a/libc/arch-mips64/syscalls/write.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_write
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end write
+END(write)
diff --git a/libc/arch-mips64/syscalls/writev.S b/libc/arch-mips64/syscalls/writev.S
index a716c78..e2c7875 100644
--- a/libc/arch-mips64/syscalls/writev.S
+++ b/libc/arch-mips64/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 push
.set noreorder
li v0, __NR_writev
@@ -28,4 +22,4 @@
j t9
move ra, t0
.set pop
- .end writev
+END(writev)