mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-28 13:30:29 +00:00
Make dos errno multimapping linkage tinier
640 bytes for old kDos2Errno table 182 bytes for new kDos2Errno under hello2.com (MODE=fastbuild) 122 bytes for new kDos2Errno under hello2.com (MODE=tiny)
This commit is contained in:
parent
9fa6725067
commit
8f5678882d
63 changed files with 602 additions and 160 deletions
25
libc/sysv/dos2errno/EACCES.S
Normal file
25
libc/sysv/dos2errno/EACCES.S
Normal file
|
@ -0,0 +1,25 @@
|
|||
// generated by libc/sysv/dos2errno.sh
|
||||
#include "libc/nt/errors.h"
|
||||
.macro .e doscode systemv
|
||||
.short \doscode
|
||||
.long \systemv
|
||||
.endm
|
||||
.section .sort.rodata.dos2errno.2,"a",@progbits
|
||||
.globl kDos2Errno.EACCES
|
||||
.type kDos2Errno.EACCES,@object
|
||||
kDos2Errno.EACCES:
|
||||
.e kNtErrorBadCommand,EACCES
|
||||
.e kNtErrorBadLength,EACCES
|
||||
.e kNtErrorCannotMake,EACCES
|
||||
.e kNtErrorCrc,EACCES
|
||||
.e kNtErrorGenFailure,EACCES
|
||||
.e kNtErrorLockViolation,EACCES
|
||||
.e kNtErrorNetworkAccessDenied,EACCES
|
||||
.e kNtErrorNotLocked,EACCES
|
||||
.e kNtErrorNotReady,EACCES
|
||||
.e kNtErrorOutOfPaper,EACCES
|
||||
.e kNtErrorSectorNotFound,EACCES
|
||||
.e kNtErrorSharingViolation,EACCES
|
||||
.e kNtErrorWriteProtect,EACCES
|
||||
.e kNtErrorWrongDisk,EACCES
|
||||
.e WSAEACCES,EACCES
|
Loading…
Add table
Add a link
Reference in a new issue