diff --git a/libc/arch-mips/bionic/futex_mips.S b/libc/arch-mips/bionic/futex_mips.S index 5247b79e1..285beacfa 100644 --- a/libc/arch-mips/bionic/futex_mips.S +++ b/libc/arch-mips/bionic/futex_mips.S @@ -37,23 +37,23 @@ .align 4 .ent __futex_wait __futex_wait: - subu $sp,4*6 - sw $0,20($sp) /* val3 */ - sw $0,16($sp) /* addr2 */ - move $a3,$a2 /* timespec */ - move $a2,$a1 /* val */ - li $a1,FUTEX_WAIT /* op */ -# move $a0,$a0 /* ftx */ - li $v0,__NR_futex + subu sp,4*6 + sw $0,20(sp) /* val3 */ + sw $0,16(sp) /* addr2 */ + move a3,a2 /* timespec */ + move a2,a1 /* val */ + li a1,FUTEX_WAIT /* op */ +# move a0,a0 /* ftx */ + li v0,__NR_futex syscall .set noreorder - bnez $a3, 1f /* Check for error */ - neg $v0 /* Negate error number if it's valid */ - move $v0,$0 /* Otherwise return 0 */ + bnez a3, 1f /* Check for error */ + neg v0 /* Negate error number if it's valid */ + move v0,$0 /* Otherwise return 0 */ 1: .set reorder - addu $sp,4*6 - j $ra + addu sp,4*6 + j ra .end __futex_wait // int __futex_wake(volatile void* ftx, int count) @@ -62,23 +62,23 @@ __futex_wait: .align 4 .ent __futex_wake __futex_wake: - subu $sp,4*6 - sw $0,20($sp) /* val3 */ - sw $0,16($sp) /* addr2 */ - move $a3,$0 /* timespec */ - move $a2,$a1 /* val */ - li $a1,FUTEX_WAKE /* op */ -# move $a0,$a0 /* ftx */ - li $v0,__NR_futex + subu sp,4*6 + sw $0,20(sp) /* val3 */ + sw $0,16(sp) /* addr2 */ + move a3,$0 /* timespec */ + move a2,a1 /* val */ + li a1,FUTEX_WAKE /* op */ +# move a0,a0 /* ftx */ + li v0,__NR_futex syscall .set noreorder - bnez $a3, 1f /* Check for error */ - neg $v0 /* Negate error number if it's valid */ - move $v0,$0 /* Otherwise return 0 */ + bnez a3, 1f /* Check for error */ + neg v0 /* Negate error number if it's valid */ + move v0,$0 /* Otherwise return 0 */ 1: .set reorder - addu $sp,4*6 - j $ra + addu sp,4*6 + j ra .end __futex_wake // int __futex_syscall3(volatile void* ftx, int op, int count) @@ -87,23 +87,23 @@ __futex_wake: .align 4 .ent __futex_syscall3 __futex_syscall3: - subu $sp,4*6 - sw $0,20($sp) /* val3 */ - sw $0,16($sp) /* addr2 */ - move $a3,$0 /* timespec */ -# move $a2,$a2 /* val */ -# li $a1,$a1 /* op */ -# move $a0,$a0 /* ftx */ - li $v0,__NR_futex + subu sp,4*6 + sw $0,20(sp) /* val3 */ + sw $0,16(sp) /* addr2 */ + move a3,$0 /* timespec */ +# move a2,a2 /* val */ +# li a1,a1 /* op */ +# move a0,a0 /* ftx */ + li v0,__NR_futex syscall .set noreorder - bnez $a3, 1f /* Check for error */ - neg $v0 /* Negate error number if it's valid */ - move $v0,$0 /* Otherwise return 0 */ + bnez a3, 1f /* Check for error */ + neg v0 /* Negate error number if it's valid */ + move v0,$0 /* Otherwise return 0 */ 1: .set reorder - addu $sp,4*6 - j $ra + addu sp,4*6 + j ra .end __futex_syscall3 // int __futex_syscall4(volatile void* ftx, int op, int val, const struct timespec* timeout) @@ -112,21 +112,21 @@ __futex_syscall3: .align 4 .ent __futex_syscall4 __futex_syscall4: - subu $sp,4*6 - sw $0,20($sp) /* val3 */ - sw $0,16($sp) /* addr2 */ -# move $a3,$a3 /* timespec */ -# move $a2,$a2 /* val */ -# li $a1,$a1 /* op */ -# move $a0,$a0 /* ftx */ - li $v0,__NR_futex + subu sp,4*6 + sw $0,20(sp) /* val3 */ + sw $0,16(sp) /* addr2 */ +# move a3,a3 /* timespec */ +# move a2,a2 /* val */ +# li a1,a1 /* op */ +# move a0,a0 /* ftx */ + li v0,__NR_futex syscall .set noreorder - bnez $a3, 1f /* Check for error */ - neg $v0 /* Negate error number if it's valid */ - move $v0,$0 /* Otherwise return 0 */ + bnez a3, 1f /* Check for error */ + neg v0 /* Negate error number if it's valid */ + move v0,$0 /* Otherwise return 0 */ 1: .set reorder - addu $sp,4*6 - j $ra + addu sp,4*6 + j ra .end __futex_syscall4 diff --git a/libc/arch-mips/syscalls/__brk.S b/libc/arch-mips/syscalls/__brk.S index cfe549492..9325c2608 100644 --- a/libc/arch-mips/syscalls/__brk.S +++ b/libc/arch-mips/syscalls/__brk.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __brk - .align 4 - .ent __brk +#include -__brk: +ENTRY(__brk) .set noreorder .cpload t9 li v0, __NR_brk @@ -22,4 +16,4 @@ __brk: j t9 nop .set reorder - .end __brk +END(__brk) diff --git a/libc/arch-mips/syscalls/__epoll_pwait.S b/libc/arch-mips/syscalls/__epoll_pwait.S index bff520ac2..a417cdd6b 100644 --- a/libc/arch-mips/syscalls/__epoll_pwait.S +++ b/libc/arch-mips/syscalls/__epoll_pwait.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __epoll_pwait - .align 4 - .ent __epoll_pwait +#include -__epoll_pwait: +ENTRY(__epoll_pwait) .set noreorder .cpload t9 li v0, __NR_epoll_pwait @@ -22,4 +16,4 @@ __epoll_pwait: j t9 nop .set reorder - .end __epoll_pwait +END(__epoll_pwait) diff --git a/libc/arch-mips/syscalls/__exit.S b/libc/arch-mips/syscalls/__exit.S index ca4e82004..1515b41da 100644 --- a/libc/arch-mips/syscalls/__exit.S +++ b/libc/arch-mips/syscalls/__exit.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __exit - .align 4 - .ent __exit +#include -__exit: +ENTRY(__exit) .set noreorder .cpload t9 li v0, __NR_exit @@ -22,4 +16,4 @@ __exit: j t9 nop .set reorder - .end __exit +END(__exit) diff --git a/libc/arch-mips/syscalls/__fcntl64.S b/libc/arch-mips/syscalls/__fcntl64.S index 33d893296..b9815a1f0 100644 --- a/libc/arch-mips/syscalls/__fcntl64.S +++ b/libc/arch-mips/syscalls/__fcntl64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __fcntl64 - .align 4 - .ent __fcntl64 +#include -__fcntl64: +ENTRY(__fcntl64) .set noreorder .cpload t9 li v0, __NR_fcntl64 @@ -22,4 +16,4 @@ __fcntl64: j t9 nop .set reorder - .end __fcntl64 +END(__fcntl64) diff --git a/libc/arch-mips/syscalls/__fstatfs64.S b/libc/arch-mips/syscalls/__fstatfs64.S index 9fd19bfa4..8774a530c 100644 --- a/libc/arch-mips/syscalls/__fstatfs64.S +++ b/libc/arch-mips/syscalls/__fstatfs64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __fstatfs64 - .align 4 - .ent __fstatfs64 +#include -__fstatfs64: +ENTRY(__fstatfs64) .set noreorder .cpload t9 li v0, __NR_fstatfs64 @@ -22,4 +16,4 @@ __fstatfs64: j t9 nop .set reorder - .end __fstatfs64 +END(__fstatfs64) diff --git a/libc/arch-mips/syscalls/__getcpu.S b/libc/arch-mips/syscalls/__getcpu.S index 042417ece..2352e0174 100644 --- a/libc/arch-mips/syscalls/__getcpu.S +++ b/libc/arch-mips/syscalls/__getcpu.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __getcpu - .align 4 - .ent __getcpu +#include -__getcpu: +ENTRY(__getcpu) .set noreorder .cpload t9 li v0, __NR_getcpu @@ -22,4 +16,4 @@ __getcpu: j t9 nop .set reorder - .end __getcpu +END(__getcpu) diff --git a/libc/arch-mips/syscalls/__getcwd.S b/libc/arch-mips/syscalls/__getcwd.S index ff805fed1..e844f9a7d 100644 --- a/libc/arch-mips/syscalls/__getcwd.S +++ b/libc/arch-mips/syscalls/__getcwd.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __getcwd - .align 4 - .ent __getcwd +#include -__getcwd: +ENTRY(__getcwd) .set noreorder .cpload t9 li v0, __NR_getcwd @@ -22,4 +16,4 @@ __getcwd: j t9 nop .set reorder - .end __getcwd +END(__getcwd) diff --git a/libc/arch-mips/syscalls/__getpriority.S b/libc/arch-mips/syscalls/__getpriority.S index 1f7259eef..882386b12 100644 --- a/libc/arch-mips/syscalls/__getpriority.S +++ b/libc/arch-mips/syscalls/__getpriority.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __getpriority - .align 4 - .ent __getpriority +#include -__getpriority: +ENTRY(__getpriority) .set noreorder .cpload t9 li v0, __NR_getpriority @@ -22,4 +16,4 @@ __getpriority: j t9 nop .set reorder - .end __getpriority +END(__getpriority) diff --git a/libc/arch-mips/syscalls/__ioctl.S b/libc/arch-mips/syscalls/__ioctl.S index 883073370..ddf532325 100644 --- a/libc/arch-mips/syscalls/__ioctl.S +++ b/libc/arch-mips/syscalls/__ioctl.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __ioctl - .align 4 - .ent __ioctl +#include -__ioctl: +ENTRY(__ioctl) .set noreorder .cpload t9 li v0, __NR_ioctl @@ -22,4 +16,4 @@ __ioctl: j t9 nop .set reorder - .end __ioctl +END(__ioctl) diff --git a/libc/arch-mips/syscalls/__llseek.S b/libc/arch-mips/syscalls/__llseek.S index 7128319e6..10819f7a3 100644 --- a/libc/arch-mips/syscalls/__llseek.S +++ b/libc/arch-mips/syscalls/__llseek.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __llseek - .align 4 - .ent __llseek +#include -__llseek: +ENTRY(__llseek) .set noreorder .cpload t9 li v0, __NR__llseek @@ -22,4 +16,4 @@ __llseek: j t9 nop .set reorder - .end __llseek +END(__llseek) diff --git a/libc/arch-mips/syscalls/__mmap2.S b/libc/arch-mips/syscalls/__mmap2.S index 712c3113d..53728178f 100644 --- a/libc/arch-mips/syscalls/__mmap2.S +++ b/libc/arch-mips/syscalls/__mmap2.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __mmap2 - .align 4 - .ent __mmap2 +#include -__mmap2: +ENTRY(__mmap2) .set noreorder .cpload t9 li v0, __NR_mmap2 @@ -22,4 +16,4 @@ __mmap2: j t9 nop .set reorder - .end __mmap2 +END(__mmap2) diff --git a/libc/arch-mips/syscalls/__openat.S b/libc/arch-mips/syscalls/__openat.S index f30002ccf..f833dd878 100644 --- a/libc/arch-mips/syscalls/__openat.S +++ b/libc/arch-mips/syscalls/__openat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __openat - .align 4 - .ent __openat +#include -__openat: +ENTRY(__openat) .set noreorder .cpload t9 li v0, __NR_openat @@ -22,4 +16,4 @@ __openat: j t9 nop .set reorder - .end __openat +END(__openat) diff --git a/libc/arch-mips/syscalls/__ppoll.S b/libc/arch-mips/syscalls/__ppoll.S index 9c78d76ec..a5711d9af 100644 --- a/libc/arch-mips/syscalls/__ppoll.S +++ b/libc/arch-mips/syscalls/__ppoll.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __ppoll - .align 4 - .ent __ppoll +#include -__ppoll: +ENTRY(__ppoll) .set noreorder .cpload t9 li v0, __NR_ppoll @@ -22,4 +16,4 @@ __ppoll: j t9 nop .set reorder - .end __ppoll +END(__ppoll) diff --git a/libc/arch-mips/syscalls/__pselect6.S b/libc/arch-mips/syscalls/__pselect6.S index 235679b6f..4c0a0a53e 100644 --- a/libc/arch-mips/syscalls/__pselect6.S +++ b/libc/arch-mips/syscalls/__pselect6.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __pselect6 - .align 4 - .ent __pselect6 +#include -__pselect6: +ENTRY(__pselect6) .set noreorder .cpload t9 li v0, __NR_pselect6 @@ -22,4 +16,4 @@ __pselect6: j t9 nop .set reorder - .end __pselect6 +END(__pselect6) diff --git a/libc/arch-mips/syscalls/__ptrace.S b/libc/arch-mips/syscalls/__ptrace.S index d79255886..fcbe5293f 100644 --- a/libc/arch-mips/syscalls/__ptrace.S +++ b/libc/arch-mips/syscalls/__ptrace.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __ptrace - .align 4 - .ent __ptrace +#include -__ptrace: +ENTRY(__ptrace) .set noreorder .cpload t9 li v0, __NR_ptrace @@ -22,4 +16,4 @@ __ptrace: j t9 nop .set reorder - .end __ptrace +END(__ptrace) diff --git a/libc/arch-mips/syscalls/__reboot.S b/libc/arch-mips/syscalls/__reboot.S index e5be535ab..4aa0e7a76 100644 --- a/libc/arch-mips/syscalls/__reboot.S +++ b/libc/arch-mips/syscalls/__reboot.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __reboot - .align 4 - .ent __reboot +#include -__reboot: +ENTRY(__reboot) .set noreorder .cpload t9 li v0, __NR_reboot @@ -22,4 +16,4 @@ __reboot: j t9 nop .set reorder - .end __reboot +END(__reboot) diff --git a/libc/arch-mips/syscalls/__rt_sigaction.S b/libc/arch-mips/syscalls/__rt_sigaction.S index 35ec829af..6c5bc37f2 100644 --- a/libc/arch-mips/syscalls/__rt_sigaction.S +++ b/libc/arch-mips/syscalls/__rt_sigaction.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __rt_sigaction - .align 4 - .ent __rt_sigaction +#include -__rt_sigaction: +ENTRY(__rt_sigaction) .set noreorder .cpload t9 li v0, __NR_rt_sigaction @@ -22,4 +16,4 @@ __rt_sigaction: j t9 nop .set reorder - .end __rt_sigaction +END(__rt_sigaction) diff --git a/libc/arch-mips/syscalls/__rt_sigpending.S b/libc/arch-mips/syscalls/__rt_sigpending.S index fb695f5f9..e62f07954 100644 --- a/libc/arch-mips/syscalls/__rt_sigpending.S +++ b/libc/arch-mips/syscalls/__rt_sigpending.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __rt_sigpending - .align 4 - .ent __rt_sigpending +#include -__rt_sigpending: +ENTRY(__rt_sigpending) .set noreorder .cpload t9 li v0, __NR_rt_sigpending @@ -22,4 +16,4 @@ __rt_sigpending: j t9 nop .set reorder - .end __rt_sigpending +END(__rt_sigpending) diff --git a/libc/arch-mips/syscalls/__rt_sigprocmask.S b/libc/arch-mips/syscalls/__rt_sigprocmask.S index 674d6458c..94ef493fb 100644 --- a/libc/arch-mips/syscalls/__rt_sigprocmask.S +++ b/libc/arch-mips/syscalls/__rt_sigprocmask.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __rt_sigprocmask - .align 4 - .ent __rt_sigprocmask +#include -__rt_sigprocmask: +ENTRY(__rt_sigprocmask) .set noreorder .cpload t9 li v0, __NR_rt_sigprocmask @@ -22,4 +16,4 @@ __rt_sigprocmask: j t9 nop .set reorder - .end __rt_sigprocmask +END(__rt_sigprocmask) diff --git a/libc/arch-mips/syscalls/__rt_sigsuspend.S b/libc/arch-mips/syscalls/__rt_sigsuspend.S index 15c709dab..077746f7a 100644 --- a/libc/arch-mips/syscalls/__rt_sigsuspend.S +++ b/libc/arch-mips/syscalls/__rt_sigsuspend.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __rt_sigsuspend - .align 4 - .ent __rt_sigsuspend +#include -__rt_sigsuspend: +ENTRY(__rt_sigsuspend) .set noreorder .cpload t9 li v0, __NR_rt_sigsuspend @@ -22,4 +16,4 @@ __rt_sigsuspend: j t9 nop .set reorder - .end __rt_sigsuspend +END(__rt_sigsuspend) diff --git a/libc/arch-mips/syscalls/__rt_sigtimedwait.S b/libc/arch-mips/syscalls/__rt_sigtimedwait.S index d4f4a00e3..404eab72b 100644 --- a/libc/arch-mips/syscalls/__rt_sigtimedwait.S +++ b/libc/arch-mips/syscalls/__rt_sigtimedwait.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __rt_sigtimedwait - .align 4 - .ent __rt_sigtimedwait +#include -__rt_sigtimedwait: +ENTRY(__rt_sigtimedwait) .set noreorder .cpload t9 li v0, __NR_rt_sigtimedwait @@ -22,4 +16,4 @@ __rt_sigtimedwait: j t9 nop .set reorder - .end __rt_sigtimedwait +END(__rt_sigtimedwait) diff --git a/libc/arch-mips/syscalls/__sched_getaffinity.S b/libc/arch-mips/syscalls/__sched_getaffinity.S index a5fdd6770..da7170954 100644 --- a/libc/arch-mips/syscalls/__sched_getaffinity.S +++ b/libc/arch-mips/syscalls/__sched_getaffinity.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __sched_getaffinity - .align 4 - .ent __sched_getaffinity +#include -__sched_getaffinity: +ENTRY(__sched_getaffinity) .set noreorder .cpload t9 li v0, __NR_sched_getaffinity @@ -22,4 +16,4 @@ __sched_getaffinity: j t9 nop .set reorder - .end __sched_getaffinity +END(__sched_getaffinity) diff --git a/libc/arch-mips/syscalls/__set_thread_area.S b/libc/arch-mips/syscalls/__set_thread_area.S index 0e796c429..f83249efc 100644 --- a/libc/arch-mips/syscalls/__set_thread_area.S +++ b/libc/arch-mips/syscalls/__set_thread_area.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __set_thread_area - .align 4 - .ent __set_thread_area +#include -__set_thread_area: +ENTRY(__set_thread_area) .set noreorder .cpload t9 li v0, __NR_set_thread_area @@ -22,4 +16,4 @@ __set_thread_area: j t9 nop .set reorder - .end __set_thread_area +END(__set_thread_area) diff --git a/libc/arch-mips/syscalls/__set_tid_address.S b/libc/arch-mips/syscalls/__set_tid_address.S index 27db9117a..146cd0d80 100644 --- a/libc/arch-mips/syscalls/__set_tid_address.S +++ b/libc/arch-mips/syscalls/__set_tid_address.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __set_tid_address - .align 4 - .ent __set_tid_address +#include -__set_tid_address: +ENTRY(__set_tid_address) .set noreorder .cpload t9 li v0, __NR_set_tid_address @@ -22,4 +16,4 @@ __set_tid_address: j t9 nop .set reorder - .end __set_tid_address +END(__set_tid_address) diff --git a/libc/arch-mips/syscalls/__sigaction.S b/libc/arch-mips/syscalls/__sigaction.S index aa9ead70a..03dd9da0c 100644 --- a/libc/arch-mips/syscalls/__sigaction.S +++ b/libc/arch-mips/syscalls/__sigaction.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __sigaction - .align 4 - .ent __sigaction +#include -__sigaction: +ENTRY(__sigaction) .set noreorder .cpload t9 li v0, __NR_sigaction @@ -22,4 +16,4 @@ __sigaction: j t9 nop .set reorder - .end __sigaction +END(__sigaction) diff --git a/libc/arch-mips/syscalls/__statfs64.S b/libc/arch-mips/syscalls/__statfs64.S index d6cc518bd..9f94e6a28 100644 --- a/libc/arch-mips/syscalls/__statfs64.S +++ b/libc/arch-mips/syscalls/__statfs64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __statfs64 - .align 4 - .ent __statfs64 +#include -__statfs64: +ENTRY(__statfs64) .set noreorder .cpload t9 li v0, __NR_statfs64 @@ -22,4 +16,4 @@ __statfs64: j t9 nop .set reorder - .end __statfs64 +END(__statfs64) diff --git a/libc/arch-mips/syscalls/__syslog.S b/libc/arch-mips/syscalls/__syslog.S index 2b71f1127..ace69c701 100644 --- a/libc/arch-mips/syscalls/__syslog.S +++ b/libc/arch-mips/syscalls/__syslog.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __syslog - .align 4 - .ent __syslog +#include -__syslog: +ENTRY(__syslog) .set noreorder .cpload t9 li v0, __NR_syslog @@ -22,4 +16,4 @@ __syslog: j t9 nop .set reorder - .end __syslog +END(__syslog) diff --git a/libc/arch-mips/syscalls/__timer_create.S b/libc/arch-mips/syscalls/__timer_create.S index 399590d4d..449bd2837 100644 --- a/libc/arch-mips/syscalls/__timer_create.S +++ b/libc/arch-mips/syscalls/__timer_create.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __timer_create - .align 4 - .ent __timer_create +#include -__timer_create: +ENTRY(__timer_create) .set noreorder .cpload t9 li v0, __NR_timer_create @@ -22,4 +16,4 @@ __timer_create: j t9 nop .set reorder - .end __timer_create +END(__timer_create) diff --git a/libc/arch-mips/syscalls/__timer_delete.S b/libc/arch-mips/syscalls/__timer_delete.S index 47d3706f8..7bc5e0598 100644 --- a/libc/arch-mips/syscalls/__timer_delete.S +++ b/libc/arch-mips/syscalls/__timer_delete.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __timer_delete - .align 4 - .ent __timer_delete +#include -__timer_delete: +ENTRY(__timer_delete) .set noreorder .cpload t9 li v0, __NR_timer_delete @@ -22,4 +16,4 @@ __timer_delete: j t9 nop .set reorder - .end __timer_delete +END(__timer_delete) diff --git a/libc/arch-mips/syscalls/__timer_getoverrun.S b/libc/arch-mips/syscalls/__timer_getoverrun.S index 97ae20756..7382c9150 100644 --- a/libc/arch-mips/syscalls/__timer_getoverrun.S +++ b/libc/arch-mips/syscalls/__timer_getoverrun.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __timer_getoverrun - .align 4 - .ent __timer_getoverrun +#include -__timer_getoverrun: +ENTRY(__timer_getoverrun) .set noreorder .cpload t9 li v0, __NR_timer_getoverrun @@ -22,4 +16,4 @@ __timer_getoverrun: j t9 nop .set reorder - .end __timer_getoverrun +END(__timer_getoverrun) diff --git a/libc/arch-mips/syscalls/__timer_gettime.S b/libc/arch-mips/syscalls/__timer_gettime.S index 45e05ae61..d6195b9ba 100644 --- a/libc/arch-mips/syscalls/__timer_gettime.S +++ b/libc/arch-mips/syscalls/__timer_gettime.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __timer_gettime - .align 4 - .ent __timer_gettime +#include -__timer_gettime: +ENTRY(__timer_gettime) .set noreorder .cpload t9 li v0, __NR_timer_gettime @@ -22,4 +16,4 @@ __timer_gettime: j t9 nop .set reorder - .end __timer_gettime +END(__timer_gettime) diff --git a/libc/arch-mips/syscalls/__timer_settime.S b/libc/arch-mips/syscalls/__timer_settime.S index da13eacf5..9fbab8625 100644 --- a/libc/arch-mips/syscalls/__timer_settime.S +++ b/libc/arch-mips/syscalls/__timer_settime.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __timer_settime - .align 4 - .ent __timer_settime +#include -__timer_settime: +ENTRY(__timer_settime) .set noreorder .cpload t9 li v0, __NR_timer_settime @@ -22,4 +16,4 @@ __timer_settime: j t9 nop .set reorder - .end __timer_settime +END(__timer_settime) diff --git a/libc/arch-mips/syscalls/__waitid.S b/libc/arch-mips/syscalls/__waitid.S index c3ade3a21..4c9142e84 100644 --- a/libc/arch-mips/syscalls/__waitid.S +++ b/libc/arch-mips/syscalls/__waitid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl __waitid - .align 4 - .ent __waitid +#include -__waitid: +ENTRY(__waitid) .set noreorder .cpload t9 li v0, __NR_waitid @@ -22,4 +16,4 @@ __waitid: j t9 nop .set reorder - .end __waitid +END(__waitid) diff --git a/libc/arch-mips/syscalls/_exit.S b/libc/arch-mips/syscalls/_exit.S index 64d5494fb..5a0877da3 100644 --- a/libc/arch-mips/syscalls/_exit.S +++ b/libc/arch-mips/syscalls/_exit.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl _exit - .align 4 - .ent _exit +#include -_exit: +ENTRY(_exit) .set noreorder .cpload t9 li v0, __NR_exit_group @@ -22,4 +16,4 @@ _exit: j t9 nop .set reorder - .end _exit +END(_exit) diff --git a/libc/arch-mips/syscalls/_flush_cache.S b/libc/arch-mips/syscalls/_flush_cache.S index 1d1484388..64967fe1a 100644 --- a/libc/arch-mips/syscalls/_flush_cache.S +++ b/libc/arch-mips/syscalls/_flush_cache.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl _flush_cache - .align 4 - .ent _flush_cache +#include -_flush_cache: +ENTRY(_flush_cache) .set noreorder .cpload t9 li v0, __NR_cacheflush @@ -22,4 +16,4 @@ _flush_cache: j t9 nop .set reorder - .end _flush_cache +END(_flush_cache) diff --git a/libc/arch-mips/syscalls/accept.S b/libc/arch-mips/syscalls/accept.S index da29290b3..09496abdc 100644 --- a/libc/arch-mips/syscalls/accept.S +++ b/libc/arch-mips/syscalls/accept.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl accept - .align 4 - .ent accept +#include -accept: +ENTRY(accept) .set noreorder .cpload t9 li v0, __NR_accept @@ -22,4 +16,4 @@ accept: j t9 nop .set reorder - .end accept +END(accept) diff --git a/libc/arch-mips/syscalls/acct.S b/libc/arch-mips/syscalls/acct.S index 05bbdc2ed..6e4a4f21b 100644 --- a/libc/arch-mips/syscalls/acct.S +++ b/libc/arch-mips/syscalls/acct.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl acct - .align 4 - .ent acct +#include -acct: +ENTRY(acct) .set noreorder .cpload t9 li v0, __NR_acct @@ -22,4 +16,4 @@ acct: j t9 nop .set reorder - .end acct +END(acct) diff --git a/libc/arch-mips/syscalls/bind.S b/libc/arch-mips/syscalls/bind.S index e45203fad..9119aa852 100644 --- a/libc/arch-mips/syscalls/bind.S +++ b/libc/arch-mips/syscalls/bind.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl bind - .align 4 - .ent bind +#include -bind: +ENTRY(bind) .set noreorder .cpload t9 li v0, __NR_bind @@ -22,4 +16,4 @@ bind: j t9 nop .set reorder - .end bind +END(bind) diff --git a/libc/arch-mips/syscalls/capget.S b/libc/arch-mips/syscalls/capget.S index 05fe75f94..549dc7679 100644 --- a/libc/arch-mips/syscalls/capget.S +++ b/libc/arch-mips/syscalls/capget.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl capget - .align 4 - .ent capget +#include -capget: +ENTRY(capget) .set noreorder .cpload t9 li v0, __NR_capget @@ -22,4 +16,4 @@ capget: j t9 nop .set reorder - .end capget +END(capget) diff --git a/libc/arch-mips/syscalls/capset.S b/libc/arch-mips/syscalls/capset.S index d731c0906..637ac374c 100644 --- a/libc/arch-mips/syscalls/capset.S +++ b/libc/arch-mips/syscalls/capset.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl capset - .align 4 - .ent capset +#include -capset: +ENTRY(capset) .set noreorder .cpload t9 li v0, __NR_capset @@ -22,4 +16,4 @@ capset: j t9 nop .set reorder - .end capset +END(capset) diff --git a/libc/arch-mips/syscalls/chdir.S b/libc/arch-mips/syscalls/chdir.S index e757ebf94..752e4e7de 100644 --- a/libc/arch-mips/syscalls/chdir.S +++ b/libc/arch-mips/syscalls/chdir.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl chdir - .align 4 - .ent chdir +#include -chdir: +ENTRY(chdir) .set noreorder .cpload t9 li v0, __NR_chdir @@ -22,4 +16,4 @@ chdir: j t9 nop .set reorder - .end chdir +END(chdir) diff --git a/libc/arch-mips/syscalls/chroot.S b/libc/arch-mips/syscalls/chroot.S index d3a431d8c..d1ffc97fe 100644 --- a/libc/arch-mips/syscalls/chroot.S +++ b/libc/arch-mips/syscalls/chroot.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl chroot - .align 4 - .ent chroot +#include -chroot: +ENTRY(chroot) .set noreorder .cpload t9 li v0, __NR_chroot @@ -22,4 +16,4 @@ chroot: j t9 nop .set reorder - .end chroot +END(chroot) diff --git a/libc/arch-mips/syscalls/clock_getres.S b/libc/arch-mips/syscalls/clock_getres.S index 7b65c83ba..49d9bba7e 100644 --- a/libc/arch-mips/syscalls/clock_getres.S +++ b/libc/arch-mips/syscalls/clock_getres.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl clock_getres - .align 4 - .ent clock_getres +#include -clock_getres: +ENTRY(clock_getres) .set noreorder .cpload t9 li v0, __NR_clock_getres @@ -22,4 +16,4 @@ clock_getres: j t9 nop .set reorder - .end clock_getres +END(clock_getres) diff --git a/libc/arch-mips/syscalls/clock_gettime.S b/libc/arch-mips/syscalls/clock_gettime.S index 05e21b4af..42929e810 100644 --- a/libc/arch-mips/syscalls/clock_gettime.S +++ b/libc/arch-mips/syscalls/clock_gettime.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl clock_gettime - .align 4 - .ent clock_gettime +#include -clock_gettime: +ENTRY(clock_gettime) .set noreorder .cpload t9 li v0, __NR_clock_gettime @@ -22,4 +16,4 @@ clock_gettime: j t9 nop .set reorder - .end clock_gettime +END(clock_gettime) diff --git a/libc/arch-mips/syscalls/clock_nanosleep.S b/libc/arch-mips/syscalls/clock_nanosleep.S index 03ed9fdfb..e7c25cef3 100644 --- a/libc/arch-mips/syscalls/clock_nanosleep.S +++ b/libc/arch-mips/syscalls/clock_nanosleep.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl clock_nanosleep - .align 4 - .ent clock_nanosleep +#include -clock_nanosleep: +ENTRY(clock_nanosleep) .set noreorder .cpload t9 li v0, __NR_clock_nanosleep @@ -22,4 +16,4 @@ clock_nanosleep: j t9 nop .set reorder - .end clock_nanosleep +END(clock_nanosleep) diff --git a/libc/arch-mips/syscalls/clock_settime.S b/libc/arch-mips/syscalls/clock_settime.S index 66719d8ae..e7dda913c 100644 --- a/libc/arch-mips/syscalls/clock_settime.S +++ b/libc/arch-mips/syscalls/clock_settime.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl clock_settime - .align 4 - .ent clock_settime +#include -clock_settime: +ENTRY(clock_settime) .set noreorder .cpload t9 li v0, __NR_clock_settime @@ -22,4 +16,4 @@ clock_settime: j t9 nop .set reorder - .end clock_settime +END(clock_settime) diff --git a/libc/arch-mips/syscalls/close.S b/libc/arch-mips/syscalls/close.S index a997dab13..bc2c32588 100644 --- a/libc/arch-mips/syscalls/close.S +++ b/libc/arch-mips/syscalls/close.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl close - .align 4 - .ent close +#include -close: +ENTRY(close) .set noreorder .cpload t9 li v0, __NR_close @@ -22,4 +16,4 @@ close: j t9 nop .set reorder - .end close +END(close) diff --git a/libc/arch-mips/syscalls/connect.S b/libc/arch-mips/syscalls/connect.S index 646eaa507..6f106528b 100644 --- a/libc/arch-mips/syscalls/connect.S +++ b/libc/arch-mips/syscalls/connect.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl connect - .align 4 - .ent connect +#include -connect: +ENTRY(connect) .set noreorder .cpload t9 li v0, __NR_connect @@ -22,4 +16,4 @@ connect: j t9 nop .set reorder - .end connect +END(connect) diff --git a/libc/arch-mips/syscalls/delete_module.S b/libc/arch-mips/syscalls/delete_module.S index a6d03f38a..9247f5af6 100644 --- a/libc/arch-mips/syscalls/delete_module.S +++ b/libc/arch-mips/syscalls/delete_module.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl delete_module - .align 4 - .ent delete_module +#include -delete_module: +ENTRY(delete_module) .set noreorder .cpload t9 li v0, __NR_delete_module @@ -22,4 +16,4 @@ delete_module: j t9 nop .set reorder - .end delete_module +END(delete_module) diff --git a/libc/arch-mips/syscalls/dup.S b/libc/arch-mips/syscalls/dup.S index 49fbf3969..61b1c03fe 100644 --- a/libc/arch-mips/syscalls/dup.S +++ b/libc/arch-mips/syscalls/dup.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl dup - .align 4 - .ent dup +#include -dup: +ENTRY(dup) .set noreorder .cpload t9 li v0, __NR_dup @@ -22,4 +16,4 @@ dup: j t9 nop .set reorder - .end dup +END(dup) diff --git a/libc/arch-mips/syscalls/dup3.S b/libc/arch-mips/syscalls/dup3.S index 637a7d4d1..d0694e8e6 100644 --- a/libc/arch-mips/syscalls/dup3.S +++ b/libc/arch-mips/syscalls/dup3.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl dup3 - .align 4 - .ent dup3 +#include -dup3: +ENTRY(dup3) .set noreorder .cpload t9 li v0, __NR_dup3 @@ -22,4 +16,4 @@ dup3: j t9 nop .set reorder - .end dup3 +END(dup3) diff --git a/libc/arch-mips/syscalls/epoll_create1.S b/libc/arch-mips/syscalls/epoll_create1.S index 26fbdd76c..2043f3982 100644 --- a/libc/arch-mips/syscalls/epoll_create1.S +++ b/libc/arch-mips/syscalls/epoll_create1.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl epoll_create1 - .align 4 - .ent epoll_create1 +#include -epoll_create1: +ENTRY(epoll_create1) .set noreorder .cpload t9 li v0, __NR_epoll_create1 @@ -22,4 +16,4 @@ epoll_create1: j t9 nop .set reorder - .end epoll_create1 +END(epoll_create1) diff --git a/libc/arch-mips/syscalls/epoll_ctl.S b/libc/arch-mips/syscalls/epoll_ctl.S index 77cae6913..9474d3ad4 100644 --- a/libc/arch-mips/syscalls/epoll_ctl.S +++ b/libc/arch-mips/syscalls/epoll_ctl.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl epoll_ctl - .align 4 - .ent epoll_ctl +#include -epoll_ctl: +ENTRY(epoll_ctl) .set noreorder .cpload t9 li v0, __NR_epoll_ctl @@ -22,4 +16,4 @@ epoll_ctl: j t9 nop .set reorder - .end epoll_ctl +END(epoll_ctl) diff --git a/libc/arch-mips/syscalls/eventfd.S b/libc/arch-mips/syscalls/eventfd.S index ada783e9b..5282a914d 100644 --- a/libc/arch-mips/syscalls/eventfd.S +++ b/libc/arch-mips/syscalls/eventfd.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl eventfd - .align 4 - .ent eventfd +#include -eventfd: +ENTRY(eventfd) .set noreorder .cpload t9 li v0, __NR_eventfd2 @@ -22,4 +16,4 @@ eventfd: j t9 nop .set reorder - .end eventfd +END(eventfd) diff --git a/libc/arch-mips/syscalls/execve.S b/libc/arch-mips/syscalls/execve.S index 531a7af3c..fcaec0a9b 100644 --- a/libc/arch-mips/syscalls/execve.S +++ b/libc/arch-mips/syscalls/execve.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl execve - .align 4 - .ent execve +#include -execve: +ENTRY(execve) .set noreorder .cpload t9 li v0, __NR_execve @@ -22,4 +16,4 @@ execve: j t9 nop .set reorder - .end execve +END(execve) diff --git a/libc/arch-mips/syscalls/faccessat.S b/libc/arch-mips/syscalls/faccessat.S index 9735ef128..e7afe2ada 100644 --- a/libc/arch-mips/syscalls/faccessat.S +++ b/libc/arch-mips/syscalls/faccessat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl faccessat - .align 4 - .ent faccessat +#include -faccessat: +ENTRY(faccessat) .set noreorder .cpload t9 li v0, __NR_faccessat @@ -22,4 +16,4 @@ faccessat: j t9 nop .set reorder - .end faccessat +END(faccessat) diff --git a/libc/arch-mips/syscalls/fallocate64.S b/libc/arch-mips/syscalls/fallocate64.S index 7747f2ac6..d81460695 100644 --- a/libc/arch-mips/syscalls/fallocate64.S +++ b/libc/arch-mips/syscalls/fallocate64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl fallocate64 - .align 4 - .ent fallocate64 +#include -fallocate64: +ENTRY(fallocate64) .set noreorder .cpload t9 li v0, __NR_fallocate @@ -22,4 +16,4 @@ fallocate64: j t9 nop .set reorder - .end fallocate64 +END(fallocate64) diff --git a/libc/arch-mips/syscalls/fchdir.S b/libc/arch-mips/syscalls/fchdir.S index 71fafed21..daac0f5d8 100644 --- a/libc/arch-mips/syscalls/fchdir.S +++ b/libc/arch-mips/syscalls/fchdir.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl fchdir - .align 4 - .ent fchdir +#include -fchdir: +ENTRY(fchdir) .set noreorder .cpload t9 li v0, __NR_fchdir @@ -22,4 +16,4 @@ fchdir: j t9 nop .set reorder - .end fchdir +END(fchdir) diff --git a/libc/arch-mips/syscalls/fchmod.S b/libc/arch-mips/syscalls/fchmod.S index 77e42050d..e947e41a1 100644 --- a/libc/arch-mips/syscalls/fchmod.S +++ b/libc/arch-mips/syscalls/fchmod.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl fchmod - .align 4 - .ent fchmod +#include -fchmod: +ENTRY(fchmod) .set noreorder .cpload t9 li v0, __NR_fchmod @@ -22,4 +16,4 @@ fchmod: j t9 nop .set reorder - .end fchmod +END(fchmod) diff --git a/libc/arch-mips/syscalls/fchmodat.S b/libc/arch-mips/syscalls/fchmodat.S index 3fd74fbc2..4d2a7d3a6 100644 --- a/libc/arch-mips/syscalls/fchmodat.S +++ b/libc/arch-mips/syscalls/fchmodat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl fchmodat - .align 4 - .ent fchmodat +#include -fchmodat: +ENTRY(fchmodat) .set noreorder .cpload t9 li v0, __NR_fchmodat @@ -22,4 +16,4 @@ fchmodat: j t9 nop .set reorder - .end fchmodat +END(fchmodat) diff --git a/libc/arch-mips/syscalls/fchown.S b/libc/arch-mips/syscalls/fchown.S index 8cf754f04..f59c0f4e0 100644 --- a/libc/arch-mips/syscalls/fchown.S +++ b/libc/arch-mips/syscalls/fchown.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl fchown - .align 4 - .ent fchown +#include -fchown: +ENTRY(fchown) .set noreorder .cpload t9 li v0, __NR_fchown @@ -22,4 +16,4 @@ fchown: j t9 nop .set reorder - .end fchown +END(fchown) diff --git a/libc/arch-mips/syscalls/fchownat.S b/libc/arch-mips/syscalls/fchownat.S index 229245845..af44cbc3d 100644 --- a/libc/arch-mips/syscalls/fchownat.S +++ b/libc/arch-mips/syscalls/fchownat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl fchownat - .align 4 - .ent fchownat +#include -fchownat: +ENTRY(fchownat) .set noreorder .cpload t9 li v0, __NR_fchownat @@ -22,4 +16,4 @@ fchownat: j t9 nop .set reorder - .end fchownat +END(fchownat) diff --git a/libc/arch-mips/syscalls/fdatasync.S b/libc/arch-mips/syscalls/fdatasync.S index 899a20929..07e3592b6 100644 --- a/libc/arch-mips/syscalls/fdatasync.S +++ b/libc/arch-mips/syscalls/fdatasync.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl fdatasync - .align 4 - .ent fdatasync +#include -fdatasync: +ENTRY(fdatasync) .set noreorder .cpload t9 li v0, __NR_fdatasync @@ -22,4 +16,4 @@ fdatasync: j t9 nop .set reorder - .end fdatasync +END(fdatasync) diff --git a/libc/arch-mips/syscalls/fgetxattr.S b/libc/arch-mips/syscalls/fgetxattr.S index eb515c9db..035e71ca5 100644 --- a/libc/arch-mips/syscalls/fgetxattr.S +++ b/libc/arch-mips/syscalls/fgetxattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl fgetxattr - .align 4 - .ent fgetxattr +#include -fgetxattr: +ENTRY(fgetxattr) .set noreorder .cpload t9 li v0, __NR_fgetxattr @@ -22,4 +16,4 @@ fgetxattr: j t9 nop .set reorder - .end fgetxattr +END(fgetxattr) diff --git a/libc/arch-mips/syscalls/flistxattr.S b/libc/arch-mips/syscalls/flistxattr.S index 3c4a2b46b..500cd9792 100644 --- a/libc/arch-mips/syscalls/flistxattr.S +++ b/libc/arch-mips/syscalls/flistxattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl flistxattr - .align 4 - .ent flistxattr +#include -flistxattr: +ENTRY(flistxattr) .set noreorder .cpload t9 li v0, __NR_flistxattr @@ -22,4 +16,4 @@ flistxattr: j t9 nop .set reorder - .end flistxattr +END(flistxattr) diff --git a/libc/arch-mips/syscalls/flock.S b/libc/arch-mips/syscalls/flock.S index 00c179f7a..7d843ab39 100644 --- a/libc/arch-mips/syscalls/flock.S +++ b/libc/arch-mips/syscalls/flock.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl flock - .align 4 - .ent flock +#include -flock: +ENTRY(flock) .set noreorder .cpload t9 li v0, __NR_flock @@ -22,4 +16,4 @@ flock: j t9 nop .set reorder - .end flock +END(flock) diff --git a/libc/arch-mips/syscalls/fremovexattr.S b/libc/arch-mips/syscalls/fremovexattr.S index 91402eb8a..9f161866f 100644 --- a/libc/arch-mips/syscalls/fremovexattr.S +++ b/libc/arch-mips/syscalls/fremovexattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl fremovexattr - .align 4 - .ent fremovexattr +#include -fremovexattr: +ENTRY(fremovexattr) .set noreorder .cpload t9 li v0, __NR_fremovexattr @@ -22,4 +16,4 @@ fremovexattr: j t9 nop .set reorder - .end fremovexattr +END(fremovexattr) diff --git a/libc/arch-mips/syscalls/fsetxattr.S b/libc/arch-mips/syscalls/fsetxattr.S index eb26bd6d0..03471288b 100644 --- a/libc/arch-mips/syscalls/fsetxattr.S +++ b/libc/arch-mips/syscalls/fsetxattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl fsetxattr - .align 4 - .ent fsetxattr +#include -fsetxattr: +ENTRY(fsetxattr) .set noreorder .cpload t9 li v0, __NR_fsetxattr @@ -22,4 +16,4 @@ fsetxattr: j t9 nop .set reorder - .end fsetxattr +END(fsetxattr) diff --git a/libc/arch-mips/syscalls/fstat64.S b/libc/arch-mips/syscalls/fstat64.S index f557dc897..722854115 100644 --- a/libc/arch-mips/syscalls/fstat64.S +++ b/libc/arch-mips/syscalls/fstat64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl fstat64 - .align 4 - .ent fstat64 +#include -fstat64: +ENTRY(fstat64) .set noreorder .cpload t9 li v0, __NR_fstat64 @@ -22,7 +16,7 @@ fstat64: j t9 nop .set reorder - .end fstat64 +END(fstat64) .globl fstat .equ fstat, fstat64 diff --git a/libc/arch-mips/syscalls/fstatat64.S b/libc/arch-mips/syscalls/fstatat64.S index f5aa9ad8e..b2903f25a 100644 --- a/libc/arch-mips/syscalls/fstatat64.S +++ b/libc/arch-mips/syscalls/fstatat64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl fstatat64 - .align 4 - .ent fstatat64 +#include -fstatat64: +ENTRY(fstatat64) .set noreorder .cpload t9 li v0, __NR_fstatat64 @@ -22,7 +16,7 @@ fstatat64: j t9 nop .set reorder - .end fstatat64 +END(fstatat64) .globl fstatat .equ fstatat, fstatat64 diff --git a/libc/arch-mips/syscalls/fsync.S b/libc/arch-mips/syscalls/fsync.S index 5718e40ae..96b417df3 100644 --- a/libc/arch-mips/syscalls/fsync.S +++ b/libc/arch-mips/syscalls/fsync.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl fsync - .align 4 - .ent fsync +#include -fsync: +ENTRY(fsync) .set noreorder .cpload t9 li v0, __NR_fsync @@ -22,4 +16,4 @@ fsync: j t9 nop .set reorder - .end fsync +END(fsync) diff --git a/libc/arch-mips/syscalls/ftruncate.S b/libc/arch-mips/syscalls/ftruncate.S index 9004c9a1f..bd428fb1a 100644 --- a/libc/arch-mips/syscalls/ftruncate.S +++ b/libc/arch-mips/syscalls/ftruncate.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl ftruncate - .align 4 - .ent ftruncate +#include -ftruncate: +ENTRY(ftruncate) .set noreorder .cpload t9 li v0, __NR_ftruncate @@ -22,4 +16,4 @@ ftruncate: j t9 nop .set reorder - .end ftruncate +END(ftruncate) diff --git a/libc/arch-mips/syscalls/ftruncate64.S b/libc/arch-mips/syscalls/ftruncate64.S index 27c7c2ad0..357e9a583 100644 --- a/libc/arch-mips/syscalls/ftruncate64.S +++ b/libc/arch-mips/syscalls/ftruncate64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl ftruncate64 - .align 4 - .ent ftruncate64 +#include -ftruncate64: +ENTRY(ftruncate64) .set noreorder .cpload t9 li v0, __NR_ftruncate64 @@ -22,4 +16,4 @@ ftruncate64: j t9 nop .set reorder - .end ftruncate64 +END(ftruncate64) diff --git a/libc/arch-mips/syscalls/futex.S b/libc/arch-mips/syscalls/futex.S index bf935e03d..a865fea10 100644 --- a/libc/arch-mips/syscalls/futex.S +++ b/libc/arch-mips/syscalls/futex.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl futex - .align 4 - .ent futex +#include -futex: +ENTRY(futex) .set noreorder .cpload t9 li v0, __NR_futex @@ -22,4 +16,4 @@ futex: j t9 nop .set reorder - .end futex +END(futex) diff --git a/libc/arch-mips/syscalls/getdents.S b/libc/arch-mips/syscalls/getdents.S index 7ac22e3d8..ce92886f4 100644 --- a/libc/arch-mips/syscalls/getdents.S +++ b/libc/arch-mips/syscalls/getdents.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl getdents - .align 4 - .ent getdents +#include -getdents: +ENTRY(getdents) .set noreorder .cpload t9 li v0, __NR_getdents64 @@ -22,4 +16,4 @@ getdents: j t9 nop .set reorder - .end getdents +END(getdents) diff --git a/libc/arch-mips/syscalls/getegid.S b/libc/arch-mips/syscalls/getegid.S index da9fb6c62..c3a3ac0e4 100644 --- a/libc/arch-mips/syscalls/getegid.S +++ b/libc/arch-mips/syscalls/getegid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl getegid - .align 4 - .ent getegid +#include -getegid: +ENTRY(getegid) .set noreorder .cpload t9 li v0, __NR_getegid @@ -22,4 +16,4 @@ getegid: j t9 nop .set reorder - .end getegid +END(getegid) diff --git a/libc/arch-mips/syscalls/geteuid.S b/libc/arch-mips/syscalls/geteuid.S index 92cfcf922..66e6d4f00 100644 --- a/libc/arch-mips/syscalls/geteuid.S +++ b/libc/arch-mips/syscalls/geteuid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl geteuid - .align 4 - .ent geteuid +#include -geteuid: +ENTRY(geteuid) .set noreorder .cpload t9 li v0, __NR_geteuid @@ -22,4 +16,4 @@ geteuid: j t9 nop .set reorder - .end geteuid +END(geteuid) diff --git a/libc/arch-mips/syscalls/getgid.S b/libc/arch-mips/syscalls/getgid.S index 8fa39b2c1..674d5271e 100644 --- a/libc/arch-mips/syscalls/getgid.S +++ b/libc/arch-mips/syscalls/getgid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl getgid - .align 4 - .ent getgid +#include -getgid: +ENTRY(getgid) .set noreorder .cpload t9 li v0, __NR_getgid @@ -22,4 +16,4 @@ getgid: j t9 nop .set reorder - .end getgid +END(getgid) diff --git a/libc/arch-mips/syscalls/getgroups.S b/libc/arch-mips/syscalls/getgroups.S index 0399240f3..caa031bdf 100644 --- a/libc/arch-mips/syscalls/getgroups.S +++ b/libc/arch-mips/syscalls/getgroups.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl getgroups - .align 4 - .ent getgroups +#include -getgroups: +ENTRY(getgroups) .set noreorder .cpload t9 li v0, __NR_getgroups @@ -22,4 +16,4 @@ getgroups: j t9 nop .set reorder - .end getgroups +END(getgroups) diff --git a/libc/arch-mips/syscalls/getitimer.S b/libc/arch-mips/syscalls/getitimer.S index c5f5b2d92..e7a655a97 100644 --- a/libc/arch-mips/syscalls/getitimer.S +++ b/libc/arch-mips/syscalls/getitimer.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl getitimer - .align 4 - .ent getitimer +#include -getitimer: +ENTRY(getitimer) .set noreorder .cpload t9 li v0, __NR_getitimer @@ -22,4 +16,4 @@ getitimer: j t9 nop .set reorder - .end getitimer +END(getitimer) diff --git a/libc/arch-mips/syscalls/getpeername.S b/libc/arch-mips/syscalls/getpeername.S index b70a04efb..31df8adbd 100644 --- a/libc/arch-mips/syscalls/getpeername.S +++ b/libc/arch-mips/syscalls/getpeername.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl getpeername - .align 4 - .ent getpeername +#include -getpeername: +ENTRY(getpeername) .set noreorder .cpload t9 li v0, __NR_getpeername @@ -22,4 +16,4 @@ getpeername: j t9 nop .set reorder - .end getpeername +END(getpeername) diff --git a/libc/arch-mips/syscalls/getpgid.S b/libc/arch-mips/syscalls/getpgid.S index 097edae5a..7e3e4398f 100644 --- a/libc/arch-mips/syscalls/getpgid.S +++ b/libc/arch-mips/syscalls/getpgid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl getpgid - .align 4 - .ent getpgid +#include -getpgid: +ENTRY(getpgid) .set noreorder .cpload t9 li v0, __NR_getpgid @@ -22,4 +16,4 @@ getpgid: j t9 nop .set reorder - .end getpgid +END(getpgid) diff --git a/libc/arch-mips/syscalls/getpid.S b/libc/arch-mips/syscalls/getpid.S index 37d26a597..a053f5be0 100644 --- a/libc/arch-mips/syscalls/getpid.S +++ b/libc/arch-mips/syscalls/getpid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl getpid - .align 4 - .ent getpid +#include -getpid: +ENTRY(getpid) .set noreorder .cpload t9 li v0, __NR_getpid @@ -22,4 +16,4 @@ getpid: j t9 nop .set reorder - .end getpid +END(getpid) diff --git a/libc/arch-mips/syscalls/getppid.S b/libc/arch-mips/syscalls/getppid.S index ac2341d58..3d76fc2b1 100644 --- a/libc/arch-mips/syscalls/getppid.S +++ b/libc/arch-mips/syscalls/getppid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl getppid - .align 4 - .ent getppid +#include -getppid: +ENTRY(getppid) .set noreorder .cpload t9 li v0, __NR_getppid @@ -22,4 +16,4 @@ getppid: j t9 nop .set reorder - .end getppid +END(getppid) diff --git a/libc/arch-mips/syscalls/getresgid.S b/libc/arch-mips/syscalls/getresgid.S index ee0947397..235902af0 100644 --- a/libc/arch-mips/syscalls/getresgid.S +++ b/libc/arch-mips/syscalls/getresgid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl getresgid - .align 4 - .ent getresgid +#include -getresgid: +ENTRY(getresgid) .set noreorder .cpload t9 li v0, __NR_getresgid @@ -22,4 +16,4 @@ getresgid: j t9 nop .set reorder - .end getresgid +END(getresgid) diff --git a/libc/arch-mips/syscalls/getresuid.S b/libc/arch-mips/syscalls/getresuid.S index e22d10cf2..c6c4c135b 100644 --- a/libc/arch-mips/syscalls/getresuid.S +++ b/libc/arch-mips/syscalls/getresuid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl getresuid - .align 4 - .ent getresuid +#include -getresuid: +ENTRY(getresuid) .set noreorder .cpload t9 li v0, __NR_getresuid @@ -22,4 +16,4 @@ getresuid: j t9 nop .set reorder - .end getresuid +END(getresuid) diff --git a/libc/arch-mips/syscalls/getrlimit.S b/libc/arch-mips/syscalls/getrlimit.S index 8e11e25ee..ef4ae89ac 100644 --- a/libc/arch-mips/syscalls/getrlimit.S +++ b/libc/arch-mips/syscalls/getrlimit.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl getrlimit - .align 4 - .ent getrlimit +#include -getrlimit: +ENTRY(getrlimit) .set noreorder .cpload t9 li v0, __NR_getrlimit @@ -22,4 +16,4 @@ getrlimit: j t9 nop .set reorder - .end getrlimit +END(getrlimit) diff --git a/libc/arch-mips/syscalls/getrusage.S b/libc/arch-mips/syscalls/getrusage.S index c94b5ba86..21cabfa34 100644 --- a/libc/arch-mips/syscalls/getrusage.S +++ b/libc/arch-mips/syscalls/getrusage.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl getrusage - .align 4 - .ent getrusage +#include -getrusage: +ENTRY(getrusage) .set noreorder .cpload t9 li v0, __NR_getrusage @@ -22,4 +16,4 @@ getrusage: j t9 nop .set reorder - .end getrusage +END(getrusage) diff --git a/libc/arch-mips/syscalls/getsid.S b/libc/arch-mips/syscalls/getsid.S index d1f5840f9..b0b21a0bc 100644 --- a/libc/arch-mips/syscalls/getsid.S +++ b/libc/arch-mips/syscalls/getsid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl getsid - .align 4 - .ent getsid +#include -getsid: +ENTRY(getsid) .set noreorder .cpload t9 li v0, __NR_getsid @@ -22,4 +16,4 @@ getsid: j t9 nop .set reorder - .end getsid +END(getsid) diff --git a/libc/arch-mips/syscalls/getsockname.S b/libc/arch-mips/syscalls/getsockname.S index 1cc953013..82d0b831e 100644 --- a/libc/arch-mips/syscalls/getsockname.S +++ b/libc/arch-mips/syscalls/getsockname.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl getsockname - .align 4 - .ent getsockname +#include -getsockname: +ENTRY(getsockname) .set noreorder .cpload t9 li v0, __NR_getsockname @@ -22,4 +16,4 @@ getsockname: j t9 nop .set reorder - .end getsockname +END(getsockname) diff --git a/libc/arch-mips/syscalls/getsockopt.S b/libc/arch-mips/syscalls/getsockopt.S index 73602a25c..ad360e3df 100644 --- a/libc/arch-mips/syscalls/getsockopt.S +++ b/libc/arch-mips/syscalls/getsockopt.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl getsockopt - .align 4 - .ent getsockopt +#include -getsockopt: +ENTRY(getsockopt) .set noreorder .cpload t9 li v0, __NR_getsockopt @@ -22,4 +16,4 @@ getsockopt: j t9 nop .set reorder - .end getsockopt +END(getsockopt) diff --git a/libc/arch-mips/syscalls/gettid.S b/libc/arch-mips/syscalls/gettid.S index 340b52fda..cfdc57b8d 100644 --- a/libc/arch-mips/syscalls/gettid.S +++ b/libc/arch-mips/syscalls/gettid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl gettid - .align 4 - .ent gettid +#include -gettid: +ENTRY(gettid) .set noreorder .cpload t9 li v0, __NR_gettid @@ -22,4 +16,4 @@ gettid: j t9 nop .set reorder - .end gettid +END(gettid) diff --git a/libc/arch-mips/syscalls/gettimeofday.S b/libc/arch-mips/syscalls/gettimeofday.S index f0fa982b4..e66fd77d1 100644 --- a/libc/arch-mips/syscalls/gettimeofday.S +++ b/libc/arch-mips/syscalls/gettimeofday.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl gettimeofday - .align 4 - .ent gettimeofday +#include -gettimeofday: +ENTRY(gettimeofday) .set noreorder .cpload t9 li v0, __NR_gettimeofday @@ -22,4 +16,4 @@ gettimeofday: j t9 nop .set reorder - .end gettimeofday +END(gettimeofday) diff --git a/libc/arch-mips/syscalls/getuid.S b/libc/arch-mips/syscalls/getuid.S index ac416ebc1..345af7181 100644 --- a/libc/arch-mips/syscalls/getuid.S +++ b/libc/arch-mips/syscalls/getuid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl getuid - .align 4 - .ent getuid +#include -getuid: +ENTRY(getuid) .set noreorder .cpload t9 li v0, __NR_getuid @@ -22,4 +16,4 @@ getuid: j t9 nop .set reorder - .end getuid +END(getuid) diff --git a/libc/arch-mips/syscalls/getxattr.S b/libc/arch-mips/syscalls/getxattr.S index e0181c815..c7e215e3f 100644 --- a/libc/arch-mips/syscalls/getxattr.S +++ b/libc/arch-mips/syscalls/getxattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl getxattr - .align 4 - .ent getxattr +#include -getxattr: +ENTRY(getxattr) .set noreorder .cpload t9 li v0, __NR_getxattr @@ -22,4 +16,4 @@ getxattr: j t9 nop .set reorder - .end getxattr +END(getxattr) diff --git a/libc/arch-mips/syscalls/init_module.S b/libc/arch-mips/syscalls/init_module.S index b11ae82fd..21ba5b169 100644 --- a/libc/arch-mips/syscalls/init_module.S +++ b/libc/arch-mips/syscalls/init_module.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl init_module - .align 4 - .ent init_module +#include -init_module: +ENTRY(init_module) .set noreorder .cpload t9 li v0, __NR_init_module @@ -22,4 +16,4 @@ init_module: j t9 nop .set reorder - .end init_module +END(init_module) diff --git a/libc/arch-mips/syscalls/inotify_add_watch.S b/libc/arch-mips/syscalls/inotify_add_watch.S index e3b228804..beb70ec5c 100644 --- a/libc/arch-mips/syscalls/inotify_add_watch.S +++ b/libc/arch-mips/syscalls/inotify_add_watch.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl inotify_add_watch - .align 4 - .ent inotify_add_watch +#include -inotify_add_watch: +ENTRY(inotify_add_watch) .set noreorder .cpload t9 li v0, __NR_inotify_add_watch @@ -22,4 +16,4 @@ inotify_add_watch: j t9 nop .set reorder - .end inotify_add_watch +END(inotify_add_watch) diff --git a/libc/arch-mips/syscalls/inotify_init1.S b/libc/arch-mips/syscalls/inotify_init1.S index edd98b5c0..6c825c60d 100644 --- a/libc/arch-mips/syscalls/inotify_init1.S +++ b/libc/arch-mips/syscalls/inotify_init1.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl inotify_init1 - .align 4 - .ent inotify_init1 +#include -inotify_init1: +ENTRY(inotify_init1) .set noreorder .cpload t9 li v0, __NR_inotify_init1 @@ -22,4 +16,4 @@ inotify_init1: j t9 nop .set reorder - .end inotify_init1 +END(inotify_init1) diff --git a/libc/arch-mips/syscalls/inotify_rm_watch.S b/libc/arch-mips/syscalls/inotify_rm_watch.S index 3b8df5b24..280f2b43a 100644 --- a/libc/arch-mips/syscalls/inotify_rm_watch.S +++ b/libc/arch-mips/syscalls/inotify_rm_watch.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl inotify_rm_watch - .align 4 - .ent inotify_rm_watch +#include -inotify_rm_watch: +ENTRY(inotify_rm_watch) .set noreorder .cpload t9 li v0, __NR_inotify_rm_watch @@ -22,4 +16,4 @@ inotify_rm_watch: j t9 nop .set reorder - .end inotify_rm_watch +END(inotify_rm_watch) diff --git a/libc/arch-mips/syscalls/ioprio_get.S b/libc/arch-mips/syscalls/ioprio_get.S index cb03550cf..fbc8b17ea 100644 --- a/libc/arch-mips/syscalls/ioprio_get.S +++ b/libc/arch-mips/syscalls/ioprio_get.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl ioprio_get - .align 4 - .ent ioprio_get +#include -ioprio_get: +ENTRY(ioprio_get) .set noreorder .cpload t9 li v0, __NR_ioprio_get @@ -22,4 +16,4 @@ ioprio_get: j t9 nop .set reorder - .end ioprio_get +END(ioprio_get) diff --git a/libc/arch-mips/syscalls/ioprio_set.S b/libc/arch-mips/syscalls/ioprio_set.S index ed0c5e52d..d0320ed89 100644 --- a/libc/arch-mips/syscalls/ioprio_set.S +++ b/libc/arch-mips/syscalls/ioprio_set.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl ioprio_set - .align 4 - .ent ioprio_set +#include -ioprio_set: +ENTRY(ioprio_set) .set noreorder .cpload t9 li v0, __NR_ioprio_set @@ -22,4 +16,4 @@ ioprio_set: j t9 nop .set reorder - .end ioprio_set +END(ioprio_set) diff --git a/libc/arch-mips/syscalls/kill.S b/libc/arch-mips/syscalls/kill.S index 3cc121ce7..0941717db 100644 --- a/libc/arch-mips/syscalls/kill.S +++ b/libc/arch-mips/syscalls/kill.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl kill - .align 4 - .ent kill +#include -kill: +ENTRY(kill) .set noreorder .cpload t9 li v0, __NR_kill @@ -22,4 +16,4 @@ kill: j t9 nop .set reorder - .end kill +END(kill) diff --git a/libc/arch-mips/syscalls/klogctl.S b/libc/arch-mips/syscalls/klogctl.S index b7f901e35..ebc88371f 100644 --- a/libc/arch-mips/syscalls/klogctl.S +++ b/libc/arch-mips/syscalls/klogctl.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl klogctl - .align 4 - .ent klogctl +#include -klogctl: +ENTRY(klogctl) .set noreorder .cpload t9 li v0, __NR_syslog @@ -22,4 +16,4 @@ klogctl: j t9 nop .set reorder - .end klogctl +END(klogctl) diff --git a/libc/arch-mips/syscalls/lgetxattr.S b/libc/arch-mips/syscalls/lgetxattr.S index 1384ed5c9..8c4a25273 100644 --- a/libc/arch-mips/syscalls/lgetxattr.S +++ b/libc/arch-mips/syscalls/lgetxattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl lgetxattr - .align 4 - .ent lgetxattr +#include -lgetxattr: +ENTRY(lgetxattr) .set noreorder .cpload t9 li v0, __NR_lgetxattr @@ -22,4 +16,4 @@ lgetxattr: j t9 nop .set reorder - .end lgetxattr +END(lgetxattr) diff --git a/libc/arch-mips/syscalls/linkat.S b/libc/arch-mips/syscalls/linkat.S index be8207aad..cc7278de0 100644 --- a/libc/arch-mips/syscalls/linkat.S +++ b/libc/arch-mips/syscalls/linkat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl linkat - .align 4 - .ent linkat +#include -linkat: +ENTRY(linkat) .set noreorder .cpload t9 li v0, __NR_linkat @@ -22,4 +16,4 @@ linkat: j t9 nop .set reorder - .end linkat +END(linkat) diff --git a/libc/arch-mips/syscalls/listen.S b/libc/arch-mips/syscalls/listen.S index e684c792f..68eba523a 100644 --- a/libc/arch-mips/syscalls/listen.S +++ b/libc/arch-mips/syscalls/listen.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl listen - .align 4 - .ent listen +#include -listen: +ENTRY(listen) .set noreorder .cpload t9 li v0, __NR_listen @@ -22,4 +16,4 @@ listen: j t9 nop .set reorder - .end listen +END(listen) diff --git a/libc/arch-mips/syscalls/listxattr.S b/libc/arch-mips/syscalls/listxattr.S index b7699db88..006bfcebe 100644 --- a/libc/arch-mips/syscalls/listxattr.S +++ b/libc/arch-mips/syscalls/listxattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl listxattr - .align 4 - .ent listxattr +#include -listxattr: +ENTRY(listxattr) .set noreorder .cpload t9 li v0, __NR_listxattr @@ -22,4 +16,4 @@ listxattr: j t9 nop .set reorder - .end listxattr +END(listxattr) diff --git a/libc/arch-mips/syscalls/llistxattr.S b/libc/arch-mips/syscalls/llistxattr.S index 36d3787ca..7f833ade0 100644 --- a/libc/arch-mips/syscalls/llistxattr.S +++ b/libc/arch-mips/syscalls/llistxattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl llistxattr - .align 4 - .ent llistxattr +#include -llistxattr: +ENTRY(llistxattr) .set noreorder .cpload t9 li v0, __NR_llistxattr @@ -22,4 +16,4 @@ llistxattr: j t9 nop .set reorder - .end llistxattr +END(llistxattr) diff --git a/libc/arch-mips/syscalls/lremovexattr.S b/libc/arch-mips/syscalls/lremovexattr.S index fb03fc3f9..21d00ea4b 100644 --- a/libc/arch-mips/syscalls/lremovexattr.S +++ b/libc/arch-mips/syscalls/lremovexattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl lremovexattr - .align 4 - .ent lremovexattr +#include -lremovexattr: +ENTRY(lremovexattr) .set noreorder .cpload t9 li v0, __NR_lremovexattr @@ -22,4 +16,4 @@ lremovexattr: j t9 nop .set reorder - .end lremovexattr +END(lremovexattr) diff --git a/libc/arch-mips/syscalls/lseek.S b/libc/arch-mips/syscalls/lseek.S index 6ec2c014c..82c2776dd 100644 --- a/libc/arch-mips/syscalls/lseek.S +++ b/libc/arch-mips/syscalls/lseek.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl lseek - .align 4 - .ent lseek +#include -lseek: +ENTRY(lseek) .set noreorder .cpload t9 li v0, __NR_lseek @@ -22,4 +16,4 @@ lseek: j t9 nop .set reorder - .end lseek +END(lseek) diff --git a/libc/arch-mips/syscalls/lsetxattr.S b/libc/arch-mips/syscalls/lsetxattr.S index 605cb4ac1..d54ec6928 100644 --- a/libc/arch-mips/syscalls/lsetxattr.S +++ b/libc/arch-mips/syscalls/lsetxattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl lsetxattr - .align 4 - .ent lsetxattr +#include -lsetxattr: +ENTRY(lsetxattr) .set noreorder .cpload t9 li v0, __NR_lsetxattr @@ -22,4 +16,4 @@ lsetxattr: j t9 nop .set reorder - .end lsetxattr +END(lsetxattr) diff --git a/libc/arch-mips/syscalls/madvise.S b/libc/arch-mips/syscalls/madvise.S index 7a4c2faa1..9aa28152d 100644 --- a/libc/arch-mips/syscalls/madvise.S +++ b/libc/arch-mips/syscalls/madvise.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl madvise - .align 4 - .ent madvise +#include -madvise: +ENTRY(madvise) .set noreorder .cpload t9 li v0, __NR_madvise @@ -22,4 +16,4 @@ madvise: j t9 nop .set reorder - .end madvise +END(madvise) diff --git a/libc/arch-mips/syscalls/mincore.S b/libc/arch-mips/syscalls/mincore.S index 2ea3269d8..0db4313ff 100644 --- a/libc/arch-mips/syscalls/mincore.S +++ b/libc/arch-mips/syscalls/mincore.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl mincore - .align 4 - .ent mincore +#include -mincore: +ENTRY(mincore) .set noreorder .cpload t9 li v0, __NR_mincore @@ -22,4 +16,4 @@ mincore: j t9 nop .set reorder - .end mincore +END(mincore) diff --git a/libc/arch-mips/syscalls/mkdirat.S b/libc/arch-mips/syscalls/mkdirat.S index 97fcfa972..0ac98d460 100644 --- a/libc/arch-mips/syscalls/mkdirat.S +++ b/libc/arch-mips/syscalls/mkdirat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl mkdirat - .align 4 - .ent mkdirat +#include -mkdirat: +ENTRY(mkdirat) .set noreorder .cpload t9 li v0, __NR_mkdirat @@ -22,4 +16,4 @@ mkdirat: j t9 nop .set reorder - .end mkdirat +END(mkdirat) diff --git a/libc/arch-mips/syscalls/mknodat.S b/libc/arch-mips/syscalls/mknodat.S index 32c23c594..b85d8bfad 100644 --- a/libc/arch-mips/syscalls/mknodat.S +++ b/libc/arch-mips/syscalls/mknodat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl mknodat - .align 4 - .ent mknodat +#include -mknodat: +ENTRY(mknodat) .set noreorder .cpload t9 li v0, __NR_mknodat @@ -22,4 +16,4 @@ mknodat: j t9 nop .set reorder - .end mknodat +END(mknodat) diff --git a/libc/arch-mips/syscalls/mlock.S b/libc/arch-mips/syscalls/mlock.S index 1fd890f59..0ba2bca8c 100644 --- a/libc/arch-mips/syscalls/mlock.S +++ b/libc/arch-mips/syscalls/mlock.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl mlock - .align 4 - .ent mlock +#include -mlock: +ENTRY(mlock) .set noreorder .cpload t9 li v0, __NR_mlock @@ -22,4 +16,4 @@ mlock: j t9 nop .set reorder - .end mlock +END(mlock) diff --git a/libc/arch-mips/syscalls/mlockall.S b/libc/arch-mips/syscalls/mlockall.S index 1480af646..642c6e296 100644 --- a/libc/arch-mips/syscalls/mlockall.S +++ b/libc/arch-mips/syscalls/mlockall.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl mlockall - .align 4 - .ent mlockall +#include -mlockall: +ENTRY(mlockall) .set noreorder .cpload t9 li v0, __NR_mlockall @@ -22,4 +16,4 @@ mlockall: j t9 nop .set reorder - .end mlockall +END(mlockall) diff --git a/libc/arch-mips/syscalls/mount.S b/libc/arch-mips/syscalls/mount.S index d64db8113..f0c5f6bf5 100644 --- a/libc/arch-mips/syscalls/mount.S +++ b/libc/arch-mips/syscalls/mount.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl mount - .align 4 - .ent mount +#include -mount: +ENTRY(mount) .set noreorder .cpload t9 li v0, __NR_mount @@ -22,4 +16,4 @@ mount: j t9 nop .set reorder - .end mount +END(mount) diff --git a/libc/arch-mips/syscalls/mprotect.S b/libc/arch-mips/syscalls/mprotect.S index fbfd535b8..c0ce98869 100644 --- a/libc/arch-mips/syscalls/mprotect.S +++ b/libc/arch-mips/syscalls/mprotect.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl mprotect - .align 4 - .ent mprotect +#include -mprotect: +ENTRY(mprotect) .set noreorder .cpload t9 li v0, __NR_mprotect @@ -22,4 +16,4 @@ mprotect: j t9 nop .set reorder - .end mprotect +END(mprotect) diff --git a/libc/arch-mips/syscalls/mremap.S b/libc/arch-mips/syscalls/mremap.S index 30c81b5f7..bd4c385ca 100644 --- a/libc/arch-mips/syscalls/mremap.S +++ b/libc/arch-mips/syscalls/mremap.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl mremap - .align 4 - .ent mremap +#include -mremap: +ENTRY(mremap) .set noreorder .cpload t9 li v0, __NR_mremap @@ -22,4 +16,4 @@ mremap: j t9 nop .set reorder - .end mremap +END(mremap) diff --git a/libc/arch-mips/syscalls/msync.S b/libc/arch-mips/syscalls/msync.S index 4b208309f..e8ecb2ab5 100644 --- a/libc/arch-mips/syscalls/msync.S +++ b/libc/arch-mips/syscalls/msync.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl msync - .align 4 - .ent msync +#include -msync: +ENTRY(msync) .set noreorder .cpload t9 li v0, __NR_msync @@ -22,4 +16,4 @@ msync: j t9 nop .set reorder - .end msync +END(msync) diff --git a/libc/arch-mips/syscalls/munlock.S b/libc/arch-mips/syscalls/munlock.S index 58e556e7c..f8ddc3a6a 100644 --- a/libc/arch-mips/syscalls/munlock.S +++ b/libc/arch-mips/syscalls/munlock.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl munlock - .align 4 - .ent munlock +#include -munlock: +ENTRY(munlock) .set noreorder .cpload t9 li v0, __NR_munlock @@ -22,4 +16,4 @@ munlock: j t9 nop .set reorder - .end munlock +END(munlock) diff --git a/libc/arch-mips/syscalls/munlockall.S b/libc/arch-mips/syscalls/munlockall.S index f8014e859..5ced5c650 100644 --- a/libc/arch-mips/syscalls/munlockall.S +++ b/libc/arch-mips/syscalls/munlockall.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl munlockall - .align 4 - .ent munlockall +#include -munlockall: +ENTRY(munlockall) .set noreorder .cpload t9 li v0, __NR_munlockall @@ -22,4 +16,4 @@ munlockall: j t9 nop .set reorder - .end munlockall +END(munlockall) diff --git a/libc/arch-mips/syscalls/munmap.S b/libc/arch-mips/syscalls/munmap.S index e0d69bae3..527825c31 100644 --- a/libc/arch-mips/syscalls/munmap.S +++ b/libc/arch-mips/syscalls/munmap.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl munmap - .align 4 - .ent munmap +#include -munmap: +ENTRY(munmap) .set noreorder .cpload t9 li v0, __NR_munmap @@ -22,4 +16,4 @@ munmap: j t9 nop .set reorder - .end munmap +END(munmap) diff --git a/libc/arch-mips/syscalls/nanosleep.S b/libc/arch-mips/syscalls/nanosleep.S index 723775bd3..8dc816a9d 100644 --- a/libc/arch-mips/syscalls/nanosleep.S +++ b/libc/arch-mips/syscalls/nanosleep.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl nanosleep - .align 4 - .ent nanosleep +#include -nanosleep: +ENTRY(nanosleep) .set noreorder .cpload t9 li v0, __NR_nanosleep @@ -22,4 +16,4 @@ nanosleep: j t9 nop .set reorder - .end nanosleep +END(nanosleep) diff --git a/libc/arch-mips/syscalls/perf_event_open.S b/libc/arch-mips/syscalls/perf_event_open.S index b5454c7b6..a0e441666 100644 --- a/libc/arch-mips/syscalls/perf_event_open.S +++ b/libc/arch-mips/syscalls/perf_event_open.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl perf_event_open - .align 4 - .ent perf_event_open +#include -perf_event_open: +ENTRY(perf_event_open) .set noreorder .cpload t9 li v0, __NR_perf_event_open @@ -22,4 +16,4 @@ perf_event_open: j t9 nop .set reorder - .end perf_event_open +END(perf_event_open) diff --git a/libc/arch-mips/syscalls/personality.S b/libc/arch-mips/syscalls/personality.S index fbd524f5f..e8449a71a 100644 --- a/libc/arch-mips/syscalls/personality.S +++ b/libc/arch-mips/syscalls/personality.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl personality - .align 4 - .ent personality +#include -personality: +ENTRY(personality) .set noreorder .cpload t9 li v0, __NR_personality @@ -22,4 +16,4 @@ personality: j t9 nop .set reorder - .end personality +END(personality) diff --git a/libc/arch-mips/syscalls/pipe2.S b/libc/arch-mips/syscalls/pipe2.S index 2e5ee4fdb..478d364ba 100644 --- a/libc/arch-mips/syscalls/pipe2.S +++ b/libc/arch-mips/syscalls/pipe2.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl pipe2 - .align 4 - .ent pipe2 +#include -pipe2: +ENTRY(pipe2) .set noreorder .cpload t9 li v0, __NR_pipe2 @@ -22,4 +16,4 @@ pipe2: j t9 nop .set reorder - .end pipe2 +END(pipe2) diff --git a/libc/arch-mips/syscalls/prctl.S b/libc/arch-mips/syscalls/prctl.S index 2d4bc16e2..e9aff3c11 100644 --- a/libc/arch-mips/syscalls/prctl.S +++ b/libc/arch-mips/syscalls/prctl.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl prctl - .align 4 - .ent prctl +#include -prctl: +ENTRY(prctl) .set noreorder .cpload t9 li v0, __NR_prctl @@ -22,4 +16,4 @@ prctl: j t9 nop .set reorder - .end prctl +END(prctl) diff --git a/libc/arch-mips/syscalls/pread64.S b/libc/arch-mips/syscalls/pread64.S index 9505acf2d..55a54c6b0 100644 --- a/libc/arch-mips/syscalls/pread64.S +++ b/libc/arch-mips/syscalls/pread64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl pread64 - .align 4 - .ent pread64 +#include -pread64: +ENTRY(pread64) .set noreorder .cpload t9 li v0, __NR_pread64 @@ -22,4 +16,4 @@ pread64: j t9 nop .set reorder - .end pread64 +END(pread64) diff --git a/libc/arch-mips/syscalls/prlimit64.S b/libc/arch-mips/syscalls/prlimit64.S index fa3ba763d..c695d18e8 100644 --- a/libc/arch-mips/syscalls/prlimit64.S +++ b/libc/arch-mips/syscalls/prlimit64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl prlimit64 - .align 4 - .ent prlimit64 +#include -prlimit64: +ENTRY(prlimit64) .set noreorder .cpload t9 li v0, __NR_prlimit64 @@ -22,4 +16,4 @@ prlimit64: j t9 nop .set reorder - .end prlimit64 +END(prlimit64) diff --git a/libc/arch-mips/syscalls/pwrite64.S b/libc/arch-mips/syscalls/pwrite64.S index 96b160389..64d3ee157 100644 --- a/libc/arch-mips/syscalls/pwrite64.S +++ b/libc/arch-mips/syscalls/pwrite64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl pwrite64 - .align 4 - .ent pwrite64 +#include -pwrite64: +ENTRY(pwrite64) .set noreorder .cpload t9 li v0, __NR_pwrite64 @@ -22,4 +16,4 @@ pwrite64: j t9 nop .set reorder - .end pwrite64 +END(pwrite64) diff --git a/libc/arch-mips/syscalls/read.S b/libc/arch-mips/syscalls/read.S index 7915d170d..ff548ab7f 100644 --- a/libc/arch-mips/syscalls/read.S +++ b/libc/arch-mips/syscalls/read.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl read - .align 4 - .ent read +#include -read: +ENTRY(read) .set noreorder .cpload t9 li v0, __NR_read @@ -22,4 +16,4 @@ read: j t9 nop .set reorder - .end read +END(read) diff --git a/libc/arch-mips/syscalls/readahead.S b/libc/arch-mips/syscalls/readahead.S index 5bc5796a4..674286afa 100644 --- a/libc/arch-mips/syscalls/readahead.S +++ b/libc/arch-mips/syscalls/readahead.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl readahead - .align 4 - .ent readahead +#include -readahead: +ENTRY(readahead) .set noreorder .cpload t9 li v0, __NR_readahead @@ -22,4 +16,4 @@ readahead: j t9 nop .set reorder - .end readahead +END(readahead) diff --git a/libc/arch-mips/syscalls/readlinkat.S b/libc/arch-mips/syscalls/readlinkat.S index 2c2b079a2..a1c7d6b1f 100644 --- a/libc/arch-mips/syscalls/readlinkat.S +++ b/libc/arch-mips/syscalls/readlinkat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl readlinkat - .align 4 - .ent readlinkat +#include -readlinkat: +ENTRY(readlinkat) .set noreorder .cpload t9 li v0, __NR_readlinkat @@ -22,4 +16,4 @@ readlinkat: j t9 nop .set reorder - .end readlinkat +END(readlinkat) diff --git a/libc/arch-mips/syscalls/readv.S b/libc/arch-mips/syscalls/readv.S index fa429de99..af5a4cb4e 100644 --- a/libc/arch-mips/syscalls/readv.S +++ b/libc/arch-mips/syscalls/readv.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl readv - .align 4 - .ent readv +#include -readv: +ENTRY(readv) .set noreorder .cpload t9 li v0, __NR_readv @@ -22,4 +16,4 @@ readv: j t9 nop .set reorder - .end readv +END(readv) diff --git a/libc/arch-mips/syscalls/recvfrom.S b/libc/arch-mips/syscalls/recvfrom.S index 6fa9d6a66..04b04f6da 100644 --- a/libc/arch-mips/syscalls/recvfrom.S +++ b/libc/arch-mips/syscalls/recvfrom.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl recvfrom - .align 4 - .ent recvfrom +#include -recvfrom: +ENTRY(recvfrom) .set noreorder .cpload t9 li v0, __NR_recvfrom @@ -22,4 +16,4 @@ recvfrom: j t9 nop .set reorder - .end recvfrom +END(recvfrom) diff --git a/libc/arch-mips/syscalls/recvmsg.S b/libc/arch-mips/syscalls/recvmsg.S index 55b861a49..a0a3a3ff7 100644 --- a/libc/arch-mips/syscalls/recvmsg.S +++ b/libc/arch-mips/syscalls/recvmsg.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl recvmsg - .align 4 - .ent recvmsg +#include -recvmsg: +ENTRY(recvmsg) .set noreorder .cpload t9 li v0, __NR_recvmsg @@ -22,4 +16,4 @@ recvmsg: j t9 nop .set reorder - .end recvmsg +END(recvmsg) diff --git a/libc/arch-mips/syscalls/removexattr.S b/libc/arch-mips/syscalls/removexattr.S index a911d31d6..0f72ebf0e 100644 --- a/libc/arch-mips/syscalls/removexattr.S +++ b/libc/arch-mips/syscalls/removexattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl removexattr - .align 4 - .ent removexattr +#include -removexattr: +ENTRY(removexattr) .set noreorder .cpload t9 li v0, __NR_removexattr @@ -22,4 +16,4 @@ removexattr: j t9 nop .set reorder - .end removexattr +END(removexattr) diff --git a/libc/arch-mips/syscalls/renameat.S b/libc/arch-mips/syscalls/renameat.S index 3c00ec090..210b439f6 100644 --- a/libc/arch-mips/syscalls/renameat.S +++ b/libc/arch-mips/syscalls/renameat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl renameat - .align 4 - .ent renameat +#include -renameat: +ENTRY(renameat) .set noreorder .cpload t9 li v0, __NR_renameat @@ -22,4 +16,4 @@ renameat: j t9 nop .set reorder - .end renameat +END(renameat) diff --git a/libc/arch-mips/syscalls/sched_get_priority_max.S b/libc/arch-mips/syscalls/sched_get_priority_max.S index 77e937180..d15a86830 100644 --- a/libc/arch-mips/syscalls/sched_get_priority_max.S +++ b/libc/arch-mips/syscalls/sched_get_priority_max.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl sched_get_priority_max - .align 4 - .ent sched_get_priority_max +#include -sched_get_priority_max: +ENTRY(sched_get_priority_max) .set noreorder .cpload t9 li v0, __NR_sched_get_priority_max @@ -22,4 +16,4 @@ sched_get_priority_max: j t9 nop .set reorder - .end sched_get_priority_max +END(sched_get_priority_max) diff --git a/libc/arch-mips/syscalls/sched_get_priority_min.S b/libc/arch-mips/syscalls/sched_get_priority_min.S index e91c12d17..5ff21c657 100644 --- a/libc/arch-mips/syscalls/sched_get_priority_min.S +++ b/libc/arch-mips/syscalls/sched_get_priority_min.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl sched_get_priority_min - .align 4 - .ent sched_get_priority_min +#include -sched_get_priority_min: +ENTRY(sched_get_priority_min) .set noreorder .cpload t9 li v0, __NR_sched_get_priority_min @@ -22,4 +16,4 @@ sched_get_priority_min: j t9 nop .set reorder - .end sched_get_priority_min +END(sched_get_priority_min) diff --git a/libc/arch-mips/syscalls/sched_getparam.S b/libc/arch-mips/syscalls/sched_getparam.S index 3ff3bf577..1cbe72093 100644 --- a/libc/arch-mips/syscalls/sched_getparam.S +++ b/libc/arch-mips/syscalls/sched_getparam.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl sched_getparam - .align 4 - .ent sched_getparam +#include -sched_getparam: +ENTRY(sched_getparam) .set noreorder .cpload t9 li v0, __NR_sched_getparam @@ -22,4 +16,4 @@ sched_getparam: j t9 nop .set reorder - .end sched_getparam +END(sched_getparam) diff --git a/libc/arch-mips/syscalls/sched_getscheduler.S b/libc/arch-mips/syscalls/sched_getscheduler.S index d07a4f493..88b16e042 100644 --- a/libc/arch-mips/syscalls/sched_getscheduler.S +++ b/libc/arch-mips/syscalls/sched_getscheduler.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl sched_getscheduler - .align 4 - .ent sched_getscheduler +#include -sched_getscheduler: +ENTRY(sched_getscheduler) .set noreorder .cpload t9 li v0, __NR_sched_getscheduler @@ -22,4 +16,4 @@ sched_getscheduler: j t9 nop .set reorder - .end sched_getscheduler +END(sched_getscheduler) diff --git a/libc/arch-mips/syscalls/sched_rr_get_interval.S b/libc/arch-mips/syscalls/sched_rr_get_interval.S index 656dc3156..647ee3ccf 100644 --- a/libc/arch-mips/syscalls/sched_rr_get_interval.S +++ b/libc/arch-mips/syscalls/sched_rr_get_interval.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl sched_rr_get_interval - .align 4 - .ent sched_rr_get_interval +#include -sched_rr_get_interval: +ENTRY(sched_rr_get_interval) .set noreorder .cpload t9 li v0, __NR_sched_rr_get_interval @@ -22,4 +16,4 @@ sched_rr_get_interval: j t9 nop .set reorder - .end sched_rr_get_interval +END(sched_rr_get_interval) diff --git a/libc/arch-mips/syscalls/sched_setaffinity.S b/libc/arch-mips/syscalls/sched_setaffinity.S index f6ea42538..118476693 100644 --- a/libc/arch-mips/syscalls/sched_setaffinity.S +++ b/libc/arch-mips/syscalls/sched_setaffinity.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl sched_setaffinity - .align 4 - .ent sched_setaffinity +#include -sched_setaffinity: +ENTRY(sched_setaffinity) .set noreorder .cpload t9 li v0, __NR_sched_setaffinity @@ -22,4 +16,4 @@ sched_setaffinity: j t9 nop .set reorder - .end sched_setaffinity +END(sched_setaffinity) diff --git a/libc/arch-mips/syscalls/sched_setparam.S b/libc/arch-mips/syscalls/sched_setparam.S index 2bdd79070..1811c7403 100644 --- a/libc/arch-mips/syscalls/sched_setparam.S +++ b/libc/arch-mips/syscalls/sched_setparam.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl sched_setparam - .align 4 - .ent sched_setparam +#include -sched_setparam: +ENTRY(sched_setparam) .set noreorder .cpload t9 li v0, __NR_sched_setparam @@ -22,4 +16,4 @@ sched_setparam: j t9 nop .set reorder - .end sched_setparam +END(sched_setparam) diff --git a/libc/arch-mips/syscalls/sched_setscheduler.S b/libc/arch-mips/syscalls/sched_setscheduler.S index c895a8783..8921d3073 100644 --- a/libc/arch-mips/syscalls/sched_setscheduler.S +++ b/libc/arch-mips/syscalls/sched_setscheduler.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl sched_setscheduler - .align 4 - .ent sched_setscheduler +#include -sched_setscheduler: +ENTRY(sched_setscheduler) .set noreorder .cpload t9 li v0, __NR_sched_setscheduler @@ -22,4 +16,4 @@ sched_setscheduler: j t9 nop .set reorder - .end sched_setscheduler +END(sched_setscheduler) diff --git a/libc/arch-mips/syscalls/sched_yield.S b/libc/arch-mips/syscalls/sched_yield.S index 6a3b70928..37f09be8a 100644 --- a/libc/arch-mips/syscalls/sched_yield.S +++ b/libc/arch-mips/syscalls/sched_yield.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl sched_yield - .align 4 - .ent sched_yield +#include -sched_yield: +ENTRY(sched_yield) .set noreorder .cpload t9 li v0, __NR_sched_yield @@ -22,4 +16,4 @@ sched_yield: j t9 nop .set reorder - .end sched_yield +END(sched_yield) diff --git a/libc/arch-mips/syscalls/sendfile.S b/libc/arch-mips/syscalls/sendfile.S index fb09701e6..84466b95a 100644 --- a/libc/arch-mips/syscalls/sendfile.S +++ b/libc/arch-mips/syscalls/sendfile.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl sendfile - .align 4 - .ent sendfile +#include -sendfile: +ENTRY(sendfile) .set noreorder .cpload t9 li v0, __NR_sendfile @@ -22,4 +16,4 @@ sendfile: j t9 nop .set reorder - .end sendfile +END(sendfile) diff --git a/libc/arch-mips/syscalls/sendfile64.S b/libc/arch-mips/syscalls/sendfile64.S index 1a169000a..d9733f60a 100644 --- a/libc/arch-mips/syscalls/sendfile64.S +++ b/libc/arch-mips/syscalls/sendfile64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl sendfile64 - .align 4 - .ent sendfile64 +#include -sendfile64: +ENTRY(sendfile64) .set noreorder .cpload t9 li v0, __NR_sendfile64 @@ -22,4 +16,4 @@ sendfile64: j t9 nop .set reorder - .end sendfile64 +END(sendfile64) diff --git a/libc/arch-mips/syscalls/sendmsg.S b/libc/arch-mips/syscalls/sendmsg.S index 6806edaa3..5c37c6225 100644 --- a/libc/arch-mips/syscalls/sendmsg.S +++ b/libc/arch-mips/syscalls/sendmsg.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl sendmsg - .align 4 - .ent sendmsg +#include -sendmsg: +ENTRY(sendmsg) .set noreorder .cpload t9 li v0, __NR_sendmsg @@ -22,4 +16,4 @@ sendmsg: j t9 nop .set reorder - .end sendmsg +END(sendmsg) diff --git a/libc/arch-mips/syscalls/sendto.S b/libc/arch-mips/syscalls/sendto.S index 5e4435bce..580d14250 100644 --- a/libc/arch-mips/syscalls/sendto.S +++ b/libc/arch-mips/syscalls/sendto.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl sendto - .align 4 - .ent sendto +#include -sendto: +ENTRY(sendto) .set noreorder .cpload t9 li v0, __NR_sendto @@ -22,4 +16,4 @@ sendto: j t9 nop .set reorder - .end sendto +END(sendto) diff --git a/libc/arch-mips/syscalls/setgid.S b/libc/arch-mips/syscalls/setgid.S index df08a949d..8fa188e22 100644 --- a/libc/arch-mips/syscalls/setgid.S +++ b/libc/arch-mips/syscalls/setgid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl setgid - .align 4 - .ent setgid +#include -setgid: +ENTRY(setgid) .set noreorder .cpload t9 li v0, __NR_setgid @@ -22,4 +16,4 @@ setgid: j t9 nop .set reorder - .end setgid +END(setgid) diff --git a/libc/arch-mips/syscalls/setgroups.S b/libc/arch-mips/syscalls/setgroups.S index 9e7c1b7dd..f2d271cd0 100644 --- a/libc/arch-mips/syscalls/setgroups.S +++ b/libc/arch-mips/syscalls/setgroups.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl setgroups - .align 4 - .ent setgroups +#include -setgroups: +ENTRY(setgroups) .set noreorder .cpload t9 li v0, __NR_setgroups @@ -22,4 +16,4 @@ setgroups: j t9 nop .set reorder - .end setgroups +END(setgroups) diff --git a/libc/arch-mips/syscalls/setitimer.S b/libc/arch-mips/syscalls/setitimer.S index 5fab39da7..a2eea84cd 100644 --- a/libc/arch-mips/syscalls/setitimer.S +++ b/libc/arch-mips/syscalls/setitimer.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl setitimer - .align 4 - .ent setitimer +#include -setitimer: +ENTRY(setitimer) .set noreorder .cpload t9 li v0, __NR_setitimer @@ -22,4 +16,4 @@ setitimer: j t9 nop .set reorder - .end setitimer +END(setitimer) diff --git a/libc/arch-mips/syscalls/setns.S b/libc/arch-mips/syscalls/setns.S index 4d5cdcb4b..8a4f6742b 100644 --- a/libc/arch-mips/syscalls/setns.S +++ b/libc/arch-mips/syscalls/setns.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl setns - .align 4 - .ent setns +#include -setns: +ENTRY(setns) .set noreorder .cpload t9 li v0, __NR_setns @@ -22,4 +16,4 @@ setns: j t9 nop .set reorder - .end setns +END(setns) diff --git a/libc/arch-mips/syscalls/setpgid.S b/libc/arch-mips/syscalls/setpgid.S index a19b225b7..c68f9a6e2 100644 --- a/libc/arch-mips/syscalls/setpgid.S +++ b/libc/arch-mips/syscalls/setpgid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl setpgid - .align 4 - .ent setpgid +#include -setpgid: +ENTRY(setpgid) .set noreorder .cpload t9 li v0, __NR_setpgid @@ -22,4 +16,4 @@ setpgid: j t9 nop .set reorder - .end setpgid +END(setpgid) diff --git a/libc/arch-mips/syscalls/setpriority.S b/libc/arch-mips/syscalls/setpriority.S index 5f23ea67c..2bf9f47b3 100644 --- a/libc/arch-mips/syscalls/setpriority.S +++ b/libc/arch-mips/syscalls/setpriority.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl setpriority - .align 4 - .ent setpriority +#include -setpriority: +ENTRY(setpriority) .set noreorder .cpload t9 li v0, __NR_setpriority @@ -22,4 +16,4 @@ setpriority: j t9 nop .set reorder - .end setpriority +END(setpriority) diff --git a/libc/arch-mips/syscalls/setregid.S b/libc/arch-mips/syscalls/setregid.S index 1c6e7cde7..de77e3979 100644 --- a/libc/arch-mips/syscalls/setregid.S +++ b/libc/arch-mips/syscalls/setregid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl setregid - .align 4 - .ent setregid +#include -setregid: +ENTRY(setregid) .set noreorder .cpload t9 li v0, __NR_setregid @@ -22,4 +16,4 @@ setregid: j t9 nop .set reorder - .end setregid +END(setregid) diff --git a/libc/arch-mips/syscalls/setresgid.S b/libc/arch-mips/syscalls/setresgid.S index 889dfdf65..b2fd85f97 100644 --- a/libc/arch-mips/syscalls/setresgid.S +++ b/libc/arch-mips/syscalls/setresgid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl setresgid - .align 4 - .ent setresgid +#include -setresgid: +ENTRY(setresgid) .set noreorder .cpload t9 li v0, __NR_setresgid @@ -22,4 +16,4 @@ setresgid: j t9 nop .set reorder - .end setresgid +END(setresgid) diff --git a/libc/arch-mips/syscalls/setresuid.S b/libc/arch-mips/syscalls/setresuid.S index 3089d813c..ad9ea9b53 100644 --- a/libc/arch-mips/syscalls/setresuid.S +++ b/libc/arch-mips/syscalls/setresuid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl setresuid - .align 4 - .ent setresuid +#include -setresuid: +ENTRY(setresuid) .set noreorder .cpload t9 li v0, __NR_setresuid @@ -22,4 +16,4 @@ setresuid: j t9 nop .set reorder - .end setresuid +END(setresuid) diff --git a/libc/arch-mips/syscalls/setreuid.S b/libc/arch-mips/syscalls/setreuid.S index 782e7df69..888d21913 100644 --- a/libc/arch-mips/syscalls/setreuid.S +++ b/libc/arch-mips/syscalls/setreuid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl setreuid - .align 4 - .ent setreuid +#include -setreuid: +ENTRY(setreuid) .set noreorder .cpload t9 li v0, __NR_setreuid @@ -22,4 +16,4 @@ setreuid: j t9 nop .set reorder - .end setreuid +END(setreuid) diff --git a/libc/arch-mips/syscalls/setrlimit.S b/libc/arch-mips/syscalls/setrlimit.S index 7e8afde20..71b49ac48 100644 --- a/libc/arch-mips/syscalls/setrlimit.S +++ b/libc/arch-mips/syscalls/setrlimit.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl setrlimit - .align 4 - .ent setrlimit +#include -setrlimit: +ENTRY(setrlimit) .set noreorder .cpload t9 li v0, __NR_setrlimit @@ -22,4 +16,4 @@ setrlimit: j t9 nop .set reorder - .end setrlimit +END(setrlimit) diff --git a/libc/arch-mips/syscalls/setsid.S b/libc/arch-mips/syscalls/setsid.S index 176c7bb07..9467a080c 100644 --- a/libc/arch-mips/syscalls/setsid.S +++ b/libc/arch-mips/syscalls/setsid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl setsid - .align 4 - .ent setsid +#include -setsid: +ENTRY(setsid) .set noreorder .cpload t9 li v0, __NR_setsid @@ -22,4 +16,4 @@ setsid: j t9 nop .set reorder - .end setsid +END(setsid) diff --git a/libc/arch-mips/syscalls/setsockopt.S b/libc/arch-mips/syscalls/setsockopt.S index 9a2c24e14..e8dd3f674 100644 --- a/libc/arch-mips/syscalls/setsockopt.S +++ b/libc/arch-mips/syscalls/setsockopt.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl setsockopt - .align 4 - .ent setsockopt +#include -setsockopt: +ENTRY(setsockopt) .set noreorder .cpload t9 li v0, __NR_setsockopt @@ -22,4 +16,4 @@ setsockopt: j t9 nop .set reorder - .end setsockopt +END(setsockopt) diff --git a/libc/arch-mips/syscalls/settimeofday.S b/libc/arch-mips/syscalls/settimeofday.S index 32d28898e..b9b588fd0 100644 --- a/libc/arch-mips/syscalls/settimeofday.S +++ b/libc/arch-mips/syscalls/settimeofday.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl settimeofday - .align 4 - .ent settimeofday +#include -settimeofday: +ENTRY(settimeofday) .set noreorder .cpload t9 li v0, __NR_settimeofday @@ -22,4 +16,4 @@ settimeofday: j t9 nop .set reorder - .end settimeofday +END(settimeofday) diff --git a/libc/arch-mips/syscalls/setuid.S b/libc/arch-mips/syscalls/setuid.S index 0c4c356c4..55c75c1c8 100644 --- a/libc/arch-mips/syscalls/setuid.S +++ b/libc/arch-mips/syscalls/setuid.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl setuid - .align 4 - .ent setuid +#include -setuid: +ENTRY(setuid) .set noreorder .cpload t9 li v0, __NR_setuid @@ -22,4 +16,4 @@ setuid: j t9 nop .set reorder - .end setuid +END(setuid) diff --git a/libc/arch-mips/syscalls/setxattr.S b/libc/arch-mips/syscalls/setxattr.S index 5cc21b635..0cca64c17 100644 --- a/libc/arch-mips/syscalls/setxattr.S +++ b/libc/arch-mips/syscalls/setxattr.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl setxattr - .align 4 - .ent setxattr +#include -setxattr: +ENTRY(setxattr) .set noreorder .cpload t9 li v0, __NR_setxattr @@ -22,4 +16,4 @@ setxattr: j t9 nop .set reorder - .end setxattr +END(setxattr) diff --git a/libc/arch-mips/syscalls/shutdown.S b/libc/arch-mips/syscalls/shutdown.S index a4f8aa2c2..f6e997951 100644 --- a/libc/arch-mips/syscalls/shutdown.S +++ b/libc/arch-mips/syscalls/shutdown.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl shutdown - .align 4 - .ent shutdown +#include -shutdown: +ENTRY(shutdown) .set noreorder .cpload t9 li v0, __NR_shutdown @@ -22,4 +16,4 @@ shutdown: j t9 nop .set reorder - .end shutdown +END(shutdown) diff --git a/libc/arch-mips/syscalls/sigaltstack.S b/libc/arch-mips/syscalls/sigaltstack.S index cd8538b7f..6632164c2 100644 --- a/libc/arch-mips/syscalls/sigaltstack.S +++ b/libc/arch-mips/syscalls/sigaltstack.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl sigaltstack - .align 4 - .ent sigaltstack +#include -sigaltstack: +ENTRY(sigaltstack) .set noreorder .cpload t9 li v0, __NR_sigaltstack @@ -22,4 +16,4 @@ sigaltstack: j t9 nop .set reorder - .end sigaltstack +END(sigaltstack) diff --git a/libc/arch-mips/syscalls/signalfd4.S b/libc/arch-mips/syscalls/signalfd4.S index 2f6ea1ffc..e2c2a308f 100644 --- a/libc/arch-mips/syscalls/signalfd4.S +++ b/libc/arch-mips/syscalls/signalfd4.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl signalfd4 - .align 4 - .ent signalfd4 +#include -signalfd4: +ENTRY(signalfd4) .set noreorder .cpload t9 li v0, __NR_signalfd4 @@ -22,4 +16,4 @@ signalfd4: j t9 nop .set reorder - .end signalfd4 +END(signalfd4) diff --git a/libc/arch-mips/syscalls/socket.S b/libc/arch-mips/syscalls/socket.S index b6bd45e57..2056bcd61 100644 --- a/libc/arch-mips/syscalls/socket.S +++ b/libc/arch-mips/syscalls/socket.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl socket - .align 4 - .ent socket +#include -socket: +ENTRY(socket) .set noreorder .cpload t9 li v0, __NR_socket @@ -22,4 +16,4 @@ socket: j t9 nop .set reorder - .end socket +END(socket) diff --git a/libc/arch-mips/syscalls/socketpair.S b/libc/arch-mips/syscalls/socketpair.S index ac15e1bc5..625732744 100644 --- a/libc/arch-mips/syscalls/socketpair.S +++ b/libc/arch-mips/syscalls/socketpair.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl socketpair - .align 4 - .ent socketpair +#include -socketpair: +ENTRY(socketpair) .set noreorder .cpload t9 li v0, __NR_socketpair @@ -22,4 +16,4 @@ socketpair: j t9 nop .set reorder - .end socketpair +END(socketpair) diff --git a/libc/arch-mips/syscalls/swapoff.S b/libc/arch-mips/syscalls/swapoff.S index 2f4a189ef..04b5b7095 100644 --- a/libc/arch-mips/syscalls/swapoff.S +++ b/libc/arch-mips/syscalls/swapoff.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl swapoff - .align 4 - .ent swapoff +#include -swapoff: +ENTRY(swapoff) .set noreorder .cpload t9 li v0, __NR_swapoff @@ -22,4 +16,4 @@ swapoff: j t9 nop .set reorder - .end swapoff +END(swapoff) diff --git a/libc/arch-mips/syscalls/swapon.S b/libc/arch-mips/syscalls/swapon.S index 1b4084f81..1fe369826 100644 --- a/libc/arch-mips/syscalls/swapon.S +++ b/libc/arch-mips/syscalls/swapon.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl swapon - .align 4 - .ent swapon +#include -swapon: +ENTRY(swapon) .set noreorder .cpload t9 li v0, __NR_swapon @@ -22,4 +16,4 @@ swapon: j t9 nop .set reorder - .end swapon +END(swapon) diff --git a/libc/arch-mips/syscalls/symlinkat.S b/libc/arch-mips/syscalls/symlinkat.S index b146d13d1..5bd6e6c2c 100644 --- a/libc/arch-mips/syscalls/symlinkat.S +++ b/libc/arch-mips/syscalls/symlinkat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl symlinkat - .align 4 - .ent symlinkat +#include -symlinkat: +ENTRY(symlinkat) .set noreorder .cpload t9 li v0, __NR_symlinkat @@ -22,4 +16,4 @@ symlinkat: j t9 nop .set reorder - .end symlinkat +END(symlinkat) diff --git a/libc/arch-mips/syscalls/sync.S b/libc/arch-mips/syscalls/sync.S index b9628fb6f..eb788f0c9 100644 --- a/libc/arch-mips/syscalls/sync.S +++ b/libc/arch-mips/syscalls/sync.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl sync - .align 4 - .ent sync +#include -sync: +ENTRY(sync) .set noreorder .cpload t9 li v0, __NR_sync @@ -22,4 +16,4 @@ sync: j t9 nop .set reorder - .end sync +END(sync) diff --git a/libc/arch-mips/syscalls/sysinfo.S b/libc/arch-mips/syscalls/sysinfo.S index a5cad2f51..7cdccb907 100644 --- a/libc/arch-mips/syscalls/sysinfo.S +++ b/libc/arch-mips/syscalls/sysinfo.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl sysinfo - .align 4 - .ent sysinfo +#include -sysinfo: +ENTRY(sysinfo) .set noreorder .cpload t9 li v0, __NR_sysinfo @@ -22,4 +16,4 @@ sysinfo: j t9 nop .set reorder - .end sysinfo +END(sysinfo) diff --git a/libc/arch-mips/syscalls/tgkill.S b/libc/arch-mips/syscalls/tgkill.S index 83eb957a0..99388433d 100644 --- a/libc/arch-mips/syscalls/tgkill.S +++ b/libc/arch-mips/syscalls/tgkill.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl tgkill - .align 4 - .ent tgkill +#include -tgkill: +ENTRY(tgkill) .set noreorder .cpload t9 li v0, __NR_tgkill @@ -22,4 +16,4 @@ tgkill: j t9 nop .set reorder - .end tgkill +END(tgkill) diff --git a/libc/arch-mips/syscalls/timerfd_create.S b/libc/arch-mips/syscalls/timerfd_create.S index 9c4cc8f45..c42f4e172 100644 --- a/libc/arch-mips/syscalls/timerfd_create.S +++ b/libc/arch-mips/syscalls/timerfd_create.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl timerfd_create - .align 4 - .ent timerfd_create +#include -timerfd_create: +ENTRY(timerfd_create) .set noreorder .cpload t9 li v0, __NR_timerfd_create @@ -22,4 +16,4 @@ timerfd_create: j t9 nop .set reorder - .end timerfd_create +END(timerfd_create) diff --git a/libc/arch-mips/syscalls/timerfd_gettime.S b/libc/arch-mips/syscalls/timerfd_gettime.S index d8165dca1..469d174e2 100644 --- a/libc/arch-mips/syscalls/timerfd_gettime.S +++ b/libc/arch-mips/syscalls/timerfd_gettime.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl timerfd_gettime - .align 4 - .ent timerfd_gettime +#include -timerfd_gettime: +ENTRY(timerfd_gettime) .set noreorder .cpload t9 li v0, __NR_timerfd_gettime @@ -22,4 +16,4 @@ timerfd_gettime: j t9 nop .set reorder - .end timerfd_gettime +END(timerfd_gettime) diff --git a/libc/arch-mips/syscalls/timerfd_settime.S b/libc/arch-mips/syscalls/timerfd_settime.S index 29354ba91..c7c6f47fc 100644 --- a/libc/arch-mips/syscalls/timerfd_settime.S +++ b/libc/arch-mips/syscalls/timerfd_settime.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl timerfd_settime - .align 4 - .ent timerfd_settime +#include -timerfd_settime: +ENTRY(timerfd_settime) .set noreorder .cpload t9 li v0, __NR_timerfd_settime @@ -22,4 +16,4 @@ timerfd_settime: j t9 nop .set reorder - .end timerfd_settime +END(timerfd_settime) diff --git a/libc/arch-mips/syscalls/times.S b/libc/arch-mips/syscalls/times.S index d4a94e5cc..157b34cb0 100644 --- a/libc/arch-mips/syscalls/times.S +++ b/libc/arch-mips/syscalls/times.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl times - .align 4 - .ent times +#include -times: +ENTRY(times) .set noreorder .cpload t9 li v0, __NR_times @@ -22,4 +16,4 @@ times: j t9 nop .set reorder - .end times +END(times) diff --git a/libc/arch-mips/syscalls/tkill.S b/libc/arch-mips/syscalls/tkill.S index 9a15ac3bf..c1ecb61a8 100644 --- a/libc/arch-mips/syscalls/tkill.S +++ b/libc/arch-mips/syscalls/tkill.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl tkill - .align 4 - .ent tkill +#include -tkill: +ENTRY(tkill) .set noreorder .cpload t9 li v0, __NR_tkill @@ -22,4 +16,4 @@ tkill: j t9 nop .set reorder - .end tkill +END(tkill) diff --git a/libc/arch-mips/syscalls/truncate.S b/libc/arch-mips/syscalls/truncate.S index 94bad296d..7fe4a0fad 100644 --- a/libc/arch-mips/syscalls/truncate.S +++ b/libc/arch-mips/syscalls/truncate.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl truncate - .align 4 - .ent truncate +#include -truncate: +ENTRY(truncate) .set noreorder .cpload t9 li v0, __NR_truncate @@ -22,4 +16,4 @@ truncate: j t9 nop .set reorder - .end truncate +END(truncate) diff --git a/libc/arch-mips/syscalls/truncate64.S b/libc/arch-mips/syscalls/truncate64.S index a6b77cbff..0911f5f64 100644 --- a/libc/arch-mips/syscalls/truncate64.S +++ b/libc/arch-mips/syscalls/truncate64.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl truncate64 - .align 4 - .ent truncate64 +#include -truncate64: +ENTRY(truncate64) .set noreorder .cpload t9 li v0, __NR_truncate64 @@ -22,4 +16,4 @@ truncate64: j t9 nop .set reorder - .end truncate64 +END(truncate64) diff --git a/libc/arch-mips/syscalls/umask.S b/libc/arch-mips/syscalls/umask.S index 92d79d7fb..57a6aed9c 100644 --- a/libc/arch-mips/syscalls/umask.S +++ b/libc/arch-mips/syscalls/umask.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl umask - .align 4 - .ent umask +#include -umask: +ENTRY(umask) .set noreorder .cpload t9 li v0, __NR_umask @@ -22,4 +16,4 @@ umask: j t9 nop .set reorder - .end umask +END(umask) diff --git a/libc/arch-mips/syscalls/umount2.S b/libc/arch-mips/syscalls/umount2.S index f78229737..bf8267dd9 100644 --- a/libc/arch-mips/syscalls/umount2.S +++ b/libc/arch-mips/syscalls/umount2.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl umount2 - .align 4 - .ent umount2 +#include -umount2: +ENTRY(umount2) .set noreorder .cpload t9 li v0, __NR_umount2 @@ -22,4 +16,4 @@ umount2: j t9 nop .set reorder - .end umount2 +END(umount2) diff --git a/libc/arch-mips/syscalls/uname.S b/libc/arch-mips/syscalls/uname.S index 48ebe6b76..ce77bd523 100644 --- a/libc/arch-mips/syscalls/uname.S +++ b/libc/arch-mips/syscalls/uname.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl uname - .align 4 - .ent uname +#include -uname: +ENTRY(uname) .set noreorder .cpload t9 li v0, __NR_uname @@ -22,4 +16,4 @@ uname: j t9 nop .set reorder - .end uname +END(uname) diff --git a/libc/arch-mips/syscalls/unlinkat.S b/libc/arch-mips/syscalls/unlinkat.S index 7c361877e..82e584b2b 100644 --- a/libc/arch-mips/syscalls/unlinkat.S +++ b/libc/arch-mips/syscalls/unlinkat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl unlinkat - .align 4 - .ent unlinkat +#include -unlinkat: +ENTRY(unlinkat) .set noreorder .cpload t9 li v0, __NR_unlinkat @@ -22,4 +16,4 @@ unlinkat: j t9 nop .set reorder - .end unlinkat +END(unlinkat) diff --git a/libc/arch-mips/syscalls/unshare.S b/libc/arch-mips/syscalls/unshare.S index ae6272abd..0521f305d 100644 --- a/libc/arch-mips/syscalls/unshare.S +++ b/libc/arch-mips/syscalls/unshare.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl unshare - .align 4 - .ent unshare +#include -unshare: +ENTRY(unshare) .set noreorder .cpload t9 li v0, __NR_unshare @@ -22,4 +16,4 @@ unshare: j t9 nop .set reorder - .end unshare +END(unshare) diff --git a/libc/arch-mips/syscalls/utimensat.S b/libc/arch-mips/syscalls/utimensat.S index 86cba89fc..208ef58fd 100644 --- a/libc/arch-mips/syscalls/utimensat.S +++ b/libc/arch-mips/syscalls/utimensat.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl utimensat - .align 4 - .ent utimensat +#include -utimensat: +ENTRY(utimensat) .set noreorder .cpload t9 li v0, __NR_utimensat @@ -22,4 +16,4 @@ utimensat: j t9 nop .set reorder - .end utimensat +END(utimensat) diff --git a/libc/arch-mips/syscalls/wait4.S b/libc/arch-mips/syscalls/wait4.S index fbff65172..ec6bd84f2 100644 --- a/libc/arch-mips/syscalls/wait4.S +++ b/libc/arch-mips/syscalls/wait4.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl wait4 - .align 4 - .ent wait4 +#include -wait4: +ENTRY(wait4) .set noreorder .cpload t9 li v0, __NR_wait4 @@ -22,4 +16,4 @@ wait4: j t9 nop .set reorder - .end wait4 +END(wait4) diff --git a/libc/arch-mips/syscalls/write.S b/libc/arch-mips/syscalls/write.S index 5b02bae67..d10e55ae9 100644 --- a/libc/arch-mips/syscalls/write.S +++ b/libc/arch-mips/syscalls/write.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl write - .align 4 - .ent write +#include -write: +ENTRY(write) .set noreorder .cpload t9 li v0, __NR_write @@ -22,4 +16,4 @@ write: j t9 nop .set reorder - .end write +END(write) diff --git a/libc/arch-mips/syscalls/writev.S b/libc/arch-mips/syscalls/writev.S index 36e890e6d..0a2c033fc 100644 --- a/libc/arch-mips/syscalls/writev.S +++ b/libc/arch-mips/syscalls/writev.S @@ -1,14 +1,8 @@ /* Generated by gensyscalls.py. Do not edit. */ -#include -#include -#include - .text - .globl writev - .align 4 - .ent writev +#include -writev: +ENTRY(writev) .set noreorder .cpload t9 li v0, __NR_writev @@ -22,4 +16,4 @@ writev: j t9 nop .set reorder - .end writev +END(writev) diff --git a/libc/arch-mips64/bionic/futex_mips.S b/libc/arch-mips64/bionic/futex_mips.S index 1a249a724..81f2f228d 100644 --- a/libc/arch-mips64/bionic/futex_mips.S +++ b/libc/arch-mips64/bionic/futex_mips.S @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include #include #define FUTEX_WAIT 0 diff --git a/libc/arch-mips64/syscalls/__brk.S b/libc/arch-mips64/syscalls/__brk.S index 1e3939a76..c352c6903 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 -#include -#include - .text - .globl __brk - .align 4 - .ent __brk +#include -__brk: +ENTRY(__brk) .set push .set noreorder li v0, __NR_brk @@ -28,5 +22,5 @@ __brk: 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 6167f4802..5ffd49af9 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 -#include -#include - .text - .globl __epoll_pwait - .align 4 - .ent __epoll_pwait +#include -__epoll_pwait: +ENTRY(__epoll_pwait) .set push .set noreorder li v0, __NR_epoll_pwait @@ -28,5 +22,5 @@ __epoll_pwait: 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 0297a68de..5adcc5ba7 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 -#include -#include - .text - .globl __exit - .align 4 - .ent __exit +#include -__exit: +ENTRY(__exit) .set push .set noreorder li v0, __NR_exit @@ -28,5 +22,5 @@ __exit: 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 d20369e89..ec2d87b46 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 -#include -#include - .text - .globl __getcpu - .align 4 - .ent __getcpu +#include -__getcpu: +ENTRY(__getcpu) .set push .set noreorder li v0, __NR_getcpu @@ -28,5 +22,5 @@ __getcpu: 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 47a32dfa4..29de0a7df 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 -#include -#include - .text - .globl __getcwd - .align 4 - .ent __getcwd +#include -__getcwd: +ENTRY(__getcwd) .set push .set noreorder li v0, __NR_getcwd @@ -28,5 +22,5 @@ __getcwd: 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 3b89c8ca1..862fe429d 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 -#include -#include - .text - .globl __getdents - .align 4 - .ent __getdents +#include -__getdents: +ENTRY(__getdents) .set push .set noreorder li v0, __NR_getdents @@ -28,5 +22,5 @@ __getdents: 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 eac06aa54..57d33c0c1 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 -#include -#include - .text - .globl __getdents64 - .align 4 - .ent __getdents64 +#include -__getdents64: +ENTRY(__getdents64) .set push .set noreorder li v0, __NR_getdents64 @@ -28,5 +22,5 @@ __getdents64: 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 e3cd90ed6..d17c2485c 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 -#include -#include - .text - .globl __getpriority - .align 4 - .ent __getpriority +#include -__getpriority: +ENTRY(__getpriority) .set push .set noreorder li v0, __NR_getpriority @@ -28,5 +22,5 @@ __getpriority: 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 c3bd575eb..eca0f5d8d 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 -#include -#include - .text - .globl __ioctl - .align 4 - .ent __ioctl +#include -__ioctl: +ENTRY(__ioctl) .set push .set noreorder li v0, __NR_ioctl @@ -28,5 +22,5 @@ __ioctl: 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 0f1445415..adbcdd2d8 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 -#include -#include - .text - .globl __openat - .align 4 - .ent __openat +#include -__openat: +ENTRY(__openat) .set push .set noreorder li v0, __NR_openat @@ -28,5 +22,5 @@ __openat: 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 ac7acb921..f0e7cac62 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 -#include -#include - .text - .globl __ppoll - .align 4 - .ent __ppoll +#include -__ppoll: +ENTRY(__ppoll) .set push .set noreorder li v0, __NR_ppoll @@ -28,5 +22,5 @@ __ppoll: 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 1e5ac2fdb..7398afbb3 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 -#include -#include - .text - .globl __pselect6 - .align 4 - .ent __pselect6 +#include -__pselect6: +ENTRY(__pselect6) .set push .set noreorder li v0, __NR_pselect6 @@ -28,5 +22,5 @@ __pselect6: 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 79b75b25c..ae77fa4f4 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 -#include -#include - .text - .globl __ptrace - .align 4 - .ent __ptrace +#include -__ptrace: +ENTRY(__ptrace) .set push .set noreorder li v0, __NR_ptrace @@ -28,5 +22,5 @@ __ptrace: 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 31ae824d0..6b34a4f5a 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 -#include -#include - .text - .globl __reboot - .align 4 - .ent __reboot +#include -__reboot: +ENTRY(__reboot) .set push .set noreorder li v0, __NR_reboot @@ -28,5 +22,5 @@ __reboot: 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 ef537a455..2e8d588ee 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 -#include -#include - .text - .globl __rt_sigaction - .align 4 - .ent __rt_sigaction +#include -__rt_sigaction: +ENTRY(__rt_sigaction) .set push .set noreorder li v0, __NR_rt_sigaction @@ -28,5 +22,5 @@ __rt_sigaction: 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 2dc1bf6e7..93351ca91 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 -#include -#include - .text - .globl __rt_sigpending - .align 4 - .ent __rt_sigpending +#include -__rt_sigpending: +ENTRY(__rt_sigpending) .set push .set noreorder li v0, __NR_rt_sigpending @@ -28,5 +22,5 @@ __rt_sigpending: 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 2814d6666..36cb21a87 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 -#include -#include - .text - .globl __rt_sigprocmask - .align 4 - .ent __rt_sigprocmask +#include -__rt_sigprocmask: +ENTRY(__rt_sigprocmask) .set push .set noreorder li v0, __NR_rt_sigprocmask @@ -28,5 +22,5 @@ __rt_sigprocmask: 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 83c199061..943311fdb 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 -#include -#include - .text - .globl __rt_sigsuspend - .align 4 - .ent __rt_sigsuspend +#include -__rt_sigsuspend: +ENTRY(__rt_sigsuspend) .set push .set noreorder li v0, __NR_rt_sigsuspend @@ -28,5 +22,5 @@ __rt_sigsuspend: 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 48daea83e..59c743b83 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 -#include -#include - .text - .globl __rt_sigtimedwait - .align 4 - .ent __rt_sigtimedwait +#include -__rt_sigtimedwait: +ENTRY(__rt_sigtimedwait) .set push .set noreorder li v0, __NR_rt_sigtimedwait @@ -28,5 +22,5 @@ __rt_sigtimedwait: 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 006e395ba..08f6b3409 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 -#include -#include - .text - .globl __sched_getaffinity - .align 4 - .ent __sched_getaffinity +#include -__sched_getaffinity: +ENTRY(__sched_getaffinity) .set push .set noreorder li v0, __NR_sched_getaffinity @@ -28,5 +22,5 @@ __sched_getaffinity: 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 009d004b3..5ea945f82 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 -#include -#include - .text - .globl __set_thread_area - .align 4 - .ent __set_thread_area +#include -__set_thread_area: +ENTRY(__set_thread_area) .set push .set noreorder li v0, __NR_set_thread_area @@ -28,5 +22,5 @@ __set_thread_area: 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 4c1f97d2b..ce1fcf5d5 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 -#include -#include - .text - .globl __set_tid_address - .align 4 - .ent __set_tid_address +#include -__set_tid_address: +ENTRY(__set_tid_address) .set push .set noreorder li v0, __NR_set_tid_address @@ -28,5 +22,5 @@ __set_tid_address: 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 22914016f..59b1f0d4d 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 -#include -#include - .text - .globl __syslog - .align 4 - .ent __syslog +#include -__syslog: +ENTRY(__syslog) .set push .set noreorder li v0, __NR_syslog @@ -28,5 +22,5 @@ __syslog: 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 aa024b7bf..4e70cd339 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 -#include -#include - .text - .globl __timer_create - .align 4 - .ent __timer_create +#include -__timer_create: +ENTRY(__timer_create) .set push .set noreorder li v0, __NR_timer_create @@ -28,5 +22,5 @@ __timer_create: 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 024f0c46c..c61b34cfc 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 -#include -#include - .text - .globl __timer_delete - .align 4 - .ent __timer_delete +#include -__timer_delete: +ENTRY(__timer_delete) .set push .set noreorder li v0, __NR_timer_delete @@ -28,5 +22,5 @@ __timer_delete: 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 0931111a8..7e36e35be 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 -#include -#include - .text - .globl __timer_getoverrun - .align 4 - .ent __timer_getoverrun +#include -__timer_getoverrun: +ENTRY(__timer_getoverrun) .set push .set noreorder li v0, __NR_timer_getoverrun @@ -28,5 +22,5 @@ __timer_getoverrun: 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 4eb5f71dd..aef5391cc 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 -#include -#include - .text - .globl __timer_gettime - .align 4 - .ent __timer_gettime +#include -__timer_gettime: +ENTRY(__timer_gettime) .set push .set noreorder li v0, __NR_timer_gettime @@ -28,5 +22,5 @@ __timer_gettime: 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 ecac0c5e6..dc945e7ba 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 -#include -#include - .text - .globl __timer_settime - .align 4 - .ent __timer_settime +#include -__timer_settime: +ENTRY(__timer_settime) .set push .set noreorder li v0, __NR_timer_settime @@ -28,5 +22,5 @@ __timer_settime: 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 caba21ef4..e395a34bd 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 -#include -#include - .text - .globl __waitid - .align 4 - .ent __waitid +#include -__waitid: +ENTRY(__waitid) .set push .set noreorder li v0, __NR_waitid @@ -28,5 +22,5 @@ __waitid: 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 87aff94af..9b108a65b 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 -#include -#include - .text - .globl _exit - .align 4 - .ent _exit +#include -_exit: +ENTRY(_exit) .set push .set noreorder li v0, __NR_exit_group @@ -28,4 +22,4 @@ _exit: 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 c2f8cd63b..132fd4e40 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 -#include -#include - .text - .globl _flush_cache - .align 4 - .ent _flush_cache +#include -_flush_cache: +ENTRY(_flush_cache) .set push .set noreorder li v0, __NR_cacheflush @@ -28,4 +22,4 @@ _flush_cache: 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 dc9ac59ee..6c3855698 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 -#include -#include - .text - .globl accept - .align 4 - .ent accept +#include -accept: +ENTRY(accept) .set push .set noreorder li v0, __NR_accept @@ -28,4 +22,4 @@ accept: 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 0b238665c..718587756 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 -#include -#include - .text - .globl acct - .align 4 - .ent acct +#include -acct: +ENTRY(acct) .set push .set noreorder li v0, __NR_acct @@ -28,4 +22,4 @@ acct: 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 da81dad55..cb28bb45d 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 -#include -#include - .text - .globl bind - .align 4 - .ent bind +#include -bind: +ENTRY(bind) .set push .set noreorder li v0, __NR_bind @@ -28,4 +22,4 @@ bind: 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 26d74b119..068e076eb 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 -#include -#include - .text - .globl capget - .align 4 - .ent capget +#include -capget: +ENTRY(capget) .set push .set noreorder li v0, __NR_capget @@ -28,4 +22,4 @@ capget: 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 b4b87de6f..f29501bbd 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 -#include -#include - .text - .globl capset - .align 4 - .ent capset +#include -capset: +ENTRY(capset) .set push .set noreorder li v0, __NR_capset @@ -28,4 +22,4 @@ capset: 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 af3546ab9..c2753bd32 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 -#include -#include - .text - .globl chdir - .align 4 - .ent chdir +#include -chdir: +ENTRY(chdir) .set push .set noreorder li v0, __NR_chdir @@ -28,4 +22,4 @@ chdir: 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 b992774c3..ca1d4a8dd 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 -#include -#include - .text - .globl chroot - .align 4 - .ent chroot +#include -chroot: +ENTRY(chroot) .set push .set noreorder li v0, __NR_chroot @@ -28,4 +22,4 @@ chroot: 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 f277ab195..e7a8dd3f0 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 -#include -#include - .text - .globl clock_getres - .align 4 - .ent clock_getres +#include -clock_getres: +ENTRY(clock_getres) .set push .set noreorder li v0, __NR_clock_getres @@ -28,4 +22,4 @@ clock_getres: 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 8200e757d..4c92a38dc 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 -#include -#include - .text - .globl clock_gettime - .align 4 - .ent clock_gettime +#include -clock_gettime: +ENTRY(clock_gettime) .set push .set noreorder li v0, __NR_clock_gettime @@ -28,4 +22,4 @@ clock_gettime: 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 9ac95fc5a..29345911c 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 -#include -#include - .text - .globl clock_nanosleep - .align 4 - .ent clock_nanosleep +#include -clock_nanosleep: +ENTRY(clock_nanosleep) .set push .set noreorder li v0, __NR_clock_nanosleep @@ -28,4 +22,4 @@ clock_nanosleep: 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 a8cd723b3..1969cb69a 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 -#include -#include - .text - .globl clock_settime - .align 4 - .ent clock_settime +#include -clock_settime: +ENTRY(clock_settime) .set push .set noreorder li v0, __NR_clock_settime @@ -28,4 +22,4 @@ clock_settime: 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 cfe5c5135..f44600060 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 -#include -#include - .text - .globl close - .align 4 - .ent close +#include -close: +ENTRY(close) .set push .set noreorder li v0, __NR_close @@ -28,4 +22,4 @@ close: 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 80600bb17..8fe2d56c1 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 -#include -#include - .text - .globl connect - .align 4 - .ent connect +#include -connect: +ENTRY(connect) .set push .set noreorder li v0, __NR_connect @@ -28,4 +22,4 @@ connect: 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 cf2579df5..d24adf875 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 -#include -#include - .text - .globl delete_module - .align 4 - .ent delete_module +#include -delete_module: +ENTRY(delete_module) .set push .set noreorder li v0, __NR_delete_module @@ -28,4 +22,4 @@ delete_module: 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 0a92e572c..5d2d7defa 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 -#include -#include - .text - .globl dup - .align 4 - .ent dup +#include -dup: +ENTRY(dup) .set push .set noreorder li v0, __NR_dup @@ -28,4 +22,4 @@ dup: 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 e9fba1ec8..90f0f89c6 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 -#include -#include - .text - .globl dup3 - .align 4 - .ent dup3 +#include -dup3: +ENTRY(dup3) .set push .set noreorder li v0, __NR_dup3 @@ -28,4 +22,4 @@ dup3: 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 9c41868d5..312887f61 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 -#include -#include - .text - .globl epoll_create1 - .align 4 - .ent epoll_create1 +#include -epoll_create1: +ENTRY(epoll_create1) .set push .set noreorder li v0, __NR_epoll_create1 @@ -28,4 +22,4 @@ epoll_create1: 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 5f18979b0..461ad7be3 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 -#include -#include - .text - .globl epoll_ctl - .align 4 - .ent epoll_ctl +#include -epoll_ctl: +ENTRY(epoll_ctl) .set push .set noreorder li v0, __NR_epoll_ctl @@ -28,4 +22,4 @@ epoll_ctl: 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 9cb87ca2b..da8866ee5 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 -#include -#include - .text - .globl eventfd - .align 4 - .ent eventfd +#include -eventfd: +ENTRY(eventfd) .set push .set noreorder li v0, __NR_eventfd2 @@ -28,4 +22,4 @@ eventfd: 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 8edfc3435..3cb49b68e 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 -#include -#include - .text - .globl execve - .align 4 - .ent execve +#include -execve: +ENTRY(execve) .set push .set noreorder li v0, __NR_execve @@ -28,4 +22,4 @@ execve: 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 14de07347..d06f42046 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 -#include -#include - .text - .globl faccessat - .align 4 - .ent faccessat +#include -faccessat: +ENTRY(faccessat) .set push .set noreorder li v0, __NR_faccessat @@ -28,4 +22,4 @@ faccessat: 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 347ab1f59..d1e64b53f 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 -#include -#include - .text - .globl fallocate - .align 4 - .ent fallocate +#include -fallocate: +ENTRY(fallocate) .set push .set noreorder li v0, __NR_fallocate @@ -28,7 +22,7 @@ fallocate: 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 1b5e7cb72..0c8ab73d0 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 -#include -#include - .text - .globl fchdir - .align 4 - .ent fchdir +#include -fchdir: +ENTRY(fchdir) .set push .set noreorder li v0, __NR_fchdir @@ -28,4 +22,4 @@ fchdir: 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 b9ce347d4..4ebb796ac 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 -#include -#include - .text - .globl fchmod - .align 4 - .ent fchmod +#include -fchmod: +ENTRY(fchmod) .set push .set noreorder li v0, __NR_fchmod @@ -28,4 +22,4 @@ fchmod: 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 f21aea746..48873241a 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 -#include -#include - .text - .globl fchmodat - .align 4 - .ent fchmodat +#include -fchmodat: +ENTRY(fchmodat) .set push .set noreorder li v0, __NR_fchmodat @@ -28,4 +22,4 @@ fchmodat: 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 2eb7fa420..c21c83131 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 -#include -#include - .text - .globl fchown - .align 4 - .ent fchown +#include -fchown: +ENTRY(fchown) .set push .set noreorder li v0, __NR_fchown @@ -28,4 +22,4 @@ fchown: 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 896ba43fe..eba230cfc 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 -#include -#include - .text - .globl fchownat - .align 4 - .ent fchownat +#include -fchownat: +ENTRY(fchownat) .set push .set noreorder li v0, __NR_fchownat @@ -28,4 +22,4 @@ fchownat: 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 755361d3f..1f54b0e33 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 -#include -#include - .text - .globl fcntl - .align 4 - .ent fcntl +#include -fcntl: +ENTRY(fcntl) .set push .set noreorder li v0, __NR_fcntl @@ -28,4 +22,4 @@ fcntl: 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 f0362487e..ba1eccc47 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 -#include -#include - .text - .globl fdatasync - .align 4 - .ent fdatasync +#include -fdatasync: +ENTRY(fdatasync) .set push .set noreorder li v0, __NR_fdatasync @@ -28,4 +22,4 @@ fdatasync: 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 0cd6ad778..5b9c8edc4 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 -#include -#include - .text - .globl fgetxattr - .align 4 - .ent fgetxattr +#include -fgetxattr: +ENTRY(fgetxattr) .set push .set noreorder li v0, __NR_fgetxattr @@ -28,4 +22,4 @@ fgetxattr: 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 2e8961bbc..c0bf93cae 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 -#include -#include - .text - .globl flistxattr - .align 4 - .ent flistxattr +#include -flistxattr: +ENTRY(flistxattr) .set push .set noreorder li v0, __NR_flistxattr @@ -28,4 +22,4 @@ flistxattr: 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 93051d3b1..b63f6fcec 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 -#include -#include - .text - .globl flock - .align 4 - .ent flock +#include -flock: +ENTRY(flock) .set push .set noreorder li v0, __NR_flock @@ -28,4 +22,4 @@ flock: 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 6ef8c122c..be20d000c 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 -#include -#include - .text - .globl fremovexattr - .align 4 - .ent fremovexattr +#include -fremovexattr: +ENTRY(fremovexattr) .set push .set noreorder li v0, __NR_fremovexattr @@ -28,4 +22,4 @@ fremovexattr: 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 89e0de7a3..92198ceb4 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 -#include -#include - .text - .globl fsetxattr - .align 4 - .ent fsetxattr +#include -fsetxattr: +ENTRY(fsetxattr) .set push .set noreorder li v0, __NR_fsetxattr @@ -28,4 +22,4 @@ fsetxattr: 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 aad3c21a0..078e3dd26 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 -#include -#include - .text - .globl fstat64 - .align 4 - .ent fstat64 +#include -fstat64: +ENTRY(fstat64) .set push .set noreorder li v0, __NR_fstat @@ -28,7 +22,7 @@ fstat64: 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 828439a3a..cc38de1f9 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 -#include -#include - .text - .globl fstatat64 - .align 4 - .ent fstatat64 +#include -fstatat64: +ENTRY(fstatat64) .set push .set noreorder li v0, __NR_newfstatat @@ -28,7 +22,7 @@ fstatat64: 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 09380b275..3474bc28a 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 -#include -#include - .text - .globl fstatfs64 - .align 4 - .ent fstatfs64 +#include -fstatfs64: +ENTRY(fstatfs64) .set push .set noreorder li v0, __NR_fstatfs @@ -28,7 +22,7 @@ fstatfs64: 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 08f77f063..3543fef2a 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 -#include -#include - .text - .globl fsync - .align 4 - .ent fsync +#include -fsync: +ENTRY(fsync) .set push .set noreorder li v0, __NR_fsync @@ -28,4 +22,4 @@ fsync: 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 3afe26a77..cd97b87ca 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 -#include -#include - .text - .globl ftruncate - .align 4 - .ent ftruncate +#include -ftruncate: +ENTRY(ftruncate) .set push .set noreorder li v0, __NR_ftruncate @@ -28,7 +22,7 @@ ftruncate: 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 edbacba31..dc7dcc6ee 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 -#include -#include - .text - .globl futex - .align 4 - .ent futex +#include -futex: +ENTRY(futex) .set push .set noreorder li v0, __NR_futex @@ -28,4 +22,4 @@ futex: 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 d01438679..d6b3d7f93 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 -#include -#include - .text - .globl getegid - .align 4 - .ent getegid +#include -getegid: +ENTRY(getegid) .set push .set noreorder li v0, __NR_getegid @@ -28,4 +22,4 @@ getegid: 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 ec63f6cf6..a1d971331 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 -#include -#include - .text - .globl geteuid - .align 4 - .ent geteuid +#include -geteuid: +ENTRY(geteuid) .set push .set noreorder li v0, __NR_geteuid @@ -28,4 +22,4 @@ geteuid: 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 531d3647f..c89d70905 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 -#include -#include - .text - .globl getgid - .align 4 - .ent getgid +#include -getgid: +ENTRY(getgid) .set push .set noreorder li v0, __NR_getgid @@ -28,4 +22,4 @@ getgid: 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 b7fcef6e1..8d9cddb5e 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 -#include -#include - .text - .globl getgroups - .align 4 - .ent getgroups +#include -getgroups: +ENTRY(getgroups) .set push .set noreorder li v0, __NR_getgroups @@ -28,4 +22,4 @@ getgroups: 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 4f9bc63b2..12dad0314 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 -#include -#include - .text - .globl getitimer - .align 4 - .ent getitimer +#include -getitimer: +ENTRY(getitimer) .set push .set noreorder li v0, __NR_getitimer @@ -28,4 +22,4 @@ getitimer: 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 695fe6ae5..278428af9 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 -#include -#include - .text - .globl getpeername - .align 4 - .ent getpeername +#include -getpeername: +ENTRY(getpeername) .set push .set noreorder li v0, __NR_getpeername @@ -28,4 +22,4 @@ getpeername: 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 46787d624..56551efab 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 -#include -#include - .text - .globl getpgid - .align 4 - .ent getpgid +#include -getpgid: +ENTRY(getpgid) .set push .set noreorder li v0, __NR_getpgid @@ -28,4 +22,4 @@ getpgid: 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 4f3f58fce..3b457b532 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 -#include -#include - .text - .globl getpid - .align 4 - .ent getpid +#include -getpid: +ENTRY(getpid) .set push .set noreorder li v0, __NR_getpid @@ -28,4 +22,4 @@ getpid: 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 0bcab0004..97066f824 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 -#include -#include - .text - .globl getppid - .align 4 - .ent getppid +#include -getppid: +ENTRY(getppid) .set push .set noreorder li v0, __NR_getppid @@ -28,4 +22,4 @@ getppid: 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 48e605b0d..f07fc11a2 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 -#include -#include - .text - .globl getresgid - .align 4 - .ent getresgid +#include -getresgid: +ENTRY(getresgid) .set push .set noreorder li v0, __NR_getresgid @@ -28,4 +22,4 @@ getresgid: 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 79987d6e8..4f1ba8652 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 -#include -#include - .text - .globl getresuid - .align 4 - .ent getresuid +#include -getresuid: +ENTRY(getresuid) .set push .set noreorder li v0, __NR_getresuid @@ -28,4 +22,4 @@ getresuid: 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 d19eaeb07..f825db94c 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 -#include -#include - .text - .globl getrlimit - .align 4 - .ent getrlimit +#include -getrlimit: +ENTRY(getrlimit) .set push .set noreorder li v0, __NR_getrlimit @@ -28,7 +22,7 @@ getrlimit: 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 dd57c382f..49f3c4227 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 -#include -#include - .text - .globl getrusage - .align 4 - .ent getrusage +#include -getrusage: +ENTRY(getrusage) .set push .set noreorder li v0, __NR_getrusage @@ -28,4 +22,4 @@ getrusage: 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 5fb9e1b3e..6fa362c91 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 -#include -#include - .text - .globl getsid - .align 4 - .ent getsid +#include -getsid: +ENTRY(getsid) .set push .set noreorder li v0, __NR_getsid @@ -28,4 +22,4 @@ getsid: 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 44026bf5e..5e16aff25 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 -#include -#include - .text - .globl getsockname - .align 4 - .ent getsockname +#include -getsockname: +ENTRY(getsockname) .set push .set noreorder li v0, __NR_getsockname @@ -28,4 +22,4 @@ getsockname: 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 8493faaff..fab05b130 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 -#include -#include - .text - .globl getsockopt - .align 4 - .ent getsockopt +#include -getsockopt: +ENTRY(getsockopt) .set push .set noreorder li v0, __NR_getsockopt @@ -28,4 +22,4 @@ getsockopt: 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 e03bb4e8d..30c30c8c1 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 -#include -#include - .text - .globl gettid - .align 4 - .ent gettid +#include -gettid: +ENTRY(gettid) .set push .set noreorder li v0, __NR_gettid @@ -28,4 +22,4 @@ gettid: 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 e1e5c047d..07407a49c 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 -#include -#include - .text - .globl gettimeofday - .align 4 - .ent gettimeofday +#include -gettimeofday: +ENTRY(gettimeofday) .set push .set noreorder li v0, __NR_gettimeofday @@ -28,4 +22,4 @@ gettimeofday: 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 e48f4a62f..87c16e187 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 -#include -#include - .text - .globl getuid - .align 4 - .ent getuid +#include -getuid: +ENTRY(getuid) .set push .set noreorder li v0, __NR_getuid @@ -28,4 +22,4 @@ getuid: 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 b46e4d970..b42ca1ea5 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 -#include -#include - .text - .globl getxattr - .align 4 - .ent getxattr +#include -getxattr: +ENTRY(getxattr) .set push .set noreorder li v0, __NR_getxattr @@ -28,4 +22,4 @@ getxattr: 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 c5b2bcf50..90fb6b1f1 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 -#include -#include - .text - .globl init_module - .align 4 - .ent init_module +#include -init_module: +ENTRY(init_module) .set push .set noreorder li v0, __NR_init_module @@ -28,4 +22,4 @@ init_module: 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 c4c8dbf0c..17db414e1 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 -#include -#include - .text - .globl inotify_add_watch - .align 4 - .ent inotify_add_watch +#include -inotify_add_watch: +ENTRY(inotify_add_watch) .set push .set noreorder li v0, __NR_inotify_add_watch @@ -28,4 +22,4 @@ inotify_add_watch: 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 b0c7dcc33..356dd2d3d 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 -#include -#include - .text - .globl inotify_init1 - .align 4 - .ent inotify_init1 +#include -inotify_init1: +ENTRY(inotify_init1) .set push .set noreorder li v0, __NR_inotify_init1 @@ -28,4 +22,4 @@ inotify_init1: 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 4b6078ee3..4096ca383 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 -#include -#include - .text - .globl inotify_rm_watch - .align 4 - .ent inotify_rm_watch +#include -inotify_rm_watch: +ENTRY(inotify_rm_watch) .set push .set noreorder li v0, __NR_inotify_rm_watch @@ -28,4 +22,4 @@ inotify_rm_watch: 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 ebb4375f4..711890cf1 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 -#include -#include - .text - .globl ioprio_get - .align 4 - .ent ioprio_get +#include -ioprio_get: +ENTRY(ioprio_get) .set push .set noreorder li v0, __NR_ioprio_get @@ -28,4 +22,4 @@ ioprio_get: 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 44daba96c..738403aed 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 -#include -#include - .text - .globl ioprio_set - .align 4 - .ent ioprio_set +#include -ioprio_set: +ENTRY(ioprio_set) .set push .set noreorder li v0, __NR_ioprio_set @@ -28,4 +22,4 @@ ioprio_set: 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 2e4aa42d8..2d8b45210 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 -#include -#include - .text - .globl kill - .align 4 - .ent kill +#include -kill: +ENTRY(kill) .set push .set noreorder li v0, __NR_kill @@ -28,4 +22,4 @@ kill: 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 1c10f9515..2f9ca6a8f 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 -#include -#include - .text - .globl klogctl - .align 4 - .ent klogctl +#include -klogctl: +ENTRY(klogctl) .set push .set noreorder li v0, __NR_syslog @@ -28,4 +22,4 @@ klogctl: 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 c402e8182..f8e57b3e8 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 -#include -#include - .text - .globl lgetxattr - .align 4 - .ent lgetxattr +#include -lgetxattr: +ENTRY(lgetxattr) .set push .set noreorder li v0, __NR_lgetxattr @@ -28,4 +22,4 @@ lgetxattr: 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 e734144c7..a866fa6b5 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 -#include -#include - .text - .globl linkat - .align 4 - .ent linkat +#include -linkat: +ENTRY(linkat) .set push .set noreorder li v0, __NR_linkat @@ -28,4 +22,4 @@ linkat: 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 93c1d524b..0768c72c3 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 -#include -#include - .text - .globl listen - .align 4 - .ent listen +#include -listen: +ENTRY(listen) .set push .set noreorder li v0, __NR_listen @@ -28,4 +22,4 @@ listen: 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 f00402f2f..f2c00f6e5 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 -#include -#include - .text - .globl listxattr - .align 4 - .ent listxattr +#include -listxattr: +ENTRY(listxattr) .set push .set noreorder li v0, __NR_listxattr @@ -28,4 +22,4 @@ listxattr: 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 2628185aa..f324e2c1a 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 -#include -#include - .text - .globl llistxattr - .align 4 - .ent llistxattr +#include -llistxattr: +ENTRY(llistxattr) .set push .set noreorder li v0, __NR_llistxattr @@ -28,4 +22,4 @@ llistxattr: 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 ef486cbeb..e44c9d0d9 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 -#include -#include - .text - .globl lremovexattr - .align 4 - .ent lremovexattr +#include -lremovexattr: +ENTRY(lremovexattr) .set push .set noreorder li v0, __NR_lremovexattr @@ -28,4 +22,4 @@ lremovexattr: 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 4385df5f6..2858aa857 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 -#include -#include - .text - .globl lseek - .align 4 - .ent lseek +#include -lseek: +ENTRY(lseek) .set push .set noreorder li v0, __NR_lseek @@ -28,7 +22,7 @@ lseek: 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 14a1aae10..ed1b4df03 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 -#include -#include - .text - .globl lsetxattr - .align 4 - .ent lsetxattr +#include -lsetxattr: +ENTRY(lsetxattr) .set push .set noreorder li v0, __NR_lsetxattr @@ -28,4 +22,4 @@ lsetxattr: 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 8ca4124bd..fe6a828d9 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 -#include -#include - .text - .globl madvise - .align 4 - .ent madvise +#include -madvise: +ENTRY(madvise) .set push .set noreorder li v0, __NR_madvise @@ -28,4 +22,4 @@ madvise: 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 9dbd21c31..1e0b54455 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 -#include -#include - .text - .globl mincore - .align 4 - .ent mincore +#include -mincore: +ENTRY(mincore) .set push .set noreorder li v0, __NR_mincore @@ -28,4 +22,4 @@ mincore: 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 e652b2341..b1c94e1e4 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 -#include -#include - .text - .globl mkdirat - .align 4 - .ent mkdirat +#include -mkdirat: +ENTRY(mkdirat) .set push .set noreorder li v0, __NR_mkdirat @@ -28,4 +22,4 @@ mkdirat: 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 1cedbb4ba..edbd3b6b4 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 -#include -#include - .text - .globl mknodat - .align 4 - .ent mknodat +#include -mknodat: +ENTRY(mknodat) .set push .set noreorder li v0, __NR_mknodat @@ -28,4 +22,4 @@ mknodat: 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 18ab4bad6..ae599cdc4 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 -#include -#include - .text - .globl mlock - .align 4 - .ent mlock +#include -mlock: +ENTRY(mlock) .set push .set noreorder li v0, __NR_mlock @@ -28,4 +22,4 @@ mlock: 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 50fb23cf2..b214758e5 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 -#include -#include - .text - .globl mlockall - .align 4 - .ent mlockall +#include -mlockall: +ENTRY(mlockall) .set push .set noreorder li v0, __NR_mlockall @@ -28,4 +22,4 @@ mlockall: 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 682058ec1..ba6d4fac1 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 -#include -#include - .text - .globl mmap - .align 4 - .ent mmap +#include -mmap: +ENTRY(mmap) .set push .set noreorder li v0, __NR_mmap @@ -28,7 +22,7 @@ mmap: 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 595585ef9..71e08a768 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 -#include -#include - .text - .globl mount - .align 4 - .ent mount +#include -mount: +ENTRY(mount) .set push .set noreorder li v0, __NR_mount @@ -28,4 +22,4 @@ mount: 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 77d9207d9..66ffa1aba 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 -#include -#include - .text - .globl mprotect - .align 4 - .ent mprotect +#include -mprotect: +ENTRY(mprotect) .set push .set noreorder li v0, __NR_mprotect @@ -28,4 +22,4 @@ mprotect: 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 33be57f32..c73320fcd 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 -#include -#include - .text - .globl mremap - .align 4 - .ent mremap +#include -mremap: +ENTRY(mremap) .set push .set noreorder li v0, __NR_mremap @@ -28,4 +22,4 @@ mremap: 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 a5e29f6fe..a97cba8ef 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 -#include -#include - .text - .globl msync - .align 4 - .ent msync +#include -msync: +ENTRY(msync) .set push .set noreorder li v0, __NR_msync @@ -28,4 +22,4 @@ msync: 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 4d9000ade..f5919ae8f 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 -#include -#include - .text - .globl munlock - .align 4 - .ent munlock +#include -munlock: +ENTRY(munlock) .set push .set noreorder li v0, __NR_munlock @@ -28,4 +22,4 @@ munlock: 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 f8a1ff42e..39e717c2d 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 -#include -#include - .text - .globl munlockall - .align 4 - .ent munlockall +#include -munlockall: +ENTRY(munlockall) .set push .set noreorder li v0, __NR_munlockall @@ -28,4 +22,4 @@ munlockall: 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 a7e65a7ab..c1c9b0146 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 -#include -#include - .text - .globl munmap - .align 4 - .ent munmap +#include -munmap: +ENTRY(munmap) .set push .set noreorder li v0, __NR_munmap @@ -28,4 +22,4 @@ munmap: 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 a3838dee2..6bfd73e8b 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 -#include -#include - .text - .globl nanosleep - .align 4 - .ent nanosleep +#include -nanosleep: +ENTRY(nanosleep) .set push .set noreorder li v0, __NR_nanosleep @@ -28,4 +22,4 @@ nanosleep: 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 14465fbb7..d796a1676 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 -#include -#include - .text - .globl perf_event_open - .align 4 - .ent perf_event_open +#include -perf_event_open: +ENTRY(perf_event_open) .set push .set noreorder li v0, __NR_perf_event_open @@ -28,4 +22,4 @@ perf_event_open: 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 af39ee64b..e2346367a 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 -#include -#include - .text - .globl personality - .align 4 - .ent personality +#include -personality: +ENTRY(personality) .set push .set noreorder li v0, __NR_personality @@ -28,4 +22,4 @@ personality: 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 4e06258a2..52d5baaea 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 -#include -#include - .text - .globl pipe2 - .align 4 - .ent pipe2 +#include -pipe2: +ENTRY(pipe2) .set push .set noreorder li v0, __NR_pipe2 @@ -28,4 +22,4 @@ pipe2: 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 122a28e1e..01d422eb4 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 -#include -#include - .text - .globl prctl - .align 4 - .ent prctl +#include -prctl: +ENTRY(prctl) .set push .set noreorder li v0, __NR_prctl @@ -28,4 +22,4 @@ prctl: 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 a97a1d4a8..5ab8389c5 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 -#include -#include - .text - .globl pread64 - .align 4 - .ent pread64 +#include -pread64: +ENTRY(pread64) .set push .set noreorder li v0, __NR_pread64 @@ -28,7 +22,7 @@ pread64: 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 e611bd097..e52ca9254 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 -#include -#include - .text - .globl prlimit64 - .align 4 - .ent prlimit64 +#include -prlimit64: +ENTRY(prlimit64) .set push .set noreorder li v0, __NR_prlimit64 @@ -28,7 +22,7 @@ prlimit64: 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 08af91beb..8d7a8b5d0 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 -#include -#include - .text - .globl pwrite64 - .align 4 - .ent pwrite64 +#include -pwrite64: +ENTRY(pwrite64) .set push .set noreorder li v0, __NR_pwrite64 @@ -28,7 +22,7 @@ pwrite64: 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 4d8c51d77..3f805caf1 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 -#include -#include - .text - .globl read - .align 4 - .ent read +#include -read: +ENTRY(read) .set push .set noreorder li v0, __NR_read @@ -28,4 +22,4 @@ read: 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 5ab1dcb24..8f5c8c6a2 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 -#include -#include - .text - .globl readahead - .align 4 - .ent readahead +#include -readahead: +ENTRY(readahead) .set push .set noreorder li v0, __NR_readahead @@ -28,4 +22,4 @@ readahead: 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 8e91dcf6d..1381c229a 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 -#include -#include - .text - .globl readlinkat - .align 4 - .ent readlinkat +#include -readlinkat: +ENTRY(readlinkat) .set push .set noreorder li v0, __NR_readlinkat @@ -28,4 +22,4 @@ readlinkat: 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 e248942eb..9c7afd5e3 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 -#include -#include - .text - .globl readv - .align 4 - .ent readv +#include -readv: +ENTRY(readv) .set push .set noreorder li v0, __NR_readv @@ -28,4 +22,4 @@ readv: 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 818dc8e23..d3911c689 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 -#include -#include - .text - .globl recvfrom - .align 4 - .ent recvfrom +#include -recvfrom: +ENTRY(recvfrom) .set push .set noreorder li v0, __NR_recvfrom @@ -28,4 +22,4 @@ recvfrom: 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 06d8826a7..21ec51d91 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 -#include -#include - .text - .globl recvmsg - .align 4 - .ent recvmsg +#include -recvmsg: +ENTRY(recvmsg) .set push .set noreorder li v0, __NR_recvmsg @@ -28,4 +22,4 @@ recvmsg: 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 8b0d0567f..ea3177101 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 -#include -#include - .text - .globl removexattr - .align 4 - .ent removexattr +#include -removexattr: +ENTRY(removexattr) .set push .set noreorder li v0, __NR_removexattr @@ -28,4 +22,4 @@ removexattr: 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 fdf24db6c..074a6a453 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 -#include -#include - .text - .globl renameat - .align 4 - .ent renameat +#include -renameat: +ENTRY(renameat) .set push .set noreorder li v0, __NR_renameat @@ -28,4 +22,4 @@ renameat: 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 c84ab98b7..1b67bbfbe 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 -#include -#include - .text - .globl sched_get_priority_max - .align 4 - .ent sched_get_priority_max +#include -sched_get_priority_max: +ENTRY(sched_get_priority_max) .set push .set noreorder li v0, __NR_sched_get_priority_max @@ -28,4 +22,4 @@ sched_get_priority_max: 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 d9ab4ec9f..2d6875260 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 -#include -#include - .text - .globl sched_get_priority_min - .align 4 - .ent sched_get_priority_min +#include -sched_get_priority_min: +ENTRY(sched_get_priority_min) .set push .set noreorder li v0, __NR_sched_get_priority_min @@ -28,4 +22,4 @@ sched_get_priority_min: 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 9f40fe482..d0b206902 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 -#include -#include - .text - .globl sched_getparam - .align 4 - .ent sched_getparam +#include -sched_getparam: +ENTRY(sched_getparam) .set push .set noreorder li v0, __NR_sched_getparam @@ -28,4 +22,4 @@ sched_getparam: 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 e263f61fa..f25bde5bf 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 -#include -#include - .text - .globl sched_getscheduler - .align 4 - .ent sched_getscheduler +#include -sched_getscheduler: +ENTRY(sched_getscheduler) .set push .set noreorder li v0, __NR_sched_getscheduler @@ -28,4 +22,4 @@ sched_getscheduler: 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 a3bba2899..48233f857 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 -#include -#include - .text - .globl sched_rr_get_interval - .align 4 - .ent sched_rr_get_interval +#include -sched_rr_get_interval: +ENTRY(sched_rr_get_interval) .set push .set noreorder li v0, __NR_sched_rr_get_interval @@ -28,4 +22,4 @@ sched_rr_get_interval: 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 35bfb30df..e60486354 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 -#include -#include - .text - .globl sched_setaffinity - .align 4 - .ent sched_setaffinity +#include -sched_setaffinity: +ENTRY(sched_setaffinity) .set push .set noreorder li v0, __NR_sched_setaffinity @@ -28,4 +22,4 @@ sched_setaffinity: 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 714fcc9c2..b02439f44 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 -#include -#include - .text - .globl sched_setparam - .align 4 - .ent sched_setparam +#include -sched_setparam: +ENTRY(sched_setparam) .set push .set noreorder li v0, __NR_sched_setparam @@ -28,4 +22,4 @@ sched_setparam: 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 4fe5783e3..dda1ce51a 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 -#include -#include - .text - .globl sched_setscheduler - .align 4 - .ent sched_setscheduler +#include -sched_setscheduler: +ENTRY(sched_setscheduler) .set push .set noreorder li v0, __NR_sched_setscheduler @@ -28,4 +22,4 @@ sched_setscheduler: 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 b2542a329..509b029a6 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 -#include -#include - .text - .globl sched_yield - .align 4 - .ent sched_yield +#include -sched_yield: +ENTRY(sched_yield) .set push .set noreorder li v0, __NR_sched_yield @@ -28,4 +22,4 @@ sched_yield: 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 bce8d5845..684a83a47 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 -#include -#include - .text - .globl sendfile - .align 4 - .ent sendfile +#include -sendfile: +ENTRY(sendfile) .set push .set noreorder li v0, __NR_sendfile @@ -28,7 +22,7 @@ sendfile: 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 72227f74c..6983f9a0f 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 -#include -#include - .text - .globl sendmsg - .align 4 - .ent sendmsg +#include -sendmsg: +ENTRY(sendmsg) .set push .set noreorder li v0, __NR_sendmsg @@ -28,4 +22,4 @@ sendmsg: 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 dbb4c56df..cfe774dde 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 -#include -#include - .text - .globl sendto - .align 4 - .ent sendto +#include -sendto: +ENTRY(sendto) .set push .set noreorder li v0, __NR_sendto @@ -28,4 +22,4 @@ sendto: 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 3d9b5d49c..cc8d3abae 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 -#include -#include - .text - .globl setgid - .align 4 - .ent setgid +#include -setgid: +ENTRY(setgid) .set push .set noreorder li v0, __NR_setgid @@ -28,4 +22,4 @@ setgid: 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 c4dc713ef..63f2329c7 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 -#include -#include - .text - .globl setgroups - .align 4 - .ent setgroups +#include -setgroups: +ENTRY(setgroups) .set push .set noreorder li v0, __NR_setgroups @@ -28,4 +22,4 @@ setgroups: 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 b1969d046..9ee02dcbc 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 -#include -#include - .text - .globl setitimer - .align 4 - .ent setitimer +#include -setitimer: +ENTRY(setitimer) .set push .set noreorder li v0, __NR_setitimer @@ -28,4 +22,4 @@ setitimer: 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 3073aad8d..191a1a031 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 -#include -#include - .text - .globl setns - .align 4 - .ent setns +#include -setns: +ENTRY(setns) .set push .set noreorder li v0, __NR_setns @@ -28,4 +22,4 @@ setns: 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 171ed1727..89721600b 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 -#include -#include - .text - .globl setpgid - .align 4 - .ent setpgid +#include -setpgid: +ENTRY(setpgid) .set push .set noreorder li v0, __NR_setpgid @@ -28,4 +22,4 @@ setpgid: 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 a73c155a0..dce3a7652 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 -#include -#include - .text - .globl setpriority - .align 4 - .ent setpriority +#include -setpriority: +ENTRY(setpriority) .set push .set noreorder li v0, __NR_setpriority @@ -28,4 +22,4 @@ setpriority: 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 14217ba08..d677b322b 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 -#include -#include - .text - .globl setregid - .align 4 - .ent setregid +#include -setregid: +ENTRY(setregid) .set push .set noreorder li v0, __NR_setregid @@ -28,4 +22,4 @@ setregid: 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 9e35dded9..312eb3a35 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 -#include -#include - .text - .globl setresgid - .align 4 - .ent setresgid +#include -setresgid: +ENTRY(setresgid) .set push .set noreorder li v0, __NR_setresgid @@ -28,4 +22,4 @@ setresgid: 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 fdd28a92b..4da79d0b5 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 -#include -#include - .text - .globl setresuid - .align 4 - .ent setresuid +#include -setresuid: +ENTRY(setresuid) .set push .set noreorder li v0, __NR_setresuid @@ -28,4 +22,4 @@ setresuid: 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 db50c6c81..33f6fce5e 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 -#include -#include - .text - .globl setreuid - .align 4 - .ent setreuid +#include -setreuid: +ENTRY(setreuid) .set push .set noreorder li v0, __NR_setreuid @@ -28,4 +22,4 @@ setreuid: 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 9ed0024c0..3060298d2 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 -#include -#include - .text - .globl setrlimit - .align 4 - .ent setrlimit +#include -setrlimit: +ENTRY(setrlimit) .set push .set noreorder li v0, __NR_setrlimit @@ -28,7 +22,7 @@ setrlimit: 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 b1b340f9a..c8d1ad5db 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 -#include -#include - .text - .globl setsid - .align 4 - .ent setsid +#include -setsid: +ENTRY(setsid) .set push .set noreorder li v0, __NR_setsid @@ -28,4 +22,4 @@ setsid: 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 55cce5fa6..b40aad185 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 -#include -#include - .text - .globl setsockopt - .align 4 - .ent setsockopt +#include -setsockopt: +ENTRY(setsockopt) .set push .set noreorder li v0, __NR_setsockopt @@ -28,4 +22,4 @@ setsockopt: 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 72802e2c2..2e333f8e3 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 -#include -#include - .text - .globl settimeofday - .align 4 - .ent settimeofday +#include -settimeofday: +ENTRY(settimeofday) .set push .set noreorder li v0, __NR_settimeofday @@ -28,4 +22,4 @@ settimeofday: 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 d8edd2224..fb8125e10 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 -#include -#include - .text - .globl setuid - .align 4 - .ent setuid +#include -setuid: +ENTRY(setuid) .set push .set noreorder li v0, __NR_setuid @@ -28,4 +22,4 @@ setuid: 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 9ccc378c3..04e746d77 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 -#include -#include - .text - .globl setxattr - .align 4 - .ent setxattr +#include -setxattr: +ENTRY(setxattr) .set push .set noreorder li v0, __NR_setxattr @@ -28,4 +22,4 @@ setxattr: 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 335ed418a..59f437a0b 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 -#include -#include - .text - .globl shutdown - .align 4 - .ent shutdown +#include -shutdown: +ENTRY(shutdown) .set push .set noreorder li v0, __NR_shutdown @@ -28,4 +22,4 @@ shutdown: 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 3458b11a1..0fbd3a157 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 -#include -#include - .text - .globl sigaltstack - .align 4 - .ent sigaltstack +#include -sigaltstack: +ENTRY(sigaltstack) .set push .set noreorder li v0, __NR_sigaltstack @@ -28,4 +22,4 @@ sigaltstack: 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 ef1d1e5af..594c73d62 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 -#include -#include - .text - .globl signalfd4 - .align 4 - .ent signalfd4 +#include -signalfd4: +ENTRY(signalfd4) .set push .set noreorder li v0, __NR_signalfd4 @@ -28,4 +22,4 @@ signalfd4: 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 6b042c283..2020e2ed2 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 -#include -#include - .text - .globl socket - .align 4 - .ent socket +#include -socket: +ENTRY(socket) .set push .set noreorder li v0, __NR_socket @@ -28,4 +22,4 @@ socket: 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 b4ca8f4f2..fa684d1c8 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 -#include -#include - .text - .globl socketpair - .align 4 - .ent socketpair +#include -socketpair: +ENTRY(socketpair) .set push .set noreorder li v0, __NR_socketpair @@ -28,4 +22,4 @@ socketpair: 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 accd7153e..e835e414d 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 -#include -#include - .text - .globl statfs64 - .align 4 - .ent statfs64 +#include -statfs64: +ENTRY(statfs64) .set push .set noreorder li v0, __NR_statfs @@ -28,7 +22,7 @@ statfs64: 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 8041188a6..dfaf1854b 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 -#include -#include - .text - .globl swapoff - .align 4 - .ent swapoff +#include -swapoff: +ENTRY(swapoff) .set push .set noreorder li v0, __NR_swapoff @@ -28,4 +22,4 @@ swapoff: 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 5c24d7c49..8e844c497 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 -#include -#include - .text - .globl swapon - .align 4 - .ent swapon +#include -swapon: +ENTRY(swapon) .set push .set noreorder li v0, __NR_swapon @@ -28,4 +22,4 @@ swapon: 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 ce86d8651..e43d59736 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 -#include -#include - .text - .globl symlinkat - .align 4 - .ent symlinkat +#include -symlinkat: +ENTRY(symlinkat) .set push .set noreorder li v0, __NR_symlinkat @@ -28,4 +22,4 @@ symlinkat: 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 e0787bd69..ec342a31e 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 -#include -#include - .text - .globl sync - .align 4 - .ent sync +#include -sync: +ENTRY(sync) .set push .set noreorder li v0, __NR_sync @@ -28,4 +22,4 @@ sync: 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 19ad14198..16486fdec 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 -#include -#include - .text - .globl sysinfo - .align 4 - .ent sysinfo +#include -sysinfo: +ENTRY(sysinfo) .set push .set noreorder li v0, __NR_sysinfo @@ -28,4 +22,4 @@ sysinfo: 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 1a8fe7956..d98d9ae14 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 -#include -#include - .text - .globl tgkill - .align 4 - .ent tgkill +#include -tgkill: +ENTRY(tgkill) .set push .set noreorder li v0, __NR_tgkill @@ -28,4 +22,4 @@ tgkill: 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 63e8b00ae..ab8e9e0f9 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 -#include -#include - .text - .globl timerfd_create - .align 4 - .ent timerfd_create +#include -timerfd_create: +ENTRY(timerfd_create) .set push .set noreorder li v0, __NR_timerfd_create @@ -28,4 +22,4 @@ timerfd_create: 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 2afe6f138..2ec7b9c15 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 -#include -#include - .text - .globl timerfd_gettime - .align 4 - .ent timerfd_gettime +#include -timerfd_gettime: +ENTRY(timerfd_gettime) .set push .set noreorder li v0, __NR_timerfd_gettime @@ -28,4 +22,4 @@ timerfd_gettime: 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 40ce07dfd..0aec09fb6 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 -#include -#include - .text - .globl timerfd_settime - .align 4 - .ent timerfd_settime +#include -timerfd_settime: +ENTRY(timerfd_settime) .set push .set noreorder li v0, __NR_timerfd_settime @@ -28,4 +22,4 @@ timerfd_settime: 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 ccbdbf461..2457e0c62 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 -#include -#include - .text - .globl times - .align 4 - .ent times +#include -times: +ENTRY(times) .set push .set noreorder li v0, __NR_times @@ -28,4 +22,4 @@ times: 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 8caa69529..14d6903e6 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 -#include -#include - .text - .globl tkill - .align 4 - .ent tkill +#include -tkill: +ENTRY(tkill) .set push .set noreorder li v0, __NR_tkill @@ -28,4 +22,4 @@ tkill: 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 a79cdcd56..a0cbe5141 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 -#include -#include - .text - .globl truncate - .align 4 - .ent truncate +#include -truncate: +ENTRY(truncate) .set push .set noreorder li v0, __NR_truncate @@ -28,7 +22,7 @@ truncate: 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 168ff9ce3..33624d212 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 -#include -#include - .text - .globl umask - .align 4 - .ent umask +#include -umask: +ENTRY(umask) .set push .set noreorder li v0, __NR_umask @@ -28,4 +22,4 @@ umask: 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 db80fa8eb..6193459fc 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 -#include -#include - .text - .globl umount2 - .align 4 - .ent umount2 +#include -umount2: +ENTRY(umount2) .set push .set noreorder li v0, __NR_umount2 @@ -28,4 +22,4 @@ umount2: 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 417ecb00c..df50f4599 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 -#include -#include - .text - .globl uname - .align 4 - .ent uname +#include -uname: +ENTRY(uname) .set push .set noreorder li v0, __NR_uname @@ -28,4 +22,4 @@ uname: 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 e533bc398..29d44427e 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 -#include -#include - .text - .globl unlinkat - .align 4 - .ent unlinkat +#include -unlinkat: +ENTRY(unlinkat) .set push .set noreorder li v0, __NR_unlinkat @@ -28,4 +22,4 @@ unlinkat: 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 4a1974501..6d8fbf3d0 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 -#include -#include - .text - .globl unshare - .align 4 - .ent unshare +#include -unshare: +ENTRY(unshare) .set push .set noreorder li v0, __NR_unshare @@ -28,4 +22,4 @@ unshare: 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 1cde60dd4..654b8a454 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 -#include -#include - .text - .globl utimensat - .align 4 - .ent utimensat +#include -utimensat: +ENTRY(utimensat) .set push .set noreorder li v0, __NR_utimensat @@ -28,4 +22,4 @@ utimensat: 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 14abeeb43..e3755b58e 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 -#include -#include - .text - .globl wait4 - .align 4 - .ent wait4 +#include -wait4: +ENTRY(wait4) .set push .set noreorder li v0, __NR_wait4 @@ -28,4 +22,4 @@ wait4: 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 f58f25de3..ce7f70232 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 -#include -#include - .text - .globl write - .align 4 - .ent write +#include -write: +ENTRY(write) .set push .set noreorder li v0, __NR_write @@ -28,4 +22,4 @@ write: 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 a716c78ab..e2c7875eb 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 -#include -#include - .text - .globl writev - .align 4 - .ent writev +#include -writev: +ENTRY(writev) .set push .set noreorder li v0, __NR_writev @@ -28,4 +22,4 @@ writev: j t9 move ra, t0 .set pop - .end writev +END(writev) diff --git a/libc/private/bionic_asm.h b/libc/private/bionic_asm.h index 803ff29fc..be22b75d0 100644 --- a/libc/private/bionic_asm.h +++ b/libc/private/bionic_asm.h @@ -29,14 +29,19 @@ #ifndef _PRIVATE_BIONIC_ASM_H_ #define _PRIVATE_BIONIC_ASM_H_ -#if !defined(__mips__) -/* causes trouble on mips by including regdefs.h. */ #include -#endif #include /* For system call numbers. */ #define MAX_ERRNO 4095 /* For recognizing system call error returns. */ +#if __mips__ +/* mips/mips64 don't have ENTRY like the others. */ +#define ENTRY(f) .text; .globl f; .align 4; .type f, @function; .ent f; f: .cfi_startproc +/* mips/mips64 do have END, but we want a better one, more like the others. */ +#undef END +#define END(f) .cfi_endproc; .size f, .-f; .end f +#endif + /* TODO: add ENTRY_PRIVATE. */ /* TODO: add ASM_ALIAS macro. */ diff --git a/libc/tools/gensyscalls.py b/libc/tools/gensyscalls.py index 3c4810ad4..da30da2a6 100755 --- a/libc/tools/gensyscalls.py +++ b/libc/tools/gensyscalls.py @@ -118,17 +118,7 @@ END(%(func)s) # MIPS assembler templates for each syscall stub # -mips_call = "/* " + warning + " */\n" + \ -""" -#include -#include -#include - .text - .globl %(func)s - .align 4 - .ent %(func)s - -%(func)s: +mips_call = syscall_stub_header + """\ .set noreorder .cpload t9 li v0, %(__NR_name)s @@ -142,7 +132,7 @@ mips_call = "/* " + warning + " */\n" + \ j t9 nop .set reorder - .end %(func)s +END(%(func)s) """ @@ -150,17 +140,7 @@ mips_call = "/* " + warning + " */\n" + \ # MIPS64 assembler templates for each syscall stub # -mips64_call = "/* " + warning + " */\n" + \ -""" -#include -#include -#include - .text - .globl %(func)s - .align 4 - .ent %(func)s - -%(func)s: +mips64_call = syscall_stub_header + """\ .set push .set noreorder li v0, %(__NR_name)s @@ -180,7 +160,7 @@ mips64_call = "/* " + warning + " */\n" + \ j t9 move ra, t0 .set pop - .end %(func)s +END(%(func)s) """