mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-13 14:39:10 +00:00
Get --ftrace working on aarch64
This change implements a new approach to function call logging, that's based on the GCC flag: -fpatchable-function-entry. Read the commentary in build/config.mk to learn how it works.
This commit is contained in:
parent
5b908bc756
commit
eb40cb371d
934 changed files with 2259 additions and 1268 deletions
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
e2big:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov E2BIG(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
eacces:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EACCES(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
eaddrinuse:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EADDRINUSE(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
eaddrnotavail:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EADDRNOTAVAIL(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
eadv:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EADV(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
eafnosupport:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EAFNOSUPPORT(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
eagain:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EAGAIN(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
ealready:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EALREADY(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
ebade:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EBADE(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
ebadf:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EBADF(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
ebadfd:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EBADFD(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
ebadmsg:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EBADMSG(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
ebadr:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EBADR(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
ebadrqc:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EBADRQC(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
ebadslt:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EBADSLT(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
ebusy:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EBUSY(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
ecanceled:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ECANCELED(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
echild:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ECHILD(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
echrng:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ECHRNG(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
ecomm:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ECOMM(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
econnaborted:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ECONNABORTED(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
econnrefused:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ECONNREFUSED(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
econnreset:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ECONNRESET(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
edeadlk:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EDEADLK(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
edestaddrreq:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EDESTADDRREQ(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
edom:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EDOM(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
edotdot:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EDOTDOT(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
edquot:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EDQUOT(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
eexist:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EEXIST(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
efault:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EFAULT(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
efbig:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EFBIG(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
ehostdown:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EHOSTDOWN(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
ehostunreach:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EHOSTUNREACH(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
ehwpoison:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EHWPOISON(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
eidrm:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EIDRM(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
eilseq:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EILSEQ(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
einprogress:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EINPROGRESS(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
eintr:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EINTR(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
einval:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EINVAL(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
eio:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EIO(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
eisconn:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EISCONN(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
eisdir:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EISDIR(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
eisnam:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EISNAM(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
ekeyexpired:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EKEYEXPIRED(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
ekeyrejected:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EKEYREJECTED(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
ekeyrevoked:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EKEYREVOKED(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
el2hlt:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EL2HLT(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
el2nsync:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EL2NSYNC(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
el3hlt:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EL3HLT(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
el3rst:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EL3RST(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
elibacc:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ELIBACC(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
elibbad:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ELIBBAD(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
elibexec:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ELIBEXEC(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
elibmax:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ELIBMAX(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
elibscn:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ELIBSCN(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
elnrng:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ELNRNG(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
eloop:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ELOOP(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
emediumtype:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EMEDIUMTYPE(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
emfile:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EMFILE(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
emlink:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EMLINK(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
emsgsize:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EMSGSIZE(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
emultihop:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EMULTIHOP(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enametoolong:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENAMETOOLONG(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enavail:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENAVAIL(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enetdown:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENETDOWN(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enetreset:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENETRESET(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enetunreach:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENETUNREACH(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enfile:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENFILE(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enoano:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOANO(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enobufs:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOBUFS(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enocsi:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOCSI(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enodata:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENODATA(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enodev:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENODEV(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enoent:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOENT(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enoexec:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOEXEC(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enokey:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOKEY(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enolck:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOLCK(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enolink:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOLINK(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enomedium:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOMEDIUM(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enomem:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOMEM(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enomsg:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOMSG(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enonet:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENONET(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enopkg:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOPKG(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enoprotoopt:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOPROTOOPT(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enospc:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOSPC(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enosr:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOSR(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enostr:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOSTR(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enosys:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOSYS(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enotblk:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTBLK(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enotconn:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTCONN(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enotdir:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTDIR(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enotempty:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTEMPTY(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enotnam:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTNAM(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enotrecoverable:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTRECOVERABLE(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enotsock:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTSOCK(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enotsup:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTSUP(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enotty:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTTY(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enotuniq:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENOTUNIQ(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
enxio:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov ENXIO(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.unlikely
|
||||
|
||||
.ftrace1
|
||||
eopnotsupp:
|
||||
.ftrace2
|
||||
#ifdef __x86_64__
|
||||
.leafprologue
|
||||
.profilable
|
||||
mov EOPNOTSUPP(%rip),%ecx
|
||||
jmp __errfun
|
||||
#elif defined(__aarch64__)
|
||||
|
|
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