summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86/syscalls
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-06-05 17:24:30 -0700
committerElliott Hughes <enh@google.com>2014-06-05 17:24:30 -0700
commit15a0456d0b7618554ed3d49287e77b6d43a2812a (patch)
tree5b675e8b31dedd88f02325c3fd14fa9f23c15216 /libc/arch-x86/syscalls
parent50b79530c6fea6d47d54edf6f351dcbd7d87ab6a (diff)
downloadbionic-15a0456d0b7618554ed3d49287e77b6d43a2812a.zip
bionic-15a0456d0b7618554ed3d49287e77b6d43a2812a.tar.gz
bionic-15a0456d0b7618554ed3d49287e77b6d43a2812a.tar.bz2
Remove unnecessary instructions from x86/x86_64 syscalls.
__set_errno returns -1 exactly so that callers don't need to bother. The other architectures were already taking advantage of this, but no one had ever fixed x86 and x86_64. Change-Id: Ie131494be664f6c4a1bbf8c61bbbed58eac56122
Diffstat (limited to 'libc/arch-x86/syscalls')
-rw-r--r--libc/arch-x86/syscalls/__accept4.S1
-rw-r--r--libc/arch-x86/syscalls/__brk.S1
-rw-r--r--libc/arch-x86/syscalls/__connect.S1
-rw-r--r--libc/arch-x86/syscalls/__epoll_pwait.S1
-rw-r--r--libc/arch-x86/syscalls/__exit.S1
-rw-r--r--libc/arch-x86/syscalls/__fcntl64.S1
-rw-r--r--libc/arch-x86/syscalls/__fstatfs64.S1
-rw-r--r--libc/arch-x86/syscalls/__getcpu.S1
-rw-r--r--libc/arch-x86/syscalls/__getcwd.S1
-rw-r--r--libc/arch-x86/syscalls/__getpriority.S1
-rw-r--r--libc/arch-x86/syscalls/__ioctl.S1
-rw-r--r--libc/arch-x86/syscalls/__llseek.S1
-rw-r--r--libc/arch-x86/syscalls/__mmap2.S1
-rw-r--r--libc/arch-x86/syscalls/__openat.S1
-rw-r--r--libc/arch-x86/syscalls/__ppoll.S1
-rw-r--r--libc/arch-x86/syscalls/__pselect6.S1
-rw-r--r--libc/arch-x86/syscalls/__ptrace.S1
-rw-r--r--libc/arch-x86/syscalls/__reboot.S1
-rw-r--r--libc/arch-x86/syscalls/__rt_sigaction.S1
-rw-r--r--libc/arch-x86/syscalls/__rt_sigpending.S1
-rw-r--r--libc/arch-x86/syscalls/__rt_sigprocmask.S1
-rw-r--r--libc/arch-x86/syscalls/__rt_sigsuspend.S1
-rw-r--r--libc/arch-x86/syscalls/__rt_sigtimedwait.S1
-rw-r--r--libc/arch-x86/syscalls/__sched_getaffinity.S1
-rw-r--r--libc/arch-x86/syscalls/__set_thread_area.S1
-rw-r--r--libc/arch-x86/syscalls/__set_tid_address.S1
-rw-r--r--libc/arch-x86/syscalls/__sigaction.S1
-rw-r--r--libc/arch-x86/syscalls/__signalfd4.S1
-rw-r--r--libc/arch-x86/syscalls/__socket.S1
-rw-r--r--libc/arch-x86/syscalls/__statfs64.S1
-rw-r--r--libc/arch-x86/syscalls/__timer_create.S1
-rw-r--r--libc/arch-x86/syscalls/__timer_delete.S1
-rw-r--r--libc/arch-x86/syscalls/__timer_getoverrun.S1
-rw-r--r--libc/arch-x86/syscalls/__timer_gettime.S1
-rw-r--r--libc/arch-x86/syscalls/__timer_settime.S1
-rw-r--r--libc/arch-x86/syscalls/__waitid.S1
-rw-r--r--libc/arch-x86/syscalls/_exit.S1
-rw-r--r--libc/arch-x86/syscalls/acct.S1
-rw-r--r--libc/arch-x86/syscalls/bind.S1
-rw-r--r--libc/arch-x86/syscalls/capget.S1
-rw-r--r--libc/arch-x86/syscalls/capset.S1
-rw-r--r--libc/arch-x86/syscalls/chdir.S1
-rw-r--r--libc/arch-x86/syscalls/chroot.S1
-rw-r--r--libc/arch-x86/syscalls/clock_getres.S1
-rw-r--r--libc/arch-x86/syscalls/clock_gettime.S1
-rw-r--r--libc/arch-x86/syscalls/clock_nanosleep.S1
-rw-r--r--libc/arch-x86/syscalls/clock_settime.S1
-rw-r--r--libc/arch-x86/syscalls/close.S1
-rw-r--r--libc/arch-x86/syscalls/delete_module.S1
-rw-r--r--libc/arch-x86/syscalls/dup.S1
-rw-r--r--libc/arch-x86/syscalls/dup3.S1
-rw-r--r--libc/arch-x86/syscalls/epoll_create1.S1
-rw-r--r--libc/arch-x86/syscalls/epoll_ctl.S1
-rw-r--r--libc/arch-x86/syscalls/eventfd.S1
-rw-r--r--libc/arch-x86/syscalls/execve.S1
-rw-r--r--libc/arch-x86/syscalls/faccessat.S1
-rw-r--r--libc/arch-x86/syscalls/fallocate64.S1
-rw-r--r--libc/arch-x86/syscalls/fchdir.S1
-rw-r--r--libc/arch-x86/syscalls/fchmod.S1
-rw-r--r--libc/arch-x86/syscalls/fchmodat.S1
-rw-r--r--libc/arch-x86/syscalls/fchown.S1
-rw-r--r--libc/arch-x86/syscalls/fchownat.S1
-rw-r--r--libc/arch-x86/syscalls/fdatasync.S1
-rw-r--r--libc/arch-x86/syscalls/fgetxattr.S1
-rw-r--r--libc/arch-x86/syscalls/flistxattr.S1
-rw-r--r--libc/arch-x86/syscalls/flock.S1
-rw-r--r--libc/arch-x86/syscalls/fremovexattr.S1
-rw-r--r--libc/arch-x86/syscalls/fsetxattr.S1
-rw-r--r--libc/arch-x86/syscalls/fstat64.S1
-rw-r--r--libc/arch-x86/syscalls/fstatat64.S1
-rw-r--r--libc/arch-x86/syscalls/fsync.S1
-rw-r--r--libc/arch-x86/syscalls/ftruncate.S1
-rw-r--r--libc/arch-x86/syscalls/ftruncate64.S1
-rw-r--r--libc/arch-x86/syscalls/getdents.S1
-rw-r--r--libc/arch-x86/syscalls/getegid.S1
-rw-r--r--libc/arch-x86/syscalls/geteuid.S1
-rw-r--r--libc/arch-x86/syscalls/getgid.S1
-rw-r--r--libc/arch-x86/syscalls/getgroups.S1
-rw-r--r--libc/arch-x86/syscalls/getitimer.S1
-rw-r--r--libc/arch-x86/syscalls/getpeername.S1
-rw-r--r--libc/arch-x86/syscalls/getpgid.S1
-rw-r--r--libc/arch-x86/syscalls/getpid.S1
-rw-r--r--libc/arch-x86/syscalls/getppid.S1
-rw-r--r--libc/arch-x86/syscalls/getresgid.S1
-rw-r--r--libc/arch-x86/syscalls/getresuid.S1
-rw-r--r--libc/arch-x86/syscalls/getrlimit.S1
-rw-r--r--libc/arch-x86/syscalls/getrusage.S1
-rw-r--r--libc/arch-x86/syscalls/getsid.S1
-rw-r--r--libc/arch-x86/syscalls/getsockname.S1
-rw-r--r--libc/arch-x86/syscalls/getsockopt.S1
-rw-r--r--libc/arch-x86/syscalls/gettimeofday.S1
-rw-r--r--libc/arch-x86/syscalls/getuid.S1
-rw-r--r--libc/arch-x86/syscalls/getxattr.S1
-rw-r--r--libc/arch-x86/syscalls/init_module.S1
-rw-r--r--libc/arch-x86/syscalls/inotify_add_watch.S1
-rw-r--r--libc/arch-x86/syscalls/inotify_init1.S1
-rw-r--r--libc/arch-x86/syscalls/inotify_rm_watch.S1
-rw-r--r--libc/arch-x86/syscalls/ioprio_get.S1
-rw-r--r--libc/arch-x86/syscalls/ioprio_set.S1
-rw-r--r--libc/arch-x86/syscalls/kill.S1
-rw-r--r--libc/arch-x86/syscalls/klogctl.S1
-rw-r--r--libc/arch-x86/syscalls/lgetxattr.S1
-rw-r--r--libc/arch-x86/syscalls/linkat.S1
-rw-r--r--libc/arch-x86/syscalls/listen.S1
-rw-r--r--libc/arch-x86/syscalls/listxattr.S1
-rw-r--r--libc/arch-x86/syscalls/llistxattr.S1
-rw-r--r--libc/arch-x86/syscalls/lremovexattr.S1
-rw-r--r--libc/arch-x86/syscalls/lseek.S1
-rw-r--r--libc/arch-x86/syscalls/lsetxattr.S1
-rw-r--r--libc/arch-x86/syscalls/madvise.S1
-rw-r--r--libc/arch-x86/syscalls/mincore.S1
-rw-r--r--libc/arch-x86/syscalls/mkdirat.S1
-rw-r--r--libc/arch-x86/syscalls/mknodat.S1
-rw-r--r--libc/arch-x86/syscalls/mlock.S1
-rw-r--r--libc/arch-x86/syscalls/mlockall.S1
-rw-r--r--libc/arch-x86/syscalls/mount.S1
-rw-r--r--libc/arch-x86/syscalls/mprotect.S1
-rw-r--r--libc/arch-x86/syscalls/mremap.S1
-rw-r--r--libc/arch-x86/syscalls/msync.S1
-rw-r--r--libc/arch-x86/syscalls/munlock.S1
-rw-r--r--libc/arch-x86/syscalls/munlockall.S1
-rw-r--r--libc/arch-x86/syscalls/munmap.S1
-rw-r--r--libc/arch-x86/syscalls/nanosleep.S1
-rw-r--r--libc/arch-x86/syscalls/personality.S1
-rw-r--r--libc/arch-x86/syscalls/pipe2.S1
-rw-r--r--libc/arch-x86/syscalls/prctl.S1
-rw-r--r--libc/arch-x86/syscalls/pread64.S1
-rw-r--r--libc/arch-x86/syscalls/prlimit64.S1
-rw-r--r--libc/arch-x86/syscalls/pwrite64.S1
-rw-r--r--libc/arch-x86/syscalls/read.S1
-rw-r--r--libc/arch-x86/syscalls/readahead.S1
-rw-r--r--libc/arch-x86/syscalls/readlinkat.S1
-rw-r--r--libc/arch-x86/syscalls/readv.S1
-rw-r--r--libc/arch-x86/syscalls/recvfrom.S1
-rw-r--r--libc/arch-x86/syscalls/recvmmsg.S1
-rw-r--r--libc/arch-x86/syscalls/recvmsg.S1
-rw-r--r--libc/arch-x86/syscalls/removexattr.S1
-rw-r--r--libc/arch-x86/syscalls/renameat.S1
-rw-r--r--libc/arch-x86/syscalls/sched_get_priority_max.S1
-rw-r--r--libc/arch-x86/syscalls/sched_get_priority_min.S1
-rw-r--r--libc/arch-x86/syscalls/sched_getparam.S1
-rw-r--r--libc/arch-x86/syscalls/sched_getscheduler.S1
-rw-r--r--libc/arch-x86/syscalls/sched_rr_get_interval.S1
-rw-r--r--libc/arch-x86/syscalls/sched_setaffinity.S1
-rw-r--r--libc/arch-x86/syscalls/sched_setparam.S1
-rw-r--r--libc/arch-x86/syscalls/sched_setscheduler.S1
-rw-r--r--libc/arch-x86/syscalls/sched_yield.S1
-rw-r--r--libc/arch-x86/syscalls/sendfile.S1
-rw-r--r--libc/arch-x86/syscalls/sendfile64.S1
-rw-r--r--libc/arch-x86/syscalls/sendmmsg.S1
-rw-r--r--libc/arch-x86/syscalls/sendmsg.S1
-rw-r--r--libc/arch-x86/syscalls/sendto.S1
-rw-r--r--libc/arch-x86/syscalls/setgid.S1
-rw-r--r--libc/arch-x86/syscalls/setgroups.S1
-rw-r--r--libc/arch-x86/syscalls/setitimer.S1
-rw-r--r--libc/arch-x86/syscalls/setns.S1
-rw-r--r--libc/arch-x86/syscalls/setpgid.S1
-rw-r--r--libc/arch-x86/syscalls/setpriority.S1
-rw-r--r--libc/arch-x86/syscalls/setregid.S1
-rw-r--r--libc/arch-x86/syscalls/setresgid.S1
-rw-r--r--libc/arch-x86/syscalls/setresuid.S1
-rw-r--r--libc/arch-x86/syscalls/setreuid.S1
-rw-r--r--libc/arch-x86/syscalls/setrlimit.S1
-rw-r--r--libc/arch-x86/syscalls/setsid.S1
-rw-r--r--libc/arch-x86/syscalls/setsockopt.S1
-rw-r--r--libc/arch-x86/syscalls/settimeofday.S1
-rw-r--r--libc/arch-x86/syscalls/setuid.S1
-rw-r--r--libc/arch-x86/syscalls/setxattr.S1
-rw-r--r--libc/arch-x86/syscalls/shutdown.S1
-rw-r--r--libc/arch-x86/syscalls/sigaltstack.S1
-rw-r--r--libc/arch-x86/syscalls/socketpair.S1
-rw-r--r--libc/arch-x86/syscalls/swapoff.S1
-rw-r--r--libc/arch-x86/syscalls/swapon.S1
-rw-r--r--libc/arch-x86/syscalls/symlinkat.S1
-rw-r--r--libc/arch-x86/syscalls/sync.S1
-rw-r--r--libc/arch-x86/syscalls/sysinfo.S1
-rw-r--r--libc/arch-x86/syscalls/tgkill.S1
-rw-r--r--libc/arch-x86/syscalls/timerfd_create.S1
-rw-r--r--libc/arch-x86/syscalls/timerfd_gettime.S1
-rw-r--r--libc/arch-x86/syscalls/timerfd_settime.S1
-rw-r--r--libc/arch-x86/syscalls/times.S1
-rw-r--r--libc/arch-x86/syscalls/truncate.S1
-rw-r--r--libc/arch-x86/syscalls/truncate64.S1
-rw-r--r--libc/arch-x86/syscalls/umask.S1
-rw-r--r--libc/arch-x86/syscalls/umount2.S1
-rw-r--r--libc/arch-x86/syscalls/uname.S1
-rw-r--r--libc/arch-x86/syscalls/unlinkat.S1
-rw-r--r--libc/arch-x86/syscalls/unshare.S1
-rw-r--r--libc/arch-x86/syscalls/utimensat.S1
-rw-r--r--libc/arch-x86/syscalls/wait4.S1
-rw-r--r--libc/arch-x86/syscalls/write.S1
-rw-r--r--libc/arch-x86/syscalls/writev.S1
192 files changed, 0 insertions, 192 deletions
diff --git a/libc/arch-x86/syscalls/__accept4.S b/libc/arch-x86/syscalls/__accept4.S
index 18a76a1..2d9cc42 100644
--- a/libc/arch-x86/syscalls/__accept4.S
+++ b/libc/arch-x86/syscalls/__accept4.S
@@ -20,7 +20,6 @@ ENTRY(__accept4)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/__brk.S b/libc/arch-x86/syscalls/__brk.S
index 2439752..632dfcf 100644
--- a/libc/arch-x86/syscalls/__brk.S
+++ b/libc/arch-x86/syscalls/__brk.S
@@ -15,7 +15,6 @@ ENTRY(__brk)
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
index 3149e8c..5ee4fbf 100644
--- a/libc/arch-x86/syscalls/__connect.S
+++ b/libc/arch-x86/syscalls/__connect.S
@@ -20,7 +20,6 @@ ENTRY(__connect)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/__epoll_pwait.S b/libc/arch-x86/syscalls/__epoll_pwait.S
index 67545b1..641ca6d 100644
--- a/libc/arch-x86/syscalls/__epoll_pwait.S
+++ b/libc/arch-x86/syscalls/__epoll_pwait.S
@@ -35,7 +35,6 @@ ENTRY(__epoll_pwait)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebp
popl %edi
diff --git a/libc/arch-x86/syscalls/__exit.S b/libc/arch-x86/syscalls/__exit.S
index d768306..8578f56 100644
--- a/libc/arch-x86/syscalls/__exit.S
+++ b/libc/arch-x86/syscalls/__exit.S
@@ -15,7 +15,6 @@ ENTRY(__exit)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebx
ret
diff --git a/libc/arch-x86/syscalls/__fcntl64.S b/libc/arch-x86/syscalls/__fcntl64.S
index b2d5664..ef58d15 100644
--- a/libc/arch-x86/syscalls/__fcntl64.S
+++ b/libc/arch-x86/syscalls/__fcntl64.S
@@ -23,7 +23,6 @@ ENTRY(__fcntl64)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/__fstatfs64.S b/libc/arch-x86/syscalls/__fstatfs64.S
index d80ecc5..0ca3360 100644
--- a/libc/arch-x86/syscalls/__fstatfs64.S
+++ b/libc/arch-x86/syscalls/__fstatfs64.S
@@ -23,7 +23,6 @@ ENTRY(__fstatfs64)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/__getcpu.S b/libc/arch-x86/syscalls/__getcpu.S
index 23ce3f0..b181877 100644
--- a/libc/arch-x86/syscalls/__getcpu.S
+++ b/libc/arch-x86/syscalls/__getcpu.S
@@ -23,7 +23,6 @@ ENTRY(__getcpu)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/__getcwd.S b/libc/arch-x86/syscalls/__getcwd.S
index 5454d7a..b71ba0d 100644
--- a/libc/arch-x86/syscalls/__getcwd.S
+++ b/libc/arch-x86/syscalls/__getcwd.S
@@ -19,7 +19,6 @@ ENTRY(__getcwd)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/__getpriority.S b/libc/arch-x86/syscalls/__getpriority.S
index 2d97f0d..103431d 100644
--- a/libc/arch-x86/syscalls/__getpriority.S
+++ b/libc/arch-x86/syscalls/__getpriority.S
@@ -19,7 +19,6 @@ ENTRY(__getpriority)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/__ioctl.S b/libc/arch-x86/syscalls/__ioctl.S
index eb248fb..99d2d2c 100644
--- a/libc/arch-x86/syscalls/__ioctl.S
+++ b/libc/arch-x86/syscalls/__ioctl.S
@@ -23,7 +23,6 @@ ENTRY(__ioctl)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/__llseek.S b/libc/arch-x86/syscalls/__llseek.S
index 7a1ea83..0cdb98a 100644
--- a/libc/arch-x86/syscalls/__llseek.S
+++ b/libc/arch-x86/syscalls/__llseek.S
@@ -31,7 +31,6 @@ ENTRY(__llseek)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edi
popl %esi
diff --git a/libc/arch-x86/syscalls/__mmap2.S b/libc/arch-x86/syscalls/__mmap2.S
index 603ee2b..47131ef 100644
--- a/libc/arch-x86/syscalls/__mmap2.S
+++ b/libc/arch-x86/syscalls/__mmap2.S
@@ -35,7 +35,6 @@ ENTRY(__mmap2)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebp
popl %edi
diff --git a/libc/arch-x86/syscalls/__openat.S b/libc/arch-x86/syscalls/__openat.S
index a6db672..aec10e5 100644
--- a/libc/arch-x86/syscalls/__openat.S
+++ b/libc/arch-x86/syscalls/__openat.S
@@ -27,7 +27,6 @@ ENTRY(__openat)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/__ppoll.S b/libc/arch-x86/syscalls/__ppoll.S
index d8ac98a..92197b7 100644
--- a/libc/arch-x86/syscalls/__ppoll.S
+++ b/libc/arch-x86/syscalls/__ppoll.S
@@ -31,7 +31,6 @@ ENTRY(__ppoll)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edi
popl %esi
diff --git a/libc/arch-x86/syscalls/__pselect6.S b/libc/arch-x86/syscalls/__pselect6.S
index 9c66a3c..38402f0 100644
--- a/libc/arch-x86/syscalls/__pselect6.S
+++ b/libc/arch-x86/syscalls/__pselect6.S
@@ -35,7 +35,6 @@ ENTRY(__pselect6)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebp
popl %edi
diff --git a/libc/arch-x86/syscalls/__ptrace.S b/libc/arch-x86/syscalls/__ptrace.S
index 54e8221..cea5847 100644
--- a/libc/arch-x86/syscalls/__ptrace.S
+++ b/libc/arch-x86/syscalls/__ptrace.S
@@ -27,7 +27,6 @@ ENTRY(__ptrace)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/__reboot.S b/libc/arch-x86/syscalls/__reboot.S
index daea66e..4546994 100644
--- a/libc/arch-x86/syscalls/__reboot.S
+++ b/libc/arch-x86/syscalls/__reboot.S
@@ -27,7 +27,6 @@ ENTRY(__reboot)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/__rt_sigaction.S b/libc/arch-x86/syscalls/__rt_sigaction.S
index d182a82..bfbe5ba 100644
--- a/libc/arch-x86/syscalls/__rt_sigaction.S
+++ b/libc/arch-x86/syscalls/__rt_sigaction.S
@@ -27,7 +27,6 @@ ENTRY(__rt_sigaction)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/__rt_sigpending.S b/libc/arch-x86/syscalls/__rt_sigpending.S
index d83ccc0..dac478a 100644
--- a/libc/arch-x86/syscalls/__rt_sigpending.S
+++ b/libc/arch-x86/syscalls/__rt_sigpending.S
@@ -19,7 +19,6 @@ ENTRY(__rt_sigpending)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/__rt_sigprocmask.S b/libc/arch-x86/syscalls/__rt_sigprocmask.S
index 4ca9443..f112360 100644
--- a/libc/arch-x86/syscalls/__rt_sigprocmask.S
+++ b/libc/arch-x86/syscalls/__rt_sigprocmask.S
@@ -27,7 +27,6 @@ ENTRY(__rt_sigprocmask)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/__rt_sigsuspend.S b/libc/arch-x86/syscalls/__rt_sigsuspend.S
index f1a4cf3..ef505c0 100644
--- a/libc/arch-x86/syscalls/__rt_sigsuspend.S
+++ b/libc/arch-x86/syscalls/__rt_sigsuspend.S
@@ -19,7 +19,6 @@ ENTRY(__rt_sigsuspend)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/__rt_sigtimedwait.S b/libc/arch-x86/syscalls/__rt_sigtimedwait.S
index 4fae0f7..d19c7db 100644
--- a/libc/arch-x86/syscalls/__rt_sigtimedwait.S
+++ b/libc/arch-x86/syscalls/__rt_sigtimedwait.S
@@ -27,7 +27,6 @@ ENTRY(__rt_sigtimedwait)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/__sched_getaffinity.S b/libc/arch-x86/syscalls/__sched_getaffinity.S
index bddbab5..e7cb8f1 100644
--- a/libc/arch-x86/syscalls/__sched_getaffinity.S
+++ b/libc/arch-x86/syscalls/__sched_getaffinity.S
@@ -23,7 +23,6 @@ ENTRY(__sched_getaffinity)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/__set_thread_area.S b/libc/arch-x86/syscalls/__set_thread_area.S
index 0772ffe..dda23a0 100644
--- a/libc/arch-x86/syscalls/__set_thread_area.S
+++ b/libc/arch-x86/syscalls/__set_thread_area.S
@@ -15,7 +15,6 @@ ENTRY(__set_thread_area)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebx
ret
diff --git a/libc/arch-x86/syscalls/__set_tid_address.S b/libc/arch-x86/syscalls/__set_tid_address.S
index e61c2ac..1566d9a 100644
--- a/libc/arch-x86/syscalls/__set_tid_address.S
+++ b/libc/arch-x86/syscalls/__set_tid_address.S
@@ -15,7 +15,6 @@ ENTRY(__set_tid_address)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebx
ret
diff --git a/libc/arch-x86/syscalls/__sigaction.S b/libc/arch-x86/syscalls/__sigaction.S
index b4ca292..f1a51d2 100644
--- a/libc/arch-x86/syscalls/__sigaction.S
+++ b/libc/arch-x86/syscalls/__sigaction.S
@@ -23,7 +23,6 @@ ENTRY(__sigaction)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/__signalfd4.S b/libc/arch-x86/syscalls/__signalfd4.S
index 1faafac..335e206 100644
--- a/libc/arch-x86/syscalls/__signalfd4.S
+++ b/libc/arch-x86/syscalls/__signalfd4.S
@@ -27,7 +27,6 @@ ENTRY(__signalfd4)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/__socket.S b/libc/arch-x86/syscalls/__socket.S
index 2386b98..368680f 100644
--- a/libc/arch-x86/syscalls/__socket.S
+++ b/libc/arch-x86/syscalls/__socket.S
@@ -20,7 +20,6 @@ ENTRY(__socket)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/__statfs64.S b/libc/arch-x86/syscalls/__statfs64.S
index 69dd87e..6bb9d99 100644
--- a/libc/arch-x86/syscalls/__statfs64.S
+++ b/libc/arch-x86/syscalls/__statfs64.S
@@ -23,7 +23,6 @@ ENTRY(__statfs64)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/__timer_create.S b/libc/arch-x86/syscalls/__timer_create.S
index 520046f..3d28ae9 100644
--- a/libc/arch-x86/syscalls/__timer_create.S
+++ b/libc/arch-x86/syscalls/__timer_create.S
@@ -23,7 +23,6 @@ ENTRY(__timer_create)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/__timer_delete.S b/libc/arch-x86/syscalls/__timer_delete.S
index 8fff727..7d64d6d 100644
--- a/libc/arch-x86/syscalls/__timer_delete.S
+++ b/libc/arch-x86/syscalls/__timer_delete.S
@@ -15,7 +15,6 @@ ENTRY(__timer_delete)
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
index 372625b..cb37765 100644
--- a/libc/arch-x86/syscalls/__timer_getoverrun.S
+++ b/libc/arch-x86/syscalls/__timer_getoverrun.S
@@ -15,7 +15,6 @@ ENTRY(__timer_getoverrun)
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
index 9588bf7..5c43f4a 100644
--- a/libc/arch-x86/syscalls/__timer_gettime.S
+++ b/libc/arch-x86/syscalls/__timer_gettime.S
@@ -19,7 +19,6 @@ ENTRY(__timer_gettime)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/__timer_settime.S b/libc/arch-x86/syscalls/__timer_settime.S
index 7b0ab43..da7c587 100644
--- a/libc/arch-x86/syscalls/__timer_settime.S
+++ b/libc/arch-x86/syscalls/__timer_settime.S
@@ -27,7 +27,6 @@ ENTRY(__timer_settime)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/__waitid.S b/libc/arch-x86/syscalls/__waitid.S
index 7e63f8a..7e3ecdd 100644
--- a/libc/arch-x86/syscalls/__waitid.S
+++ b/libc/arch-x86/syscalls/__waitid.S
@@ -31,7 +31,6 @@ ENTRY(__waitid)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edi
popl %esi
diff --git a/libc/arch-x86/syscalls/_exit.S b/libc/arch-x86/syscalls/_exit.S
index 5b569b9..36e884a 100644
--- a/libc/arch-x86/syscalls/_exit.S
+++ b/libc/arch-x86/syscalls/_exit.S
@@ -15,7 +15,6 @@ ENTRY(_exit)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebx
ret
diff --git a/libc/arch-x86/syscalls/acct.S b/libc/arch-x86/syscalls/acct.S
index 7fa4508..a036114 100644
--- a/libc/arch-x86/syscalls/acct.S
+++ b/libc/arch-x86/syscalls/acct.S
@@ -15,7 +15,6 @@ ENTRY(acct)
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
index c99ada1..ab5a29e 100644
--- a/libc/arch-x86/syscalls/bind.S
+++ b/libc/arch-x86/syscalls/bind.S
@@ -20,7 +20,6 @@ ENTRY(bind)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/capget.S b/libc/arch-x86/syscalls/capget.S
index 82065cf..5441e49 100644
--- a/libc/arch-x86/syscalls/capget.S
+++ b/libc/arch-x86/syscalls/capget.S
@@ -19,7 +19,6 @@ ENTRY(capget)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/capset.S b/libc/arch-x86/syscalls/capset.S
index 8c9367f..d04e411 100644
--- a/libc/arch-x86/syscalls/capset.S
+++ b/libc/arch-x86/syscalls/capset.S
@@ -19,7 +19,6 @@ ENTRY(capset)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/chdir.S b/libc/arch-x86/syscalls/chdir.S
index 00986d4..d32a0bd 100644
--- a/libc/arch-x86/syscalls/chdir.S
+++ b/libc/arch-x86/syscalls/chdir.S
@@ -15,7 +15,6 @@ ENTRY(chdir)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebx
ret
diff --git a/libc/arch-x86/syscalls/chroot.S b/libc/arch-x86/syscalls/chroot.S
index cb8a099..63d7e00 100644
--- a/libc/arch-x86/syscalls/chroot.S
+++ b/libc/arch-x86/syscalls/chroot.S
@@ -15,7 +15,6 @@ ENTRY(chroot)
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
index 5fef51a..321299c 100644
--- a/libc/arch-x86/syscalls/clock_getres.S
+++ b/libc/arch-x86/syscalls/clock_getres.S
@@ -19,7 +19,6 @@ ENTRY(clock_getres)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/clock_gettime.S b/libc/arch-x86/syscalls/clock_gettime.S
index 4275edc..54f769a 100644
--- a/libc/arch-x86/syscalls/clock_gettime.S
+++ b/libc/arch-x86/syscalls/clock_gettime.S
@@ -19,7 +19,6 @@ ENTRY(clock_gettime)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/clock_nanosleep.S b/libc/arch-x86/syscalls/clock_nanosleep.S
index 1f0fcc6..ca961c0 100644
--- a/libc/arch-x86/syscalls/clock_nanosleep.S
+++ b/libc/arch-x86/syscalls/clock_nanosleep.S
@@ -27,7 +27,6 @@ ENTRY(clock_nanosleep)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/clock_settime.S b/libc/arch-x86/syscalls/clock_settime.S
index 4f59a10..ab8c43e 100644
--- a/libc/arch-x86/syscalls/clock_settime.S
+++ b/libc/arch-x86/syscalls/clock_settime.S
@@ -19,7 +19,6 @@ ENTRY(clock_settime)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/close.S b/libc/arch-x86/syscalls/close.S
index 3f4e034..0b3e73a 100644
--- a/libc/arch-x86/syscalls/close.S
+++ b/libc/arch-x86/syscalls/close.S
@@ -15,7 +15,6 @@ ENTRY(close)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebx
ret
diff --git a/libc/arch-x86/syscalls/delete_module.S b/libc/arch-x86/syscalls/delete_module.S
index 8923f46..757c8c1 100644
--- a/libc/arch-x86/syscalls/delete_module.S
+++ b/libc/arch-x86/syscalls/delete_module.S
@@ -19,7 +19,6 @@ ENTRY(delete_module)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/dup.S b/libc/arch-x86/syscalls/dup.S
index ed922de..64e1538 100644
--- a/libc/arch-x86/syscalls/dup.S
+++ b/libc/arch-x86/syscalls/dup.S
@@ -15,7 +15,6 @@ ENTRY(dup)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebx
ret
diff --git a/libc/arch-x86/syscalls/dup3.S b/libc/arch-x86/syscalls/dup3.S
index d1a714d..a0ecd19 100644
--- a/libc/arch-x86/syscalls/dup3.S
+++ b/libc/arch-x86/syscalls/dup3.S
@@ -23,7 +23,6 @@ ENTRY(dup3)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/epoll_create1.S b/libc/arch-x86/syscalls/epoll_create1.S
index 69ddd9b..5b6a1ba 100644
--- a/libc/arch-x86/syscalls/epoll_create1.S
+++ b/libc/arch-x86/syscalls/epoll_create1.S
@@ -15,7 +15,6 @@ ENTRY(epoll_create1)
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
index 2a50db8..3fd8acd 100644
--- a/libc/arch-x86/syscalls/epoll_ctl.S
+++ b/libc/arch-x86/syscalls/epoll_ctl.S
@@ -27,7 +27,6 @@ ENTRY(epoll_ctl)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/eventfd.S b/libc/arch-x86/syscalls/eventfd.S
index 48a07a2..55c5e6a 100644
--- a/libc/arch-x86/syscalls/eventfd.S
+++ b/libc/arch-x86/syscalls/eventfd.S
@@ -19,7 +19,6 @@ ENTRY(eventfd)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/execve.S b/libc/arch-x86/syscalls/execve.S
index 345b5a4..7ad54f7 100644
--- a/libc/arch-x86/syscalls/execve.S
+++ b/libc/arch-x86/syscalls/execve.S
@@ -23,7 +23,6 @@ ENTRY(execve)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/faccessat.S b/libc/arch-x86/syscalls/faccessat.S
index 1f340f7..115d645 100644
--- a/libc/arch-x86/syscalls/faccessat.S
+++ b/libc/arch-x86/syscalls/faccessat.S
@@ -27,7 +27,6 @@ ENTRY(faccessat)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/fallocate64.S b/libc/arch-x86/syscalls/fallocate64.S
index be3d45b..f8bde62 100644
--- a/libc/arch-x86/syscalls/fallocate64.S
+++ b/libc/arch-x86/syscalls/fallocate64.S
@@ -35,7 +35,6 @@ ENTRY(fallocate64)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebp
popl %edi
diff --git a/libc/arch-x86/syscalls/fchdir.S b/libc/arch-x86/syscalls/fchdir.S
index da95c0b..56e496c 100644
--- a/libc/arch-x86/syscalls/fchdir.S
+++ b/libc/arch-x86/syscalls/fchdir.S
@@ -15,7 +15,6 @@ ENTRY(fchdir)
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
index fe189f4..4badcea 100644
--- a/libc/arch-x86/syscalls/fchmod.S
+++ b/libc/arch-x86/syscalls/fchmod.S
@@ -19,7 +19,6 @@ ENTRY(fchmod)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/fchmodat.S b/libc/arch-x86/syscalls/fchmodat.S
index 794450b..552e85c 100644
--- a/libc/arch-x86/syscalls/fchmodat.S
+++ b/libc/arch-x86/syscalls/fchmodat.S
@@ -27,7 +27,6 @@ ENTRY(fchmodat)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/fchown.S b/libc/arch-x86/syscalls/fchown.S
index 5e82388..7e82637 100644
--- a/libc/arch-x86/syscalls/fchown.S
+++ b/libc/arch-x86/syscalls/fchown.S
@@ -23,7 +23,6 @@ ENTRY(fchown)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/fchownat.S b/libc/arch-x86/syscalls/fchownat.S
index bfe61e9..de039d0 100644
--- a/libc/arch-x86/syscalls/fchownat.S
+++ b/libc/arch-x86/syscalls/fchownat.S
@@ -31,7 +31,6 @@ ENTRY(fchownat)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edi
popl %esi
diff --git a/libc/arch-x86/syscalls/fdatasync.S b/libc/arch-x86/syscalls/fdatasync.S
index 17846ce..fdb5578 100644
--- a/libc/arch-x86/syscalls/fdatasync.S
+++ b/libc/arch-x86/syscalls/fdatasync.S
@@ -15,7 +15,6 @@ ENTRY(fdatasync)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebx
ret
diff --git a/libc/arch-x86/syscalls/fgetxattr.S b/libc/arch-x86/syscalls/fgetxattr.S
index 335d298..3ed63d3 100644
--- a/libc/arch-x86/syscalls/fgetxattr.S
+++ b/libc/arch-x86/syscalls/fgetxattr.S
@@ -27,7 +27,6 @@ ENTRY(fgetxattr)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/flistxattr.S b/libc/arch-x86/syscalls/flistxattr.S
index 5cab5ad..2840114 100644
--- a/libc/arch-x86/syscalls/flistxattr.S
+++ b/libc/arch-x86/syscalls/flistxattr.S
@@ -23,7 +23,6 @@ ENTRY(flistxattr)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/flock.S b/libc/arch-x86/syscalls/flock.S
index 277dd2a..dc9ef02 100644
--- a/libc/arch-x86/syscalls/flock.S
+++ b/libc/arch-x86/syscalls/flock.S
@@ -19,7 +19,6 @@ ENTRY(flock)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/fremovexattr.S b/libc/arch-x86/syscalls/fremovexattr.S
index a60e031..1e77f82 100644
--- a/libc/arch-x86/syscalls/fremovexattr.S
+++ b/libc/arch-x86/syscalls/fremovexattr.S
@@ -19,7 +19,6 @@ ENTRY(fremovexattr)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/fsetxattr.S b/libc/arch-x86/syscalls/fsetxattr.S
index c4d4854..703a8d7 100644
--- a/libc/arch-x86/syscalls/fsetxattr.S
+++ b/libc/arch-x86/syscalls/fsetxattr.S
@@ -31,7 +31,6 @@ ENTRY(fsetxattr)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edi
popl %esi
diff --git a/libc/arch-x86/syscalls/fstat64.S b/libc/arch-x86/syscalls/fstat64.S
index 054f6de..970eeb1 100644
--- a/libc/arch-x86/syscalls/fstat64.S
+++ b/libc/arch-x86/syscalls/fstat64.S
@@ -19,7 +19,6 @@ ENTRY(fstat64)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/fstatat64.S b/libc/arch-x86/syscalls/fstatat64.S
index 928d071..476578d 100644
--- a/libc/arch-x86/syscalls/fstatat64.S
+++ b/libc/arch-x86/syscalls/fstatat64.S
@@ -27,7 +27,6 @@ ENTRY(fstatat64)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/fsync.S b/libc/arch-x86/syscalls/fsync.S
index f12d010..9fc84b7 100644
--- a/libc/arch-x86/syscalls/fsync.S
+++ b/libc/arch-x86/syscalls/fsync.S
@@ -15,7 +15,6 @@ ENTRY(fsync)
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
index 062982c..6765d98 100644
--- a/libc/arch-x86/syscalls/ftruncate.S
+++ b/libc/arch-x86/syscalls/ftruncate.S
@@ -19,7 +19,6 @@ ENTRY(ftruncate)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/ftruncate64.S b/libc/arch-x86/syscalls/ftruncate64.S
index 71920be..21e26ce 100644
--- a/libc/arch-x86/syscalls/ftruncate64.S
+++ b/libc/arch-x86/syscalls/ftruncate64.S
@@ -23,7 +23,6 @@ ENTRY(ftruncate64)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/getdents.S b/libc/arch-x86/syscalls/getdents.S
index 0b045b2..0627532 100644
--- a/libc/arch-x86/syscalls/getdents.S
+++ b/libc/arch-x86/syscalls/getdents.S
@@ -23,7 +23,6 @@ ENTRY(getdents)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/getegid.S b/libc/arch-x86/syscalls/getegid.S
index 61e7839..445cd97 100644
--- a/libc/arch-x86/syscalls/getegid.S
+++ b/libc/arch-x86/syscalls/getegid.S
@@ -11,7 +11,6 @@ ENTRY(getegid)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
ret
END(getegid)
diff --git a/libc/arch-x86/syscalls/geteuid.S b/libc/arch-x86/syscalls/geteuid.S
index 80bcf7a..8290a93 100644
--- a/libc/arch-x86/syscalls/geteuid.S
+++ b/libc/arch-x86/syscalls/geteuid.S
@@ -11,7 +11,6 @@ ENTRY(geteuid)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
ret
END(geteuid)
diff --git a/libc/arch-x86/syscalls/getgid.S b/libc/arch-x86/syscalls/getgid.S
index 87d31a7..d90767f 100644
--- a/libc/arch-x86/syscalls/getgid.S
+++ b/libc/arch-x86/syscalls/getgid.S
@@ -11,7 +11,6 @@ ENTRY(getgid)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
ret
END(getgid)
diff --git a/libc/arch-x86/syscalls/getgroups.S b/libc/arch-x86/syscalls/getgroups.S
index d9b7d80..d36c09c 100644
--- a/libc/arch-x86/syscalls/getgroups.S
+++ b/libc/arch-x86/syscalls/getgroups.S
@@ -19,7 +19,6 @@ ENTRY(getgroups)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/getitimer.S b/libc/arch-x86/syscalls/getitimer.S
index 8f3a0ee..ebf1260 100644
--- a/libc/arch-x86/syscalls/getitimer.S
+++ b/libc/arch-x86/syscalls/getitimer.S
@@ -19,7 +19,6 @@ ENTRY(getitimer)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/getpeername.S b/libc/arch-x86/syscalls/getpeername.S
index 1ea42a0..abecd4e 100644
--- a/libc/arch-x86/syscalls/getpeername.S
+++ b/libc/arch-x86/syscalls/getpeername.S
@@ -20,7 +20,6 @@ ENTRY(getpeername)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/getpgid.S b/libc/arch-x86/syscalls/getpgid.S
index 179c7db..e74ed3b 100644
--- a/libc/arch-x86/syscalls/getpgid.S
+++ b/libc/arch-x86/syscalls/getpgid.S
@@ -15,7 +15,6 @@ ENTRY(getpgid)
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
index cecaf74..0e12d5a 100644
--- a/libc/arch-x86/syscalls/getpid.S
+++ b/libc/arch-x86/syscalls/getpid.S
@@ -11,7 +11,6 @@ ENTRY(getpid)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
ret
END(getpid)
diff --git a/libc/arch-x86/syscalls/getppid.S b/libc/arch-x86/syscalls/getppid.S
index b932044..025fa42 100644
--- a/libc/arch-x86/syscalls/getppid.S
+++ b/libc/arch-x86/syscalls/getppid.S
@@ -11,7 +11,6 @@ ENTRY(getppid)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
ret
END(getppid)
diff --git a/libc/arch-x86/syscalls/getresgid.S b/libc/arch-x86/syscalls/getresgid.S
index ce8d89a..fe08cdf 100644
--- a/libc/arch-x86/syscalls/getresgid.S
+++ b/libc/arch-x86/syscalls/getresgid.S
@@ -23,7 +23,6 @@ ENTRY(getresgid)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/getresuid.S b/libc/arch-x86/syscalls/getresuid.S
index f444d16..8e292fc 100644
--- a/libc/arch-x86/syscalls/getresuid.S
+++ b/libc/arch-x86/syscalls/getresuid.S
@@ -23,7 +23,6 @@ ENTRY(getresuid)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/getrlimit.S b/libc/arch-x86/syscalls/getrlimit.S
index 66f4e6f..fdb5a03 100644
--- a/libc/arch-x86/syscalls/getrlimit.S
+++ b/libc/arch-x86/syscalls/getrlimit.S
@@ -19,7 +19,6 @@ ENTRY(getrlimit)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/getrusage.S b/libc/arch-x86/syscalls/getrusage.S
index 8d4fd7b..ae5f796 100644
--- a/libc/arch-x86/syscalls/getrusage.S
+++ b/libc/arch-x86/syscalls/getrusage.S
@@ -19,7 +19,6 @@ ENTRY(getrusage)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/getsid.S b/libc/arch-x86/syscalls/getsid.S
index 39e5551..e1dc87f 100644
--- a/libc/arch-x86/syscalls/getsid.S
+++ b/libc/arch-x86/syscalls/getsid.S
@@ -15,7 +15,6 @@ ENTRY(getsid)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebx
ret
diff --git a/libc/arch-x86/syscalls/getsockname.S b/libc/arch-x86/syscalls/getsockname.S
index ec0cc84..254b755 100644
--- a/libc/arch-x86/syscalls/getsockname.S
+++ b/libc/arch-x86/syscalls/getsockname.S
@@ -20,7 +20,6 @@ ENTRY(getsockname)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/getsockopt.S b/libc/arch-x86/syscalls/getsockopt.S
index cf109f1..2ef630c 100644
--- a/libc/arch-x86/syscalls/getsockopt.S
+++ b/libc/arch-x86/syscalls/getsockopt.S
@@ -20,7 +20,6 @@ ENTRY(getsockopt)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/gettimeofday.S b/libc/arch-x86/syscalls/gettimeofday.S
index 801e7ab..709a17b 100644
--- a/libc/arch-x86/syscalls/gettimeofday.S
+++ b/libc/arch-x86/syscalls/gettimeofday.S
@@ -19,7 +19,6 @@ ENTRY(gettimeofday)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/getuid.S b/libc/arch-x86/syscalls/getuid.S
index e91305a..c375d30 100644
--- a/libc/arch-x86/syscalls/getuid.S
+++ b/libc/arch-x86/syscalls/getuid.S
@@ -11,7 +11,6 @@ ENTRY(getuid)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
ret
END(getuid)
diff --git a/libc/arch-x86/syscalls/getxattr.S b/libc/arch-x86/syscalls/getxattr.S
index 5bd1ab8..db9c9dd 100644
--- a/libc/arch-x86/syscalls/getxattr.S
+++ b/libc/arch-x86/syscalls/getxattr.S
@@ -27,7 +27,6 @@ ENTRY(getxattr)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/init_module.S b/libc/arch-x86/syscalls/init_module.S
index 8afd644..543b31e 100644
--- a/libc/arch-x86/syscalls/init_module.S
+++ b/libc/arch-x86/syscalls/init_module.S
@@ -23,7 +23,6 @@ ENTRY(init_module)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/inotify_add_watch.S b/libc/arch-x86/syscalls/inotify_add_watch.S
index 0de8f88..f58c6d1 100644
--- a/libc/arch-x86/syscalls/inotify_add_watch.S
+++ b/libc/arch-x86/syscalls/inotify_add_watch.S
@@ -23,7 +23,6 @@ ENTRY(inotify_add_watch)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/inotify_init1.S b/libc/arch-x86/syscalls/inotify_init1.S
index 0920618..2c7b100 100644
--- a/libc/arch-x86/syscalls/inotify_init1.S
+++ b/libc/arch-x86/syscalls/inotify_init1.S
@@ -15,7 +15,6 @@ ENTRY(inotify_init1)
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
index 37394c5..c453478 100644
--- a/libc/arch-x86/syscalls/inotify_rm_watch.S
+++ b/libc/arch-x86/syscalls/inotify_rm_watch.S
@@ -19,7 +19,6 @@ ENTRY(inotify_rm_watch)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/ioprio_get.S b/libc/arch-x86/syscalls/ioprio_get.S
index ff78773..491c2f3 100644
--- a/libc/arch-x86/syscalls/ioprio_get.S
+++ b/libc/arch-x86/syscalls/ioprio_get.S
@@ -19,7 +19,6 @@ ENTRY(ioprio_get)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/ioprio_set.S b/libc/arch-x86/syscalls/ioprio_set.S
index 7a3e919..e80602c 100644
--- a/libc/arch-x86/syscalls/ioprio_set.S
+++ b/libc/arch-x86/syscalls/ioprio_set.S
@@ -23,7 +23,6 @@ ENTRY(ioprio_set)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/kill.S b/libc/arch-x86/syscalls/kill.S
index fbf5fa8..0c1e24a 100644
--- a/libc/arch-x86/syscalls/kill.S
+++ b/libc/arch-x86/syscalls/kill.S
@@ -19,7 +19,6 @@ ENTRY(kill)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/klogctl.S b/libc/arch-x86/syscalls/klogctl.S
index 03f24b8..869324a 100644
--- a/libc/arch-x86/syscalls/klogctl.S
+++ b/libc/arch-x86/syscalls/klogctl.S
@@ -23,7 +23,6 @@ ENTRY(klogctl)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/lgetxattr.S b/libc/arch-x86/syscalls/lgetxattr.S
index 6ee2c55..3ed4f11 100644
--- a/libc/arch-x86/syscalls/lgetxattr.S
+++ b/libc/arch-x86/syscalls/lgetxattr.S
@@ -27,7 +27,6 @@ ENTRY(lgetxattr)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/linkat.S b/libc/arch-x86/syscalls/linkat.S
index d9876eb..e0c7e5f 100644
--- a/libc/arch-x86/syscalls/linkat.S
+++ b/libc/arch-x86/syscalls/linkat.S
@@ -31,7 +31,6 @@ ENTRY(linkat)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edi
popl %esi
diff --git a/libc/arch-x86/syscalls/listen.S b/libc/arch-x86/syscalls/listen.S
index b671b25..c65f970 100644
--- a/libc/arch-x86/syscalls/listen.S
+++ b/libc/arch-x86/syscalls/listen.S
@@ -20,7 +20,6 @@ ENTRY(listen)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/listxattr.S b/libc/arch-x86/syscalls/listxattr.S
index e86b82e..98a5114 100644
--- a/libc/arch-x86/syscalls/listxattr.S
+++ b/libc/arch-x86/syscalls/listxattr.S
@@ -23,7 +23,6 @@ ENTRY(listxattr)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/llistxattr.S b/libc/arch-x86/syscalls/llistxattr.S
index 8d13da8..a5ab636 100644
--- a/libc/arch-x86/syscalls/llistxattr.S
+++ b/libc/arch-x86/syscalls/llistxattr.S
@@ -23,7 +23,6 @@ ENTRY(llistxattr)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/lremovexattr.S b/libc/arch-x86/syscalls/lremovexattr.S
index 9dab0a3..508abba 100644
--- a/libc/arch-x86/syscalls/lremovexattr.S
+++ b/libc/arch-x86/syscalls/lremovexattr.S
@@ -19,7 +19,6 @@ ENTRY(lremovexattr)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/lseek.S b/libc/arch-x86/syscalls/lseek.S
index 2d03f46..5f77831 100644
--- a/libc/arch-x86/syscalls/lseek.S
+++ b/libc/arch-x86/syscalls/lseek.S
@@ -23,7 +23,6 @@ ENTRY(lseek)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/lsetxattr.S b/libc/arch-x86/syscalls/lsetxattr.S
index 1452298..d878684 100644
--- a/libc/arch-x86/syscalls/lsetxattr.S
+++ b/libc/arch-x86/syscalls/lsetxattr.S
@@ -31,7 +31,6 @@ ENTRY(lsetxattr)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edi
popl %esi
diff --git a/libc/arch-x86/syscalls/madvise.S b/libc/arch-x86/syscalls/madvise.S
index fd4af11..3e8c7fd 100644
--- a/libc/arch-x86/syscalls/madvise.S
+++ b/libc/arch-x86/syscalls/madvise.S
@@ -23,7 +23,6 @@ ENTRY(madvise)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/mincore.S b/libc/arch-x86/syscalls/mincore.S
index 01eb519..7096f6c 100644
--- a/libc/arch-x86/syscalls/mincore.S
+++ b/libc/arch-x86/syscalls/mincore.S
@@ -23,7 +23,6 @@ ENTRY(mincore)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/mkdirat.S b/libc/arch-x86/syscalls/mkdirat.S
index b022838..862a18c 100644
--- a/libc/arch-x86/syscalls/mkdirat.S
+++ b/libc/arch-x86/syscalls/mkdirat.S
@@ -23,7 +23,6 @@ ENTRY(mkdirat)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/mknodat.S b/libc/arch-x86/syscalls/mknodat.S
index 233c0b2..e03ba42 100644
--- a/libc/arch-x86/syscalls/mknodat.S
+++ b/libc/arch-x86/syscalls/mknodat.S
@@ -27,7 +27,6 @@ ENTRY(mknodat)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/mlock.S b/libc/arch-x86/syscalls/mlock.S
index fb4641f..f582f77 100644
--- a/libc/arch-x86/syscalls/mlock.S
+++ b/libc/arch-x86/syscalls/mlock.S
@@ -19,7 +19,6 @@ ENTRY(mlock)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/mlockall.S b/libc/arch-x86/syscalls/mlockall.S
index 9403351..becca81 100644
--- a/libc/arch-x86/syscalls/mlockall.S
+++ b/libc/arch-x86/syscalls/mlockall.S
@@ -15,7 +15,6 @@ ENTRY(mlockall)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebx
ret
diff --git a/libc/arch-x86/syscalls/mount.S b/libc/arch-x86/syscalls/mount.S
index d99f5f4..7be2811 100644
--- a/libc/arch-x86/syscalls/mount.S
+++ b/libc/arch-x86/syscalls/mount.S
@@ -31,7 +31,6 @@ ENTRY(mount)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edi
popl %esi
diff --git a/libc/arch-x86/syscalls/mprotect.S b/libc/arch-x86/syscalls/mprotect.S
index 3205f83..0516c45 100644
--- a/libc/arch-x86/syscalls/mprotect.S
+++ b/libc/arch-x86/syscalls/mprotect.S
@@ -23,7 +23,6 @@ ENTRY(mprotect)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/mremap.S b/libc/arch-x86/syscalls/mremap.S
index 2b20079..42e75ce 100644
--- a/libc/arch-x86/syscalls/mremap.S
+++ b/libc/arch-x86/syscalls/mremap.S
@@ -27,7 +27,6 @@ ENTRY(mremap)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/msync.S b/libc/arch-x86/syscalls/msync.S
index 339e381..66722f2 100644
--- a/libc/arch-x86/syscalls/msync.S
+++ b/libc/arch-x86/syscalls/msync.S
@@ -23,7 +23,6 @@ ENTRY(msync)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/munlock.S b/libc/arch-x86/syscalls/munlock.S
index 5fb29cb..2fc3aa7 100644
--- a/libc/arch-x86/syscalls/munlock.S
+++ b/libc/arch-x86/syscalls/munlock.S
@@ -19,7 +19,6 @@ ENTRY(munlock)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/munlockall.S b/libc/arch-x86/syscalls/munlockall.S
index 238f812..1bc99ea 100644
--- a/libc/arch-x86/syscalls/munlockall.S
+++ b/libc/arch-x86/syscalls/munlockall.S
@@ -11,7 +11,6 @@ ENTRY(munlockall)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
ret
END(munlockall)
diff --git a/libc/arch-x86/syscalls/munmap.S b/libc/arch-x86/syscalls/munmap.S
index 2d348db..878aae7 100644
--- a/libc/arch-x86/syscalls/munmap.S
+++ b/libc/arch-x86/syscalls/munmap.S
@@ -19,7 +19,6 @@ ENTRY(munmap)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/nanosleep.S b/libc/arch-x86/syscalls/nanosleep.S
index 9d8ae9d..fe8af90 100644
--- a/libc/arch-x86/syscalls/nanosleep.S
+++ b/libc/arch-x86/syscalls/nanosleep.S
@@ -19,7 +19,6 @@ ENTRY(nanosleep)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/personality.S b/libc/arch-x86/syscalls/personality.S
index 412bbed..8c8e0ff 100644
--- a/libc/arch-x86/syscalls/personality.S
+++ b/libc/arch-x86/syscalls/personality.S
@@ -15,7 +15,6 @@ ENTRY(personality)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebx
ret
diff --git a/libc/arch-x86/syscalls/pipe2.S b/libc/arch-x86/syscalls/pipe2.S
index bfe03a2..99c4e8b 100644
--- a/libc/arch-x86/syscalls/pipe2.S
+++ b/libc/arch-x86/syscalls/pipe2.S
@@ -19,7 +19,6 @@ ENTRY(pipe2)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/prctl.S b/libc/arch-x86/syscalls/prctl.S
index fca343f..63ec899 100644
--- a/libc/arch-x86/syscalls/prctl.S
+++ b/libc/arch-x86/syscalls/prctl.S
@@ -31,7 +31,6 @@ ENTRY(prctl)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edi
popl %esi
diff --git a/libc/arch-x86/syscalls/pread64.S b/libc/arch-x86/syscalls/pread64.S
index 6cf4e4b..6b3c8ad 100644
--- a/libc/arch-x86/syscalls/pread64.S
+++ b/libc/arch-x86/syscalls/pread64.S
@@ -31,7 +31,6 @@ ENTRY(pread64)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edi
popl %esi
diff --git a/libc/arch-x86/syscalls/prlimit64.S b/libc/arch-x86/syscalls/prlimit64.S
index 65316a7..6aa875f 100644
--- a/libc/arch-x86/syscalls/prlimit64.S
+++ b/libc/arch-x86/syscalls/prlimit64.S
@@ -27,7 +27,6 @@ ENTRY(prlimit64)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/pwrite64.S b/libc/arch-x86/syscalls/pwrite64.S
index cccea8b..7d53095 100644
--- a/libc/arch-x86/syscalls/pwrite64.S
+++ b/libc/arch-x86/syscalls/pwrite64.S
@@ -31,7 +31,6 @@ ENTRY(pwrite64)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edi
popl %esi
diff --git a/libc/arch-x86/syscalls/read.S b/libc/arch-x86/syscalls/read.S
index f80db31..9814c8f 100644
--- a/libc/arch-x86/syscalls/read.S
+++ b/libc/arch-x86/syscalls/read.S
@@ -23,7 +23,6 @@ ENTRY(read)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/readahead.S b/libc/arch-x86/syscalls/readahead.S
index f53769a..49a17d0 100644
--- a/libc/arch-x86/syscalls/readahead.S
+++ b/libc/arch-x86/syscalls/readahead.S
@@ -27,7 +27,6 @@ ENTRY(readahead)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/readlinkat.S b/libc/arch-x86/syscalls/readlinkat.S
index 229dafe..1a161c0 100644
--- a/libc/arch-x86/syscalls/readlinkat.S
+++ b/libc/arch-x86/syscalls/readlinkat.S
@@ -27,7 +27,6 @@ ENTRY(readlinkat)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/readv.S b/libc/arch-x86/syscalls/readv.S
index 8cb01a0..8b5ff41 100644
--- a/libc/arch-x86/syscalls/readv.S
+++ b/libc/arch-x86/syscalls/readv.S
@@ -23,7 +23,6 @@ ENTRY(readv)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/recvfrom.S b/libc/arch-x86/syscalls/recvfrom.S
index dd99a09..53d08f6 100644
--- a/libc/arch-x86/syscalls/recvfrom.S
+++ b/libc/arch-x86/syscalls/recvfrom.S
@@ -20,7 +20,6 @@ ENTRY(recvfrom)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/recvmmsg.S b/libc/arch-x86/syscalls/recvmmsg.S
index f916fcd..3ef8740 100644
--- a/libc/arch-x86/syscalls/recvmmsg.S
+++ b/libc/arch-x86/syscalls/recvmmsg.S
@@ -20,7 +20,6 @@ ENTRY(recvmmsg)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/recvmsg.S b/libc/arch-x86/syscalls/recvmsg.S
index 12dad28..150672d 100644
--- a/libc/arch-x86/syscalls/recvmsg.S
+++ b/libc/arch-x86/syscalls/recvmsg.S
@@ -20,7 +20,6 @@ ENTRY(recvmsg)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/removexattr.S b/libc/arch-x86/syscalls/removexattr.S
index 3974a07..e7c55eb 100644
--- a/libc/arch-x86/syscalls/removexattr.S
+++ b/libc/arch-x86/syscalls/removexattr.S
@@ -19,7 +19,6 @@ ENTRY(removexattr)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/renameat.S b/libc/arch-x86/syscalls/renameat.S
index 2982f51..5dfe65f 100644
--- a/libc/arch-x86/syscalls/renameat.S
+++ b/libc/arch-x86/syscalls/renameat.S
@@ -27,7 +27,6 @@ ENTRY(renameat)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/sched_get_priority_max.S b/libc/arch-x86/syscalls/sched_get_priority_max.S
index 3205c72..d8debe2 100644
--- a/libc/arch-x86/syscalls/sched_get_priority_max.S
+++ b/libc/arch-x86/syscalls/sched_get_priority_max.S
@@ -15,7 +15,6 @@ ENTRY(sched_get_priority_max)
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
index 39c4d2c..e9689fa 100644
--- a/libc/arch-x86/syscalls/sched_get_priority_min.S
+++ b/libc/arch-x86/syscalls/sched_get_priority_min.S
@@ -15,7 +15,6 @@ ENTRY(sched_get_priority_min)
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
index 47cb4af..6b5e7c8 100644
--- a/libc/arch-x86/syscalls/sched_getparam.S
+++ b/libc/arch-x86/syscalls/sched_getparam.S
@@ -19,7 +19,6 @@ ENTRY(sched_getparam)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/sched_getscheduler.S b/libc/arch-x86/syscalls/sched_getscheduler.S
index 07fbe6b..a2c5746 100644
--- a/libc/arch-x86/syscalls/sched_getscheduler.S
+++ b/libc/arch-x86/syscalls/sched_getscheduler.S
@@ -15,7 +15,6 @@ ENTRY(sched_getscheduler)
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
index e7a1038..f8012f3 100644
--- a/libc/arch-x86/syscalls/sched_rr_get_interval.S
+++ b/libc/arch-x86/syscalls/sched_rr_get_interval.S
@@ -19,7 +19,6 @@ ENTRY(sched_rr_get_interval)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/sched_setaffinity.S b/libc/arch-x86/syscalls/sched_setaffinity.S
index bb35259..76013f9 100644
--- a/libc/arch-x86/syscalls/sched_setaffinity.S
+++ b/libc/arch-x86/syscalls/sched_setaffinity.S
@@ -23,7 +23,6 @@ ENTRY(sched_setaffinity)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/sched_setparam.S b/libc/arch-x86/syscalls/sched_setparam.S
index 3e93c4c..aca4bd9 100644
--- a/libc/arch-x86/syscalls/sched_setparam.S
+++ b/libc/arch-x86/syscalls/sched_setparam.S
@@ -19,7 +19,6 @@ ENTRY(sched_setparam)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/sched_setscheduler.S b/libc/arch-x86/syscalls/sched_setscheduler.S
index fcabf12..fad72c6 100644
--- a/libc/arch-x86/syscalls/sched_setscheduler.S
+++ b/libc/arch-x86/syscalls/sched_setscheduler.S
@@ -23,7 +23,6 @@ ENTRY(sched_setscheduler)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/sched_yield.S b/libc/arch-x86/syscalls/sched_yield.S
index a8b22e3..8b4a9be 100644
--- a/libc/arch-x86/syscalls/sched_yield.S
+++ b/libc/arch-x86/syscalls/sched_yield.S
@@ -15,7 +15,6 @@ ENTRY(sched_yield)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebx
ret
diff --git a/libc/arch-x86/syscalls/sendfile.S b/libc/arch-x86/syscalls/sendfile.S
index 30bf3ad..7bd86d0 100644
--- a/libc/arch-x86/syscalls/sendfile.S
+++ b/libc/arch-x86/syscalls/sendfile.S
@@ -27,7 +27,6 @@ ENTRY(sendfile)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/sendfile64.S b/libc/arch-x86/syscalls/sendfile64.S
index 5a7f2bb..bd76043 100644
--- a/libc/arch-x86/syscalls/sendfile64.S
+++ b/libc/arch-x86/syscalls/sendfile64.S
@@ -27,7 +27,6 @@ ENTRY(sendfile64)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/sendmmsg.S b/libc/arch-x86/syscalls/sendmmsg.S
index 09a3292..4bc3c40 100644
--- a/libc/arch-x86/syscalls/sendmmsg.S
+++ b/libc/arch-x86/syscalls/sendmmsg.S
@@ -20,7 +20,6 @@ ENTRY(sendmmsg)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/sendmsg.S b/libc/arch-x86/syscalls/sendmsg.S
index eaf7fb3..eb8fc63 100644
--- a/libc/arch-x86/syscalls/sendmsg.S
+++ b/libc/arch-x86/syscalls/sendmsg.S
@@ -20,7 +20,6 @@ ENTRY(sendmsg)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/sendto.S b/libc/arch-x86/syscalls/sendto.S
index 0cf5e0a..8cb72c8 100644
--- a/libc/arch-x86/syscalls/sendto.S
+++ b/libc/arch-x86/syscalls/sendto.S
@@ -20,7 +20,6 @@ ENTRY(sendto)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/setgid.S b/libc/arch-x86/syscalls/setgid.S
index b0b7185..baa1b1a 100644
--- a/libc/arch-x86/syscalls/setgid.S
+++ b/libc/arch-x86/syscalls/setgid.S
@@ -15,7 +15,6 @@ ENTRY(setgid)
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
index be227ca..364aaad 100644
--- a/libc/arch-x86/syscalls/setgroups.S
+++ b/libc/arch-x86/syscalls/setgroups.S
@@ -19,7 +19,6 @@ ENTRY(setgroups)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/setitimer.S b/libc/arch-x86/syscalls/setitimer.S
index 4a323da..409c4c6 100644
--- a/libc/arch-x86/syscalls/setitimer.S
+++ b/libc/arch-x86/syscalls/setitimer.S
@@ -23,7 +23,6 @@ ENTRY(setitimer)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/setns.S b/libc/arch-x86/syscalls/setns.S
index fa69b4a..ddbe758 100644
--- a/libc/arch-x86/syscalls/setns.S
+++ b/libc/arch-x86/syscalls/setns.S
@@ -19,7 +19,6 @@ ENTRY(setns)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/setpgid.S b/libc/arch-x86/syscalls/setpgid.S
index eba780c..ac1b12d 100644
--- a/libc/arch-x86/syscalls/setpgid.S
+++ b/libc/arch-x86/syscalls/setpgid.S
@@ -19,7 +19,6 @@ ENTRY(setpgid)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/setpriority.S b/libc/arch-x86/syscalls/setpriority.S
index 5ea0519..93c1e07 100644
--- a/libc/arch-x86/syscalls/setpriority.S
+++ b/libc/arch-x86/syscalls/setpriority.S
@@ -23,7 +23,6 @@ ENTRY(setpriority)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/setregid.S b/libc/arch-x86/syscalls/setregid.S
index ae5bfca..0ecfa9a 100644
--- a/libc/arch-x86/syscalls/setregid.S
+++ b/libc/arch-x86/syscalls/setregid.S
@@ -19,7 +19,6 @@ ENTRY(setregid)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/setresgid.S b/libc/arch-x86/syscalls/setresgid.S
index 64b5f7e..a6914c4 100644
--- a/libc/arch-x86/syscalls/setresgid.S
+++ b/libc/arch-x86/syscalls/setresgid.S
@@ -23,7 +23,6 @@ ENTRY(setresgid)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/setresuid.S b/libc/arch-x86/syscalls/setresuid.S
index 2a29fa5..c33c1ca 100644
--- a/libc/arch-x86/syscalls/setresuid.S
+++ b/libc/arch-x86/syscalls/setresuid.S
@@ -23,7 +23,6 @@ ENTRY(setresuid)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/setreuid.S b/libc/arch-x86/syscalls/setreuid.S
index 200a83a..4244988 100644
--- a/libc/arch-x86/syscalls/setreuid.S
+++ b/libc/arch-x86/syscalls/setreuid.S
@@ -19,7 +19,6 @@ ENTRY(setreuid)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/setrlimit.S b/libc/arch-x86/syscalls/setrlimit.S
index 64a46c0..3e86504 100644
--- a/libc/arch-x86/syscalls/setrlimit.S
+++ b/libc/arch-x86/syscalls/setrlimit.S
@@ -19,7 +19,6 @@ ENTRY(setrlimit)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/setsid.S b/libc/arch-x86/syscalls/setsid.S
index 382ad0c..398c110 100644
--- a/libc/arch-x86/syscalls/setsid.S
+++ b/libc/arch-x86/syscalls/setsid.S
@@ -11,7 +11,6 @@ ENTRY(setsid)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
ret
END(setsid)
diff --git a/libc/arch-x86/syscalls/setsockopt.S b/libc/arch-x86/syscalls/setsockopt.S
index e57c9d2..6ef168f 100644
--- a/libc/arch-x86/syscalls/setsockopt.S
+++ b/libc/arch-x86/syscalls/setsockopt.S
@@ -20,7 +20,6 @@ ENTRY(setsockopt)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/settimeofday.S b/libc/arch-x86/syscalls/settimeofday.S
index 4b2eca9..37e11c5 100644
--- a/libc/arch-x86/syscalls/settimeofday.S
+++ b/libc/arch-x86/syscalls/settimeofday.S
@@ -19,7 +19,6 @@ ENTRY(settimeofday)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/setuid.S b/libc/arch-x86/syscalls/setuid.S
index cf10ad6..fcea66d 100644
--- a/libc/arch-x86/syscalls/setuid.S
+++ b/libc/arch-x86/syscalls/setuid.S
@@ -15,7 +15,6 @@ ENTRY(setuid)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebx
ret
diff --git a/libc/arch-x86/syscalls/setxattr.S b/libc/arch-x86/syscalls/setxattr.S
index 5edba2d..d6473cd 100644
--- a/libc/arch-x86/syscalls/setxattr.S
+++ b/libc/arch-x86/syscalls/setxattr.S
@@ -31,7 +31,6 @@ ENTRY(setxattr)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edi
popl %esi
diff --git a/libc/arch-x86/syscalls/shutdown.S b/libc/arch-x86/syscalls/shutdown.S
index f1d606a..32fa17a 100644
--- a/libc/arch-x86/syscalls/shutdown.S
+++ b/libc/arch-x86/syscalls/shutdown.S
@@ -20,7 +20,6 @@ ENTRY(shutdown)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/sigaltstack.S b/libc/arch-x86/syscalls/sigaltstack.S
index 64872df..6882a78 100644
--- a/libc/arch-x86/syscalls/sigaltstack.S
+++ b/libc/arch-x86/syscalls/sigaltstack.S
@@ -19,7 +19,6 @@ ENTRY(sigaltstack)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/socketpair.S b/libc/arch-x86/syscalls/socketpair.S
index 4027752..945faa0 100644
--- a/libc/arch-x86/syscalls/socketpair.S
+++ b/libc/arch-x86/syscalls/socketpair.S
@@ -20,7 +20,6 @@ ENTRY(socketpair)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/swapoff.S b/libc/arch-x86/syscalls/swapoff.S
index 1657e64..0e21033 100644
--- a/libc/arch-x86/syscalls/swapoff.S
+++ b/libc/arch-x86/syscalls/swapoff.S
@@ -15,7 +15,6 @@ ENTRY(swapoff)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebx
ret
diff --git a/libc/arch-x86/syscalls/swapon.S b/libc/arch-x86/syscalls/swapon.S
index 16d0617..a4d5e03 100644
--- a/libc/arch-x86/syscalls/swapon.S
+++ b/libc/arch-x86/syscalls/swapon.S
@@ -19,7 +19,6 @@ ENTRY(swapon)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/symlinkat.S b/libc/arch-x86/syscalls/symlinkat.S
index 78f9fa7..618f5d8 100644
--- a/libc/arch-x86/syscalls/symlinkat.S
+++ b/libc/arch-x86/syscalls/symlinkat.S
@@ -23,7 +23,6 @@ ENTRY(symlinkat)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/sync.S b/libc/arch-x86/syscalls/sync.S
index a0cf66f..a1f1782 100644
--- a/libc/arch-x86/syscalls/sync.S
+++ b/libc/arch-x86/syscalls/sync.S
@@ -15,7 +15,6 @@ ENTRY(sync)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebx
ret
diff --git a/libc/arch-x86/syscalls/sysinfo.S b/libc/arch-x86/syscalls/sysinfo.S
index 1619edb..c3eabb0 100644
--- a/libc/arch-x86/syscalls/sysinfo.S
+++ b/libc/arch-x86/syscalls/sysinfo.S
@@ -15,7 +15,6 @@ ENTRY(sysinfo)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebx
ret
diff --git a/libc/arch-x86/syscalls/tgkill.S b/libc/arch-x86/syscalls/tgkill.S
index 69ffdf8..385827b 100644
--- a/libc/arch-x86/syscalls/tgkill.S
+++ b/libc/arch-x86/syscalls/tgkill.S
@@ -23,7 +23,6 @@ ENTRY(tgkill)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/timerfd_create.S b/libc/arch-x86/syscalls/timerfd_create.S
index c0bc5b5..343195e 100644
--- a/libc/arch-x86/syscalls/timerfd_create.S
+++ b/libc/arch-x86/syscalls/timerfd_create.S
@@ -19,7 +19,6 @@ ENTRY(timerfd_create)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/timerfd_gettime.S b/libc/arch-x86/syscalls/timerfd_gettime.S
index 5dd7ad7..9b3a314 100644
--- a/libc/arch-x86/syscalls/timerfd_gettime.S
+++ b/libc/arch-x86/syscalls/timerfd_gettime.S
@@ -19,7 +19,6 @@ ENTRY(timerfd_gettime)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/timerfd_settime.S b/libc/arch-x86/syscalls/timerfd_settime.S
index bb027df..819b723 100644
--- a/libc/arch-x86/syscalls/timerfd_settime.S
+++ b/libc/arch-x86/syscalls/timerfd_settime.S
@@ -27,7 +27,6 @@ ENTRY(timerfd_settime)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/times.S b/libc/arch-x86/syscalls/times.S
index 075750d..f5739d3 100644
--- a/libc/arch-x86/syscalls/times.S
+++ b/libc/arch-x86/syscalls/times.S
@@ -15,7 +15,6 @@ ENTRY(times)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebx
ret
diff --git a/libc/arch-x86/syscalls/truncate.S b/libc/arch-x86/syscalls/truncate.S
index 9270a53..427f95f 100644
--- a/libc/arch-x86/syscalls/truncate.S
+++ b/libc/arch-x86/syscalls/truncate.S
@@ -19,7 +19,6 @@ ENTRY(truncate)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/truncate64.S b/libc/arch-x86/syscalls/truncate64.S
index 89c2c4a..2c49751 100644
--- a/libc/arch-x86/syscalls/truncate64.S
+++ b/libc/arch-x86/syscalls/truncate64.S
@@ -23,7 +23,6 @@ ENTRY(truncate64)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/umask.S b/libc/arch-x86/syscalls/umask.S
index 81df64d..3affc8d 100644
--- a/libc/arch-x86/syscalls/umask.S
+++ b/libc/arch-x86/syscalls/umask.S
@@ -15,7 +15,6 @@ ENTRY(umask)
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
index cd21623..d2b3549 100644
--- a/libc/arch-x86/syscalls/umount2.S
+++ b/libc/arch-x86/syscalls/umount2.S
@@ -19,7 +19,6 @@ ENTRY(umount2)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ecx
popl %ebx
diff --git a/libc/arch-x86/syscalls/uname.S b/libc/arch-x86/syscalls/uname.S
index 9d65e85..e996805 100644
--- a/libc/arch-x86/syscalls/uname.S
+++ b/libc/arch-x86/syscalls/uname.S
@@ -15,7 +15,6 @@ ENTRY(uname)
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
index 68bf05b..6417d2b 100644
--- a/libc/arch-x86/syscalls/unlinkat.S
+++ b/libc/arch-x86/syscalls/unlinkat.S
@@ -23,7 +23,6 @@ ENTRY(unlinkat)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/unshare.S b/libc/arch-x86/syscalls/unshare.S
index 7e48cb1..a289d4d 100644
--- a/libc/arch-x86/syscalls/unshare.S
+++ b/libc/arch-x86/syscalls/unshare.S
@@ -15,7 +15,6 @@ ENTRY(unshare)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %ebx
ret
diff --git a/libc/arch-x86/syscalls/utimensat.S b/libc/arch-x86/syscalls/utimensat.S
index 4b2a9b6..d8c9080 100644
--- a/libc/arch-x86/syscalls/utimensat.S
+++ b/libc/arch-x86/syscalls/utimensat.S
@@ -27,7 +27,6 @@ ENTRY(utimensat)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/wait4.S b/libc/arch-x86/syscalls/wait4.S
index bd4bd50..fda75c0 100644
--- a/libc/arch-x86/syscalls/wait4.S
+++ b/libc/arch-x86/syscalls/wait4.S
@@ -27,7 +27,6 @@ ENTRY(wait4)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %esi
popl %edx
diff --git a/libc/arch-x86/syscalls/write.S b/libc/arch-x86/syscalls/write.S
index a464196..115974e 100644
--- a/libc/arch-x86/syscalls/write.S
+++ b/libc/arch-x86/syscalls/write.S
@@ -23,7 +23,6 @@ ENTRY(write)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx
diff --git a/libc/arch-x86/syscalls/writev.S b/libc/arch-x86/syscalls/writev.S
index da9ae7c..77e5cd1 100644
--- a/libc/arch-x86/syscalls/writev.S
+++ b/libc/arch-x86/syscalls/writev.S
@@ -23,7 +23,6 @@ ENTRY(writev)
pushl %eax
call __set_errno
addl $4, %esp
- orl $-1, %eax
1:
popl %edx
popl %ecx