diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 18:28:13 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 18:28:13 -0800 |
commit | 1767f908af327fa388b1c66883760ad851267013 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /libc/arch-x86/syscalls | |
parent | a799b53f10e5a6fd51fef4436cfb7ec99836a516 (diff) | |
download | bionic-1767f908af327fa388b1c66883760ad851267013.zip bionic-1767f908af327fa388b1c66883760ad851267013.tar.gz bionic-1767f908af327fa388b1c66883760ad851267013.tar.bz2 |
auto import from //depot/cupcake/@135843
Diffstat (limited to 'libc/arch-x86/syscalls')
169 files changed, 0 insertions, 4562 deletions
diff --git a/libc/arch-x86/syscalls/__brk.S b/libc/arch-x86/syscalls/__brk.S deleted file mode 100644 index 235cc4f..0000000 --- a/libc/arch-x86/syscalls/__brk.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __brk, @function - .globl __brk - .align 4 - -__brk: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_brk, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__clone.S b/libc/arch-x86/syscalls/__clone.S deleted file mode 100644 index 5862129..0000000 --- a/libc/arch-x86/syscalls/__clone.S +++ /dev/null @@ -1,32 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __clone, @function - .globl __clone - .align 4 - -__clone: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - mov 20(%esp), %ebx - mov 24(%esp), %ecx - mov 28(%esp), %edx - mov 32(%esp), %esi - movl $__NR_clone, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__fcntl.S b/libc/arch-x86/syscalls/__fcntl.S deleted file mode 100644 index 377f08e..0000000 --- a/libc/arch-x86/syscalls/__fcntl.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __fcntl, @function - .globl __fcntl - .align 4 - -__fcntl: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_fcntl, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__fcntl64.S b/libc/arch-x86/syscalls/__fcntl64.S deleted file mode 100644 index 2ed47fe..0000000 --- a/libc/arch-x86/syscalls/__fcntl64.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __fcntl64, @function - .globl __fcntl64 - .align 4 - -__fcntl64: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_fcntl64, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__fork.S b/libc/arch-x86/syscalls/__fork.S deleted file mode 100644 index 4b5d1c6..0000000 --- a/libc/arch-x86/syscalls/__fork.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __fork, @function - .globl __fork - .align 4 - -__fork: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_fork, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__getcwd.S b/libc/arch-x86/syscalls/__getcwd.S deleted file mode 100644 index f2bd520..0000000 --- a/libc/arch-x86/syscalls/__getcwd.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __getcwd, @function - .globl __getcwd - .align 4 - -__getcwd: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_getcwd, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__getpriority.S b/libc/arch-x86/syscalls/__getpriority.S deleted file mode 100644 index 08503d8..0000000 --- a/libc/arch-x86/syscalls/__getpriority.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __getpriority, @function - .globl __getpriority - .align 4 - -__getpriority: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_getpriority, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__ioctl.S b/libc/arch-x86/syscalls/__ioctl.S deleted file mode 100644 index cdde9ab..0000000 --- a/libc/arch-x86/syscalls/__ioctl.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __ioctl, @function - .globl __ioctl - .align 4 - -__ioctl: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_ioctl, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__llseek.S b/libc/arch-x86/syscalls/__llseek.S deleted file mode 100644 index df49a94..0000000 --- a/libc/arch-x86/syscalls/__llseek.S +++ /dev/null @@ -1,35 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __llseek, @function - .globl __llseek - .align 4 - -__llseek: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - pushl %edi - mov 24(%esp), %ebx - mov 28(%esp), %ecx - mov 32(%esp), %edx - mov 36(%esp), %esi - mov 40(%esp), %edi - movl $__NR__llseek, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edi - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__mmap2.S b/libc/arch-x86/syscalls/__mmap2.S deleted file mode 100644 index fea571f..0000000 --- a/libc/arch-x86/syscalls/__mmap2.S +++ /dev/null @@ -1,38 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __mmap2, @function - .globl __mmap2 - .align 4 - -__mmap2: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - pushl %edi - pushl %ebp - mov 28(%esp), %ebx - mov 32(%esp), %ecx - mov 36(%esp), %edx - mov 40(%esp), %esi - mov 44(%esp), %edi - mov 48(%esp), %ebp - movl $__NR_mmap2, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebp - popl %edi - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__open.S b/libc/arch-x86/syscalls/__open.S deleted file mode 100644 index df6fd93..0000000 --- a/libc/arch-x86/syscalls/__open.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __open, @function - .globl __open - .align 4 - -__open: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_open, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__openat.S b/libc/arch-x86/syscalls/__openat.S deleted file mode 100644 index aa14927..0000000 --- a/libc/arch-x86/syscalls/__openat.S +++ /dev/null @@ -1,32 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __openat, @function - .globl __openat - .align 4 - -__openat: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - mov 20(%esp), %ebx - mov 24(%esp), %ecx - mov 28(%esp), %edx - mov 32(%esp), %esi - movl $__NR_openat, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__pread64.S b/libc/arch-x86/syscalls/__pread64.S deleted file mode 100644 index 3114673..0000000 --- a/libc/arch-x86/syscalls/__pread64.S +++ /dev/null @@ -1,35 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __pread64, @function - .globl __pread64 - .align 4 - -__pread64: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - pushl %edi - mov 24(%esp), %ebx - mov 28(%esp), %ecx - mov 32(%esp), %edx - mov 36(%esp), %esi - mov 40(%esp), %edi - movl $__NR_pread64, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edi - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__ptrace.S b/libc/arch-x86/syscalls/__ptrace.S deleted file mode 100644 index bec952b..0000000 --- a/libc/arch-x86/syscalls/__ptrace.S +++ /dev/null @@ -1,32 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __ptrace, @function - .globl __ptrace - .align 4 - -__ptrace: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - mov 20(%esp), %ebx - mov 24(%esp), %ecx - mov 28(%esp), %edx - mov 32(%esp), %esi - movl $__NR_ptrace, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__pwrite64.S b/libc/arch-x86/syscalls/__pwrite64.S deleted file mode 100644 index 28f6536..0000000 --- a/libc/arch-x86/syscalls/__pwrite64.S +++ /dev/null @@ -1,35 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __pwrite64, @function - .globl __pwrite64 - .align 4 - -__pwrite64: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - pushl %edi - mov 24(%esp), %ebx - mov 28(%esp), %ecx - mov 32(%esp), %edx - mov 36(%esp), %esi - mov 40(%esp), %edi - movl $__NR_pwrite64, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edi - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__reboot.S b/libc/arch-x86/syscalls/__reboot.S deleted file mode 100644 index 6cb74e2..0000000 --- a/libc/arch-x86/syscalls/__reboot.S +++ /dev/null @@ -1,32 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __reboot, @function - .globl __reboot - .align 4 - -__reboot: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - mov 20(%esp), %ebx - mov 24(%esp), %ecx - mov 28(%esp), %edx - mov 32(%esp), %esi - movl $__NR_reboot, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__rt_sigaction.S b/libc/arch-x86/syscalls/__rt_sigaction.S deleted file mode 100644 index c57f580..0000000 --- a/libc/arch-x86/syscalls/__rt_sigaction.S +++ /dev/null @@ -1,32 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __rt_sigaction, @function - .globl __rt_sigaction - .align 4 - -__rt_sigaction: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - mov 20(%esp), %ebx - mov 24(%esp), %ecx - mov 28(%esp), %edx - mov 32(%esp), %esi - movl $__NR_rt_sigaction, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__rt_sigprocmask.S b/libc/arch-x86/syscalls/__rt_sigprocmask.S deleted file mode 100644 index 623331b..0000000 --- a/libc/arch-x86/syscalls/__rt_sigprocmask.S +++ /dev/null @@ -1,32 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __rt_sigprocmask, @function - .globl __rt_sigprocmask - .align 4 - -__rt_sigprocmask: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - mov 20(%esp), %ebx - mov 24(%esp), %ecx - mov 28(%esp), %edx - mov 32(%esp), %esi - movl $__NR_rt_sigprocmask, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__rt_sigtimedwait.S b/libc/arch-x86/syscalls/__rt_sigtimedwait.S deleted file mode 100644 index 8e14a89..0000000 --- a/libc/arch-x86/syscalls/__rt_sigtimedwait.S +++ /dev/null @@ -1,32 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __rt_sigtimedwait, @function - .globl __rt_sigtimedwait - .align 4 - -__rt_sigtimedwait: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - mov 20(%esp), %ebx - mov 24(%esp), %ecx - mov 28(%esp), %edx - mov 32(%esp), %esi - movl $__NR_rt_sigtimedwait, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__set_thread_area.S b/libc/arch-x86/syscalls/__set_thread_area.S deleted file mode 100644 index cd22040..0000000 --- a/libc/arch-x86/syscalls/__set_thread_area.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __set_thread_area, @function - .globl __set_thread_area - .align 4 - -__set_thread_area: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_set_thread_area, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__sigsuspend.S b/libc/arch-x86/syscalls/__sigsuspend.S deleted file mode 100644 index 64de756..0000000 --- a/libc/arch-x86/syscalls/__sigsuspend.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __sigsuspend, @function - .globl __sigsuspend - .align 4 - -__sigsuspend: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_sigsuspend, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__statfs64.S b/libc/arch-x86/syscalls/__statfs64.S deleted file mode 100644 index a0685b7..0000000 --- a/libc/arch-x86/syscalls/__statfs64.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __statfs64, @function - .globl __statfs64 - .align 4 - -__statfs64: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_statfs64, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__syslog.S b/libc/arch-x86/syscalls/__syslog.S deleted file mode 100644 index 3982db4..0000000 --- a/libc/arch-x86/syscalls/__syslog.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __syslog, @function - .globl __syslog - .align 4 - -__syslog: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_syslog, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__timer_create.S b/libc/arch-x86/syscalls/__timer_create.S deleted file mode 100644 index 66b0cea..0000000 --- a/libc/arch-x86/syscalls/__timer_create.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __timer_create, @function - .globl __timer_create - .align 4 - -__timer_create: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_timer_create, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__timer_delete.S b/libc/arch-x86/syscalls/__timer_delete.S deleted file mode 100644 index 4344d08..0000000 --- a/libc/arch-x86/syscalls/__timer_delete.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __timer_delete, @function - .globl __timer_delete - .align 4 - -__timer_delete: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_timer_delete, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__timer_getoverrun.S b/libc/arch-x86/syscalls/__timer_getoverrun.S deleted file mode 100644 index 4371415..0000000 --- a/libc/arch-x86/syscalls/__timer_getoverrun.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __timer_getoverrun, @function - .globl __timer_getoverrun - .align 4 - -__timer_getoverrun: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_timer_getoverrun, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__timer_gettime.S b/libc/arch-x86/syscalls/__timer_gettime.S deleted file mode 100644 index 3923b0a..0000000 --- a/libc/arch-x86/syscalls/__timer_gettime.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __timer_gettime, @function - .globl __timer_gettime - .align 4 - -__timer_gettime: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_timer_gettime, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__timer_settime.S b/libc/arch-x86/syscalls/__timer_settime.S deleted file mode 100644 index cabb7df..0000000 --- a/libc/arch-x86/syscalls/__timer_settime.S +++ /dev/null @@ -1,32 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __timer_settime, @function - .globl __timer_settime - .align 4 - -__timer_settime: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - mov 20(%esp), %ebx - mov 24(%esp), %ecx - mov 28(%esp), %edx - mov 32(%esp), %esi - movl $__NR_timer_settime, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/__wait4.S b/libc/arch-x86/syscalls/__wait4.S deleted file mode 100644 index 75ffb95..0000000 --- a/libc/arch-x86/syscalls/__wait4.S +++ /dev/null @@ -1,32 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type __wait4, @function - .globl __wait4 - .align 4 - -__wait4: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - mov 20(%esp), %ebx - mov 24(%esp), %ecx - mov 28(%esp), %edx - mov 32(%esp), %esi - movl $__NR_wait4, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/_exit.S b/libc/arch-x86/syscalls/_exit.S deleted file mode 100644 index 21aa49f..0000000 --- a/libc/arch-x86/syscalls/_exit.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type _exit, @function - .globl _exit - .align 4 - -_exit: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_exit_group, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/_exit_thread.S b/libc/arch-x86/syscalls/_exit_thread.S deleted file mode 100644 index 16aaa5b..0000000 --- a/libc/arch-x86/syscalls/_exit_thread.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type _exit_thread, @function - .globl _exit_thread - .align 4 - -_exit_thread: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_exit, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/_waitpid.S b/libc/arch-x86/syscalls/_waitpid.S deleted file mode 100644 index 7e76496..0000000 --- a/libc/arch-x86/syscalls/_waitpid.S +++ /dev/null @@ -1,32 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type _waitpid, @function - .globl _waitpid - .align 4 - -_waitpid: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - mov 20(%esp), %ebx - mov 24(%esp), %ecx - mov 28(%esp), %edx - mov 32(%esp), %esi - movl $__NR_waitpid, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/accept.S b/libc/arch-x86/syscalls/accept.S deleted file mode 100644 index ccd56e7..0000000 --- a/libc/arch-x86/syscalls/accept.S +++ /dev/null @@ -1,27 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type accept, @function - .globl accept - .align 4 - -accept: - pushl %ebx - pushl %ecx - mov $5, %ebx - mov %esp, %ecx - addl $12, %ecx - movl $__NR_socketcall, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/access.S b/libc/arch-x86/syscalls/access.S deleted file mode 100644 index fff26a9..0000000 --- a/libc/arch-x86/syscalls/access.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type access, @function - .globl access - .align 4 - -access: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_access, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/acct.S b/libc/arch-x86/syscalls/acct.S deleted file mode 100644 index 711b6fc..0000000 --- a/libc/arch-x86/syscalls/acct.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type acct, @function - .globl acct - .align 4 - -acct: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_acct, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/bind.S b/libc/arch-x86/syscalls/bind.S deleted file mode 100644 index 2172cfb..0000000 --- a/libc/arch-x86/syscalls/bind.S +++ /dev/null @@ -1,27 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type bind, @function - .globl bind - .align 4 - -bind: - pushl %ebx - pushl %ecx - mov $2, %ebx - mov %esp, %ecx - addl $12, %ecx - movl $__NR_socketcall, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/capget.S b/libc/arch-x86/syscalls/capget.S deleted file mode 100644 index e287cb2..0000000 --- a/libc/arch-x86/syscalls/capget.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type capget, @function - .globl capget - .align 4 - -capget: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_capget, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/capset.S b/libc/arch-x86/syscalls/capset.S deleted file mode 100644 index ce71f6e..0000000 --- a/libc/arch-x86/syscalls/capset.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type capset, @function - .globl capset - .align 4 - -capset: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_capset, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/chdir.S b/libc/arch-x86/syscalls/chdir.S deleted file mode 100644 index be88847..0000000 --- a/libc/arch-x86/syscalls/chdir.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type chdir, @function - .globl chdir - .align 4 - -chdir: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_chdir, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/chmod.S b/libc/arch-x86/syscalls/chmod.S deleted file mode 100644 index d023a7d..0000000 --- a/libc/arch-x86/syscalls/chmod.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type chmod, @function - .globl chmod - .align 4 - -chmod: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_chmod, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/chown.S b/libc/arch-x86/syscalls/chown.S deleted file mode 100644 index 5646088..0000000 --- a/libc/arch-x86/syscalls/chown.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type chown, @function - .globl chown - .align 4 - -chown: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_chown32, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/chroot.S b/libc/arch-x86/syscalls/chroot.S deleted file mode 100644 index 461087c..0000000 --- a/libc/arch-x86/syscalls/chroot.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type chroot, @function - .globl chroot - .align 4 - -chroot: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_chroot, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/clock_getres.S b/libc/arch-x86/syscalls/clock_getres.S deleted file mode 100644 index 07742ae..0000000 --- a/libc/arch-x86/syscalls/clock_getres.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type clock_getres, @function - .globl clock_getres - .align 4 - -clock_getres: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_clock_getres, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/clock_gettime.S b/libc/arch-x86/syscalls/clock_gettime.S deleted file mode 100644 index bfe14a4..0000000 --- a/libc/arch-x86/syscalls/clock_gettime.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type clock_gettime, @function - .globl clock_gettime - .align 4 - -clock_gettime: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_clock_gettime, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/clock_nanosleep.S b/libc/arch-x86/syscalls/clock_nanosleep.S deleted file mode 100644 index c400e3f..0000000 --- a/libc/arch-x86/syscalls/clock_nanosleep.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type clock_nanosleep, @function - .globl clock_nanosleep - .align 4 - -clock_nanosleep: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_clock_nanosleep, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/clock_settime.S b/libc/arch-x86/syscalls/clock_settime.S deleted file mode 100644 index 58495ba..0000000 --- a/libc/arch-x86/syscalls/clock_settime.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type clock_settime, @function - .globl clock_settime - .align 4 - -clock_settime: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_clock_settime, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/close.S b/libc/arch-x86/syscalls/close.S deleted file mode 100644 index 1944a83..0000000 --- a/libc/arch-x86/syscalls/close.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type close, @function - .globl close - .align 4 - -close: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_close, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/connect.S b/libc/arch-x86/syscalls/connect.S deleted file mode 100644 index 8b8ce4e..0000000 --- a/libc/arch-x86/syscalls/connect.S +++ /dev/null @@ -1,27 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type connect, @function - .globl connect - .align 4 - -connect: - pushl %ebx - pushl %ecx - mov $3, %ebx - mov %esp, %ecx - addl $12, %ecx - movl $__NR_socketcall, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/delete_module.S b/libc/arch-x86/syscalls/delete_module.S deleted file mode 100644 index 6865d6a..0000000 --- a/libc/arch-x86/syscalls/delete_module.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type delete_module, @function - .globl delete_module - .align 4 - -delete_module: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_delete_module, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/dup.S b/libc/arch-x86/syscalls/dup.S deleted file mode 100644 index 155de79..0000000 --- a/libc/arch-x86/syscalls/dup.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type dup, @function - .globl dup - .align 4 - -dup: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_dup, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/dup2.S b/libc/arch-x86/syscalls/dup2.S deleted file mode 100644 index 59f8329..0000000 --- a/libc/arch-x86/syscalls/dup2.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type dup2, @function - .globl dup2 - .align 4 - -dup2: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_dup2, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/epoll_create.S b/libc/arch-x86/syscalls/epoll_create.S deleted file mode 100644 index 8106c58..0000000 --- a/libc/arch-x86/syscalls/epoll_create.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type epoll_create, @function - .globl epoll_create - .align 4 - -epoll_create: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_epoll_create, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/epoll_ctl.S b/libc/arch-x86/syscalls/epoll_ctl.S deleted file mode 100644 index ff2c112..0000000 --- a/libc/arch-x86/syscalls/epoll_ctl.S +++ /dev/null @@ -1,32 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type epoll_ctl, @function - .globl epoll_ctl - .align 4 - -epoll_ctl: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - mov 20(%esp), %ebx - mov 24(%esp), %ecx - mov 28(%esp), %edx - mov 32(%esp), %esi - movl $__NR_epoll_ctl, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/epoll_wait.S b/libc/arch-x86/syscalls/epoll_wait.S deleted file mode 100644 index 3d81a14..0000000 --- a/libc/arch-x86/syscalls/epoll_wait.S +++ /dev/null @@ -1,32 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type epoll_wait, @function - .globl epoll_wait - .align 4 - -epoll_wait: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - mov 20(%esp), %ebx - mov 24(%esp), %ecx - mov 28(%esp), %edx - mov 32(%esp), %esi - movl $__NR_epoll_wait, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/execve.S b/libc/arch-x86/syscalls/execve.S deleted file mode 100644 index 0ab1d75..0000000 --- a/libc/arch-x86/syscalls/execve.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type execve, @function - .globl execve - .align 4 - -execve: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_execve, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/fchdir.S b/libc/arch-x86/syscalls/fchdir.S deleted file mode 100644 index 4e681be..0000000 --- a/libc/arch-x86/syscalls/fchdir.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type fchdir, @function - .globl fchdir - .align 4 - -fchdir: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_fchdir, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/fchmod.S b/libc/arch-x86/syscalls/fchmod.S deleted file mode 100644 index 58f8a94..0000000 --- a/libc/arch-x86/syscalls/fchmod.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type fchmod, @function - .globl fchmod - .align 4 - -fchmod: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_fchmod, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/fchmodat.S b/libc/arch-x86/syscalls/fchmodat.S deleted file mode 100644 index b5b9c6d..0000000 --- a/libc/arch-x86/syscalls/fchmodat.S +++ /dev/null @@ -1,32 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type fchmodat, @function - .globl fchmodat - .align 4 - -fchmodat: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - mov 20(%esp), %ebx - mov 24(%esp), %ecx - mov 28(%esp), %edx - mov 32(%esp), %esi - movl $__NR_fchmodat, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/fchown.S b/libc/arch-x86/syscalls/fchown.S deleted file mode 100644 index c648d7f..0000000 --- a/libc/arch-x86/syscalls/fchown.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type fchown, @function - .globl fchown - .align 4 - -fchown: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_fchown32, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/fchownat.S b/libc/arch-x86/syscalls/fchownat.S deleted file mode 100644 index 3bec843..0000000 --- a/libc/arch-x86/syscalls/fchownat.S +++ /dev/null @@ -1,35 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type fchownat, @function - .globl fchownat - .align 4 - -fchownat: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - pushl %edi - mov 24(%esp), %ebx - mov 28(%esp), %ecx - mov 32(%esp), %edx - mov 36(%esp), %esi - mov 40(%esp), %edi - movl $__NR_fchownat, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edi - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/flock.S b/libc/arch-x86/syscalls/flock.S deleted file mode 100644 index 1ca09a5..0000000 --- a/libc/arch-x86/syscalls/flock.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type flock, @function - .globl flock - .align 4 - -flock: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_flock, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/fstat.S b/libc/arch-x86/syscalls/fstat.S deleted file mode 100644 index 8f58316..0000000 --- a/libc/arch-x86/syscalls/fstat.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type fstat, @function - .globl fstat - .align 4 - -fstat: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_fstat64, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/fstatat.S b/libc/arch-x86/syscalls/fstatat.S deleted file mode 100644 index 4926e99..0000000 --- a/libc/arch-x86/syscalls/fstatat.S +++ /dev/null @@ -1,32 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type fstatat, @function - .globl fstatat - .align 4 - -fstatat: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - mov 20(%esp), %ebx - mov 24(%esp), %ecx - mov 28(%esp), %edx - mov 32(%esp), %esi - movl $__NR_fstatat64, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/fstatfs.S b/libc/arch-x86/syscalls/fstatfs.S deleted file mode 100644 index f72b3d4..0000000 --- a/libc/arch-x86/syscalls/fstatfs.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type fstatfs, @function - .globl fstatfs - .align 4 - -fstatfs: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_fstatfs64, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/fsync.S b/libc/arch-x86/syscalls/fsync.S deleted file mode 100644 index d9fd225..0000000 --- a/libc/arch-x86/syscalls/fsync.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type fsync, @function - .globl fsync - .align 4 - -fsync: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_fsync, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/ftruncate.S b/libc/arch-x86/syscalls/ftruncate.S deleted file mode 100644 index 25b7df5..0000000 --- a/libc/arch-x86/syscalls/ftruncate.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type ftruncate, @function - .globl ftruncate - .align 4 - -ftruncate: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_ftruncate, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/futex.S b/libc/arch-x86/syscalls/futex.S deleted file mode 100644 index ac51316..0000000 --- a/libc/arch-x86/syscalls/futex.S +++ /dev/null @@ -1,38 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type futex, @function - .globl futex - .align 4 - -futex: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - pushl %edi - pushl %ebp - mov 28(%esp), %ebx - mov 32(%esp), %ecx - mov 36(%esp), %edx - mov 40(%esp), %esi - mov 44(%esp), %edi - mov 48(%esp), %ebp - movl $__NR_futex, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebp - popl %edi - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/getdents.S b/libc/arch-x86/syscalls/getdents.S deleted file mode 100644 index b8c527f..0000000 --- a/libc/arch-x86/syscalls/getdents.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type getdents, @function - .globl getdents - .align 4 - -getdents: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_getdents64, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/getegid.S b/libc/arch-x86/syscalls/getegid.S deleted file mode 100644 index e34a147..0000000 --- a/libc/arch-x86/syscalls/getegid.S +++ /dev/null @@ -1,20 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type getegid, @function - .globl getegid - .align 4 - -getegid: - movl $__NR_getegid32, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - ret diff --git a/libc/arch-x86/syscalls/geteuid.S b/libc/arch-x86/syscalls/geteuid.S deleted file mode 100644 index 8ec7297..0000000 --- a/libc/arch-x86/syscalls/geteuid.S +++ /dev/null @@ -1,20 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type geteuid, @function - .globl geteuid - .align 4 - -geteuid: - movl $__NR_geteuid32, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - ret diff --git a/libc/arch-x86/syscalls/getgid.S b/libc/arch-x86/syscalls/getgid.S deleted file mode 100644 index d69d722..0000000 --- a/libc/arch-x86/syscalls/getgid.S +++ /dev/null @@ -1,20 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type getgid, @function - .globl getgid - .align 4 - -getgid: - movl $__NR_getgid32, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - ret diff --git a/libc/arch-x86/syscalls/getgroups.S b/libc/arch-x86/syscalls/getgroups.S deleted file mode 100644 index f6a9912..0000000 --- a/libc/arch-x86/syscalls/getgroups.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type getgroups, @function - .globl getgroups - .align 4 - -getgroups: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_getgroups32, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/getitimer.S b/libc/arch-x86/syscalls/getitimer.S deleted file mode 100644 index f170ebf..0000000 --- a/libc/arch-x86/syscalls/getitimer.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type getitimer, @function - .globl getitimer - .align 4 - -getitimer: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_getitimer, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/getpeername.S b/libc/arch-x86/syscalls/getpeername.S deleted file mode 100644 index b6f8eb8..0000000 --- a/libc/arch-x86/syscalls/getpeername.S +++ /dev/null @@ -1,27 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type getpeername, @function - .globl getpeername - .align 4 - -getpeername: - pushl %ebx - pushl %ecx - mov $7, %ebx - mov %esp, %ecx - addl $12, %ecx - movl $__NR_socketcall, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/getpgid.S b/libc/arch-x86/syscalls/getpgid.S deleted file mode 100644 index ca1e659..0000000 --- a/libc/arch-x86/syscalls/getpgid.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type getpgid, @function - .globl getpgid - .align 4 - -getpgid: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_getpgid, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/getpid.S b/libc/arch-x86/syscalls/getpid.S deleted file mode 100644 index df43b88..0000000 --- a/libc/arch-x86/syscalls/getpid.S +++ /dev/null @@ -1,20 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type getpid, @function - .globl getpid - .align 4 - -getpid: - movl $__NR_getpid, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - ret diff --git a/libc/arch-x86/syscalls/getppid.S b/libc/arch-x86/syscalls/getppid.S deleted file mode 100644 index 9a882bd..0000000 --- a/libc/arch-x86/syscalls/getppid.S +++ /dev/null @@ -1,20 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type getppid, @function - .globl getppid - .align 4 - -getppid: - movl $__NR_getppid, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - ret diff --git a/libc/arch-x86/syscalls/getresgid.S b/libc/arch-x86/syscalls/getresgid.S deleted file mode 100644 index 454d32b..0000000 --- a/libc/arch-x86/syscalls/getresgid.S +++ /dev/null @@ -1,20 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type getresgid, @function - .globl getresgid - .align 4 - -getresgid: - movl $__NR_getresgid32, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - ret diff --git a/libc/arch-x86/syscalls/getresuid.S b/libc/arch-x86/syscalls/getresuid.S deleted file mode 100644 index f07b5c5..0000000 --- a/libc/arch-x86/syscalls/getresuid.S +++ /dev/null @@ -1,20 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type getresuid, @function - .globl getresuid - .align 4 - -getresuid: - movl $__NR_getresuid32, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - ret diff --git a/libc/arch-x86/syscalls/getrlimit.S b/libc/arch-x86/syscalls/getrlimit.S deleted file mode 100644 index f4c334f..0000000 --- a/libc/arch-x86/syscalls/getrlimit.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type getrlimit, @function - .globl getrlimit - .align 4 - -getrlimit: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_ugetrlimit, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/getrusage.S b/libc/arch-x86/syscalls/getrusage.S deleted file mode 100644 index 750ab5b..0000000 --- a/libc/arch-x86/syscalls/getrusage.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type getrusage, @function - .globl getrusage - .align 4 - -getrusage: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_getrusage, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/getsockname.S b/libc/arch-x86/syscalls/getsockname.S deleted file mode 100644 index 884acd9..0000000 --- a/libc/arch-x86/syscalls/getsockname.S +++ /dev/null @@ -1,27 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type getsockname, @function - .globl getsockname - .align 4 - -getsockname: - pushl %ebx - pushl %ecx - mov $6, %ebx - mov %esp, %ecx - addl $12, %ecx - movl $__NR_socketcall, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/getsockopt.S b/libc/arch-x86/syscalls/getsockopt.S deleted file mode 100644 index a606532..0000000 --- a/libc/arch-x86/syscalls/getsockopt.S +++ /dev/null @@ -1,27 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type getsockopt, @function - .globl getsockopt - .align 4 - -getsockopt: - pushl %ebx - pushl %ecx - mov $15, %ebx - mov %esp, %ecx - addl $12, %ecx - movl $__NR_socketcall, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/gettid.S b/libc/arch-x86/syscalls/gettid.S deleted file mode 100644 index 2e8cb59..0000000 --- a/libc/arch-x86/syscalls/gettid.S +++ /dev/null @@ -1,20 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type gettid, @function - .globl gettid - .align 4 - -gettid: - movl $__NR_gettid, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - ret diff --git a/libc/arch-x86/syscalls/gettimeofday.S b/libc/arch-x86/syscalls/gettimeofday.S deleted file mode 100644 index feffe92..0000000 --- a/libc/arch-x86/syscalls/gettimeofday.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type gettimeofday, @function - .globl gettimeofday - .align 4 - -gettimeofday: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_gettimeofday, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/getuid.S b/libc/arch-x86/syscalls/getuid.S deleted file mode 100644 index 635105e..0000000 --- a/libc/arch-x86/syscalls/getuid.S +++ /dev/null @@ -1,20 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type getuid, @function - .globl getuid - .align 4 - -getuid: - movl $__NR_getuid32, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - ret diff --git a/libc/arch-x86/syscalls/init_module.S b/libc/arch-x86/syscalls/init_module.S deleted file mode 100644 index 2e2b088..0000000 --- a/libc/arch-x86/syscalls/init_module.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type init_module, @function - .globl init_module - .align 4 - -init_module: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_init_module, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/inotify_add_watch.S b/libc/arch-x86/syscalls/inotify_add_watch.S deleted file mode 100644 index 12a12e4..0000000 --- a/libc/arch-x86/syscalls/inotify_add_watch.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type inotify_add_watch, @function - .globl inotify_add_watch - .align 4 - -inotify_add_watch: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_inotify_add_watch, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/inotify_init.S b/libc/arch-x86/syscalls/inotify_init.S deleted file mode 100644 index 2d186c4..0000000 --- a/libc/arch-x86/syscalls/inotify_init.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type inotify_init, @function - .globl inotify_init - .align 4 - -inotify_init: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_inotify_init, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/inotify_rm_watch.S b/libc/arch-x86/syscalls/inotify_rm_watch.S deleted file mode 100644 index f931833..0000000 --- a/libc/arch-x86/syscalls/inotify_rm_watch.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type inotify_rm_watch, @function - .globl inotify_rm_watch - .align 4 - -inotify_rm_watch: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_inotify_rm_watch, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/kill.S b/libc/arch-x86/syscalls/kill.S deleted file mode 100644 index e495c54..0000000 --- a/libc/arch-x86/syscalls/kill.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type kill, @function - .globl kill - .align 4 - -kill: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_kill, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/klogctl.S b/libc/arch-x86/syscalls/klogctl.S deleted file mode 100644 index e46c8ae..0000000 --- a/libc/arch-x86/syscalls/klogctl.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type klogctl, @function - .globl klogctl - .align 4 - -klogctl: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_syslog, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/lchown.S b/libc/arch-x86/syscalls/lchown.S deleted file mode 100644 index f584a32..0000000 --- a/libc/arch-x86/syscalls/lchown.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type lchown, @function - .globl lchown - .align 4 - -lchown: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_lchown32, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/link.S b/libc/arch-x86/syscalls/link.S deleted file mode 100644 index 3946dbf..0000000 --- a/libc/arch-x86/syscalls/link.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type link, @function - .globl link - .align 4 - -link: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_link, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/listen.S b/libc/arch-x86/syscalls/listen.S deleted file mode 100644 index de310cf..0000000 --- a/libc/arch-x86/syscalls/listen.S +++ /dev/null @@ -1,27 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type listen, @function - .globl listen - .align 4 - -listen: - pushl %ebx - pushl %ecx - mov $4, %ebx - mov %esp, %ecx - addl $12, %ecx - movl $__NR_socketcall, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/lseek.S b/libc/arch-x86/syscalls/lseek.S deleted file mode 100644 index 0b2c57c..0000000 --- a/libc/arch-x86/syscalls/lseek.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type lseek, @function - .globl lseek - .align 4 - -lseek: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_lseek, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/lstat.S b/libc/arch-x86/syscalls/lstat.S deleted file mode 100644 index 4739f32..0000000 --- a/libc/arch-x86/syscalls/lstat.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type lstat, @function - .globl lstat - .align 4 - -lstat: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_lstat64, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/madvise.S b/libc/arch-x86/syscalls/madvise.S deleted file mode 100644 index 2423cc2..0000000 --- a/libc/arch-x86/syscalls/madvise.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type madvise, @function - .globl madvise - .align 4 - -madvise: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_madvise, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/mincore.S b/libc/arch-x86/syscalls/mincore.S deleted file mode 100644 index 1e02ac2..0000000 --- a/libc/arch-x86/syscalls/mincore.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type mincore, @function - .globl mincore - .align 4 - -mincore: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_mincore, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/mkdir.S b/libc/arch-x86/syscalls/mkdir.S deleted file mode 100644 index 4f1d157..0000000 --- a/libc/arch-x86/syscalls/mkdir.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type mkdir, @function - .globl mkdir - .align 4 - -mkdir: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_mkdir, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/mkdirat.S b/libc/arch-x86/syscalls/mkdirat.S deleted file mode 100644 index 10406d3..0000000 --- a/libc/arch-x86/syscalls/mkdirat.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type mkdirat, @function - .globl mkdirat - .align 4 - -mkdirat: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_mkdirat, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/mknod.S b/libc/arch-x86/syscalls/mknod.S deleted file mode 100644 index 8df1013..0000000 --- a/libc/arch-x86/syscalls/mknod.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type mknod, @function - .globl mknod - .align 4 - -mknod: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_mknod, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/mlock.S b/libc/arch-x86/syscalls/mlock.S deleted file mode 100644 index 85323d2..0000000 --- a/libc/arch-x86/syscalls/mlock.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type mlock, @function - .globl mlock - .align 4 - -mlock: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_mlock, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/mount.S b/libc/arch-x86/syscalls/mount.S deleted file mode 100644 index 46237d3..0000000 --- a/libc/arch-x86/syscalls/mount.S +++ /dev/null @@ -1,35 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type mount, @function - .globl mount - .align 4 - -mount: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - pushl %edi - mov 24(%esp), %ebx - mov 28(%esp), %ecx - mov 32(%esp), %edx - mov 36(%esp), %esi - mov 40(%esp), %edi - movl $__NR_mount, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edi - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/mprotect.S b/libc/arch-x86/syscalls/mprotect.S deleted file mode 100644 index f44d564..0000000 --- a/libc/arch-x86/syscalls/mprotect.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type mprotect, @function - .globl mprotect - .align 4 - -mprotect: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_mprotect, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/mremap.S b/libc/arch-x86/syscalls/mremap.S deleted file mode 100644 index 891261c..0000000 --- a/libc/arch-x86/syscalls/mremap.S +++ /dev/null @@ -1,32 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type mremap, @function - .globl mremap - .align 4 - -mremap: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - mov 20(%esp), %ebx - mov 24(%esp), %ecx - mov 28(%esp), %edx - mov 32(%esp), %esi - movl $__NR_mremap, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/msync.S b/libc/arch-x86/syscalls/msync.S deleted file mode 100644 index b83ce01..0000000 --- a/libc/arch-x86/syscalls/msync.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type msync, @function - .globl msync - .align 4 - -msync: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_msync, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/munlock.S b/libc/arch-x86/syscalls/munlock.S deleted file mode 100644 index 75ee75e..0000000 --- a/libc/arch-x86/syscalls/munlock.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type munlock, @function - .globl munlock - .align 4 - -munlock: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_munlock, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/munmap.S b/libc/arch-x86/syscalls/munmap.S deleted file mode 100644 index b251844..0000000 --- a/libc/arch-x86/syscalls/munmap.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type munmap, @function - .globl munmap - .align 4 - -munmap: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_munmap, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/nanosleep.S b/libc/arch-x86/syscalls/nanosleep.S deleted file mode 100644 index c274d4f..0000000 --- a/libc/arch-x86/syscalls/nanosleep.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type nanosleep, @function - .globl nanosleep - .align 4 - -nanosleep: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_nanosleep, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/pause.S b/libc/arch-x86/syscalls/pause.S deleted file mode 100644 index 3fe1546..0000000 --- a/libc/arch-x86/syscalls/pause.S +++ /dev/null @@ -1,20 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type pause, @function - .globl pause - .align 4 - -pause: - movl $__NR_pause, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - ret diff --git a/libc/arch-x86/syscalls/pipe.S b/libc/arch-x86/syscalls/pipe.S deleted file mode 100644 index d130909..0000000 --- a/libc/arch-x86/syscalls/pipe.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type pipe, @function - .globl pipe - .align 4 - -pipe: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_pipe, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/poll.S b/libc/arch-x86/syscalls/poll.S deleted file mode 100644 index b732af6..0000000 --- a/libc/arch-x86/syscalls/poll.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type poll, @function - .globl poll - .align 4 - -poll: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_poll, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/prctl.S b/libc/arch-x86/syscalls/prctl.S deleted file mode 100644 index 4ce5d89..0000000 --- a/libc/arch-x86/syscalls/prctl.S +++ /dev/null @@ -1,35 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type prctl, @function - .globl prctl - .align 4 - -prctl: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - pushl %edi - mov 24(%esp), %ebx - mov 28(%esp), %ecx - mov 32(%esp), %edx - mov 36(%esp), %esi - mov 40(%esp), %edi - movl $__NR_prctl, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edi - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/read.S b/libc/arch-x86/syscalls/read.S deleted file mode 100644 index 63549dc..0000000 --- a/libc/arch-x86/syscalls/read.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type read, @function - .globl read - .align 4 - -read: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_read, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/readlink.S b/libc/arch-x86/syscalls/readlink.S deleted file mode 100644 index 53c7632..0000000 --- a/libc/arch-x86/syscalls/readlink.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type readlink, @function - .globl readlink - .align 4 - -readlink: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_readlink, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/readv.S b/libc/arch-x86/syscalls/readv.S deleted file mode 100644 index ed352d2..0000000 --- a/libc/arch-x86/syscalls/readv.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type readv, @function - .globl readv - .align 4 - -readv: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_readv, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/recvfrom.S b/libc/arch-x86/syscalls/recvfrom.S deleted file mode 100644 index 3a38518..0000000 --- a/libc/arch-x86/syscalls/recvfrom.S +++ /dev/null @@ -1,27 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type recvfrom, @function - .globl recvfrom - .align 4 - -recvfrom: - pushl %ebx - pushl %ecx - mov $12, %ebx - mov %esp, %ecx - addl $12, %ecx - movl $__NR_socketcall, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/recvmsg.S b/libc/arch-x86/syscalls/recvmsg.S deleted file mode 100644 index aee69d6..0000000 --- a/libc/arch-x86/syscalls/recvmsg.S +++ /dev/null @@ -1,27 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type recvmsg, @function - .globl recvmsg - .align 4 - -recvmsg: - pushl %ebx - pushl %ecx - mov $17, %ebx - mov %esp, %ecx - addl $12, %ecx - movl $__NR_socketcall, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/rename.S b/libc/arch-x86/syscalls/rename.S deleted file mode 100644 index 79ae119..0000000 --- a/libc/arch-x86/syscalls/rename.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type rename, @function - .globl rename - .align 4 - -rename: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_rename, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/renameat.S b/libc/arch-x86/syscalls/renameat.S deleted file mode 100644 index 30ba210..0000000 --- a/libc/arch-x86/syscalls/renameat.S +++ /dev/null @@ -1,32 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type renameat, @function - .globl renameat - .align 4 - -renameat: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - mov 20(%esp), %ebx - mov 24(%esp), %ecx - mov 28(%esp), %edx - mov 32(%esp), %esi - movl $__NR_renameat, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/rmdir.S b/libc/arch-x86/syscalls/rmdir.S deleted file mode 100644 index 124c10d..0000000 --- a/libc/arch-x86/syscalls/rmdir.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type rmdir, @function - .globl rmdir - .align 4 - -rmdir: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_rmdir, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/sched_get_priority_max.S b/libc/arch-x86/syscalls/sched_get_priority_max.S deleted file mode 100644 index e2d09a6..0000000 --- a/libc/arch-x86/syscalls/sched_get_priority_max.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type sched_get_priority_max, @function - .globl sched_get_priority_max - .align 4 - -sched_get_priority_max: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_sched_get_priority_max, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/sched_get_priority_min.S b/libc/arch-x86/syscalls/sched_get_priority_min.S deleted file mode 100644 index 0f66eee..0000000 --- a/libc/arch-x86/syscalls/sched_get_priority_min.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type sched_get_priority_min, @function - .globl sched_get_priority_min - .align 4 - -sched_get_priority_min: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_sched_get_priority_min, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/sched_getparam.S b/libc/arch-x86/syscalls/sched_getparam.S deleted file mode 100644 index 2a8bd0e..0000000 --- a/libc/arch-x86/syscalls/sched_getparam.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type sched_getparam, @function - .globl sched_getparam - .align 4 - -sched_getparam: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_sched_getparam, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/sched_getscheduler.S b/libc/arch-x86/syscalls/sched_getscheduler.S deleted file mode 100644 index aaa5f8c..0000000 --- a/libc/arch-x86/syscalls/sched_getscheduler.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type sched_getscheduler, @function - .globl sched_getscheduler - .align 4 - -sched_getscheduler: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_sched_getscheduler, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/sched_rr_get_interval.S b/libc/arch-x86/syscalls/sched_rr_get_interval.S deleted file mode 100644 index 58ccddd..0000000 --- a/libc/arch-x86/syscalls/sched_rr_get_interval.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type sched_rr_get_interval, @function - .globl sched_rr_get_interval - .align 4 - -sched_rr_get_interval: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_sched_rr_get_interval, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/sched_setparam.S b/libc/arch-x86/syscalls/sched_setparam.S deleted file mode 100644 index 4b869bf..0000000 --- a/libc/arch-x86/syscalls/sched_setparam.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type sched_setparam, @function - .globl sched_setparam - .align 4 - -sched_setparam: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_sched_setparam, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/sched_setscheduler.S b/libc/arch-x86/syscalls/sched_setscheduler.S deleted file mode 100644 index 099a6d1..0000000 --- a/libc/arch-x86/syscalls/sched_setscheduler.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type sched_setscheduler, @function - .globl sched_setscheduler - .align 4 - -sched_setscheduler: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_sched_setscheduler, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/sched_yield.S b/libc/arch-x86/syscalls/sched_yield.S deleted file mode 100644 index fcd7281..0000000 --- a/libc/arch-x86/syscalls/sched_yield.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type sched_yield, @function - .globl sched_yield - .align 4 - -sched_yield: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_sched_yield, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/select.S b/libc/arch-x86/syscalls/select.S deleted file mode 100644 index 27359a9..0000000 --- a/libc/arch-x86/syscalls/select.S +++ /dev/null @@ -1,35 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type select, @function - .globl select - .align 4 - -select: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - pushl %edi - mov 24(%esp), %ebx - mov 28(%esp), %ecx - mov 32(%esp), %edx - mov 36(%esp), %esi - mov 40(%esp), %edi - movl $__NR__newselect, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edi - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/sendfile.S b/libc/arch-x86/syscalls/sendfile.S deleted file mode 100644 index 2752eec..0000000 --- a/libc/arch-x86/syscalls/sendfile.S +++ /dev/null @@ -1,32 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type sendfile, @function - .globl sendfile - .align 4 - -sendfile: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - mov 20(%esp), %ebx - mov 24(%esp), %ecx - mov 28(%esp), %edx - mov 32(%esp), %esi - movl $__NR_sendfile, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/sendmsg.S b/libc/arch-x86/syscalls/sendmsg.S deleted file mode 100644 index 5f26623..0000000 --- a/libc/arch-x86/syscalls/sendmsg.S +++ /dev/null @@ -1,27 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type sendmsg, @function - .globl sendmsg - .align 4 - -sendmsg: - pushl %ebx - pushl %ecx - mov $16, %ebx - mov %esp, %ecx - addl $12, %ecx - movl $__NR_socketcall, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/sendto.S b/libc/arch-x86/syscalls/sendto.S deleted file mode 100644 index d79a2ba..0000000 --- a/libc/arch-x86/syscalls/sendto.S +++ /dev/null @@ -1,27 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type sendto, @function - .globl sendto - .align 4 - -sendto: - pushl %ebx - pushl %ecx - mov $11, %ebx - mov %esp, %ecx - addl $12, %ecx - movl $__NR_socketcall, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/setgid.S b/libc/arch-x86/syscalls/setgid.S deleted file mode 100644 index 67fd02e..0000000 --- a/libc/arch-x86/syscalls/setgid.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type setgid, @function - .globl setgid - .align 4 - -setgid: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_setgid32, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/setgroups.S b/libc/arch-x86/syscalls/setgroups.S deleted file mode 100644 index b6bab11..0000000 --- a/libc/arch-x86/syscalls/setgroups.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type setgroups, @function - .globl setgroups - .align 4 - -setgroups: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_setgroups32, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/setitimer.S b/libc/arch-x86/syscalls/setitimer.S deleted file mode 100644 index 29d4bc6..0000000 --- a/libc/arch-x86/syscalls/setitimer.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type setitimer, @function - .globl setitimer - .align 4 - -setitimer: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_setitimer, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/setpgid.S b/libc/arch-x86/syscalls/setpgid.S deleted file mode 100644 index df72382..0000000 --- a/libc/arch-x86/syscalls/setpgid.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type setpgid, @function - .globl setpgid - .align 4 - -setpgid: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_setpgid, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/setpriority.S b/libc/arch-x86/syscalls/setpriority.S deleted file mode 100644 index 39d7a18..0000000 --- a/libc/arch-x86/syscalls/setpriority.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type setpriority, @function - .globl setpriority - .align 4 - -setpriority: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_setpriority, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/setregid.S b/libc/arch-x86/syscalls/setregid.S deleted file mode 100644 index c3112de..0000000 --- a/libc/arch-x86/syscalls/setregid.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type setregid, @function - .globl setregid - .align 4 - -setregid: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_setregid32, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/setresgid.S b/libc/arch-x86/syscalls/setresgid.S deleted file mode 100644 index 8e6c8c9..0000000 --- a/libc/arch-x86/syscalls/setresgid.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type setresgid, @function - .globl setresgid - .align 4 - -setresgid: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_setresgid32, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/setresuid.S b/libc/arch-x86/syscalls/setresuid.S deleted file mode 100644 index f81cb39..0000000 --- a/libc/arch-x86/syscalls/setresuid.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type setresuid, @function - .globl setresuid - .align 4 - -setresuid: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_setresuid32, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/setreuid.S b/libc/arch-x86/syscalls/setreuid.S deleted file mode 100644 index 99e5d5b..0000000 --- a/libc/arch-x86/syscalls/setreuid.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type setreuid, @function - .globl setreuid - .align 4 - -setreuid: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_setreuid32, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/setrlimit.S b/libc/arch-x86/syscalls/setrlimit.S deleted file mode 100644 index 31613c5..0000000 --- a/libc/arch-x86/syscalls/setrlimit.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type setrlimit, @function - .globl setrlimit - .align 4 - -setrlimit: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_setrlimit, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/setsid.S b/libc/arch-x86/syscalls/setsid.S deleted file mode 100644 index db31380..0000000 --- a/libc/arch-x86/syscalls/setsid.S +++ /dev/null @@ -1,20 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type setsid, @function - .globl setsid - .align 4 - -setsid: - movl $__NR_setsid, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - ret diff --git a/libc/arch-x86/syscalls/setsockopt.S b/libc/arch-x86/syscalls/setsockopt.S deleted file mode 100644 index d1c986a..0000000 --- a/libc/arch-x86/syscalls/setsockopt.S +++ /dev/null @@ -1,27 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type setsockopt, @function - .globl setsockopt - .align 4 - -setsockopt: - pushl %ebx - pushl %ecx - mov $14, %ebx - mov %esp, %ecx - addl $12, %ecx - movl $__NR_socketcall, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/settimeofday.S b/libc/arch-x86/syscalls/settimeofday.S deleted file mode 100644 index e77fa1e..0000000 --- a/libc/arch-x86/syscalls/settimeofday.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type settimeofday, @function - .globl settimeofday - .align 4 - -settimeofday: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_settimeofday, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/setuid.S b/libc/arch-x86/syscalls/setuid.S deleted file mode 100644 index de334c0..0000000 --- a/libc/arch-x86/syscalls/setuid.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type setuid, @function - .globl setuid - .align 4 - -setuid: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_setuid32, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/shutdown.S b/libc/arch-x86/syscalls/shutdown.S deleted file mode 100644 index 45f0664..0000000 --- a/libc/arch-x86/syscalls/shutdown.S +++ /dev/null @@ -1,27 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type shutdown, @function - .globl shutdown - .align 4 - -shutdown: - pushl %ebx - pushl %ecx - mov $13, %ebx - mov %esp, %ecx - addl $12, %ecx - movl $__NR_socketcall, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/sigaction.S b/libc/arch-x86/syscalls/sigaction.S deleted file mode 100644 index b16e3aa..0000000 --- a/libc/arch-x86/syscalls/sigaction.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type sigaction, @function - .globl sigaction - .align 4 - -sigaction: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_sigaction, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/sigpending.S b/libc/arch-x86/syscalls/sigpending.S deleted file mode 100644 index 2280886..0000000 --- a/libc/arch-x86/syscalls/sigpending.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type sigpending, @function - .globl sigpending - .align 4 - -sigpending: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_sigpending, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/sigprocmask.S b/libc/arch-x86/syscalls/sigprocmask.S deleted file mode 100644 index 42fcf92..0000000 --- a/libc/arch-x86/syscalls/sigprocmask.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type sigprocmask, @function - .globl sigprocmask - .align 4 - -sigprocmask: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_sigprocmask, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/socket.S b/libc/arch-x86/syscalls/socket.S deleted file mode 100644 index 89a8358..0000000 --- a/libc/arch-x86/syscalls/socket.S +++ /dev/null @@ -1,27 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type socket, @function - .globl socket - .align 4 - -socket: - pushl %ebx - pushl %ecx - mov $1, %ebx - mov %esp, %ecx - addl $12, %ecx - movl $__NR_socketcall, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/socketpair.S b/libc/arch-x86/syscalls/socketpair.S deleted file mode 100644 index 0222989..0000000 --- a/libc/arch-x86/syscalls/socketpair.S +++ /dev/null @@ -1,27 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type socketpair, @function - .globl socketpair - .align 4 - -socketpair: - pushl %ebx - pushl %ecx - mov $8, %ebx - mov %esp, %ecx - addl $12, %ecx - movl $__NR_socketcall, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/stat.S b/libc/arch-x86/syscalls/stat.S deleted file mode 100644 index c9984f1..0000000 --- a/libc/arch-x86/syscalls/stat.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type stat, @function - .globl stat - .align 4 - -stat: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_stat64, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/symlink.S b/libc/arch-x86/syscalls/symlink.S deleted file mode 100644 index 04c4298..0000000 --- a/libc/arch-x86/syscalls/symlink.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type symlink, @function - .globl symlink - .align 4 - -symlink: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_symlink, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/sync.S b/libc/arch-x86/syscalls/sync.S deleted file mode 100644 index 5a6a727..0000000 --- a/libc/arch-x86/syscalls/sync.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type sync, @function - .globl sync - .align 4 - -sync: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_sync, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/times.S b/libc/arch-x86/syscalls/times.S deleted file mode 100644 index 543f2be..0000000 --- a/libc/arch-x86/syscalls/times.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type times, @function - .globl times - .align 4 - -times: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_times, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/tkill.S b/libc/arch-x86/syscalls/tkill.S deleted file mode 100644 index f1f174b..0000000 --- a/libc/arch-x86/syscalls/tkill.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type tkill, @function - .globl tkill - .align 4 - -tkill: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_tkill, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/truncate.S b/libc/arch-x86/syscalls/truncate.S deleted file mode 100644 index 8c6646d..0000000 --- a/libc/arch-x86/syscalls/truncate.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type truncate, @function - .globl truncate - .align 4 - -truncate: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_truncate, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/umask.S b/libc/arch-x86/syscalls/umask.S deleted file mode 100644 index fe3d8cd..0000000 --- a/libc/arch-x86/syscalls/umask.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type umask, @function - .globl umask - .align 4 - -umask: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_umask, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/umount2.S b/libc/arch-x86/syscalls/umount2.S deleted file mode 100644 index fdb5354..0000000 --- a/libc/arch-x86/syscalls/umount2.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type umount2, @function - .globl umount2 - .align 4 - -umount2: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_umount2, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/uname.S b/libc/arch-x86/syscalls/uname.S deleted file mode 100644 index b5e8bfa..0000000 --- a/libc/arch-x86/syscalls/uname.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type uname, @function - .globl uname - .align 4 - -uname: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_uname, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/unlink.S b/libc/arch-x86/syscalls/unlink.S deleted file mode 100644 index 0fe52bf..0000000 --- a/libc/arch-x86/syscalls/unlink.S +++ /dev/null @@ -1,23 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type unlink, @function - .globl unlink - .align 4 - -unlink: - pushl %ebx - mov 8(%esp), %ebx - movl $__NR_unlink, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/unlinkat.S b/libc/arch-x86/syscalls/unlinkat.S deleted file mode 100644 index f6f8c17..0000000 --- a/libc/arch-x86/syscalls/unlinkat.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type unlinkat, @function - .globl unlinkat - .align 4 - -unlinkat: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_unlinkat, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/utimes.S b/libc/arch-x86/syscalls/utimes.S deleted file mode 100644 index 1a1b51d..0000000 --- a/libc/arch-x86/syscalls/utimes.S +++ /dev/null @@ -1,26 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type utimes, @function - .globl utimes - .align 4 - -utimes: - pushl %ebx - pushl %ecx - mov 12(%esp), %ebx - mov 16(%esp), %ecx - movl $__NR_utimes, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/waitid.S b/libc/arch-x86/syscalls/waitid.S deleted file mode 100644 index 9a5328b..0000000 --- a/libc/arch-x86/syscalls/waitid.S +++ /dev/null @@ -1,35 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type waitid, @function - .globl waitid - .align 4 - -waitid: - pushl %ebx - pushl %ecx - pushl %edx - pushl %esi - pushl %edi - mov 24(%esp), %ebx - mov 28(%esp), %ecx - mov 32(%esp), %edx - mov 36(%esp), %esi - mov 40(%esp), %edi - movl $__NR_waitid, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edi - popl %esi - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/write.S b/libc/arch-x86/syscalls/write.S deleted file mode 100644 index caa450f..0000000 --- a/libc/arch-x86/syscalls/write.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type write, @function - .globl write - .align 4 - -write: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_write, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret diff --git a/libc/arch-x86/syscalls/writev.S b/libc/arch-x86/syscalls/writev.S deleted file mode 100644 index 53d3731..0000000 --- a/libc/arch-x86/syscalls/writev.S +++ /dev/null @@ -1,29 +0,0 @@ -/* autogenerated by gensyscalls.py */ -#include <sys/linux-syscalls.h> - - .text - .type writev, @function - .globl writev - .align 4 - -writev: - pushl %ebx - pushl %ecx - pushl %edx - mov 16(%esp), %ebx - mov 20(%esp), %ecx - mov 24(%esp), %edx - movl $__NR_writev, %eax - int $0x80 - cmpl $-129, %eax - jb 1f - negl %eax - pushl %eax - call __set_errno - addl $4, %esp - orl $-1, %eax -1: - popl %edx - popl %ecx - popl %ebx - ret |