mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-05 02:38:31 +00:00
Initial import
This commit is contained in:
commit
c91b3c5006
14915 changed files with 590219 additions and 0 deletions
11
libc/sysv/errfuns/e2big.S
Normal file
11
libc/sysv/errfuns/e2big.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
e2big: .leafprologue
|
||||
.profilable
|
||||
mov E2BIG(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn e2big,globl,hidden
|
11
libc/sysv/errfuns/eacces.S
Normal file
11
libc/sysv/errfuns/eacces.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
eacces: .leafprologue
|
||||
.profilable
|
||||
mov EACCES(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn eacces,globl,hidden
|
12
libc/sysv/errfuns/eaddrinuse.S
Normal file
12
libc/sysv/errfuns/eaddrinuse.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
eaddrinuse:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EADDRINUSE(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn eaddrinuse,globl,hidden
|
12
libc/sysv/errfuns/eaddrnotavail.S
Normal file
12
libc/sysv/errfuns/eaddrnotavail.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
eaddrnotavail:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EADDRNOTAVAIL(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn eaddrnotavail,globl,hidden
|
11
libc/sysv/errfuns/eadv.S
Normal file
11
libc/sysv/errfuns/eadv.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
eadv: .leafprologue
|
||||
.profilable
|
||||
mov EADV(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn eadv,globl,hidden
|
12
libc/sysv/errfuns/eafnosupport.S
Normal file
12
libc/sysv/errfuns/eafnosupport.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
eafnosupport:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EAFNOSUPPORT(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn eafnosupport,globl,hidden
|
11
libc/sysv/errfuns/eagain.S
Normal file
11
libc/sysv/errfuns/eagain.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
eagain: .leafprologue
|
||||
.profilable
|
||||
mov EAGAIN(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn eagain,globl,hidden
|
12
libc/sysv/errfuns/ealready.S
Normal file
12
libc/sysv/errfuns/ealready.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
ealready:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EALREADY(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn ealready,globl,hidden
|
11
libc/sysv/errfuns/ebade.S
Normal file
11
libc/sysv/errfuns/ebade.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
ebade: .leafprologue
|
||||
.profilable
|
||||
mov EBADE(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn ebade,globl,hidden
|
11
libc/sysv/errfuns/ebadf.S
Normal file
11
libc/sysv/errfuns/ebadf.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
ebadf: .leafprologue
|
||||
.profilable
|
||||
mov EBADF(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn ebadf,globl,hidden
|
11
libc/sysv/errfuns/ebadfd.S
Normal file
11
libc/sysv/errfuns/ebadfd.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
ebadfd: .leafprologue
|
||||
.profilable
|
||||
mov EBADFD(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn ebadfd,globl,hidden
|
12
libc/sysv/errfuns/ebadmsg.S
Normal file
12
libc/sysv/errfuns/ebadmsg.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
ebadmsg:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EBADMSG(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn ebadmsg,globl,hidden
|
11
libc/sysv/errfuns/ebadr.S
Normal file
11
libc/sysv/errfuns/ebadr.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
ebadr: .leafprologue
|
||||
.profilable
|
||||
mov EBADR(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn ebadr,globl,hidden
|
12
libc/sysv/errfuns/ebadrqc.S
Normal file
12
libc/sysv/errfuns/ebadrqc.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
ebadrqc:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EBADRQC(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn ebadrqc,globl,hidden
|
12
libc/sysv/errfuns/ebadslt.S
Normal file
12
libc/sysv/errfuns/ebadslt.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
ebadslt:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EBADSLT(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn ebadslt,globl,hidden
|
11
libc/sysv/errfuns/ebusy.S
Normal file
11
libc/sysv/errfuns/ebusy.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
ebusy: .leafprologue
|
||||
.profilable
|
||||
mov EBUSY(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn ebusy,globl,hidden
|
12
libc/sysv/errfuns/ecanceled.S
Normal file
12
libc/sysv/errfuns/ecanceled.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
ecanceled:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ECANCELED(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn ecanceled,globl,hidden
|
11
libc/sysv/errfuns/echild.S
Normal file
11
libc/sysv/errfuns/echild.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
echild: .leafprologue
|
||||
.profilable
|
||||
mov ECHILD(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn echild,globl,hidden
|
11
libc/sysv/errfuns/echrng.S
Normal file
11
libc/sysv/errfuns/echrng.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
echrng: .leafprologue
|
||||
.profilable
|
||||
mov ECHRNG(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn echrng,globl,hidden
|
11
libc/sysv/errfuns/ecomm.S
Normal file
11
libc/sysv/errfuns/ecomm.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
ecomm: .leafprologue
|
||||
.profilable
|
||||
mov ECOMM(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn ecomm,globl,hidden
|
12
libc/sysv/errfuns/econnaborted.S
Normal file
12
libc/sysv/errfuns/econnaborted.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
econnaborted:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ECONNABORTED(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn econnaborted,globl,hidden
|
12
libc/sysv/errfuns/econnrefused.S
Normal file
12
libc/sysv/errfuns/econnrefused.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
econnrefused:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ECONNREFUSED(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn econnrefused,globl,hidden
|
12
libc/sysv/errfuns/econnreset.S
Normal file
12
libc/sysv/errfuns/econnreset.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
econnreset:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ECONNRESET(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn econnreset,globl,hidden
|
12
libc/sysv/errfuns/edeadlk.S
Normal file
12
libc/sysv/errfuns/edeadlk.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
edeadlk:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EDEADLK(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn edeadlk,globl,hidden
|
12
libc/sysv/errfuns/edestaddrreq.S
Normal file
12
libc/sysv/errfuns/edestaddrreq.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
edestaddrreq:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EDESTADDRREQ(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn edestaddrreq,globl,hidden
|
11
libc/sysv/errfuns/edom.S
Normal file
11
libc/sysv/errfuns/edom.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
edom: .leafprologue
|
||||
.profilable
|
||||
mov EDOM(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn edom,globl,hidden
|
12
libc/sysv/errfuns/edotdot.S
Normal file
12
libc/sysv/errfuns/edotdot.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
edotdot:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EDOTDOT(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn edotdot,globl,hidden
|
11
libc/sysv/errfuns/edquot.S
Normal file
11
libc/sysv/errfuns/edquot.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
edquot: .leafprologue
|
||||
.profilable
|
||||
mov EDQUOT(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn edquot,globl,hidden
|
11
libc/sysv/errfuns/eexist.S
Normal file
11
libc/sysv/errfuns/eexist.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
eexist: .leafprologue
|
||||
.profilable
|
||||
mov EEXIST(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn eexist,globl,hidden
|
11
libc/sysv/errfuns/efault.S
Normal file
11
libc/sysv/errfuns/efault.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
efault: .leafprologue
|
||||
.profilable
|
||||
mov EFAULT(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn efault,globl,hidden
|
11
libc/sysv/errfuns/efbig.S
Normal file
11
libc/sysv/errfuns/efbig.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
efbig: .leafprologue
|
||||
.profilable
|
||||
mov EFBIG(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn efbig,globl,hidden
|
12
libc/sysv/errfuns/ehostdown.S
Normal file
12
libc/sysv/errfuns/ehostdown.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
ehostdown:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EHOSTDOWN(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn ehostdown,globl,hidden
|
12
libc/sysv/errfuns/ehostunreach.S
Normal file
12
libc/sysv/errfuns/ehostunreach.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
ehostunreach:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EHOSTUNREACH(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn ehostunreach,globl,hidden
|
12
libc/sysv/errfuns/ehwpoison.S
Normal file
12
libc/sysv/errfuns/ehwpoison.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
ehwpoison:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EHWPOISON(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn ehwpoison,globl,hidden
|
11
libc/sysv/errfuns/eidrm.S
Normal file
11
libc/sysv/errfuns/eidrm.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
eidrm: .leafprologue
|
||||
.profilable
|
||||
mov EIDRM(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn eidrm,globl,hidden
|
11
libc/sysv/errfuns/eilseq.S
Normal file
11
libc/sysv/errfuns/eilseq.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
eilseq: .leafprologue
|
||||
.profilable
|
||||
mov EILSEQ(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn eilseq,globl,hidden
|
12
libc/sysv/errfuns/einprogress.S
Normal file
12
libc/sysv/errfuns/einprogress.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
einprogress:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EINPROGRESS(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn einprogress,globl,hidden
|
11
libc/sysv/errfuns/eintr.S
Normal file
11
libc/sysv/errfuns/eintr.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
eintr: .leafprologue
|
||||
.profilable
|
||||
mov EINTR(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn eintr,globl,hidden
|
11
libc/sysv/errfuns/einval.S
Normal file
11
libc/sysv/errfuns/einval.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
einval: .leafprologue
|
||||
.profilable
|
||||
mov EINVAL(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn einval,globl,hidden
|
11
libc/sysv/errfuns/eio.S
Normal file
11
libc/sysv/errfuns/eio.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
eio: .leafprologue
|
||||
.profilable
|
||||
mov EIO(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn eio,globl,hidden
|
12
libc/sysv/errfuns/eisconn.S
Normal file
12
libc/sysv/errfuns/eisconn.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
eisconn:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EISCONN(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn eisconn,globl,hidden
|
11
libc/sysv/errfuns/eisdir.S
Normal file
11
libc/sysv/errfuns/eisdir.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
eisdir: .leafprologue
|
||||
.profilable
|
||||
mov EISDIR(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn eisdir,globl,hidden
|
11
libc/sysv/errfuns/eisnam.S
Normal file
11
libc/sysv/errfuns/eisnam.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
eisnam: .leafprologue
|
||||
.profilable
|
||||
mov EISNAM(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn eisnam,globl,hidden
|
12
libc/sysv/errfuns/ekeyexpired.S
Normal file
12
libc/sysv/errfuns/ekeyexpired.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
ekeyexpired:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EKEYEXPIRED(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn ekeyexpired,globl,hidden
|
12
libc/sysv/errfuns/ekeyrejected.S
Normal file
12
libc/sysv/errfuns/ekeyrejected.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
ekeyrejected:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EKEYREJECTED(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn ekeyrejected,globl,hidden
|
12
libc/sysv/errfuns/ekeyrevoked.S
Normal file
12
libc/sysv/errfuns/ekeyrevoked.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
ekeyrevoked:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EKEYREVOKED(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn ekeyrevoked,globl,hidden
|
11
libc/sysv/errfuns/el2hlt.S
Normal file
11
libc/sysv/errfuns/el2hlt.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
el2hlt: .leafprologue
|
||||
.profilable
|
||||
mov EL2HLT(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn el2hlt,globl,hidden
|
12
libc/sysv/errfuns/el2nsync.S
Normal file
12
libc/sysv/errfuns/el2nsync.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
el2nsync:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EL2NSYNC(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn el2nsync,globl,hidden
|
11
libc/sysv/errfuns/el3hlt.S
Normal file
11
libc/sysv/errfuns/el3hlt.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
el3hlt: .leafprologue
|
||||
.profilable
|
||||
mov EL3HLT(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn el3hlt,globl,hidden
|
11
libc/sysv/errfuns/el3rst.S
Normal file
11
libc/sysv/errfuns/el3rst.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
el3rst: .leafprologue
|
||||
.profilable
|
||||
mov EL3RST(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn el3rst,globl,hidden
|
12
libc/sysv/errfuns/elibacc.S
Normal file
12
libc/sysv/errfuns/elibacc.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
elibacc:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ELIBACC(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn elibacc,globl,hidden
|
12
libc/sysv/errfuns/elibbad.S
Normal file
12
libc/sysv/errfuns/elibbad.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
elibbad:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ELIBBAD(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn elibbad,globl,hidden
|
12
libc/sysv/errfuns/elibexec.S
Normal file
12
libc/sysv/errfuns/elibexec.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
elibexec:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ELIBEXEC(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn elibexec,globl,hidden
|
12
libc/sysv/errfuns/elibmax.S
Normal file
12
libc/sysv/errfuns/elibmax.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
elibmax:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ELIBMAX(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn elibmax,globl,hidden
|
12
libc/sysv/errfuns/elibscn.S
Normal file
12
libc/sysv/errfuns/elibscn.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
elibscn:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ELIBSCN(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn elibscn,globl,hidden
|
11
libc/sysv/errfuns/elnrng.S
Normal file
11
libc/sysv/errfuns/elnrng.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
elnrng: .leafprologue
|
||||
.profilable
|
||||
mov ELNRNG(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn elnrng,globl,hidden
|
11
libc/sysv/errfuns/eloop.S
Normal file
11
libc/sysv/errfuns/eloop.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
eloop: .leafprologue
|
||||
.profilable
|
||||
mov ELOOP(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn eloop,globl,hidden
|
12
libc/sysv/errfuns/emediumtype.S
Normal file
12
libc/sysv/errfuns/emediumtype.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
emediumtype:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EMEDIUMTYPE(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn emediumtype,globl,hidden
|
11
libc/sysv/errfuns/emfile.S
Normal file
11
libc/sysv/errfuns/emfile.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
emfile: .leafprologue
|
||||
.profilable
|
||||
mov EMFILE(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn emfile,globl,hidden
|
11
libc/sysv/errfuns/emlink.S
Normal file
11
libc/sysv/errfuns/emlink.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
emlink: .leafprologue
|
||||
.profilable
|
||||
mov EMLINK(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn emlink,globl,hidden
|
12
libc/sysv/errfuns/emsgsize.S
Normal file
12
libc/sysv/errfuns/emsgsize.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
emsgsize:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EMSGSIZE(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn emsgsize,globl,hidden
|
12
libc/sysv/errfuns/emultihop.S
Normal file
12
libc/sysv/errfuns/emultihop.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
emultihop:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EMULTIHOP(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn emultihop,globl,hidden
|
12
libc/sysv/errfuns/enametoolong.S
Normal file
12
libc/sysv/errfuns/enametoolong.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enametoolong:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENAMETOOLONG(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enametoolong,globl,hidden
|
12
libc/sysv/errfuns/enavail.S
Normal file
12
libc/sysv/errfuns/enavail.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enavail:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENAVAIL(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enavail,globl,hidden
|
12
libc/sysv/errfuns/enetdown.S
Normal file
12
libc/sysv/errfuns/enetdown.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enetdown:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENETDOWN(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enetdown,globl,hidden
|
12
libc/sysv/errfuns/enetreset.S
Normal file
12
libc/sysv/errfuns/enetreset.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enetreset:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENETRESET(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enetreset,globl,hidden
|
12
libc/sysv/errfuns/enetunreach.S
Normal file
12
libc/sysv/errfuns/enetunreach.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enetunreach:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENETUNREACH(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enetunreach,globl,hidden
|
11
libc/sysv/errfuns/enfile.S
Normal file
11
libc/sysv/errfuns/enfile.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enfile: .leafprologue
|
||||
.profilable
|
||||
mov ENFILE(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enfile,globl,hidden
|
11
libc/sysv/errfuns/enoano.S
Normal file
11
libc/sysv/errfuns/enoano.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enoano: .leafprologue
|
||||
.profilable
|
||||
mov ENOANO(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enoano,globl,hidden
|
12
libc/sysv/errfuns/enobufs.S
Normal file
12
libc/sysv/errfuns/enobufs.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enobufs:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOBUFS(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enobufs,globl,hidden
|
11
libc/sysv/errfuns/enocsi.S
Normal file
11
libc/sysv/errfuns/enocsi.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enocsi: .leafprologue
|
||||
.profilable
|
||||
mov ENOCSI(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enocsi,globl,hidden
|
12
libc/sysv/errfuns/enodata.S
Normal file
12
libc/sysv/errfuns/enodata.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enodata:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENODATA(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enodata,globl,hidden
|
11
libc/sysv/errfuns/enodev.S
Normal file
11
libc/sysv/errfuns/enodev.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enodev: .leafprologue
|
||||
.profilable
|
||||
mov ENODEV(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enodev,globl,hidden
|
11
libc/sysv/errfuns/enoent.S
Normal file
11
libc/sysv/errfuns/enoent.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enoent: .leafprologue
|
||||
.profilable
|
||||
mov ENOENT(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enoent,globl,hidden
|
12
libc/sysv/errfuns/enoexec.S
Normal file
12
libc/sysv/errfuns/enoexec.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enoexec:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOEXEC(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enoexec,globl,hidden
|
11
libc/sysv/errfuns/enokey.S
Normal file
11
libc/sysv/errfuns/enokey.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enokey: .leafprologue
|
||||
.profilable
|
||||
mov ENOKEY(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enokey,globl,hidden
|
11
libc/sysv/errfuns/enolck.S
Normal file
11
libc/sysv/errfuns/enolck.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enolck: .leafprologue
|
||||
.profilable
|
||||
mov ENOLCK(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enolck,globl,hidden
|
12
libc/sysv/errfuns/enolink.S
Normal file
12
libc/sysv/errfuns/enolink.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enolink:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOLINK(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enolink,globl,hidden
|
12
libc/sysv/errfuns/enomedium.S
Normal file
12
libc/sysv/errfuns/enomedium.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enomedium:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOMEDIUM(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enomedium,globl,hidden
|
11
libc/sysv/errfuns/enomem.S
Normal file
11
libc/sysv/errfuns/enomem.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enomem: .leafprologue
|
||||
.profilable
|
||||
mov ENOMEM(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enomem,globl,hidden
|
11
libc/sysv/errfuns/enomsg.S
Normal file
11
libc/sysv/errfuns/enomsg.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enomsg: .leafprologue
|
||||
.profilable
|
||||
mov ENOMSG(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enomsg,globl,hidden
|
11
libc/sysv/errfuns/enonet.S
Normal file
11
libc/sysv/errfuns/enonet.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enonet: .leafprologue
|
||||
.profilable
|
||||
mov ENONET(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enonet,globl,hidden
|
11
libc/sysv/errfuns/enopkg.S
Normal file
11
libc/sysv/errfuns/enopkg.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enopkg: .leafprologue
|
||||
.profilable
|
||||
mov ENOPKG(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enopkg,globl,hidden
|
12
libc/sysv/errfuns/enoprotoopt.S
Normal file
12
libc/sysv/errfuns/enoprotoopt.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enoprotoopt:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOPROTOOPT(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enoprotoopt,globl,hidden
|
11
libc/sysv/errfuns/enospc.S
Normal file
11
libc/sysv/errfuns/enospc.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enospc: .leafprologue
|
||||
.profilable
|
||||
mov ENOSPC(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enospc,globl,hidden
|
11
libc/sysv/errfuns/enosr.S
Normal file
11
libc/sysv/errfuns/enosr.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enosr: .leafprologue
|
||||
.profilable
|
||||
mov ENOSR(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enosr,globl,hidden
|
11
libc/sysv/errfuns/enostr.S
Normal file
11
libc/sysv/errfuns/enostr.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enostr: .leafprologue
|
||||
.profilable
|
||||
mov ENOSTR(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enostr,globl,hidden
|
11
libc/sysv/errfuns/enosys.S
Normal file
11
libc/sysv/errfuns/enosys.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enosys: .leafprologue
|
||||
.profilable
|
||||
mov ENOSYS(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enosys,globl,hidden
|
12
libc/sysv/errfuns/enotblk.S
Normal file
12
libc/sysv/errfuns/enotblk.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enotblk:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTBLK(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enotblk,globl,hidden
|
12
libc/sysv/errfuns/enotconn.S
Normal file
12
libc/sysv/errfuns/enotconn.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enotconn:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTCONN(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enotconn,globl,hidden
|
12
libc/sysv/errfuns/enotdir.S
Normal file
12
libc/sysv/errfuns/enotdir.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enotdir:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTDIR(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enotdir,globl,hidden
|
12
libc/sysv/errfuns/enotempty.S
Normal file
12
libc/sysv/errfuns/enotempty.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enotempty:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTEMPTY(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enotempty,globl,hidden
|
12
libc/sysv/errfuns/enotnam.S
Normal file
12
libc/sysv/errfuns/enotnam.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enotnam:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTNAM(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enotnam,globl,hidden
|
12
libc/sysv/errfuns/enotrecoverable.S
Normal file
12
libc/sysv/errfuns/enotrecoverable.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enotrecoverable:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTRECOVERABLE(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enotrecoverable,globl,hidden
|
12
libc/sysv/errfuns/enotsock.S
Normal file
12
libc/sysv/errfuns/enotsock.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enotsock:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTSOCK(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enotsock,globl,hidden
|
12
libc/sysv/errfuns/enotsup.S
Normal file
12
libc/sysv/errfuns/enotsup.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enotsup:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTSUP(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enotsup,globl,hidden
|
11
libc/sysv/errfuns/enotty.S
Normal file
11
libc/sysv/errfuns/enotty.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enotty: .leafprologue
|
||||
.profilable
|
||||
mov ENOTTY(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enotty,globl,hidden
|
12
libc/sysv/errfuns/enotuniq.S
Normal file
12
libc/sysv/errfuns/enotuniq.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enotuniq:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTUNIQ(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enotuniq,globl,hidden
|
11
libc/sysv/errfuns/enxio.S
Normal file
11
libc/sysv/errfuns/enxio.S
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
enxio: .leafprologue
|
||||
.profilable
|
||||
mov ENXIO(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.endfn enxio,globl,hidden
|
12
libc/sysv/errfuns/eopnotsupp.S
Normal file
12
libc/sysv/errfuns/eopnotsupp.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "libc/macros.h"
|
||||
.text.unlikely
|
||||
|
||||
eopnotsupp:
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EOPNOTSUPP(%rip),%eax
|
||||
mov %eax,errno(%rip)
|
||||
push $-1
|
||||
pop %rax
|
||||
.leafepilogue
|
||||
.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