mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-29 05:50:27 +00:00
Make improvements
- Document redbean's argon2 module - Fix regressions in cthreads library - Make testlib work better with threads - Give the cthreads library lots of love - Remove some of the stdio assembly code - Implement getloadavg() across platforms - Code size optimizations for errnos, etc. - Only check for signals in main thread on Windows - Make errnos for dup2 / dup3 consistent with posix This change also fixes a bug in the argon2 module, where the NUL terminator was being included in the hash encoded ascii string. This shouldn't require any database migrations to folks who found this module and productionized it, since the argon2 library treats it as a c string.
This commit is contained in:
parent
cb67223051
commit
de5de19004
234 changed files with 1728 additions and 1993 deletions
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
e2big: .leafprologue
|
||||
.profilable
|
||||
mov E2BIG(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn e2big,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
eacces: .leafprologue
|
||||
.profilable
|
||||
mov EACCES(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn eacces,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
eaddrinuse:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EADDRINUSE(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn eaddrinuse,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
eaddrnotavail:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EADDRNOTAVAIL(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn eaddrnotavail,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
eadv: .leafprologue
|
||||
.profilable
|
||||
mov EADV(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn eadv,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
eafnosupport:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EAFNOSUPPORT(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn eafnosupport,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
eagain: .leafprologue
|
||||
.profilable
|
||||
mov EAGAIN(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn eagain,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
ealready:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EALREADY(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn ealready,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
ebade: .leafprologue
|
||||
.profilable
|
||||
mov EBADE(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn ebade,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
ebadf: .leafprologue
|
||||
.profilable
|
||||
mov EBADF(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn ebadf,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
ebadfd: .leafprologue
|
||||
.profilable
|
||||
mov EBADFD(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn ebadfd,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
ebadmsg:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EBADMSG(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn ebadmsg,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
ebadr: .leafprologue
|
||||
.profilable
|
||||
mov EBADR(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn ebadr,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
ebadrqc:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EBADRQC(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn ebadrqc,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
ebadslt:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EBADSLT(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn ebadslt,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
ebusy: .leafprologue
|
||||
.profilable
|
||||
mov EBUSY(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn ebusy,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
ecanceled:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ECANCELED(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn ecanceled,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
echild: .leafprologue
|
||||
.profilable
|
||||
mov ECHILD(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn echild,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
echrng: .leafprologue
|
||||
.profilable
|
||||
mov ECHRNG(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn echrng,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
ecomm: .leafprologue
|
||||
.profilable
|
||||
mov ECOMM(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn ecomm,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
econnaborted:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ECONNABORTED(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn econnaborted,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
econnrefused:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ECONNREFUSED(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn econnrefused,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
econnreset:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ECONNRESET(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn econnreset,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
edeadlk:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EDEADLK(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn edeadlk,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
edestaddrreq:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EDESTADDRREQ(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn edestaddrreq,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
edom: .leafprologue
|
||||
.profilable
|
||||
mov EDOM(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn edom,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
edotdot:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EDOTDOT(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn edotdot,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
edquot: .leafprologue
|
||||
.profilable
|
||||
mov EDQUOT(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn edquot,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
eexist: .leafprologue
|
||||
.profilable
|
||||
mov EEXIST(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn eexist,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
efault: .leafprologue
|
||||
.profilable
|
||||
mov EFAULT(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn efault,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
efbig: .leafprologue
|
||||
.profilable
|
||||
mov EFBIG(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn efbig,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
ehostdown:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EHOSTDOWN(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn ehostdown,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
ehostunreach:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EHOSTUNREACH(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn ehostunreach,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
ehwpoison:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EHWPOISON(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn ehwpoison,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
eidrm: .leafprologue
|
||||
.profilable
|
||||
mov EIDRM(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn eidrm,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
eilseq: .leafprologue
|
||||
.profilable
|
||||
mov EILSEQ(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn eilseq,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
einprogress:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EINPROGRESS(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn einprogress,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
eintr: .leafprologue
|
||||
.profilable
|
||||
mov EINTR(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn eintr,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
einval: .leafprologue
|
||||
.profilable
|
||||
mov EINVAL(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn einval,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
eio: .leafprologue
|
||||
.profilable
|
||||
mov EIO(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn eio,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
eisconn:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EISCONN(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn eisconn,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
eisdir: .leafprologue
|
||||
.profilable
|
||||
mov EISDIR(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn eisdir,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
eisnam: .leafprologue
|
||||
.profilable
|
||||
mov EISNAM(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn eisnam,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
ekeyexpired:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EKEYEXPIRED(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn ekeyexpired,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
ekeyrejected:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EKEYREJECTED(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn ekeyrejected,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
ekeyrevoked:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EKEYREVOKED(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn ekeyrevoked,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
el2hlt: .leafprologue
|
||||
.profilable
|
||||
mov EL2HLT(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn el2hlt,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
el2nsync:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EL2NSYNC(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn el2nsync,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
el3hlt: .leafprologue
|
||||
.profilable
|
||||
mov EL3HLT(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn el3hlt,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
el3rst: .leafprologue
|
||||
.profilable
|
||||
mov EL3RST(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn el3rst,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
elibacc:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ELIBACC(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn elibacc,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
elibbad:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ELIBBAD(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn elibbad,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
elibexec:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ELIBEXEC(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn elibexec,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
elibmax:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ELIBMAX(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn elibmax,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
elibscn:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ELIBSCN(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn elibscn,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
elnrng: .leafprologue
|
||||
.profilable
|
||||
mov ELNRNG(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn elnrng,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
eloop: .leafprologue
|
||||
.profilable
|
||||
mov ELOOP(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn eloop,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
emediumtype:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EMEDIUMTYPE(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn emediumtype,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
emfile: .leafprologue
|
||||
.profilable
|
||||
mov EMFILE(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn emfile,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
emlink: .leafprologue
|
||||
.profilable
|
||||
mov EMLINK(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn emlink,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
emsgsize:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EMSGSIZE(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn emsgsize,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
emultihop:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EMULTIHOP(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn emultihop,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enametoolong:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENAMETOOLONG(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enametoolong,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enavail:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENAVAIL(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enavail,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enetdown:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENETDOWN(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enetdown,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enetreset:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENETRESET(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enetreset,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enetunreach:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENETUNREACH(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enetunreach,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enfile: .leafprologue
|
||||
.profilable
|
||||
mov ENFILE(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enfile,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enoano: .leafprologue
|
||||
.profilable
|
||||
mov ENOANO(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enoano,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enobufs:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOBUFS(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enobufs,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enocsi: .leafprologue
|
||||
.profilable
|
||||
mov ENOCSI(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enocsi,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enodata:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENODATA(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enodata,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enodev: .leafprologue
|
||||
.profilable
|
||||
mov ENODEV(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enodev,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enoent: .leafprologue
|
||||
.profilable
|
||||
mov ENOENT(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enoent,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enoexec:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOEXEC(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enoexec,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enokey: .leafprologue
|
||||
.profilable
|
||||
mov ENOKEY(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enokey,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enolck: .leafprologue
|
||||
.profilable
|
||||
mov ENOLCK(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enolck,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enolink:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOLINK(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enolink,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enomedium:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOMEDIUM(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enomedium,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enomem: .leafprologue
|
||||
.profilable
|
||||
mov ENOMEM(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enomem,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enomsg: .leafprologue
|
||||
.profilable
|
||||
mov ENOMSG(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enomsg,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enonet: .leafprologue
|
||||
.profilable
|
||||
mov ENONET(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enonet,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enopkg: .leafprologue
|
||||
.profilable
|
||||
mov ENOPKG(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enopkg,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enoprotoopt:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOPROTOOPT(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enoprotoopt,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enospc: .leafprologue
|
||||
.profilable
|
||||
mov ENOSPC(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enospc,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enosr: .leafprologue
|
||||
.profilable
|
||||
mov ENOSR(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enosr,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enostr: .leafprologue
|
||||
.profilable
|
||||
mov ENOSTR(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enostr,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enosys: .leafprologue
|
||||
.profilable
|
||||
mov ENOSYS(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enosys,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enotblk:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTBLK(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enotblk,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enotconn:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTCONN(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enotconn,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enotdir:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTDIR(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enotdir,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enotempty:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTEMPTY(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enotempty,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enotnam:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTNAM(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enotnam,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enotrecoverable:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTRECOVERABLE(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enotrecoverable,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enotsock:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTSOCK(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enotsock,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enotsup:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTSUP(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enotsup,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enotty: .leafprologue
|
||||
.profilable
|
||||
mov ENOTTY(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enotty,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enotuniq:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTUNIQ(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enotuniq,globl,hidden
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
enxio: .leafprologue
|
||||
.profilable
|
||||
mov ENXIO(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn enxio,globl,hidden
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.section .privileged,"ax",@progbits
|
||||
|
||||
eopnotsupp:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EOPNOTSUPP(%rip),%ecx
|
||||
.errno
|
||||
mov %ecx,(%rax)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
jmp __errfun
|
||||
.endfn eopnotsupp,globl,hidden
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue