From 15a0456d0b7618554ed3d49287e77b6d43a2812a Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 5 Jun 2014 17:24:30 -0700 Subject: [PATCH] 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 --- libc/arch-x86/bionic/__bionic_clone.S | 1 - libc/arch-x86/bionic/syscall.S | 1 - libc/arch-x86/bionic/vfork.S | 3 +-- libc/arch-x86/syscalls/__accept4.S | 1 - libc/arch-x86/syscalls/__brk.S | 1 - libc/arch-x86/syscalls/__connect.S | 1 - libc/arch-x86/syscalls/__epoll_pwait.S | 1 - libc/arch-x86/syscalls/__exit.S | 1 - libc/arch-x86/syscalls/__fcntl64.S | 1 - libc/arch-x86/syscalls/__fstatfs64.S | 1 - libc/arch-x86/syscalls/__getcpu.S | 1 - libc/arch-x86/syscalls/__getcwd.S | 1 - libc/arch-x86/syscalls/__getpriority.S | 1 - libc/arch-x86/syscalls/__ioctl.S | 1 - libc/arch-x86/syscalls/__llseek.S | 1 - libc/arch-x86/syscalls/__mmap2.S | 1 - libc/arch-x86/syscalls/__openat.S | 1 - libc/arch-x86/syscalls/__ppoll.S | 1 - libc/arch-x86/syscalls/__pselect6.S | 1 - libc/arch-x86/syscalls/__ptrace.S | 1 - libc/arch-x86/syscalls/__reboot.S | 1 - libc/arch-x86/syscalls/__rt_sigaction.S | 1 - libc/arch-x86/syscalls/__rt_sigpending.S | 1 - libc/arch-x86/syscalls/__rt_sigprocmask.S | 1 - libc/arch-x86/syscalls/__rt_sigsuspend.S | 1 - libc/arch-x86/syscalls/__rt_sigtimedwait.S | 1 - libc/arch-x86/syscalls/__sched_getaffinity.S | 1 - libc/arch-x86/syscalls/__set_thread_area.S | 1 - libc/arch-x86/syscalls/__set_tid_address.S | 1 - libc/arch-x86/syscalls/__sigaction.S | 1 - libc/arch-x86/syscalls/__signalfd4.S | 1 - libc/arch-x86/syscalls/__socket.S | 1 - libc/arch-x86/syscalls/__statfs64.S | 1 - libc/arch-x86/syscalls/__timer_create.S | 1 - libc/arch-x86/syscalls/__timer_delete.S | 1 - libc/arch-x86/syscalls/__timer_getoverrun.S | 1 - libc/arch-x86/syscalls/__timer_gettime.S | 1 - libc/arch-x86/syscalls/__timer_settime.S | 1 - libc/arch-x86/syscalls/__waitid.S | 1 - libc/arch-x86/syscalls/_exit.S | 1 - libc/arch-x86/syscalls/acct.S | 1 - libc/arch-x86/syscalls/bind.S | 1 - libc/arch-x86/syscalls/capget.S | 1 - libc/arch-x86/syscalls/capset.S | 1 - libc/arch-x86/syscalls/chdir.S | 1 - libc/arch-x86/syscalls/chroot.S | 1 - libc/arch-x86/syscalls/clock_getres.S | 1 - libc/arch-x86/syscalls/clock_gettime.S | 1 - libc/arch-x86/syscalls/clock_nanosleep.S | 1 - libc/arch-x86/syscalls/clock_settime.S | 1 - libc/arch-x86/syscalls/close.S | 1 - libc/arch-x86/syscalls/delete_module.S | 1 - libc/arch-x86/syscalls/dup.S | 1 - libc/arch-x86/syscalls/dup3.S | 1 - libc/arch-x86/syscalls/epoll_create1.S | 1 - libc/arch-x86/syscalls/epoll_ctl.S | 1 - libc/arch-x86/syscalls/eventfd.S | 1 - libc/arch-x86/syscalls/execve.S | 1 - libc/arch-x86/syscalls/faccessat.S | 1 - libc/arch-x86/syscalls/fallocate64.S | 1 - libc/arch-x86/syscalls/fchdir.S | 1 - libc/arch-x86/syscalls/fchmod.S | 1 - libc/arch-x86/syscalls/fchmodat.S | 1 - libc/arch-x86/syscalls/fchown.S | 1 - libc/arch-x86/syscalls/fchownat.S | 1 - libc/arch-x86/syscalls/fdatasync.S | 1 - libc/arch-x86/syscalls/fgetxattr.S | 1 - libc/arch-x86/syscalls/flistxattr.S | 1 - libc/arch-x86/syscalls/flock.S | 1 - libc/arch-x86/syscalls/fremovexattr.S | 1 - libc/arch-x86/syscalls/fsetxattr.S | 1 - libc/arch-x86/syscalls/fstat64.S | 1 - libc/arch-x86/syscalls/fstatat64.S | 1 - libc/arch-x86/syscalls/fsync.S | 1 - libc/arch-x86/syscalls/ftruncate.S | 1 - libc/arch-x86/syscalls/ftruncate64.S | 1 - libc/arch-x86/syscalls/getdents.S | 1 - libc/arch-x86/syscalls/getegid.S | 1 - libc/arch-x86/syscalls/geteuid.S | 1 - libc/arch-x86/syscalls/getgid.S | 1 - libc/arch-x86/syscalls/getgroups.S | 1 - libc/arch-x86/syscalls/getitimer.S | 1 - libc/arch-x86/syscalls/getpeername.S | 1 - libc/arch-x86/syscalls/getpgid.S | 1 - libc/arch-x86/syscalls/getpid.S | 1 - libc/arch-x86/syscalls/getppid.S | 1 - libc/arch-x86/syscalls/getresgid.S | 1 - libc/arch-x86/syscalls/getresuid.S | 1 - libc/arch-x86/syscalls/getrlimit.S | 1 - libc/arch-x86/syscalls/getrusage.S | 1 - libc/arch-x86/syscalls/getsid.S | 1 - libc/arch-x86/syscalls/getsockname.S | 1 - libc/arch-x86/syscalls/getsockopt.S | 1 - libc/arch-x86/syscalls/gettimeofday.S | 1 - libc/arch-x86/syscalls/getuid.S | 1 - libc/arch-x86/syscalls/getxattr.S | 1 - libc/arch-x86/syscalls/init_module.S | 1 - libc/arch-x86/syscalls/inotify_add_watch.S | 1 - libc/arch-x86/syscalls/inotify_init1.S | 1 - libc/arch-x86/syscalls/inotify_rm_watch.S | 1 - libc/arch-x86/syscalls/ioprio_get.S | 1 - libc/arch-x86/syscalls/ioprio_set.S | 1 - libc/arch-x86/syscalls/kill.S | 1 - libc/arch-x86/syscalls/klogctl.S | 1 - libc/arch-x86/syscalls/lgetxattr.S | 1 - libc/arch-x86/syscalls/linkat.S | 1 - libc/arch-x86/syscalls/listen.S | 1 - libc/arch-x86/syscalls/listxattr.S | 1 - libc/arch-x86/syscalls/llistxattr.S | 1 - libc/arch-x86/syscalls/lremovexattr.S | 1 - libc/arch-x86/syscalls/lseek.S | 1 - libc/arch-x86/syscalls/lsetxattr.S | 1 - libc/arch-x86/syscalls/madvise.S | 1 - libc/arch-x86/syscalls/mincore.S | 1 - libc/arch-x86/syscalls/mkdirat.S | 1 - libc/arch-x86/syscalls/mknodat.S | 1 - libc/arch-x86/syscalls/mlock.S | 1 - libc/arch-x86/syscalls/mlockall.S | 1 - libc/arch-x86/syscalls/mount.S | 1 - libc/arch-x86/syscalls/mprotect.S | 1 - libc/arch-x86/syscalls/mremap.S | 1 - libc/arch-x86/syscalls/msync.S | 1 - libc/arch-x86/syscalls/munlock.S | 1 - libc/arch-x86/syscalls/munlockall.S | 1 - libc/arch-x86/syscalls/munmap.S | 1 - libc/arch-x86/syscalls/nanosleep.S | 1 - libc/arch-x86/syscalls/personality.S | 1 - libc/arch-x86/syscalls/pipe2.S | 1 - libc/arch-x86/syscalls/prctl.S | 1 - libc/arch-x86/syscalls/pread64.S | 1 - libc/arch-x86/syscalls/prlimit64.S | 1 - libc/arch-x86/syscalls/pwrite64.S | 1 - libc/arch-x86/syscalls/read.S | 1 - libc/arch-x86/syscalls/readahead.S | 1 - libc/arch-x86/syscalls/readlinkat.S | 1 - libc/arch-x86/syscalls/readv.S | 1 - libc/arch-x86/syscalls/recvfrom.S | 1 - libc/arch-x86/syscalls/recvmmsg.S | 1 - libc/arch-x86/syscalls/recvmsg.S | 1 - libc/arch-x86/syscalls/removexattr.S | 1 - libc/arch-x86/syscalls/renameat.S | 1 - libc/arch-x86/syscalls/sched_get_priority_max.S | 1 - libc/arch-x86/syscalls/sched_get_priority_min.S | 1 - libc/arch-x86/syscalls/sched_getparam.S | 1 - libc/arch-x86/syscalls/sched_getscheduler.S | 1 - libc/arch-x86/syscalls/sched_rr_get_interval.S | 1 - libc/arch-x86/syscalls/sched_setaffinity.S | 1 - libc/arch-x86/syscalls/sched_setparam.S | 1 - libc/arch-x86/syscalls/sched_setscheduler.S | 1 - libc/arch-x86/syscalls/sched_yield.S | 1 - libc/arch-x86/syscalls/sendfile.S | 1 - libc/arch-x86/syscalls/sendfile64.S | 1 - libc/arch-x86/syscalls/sendmmsg.S | 1 - libc/arch-x86/syscalls/sendmsg.S | 1 - libc/arch-x86/syscalls/sendto.S | 1 - libc/arch-x86/syscalls/setgid.S | 1 - libc/arch-x86/syscalls/setgroups.S | 1 - libc/arch-x86/syscalls/setitimer.S | 1 - libc/arch-x86/syscalls/setns.S | 1 - libc/arch-x86/syscalls/setpgid.S | 1 - libc/arch-x86/syscalls/setpriority.S | 1 - libc/arch-x86/syscalls/setregid.S | 1 - libc/arch-x86/syscalls/setresgid.S | 1 - libc/arch-x86/syscalls/setresuid.S | 1 - libc/arch-x86/syscalls/setreuid.S | 1 - libc/arch-x86/syscalls/setrlimit.S | 1 - libc/arch-x86/syscalls/setsid.S | 1 - libc/arch-x86/syscalls/setsockopt.S | 1 - libc/arch-x86/syscalls/settimeofday.S | 1 - libc/arch-x86/syscalls/setuid.S | 1 - libc/arch-x86/syscalls/setxattr.S | 1 - libc/arch-x86/syscalls/shutdown.S | 1 - libc/arch-x86/syscalls/sigaltstack.S | 1 - libc/arch-x86/syscalls/socketpair.S | 1 - libc/arch-x86/syscalls/swapoff.S | 1 - libc/arch-x86/syscalls/swapon.S | 1 - libc/arch-x86/syscalls/symlinkat.S | 1 - libc/arch-x86/syscalls/sync.S | 1 - libc/arch-x86/syscalls/sysinfo.S | 1 - libc/arch-x86/syscalls/tgkill.S | 1 - libc/arch-x86/syscalls/timerfd_create.S | 1 - libc/arch-x86/syscalls/timerfd_gettime.S | 1 - libc/arch-x86/syscalls/timerfd_settime.S | 1 - libc/arch-x86/syscalls/times.S | 1 - libc/arch-x86/syscalls/truncate.S | 1 - libc/arch-x86/syscalls/truncate64.S | 1 - libc/arch-x86/syscalls/umask.S | 1 - libc/arch-x86/syscalls/umount2.S | 1 - libc/arch-x86/syscalls/uname.S | 1 - libc/arch-x86/syscalls/unlinkat.S | 1 - libc/arch-x86/syscalls/unshare.S | 1 - libc/arch-x86/syscalls/utimensat.S | 1 - libc/arch-x86/syscalls/wait4.S | 1 - libc/arch-x86/syscalls/write.S | 1 - libc/arch-x86/syscalls/writev.S | 1 - libc/arch-x86_64/bionic/__bionic_clone.S | 1 - libc/arch-x86_64/bionic/syscall.S | 1 - libc/arch-x86_64/bionic/vfork.S | 1 - libc/arch-x86_64/syscalls/__accept4.S | 1 - libc/arch-x86_64/syscalls/__arch_prctl.S | 1 - libc/arch-x86_64/syscalls/__brk.S | 1 - libc/arch-x86_64/syscalls/__connect.S | 1 - libc/arch-x86_64/syscalls/__epoll_pwait.S | 1 - libc/arch-x86_64/syscalls/__exit.S | 1 - libc/arch-x86_64/syscalls/__getcpu.S | 1 - libc/arch-x86_64/syscalls/__getcwd.S | 1 - libc/arch-x86_64/syscalls/__getpriority.S | 1 - libc/arch-x86_64/syscalls/__ioctl.S | 1 - libc/arch-x86_64/syscalls/__openat.S | 1 - libc/arch-x86_64/syscalls/__ppoll.S | 1 - libc/arch-x86_64/syscalls/__pselect6.S | 1 - libc/arch-x86_64/syscalls/__ptrace.S | 1 - libc/arch-x86_64/syscalls/__reboot.S | 1 - libc/arch-x86_64/syscalls/__rt_sigaction.S | 1 - libc/arch-x86_64/syscalls/__rt_sigpending.S | 1 - libc/arch-x86_64/syscalls/__rt_sigprocmask.S | 1 - libc/arch-x86_64/syscalls/__rt_sigsuspend.S | 1 - libc/arch-x86_64/syscalls/__rt_sigtimedwait.S | 1 - libc/arch-x86_64/syscalls/__sched_getaffinity.S | 1 - libc/arch-x86_64/syscalls/__set_tid_address.S | 1 - libc/arch-x86_64/syscalls/__signalfd4.S | 1 - libc/arch-x86_64/syscalls/__socket.S | 1 - libc/arch-x86_64/syscalls/__timer_create.S | 1 - libc/arch-x86_64/syscalls/__timer_delete.S | 1 - libc/arch-x86_64/syscalls/__timer_getoverrun.S | 1 - libc/arch-x86_64/syscalls/__timer_gettime.S | 1 - libc/arch-x86_64/syscalls/__timer_settime.S | 1 - libc/arch-x86_64/syscalls/__waitid.S | 1 - libc/arch-x86_64/syscalls/_exit.S | 1 - libc/arch-x86_64/syscalls/acct.S | 1 - libc/arch-x86_64/syscalls/bind.S | 1 - libc/arch-x86_64/syscalls/capget.S | 1 - libc/arch-x86_64/syscalls/capset.S | 1 - libc/arch-x86_64/syscalls/chdir.S | 1 - libc/arch-x86_64/syscalls/chroot.S | 1 - libc/arch-x86_64/syscalls/clock_getres.S | 1 - libc/arch-x86_64/syscalls/clock_gettime.S | 1 - libc/arch-x86_64/syscalls/clock_nanosleep.S | 1 - libc/arch-x86_64/syscalls/clock_settime.S | 1 - libc/arch-x86_64/syscalls/close.S | 1 - libc/arch-x86_64/syscalls/delete_module.S | 1 - libc/arch-x86_64/syscalls/dup.S | 1 - libc/arch-x86_64/syscalls/dup3.S | 1 - libc/arch-x86_64/syscalls/epoll_create1.S | 1 - libc/arch-x86_64/syscalls/epoll_ctl.S | 1 - libc/arch-x86_64/syscalls/eventfd.S | 1 - libc/arch-x86_64/syscalls/execve.S | 1 - libc/arch-x86_64/syscalls/faccessat.S | 1 - libc/arch-x86_64/syscalls/fallocate.S | 1 - libc/arch-x86_64/syscalls/fchdir.S | 1 - libc/arch-x86_64/syscalls/fchmod.S | 1 - libc/arch-x86_64/syscalls/fchmodat.S | 1 - libc/arch-x86_64/syscalls/fchown.S | 1 - libc/arch-x86_64/syscalls/fchownat.S | 1 - libc/arch-x86_64/syscalls/fcntl.S | 1 - libc/arch-x86_64/syscalls/fdatasync.S | 1 - libc/arch-x86_64/syscalls/fgetxattr.S | 1 - libc/arch-x86_64/syscalls/flistxattr.S | 1 - libc/arch-x86_64/syscalls/flock.S | 1 - libc/arch-x86_64/syscalls/fremovexattr.S | 1 - libc/arch-x86_64/syscalls/fsetxattr.S | 1 - libc/arch-x86_64/syscalls/fstat64.S | 1 - libc/arch-x86_64/syscalls/fstatat64.S | 1 - libc/arch-x86_64/syscalls/fstatfs64.S | 1 - libc/arch-x86_64/syscalls/fsync.S | 1 - libc/arch-x86_64/syscalls/ftruncate.S | 1 - libc/arch-x86_64/syscalls/getdents.S | 1 - libc/arch-x86_64/syscalls/getegid.S | 1 - libc/arch-x86_64/syscalls/geteuid.S | 1 - libc/arch-x86_64/syscalls/getgid.S | 1 - libc/arch-x86_64/syscalls/getgroups.S | 1 - libc/arch-x86_64/syscalls/getitimer.S | 1 - libc/arch-x86_64/syscalls/getpeername.S | 1 - libc/arch-x86_64/syscalls/getpgid.S | 1 - libc/arch-x86_64/syscalls/getpid.S | 1 - libc/arch-x86_64/syscalls/getppid.S | 1 - libc/arch-x86_64/syscalls/getresgid.S | 1 - libc/arch-x86_64/syscalls/getresuid.S | 1 - libc/arch-x86_64/syscalls/getrlimit.S | 1 - libc/arch-x86_64/syscalls/getrusage.S | 1 - libc/arch-x86_64/syscalls/getsid.S | 1 - libc/arch-x86_64/syscalls/getsockname.S | 1 - libc/arch-x86_64/syscalls/getsockopt.S | 1 - libc/arch-x86_64/syscalls/gettimeofday.S | 1 - libc/arch-x86_64/syscalls/getuid.S | 1 - libc/arch-x86_64/syscalls/getxattr.S | 1 - libc/arch-x86_64/syscalls/init_module.S | 1 - libc/arch-x86_64/syscalls/inotify_add_watch.S | 1 - libc/arch-x86_64/syscalls/inotify_init1.S | 1 - libc/arch-x86_64/syscalls/inotify_rm_watch.S | 1 - libc/arch-x86_64/syscalls/ioprio_get.S | 1 - libc/arch-x86_64/syscalls/ioprio_set.S | 1 - libc/arch-x86_64/syscalls/kill.S | 1 - libc/arch-x86_64/syscalls/klogctl.S | 1 - libc/arch-x86_64/syscalls/lgetxattr.S | 1 - libc/arch-x86_64/syscalls/linkat.S | 1 - libc/arch-x86_64/syscalls/listen.S | 1 - libc/arch-x86_64/syscalls/listxattr.S | 1 - libc/arch-x86_64/syscalls/llistxattr.S | 1 - libc/arch-x86_64/syscalls/lremovexattr.S | 1 - libc/arch-x86_64/syscalls/lseek.S | 1 - libc/arch-x86_64/syscalls/lsetxattr.S | 1 - libc/arch-x86_64/syscalls/madvise.S | 1 - libc/arch-x86_64/syscalls/mincore.S | 1 - libc/arch-x86_64/syscalls/mkdirat.S | 1 - libc/arch-x86_64/syscalls/mknodat.S | 1 - libc/arch-x86_64/syscalls/mlock.S | 1 - libc/arch-x86_64/syscalls/mlockall.S | 1 - libc/arch-x86_64/syscalls/mmap.S | 1 - libc/arch-x86_64/syscalls/mount.S | 1 - libc/arch-x86_64/syscalls/mprotect.S | 1 - libc/arch-x86_64/syscalls/mremap.S | 1 - libc/arch-x86_64/syscalls/msync.S | 1 - libc/arch-x86_64/syscalls/munlock.S | 1 - libc/arch-x86_64/syscalls/munlockall.S | 1 - libc/arch-x86_64/syscalls/munmap.S | 1 - libc/arch-x86_64/syscalls/nanosleep.S | 1 - libc/arch-x86_64/syscalls/personality.S | 1 - libc/arch-x86_64/syscalls/pipe2.S | 1 - libc/arch-x86_64/syscalls/prctl.S | 1 - libc/arch-x86_64/syscalls/pread64.S | 1 - libc/arch-x86_64/syscalls/prlimit64.S | 1 - libc/arch-x86_64/syscalls/pwrite64.S | 1 - libc/arch-x86_64/syscalls/read.S | 1 - libc/arch-x86_64/syscalls/readahead.S | 1 - libc/arch-x86_64/syscalls/readlinkat.S | 1 - libc/arch-x86_64/syscalls/readv.S | 1 - libc/arch-x86_64/syscalls/recvfrom.S | 1 - libc/arch-x86_64/syscalls/recvmmsg.S | 1 - libc/arch-x86_64/syscalls/recvmsg.S | 1 - libc/arch-x86_64/syscalls/removexattr.S | 1 - libc/arch-x86_64/syscalls/renameat.S | 1 - libc/arch-x86_64/syscalls/sched_get_priority_max.S | 1 - libc/arch-x86_64/syscalls/sched_get_priority_min.S | 1 - libc/arch-x86_64/syscalls/sched_getparam.S | 1 - libc/arch-x86_64/syscalls/sched_getscheduler.S | 1 - libc/arch-x86_64/syscalls/sched_rr_get_interval.S | 1 - libc/arch-x86_64/syscalls/sched_setaffinity.S | 1 - libc/arch-x86_64/syscalls/sched_setparam.S | 1 - libc/arch-x86_64/syscalls/sched_setscheduler.S | 1 - libc/arch-x86_64/syscalls/sched_yield.S | 1 - libc/arch-x86_64/syscalls/sendfile.S | 1 - libc/arch-x86_64/syscalls/sendmmsg.S | 1 - libc/arch-x86_64/syscalls/sendmsg.S | 1 - libc/arch-x86_64/syscalls/sendto.S | 1 - libc/arch-x86_64/syscalls/setgid.S | 1 - libc/arch-x86_64/syscalls/setgroups.S | 1 - libc/arch-x86_64/syscalls/setitimer.S | 1 - libc/arch-x86_64/syscalls/setns.S | 1 - libc/arch-x86_64/syscalls/setpgid.S | 1 - libc/arch-x86_64/syscalls/setpriority.S | 1 - libc/arch-x86_64/syscalls/setregid.S | 1 - libc/arch-x86_64/syscalls/setresgid.S | 1 - libc/arch-x86_64/syscalls/setresuid.S | 1 - libc/arch-x86_64/syscalls/setreuid.S | 1 - libc/arch-x86_64/syscalls/setrlimit.S | 1 - libc/arch-x86_64/syscalls/setsid.S | 1 - libc/arch-x86_64/syscalls/setsockopt.S | 1 - libc/arch-x86_64/syscalls/settimeofday.S | 1 - libc/arch-x86_64/syscalls/setuid.S | 1 - libc/arch-x86_64/syscalls/setxattr.S | 1 - libc/arch-x86_64/syscalls/shutdown.S | 1 - libc/arch-x86_64/syscalls/sigaltstack.S | 1 - libc/arch-x86_64/syscalls/socketpair.S | 1 - libc/arch-x86_64/syscalls/statfs64.S | 1 - libc/arch-x86_64/syscalls/swapoff.S | 1 - libc/arch-x86_64/syscalls/swapon.S | 1 - libc/arch-x86_64/syscalls/symlinkat.S | 1 - libc/arch-x86_64/syscalls/sync.S | 1 - libc/arch-x86_64/syscalls/sysinfo.S | 1 - libc/arch-x86_64/syscalls/tgkill.S | 1 - libc/arch-x86_64/syscalls/timerfd_create.S | 1 - libc/arch-x86_64/syscalls/timerfd_gettime.S | 1 - libc/arch-x86_64/syscalls/timerfd_settime.S | 1 - libc/arch-x86_64/syscalls/times.S | 1 - libc/arch-x86_64/syscalls/truncate.S | 1 - libc/arch-x86_64/syscalls/umask.S | 1 - libc/arch-x86_64/syscalls/umount2.S | 1 - libc/arch-x86_64/syscalls/uname.S | 1 - libc/arch-x86_64/syscalls/unlinkat.S | 1 - libc/arch-x86_64/syscalls/unshare.S | 1 - libc/arch-x86_64/syscalls/utimensat.S | 1 - libc/arch-x86_64/syscalls/wait4.S | 1 - libc/arch-x86_64/syscalls/write.S | 1 - libc/arch-x86_64/syscalls/writev.S | 1 - libc/tools/gensyscalls.py | 2 -- 386 files changed, 1 insertion(+), 388 deletions(-) diff --git a/libc/arch-x86/bionic/__bionic_clone.S b/libc/arch-x86/bionic/__bionic_clone.S index 672512c52..0c0feff83 100644 --- a/libc/arch-x86/bionic/__bionic_clone.S +++ b/libc/arch-x86/bionic/__bionic_clone.S @@ -34,7 +34,6 @@ ENTRY(__bionic_clone) pushl %eax call __set_errno addl $4, %esp - orl $-1, %eax jmp .L_bc_return .L_bc_child: diff --git a/libc/arch-x86/bionic/syscall.S b/libc/arch-x86/bionic/syscall.S index 0178f41d1..8e76c4ee7 100644 --- a/libc/arch-x86/bionic/syscall.S +++ b/libc/arch-x86/bionic/syscall.S @@ -40,7 +40,6 @@ ENTRY(syscall) pushl %eax call __set_errno addl $4, %esp - orl $-1, %eax 1: # Restore the callee save registers. pop %ebp diff --git a/libc/arch-x86/bionic/vfork.S b/libc/arch-x86/bionic/vfork.S index ec6f6ca1e..ffa6b16aa 100644 --- a/libc/arch-x86/bionic/vfork.S +++ b/libc/arch-x86/bionic/vfork.S @@ -39,7 +39,6 @@ ENTRY(vfork) negl %eax pushl %eax call __set_errno - orl $-1, %eax 1: - jmp *%ecx // Jump to the stored return address. + jmp *%ecx // Jump to the stored return address. END(vfork) diff --git a/libc/arch-x86/syscalls/__accept4.S b/libc/arch-x86/syscalls/__accept4.S index 18a76a1d7..2d9cc423c 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 2439752be..632dfcf7a 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 3149e8c35..5ee4fbf7f 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 67545b1c4..641ca6d63 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 d768306f6..8578f56c5 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 b2d5664cc..ef58d15e7 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 d80ecc59d..0ca33606a 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 23ce3f01d..b181877f8 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 5454d7a43..b71ba0de1 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 2d97f0dea..103431d26 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 eb248fb67..99d2d2c76 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 7a1ea83ff..0cdb98aa1 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 603ee2b44..47131efee 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 a6db672a8..aec10e585 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 d8ac98a19..92197b73c 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 9c66a3cc3..38402f02d 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 54e822141..cea5847fe 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 daea66e63..454699421 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 d182a8293..bfbe5baa4 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 d83ccc00a..dac478a64 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 4ca94433b..f1123603b 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 f1a4cf3a1..ef505c097 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 4fae0f7a8..d19c7dbdb 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 bddbab50b..e7cb8f1c5 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 0772ffebd..dda23a0d0 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 e61c2ac0a..1566d9a3e 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 b4ca29259..f1a51d2eb 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 1faafac3a..335e20627 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 2386b983e..368680f36 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 69dd87ed6..6bb9d993c 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 520046fc5..3d28ae90b 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 8fff727cf..7d64d6d44 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 372625b6d..cb3776533 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 9588bf777..5c43f4a10 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 7b0ab43ea..da7c58715 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 7e63f8af7..7e3ecdd9f 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 5b569b977..36e884a6a 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 7fa4508b2..a0361145b 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 c99ada151..ab5a29e7e 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 82065cfe0..5441e4906 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 8c9367fed..d04e4119e 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 00986d45d..d32a0bdef 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 cb8a09988..63d7e00ab 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 5fef51a03..321299c35 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 4275edcde..54f769aff 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 1f0fcc609..ca961c0ea 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 4f59a1056..ab8c43e7a 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 3f4e03474..0b3e73ab7 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 8923f466d..757c8c1b9 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 ed922de40..64e1538e5 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 d1a714d83..a0ecd1942 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 69ddd9bc0..5b6a1baa2 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 2a50db8f6..3fd8acd3c 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 48a07a2c7..55c5e6a30 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 345b5a49d..7ad54f761 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 1f340f782..115d64574 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 be3d45bc4..f8bde62c7 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 da95c0ba2..56e496c77 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 fe189f4ed..4badceaae 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 794450b68..552e85c49 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 5e8238865..7e826379e 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 bfe61e9d0..de039d0d9 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 17846cecf..fdb55788c 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 335d2983d..3ed63d3d5 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 5cab5ad8b..2840114cd 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 277dd2ad0..dc9ef0200 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 a60e0312e..1e77f828f 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 c4d485462..703a8d73c 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 054f6de9a..970eeb11f 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 928d07137..476578d36 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 f12d01090..9fc84b70c 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 062982cfa..6765d984c 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 71920be10..21e26ce00 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 0b045b22c..062753293 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 61e783955..445cd97da 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 80bcf7ac5..8290a939b 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 87d31a73a..d90767f6f 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 d9b7d80c9..d36c09cc8 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 8f3a0eed0..ebf12601d 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 1ea42a0a0..abecd4edb 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 179c7db97..e74ed3b78 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 cecaf74bb..0e12d5a3e 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 b93204446..025fa42e4 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 ce8d89a03..fe08cdfcb 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 f444d16b7..8e292fc5b 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 66f4e6fc6..fdb5a03fa 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 8d4fd7b85..ae5f79629 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 39e55517e..e1dc87fde 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 ec0cc84f2..254b755c8 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 cf109f159..2ef630c0d 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 801e7ab81..709a17ba5 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 e91305ab7..c375d309d 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 5bd1ab89d..db9c9dd68 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 8afd64403..543b31eec 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 0de8f8870..f58c6d181 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 092061825..2c7b10013 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 37394c502..c453478ce 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 ff78773cf..491c2f337 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 7a3e91987..e80602c2d 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 fbf5fa858..0c1e24ae9 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 03f24b80e..869324a44 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 6ee2c5580..3ed4f1127 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 d9876ebdb..e0c7e5f75 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 b671b2594..c65f97045 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 e86b82e36..98a51143d 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 8d13da8d8..a5ab636a6 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 9dab0a33f..508abbacd 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 2d03f46b8..5f77831cd 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 1452298c2..d8786849b 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 fd4af115d..3e8c7fdee 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 01eb5194b..7096f6c57 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 b022838b3..862a18cfc 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 233c0b268..e03ba42a9 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 fb4641fae..f582f7729 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 9403351e3..becca812c 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 d99f5f44c..7be28115e 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 3205f833e..0516c45f3 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 2b2007975..42e75ced9 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 339e3815f..66722f2e5 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 5fb29cb80..2fc3aa703 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 238f812d7..1bc99ea0a 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 2d348db28..878aae7aa 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 9d8ae9dec..fe8af908d 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 412bbed34..8c8e0ffa4 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 bfe03a2c6..99c4e8b61 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 fca343f59..63ec899e3 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 6cf4e4bb8..6b3c8ad16 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 65316a76b..6aa875fa3 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 cccea8b4f..7d5309527 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 f80db310a..9814c8ffc 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 f53769a45..49a17d043 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 229dafe5a..1a161c01a 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 8cb01a0d3..8b5ff4186 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 dd99a0948..53d08f638 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 f916fcdcc..3ef874027 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 12dad2868..150672d0a 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 3974a0710..e7c55eb03 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 2982f51b1..5dfe65ffb 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 3205c72ec..d8debe281 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 39c4d2cee..e9689fab1 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 47cb4af6a..6b5e7c86b 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 07fbe6b72..a2c5746b6 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 e7a103892..f8012f317 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 bb35259fc..76013f9ab 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 3e93c4ce3..aca4bd902 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 fcabf122a..fad72c607 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 a8b22e32d..8b4a9beba 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 30bf3ad1b..7bd86d0a5 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 5a7f2bb28..bd76043f7 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 09a3292d1..4bc3c4076 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 eaf7fb39e..eb8fc63f5 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 0cf5e0a28..8cb72c87c 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 b0b71852f..baa1b1a4b 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 be227cacd..364aaad0f 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 4a323da0c..409c4c660 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 fa69b4ae5..ddbe758e8 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 eba780c6d..ac1b12d67 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 5ea05192e..93c1e07bc 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 ae5bfcaff..0ecfa9ae7 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 64b5f7e92..a6914c492 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 2a29fa51f..c33c1cabc 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 200a83a48..4244988d2 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 64a46c0ca..3e8650434 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 382ad0c94..398c11056 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 e57c9d201..6ef168f81 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 4b2eca9d1..37e11c53c 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 cf10ad6aa..fcea66d97 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 5edba2d7f..d6473cdc5 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 f1d606a4b..32fa17a3b 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 64872df0b..6882a7837 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 4027752c8..945faa019 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 1657e6473..0e210335d 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 16d061765..a4d5e0305 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 78f9fa795..618f5d827 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 a0cf66f96..a1f178239 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 1619edba9..c3eabb06f 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 69ffdf886..385827ba4 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 c0bc5b583..343195e19 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 5dd7ad763..9b3a31457 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 bb027df93..819b7234d 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 075750df3..f5739d32c 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 9270a5393..427f95f93 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 89c2c4aa0..2c497511f 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 81df64d42..3affc8de2 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 cd21623a0..d2b3549e2 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 9d65e8528..e99680543 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 68bf05bd0..6417d2bdb 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 7e48cb1d2..a289d4d55 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 4b2a9b6f6..d8c908040 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 bd4bd5010..fda75c05f 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 a4641969a..115974e4b 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 da9ae7c96..77e5cd129 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 diff --git a/libc/arch-x86_64/bionic/__bionic_clone.S b/libc/arch-x86_64/bionic/__bionic_clone.S index 7fe44a233..173ab5ce9 100644 --- a/libc/arch-x86_64/bionic/__bionic_clone.S +++ b/libc/arch-x86_64/bionic/__bionic_clone.S @@ -55,7 +55,6 @@ ENTRY(__bionic_clone) negl %eax movl %eax, %edi call __set_errno - orl $-1, %eax ret .L_bc_child: diff --git a/libc/arch-x86_64/bionic/syscall.S b/libc/arch-x86_64/bionic/syscall.S index a98a436f0..d5694cb57 100644 --- a/libc/arch-x86_64/bionic/syscall.S +++ b/libc/arch-x86_64/bionic/syscall.S @@ -58,7 +58,6 @@ ENTRY(syscall) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(syscall) diff --git a/libc/arch-x86_64/bionic/vfork.S b/libc/arch-x86_64/bionic/vfork.S index b323f3068..7c14cc0d9 100644 --- a/libc/arch-x86_64/bionic/vfork.S +++ b/libc/arch-x86_64/bionic/vfork.S @@ -40,7 +40,6 @@ ENTRY(vfork) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(vfork) diff --git a/libc/arch-x86_64/syscalls/__accept4.S b/libc/arch-x86_64/syscalls/__accept4.S index cf4837f33..375a78b9d 100644 --- a/libc/arch-x86_64/syscalls/__accept4.S +++ b/libc/arch-x86_64/syscalls/__accept4.S @@ -11,7 +11,6 @@ ENTRY(__accept4) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__accept4) diff --git a/libc/arch-x86_64/syscalls/__arch_prctl.S b/libc/arch-x86_64/syscalls/__arch_prctl.S index ac5d96e4d..6c72a6c8d 100644 --- a/libc/arch-x86_64/syscalls/__arch_prctl.S +++ b/libc/arch-x86_64/syscalls/__arch_prctl.S @@ -10,7 +10,6 @@ ENTRY(__arch_prctl) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__arch_prctl) diff --git a/libc/arch-x86_64/syscalls/__brk.S b/libc/arch-x86_64/syscalls/__brk.S index a69f404d2..18ebc105e 100644 --- a/libc/arch-x86_64/syscalls/__brk.S +++ b/libc/arch-x86_64/syscalls/__brk.S @@ -10,7 +10,6 @@ ENTRY(__brk) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__brk) diff --git a/libc/arch-x86_64/syscalls/__connect.S b/libc/arch-x86_64/syscalls/__connect.S index 288484e74..a7d2e9308 100644 --- a/libc/arch-x86_64/syscalls/__connect.S +++ b/libc/arch-x86_64/syscalls/__connect.S @@ -10,7 +10,6 @@ ENTRY(__connect) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__connect) diff --git a/libc/arch-x86_64/syscalls/__epoll_pwait.S b/libc/arch-x86_64/syscalls/__epoll_pwait.S index 306e12e36..4271b53ad 100644 --- a/libc/arch-x86_64/syscalls/__epoll_pwait.S +++ b/libc/arch-x86_64/syscalls/__epoll_pwait.S @@ -11,7 +11,6 @@ ENTRY(__epoll_pwait) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__epoll_pwait) diff --git a/libc/arch-x86_64/syscalls/__exit.S b/libc/arch-x86_64/syscalls/__exit.S index af3ada470..bcbaffcfd 100644 --- a/libc/arch-x86_64/syscalls/__exit.S +++ b/libc/arch-x86_64/syscalls/__exit.S @@ -10,7 +10,6 @@ ENTRY(__exit) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__exit) diff --git a/libc/arch-x86_64/syscalls/__getcpu.S b/libc/arch-x86_64/syscalls/__getcpu.S index 8650db449..c25f294e9 100644 --- a/libc/arch-x86_64/syscalls/__getcpu.S +++ b/libc/arch-x86_64/syscalls/__getcpu.S @@ -10,7 +10,6 @@ ENTRY(__getcpu) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__getcpu) diff --git a/libc/arch-x86_64/syscalls/__getcwd.S b/libc/arch-x86_64/syscalls/__getcwd.S index c76280479..1743838f7 100644 --- a/libc/arch-x86_64/syscalls/__getcwd.S +++ b/libc/arch-x86_64/syscalls/__getcwd.S @@ -10,7 +10,6 @@ ENTRY(__getcwd) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__getcwd) diff --git a/libc/arch-x86_64/syscalls/__getpriority.S b/libc/arch-x86_64/syscalls/__getpriority.S index 8aaae8f3d..349f57466 100644 --- a/libc/arch-x86_64/syscalls/__getpriority.S +++ b/libc/arch-x86_64/syscalls/__getpriority.S @@ -10,7 +10,6 @@ ENTRY(__getpriority) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__getpriority) diff --git a/libc/arch-x86_64/syscalls/__ioctl.S b/libc/arch-x86_64/syscalls/__ioctl.S index 646d8198e..277591107 100644 --- a/libc/arch-x86_64/syscalls/__ioctl.S +++ b/libc/arch-x86_64/syscalls/__ioctl.S @@ -10,7 +10,6 @@ ENTRY(__ioctl) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__ioctl) diff --git a/libc/arch-x86_64/syscalls/__openat.S b/libc/arch-x86_64/syscalls/__openat.S index e065cca57..dce4c7c75 100644 --- a/libc/arch-x86_64/syscalls/__openat.S +++ b/libc/arch-x86_64/syscalls/__openat.S @@ -11,7 +11,6 @@ ENTRY(__openat) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__openat) diff --git a/libc/arch-x86_64/syscalls/__ppoll.S b/libc/arch-x86_64/syscalls/__ppoll.S index 6edaa3627..31ba7e958 100644 --- a/libc/arch-x86_64/syscalls/__ppoll.S +++ b/libc/arch-x86_64/syscalls/__ppoll.S @@ -11,7 +11,6 @@ ENTRY(__ppoll) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__ppoll) diff --git a/libc/arch-x86_64/syscalls/__pselect6.S b/libc/arch-x86_64/syscalls/__pselect6.S index a2aec7a5e..a212c4e02 100644 --- a/libc/arch-x86_64/syscalls/__pselect6.S +++ b/libc/arch-x86_64/syscalls/__pselect6.S @@ -11,7 +11,6 @@ ENTRY(__pselect6) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__pselect6) diff --git a/libc/arch-x86_64/syscalls/__ptrace.S b/libc/arch-x86_64/syscalls/__ptrace.S index 8ec8ac11d..0a64fee73 100644 --- a/libc/arch-x86_64/syscalls/__ptrace.S +++ b/libc/arch-x86_64/syscalls/__ptrace.S @@ -11,7 +11,6 @@ ENTRY(__ptrace) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__ptrace) diff --git a/libc/arch-x86_64/syscalls/__reboot.S b/libc/arch-x86_64/syscalls/__reboot.S index 9b8ef70fb..398d078f1 100644 --- a/libc/arch-x86_64/syscalls/__reboot.S +++ b/libc/arch-x86_64/syscalls/__reboot.S @@ -11,7 +11,6 @@ ENTRY(__reboot) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__reboot) diff --git a/libc/arch-x86_64/syscalls/__rt_sigaction.S b/libc/arch-x86_64/syscalls/__rt_sigaction.S index b038f6e7c..f146b02f1 100644 --- a/libc/arch-x86_64/syscalls/__rt_sigaction.S +++ b/libc/arch-x86_64/syscalls/__rt_sigaction.S @@ -11,7 +11,6 @@ ENTRY(__rt_sigaction) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__rt_sigaction) diff --git a/libc/arch-x86_64/syscalls/__rt_sigpending.S b/libc/arch-x86_64/syscalls/__rt_sigpending.S index e0c50c1b9..9d1698b76 100644 --- a/libc/arch-x86_64/syscalls/__rt_sigpending.S +++ b/libc/arch-x86_64/syscalls/__rt_sigpending.S @@ -10,7 +10,6 @@ ENTRY(__rt_sigpending) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__rt_sigpending) diff --git a/libc/arch-x86_64/syscalls/__rt_sigprocmask.S b/libc/arch-x86_64/syscalls/__rt_sigprocmask.S index 2a0ab5e0e..1ac9b81d8 100644 --- a/libc/arch-x86_64/syscalls/__rt_sigprocmask.S +++ b/libc/arch-x86_64/syscalls/__rt_sigprocmask.S @@ -11,7 +11,6 @@ ENTRY(__rt_sigprocmask) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__rt_sigprocmask) diff --git a/libc/arch-x86_64/syscalls/__rt_sigsuspend.S b/libc/arch-x86_64/syscalls/__rt_sigsuspend.S index 6fa656525..1059f0b72 100644 --- a/libc/arch-x86_64/syscalls/__rt_sigsuspend.S +++ b/libc/arch-x86_64/syscalls/__rt_sigsuspend.S @@ -10,7 +10,6 @@ ENTRY(__rt_sigsuspend) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__rt_sigsuspend) diff --git a/libc/arch-x86_64/syscalls/__rt_sigtimedwait.S b/libc/arch-x86_64/syscalls/__rt_sigtimedwait.S index 46ee04bd3..de2e4cbe2 100644 --- a/libc/arch-x86_64/syscalls/__rt_sigtimedwait.S +++ b/libc/arch-x86_64/syscalls/__rt_sigtimedwait.S @@ -11,7 +11,6 @@ ENTRY(__rt_sigtimedwait) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__rt_sigtimedwait) diff --git a/libc/arch-x86_64/syscalls/__sched_getaffinity.S b/libc/arch-x86_64/syscalls/__sched_getaffinity.S index 3707226e5..410954cdf 100644 --- a/libc/arch-x86_64/syscalls/__sched_getaffinity.S +++ b/libc/arch-x86_64/syscalls/__sched_getaffinity.S @@ -10,7 +10,6 @@ ENTRY(__sched_getaffinity) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__sched_getaffinity) diff --git a/libc/arch-x86_64/syscalls/__set_tid_address.S b/libc/arch-x86_64/syscalls/__set_tid_address.S index 4a8f1535a..c59c8b8c4 100644 --- a/libc/arch-x86_64/syscalls/__set_tid_address.S +++ b/libc/arch-x86_64/syscalls/__set_tid_address.S @@ -10,7 +10,6 @@ ENTRY(__set_tid_address) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__set_tid_address) diff --git a/libc/arch-x86_64/syscalls/__signalfd4.S b/libc/arch-x86_64/syscalls/__signalfd4.S index fafe3717d..6ddcf5a20 100644 --- a/libc/arch-x86_64/syscalls/__signalfd4.S +++ b/libc/arch-x86_64/syscalls/__signalfd4.S @@ -11,7 +11,6 @@ ENTRY(__signalfd4) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__signalfd4) diff --git a/libc/arch-x86_64/syscalls/__socket.S b/libc/arch-x86_64/syscalls/__socket.S index 67621fc2f..209e329b4 100644 --- a/libc/arch-x86_64/syscalls/__socket.S +++ b/libc/arch-x86_64/syscalls/__socket.S @@ -10,7 +10,6 @@ ENTRY(__socket) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__socket) diff --git a/libc/arch-x86_64/syscalls/__timer_create.S b/libc/arch-x86_64/syscalls/__timer_create.S index 2f41c8872..3450d2b82 100644 --- a/libc/arch-x86_64/syscalls/__timer_create.S +++ b/libc/arch-x86_64/syscalls/__timer_create.S @@ -10,7 +10,6 @@ ENTRY(__timer_create) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__timer_create) diff --git a/libc/arch-x86_64/syscalls/__timer_delete.S b/libc/arch-x86_64/syscalls/__timer_delete.S index 200991677..fd60a1608 100644 --- a/libc/arch-x86_64/syscalls/__timer_delete.S +++ b/libc/arch-x86_64/syscalls/__timer_delete.S @@ -10,7 +10,6 @@ ENTRY(__timer_delete) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__timer_delete) diff --git a/libc/arch-x86_64/syscalls/__timer_getoverrun.S b/libc/arch-x86_64/syscalls/__timer_getoverrun.S index fe71efe3d..f5309a331 100644 --- a/libc/arch-x86_64/syscalls/__timer_getoverrun.S +++ b/libc/arch-x86_64/syscalls/__timer_getoverrun.S @@ -10,7 +10,6 @@ ENTRY(__timer_getoverrun) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__timer_getoverrun) diff --git a/libc/arch-x86_64/syscalls/__timer_gettime.S b/libc/arch-x86_64/syscalls/__timer_gettime.S index 44fe2ffc3..7e2bc92e1 100644 --- a/libc/arch-x86_64/syscalls/__timer_gettime.S +++ b/libc/arch-x86_64/syscalls/__timer_gettime.S @@ -10,7 +10,6 @@ ENTRY(__timer_gettime) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__timer_gettime) diff --git a/libc/arch-x86_64/syscalls/__timer_settime.S b/libc/arch-x86_64/syscalls/__timer_settime.S index 1240aa196..f5401a048 100644 --- a/libc/arch-x86_64/syscalls/__timer_settime.S +++ b/libc/arch-x86_64/syscalls/__timer_settime.S @@ -11,7 +11,6 @@ ENTRY(__timer_settime) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__timer_settime) diff --git a/libc/arch-x86_64/syscalls/__waitid.S b/libc/arch-x86_64/syscalls/__waitid.S index 0d4fc58d2..229f20c5f 100644 --- a/libc/arch-x86_64/syscalls/__waitid.S +++ b/libc/arch-x86_64/syscalls/__waitid.S @@ -11,7 +11,6 @@ ENTRY(__waitid) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(__waitid) diff --git a/libc/arch-x86_64/syscalls/_exit.S b/libc/arch-x86_64/syscalls/_exit.S index 3c158976a..9c80f0031 100644 --- a/libc/arch-x86_64/syscalls/_exit.S +++ b/libc/arch-x86_64/syscalls/_exit.S @@ -10,7 +10,6 @@ ENTRY(_exit) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(_exit) diff --git a/libc/arch-x86_64/syscalls/acct.S b/libc/arch-x86_64/syscalls/acct.S index 59af17d3b..91ecf5b78 100644 --- a/libc/arch-x86_64/syscalls/acct.S +++ b/libc/arch-x86_64/syscalls/acct.S @@ -10,7 +10,6 @@ ENTRY(acct) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(acct) diff --git a/libc/arch-x86_64/syscalls/bind.S b/libc/arch-x86_64/syscalls/bind.S index 20dfa2de8..5d426cbbc 100644 --- a/libc/arch-x86_64/syscalls/bind.S +++ b/libc/arch-x86_64/syscalls/bind.S @@ -10,7 +10,6 @@ ENTRY(bind) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(bind) diff --git a/libc/arch-x86_64/syscalls/capget.S b/libc/arch-x86_64/syscalls/capget.S index 9cf73fb17..d3d151ef1 100644 --- a/libc/arch-x86_64/syscalls/capget.S +++ b/libc/arch-x86_64/syscalls/capget.S @@ -10,7 +10,6 @@ ENTRY(capget) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(capget) diff --git a/libc/arch-x86_64/syscalls/capset.S b/libc/arch-x86_64/syscalls/capset.S index f6cf2ebf5..421f15623 100644 --- a/libc/arch-x86_64/syscalls/capset.S +++ b/libc/arch-x86_64/syscalls/capset.S @@ -10,7 +10,6 @@ ENTRY(capset) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(capset) diff --git a/libc/arch-x86_64/syscalls/chdir.S b/libc/arch-x86_64/syscalls/chdir.S index a04f3aadb..7a6f651e4 100644 --- a/libc/arch-x86_64/syscalls/chdir.S +++ b/libc/arch-x86_64/syscalls/chdir.S @@ -10,7 +10,6 @@ ENTRY(chdir) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(chdir) diff --git a/libc/arch-x86_64/syscalls/chroot.S b/libc/arch-x86_64/syscalls/chroot.S index 491086d43..0f53fd95a 100644 --- a/libc/arch-x86_64/syscalls/chroot.S +++ b/libc/arch-x86_64/syscalls/chroot.S @@ -10,7 +10,6 @@ ENTRY(chroot) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(chroot) diff --git a/libc/arch-x86_64/syscalls/clock_getres.S b/libc/arch-x86_64/syscalls/clock_getres.S index d1d491e38..bad0d782e 100644 --- a/libc/arch-x86_64/syscalls/clock_getres.S +++ b/libc/arch-x86_64/syscalls/clock_getres.S @@ -10,7 +10,6 @@ ENTRY(clock_getres) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(clock_getres) diff --git a/libc/arch-x86_64/syscalls/clock_gettime.S b/libc/arch-x86_64/syscalls/clock_gettime.S index 89ae61672..20850c852 100644 --- a/libc/arch-x86_64/syscalls/clock_gettime.S +++ b/libc/arch-x86_64/syscalls/clock_gettime.S @@ -10,7 +10,6 @@ ENTRY(clock_gettime) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(clock_gettime) diff --git a/libc/arch-x86_64/syscalls/clock_nanosleep.S b/libc/arch-x86_64/syscalls/clock_nanosleep.S index 38331139e..2ef0d05c6 100644 --- a/libc/arch-x86_64/syscalls/clock_nanosleep.S +++ b/libc/arch-x86_64/syscalls/clock_nanosleep.S @@ -11,7 +11,6 @@ ENTRY(clock_nanosleep) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(clock_nanosleep) diff --git a/libc/arch-x86_64/syscalls/clock_settime.S b/libc/arch-x86_64/syscalls/clock_settime.S index 15b27aaa2..6a3b75b54 100644 --- a/libc/arch-x86_64/syscalls/clock_settime.S +++ b/libc/arch-x86_64/syscalls/clock_settime.S @@ -10,7 +10,6 @@ ENTRY(clock_settime) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(clock_settime) diff --git a/libc/arch-x86_64/syscalls/close.S b/libc/arch-x86_64/syscalls/close.S index 361d82faa..41c840374 100644 --- a/libc/arch-x86_64/syscalls/close.S +++ b/libc/arch-x86_64/syscalls/close.S @@ -10,7 +10,6 @@ ENTRY(close) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(close) diff --git a/libc/arch-x86_64/syscalls/delete_module.S b/libc/arch-x86_64/syscalls/delete_module.S index 33f235459..d3f3862cb 100644 --- a/libc/arch-x86_64/syscalls/delete_module.S +++ b/libc/arch-x86_64/syscalls/delete_module.S @@ -10,7 +10,6 @@ ENTRY(delete_module) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(delete_module) diff --git a/libc/arch-x86_64/syscalls/dup.S b/libc/arch-x86_64/syscalls/dup.S index dfc0def2c..bf2ca517e 100644 --- a/libc/arch-x86_64/syscalls/dup.S +++ b/libc/arch-x86_64/syscalls/dup.S @@ -10,7 +10,6 @@ ENTRY(dup) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(dup) diff --git a/libc/arch-x86_64/syscalls/dup3.S b/libc/arch-x86_64/syscalls/dup3.S index dcb4155b8..f5c929c46 100644 --- a/libc/arch-x86_64/syscalls/dup3.S +++ b/libc/arch-x86_64/syscalls/dup3.S @@ -10,7 +10,6 @@ ENTRY(dup3) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(dup3) diff --git a/libc/arch-x86_64/syscalls/epoll_create1.S b/libc/arch-x86_64/syscalls/epoll_create1.S index fa3c6d793..196a3c7c8 100644 --- a/libc/arch-x86_64/syscalls/epoll_create1.S +++ b/libc/arch-x86_64/syscalls/epoll_create1.S @@ -10,7 +10,6 @@ ENTRY(epoll_create1) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(epoll_create1) diff --git a/libc/arch-x86_64/syscalls/epoll_ctl.S b/libc/arch-x86_64/syscalls/epoll_ctl.S index 72df97ff8..2a3517cca 100644 --- a/libc/arch-x86_64/syscalls/epoll_ctl.S +++ b/libc/arch-x86_64/syscalls/epoll_ctl.S @@ -11,7 +11,6 @@ ENTRY(epoll_ctl) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(epoll_ctl) diff --git a/libc/arch-x86_64/syscalls/eventfd.S b/libc/arch-x86_64/syscalls/eventfd.S index 99f585c8d..3ed4baff0 100644 --- a/libc/arch-x86_64/syscalls/eventfd.S +++ b/libc/arch-x86_64/syscalls/eventfd.S @@ -10,7 +10,6 @@ ENTRY(eventfd) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(eventfd) diff --git a/libc/arch-x86_64/syscalls/execve.S b/libc/arch-x86_64/syscalls/execve.S index ea89d7db5..1fe29c73c 100644 --- a/libc/arch-x86_64/syscalls/execve.S +++ b/libc/arch-x86_64/syscalls/execve.S @@ -10,7 +10,6 @@ ENTRY(execve) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(execve) diff --git a/libc/arch-x86_64/syscalls/faccessat.S b/libc/arch-x86_64/syscalls/faccessat.S index 238a4e1a0..3ea905c42 100644 --- a/libc/arch-x86_64/syscalls/faccessat.S +++ b/libc/arch-x86_64/syscalls/faccessat.S @@ -11,7 +11,6 @@ ENTRY(faccessat) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(faccessat) diff --git a/libc/arch-x86_64/syscalls/fallocate.S b/libc/arch-x86_64/syscalls/fallocate.S index 9ba36b930..abaa303c5 100644 --- a/libc/arch-x86_64/syscalls/fallocate.S +++ b/libc/arch-x86_64/syscalls/fallocate.S @@ -11,7 +11,6 @@ ENTRY(fallocate) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(fallocate) diff --git a/libc/arch-x86_64/syscalls/fchdir.S b/libc/arch-x86_64/syscalls/fchdir.S index da14edd67..b01bb5702 100644 --- a/libc/arch-x86_64/syscalls/fchdir.S +++ b/libc/arch-x86_64/syscalls/fchdir.S @@ -10,7 +10,6 @@ ENTRY(fchdir) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(fchdir) diff --git a/libc/arch-x86_64/syscalls/fchmod.S b/libc/arch-x86_64/syscalls/fchmod.S index a6d15fc6d..868638f05 100644 --- a/libc/arch-x86_64/syscalls/fchmod.S +++ b/libc/arch-x86_64/syscalls/fchmod.S @@ -10,7 +10,6 @@ ENTRY(fchmod) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(fchmod) diff --git a/libc/arch-x86_64/syscalls/fchmodat.S b/libc/arch-x86_64/syscalls/fchmodat.S index daf71ab83..e045a1311 100644 --- a/libc/arch-x86_64/syscalls/fchmodat.S +++ b/libc/arch-x86_64/syscalls/fchmodat.S @@ -11,7 +11,6 @@ ENTRY(fchmodat) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(fchmodat) diff --git a/libc/arch-x86_64/syscalls/fchown.S b/libc/arch-x86_64/syscalls/fchown.S index 8c68a15ff..9ba775b6e 100644 --- a/libc/arch-x86_64/syscalls/fchown.S +++ b/libc/arch-x86_64/syscalls/fchown.S @@ -10,7 +10,6 @@ ENTRY(fchown) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(fchown) diff --git a/libc/arch-x86_64/syscalls/fchownat.S b/libc/arch-x86_64/syscalls/fchownat.S index e5265dd07..7789d2ddd 100644 --- a/libc/arch-x86_64/syscalls/fchownat.S +++ b/libc/arch-x86_64/syscalls/fchownat.S @@ -11,7 +11,6 @@ ENTRY(fchownat) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(fchownat) diff --git a/libc/arch-x86_64/syscalls/fcntl.S b/libc/arch-x86_64/syscalls/fcntl.S index c56238508..a20d9389c 100644 --- a/libc/arch-x86_64/syscalls/fcntl.S +++ b/libc/arch-x86_64/syscalls/fcntl.S @@ -10,7 +10,6 @@ ENTRY(fcntl) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(fcntl) diff --git a/libc/arch-x86_64/syscalls/fdatasync.S b/libc/arch-x86_64/syscalls/fdatasync.S index 3f9ee7282..5ea8ebd8c 100644 --- a/libc/arch-x86_64/syscalls/fdatasync.S +++ b/libc/arch-x86_64/syscalls/fdatasync.S @@ -10,7 +10,6 @@ ENTRY(fdatasync) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(fdatasync) diff --git a/libc/arch-x86_64/syscalls/fgetxattr.S b/libc/arch-x86_64/syscalls/fgetxattr.S index 77f095ba2..096c30f05 100644 --- a/libc/arch-x86_64/syscalls/fgetxattr.S +++ b/libc/arch-x86_64/syscalls/fgetxattr.S @@ -11,7 +11,6 @@ ENTRY(fgetxattr) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(fgetxattr) diff --git a/libc/arch-x86_64/syscalls/flistxattr.S b/libc/arch-x86_64/syscalls/flistxattr.S index cd392988e..e0e5b8bc8 100644 --- a/libc/arch-x86_64/syscalls/flistxattr.S +++ b/libc/arch-x86_64/syscalls/flistxattr.S @@ -10,7 +10,6 @@ ENTRY(flistxattr) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(flistxattr) diff --git a/libc/arch-x86_64/syscalls/flock.S b/libc/arch-x86_64/syscalls/flock.S index af2dbef2c..981d86ed1 100644 --- a/libc/arch-x86_64/syscalls/flock.S +++ b/libc/arch-x86_64/syscalls/flock.S @@ -10,7 +10,6 @@ ENTRY(flock) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(flock) diff --git a/libc/arch-x86_64/syscalls/fremovexattr.S b/libc/arch-x86_64/syscalls/fremovexattr.S index 438756345..655bdef85 100644 --- a/libc/arch-x86_64/syscalls/fremovexattr.S +++ b/libc/arch-x86_64/syscalls/fremovexattr.S @@ -10,7 +10,6 @@ ENTRY(fremovexattr) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(fremovexattr) diff --git a/libc/arch-x86_64/syscalls/fsetxattr.S b/libc/arch-x86_64/syscalls/fsetxattr.S index 610890c8d..fa2bddca7 100644 --- a/libc/arch-x86_64/syscalls/fsetxattr.S +++ b/libc/arch-x86_64/syscalls/fsetxattr.S @@ -11,7 +11,6 @@ ENTRY(fsetxattr) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(fsetxattr) diff --git a/libc/arch-x86_64/syscalls/fstat64.S b/libc/arch-x86_64/syscalls/fstat64.S index 6abb14698..9e7aa2dd6 100644 --- a/libc/arch-x86_64/syscalls/fstat64.S +++ b/libc/arch-x86_64/syscalls/fstat64.S @@ -10,7 +10,6 @@ ENTRY(fstat64) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(fstat64) diff --git a/libc/arch-x86_64/syscalls/fstatat64.S b/libc/arch-x86_64/syscalls/fstatat64.S index b85506c34..5418cd0af 100644 --- a/libc/arch-x86_64/syscalls/fstatat64.S +++ b/libc/arch-x86_64/syscalls/fstatat64.S @@ -11,7 +11,6 @@ ENTRY(fstatat64) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(fstatat64) diff --git a/libc/arch-x86_64/syscalls/fstatfs64.S b/libc/arch-x86_64/syscalls/fstatfs64.S index 983e6b75c..ee2daa2df 100644 --- a/libc/arch-x86_64/syscalls/fstatfs64.S +++ b/libc/arch-x86_64/syscalls/fstatfs64.S @@ -10,7 +10,6 @@ ENTRY(fstatfs64) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(fstatfs64) diff --git a/libc/arch-x86_64/syscalls/fsync.S b/libc/arch-x86_64/syscalls/fsync.S index 0392620de..12eabd325 100644 --- a/libc/arch-x86_64/syscalls/fsync.S +++ b/libc/arch-x86_64/syscalls/fsync.S @@ -10,7 +10,6 @@ ENTRY(fsync) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(fsync) diff --git a/libc/arch-x86_64/syscalls/ftruncate.S b/libc/arch-x86_64/syscalls/ftruncate.S index 437b3e210..11161a7cd 100644 --- a/libc/arch-x86_64/syscalls/ftruncate.S +++ b/libc/arch-x86_64/syscalls/ftruncate.S @@ -10,7 +10,6 @@ ENTRY(ftruncate) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(ftruncate) diff --git a/libc/arch-x86_64/syscalls/getdents.S b/libc/arch-x86_64/syscalls/getdents.S index a47c26bdd..15e0f7efc 100644 --- a/libc/arch-x86_64/syscalls/getdents.S +++ b/libc/arch-x86_64/syscalls/getdents.S @@ -10,7 +10,6 @@ ENTRY(getdents) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(getdents) diff --git a/libc/arch-x86_64/syscalls/getegid.S b/libc/arch-x86_64/syscalls/getegid.S index c1b8fae01..6f9c2a80f 100644 --- a/libc/arch-x86_64/syscalls/getegid.S +++ b/libc/arch-x86_64/syscalls/getegid.S @@ -10,7 +10,6 @@ ENTRY(getegid) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(getegid) diff --git a/libc/arch-x86_64/syscalls/geteuid.S b/libc/arch-x86_64/syscalls/geteuid.S index f2f103546..88000ef05 100644 --- a/libc/arch-x86_64/syscalls/geteuid.S +++ b/libc/arch-x86_64/syscalls/geteuid.S @@ -10,7 +10,6 @@ ENTRY(geteuid) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(geteuid) diff --git a/libc/arch-x86_64/syscalls/getgid.S b/libc/arch-x86_64/syscalls/getgid.S index e9b38c7a2..8f8eaa6fe 100644 --- a/libc/arch-x86_64/syscalls/getgid.S +++ b/libc/arch-x86_64/syscalls/getgid.S @@ -10,7 +10,6 @@ ENTRY(getgid) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(getgid) diff --git a/libc/arch-x86_64/syscalls/getgroups.S b/libc/arch-x86_64/syscalls/getgroups.S index b12836e6d..5358a3e6f 100644 --- a/libc/arch-x86_64/syscalls/getgroups.S +++ b/libc/arch-x86_64/syscalls/getgroups.S @@ -10,7 +10,6 @@ ENTRY(getgroups) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(getgroups) diff --git a/libc/arch-x86_64/syscalls/getitimer.S b/libc/arch-x86_64/syscalls/getitimer.S index 79484d11b..b6a6e8e5c 100644 --- a/libc/arch-x86_64/syscalls/getitimer.S +++ b/libc/arch-x86_64/syscalls/getitimer.S @@ -10,7 +10,6 @@ ENTRY(getitimer) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(getitimer) diff --git a/libc/arch-x86_64/syscalls/getpeername.S b/libc/arch-x86_64/syscalls/getpeername.S index a276cac4f..98e06fb89 100644 --- a/libc/arch-x86_64/syscalls/getpeername.S +++ b/libc/arch-x86_64/syscalls/getpeername.S @@ -10,7 +10,6 @@ ENTRY(getpeername) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(getpeername) diff --git a/libc/arch-x86_64/syscalls/getpgid.S b/libc/arch-x86_64/syscalls/getpgid.S index c2f5c092c..158f14de6 100644 --- a/libc/arch-x86_64/syscalls/getpgid.S +++ b/libc/arch-x86_64/syscalls/getpgid.S @@ -10,7 +10,6 @@ ENTRY(getpgid) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(getpgid) diff --git a/libc/arch-x86_64/syscalls/getpid.S b/libc/arch-x86_64/syscalls/getpid.S index 65b8df4b8..a2d732c9e 100644 --- a/libc/arch-x86_64/syscalls/getpid.S +++ b/libc/arch-x86_64/syscalls/getpid.S @@ -10,7 +10,6 @@ ENTRY(getpid) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(getpid) diff --git a/libc/arch-x86_64/syscalls/getppid.S b/libc/arch-x86_64/syscalls/getppid.S index ce3dbda16..e4853e0d8 100644 --- a/libc/arch-x86_64/syscalls/getppid.S +++ b/libc/arch-x86_64/syscalls/getppid.S @@ -10,7 +10,6 @@ ENTRY(getppid) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(getppid) diff --git a/libc/arch-x86_64/syscalls/getresgid.S b/libc/arch-x86_64/syscalls/getresgid.S index 0edc20ad5..d65fb1392 100644 --- a/libc/arch-x86_64/syscalls/getresgid.S +++ b/libc/arch-x86_64/syscalls/getresgid.S @@ -10,7 +10,6 @@ ENTRY(getresgid) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(getresgid) diff --git a/libc/arch-x86_64/syscalls/getresuid.S b/libc/arch-x86_64/syscalls/getresuid.S index b900c9944..80d85c676 100644 --- a/libc/arch-x86_64/syscalls/getresuid.S +++ b/libc/arch-x86_64/syscalls/getresuid.S @@ -10,7 +10,6 @@ ENTRY(getresuid) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(getresuid) diff --git a/libc/arch-x86_64/syscalls/getrlimit.S b/libc/arch-x86_64/syscalls/getrlimit.S index 6a9c9b65b..ea0ca7da0 100644 --- a/libc/arch-x86_64/syscalls/getrlimit.S +++ b/libc/arch-x86_64/syscalls/getrlimit.S @@ -10,7 +10,6 @@ ENTRY(getrlimit) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(getrlimit) diff --git a/libc/arch-x86_64/syscalls/getrusage.S b/libc/arch-x86_64/syscalls/getrusage.S index 210d58647..7a60738bd 100644 --- a/libc/arch-x86_64/syscalls/getrusage.S +++ b/libc/arch-x86_64/syscalls/getrusage.S @@ -10,7 +10,6 @@ ENTRY(getrusage) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(getrusage) diff --git a/libc/arch-x86_64/syscalls/getsid.S b/libc/arch-x86_64/syscalls/getsid.S index de3e3c0e9..75e3fad98 100644 --- a/libc/arch-x86_64/syscalls/getsid.S +++ b/libc/arch-x86_64/syscalls/getsid.S @@ -10,7 +10,6 @@ ENTRY(getsid) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(getsid) diff --git a/libc/arch-x86_64/syscalls/getsockname.S b/libc/arch-x86_64/syscalls/getsockname.S index ccabf71fc..3c7c2f852 100644 --- a/libc/arch-x86_64/syscalls/getsockname.S +++ b/libc/arch-x86_64/syscalls/getsockname.S @@ -10,7 +10,6 @@ ENTRY(getsockname) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(getsockname) diff --git a/libc/arch-x86_64/syscalls/getsockopt.S b/libc/arch-x86_64/syscalls/getsockopt.S index c4f456eb8..725757cd8 100644 --- a/libc/arch-x86_64/syscalls/getsockopt.S +++ b/libc/arch-x86_64/syscalls/getsockopt.S @@ -11,7 +11,6 @@ ENTRY(getsockopt) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(getsockopt) diff --git a/libc/arch-x86_64/syscalls/gettimeofday.S b/libc/arch-x86_64/syscalls/gettimeofday.S index 261bb6e67..4867c3072 100644 --- a/libc/arch-x86_64/syscalls/gettimeofday.S +++ b/libc/arch-x86_64/syscalls/gettimeofday.S @@ -10,7 +10,6 @@ ENTRY(gettimeofday) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(gettimeofday) diff --git a/libc/arch-x86_64/syscalls/getuid.S b/libc/arch-x86_64/syscalls/getuid.S index 4cb9efd1f..d7306e160 100644 --- a/libc/arch-x86_64/syscalls/getuid.S +++ b/libc/arch-x86_64/syscalls/getuid.S @@ -10,7 +10,6 @@ ENTRY(getuid) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(getuid) diff --git a/libc/arch-x86_64/syscalls/getxattr.S b/libc/arch-x86_64/syscalls/getxattr.S index 6bdb762c0..7c66b0e4b 100644 --- a/libc/arch-x86_64/syscalls/getxattr.S +++ b/libc/arch-x86_64/syscalls/getxattr.S @@ -11,7 +11,6 @@ ENTRY(getxattr) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(getxattr) diff --git a/libc/arch-x86_64/syscalls/init_module.S b/libc/arch-x86_64/syscalls/init_module.S index eb048c032..187f5a277 100644 --- a/libc/arch-x86_64/syscalls/init_module.S +++ b/libc/arch-x86_64/syscalls/init_module.S @@ -10,7 +10,6 @@ ENTRY(init_module) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(init_module) diff --git a/libc/arch-x86_64/syscalls/inotify_add_watch.S b/libc/arch-x86_64/syscalls/inotify_add_watch.S index 3e124e719..47e15ab57 100644 --- a/libc/arch-x86_64/syscalls/inotify_add_watch.S +++ b/libc/arch-x86_64/syscalls/inotify_add_watch.S @@ -10,7 +10,6 @@ ENTRY(inotify_add_watch) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(inotify_add_watch) diff --git a/libc/arch-x86_64/syscalls/inotify_init1.S b/libc/arch-x86_64/syscalls/inotify_init1.S index 8d821152c..160b0d59e 100644 --- a/libc/arch-x86_64/syscalls/inotify_init1.S +++ b/libc/arch-x86_64/syscalls/inotify_init1.S @@ -10,7 +10,6 @@ ENTRY(inotify_init1) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(inotify_init1) diff --git a/libc/arch-x86_64/syscalls/inotify_rm_watch.S b/libc/arch-x86_64/syscalls/inotify_rm_watch.S index ece151049..4c5874ea4 100644 --- a/libc/arch-x86_64/syscalls/inotify_rm_watch.S +++ b/libc/arch-x86_64/syscalls/inotify_rm_watch.S @@ -10,7 +10,6 @@ ENTRY(inotify_rm_watch) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(inotify_rm_watch) diff --git a/libc/arch-x86_64/syscalls/ioprio_get.S b/libc/arch-x86_64/syscalls/ioprio_get.S index 48c140218..729a288fb 100644 --- a/libc/arch-x86_64/syscalls/ioprio_get.S +++ b/libc/arch-x86_64/syscalls/ioprio_get.S @@ -10,7 +10,6 @@ ENTRY(ioprio_get) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(ioprio_get) diff --git a/libc/arch-x86_64/syscalls/ioprio_set.S b/libc/arch-x86_64/syscalls/ioprio_set.S index 4cdc8b394..477fe610d 100644 --- a/libc/arch-x86_64/syscalls/ioprio_set.S +++ b/libc/arch-x86_64/syscalls/ioprio_set.S @@ -10,7 +10,6 @@ ENTRY(ioprio_set) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(ioprio_set) diff --git a/libc/arch-x86_64/syscalls/kill.S b/libc/arch-x86_64/syscalls/kill.S index 51ca35cb0..f234585c8 100644 --- a/libc/arch-x86_64/syscalls/kill.S +++ b/libc/arch-x86_64/syscalls/kill.S @@ -10,7 +10,6 @@ ENTRY(kill) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(kill) diff --git a/libc/arch-x86_64/syscalls/klogctl.S b/libc/arch-x86_64/syscalls/klogctl.S index 8c0cccee8..057b066c7 100644 --- a/libc/arch-x86_64/syscalls/klogctl.S +++ b/libc/arch-x86_64/syscalls/klogctl.S @@ -10,7 +10,6 @@ ENTRY(klogctl) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(klogctl) diff --git a/libc/arch-x86_64/syscalls/lgetxattr.S b/libc/arch-x86_64/syscalls/lgetxattr.S index 6f195ea51..525ee3be8 100644 --- a/libc/arch-x86_64/syscalls/lgetxattr.S +++ b/libc/arch-x86_64/syscalls/lgetxattr.S @@ -11,7 +11,6 @@ ENTRY(lgetxattr) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(lgetxattr) diff --git a/libc/arch-x86_64/syscalls/linkat.S b/libc/arch-x86_64/syscalls/linkat.S index b9a2b1435..815af86ff 100644 --- a/libc/arch-x86_64/syscalls/linkat.S +++ b/libc/arch-x86_64/syscalls/linkat.S @@ -11,7 +11,6 @@ ENTRY(linkat) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(linkat) diff --git a/libc/arch-x86_64/syscalls/listen.S b/libc/arch-x86_64/syscalls/listen.S index 104b51486..d3d7103fb 100644 --- a/libc/arch-x86_64/syscalls/listen.S +++ b/libc/arch-x86_64/syscalls/listen.S @@ -10,7 +10,6 @@ ENTRY(listen) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(listen) diff --git a/libc/arch-x86_64/syscalls/listxattr.S b/libc/arch-x86_64/syscalls/listxattr.S index fe57e39c9..89fd63ce2 100644 --- a/libc/arch-x86_64/syscalls/listxattr.S +++ b/libc/arch-x86_64/syscalls/listxattr.S @@ -10,7 +10,6 @@ ENTRY(listxattr) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(listxattr) diff --git a/libc/arch-x86_64/syscalls/llistxattr.S b/libc/arch-x86_64/syscalls/llistxattr.S index aa0a54d7f..cfff2e79b 100644 --- a/libc/arch-x86_64/syscalls/llistxattr.S +++ b/libc/arch-x86_64/syscalls/llistxattr.S @@ -10,7 +10,6 @@ ENTRY(llistxattr) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(llistxattr) diff --git a/libc/arch-x86_64/syscalls/lremovexattr.S b/libc/arch-x86_64/syscalls/lremovexattr.S index 4b5ee653b..0b6994a52 100644 --- a/libc/arch-x86_64/syscalls/lremovexattr.S +++ b/libc/arch-x86_64/syscalls/lremovexattr.S @@ -10,7 +10,6 @@ ENTRY(lremovexattr) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(lremovexattr) diff --git a/libc/arch-x86_64/syscalls/lseek.S b/libc/arch-x86_64/syscalls/lseek.S index cf1977668..b2e8c16a5 100644 --- a/libc/arch-x86_64/syscalls/lseek.S +++ b/libc/arch-x86_64/syscalls/lseek.S @@ -10,7 +10,6 @@ ENTRY(lseek) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(lseek) diff --git a/libc/arch-x86_64/syscalls/lsetxattr.S b/libc/arch-x86_64/syscalls/lsetxattr.S index 67d93eb3c..fdaf98ae4 100644 --- a/libc/arch-x86_64/syscalls/lsetxattr.S +++ b/libc/arch-x86_64/syscalls/lsetxattr.S @@ -11,7 +11,6 @@ ENTRY(lsetxattr) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(lsetxattr) diff --git a/libc/arch-x86_64/syscalls/madvise.S b/libc/arch-x86_64/syscalls/madvise.S index e4ef9234d..3f567fd03 100644 --- a/libc/arch-x86_64/syscalls/madvise.S +++ b/libc/arch-x86_64/syscalls/madvise.S @@ -10,7 +10,6 @@ ENTRY(madvise) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(madvise) diff --git a/libc/arch-x86_64/syscalls/mincore.S b/libc/arch-x86_64/syscalls/mincore.S index d92755c08..e6b252155 100644 --- a/libc/arch-x86_64/syscalls/mincore.S +++ b/libc/arch-x86_64/syscalls/mincore.S @@ -10,7 +10,6 @@ ENTRY(mincore) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(mincore) diff --git a/libc/arch-x86_64/syscalls/mkdirat.S b/libc/arch-x86_64/syscalls/mkdirat.S index 9e5dbd60b..abba2d571 100644 --- a/libc/arch-x86_64/syscalls/mkdirat.S +++ b/libc/arch-x86_64/syscalls/mkdirat.S @@ -10,7 +10,6 @@ ENTRY(mkdirat) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(mkdirat) diff --git a/libc/arch-x86_64/syscalls/mknodat.S b/libc/arch-x86_64/syscalls/mknodat.S index 49aac35cf..d3d78c9c5 100644 --- a/libc/arch-x86_64/syscalls/mknodat.S +++ b/libc/arch-x86_64/syscalls/mknodat.S @@ -11,7 +11,6 @@ ENTRY(mknodat) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(mknodat) diff --git a/libc/arch-x86_64/syscalls/mlock.S b/libc/arch-x86_64/syscalls/mlock.S index f0b0c6e46..0c69eb71b 100644 --- a/libc/arch-x86_64/syscalls/mlock.S +++ b/libc/arch-x86_64/syscalls/mlock.S @@ -10,7 +10,6 @@ ENTRY(mlock) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(mlock) diff --git a/libc/arch-x86_64/syscalls/mlockall.S b/libc/arch-x86_64/syscalls/mlockall.S index 420cb03f6..89ba9b6e6 100644 --- a/libc/arch-x86_64/syscalls/mlockall.S +++ b/libc/arch-x86_64/syscalls/mlockall.S @@ -10,7 +10,6 @@ ENTRY(mlockall) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(mlockall) diff --git a/libc/arch-x86_64/syscalls/mmap.S b/libc/arch-x86_64/syscalls/mmap.S index 9c3fc0fc2..7b9f6e033 100644 --- a/libc/arch-x86_64/syscalls/mmap.S +++ b/libc/arch-x86_64/syscalls/mmap.S @@ -11,7 +11,6 @@ ENTRY(mmap) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(mmap) diff --git a/libc/arch-x86_64/syscalls/mount.S b/libc/arch-x86_64/syscalls/mount.S index df488c33e..04534c9d3 100644 --- a/libc/arch-x86_64/syscalls/mount.S +++ b/libc/arch-x86_64/syscalls/mount.S @@ -11,7 +11,6 @@ ENTRY(mount) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(mount) diff --git a/libc/arch-x86_64/syscalls/mprotect.S b/libc/arch-x86_64/syscalls/mprotect.S index 9ef61b588..d849bb130 100644 --- a/libc/arch-x86_64/syscalls/mprotect.S +++ b/libc/arch-x86_64/syscalls/mprotect.S @@ -10,7 +10,6 @@ ENTRY(mprotect) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(mprotect) diff --git a/libc/arch-x86_64/syscalls/mremap.S b/libc/arch-x86_64/syscalls/mremap.S index 55e24bf5a..8af367ed8 100644 --- a/libc/arch-x86_64/syscalls/mremap.S +++ b/libc/arch-x86_64/syscalls/mremap.S @@ -11,7 +11,6 @@ ENTRY(mremap) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(mremap) diff --git a/libc/arch-x86_64/syscalls/msync.S b/libc/arch-x86_64/syscalls/msync.S index 40524e380..c0ff0f9b7 100644 --- a/libc/arch-x86_64/syscalls/msync.S +++ b/libc/arch-x86_64/syscalls/msync.S @@ -10,7 +10,6 @@ ENTRY(msync) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(msync) diff --git a/libc/arch-x86_64/syscalls/munlock.S b/libc/arch-x86_64/syscalls/munlock.S index b508259bb..d669f5400 100644 --- a/libc/arch-x86_64/syscalls/munlock.S +++ b/libc/arch-x86_64/syscalls/munlock.S @@ -10,7 +10,6 @@ ENTRY(munlock) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(munlock) diff --git a/libc/arch-x86_64/syscalls/munlockall.S b/libc/arch-x86_64/syscalls/munlockall.S index 4314e2b71..b7a9abcc7 100644 --- a/libc/arch-x86_64/syscalls/munlockall.S +++ b/libc/arch-x86_64/syscalls/munlockall.S @@ -10,7 +10,6 @@ ENTRY(munlockall) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(munlockall) diff --git a/libc/arch-x86_64/syscalls/munmap.S b/libc/arch-x86_64/syscalls/munmap.S index 15d503c65..4360bd0b2 100644 --- a/libc/arch-x86_64/syscalls/munmap.S +++ b/libc/arch-x86_64/syscalls/munmap.S @@ -10,7 +10,6 @@ ENTRY(munmap) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(munmap) diff --git a/libc/arch-x86_64/syscalls/nanosleep.S b/libc/arch-x86_64/syscalls/nanosleep.S index d303fcb64..2eced5b2c 100644 --- a/libc/arch-x86_64/syscalls/nanosleep.S +++ b/libc/arch-x86_64/syscalls/nanosleep.S @@ -10,7 +10,6 @@ ENTRY(nanosleep) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(nanosleep) diff --git a/libc/arch-x86_64/syscalls/personality.S b/libc/arch-x86_64/syscalls/personality.S index 037970777..17ad7eeac 100644 --- a/libc/arch-x86_64/syscalls/personality.S +++ b/libc/arch-x86_64/syscalls/personality.S @@ -10,7 +10,6 @@ ENTRY(personality) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(personality) diff --git a/libc/arch-x86_64/syscalls/pipe2.S b/libc/arch-x86_64/syscalls/pipe2.S index d0a6768ed..83eb0a61b 100644 --- a/libc/arch-x86_64/syscalls/pipe2.S +++ b/libc/arch-x86_64/syscalls/pipe2.S @@ -10,7 +10,6 @@ ENTRY(pipe2) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(pipe2) diff --git a/libc/arch-x86_64/syscalls/prctl.S b/libc/arch-x86_64/syscalls/prctl.S index f7f561b57..c79220d44 100644 --- a/libc/arch-x86_64/syscalls/prctl.S +++ b/libc/arch-x86_64/syscalls/prctl.S @@ -11,7 +11,6 @@ ENTRY(prctl) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(prctl) diff --git a/libc/arch-x86_64/syscalls/pread64.S b/libc/arch-x86_64/syscalls/pread64.S index 5828a0608..1c4dc68da 100644 --- a/libc/arch-x86_64/syscalls/pread64.S +++ b/libc/arch-x86_64/syscalls/pread64.S @@ -11,7 +11,6 @@ ENTRY(pread64) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(pread64) diff --git a/libc/arch-x86_64/syscalls/prlimit64.S b/libc/arch-x86_64/syscalls/prlimit64.S index 12be53a07..823feba5c 100644 --- a/libc/arch-x86_64/syscalls/prlimit64.S +++ b/libc/arch-x86_64/syscalls/prlimit64.S @@ -11,7 +11,6 @@ ENTRY(prlimit64) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(prlimit64) diff --git a/libc/arch-x86_64/syscalls/pwrite64.S b/libc/arch-x86_64/syscalls/pwrite64.S index 1ada9d9a1..13bcb58bf 100644 --- a/libc/arch-x86_64/syscalls/pwrite64.S +++ b/libc/arch-x86_64/syscalls/pwrite64.S @@ -11,7 +11,6 @@ ENTRY(pwrite64) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(pwrite64) diff --git a/libc/arch-x86_64/syscalls/read.S b/libc/arch-x86_64/syscalls/read.S index 0ff6c2a17..400c87ac8 100644 --- a/libc/arch-x86_64/syscalls/read.S +++ b/libc/arch-x86_64/syscalls/read.S @@ -10,7 +10,6 @@ ENTRY(read) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(read) diff --git a/libc/arch-x86_64/syscalls/readahead.S b/libc/arch-x86_64/syscalls/readahead.S index a32c1c27d..2a2978ba3 100644 --- a/libc/arch-x86_64/syscalls/readahead.S +++ b/libc/arch-x86_64/syscalls/readahead.S @@ -10,7 +10,6 @@ ENTRY(readahead) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(readahead) diff --git a/libc/arch-x86_64/syscalls/readlinkat.S b/libc/arch-x86_64/syscalls/readlinkat.S index a1c3adeee..51d1f0c7e 100644 --- a/libc/arch-x86_64/syscalls/readlinkat.S +++ b/libc/arch-x86_64/syscalls/readlinkat.S @@ -11,7 +11,6 @@ ENTRY(readlinkat) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(readlinkat) diff --git a/libc/arch-x86_64/syscalls/readv.S b/libc/arch-x86_64/syscalls/readv.S index a6f51cf5e..419975183 100644 --- a/libc/arch-x86_64/syscalls/readv.S +++ b/libc/arch-x86_64/syscalls/readv.S @@ -10,7 +10,6 @@ ENTRY(readv) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(readv) diff --git a/libc/arch-x86_64/syscalls/recvfrom.S b/libc/arch-x86_64/syscalls/recvfrom.S index feb3a6326..61ca1b219 100644 --- a/libc/arch-x86_64/syscalls/recvfrom.S +++ b/libc/arch-x86_64/syscalls/recvfrom.S @@ -11,7 +11,6 @@ ENTRY(recvfrom) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(recvfrom) diff --git a/libc/arch-x86_64/syscalls/recvmmsg.S b/libc/arch-x86_64/syscalls/recvmmsg.S index 9da70e2c3..ce14ba50c 100644 --- a/libc/arch-x86_64/syscalls/recvmmsg.S +++ b/libc/arch-x86_64/syscalls/recvmmsg.S @@ -11,7 +11,6 @@ ENTRY(recvmmsg) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(recvmmsg) diff --git a/libc/arch-x86_64/syscalls/recvmsg.S b/libc/arch-x86_64/syscalls/recvmsg.S index 6716aca16..8655d072d 100644 --- a/libc/arch-x86_64/syscalls/recvmsg.S +++ b/libc/arch-x86_64/syscalls/recvmsg.S @@ -10,7 +10,6 @@ ENTRY(recvmsg) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(recvmsg) diff --git a/libc/arch-x86_64/syscalls/removexattr.S b/libc/arch-x86_64/syscalls/removexattr.S index 89b2c4f2d..97364633f 100644 --- a/libc/arch-x86_64/syscalls/removexattr.S +++ b/libc/arch-x86_64/syscalls/removexattr.S @@ -10,7 +10,6 @@ ENTRY(removexattr) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(removexattr) diff --git a/libc/arch-x86_64/syscalls/renameat.S b/libc/arch-x86_64/syscalls/renameat.S index 9d69c3e36..0be2ef909 100644 --- a/libc/arch-x86_64/syscalls/renameat.S +++ b/libc/arch-x86_64/syscalls/renameat.S @@ -11,7 +11,6 @@ ENTRY(renameat) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(renameat) diff --git a/libc/arch-x86_64/syscalls/sched_get_priority_max.S b/libc/arch-x86_64/syscalls/sched_get_priority_max.S index 41b2d1daa..0f9273942 100644 --- a/libc/arch-x86_64/syscalls/sched_get_priority_max.S +++ b/libc/arch-x86_64/syscalls/sched_get_priority_max.S @@ -10,7 +10,6 @@ ENTRY(sched_get_priority_max) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(sched_get_priority_max) diff --git a/libc/arch-x86_64/syscalls/sched_get_priority_min.S b/libc/arch-x86_64/syscalls/sched_get_priority_min.S index 61b746f2b..8450e9db3 100644 --- a/libc/arch-x86_64/syscalls/sched_get_priority_min.S +++ b/libc/arch-x86_64/syscalls/sched_get_priority_min.S @@ -10,7 +10,6 @@ ENTRY(sched_get_priority_min) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(sched_get_priority_min) diff --git a/libc/arch-x86_64/syscalls/sched_getparam.S b/libc/arch-x86_64/syscalls/sched_getparam.S index 23d34b2b7..a784640a0 100644 --- a/libc/arch-x86_64/syscalls/sched_getparam.S +++ b/libc/arch-x86_64/syscalls/sched_getparam.S @@ -10,7 +10,6 @@ ENTRY(sched_getparam) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(sched_getparam) diff --git a/libc/arch-x86_64/syscalls/sched_getscheduler.S b/libc/arch-x86_64/syscalls/sched_getscheduler.S index 12f0ba047..090b32246 100644 --- a/libc/arch-x86_64/syscalls/sched_getscheduler.S +++ b/libc/arch-x86_64/syscalls/sched_getscheduler.S @@ -10,7 +10,6 @@ ENTRY(sched_getscheduler) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(sched_getscheduler) diff --git a/libc/arch-x86_64/syscalls/sched_rr_get_interval.S b/libc/arch-x86_64/syscalls/sched_rr_get_interval.S index 0ff852fa3..0977f2ed9 100644 --- a/libc/arch-x86_64/syscalls/sched_rr_get_interval.S +++ b/libc/arch-x86_64/syscalls/sched_rr_get_interval.S @@ -10,7 +10,6 @@ ENTRY(sched_rr_get_interval) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(sched_rr_get_interval) diff --git a/libc/arch-x86_64/syscalls/sched_setaffinity.S b/libc/arch-x86_64/syscalls/sched_setaffinity.S index 250ecb658..af8e7a2ae 100644 --- a/libc/arch-x86_64/syscalls/sched_setaffinity.S +++ b/libc/arch-x86_64/syscalls/sched_setaffinity.S @@ -10,7 +10,6 @@ ENTRY(sched_setaffinity) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(sched_setaffinity) diff --git a/libc/arch-x86_64/syscalls/sched_setparam.S b/libc/arch-x86_64/syscalls/sched_setparam.S index 30a7963c1..2964607db 100644 --- a/libc/arch-x86_64/syscalls/sched_setparam.S +++ b/libc/arch-x86_64/syscalls/sched_setparam.S @@ -10,7 +10,6 @@ ENTRY(sched_setparam) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(sched_setparam) diff --git a/libc/arch-x86_64/syscalls/sched_setscheduler.S b/libc/arch-x86_64/syscalls/sched_setscheduler.S index 137f9f0d5..333d1b86c 100644 --- a/libc/arch-x86_64/syscalls/sched_setscheduler.S +++ b/libc/arch-x86_64/syscalls/sched_setscheduler.S @@ -10,7 +10,6 @@ ENTRY(sched_setscheduler) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(sched_setscheduler) diff --git a/libc/arch-x86_64/syscalls/sched_yield.S b/libc/arch-x86_64/syscalls/sched_yield.S index 097c7dcc7..a97215462 100644 --- a/libc/arch-x86_64/syscalls/sched_yield.S +++ b/libc/arch-x86_64/syscalls/sched_yield.S @@ -10,7 +10,6 @@ ENTRY(sched_yield) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(sched_yield) diff --git a/libc/arch-x86_64/syscalls/sendfile.S b/libc/arch-x86_64/syscalls/sendfile.S index 72e5de49e..c1b6497b8 100644 --- a/libc/arch-x86_64/syscalls/sendfile.S +++ b/libc/arch-x86_64/syscalls/sendfile.S @@ -11,7 +11,6 @@ ENTRY(sendfile) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(sendfile) diff --git a/libc/arch-x86_64/syscalls/sendmmsg.S b/libc/arch-x86_64/syscalls/sendmmsg.S index 7407c12f6..940c0b6ee 100644 --- a/libc/arch-x86_64/syscalls/sendmmsg.S +++ b/libc/arch-x86_64/syscalls/sendmmsg.S @@ -11,7 +11,6 @@ ENTRY(sendmmsg) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(sendmmsg) diff --git a/libc/arch-x86_64/syscalls/sendmsg.S b/libc/arch-x86_64/syscalls/sendmsg.S index e56e58c46..6d94bb691 100644 --- a/libc/arch-x86_64/syscalls/sendmsg.S +++ b/libc/arch-x86_64/syscalls/sendmsg.S @@ -10,7 +10,6 @@ ENTRY(sendmsg) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(sendmsg) diff --git a/libc/arch-x86_64/syscalls/sendto.S b/libc/arch-x86_64/syscalls/sendto.S index f0c14b0e0..bfe46361f 100644 --- a/libc/arch-x86_64/syscalls/sendto.S +++ b/libc/arch-x86_64/syscalls/sendto.S @@ -11,7 +11,6 @@ ENTRY(sendto) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(sendto) diff --git a/libc/arch-x86_64/syscalls/setgid.S b/libc/arch-x86_64/syscalls/setgid.S index abaf34314..ef4fb31b9 100644 --- a/libc/arch-x86_64/syscalls/setgid.S +++ b/libc/arch-x86_64/syscalls/setgid.S @@ -10,7 +10,6 @@ ENTRY(setgid) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(setgid) diff --git a/libc/arch-x86_64/syscalls/setgroups.S b/libc/arch-x86_64/syscalls/setgroups.S index 4bbc7ec54..65e618072 100644 --- a/libc/arch-x86_64/syscalls/setgroups.S +++ b/libc/arch-x86_64/syscalls/setgroups.S @@ -10,7 +10,6 @@ ENTRY(setgroups) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(setgroups) diff --git a/libc/arch-x86_64/syscalls/setitimer.S b/libc/arch-x86_64/syscalls/setitimer.S index da81d0b4f..bee4996c2 100644 --- a/libc/arch-x86_64/syscalls/setitimer.S +++ b/libc/arch-x86_64/syscalls/setitimer.S @@ -10,7 +10,6 @@ ENTRY(setitimer) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(setitimer) diff --git a/libc/arch-x86_64/syscalls/setns.S b/libc/arch-x86_64/syscalls/setns.S index bab147b02..521769b91 100644 --- a/libc/arch-x86_64/syscalls/setns.S +++ b/libc/arch-x86_64/syscalls/setns.S @@ -10,7 +10,6 @@ ENTRY(setns) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(setns) diff --git a/libc/arch-x86_64/syscalls/setpgid.S b/libc/arch-x86_64/syscalls/setpgid.S index 6dfefa372..348612bd7 100644 --- a/libc/arch-x86_64/syscalls/setpgid.S +++ b/libc/arch-x86_64/syscalls/setpgid.S @@ -10,7 +10,6 @@ ENTRY(setpgid) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(setpgid) diff --git a/libc/arch-x86_64/syscalls/setpriority.S b/libc/arch-x86_64/syscalls/setpriority.S index 89770e93a..094036816 100644 --- a/libc/arch-x86_64/syscalls/setpriority.S +++ b/libc/arch-x86_64/syscalls/setpriority.S @@ -10,7 +10,6 @@ ENTRY(setpriority) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(setpriority) diff --git a/libc/arch-x86_64/syscalls/setregid.S b/libc/arch-x86_64/syscalls/setregid.S index 9eaa7e901..0338ecf90 100644 --- a/libc/arch-x86_64/syscalls/setregid.S +++ b/libc/arch-x86_64/syscalls/setregid.S @@ -10,7 +10,6 @@ ENTRY(setregid) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(setregid) diff --git a/libc/arch-x86_64/syscalls/setresgid.S b/libc/arch-x86_64/syscalls/setresgid.S index 95206b314..10e12447e 100644 --- a/libc/arch-x86_64/syscalls/setresgid.S +++ b/libc/arch-x86_64/syscalls/setresgid.S @@ -10,7 +10,6 @@ ENTRY(setresgid) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(setresgid) diff --git a/libc/arch-x86_64/syscalls/setresuid.S b/libc/arch-x86_64/syscalls/setresuid.S index c42dda9e8..229b11b33 100644 --- a/libc/arch-x86_64/syscalls/setresuid.S +++ b/libc/arch-x86_64/syscalls/setresuid.S @@ -10,7 +10,6 @@ ENTRY(setresuid) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(setresuid) diff --git a/libc/arch-x86_64/syscalls/setreuid.S b/libc/arch-x86_64/syscalls/setreuid.S index 935f7516e..e96e2d386 100644 --- a/libc/arch-x86_64/syscalls/setreuid.S +++ b/libc/arch-x86_64/syscalls/setreuid.S @@ -10,7 +10,6 @@ ENTRY(setreuid) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(setreuid) diff --git a/libc/arch-x86_64/syscalls/setrlimit.S b/libc/arch-x86_64/syscalls/setrlimit.S index dd393aeaa..662587d48 100644 --- a/libc/arch-x86_64/syscalls/setrlimit.S +++ b/libc/arch-x86_64/syscalls/setrlimit.S @@ -10,7 +10,6 @@ ENTRY(setrlimit) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(setrlimit) diff --git a/libc/arch-x86_64/syscalls/setsid.S b/libc/arch-x86_64/syscalls/setsid.S index 9c50a89da..293ecf555 100644 --- a/libc/arch-x86_64/syscalls/setsid.S +++ b/libc/arch-x86_64/syscalls/setsid.S @@ -10,7 +10,6 @@ ENTRY(setsid) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(setsid) diff --git a/libc/arch-x86_64/syscalls/setsockopt.S b/libc/arch-x86_64/syscalls/setsockopt.S index 2332ec944..aee661391 100644 --- a/libc/arch-x86_64/syscalls/setsockopt.S +++ b/libc/arch-x86_64/syscalls/setsockopt.S @@ -11,7 +11,6 @@ ENTRY(setsockopt) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(setsockopt) diff --git a/libc/arch-x86_64/syscalls/settimeofday.S b/libc/arch-x86_64/syscalls/settimeofday.S index 121c0b6fe..0d00c8947 100644 --- a/libc/arch-x86_64/syscalls/settimeofday.S +++ b/libc/arch-x86_64/syscalls/settimeofday.S @@ -10,7 +10,6 @@ ENTRY(settimeofday) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(settimeofday) diff --git a/libc/arch-x86_64/syscalls/setuid.S b/libc/arch-x86_64/syscalls/setuid.S index f42670550..19e2a1042 100644 --- a/libc/arch-x86_64/syscalls/setuid.S +++ b/libc/arch-x86_64/syscalls/setuid.S @@ -10,7 +10,6 @@ ENTRY(setuid) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(setuid) diff --git a/libc/arch-x86_64/syscalls/setxattr.S b/libc/arch-x86_64/syscalls/setxattr.S index c02aa84aa..3e4d50bf0 100644 --- a/libc/arch-x86_64/syscalls/setxattr.S +++ b/libc/arch-x86_64/syscalls/setxattr.S @@ -11,7 +11,6 @@ ENTRY(setxattr) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(setxattr) diff --git a/libc/arch-x86_64/syscalls/shutdown.S b/libc/arch-x86_64/syscalls/shutdown.S index 96a65f838..346be331d 100644 --- a/libc/arch-x86_64/syscalls/shutdown.S +++ b/libc/arch-x86_64/syscalls/shutdown.S @@ -10,7 +10,6 @@ ENTRY(shutdown) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(shutdown) diff --git a/libc/arch-x86_64/syscalls/sigaltstack.S b/libc/arch-x86_64/syscalls/sigaltstack.S index 57dc41a67..271fafc09 100644 --- a/libc/arch-x86_64/syscalls/sigaltstack.S +++ b/libc/arch-x86_64/syscalls/sigaltstack.S @@ -10,7 +10,6 @@ ENTRY(sigaltstack) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(sigaltstack) diff --git a/libc/arch-x86_64/syscalls/socketpair.S b/libc/arch-x86_64/syscalls/socketpair.S index 4e76e833f..5466dc9db 100644 --- a/libc/arch-x86_64/syscalls/socketpair.S +++ b/libc/arch-x86_64/syscalls/socketpair.S @@ -11,7 +11,6 @@ ENTRY(socketpair) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(socketpair) diff --git a/libc/arch-x86_64/syscalls/statfs64.S b/libc/arch-x86_64/syscalls/statfs64.S index 9341d433d..6a2637ca3 100644 --- a/libc/arch-x86_64/syscalls/statfs64.S +++ b/libc/arch-x86_64/syscalls/statfs64.S @@ -10,7 +10,6 @@ ENTRY(statfs64) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(statfs64) diff --git a/libc/arch-x86_64/syscalls/swapoff.S b/libc/arch-x86_64/syscalls/swapoff.S index 2f2dafee3..7e55758ab 100644 --- a/libc/arch-x86_64/syscalls/swapoff.S +++ b/libc/arch-x86_64/syscalls/swapoff.S @@ -10,7 +10,6 @@ ENTRY(swapoff) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(swapoff) diff --git a/libc/arch-x86_64/syscalls/swapon.S b/libc/arch-x86_64/syscalls/swapon.S index 3db792114..d2f5f660b 100644 --- a/libc/arch-x86_64/syscalls/swapon.S +++ b/libc/arch-x86_64/syscalls/swapon.S @@ -10,7 +10,6 @@ ENTRY(swapon) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(swapon) diff --git a/libc/arch-x86_64/syscalls/symlinkat.S b/libc/arch-x86_64/syscalls/symlinkat.S index 54b4d4e68..5bbf1cbdb 100644 --- a/libc/arch-x86_64/syscalls/symlinkat.S +++ b/libc/arch-x86_64/syscalls/symlinkat.S @@ -10,7 +10,6 @@ ENTRY(symlinkat) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(symlinkat) diff --git a/libc/arch-x86_64/syscalls/sync.S b/libc/arch-x86_64/syscalls/sync.S index f58c78872..991171543 100644 --- a/libc/arch-x86_64/syscalls/sync.S +++ b/libc/arch-x86_64/syscalls/sync.S @@ -10,7 +10,6 @@ ENTRY(sync) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(sync) diff --git a/libc/arch-x86_64/syscalls/sysinfo.S b/libc/arch-x86_64/syscalls/sysinfo.S index d48369319..104bb2ced 100644 --- a/libc/arch-x86_64/syscalls/sysinfo.S +++ b/libc/arch-x86_64/syscalls/sysinfo.S @@ -10,7 +10,6 @@ ENTRY(sysinfo) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(sysinfo) diff --git a/libc/arch-x86_64/syscalls/tgkill.S b/libc/arch-x86_64/syscalls/tgkill.S index 7d217b033..e3b9972c7 100644 --- a/libc/arch-x86_64/syscalls/tgkill.S +++ b/libc/arch-x86_64/syscalls/tgkill.S @@ -10,7 +10,6 @@ ENTRY(tgkill) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(tgkill) diff --git a/libc/arch-x86_64/syscalls/timerfd_create.S b/libc/arch-x86_64/syscalls/timerfd_create.S index a518e4f9b..3f1b23afc 100644 --- a/libc/arch-x86_64/syscalls/timerfd_create.S +++ b/libc/arch-x86_64/syscalls/timerfd_create.S @@ -10,7 +10,6 @@ ENTRY(timerfd_create) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(timerfd_create) diff --git a/libc/arch-x86_64/syscalls/timerfd_gettime.S b/libc/arch-x86_64/syscalls/timerfd_gettime.S index 1d0853af5..b1017ad90 100644 --- a/libc/arch-x86_64/syscalls/timerfd_gettime.S +++ b/libc/arch-x86_64/syscalls/timerfd_gettime.S @@ -10,7 +10,6 @@ ENTRY(timerfd_gettime) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(timerfd_gettime) diff --git a/libc/arch-x86_64/syscalls/timerfd_settime.S b/libc/arch-x86_64/syscalls/timerfd_settime.S index a23af4ec6..8610a1d4f 100644 --- a/libc/arch-x86_64/syscalls/timerfd_settime.S +++ b/libc/arch-x86_64/syscalls/timerfd_settime.S @@ -11,7 +11,6 @@ ENTRY(timerfd_settime) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(timerfd_settime) diff --git a/libc/arch-x86_64/syscalls/times.S b/libc/arch-x86_64/syscalls/times.S index 520d062dd..07590b9f3 100644 --- a/libc/arch-x86_64/syscalls/times.S +++ b/libc/arch-x86_64/syscalls/times.S @@ -10,7 +10,6 @@ ENTRY(times) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(times) diff --git a/libc/arch-x86_64/syscalls/truncate.S b/libc/arch-x86_64/syscalls/truncate.S index dfb66871c..db2121f86 100644 --- a/libc/arch-x86_64/syscalls/truncate.S +++ b/libc/arch-x86_64/syscalls/truncate.S @@ -10,7 +10,6 @@ ENTRY(truncate) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(truncate) diff --git a/libc/arch-x86_64/syscalls/umask.S b/libc/arch-x86_64/syscalls/umask.S index 360ad7177..badea7608 100644 --- a/libc/arch-x86_64/syscalls/umask.S +++ b/libc/arch-x86_64/syscalls/umask.S @@ -10,7 +10,6 @@ ENTRY(umask) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(umask) diff --git a/libc/arch-x86_64/syscalls/umount2.S b/libc/arch-x86_64/syscalls/umount2.S index e2de44b72..93e6fa034 100644 --- a/libc/arch-x86_64/syscalls/umount2.S +++ b/libc/arch-x86_64/syscalls/umount2.S @@ -10,7 +10,6 @@ ENTRY(umount2) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(umount2) diff --git a/libc/arch-x86_64/syscalls/uname.S b/libc/arch-x86_64/syscalls/uname.S index 8ad40fa38..4b0d1c5e2 100644 --- a/libc/arch-x86_64/syscalls/uname.S +++ b/libc/arch-x86_64/syscalls/uname.S @@ -10,7 +10,6 @@ ENTRY(uname) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(uname) diff --git a/libc/arch-x86_64/syscalls/unlinkat.S b/libc/arch-x86_64/syscalls/unlinkat.S index 83bb59f15..f322f7d2e 100644 --- a/libc/arch-x86_64/syscalls/unlinkat.S +++ b/libc/arch-x86_64/syscalls/unlinkat.S @@ -10,7 +10,6 @@ ENTRY(unlinkat) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(unlinkat) diff --git a/libc/arch-x86_64/syscalls/unshare.S b/libc/arch-x86_64/syscalls/unshare.S index 044af99a9..b5395c141 100644 --- a/libc/arch-x86_64/syscalls/unshare.S +++ b/libc/arch-x86_64/syscalls/unshare.S @@ -10,7 +10,6 @@ ENTRY(unshare) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(unshare) diff --git a/libc/arch-x86_64/syscalls/utimensat.S b/libc/arch-x86_64/syscalls/utimensat.S index 4d263fff0..f90caf210 100644 --- a/libc/arch-x86_64/syscalls/utimensat.S +++ b/libc/arch-x86_64/syscalls/utimensat.S @@ -11,7 +11,6 @@ ENTRY(utimensat) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(utimensat) diff --git a/libc/arch-x86_64/syscalls/wait4.S b/libc/arch-x86_64/syscalls/wait4.S index 7de78ac40..794833153 100644 --- a/libc/arch-x86_64/syscalls/wait4.S +++ b/libc/arch-x86_64/syscalls/wait4.S @@ -11,7 +11,6 @@ ENTRY(wait4) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(wait4) diff --git a/libc/arch-x86_64/syscalls/write.S b/libc/arch-x86_64/syscalls/write.S index eab390404..7e3a56340 100644 --- a/libc/arch-x86_64/syscalls/write.S +++ b/libc/arch-x86_64/syscalls/write.S @@ -10,7 +10,6 @@ ENTRY(write) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(write) diff --git a/libc/arch-x86_64/syscalls/writev.S b/libc/arch-x86_64/syscalls/writev.S index b21e3d64d..5fc040a04 100644 --- a/libc/arch-x86_64/syscalls/writev.S +++ b/libc/arch-x86_64/syscalls/writev.S @@ -10,7 +10,6 @@ ENTRY(writev) negl %eax movl %eax, %edi call __set_errno - orq $-1, %rax 1: ret END(writev) diff --git a/libc/tools/gensyscalls.py b/libc/tools/gensyscalls.py index 5e4ddc59e..a34b76328 100755 --- a/libc/tools/gensyscalls.py +++ b/libc/tools/gensyscalls.py @@ -183,7 +183,6 @@ x86_call = """\ pushl %%eax call __set_errno addl $4, %%esp - orl $-1, %%eax 1: """ @@ -205,7 +204,6 @@ x86_64_call = """\ negl %%eax movl %%eax, %%edi call __set_errno - orq $-1, %%rax 1: ret END(%(func)s)