diff --git a/Makefile b/Makefile index 9417f639e7e..5f160a36eb8 100644 --- a/Makefile +++ b/Makefile @@ -117,8 +117,6 @@ include third_party/gdtoa/gdtoa.mk # │ You can finally call malloc() include libc/time/time.mk # │ include libc/alg/alg.mk # │ include libc/stdio/stdio.mk # │ -include third_party/f2c/f2c.mk # │ -include third_party/blas/blas.mk # │ include net/net.mk # │ include libc/log/log.mk # │ include dsp/core/core.mk # │ @@ -203,7 +201,7 @@ CHECKS = $(foreach x,$(PKGS),$($(x)_CHECKS)) bins: $(BINS) check: $(CHECKS) -test: $(TESTS) +test: $(TESTS) all depend: o/$(MODE)/depend tags: TAGS HTAGS diff --git a/README.md b/README.md index 5ab71d7598c..c16c9d75c8c 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ [Cosmopolitan Libc](https://justine.lol/cosmopolitan/index.html) makes C a build-once run-anywhere language, like Java, except it doesn't need an -interpreter or virtual machine. Instead, it reconfigures stock GCC to -output a POSIX-approved polyglot format that runs natively on Linux + -Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS with the best possible -performance and the tiniest footprint imaginable. +interpreter or virtual machine. Instead, it reconfigures stock GCC and +Clang to output a POSIX-approved polyglot format that runs natively on +Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS with the best +possible performance and the tiniest footprint imaginable. ## Background @@ -18,24 +18,33 @@ libc](https://justine.lol/cosmopolitan/index.html) website. We also have ## Getting Started -Cosmopolitan can be compiled from source on any Linux distro. +If you're doing your development work on Linux or BSD then you need just +five files to get started: ```sh +wget https://justine.lol/cosmopolitan/cosmopolitan-amalgamation-0.1.2.zip +unzip cosmopolitan-amalgamated-0.1.2.zip +echo 'main() { printf("hello world\n"); }' >hello.c +gcc -g -O -static -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone \ + -o hello.com.dbg hello.c -fuse-ld=bfd -Wl,-T,ape.lds \ + -include cosmopolitan.h crt.o ape.o cosmopolitan.a +objcopy -S -O binary hello.com.dbg hello.com +./hello.com +``` + +If you're developing on Windows or MacOS then you need to download an +x86_64-pc-linux-gnu toolchain beforehand. See the [Compiling on +Windows](https://justine.lol/cosmopolitan/windows-compiling.html) +tutorial. It's needed because the ELF object format is what makes +universal binaries possible. + +Cosmopolitan can also be compiled from source on any Linux distro. + +```sh +wget https://justine.lol/cosmopolitan/cosmopolitan-0.1.2.tar.gz tar xf cosmopolitan-0.1.2.tar.gz # see releases page cd cosmopolitan-0.1.2 make -j16 o//examples/hello.com find o -name \*.com | xargs ls -rShal | less ``` - -Alternatively you can use the release binaries: - -```sh -unzip cosmopolitan-amalgamated-0.1.2.zip # see releases page -echo 'main() { printf("hello world\n"); }' >hello.c -gcc -g -O -static -fno-pie -no-pie -mno-red-zone -nostdlib -nostdinc \ - -o hello.com.dbg hello.c -Wl,--gc-sections -Wl,-z,max-page-size=0x1000 -fuse-ld=bfd \ - -Wl,-T,ape.lds -include cosmopolitan.h crt.o ape.o cosmopolitan.a -objcopy -SO binary hello.com.dbg hello.com -./hello.com -``` diff --git a/ape/ape.S b/ape/ape.S index db97c984566..4a73fd4fef9 100644 --- a/ape/ape.S +++ b/ape/ape.S @@ -60,10 +60,10 @@ __ro: .endobj __ro,globl,hidden # ←for gdb readibility .section .bss,"aw",@nobits .align __SIZEOF_POINTER__ .previous - .section .rodata.str1.1,"aMS",@progbits + .section .rodata.str1.1,"a",@progbits cstr: .endobj cstr,globl,hidden # ←for gdb readibility .previous - .section .sort.rodata.real.str1.1,"aMS",@progbits + .section .sort.rodata.real.str1.1,"a",@progbits rlstr: .endobj rlstr,globl,hidden # ←for gdb readibility .previous .section .head,"ax",@progbits @@ -107,17 +107,17 @@ rlstr: .endobj rlstr,globl,hidden # ←for gdb readibility #if SupportsWindows() || SupportsXnu() -/ MZ Literally Executable Header -/ -/ This is the beginning of the program file and it can serve as an -/ entrypoint too. It shouldn't matter if the program is running on -/ Linux, Windows, etc. Please note if the underlying machine isn't -/ a machine, this header may need to morph itself to say the magic -/ words, e.g. ⌂ELF, which also works fine as a generic entrypoint. -/ -/ @param dl is drive number -/ @noreturn -ape.mz: .ascii "MZ" # Mark 'Zibo' Joseph Zbikowski +// MZ Literally Executable Header +// +// This is the beginning of the program file and it can serve as an +// entrypoint too. It shouldn't matter if the program is running on +// Linux, Windows, etc. Please note if the underlying machine isn't +// a machine, this header may need to morph itself to say the magic +// words, e.g. ⌂ELF, which also works fine as a generic entrypoint. +// +// @param dl is drive number +// @noreturn +ape_mz: .ascii "MZ" # Mark 'Zibo' Joseph Zbikowski jno 2f # MZ: bytes on last page jo 2f # MZ: 512-byte pages in file .ascii "='" # MZ: reloc table entry count @@ -136,21 +136,21 @@ ape.mz: .ascii "MZ" # Mark 'Zibo' Joseph Zbikowski .short 0 # MZ: OEM information .org 0x40-4 # MZ: bytes reserved for you #if SupportsWindows() - .long RVA(ape.pe) # PE: the new technology + .long RVA(ape_pe) # PE: the new technology #else .long 0 #endif - .endfn ape.mz,globl,hidden + .endfn ape_mz,globl,hidden #else /* !(SupportsWindows() || SupportsXnu()) */ -/ ELF Literally Executable Header -/ -/ If we don't need to support Microsoft or Apple then we can -/ produce a conventional executable without the shell script -/ -/ @param dl is drive number -/ @noreturn +// ELF Literally Executable Header +// +// If we don't need to support Microsoft or Apple then we can +// produce a conventional executable without the shell script +// +// @param dl is drive number +// @noreturn .ascii "\177ELF" # 0x0: ⌂ELF .byte ELFCLASS64 # 4: long mode .byte ELFDATA2LSB # 5: little endian @@ -161,23 +161,23 @@ ape.mz: .ascii "MZ" # Mark 'Zibo' Joseph Zbikowski .short ET_EXEC # 10: εxεcµταblε .short EM_NEXGEN32E # 12: NexGen32e .long 1 # 14: elf v1.o - .quad .Lape.elf.entry # 18: e_entry - .quad .Lape.elf.phoff # 20: e_phoff - .quad .Lape.elf.shoff # 28: e_shoff + .quad ape_elf_entry # 18: e_entry + .quad ape_elf_phoff # 20: e_phoff + .quad ape_elf_shoff # 28: e_shoff .long 0 # 30: e_flags .short 64 # 34: e_ehsize .short 56 # 36: e_phentsize - .short .Lape.elf.phnum # 38: e_phnum + .short ape_elf_phnum # 38: e_phnum .short 0 # 3a: e_shentsize - .short .Lape.elf.shnum # 3c: e_shnum - .short .Lape.elf.shstrndx # 3e: e_shstrndx + .short ape_elf_shnum # 3c: e_shnum + .short ape_elf_shstrndx # 3e: e_shstrndx #endif /* SupportsWindows() || SupportsXnu() */ -/ Disk Operating System Stub -/ -/ @param dl is drive number -/ @noreturn +// Disk Operating System Stub +// +// @param dl is drive number +// @noreturn .org 0x40 # mz/elf header length stub: mov $0x40,%dl # *literally* dos jmp 1f # good bios skips here @@ -190,7 +190,7 @@ stub: mov $0x40,%dl # *literally* dos 3: .byte 0xbd,0,0 # a.k.a. mov imm,%bp jmp pc # real mode, is real jmp _start # surprise it's unix - .endfn stub +// .endfn stub /*─────────────────────────────────────────────────────────────────────────────╗ │ αcτµαlly pδrταblε εxεcµταblε § ibm personal computer │ @@ -209,13 +209,13 @@ stub: mov $0x40,%dl # *literally* dos built the last forty years these routines also canonicalize the cpu and program state, as it is written in the System V ABI. */ -/ Initializes program and jumps to real mode loader. -/ -/ @param dl drive number (use 0x40 to skip bios disk load) -/ @mode real -/ @noreturn - .code16 +// Initializes program and jumps to real mode loader. +// +// @param dl drive number (use 0x40 to skip bios disk load) +// @mode real +// @noreturn pc: cld + .code16 #if USE_SYMBOL_HACK .byte 0x0f,0x1f,0207 # nop rdi binbase .short (0x7c00-IMAGE_BASE_VIRTUAL)/512 @@ -269,51 +269,51 @@ pc: cld mov %es,%ax stosw ljmp $0,$REAL(realmodeloader) - .endfn pc,globl,hidden - -/ Determines disk geometry. -/ -/ We use imperial measurements for storage systems so the software -/ can have an understanding of physical locality, which deeply -/ impacts the latency of operations. -/ -/ - 160KB: 40 cylinders × 1 head × 8 sectors × 512 = 163,840 -/ - 180KB: 40 cylinders × 1 head × 9 sectors × 512 = 184,320 -/ - 320KB: 40 cylinders × 2 heads × 8 sectors × 512 = 327,680 -/ - 360KB: 40 cylinders × 2 heads × 9 sectors × 512 = 368,640 -/ - 720KB: 80 cylinders × 2 heads × 9 sectors × 512 = 737,280 -/ - 1.2MB: 80 cylinders × 2 heads × 15 sectors × 512 = 1,228,800 -/ - 1.44MB: 80 cylinders × 2 heads × 18 sectors × 512 = 1,474,560 -/ -/ Terminology -/ -/ - Heads are also known as Tracks -/ -/ Disk Base Table -/ -/ 0: specify byte 1, step-rate time, head unload time -/ 1: specify byte 2, head load time, DMA mode -/ 2: timer ticks to wait before disk motor shutoff -/ 3: bytes per sector code -/ 0: 128 bytes 2: 512 bytes -/ 1: 256 bytes 3: 1024 bytes -/ 4: sectors per track (last sector number) -/ 5: inter-block gap length/gap between sectors -/ 6: data length, if sector length not specified -/ 7: gap length between sectors for format -/ 8: fill byte for formatted sectors -/ 9: head settle time in milliseconds -/ 10: motor startup time in eighths of a second -/ -/ @param dl drive number -/ @return dl = pc_drive (corrected if clobbered by header) -/ pc_drive -/ pc_drive_type -/ pc_drive_heads -/ pc_drive_last_cylinder -/ pc_drive_last_sector -/ @clob ax, cx, dx, di, si, es, flags -/ @since IBM Personal Computer XT + .endfn pc + +// Determines disk geometry. +// +// We use imperial measurements for storage systems so the software +// can have an understanding of physical locality, which deeply +// impacts the latency of operations. +// +// - 160KB: 40 cylinders × 1 head × 8 sectors × 512 = 163,840 +// - 180KB: 40 cylinders × 1 head × 9 sectors × 512 = 184,320 +// - 320KB: 40 cylinders × 2 heads × 8 sectors × 512 = 327,680 +// - 360KB: 40 cylinders × 2 heads × 9 sectors × 512 = 368,640 +// - 720KB: 80 cylinders × 2 heads × 9 sectors × 512 = 737,280 +// - 1.2MB: 80 cylinders × 2 heads × 15 sectors × 512 = 1,228,800 +// - 1.44MB: 80 cylinders × 2 heads × 18 sectors × 512 = 1,474,560 +// +// Terminology +// +// - Heads are also known as Tracks +// +// Disk Base Table +// +// 0: specify byte 1, step-rate time, head unload time +// 1: specify byte 2, head load time, DMA mode +// 2: timer ticks to wait before disk motor shutoff +// 3: bytes per sector code +// 0: 128 bytes 2: 512 bytes +// 1: 256 bytes 3: 1024 bytes +// 4: sectors per track (last sector number) +// 5: inter-block gap length/gap between sectors +// 6: data length, if sector length not specified +// 7: gap length between sectors for format +// 8: fill byte for formatted sectors +// 9: head settle time in milliseconds +// 10: motor startup time in eighths of a second +// +// @param dl drive number +// @return dl = pc_drive (corrected if clobbered by header) +// pc_drive +// pc_drive_type +// pc_drive_heads +// pc_drive_last_cylinder +// pc_drive_last_sector +// @clob ax, cx, dx, di, si, es, flags +// @since IBM Personal Computer XT dsknfo: push %bx 1: push %dx mov $0x08,%ah # get disk params @@ -357,14 +357,14 @@ dsknfo: push %bx jmp 1b .endfn dsknfo -/ Reads disk sector via BIOS. -/ -/ @param al sector number -/ @param es destination memory address >> 4 -/ @param cx cylinder number -/ @param dh head number -/ @param dl drive number -/ @return number of sectors actually read +// Reads disk sector via BIOS. +// +// @param al sector number +// @param es destination memory address >> 4 +// @param cx cylinder number +// @param dh head number +// @param dl drive number +// @return number of sectors actually read pcread: push %ax push %cx xchg %cl,%ch @@ -402,24 +402,24 @@ pcread: push %ax │ αcτµαlly pδrταblε εxεcµταblε § partition table ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ -/ Partition Table. -.Lape.mbrpad: +// Partition Table. +ape.mbrpad: .org 0x1b4 - .endobj .Lape.mbrpad + .endobj ape.mbrpad ape_disk: - .stub .Lape.diskid,quad + .stub ape.diskid,quad .org 0x1be,0x00 .macro .partn x - .stub .Lape.part\x\().status,byte # 0=absent / 0x80=present - .stub .Lape.part\x\().first.head,byte # in low 6 bits - .stub .Lape.part\x\().first.cylinder,byte - .stub .Lape.part\x\().first.sector,byte - .stub .Lape.part\x\().filesystem,byte - .stub .Lape.part\x\().last.head,byte - .stub .Lape.part\x\().last.cylinder,byte - .stub .Lape.part\x\().last.sector,byte - .stub .Lape.part\x\().lba,long # c₀*Cₙ + h₀*Hₙ + s₀*Sₙ - .stub .Lape.part\x\().sector.count,long # sectors are 512 bytes + .stub ape.part\x\().status,byte # 0=absent / 0x80=present + .stub ape.part\x\().first.head,byte # in low 6 bits + .stub ape.part\x\().first.cylinder,byte + .stub ape.part\x\().first.sector,byte + .stub ape.part\x\().filesystem,byte + .stub ape.part\x\().last.head,byte + .stub ape.part\x\().last.cylinder,byte + .stub ape.part\x\().last.sector,byte + .stub ape.part\x\().lba,long # c₀*Cₙ + h₀*Hₙ + s₀*Sₙ + .stub ape.part\x\().sector.count,long # sectors are 512 bytes .endm .partn 1 .partn 2 @@ -481,9 +481,9 @@ apesh: .ascii "'\n#'\"\n" # sixth edition shebang .ascii " of=\"$o\"" .ascii " bs=8" .ascii " skip=\"" - .shstub .Lape.macho.dd.skip,2 + .shstub ape_macho_dd_skip,2 .ascii "\" count=\"" - .shstub .Lape.macho.dd.count,2 + .shstub ape_macho_dd_count,2 .ascii "\" conv=notrunc 2>/dev/null\n" .ascii "el" #endif @@ -500,16 +500,16 @@ apesh: .ascii "'\n#'\"\n" # sixth edition shebang .ascii "\\2\\0" # 10: εxεcµταblε .ascii "\\076\\0" # 12: NexGen32e .ascii "\\1\\0\\0\\0" # 14: elf v1.o - .shstub .Lape.elf.entry,8 # 18: e_entry - .shstub .Lape.elf.phoff,8 # 20: e_phoff - .shstub .Lape.elf.shoff,8 # 28: e_shoff + .shstub ape_elf_entry,8 # 18: e_entry + .shstub ape_elf_phoff,8 # 20: e_phoff + .shstub ape_elf_shoff,8 # 28: e_shoff .ascii "\\0\\0\\0\\0" # 30: e_flags .ascii "\\100\\0" # 34: e_ehsize .ascii "\\070\\0" # 36: e_phentsize - .shstub .Lape.elf.phnum,2 # 38: e_phnum + .shstub ape_elf_phnum,2 # 38: e_phnum .ascii "\\0\\0" # 3a: e_shentsize - .shstub .Lape.elf.shnum,2 # 3c: e_shnum - .shstub .Lape.elf.shstrndx,2 # 3e: e_shstrndx + .shstub ape_elf_shnum,2 # 3c: e_shnum + .shstub ape_elf_shstrndx,2 # 3e: e_shstrndx .ascii "' >&7\n" .ascii "exec 7<&-\n" .ascii "fi\n" @@ -531,29 +531,29 @@ apesh: .ascii "'\n#'\"\n" # sixth edition shebang .section .elf.phdrs,"a",@progbits .align __SIZEOF_POINTER__ - .type ape.phdrs,@object - .globl ape.phdrs -ape.phdrs: + .type ape_phdrs,@object + .globl ape_phdrs +ape_phdrs: .long PT_LOAD # text segment .long PF_R|PF_X - .stub .Lape.rom.offset,quad - .stub .Lape.rom.vaddr,quad - .stub .Lape.rom.paddr,quad - .stub .Lape.rom.filesz,quad - .stub .Lape.rom.memsz,quad - .stub .Lape.rom.align,quad + .stub ape_rom_offset,quad + .stub ape_rom_vaddr,quad + .stub ape_rom_paddr,quad + .stub ape_rom_filesz,quad + .stub ape_rom_memsz,quad + .stub ape_rom_align,quad .align __SIZEOF_POINTER__ .long PT_LOAD # data segment .long PF_R|PF_W - .stub .Lape.ram.offset,quad - .stub .Lape.ram.vaddr,quad - .stub .Lape.ram.paddr,quad - .stub .Lape.ram.filesz,quad - .stub .Lape.ram.memsz,quad - .stub .Lape.ram.align,quad + .stub ape_ram_offset,quad + .stub ape_ram_vaddr,quad + .stub ape_ram_paddr,quad + .stub ape_ram_filesz,quad + .stub ape_ram_memsz,quad + .stub ape_ram_align,quad #if SupportsLinux() -/ Linux ignores mprotect() and returns 0 without this lool -/ It has nothing to do with the stack, which is still exec +// Linux ignores mprotect() and returns 0 without this lool +// It has nothing to do with the stack, which is still exec .align __SIZEOF_POINTER__ .long PT_GNU_STACK # p_type .long PF_R|PF_W # p_flags @@ -568,40 +568,40 @@ ape.phdrs: .align __SIZEOF_POINTER__ .long PT_NOTE # notes .long PF_R - .stub .Lape.note.offset,quad - .stub .Lape.note.vaddr,quad - .stub .Lape.note.paddr,quad - .stub .Lape.note.filesz,quad - .stub .Lape.note.memsz,quad - .stub .Lape.note.align,quad + .stub ape_note_offset,quad + .stub ape_note_vaddr,quad + .stub ape_note_paddr,quad + .stub ape_note_filesz,quad + .stub ape_note_memsz,quad + .stub ape_note_align,quad #endif .previous #if SupportsOpenbsd() .section .note.openbsd.ident,"a",@progbits -.Lopenbsd.ident: +openbsd.ident: .long 2f-1f .long 4f-3f .long 1 1: .asciz "OpenBSD" 2: .align 4 3: .long 0 -4: .size .Lopenbsd.ident,.-.Lopenbsd.ident - .type .Lopenbsd.ident,@object +4: .size openbsd.ident,.-openbsd.ident + .type openbsd.ident,@object .previous #endif /* SupportsOpenbsd() */ #if SupportsNetbsd() .section .note.netbsd.ident,"a",@progbits -.Lnetbsd.ident: +netbsd.ident: .long 2f-1f .long 4f-3f .long 1 1: .asciz "NetBSD" 2: .align 4 3: .long 901000000 -4: .size .Lnetbsd.ident,.-.Lnetbsd.ident - .type .Lnetbsd.ident,@object +4: .size netbsd.ident,.-netbsd.ident + .type netbsd.ident,@object .previous #endif /* SupportsNetbsd() */ @@ -640,7 +640,7 @@ ape.phdrs: .section .macho,"a",@progbits .align __SIZEOF_POINTER__ -ape.macho: +ape_macho: .long 0xFEEDFACE+1 .long MAC_CPU_NEXGEN32E .long MAC_CPU_NEXGEN32E_ALL @@ -657,19 +657,19 @@ ape.macho: 20: .long MAC_LC_SEGMENT_64 .long 30f-20b .ascin "__TEXT",16 - .stub .Lape.rom.vaddr,quad - .stub .Lape.rom.memsz,quad - .stub .Lape.rom.offset,quad - .stub .Lape.rom.filesz,quad + .stub ape_rom_vaddr,quad + .stub ape_rom_memsz,quad + .stub ape_rom_offset,quad + .stub ape_rom_filesz,quad .long PROT_EXEC|PROT_READ|PROT_WRITE # maxprot .long PROT_EXEC|PROT_READ # initprot .long 1 # segment section count .long 0 # flags 210: .ascin "__text",16 # section name (.text) .ascin "__TEXT",16 - .stub .Lape.text.vaddr,quad - .stub .Lape.text.memsz,quad - .stub .Lape.text.offset,long + .stub ape_text_vaddr,quad + .stub ape_text_memsz,quad + .stub ape_text_offset,long .long 12 # align 2**12 = 4096 .long 0 # reloc table offset .long 0 # relocation count @@ -678,19 +678,19 @@ ape.macho: 30: .long MAC_LC_SEGMENT_64 .long 40f-30b .ascin "__DATA",16 - .stub .Lape.ram.vaddr,quad - .stub .Lape.ram.memsz,quad - .stub .Lape.ram.offset,quad - .stub .Lape.ram.filesz,quad + .stub ape_ram_vaddr,quad + .stub ape_ram_memsz,quad + .stub ape_ram_offset,quad + .stub ape_ram_filesz,quad .long PROT_EXEC|PROT_READ|PROT_WRITE # maxprot .long PROT_READ|PROT_WRITE # initprot .long 2 # segment section count .long 0 # flags 310: .ascin "__data",16 # section name (.data) .ascin "__DATA",16 - .stub .Lape.data.vaddr,quad - .stub .Lape.data.memsz,quad - .stub .Lape.data.offset,long + .stub ape_data_vaddr,quad + .stub ape_data_memsz,quad + .stub ape_data_offset,long .long 12 # align 2**12 = 4096 .long 0 # reloc table offset .long 0 # relocation count @@ -698,8 +698,8 @@ ape.macho: .long 0,0,0 # reserved 320: .ascin "__bss",16 # section name (.bss) .ascin "__DATA",16 - .stub .Lape.bss.vaddr,quad # virtual address - .stub .Lape.bss.memsz,quad # memory size + .stub ape_bss_vaddr,quad # virtual address + .stub ape_bss_memsz,quad # memory size .long 0 # file offset .long 12 # align 2**12 = 4096 .long 0 # reloc table offset @@ -708,8 +708,8 @@ ape.macho: .long 0,0,0 # reserved 40: .long MAC_LC_UUID .long 50f-40b - .stub .Lape.uuid1,quad - .stub .Lape.uuid2,quad + .stub ape_uuid1,quad + .stub ape_uuid2,quad 50: .long MAC_LC_UNIXTHREAD .long 60f-50b # cmdsize .long MAC_THREAD_NEXGEN32E # flavaflav @@ -738,7 +738,7 @@ ape.macho: 520: 60: -.endobj ape.macho,globl,hidden +.endobj ape_macho,globl,hidden .previous /* .macho */ #endif /* SupportsXnu() */ @@ -772,64 +772,64 @@ ape.macho: @see "The Portable Executable File Format from Top to Bottom", Randy Kath, Microsoft Developer Network Technology Group. */ -/ ┌14:Uniprocessor Machine ┌─────────────────────────┐ -/ │┌13:DLL │ PE File Characteristics │ -/ ││┌12:System ├─────────────────────────┤ -/ │││┌11:If Net Run From Swap │ r │ reserved │ -/ ││││┌10:If Removable Run From Swap │ d │ deprecated │ -/ │││││┌9:Debug Stripped │ D │ deprecated with │ -/ ││││││┌8:32bit Machine │ │ extreme prejudice │ -/ │││││││ ┌5:Large Address Aware └───┴─────────────────────┘ -/ │││││││ │ ┌1:Executable -/ │││││││ │ │┌0:Relocs Stripped -/ d│││││││dr│Ddd││ -.LPEEXE = 0b0000001000100011 - -/ ┌15:TERMINAL_SERVER_AWARE ┌─────────────────────────┐ -/ │┌14:GUARD_CF │ PE DLL Characteristics │ -/ ││┌13:WDM_DRIVER ├─────────────────────────┤ -/ │││┌12:APPCONTAINER │ r │ reserved │ -/ ││││┌11:NO_BIND └───┴─────────────────────┘ -/ │││││┌10:NO_SEH -/ ││││││┌9:NO_ISOLATION -/ │││││││┌8:NX_COMPAT -/ ││││││││┌7:FORCE_INTEGRITY -/ │││││││││┌6:DYNAMIC_BASE -/ ││││││││││┌5:HIGH_ENTROPY_VA -/ │││││││││││rrrrr -.LDLLSTD = 0b0000000100100000 -.LDLLPIE = 0b0000000001100000 -.LDLLEXE = .LDLLSTD - -/ ┌31:Writeable ┌─────────────────────────┐ -/ │┌30:Readable │ PE Section Flags │ -/ ││┌29:Executable ├─────────────────────────┤ -/ │││┌28:Shareable │ o │ for object files │ -/ ││││┌27:Unpageable │ r │ reserved │ -/ │││││┌26:Uncacheable └───┴─────────────────────┘ -/ ││││││┌25:Discardable -/ │││││││┌24:Contains Extended Relocations -/ ││││││││ ┌15:Contains Global Pointer (GP) Relative Data -/ ││││││││ │ ┌7:Contains Uninitialized Data -/ ││││││││ │ │┌6:Contains Initialized Data -/ ││││││││ o │ ││┌5:Contains Code -/ ││││││││┌┴─┐rrrr│ ooror│││rorrr -.LPETEXT = 0b01110000000000000000000001100000 -.LPEDATA = 0b11000000000000000000000011000000 -.LPEIMPS = 0b11000000000000000000000001000000 +// ┌14:Uniprocessor Machine ┌─────────────────────────┐ +// │┌13:DLL │ PE File Characteristics │ +// ││┌12:System ├─────────────────────────┤ +// │││┌11:If Net Run From Swap │ r │ reserved │ +// ││││┌10:If Removable Run From Swap │ d │ deprecated │ +// │││││┌9:Debug Stripped │ D │ deprecated with │ +// ││││││┌8:32bit Machine │ │ extreme prejudice │ +// │││││││ ┌5:Large Address Aware └───┴─────────────────────┘ +// │││││││ │ ┌1:Executable +// │││││││ │ │┌0:Relocs Stripped +// d│││││││dr│Ddd││ +PEEXE = 0b0000001000100011 + +// ┌15:TERMINAL_SERVER_AWARE ┌─────────────────────────┐ +// │┌14:GUARD_CF │ PE DLL Characteristics │ +// ││┌13:WDM_DRIVER ├─────────────────────────┤ +// │││┌12:APPCONTAINER │ r │ reserved │ +// ││││┌11:NO_BIND └───┴─────────────────────┘ +// │││││┌10:NO_SEH +// ││││││┌9:NO_ISOLATION +// │││││││┌8:NX_COMPAT +// ││││││││┌7:FORCE_INTEGRITY +// │││││││││┌6:DYNAMIC_BASE +// ││││││││││┌5:HIGH_ENTROPY_VA +// │││││││││││rrrrr +DLLSTD = 0b0000000100100000 +DLLPIE = 0b0000000001100000 +DLLEXE = DLLSTD + +// ┌31:Writeable ┌─────────────────────────┐ +// │┌30:Readable │ PE Section Flags │ +// ││┌29:Executable ├─────────────────────────┤ +// │││┌28:Shareable │ o │ for object files │ +// ││││┌27:Unpageable │ r │ reserved │ +// │││││┌26:Uncacheable └───┴─────────────────────┘ +// ││││││┌25:Discardable +// │││││││┌24:Contains Extended Relocations +// ││││││││ ┌15:Contains Global Pointer (GP) Relative Data +// ││││││││ │ ┌7:Contains Uninitialized Data +// ││││││││ │ │┌6:Contains Initialized Data +// ││││││││ o │ ││┌5:Contains Code +// ││││││││┌┴─┐rrrr│ ooror│││rorrr +PETEXT = 0b01110000000000000000000001100000 +PEDATA = 0b11000000000000000000000011000000 +PEIMPS = 0b11000000000000000000000001000000 #if SupportsWindows() .section .pe.header,"a",@progbits .align __SIZEOF_POINTER__ -ape.pe: .ascin "PE",4 +ape_pe: .ascin "PE",4 .short kNtImageFileMachineNexgen32e - .stub .Lape.pe.shnum,short # NumberOfSections + .stub ape_pe_shnum,short # NumberOfSections .long 0x5c64126b # TimeDateStamp .long 0 # PointerToSymbolTable .long 0 # NumberOfSymbols - .stub .Lape.pe.optsz,short # SizeOfOptionalHeader - .short .LPEEXE # Characteristics + .stub ape_pe_optsz,short # SizeOfOptionalHeader + .short PEEXE # Characteristics .short kNtPe64bit # Optional Header Magic .byte 14 # MajorLinkerVersion .byte 15 # MinorLinkerVersion @@ -852,7 +852,7 @@ ape.pe: .ascin "PE",4 .long RVA(_ehead) # SizeOfHeaders .long 0 # Checksum .short v_ntsubsystem # Subsystem: 0=Neutral,2=GUI,3=Console - .short .LDLLEXE # DllCharacteristics + .short DLLEXE # DllCharacteristics .quad 0x0000000000100000 # StackReserve .quad 0x00000000000fc000 # StackCommit .quad 0 # HeapReserve @@ -860,8 +860,8 @@ ape.pe: .ascin "PE",4 .long 0 # LoaderFlags .long 16 # NumberOfDirectoryEntries .long 0,0 # ExportsDirectory - .long RVA(idata.idt) # ImportsDirectory - .stub .Lidata.idtsize,long # ImportsDirectorySize + .long RVA(ape_idata_idt) # ImportsDirectory + .stub ape_idata_idtsize,long # ImportsDirectorySize .long 0,0 # ResourcesDirectory .long 0,0 # ExceptionsDirectory .long 0,0 # SecurityDirectory @@ -872,69 +872,69 @@ ape.pe: .ascin "PE",4 .long 0,0 # ThreadLocalStorage .long 0,0 # LoadConfigurationDirectory .long 0,0 # BoundImportDirectory - .long RVA(idata.iat) # ImportAddressDirectory - .stub .Lidata.iatsize,long # ImportAddressDirectorySize + .long RVA(ape_idata_iat) # ImportAddressDirectory + .stub ape_idata_iatsize,long # ImportAddressDirectorySize .long 0,0 # DelayImportDescriptor .long 0,0 # ComPlusRuntimeHeader .long 0,0 # Reserved - .endobj ape.pe,globl + .endobj ape_pe,globl .previous .section .pe.sections,"a",@progbits .ascin ".text",8 # Section Name - .stub .Lape.text.memsz,long # Virtual Size or Physical Address - .stub .Lape.text.rva,long # Relative Virtual Address - .stub .Lape.text.filesz,long # Physical Size - .stub .Lape.text.offset,long # Physical Offset + .stub ape_text_memsz,long # Virtual Size or Physical Address + .stub ape_text_rva,long # Relative Virtual Address + .stub ape_text_filesz,long # Physical Size + .stub ape_text_offset,long # Physical Offset .long 0 # Relocation Table Offset .long 0 # Line Number Table Offset .short 0 # Relocation Count .short 0 # Line Number Count - .long .LPETEXT # Flags + .long PETEXT # Flags .previous .section .pe.sections,"a",@progbits .ascin ".data",8 # Section Name - .stub .Lape.ram.memsz,long # Virtual Size or Physical Address - .stub .Lape.ram.rva,long # Relative Virtual Address - .stub .Lape.ram.filesz,long # Physical Size - .stub .Lape.ram.offset,long # Physical Offset + .stub ape_ram_memsz,long # Virtual Size or Physical Address + .stub ape_ram_rva,long # Relative Virtual Address + .stub ape_ram_filesz,long # Physical Size + .stub ape_ram_offset,long # Physical Offset .long 0 # Relocation Table Offset .long 0 # Line Number Table Offset .short 0 # Relocation Count .short 0 # Line Number Count - .long .LPEDATA # Flags + .long PEDATA # Flags .previous #endif /* SupportsWindows() */ .section .idata.ro.idt.1,"a",@progbits - .type idata.idtend,@object - .type idata.idt,@object - .globl idata.idt,idata.idtend - .hidden idata.idt,idata.idtend -idata.idt: + .type ape_idata_idtend,@object + .type ape_idata_idt,@object + .globl ape_idata_idt,ape_idata_idtend + .hidden ape_idata_idt,ape_idata_idtend +ape_idata_idt: .previous/* ... decentralized content ... */.section .idata.ro.idt.3,"a",@progbits .long 0,0,0,0,0 -idata.idtend: +ape_idata_idtend: .previous .section .piro.data.sort.iat.1,"aw",@progbits - .type idata.iatend,@object - .type idata.iat,@object - .globl idata.iat,idata.iatend - .hidden idata.iat,idata.iatend -idata.iat: + .type ape_idata_iatend,@object + .type ape_idata_iat,@object + .globl ape_idata_iat,ape_idata_iatend + .hidden ape_idata_iat,ape_idata_iatend +ape_idata_iat: .previous/* ... decentralized content ... */.section .piro.data.sort.iat.3,"aw",@progbits -idata.iatend: +ape_idata_iatend: .previous #if SupportsMetal() @@ -943,90 +943,90 @@ idata.iatend: ╚──────────────────────────────────────────────────────────────────────────────╝ better code/data separation (.head is rwx[real] rx[long]) */ -/ NUL-Terminated Strings. +// NUL-Terminated Strings. ape.str: -.Lstr.ape: +str.ape: .byte 0xe0,0x63,0xe7,0xe6,0xe0,0x6c,0x6c,0x79 #αcτµαlly .byte 0x20,0x70,0xeb,0x72,0xe7,0xe0,0x62,0x6c # pδrταbl .byte 0xee,0x20,0xee,0x78,0xee,0x63,0xe6,0xe7 #ε εxεcµτ .byte 0xe0,0x62,0x6c,0xee,0x0d,0x0a,0x00 #αblε. - .endobj .Lstr.ape -.Lstr.error: + .endobj str.ape +str.error: .asciz "error: " - .endobj .Lstr.error -.Lstr.crlf: + .endobj str.error +str.crlf: .asciz "\r\n" - .endobj .Lstr.crlf -.Lstr.cpuid: + .endobj str.crlf +str.cpuid: .asciz "cpuid" - .endobj .Lstr.cpuid -.Lstr.oldskool: + .endobj str.cpuid +str.oldskool: .asciz "oldskool" - .endobj .Lstr.oldskool -.Lstr.dsknfo: + .endobj str.oldskool +str.dsknfo: .asciz "dsknfo" - .endobj .Lstr.dsknfo -.Lstr.e820: + .endobj str.dsknfo +str.e820: .asciz "e820" - .endobj .Lstr.e820 -.Lstr.memory: + .endobj str.e820 +str.memory: .asciz "nomem" - .endobj .Lstr.memory -.Lstr.long: + .endobj str.memory +str.long: .asciz "nolong" - .endobj .Lstr.long + .endobj str.long .endobj ape.str -/ Serial Line Configuration (8250 UART 16550) -/ If it's hacked, it'll at least get hacked very slowly. +// Serial Line Configuration (8250 UART 16550) +// If it's hacked, it'll at least get hacked very slowly. sconf: .short 1843200/*hz*/ / 16/*wut*/ / 9600/*baud*/ -/ -/ ┌interrupt trigger level {1,4,8,14} -/ │ ┌enable 64 byte fifo (UART 16750+) -/ │ │ ┌select dma mode -/ │ │ │┌clear transmit fifo -/ │ │ ││┌clear receive fifo -/ ├┐│ │││┌enable fifos +// +// ┌interrupt trigger level {1,4,8,14} +// │ ┌enable 64 byte fifo (UART 16750+) +// │ │ ┌select dma mode +// │ │ │┌clear transmit fifo +// │ │ ││┌clear receive fifo +// ├┐│ │││┌enable fifos .byte 0b00000000 -/ -/ ┌dlab: flips configuration mode state -/ │┌enable break signal -/ ││ ┌parity {none,odd,even,high,low} -/ ││ │ ┌extra stop bit -/ ││ │ │┌data word length (bits+5) -/ ││┌┴┐│├┐ +// +// ┌dlab: flips configuration mode state +// │┌enable break signal +// ││ ┌parity {none,odd,even,high,low} +// ││ │ ┌extra stop bit +// ││ │ │┌data word length (bits+5) +// ││┌┴┐│├┐ .byte 0b01000011 .endobj sconf,global,hidden -/ Global Descriptor Table -/ -/ @note address portion only concern legacy modes +// Global Descriptor Table +// +// @note address portion only concern legacy modes .align 8 gdt: .short 2f-1f # table byte length .long REAL(1f),0 # table address .zero 2 1: -/ ┌G:granularity (1 → limit *= 0x1000) -/ │┌D/B:default operation size (0 = 16|64bit, 1 = 32-bit) -/ ││┌L:long mode -/ │││┌AVL:this bit is thine (1<<52) -/ ││││ ┌P:present -/ ││││ │┌DPL:privilege -/ ││││ ││ ┌─────────data/code(1) -/ ││││ ││ │┌────data(0)──────code(1) -/ ││││ ││ ││┌───conforming───expand-down -/ ││││ ││ │││┌──writeable────readable -/ ││││ ││ ││││┌─accessed─────accessed -/ ││││ ││ │││││ -/ ││││ ┌──││─│││││───────────────────────────────┐ -/ ┌───││││─│──││─│││││───────────┐ │ -/ ┌───┴──┐││││┌┴─┐│├┐│││││┌──────────┴───────────┐┌──────┴───────┐ -/ │ ││││││ ││││││││││ base address││ segment limit│ -/ │ ││││││ ││││││││││ 32 bits││ 20 bits│ -/ │ ││││││ ││││││││││ ││ │ -/ 6666555555555544444444443333333333222222222211111111110000000000 -/ 3210987654321098765432109876543210987654321098765432109876543210 -/ │ ││││││ ││││││││││ ││ │ +// ┌G:granularity (1 → limit *= 0x1000) +// │┌D/B:default operation size (0 = 16|64bit, 1 = 32-bit) +// ││┌L:long mode +// │││┌AVL:this bit is thine (1<<52) +// ││││ ┌P:present +// ││││ │┌DPL:privilege +// ││││ ││ ┌─────────data/code(1) +// ││││ ││ │┌────data(0)──────code(1) +// ││││ ││ ││┌───conforming───expand-down +// ││││ ││ │││┌──writeable────readable +// ││││ ││ ││││┌─accessed─────accessed +// ││││ ││ │││││ +// ││││ ┌──││─│││││───────────────────────────────┐ +// ┌───││││─│──││─│││││───────────┐ │ +// ┌───┴──┐││││┌┴─┐│├┐│││││┌──────────┴───────────┐┌──────┴───────┐ +// │ ││││││ ││││││││││ base address││ segment limit│ +// │ ││││││ ││││││││││ 32 bits││ 20 bits│ +// │ ││││││ ││││││││││ ││ │ +// 6666555555555544444444443333333333222222222211111111110000000000 +// 3210987654321098765432109876543210987654321098765432109876543210 +// │ ││││││ ││││││││││ ││ │ .quad 0b0000000000000000000000000000000000000000000000000000000000000000 # 0 .quad 0b0000000000001111100110100000000000000000000000001111111111111111 # 8 .quad 0b0000000000001111100100100000000000000000000000001111111111111111 #16 @@ -1046,24 +1046,24 @@ gdt: .short 2f-1f # table byte length #define GRUB_AOUT (1 << 16) #define GRUB_CHECKSUM(FLAGS) (-(GRUB_MAGIC + (FLAGS)) & 0xffffffff) -/ Grub Header. +// Grub Header. .align 4 -ape.grub: +ape_grub: .long GRUB_MAGIC # Magic .long GRUB_AOUT # Flags .long GRUB_CHECKSUM(GRUB_AOUT) # Checksum - .long RVA(ape.grub) # HeaderPhysicalAddress + .long RVA(ape_grub) # HeaderPhysicalAddress .long IMAGE_BASE_PHYSICAL # TextPhysicalAddress .long PHYSICAL(_edata) # LoadEndPhysicalAddress .long PHYSICAL(_end) # BssEndPhysicalAddress - .long RVA(ape.grub.entry) # EntryPhysicalAddress - .endobj ape.grub,globl,hidden + .long RVA(ape_grub_entry) # EntryPhysicalAddress + .endobj ape_grub,globl -/ Grub Entrypoint. -/ Takes CPU out of legacy mode and jumps to normal entrypoint. -/ @noreturn +// Grub Entrypoint. +// Takes CPU out of legacy mode and jumps to normal entrypoint. +// @noreturn .align 4 -ape.grub.entry: +ape_grub_entry: .code32 cmp $GRUB_EAX,%eax jne triplf @@ -1075,7 +1075,7 @@ ape.grub.entry: mov %eax,%cr0 ljmpw $0,$REAL(pc) .code16 - .endfn ape.grub.entry + .endfn ape_grub_entry /*─────────────────────────────────────────────────────────────────────────────╗ │ αcτµαlly pδrταblε εxεcµταblε § real mode │ @@ -1087,14 +1087,14 @@ ape.grub.entry: nop nop realmodeloader: - call rlinit - call sinit4 - mov $REAL(.Lstr.ape),%di - call rvputs + call16 rlinit + call16 sinit4 + mov $REAL(str.ape),%di + call16 rvputs .optfn _start16 - call _start16 - call longmodeloader - .endfn realmodeloader,globl,hidden + call16 _start16 + call16 longmodeloader + .endfn realmodeloader .section .sort.text.real.init.1,"ax",@progbits .type rlinit,@function @@ -1106,7 +1106,7 @@ rlinit: .previous/* ret .previous -/ Initializes present PC serial lines. +// Initializes present PC serial lines. sinit4: mov $4,%cx mov $kBiosDataAreaXlm+COM1,%si 0: lodsw @@ -1116,19 +1116,19 @@ sinit4: mov $4,%cx push %si xchg %ax,%di mov $REAL(sconf),%si - call sinit + call16 sinit pop %si pop %cx 1: loop 0b ret .endfn sinit4,global,hidden -/ Initializes Serial Line Communications 8250 UART 16550A -/ -/ @param word di tty port -/ @param char (*{es:,e,r}si)[4] register initial values -/ @mode long,legacy,real -/ @see www.lammertbies.nl/comm/info/serial-uart.html +// Initializes Serial Line Communications 8250 UART 16550A +// +// @param word di tty port +// @param char (*{es:,e,r}si)[4] register initial values +// @mode long,legacy,real +// @see www.lammertbies.nl/comm/info/serial-uart.html sinit: mov %di,%dx test %dx,%dx jz 2f @@ -1150,10 +1150,10 @@ sinit: mov %di,%dx 2: ret .endfn sinit,global,hidden -/ Video put string. -/ -/ @param di is the string -/ @mode real +// Video put string. +// +// @param di is the string +// @mode real rvputs: push %bp push %bx mov %di,%si @@ -1167,24 +1167,24 @@ rvputs: push %bp 1: pop %bx pop %bp ret - .endfn rvputs,globl,hidden + .endfn rvputs -/ Abnormally halts startup. -/ -/ @param di message -/ @mode real -/ @noreturn +// Abnormally halts startup. +// +// @param di message +// @mode real +// @noreturn rldie: push %di - mov $REAL(.Lstr.error),%di - call rvputs + mov $REAL(str.error),%di + call16 rvputs pop %di - call rvputs - mov $REAL(.Lstr.crlf),%di - call rvputs + call16 rvputs + mov $REAL(str.crlf),%di + call16 rvputs xor %ax,%ax # get keystroke int $0x16 # keyboard service - jmp triplf - .endfn rldie,globl,hidden + call16 triplf + .endfn rldie /* █ █▒ █ █ @@ -1233,21 +1233,21 @@ rldie: push %di long mode is long */ longmodeloader: - call lcheck - call a20 + call16 lcheck + call16 a20 mov $XLM(E820),%di mov $XLM_E820_SIZE,%si - call e820 + call16 e820 jc 9f - call unreal -/ call hiload - call pinit - jmp golong -9: mov $REAL(.Lstr.e820),%ax - call rldie - .endfn longmodeloader,globl,hidden - -/ Long Mode Hardware Check + call16 unreal +// call hiload + call16 pinit + call16 golong +9: mov $REAL(str.e820),%ax + call16 rldie + .endfn longmodeloader + +// Long Mode Hardware Check lcheck: pushf # check for i8086 / i8088 / i80186 pop %ax test $0x80,%ah # see intel manual volume 1 20.1.2 @@ -1280,24 +1280,24 @@ lcheck: pushf # check for i8086 / i8088 / i80186 jne 10f xor %ax,%ax 1: ret -9: mov $REAL(.Lstr.oldskool),%ax +9: mov $REAL(str.oldskool),%ax jmp 20f -10: mov $REAL(.Lstr.long),%ax +10: mov $REAL(str.long),%ax jmp 20f -12: mov $REAL(.Lstr.cpuid),%ax +12: mov $REAL(str.cpuid),%ax jmp 20f -20: call rldie +20: call16 rldie .endfn lcheck -/ Gets memory map from BIOS. -/ -/ @param di paragraph aligned buffer -/ @param si bytes in buffer to fill -/ @return number of bytes written or CF on error -/ @mode real +// Gets memory map from BIOS. +// +// @param di paragraph aligned buffer +// @param si bytes in buffer to fill +// @return number of bytes written or CF on error +// @mode real e820: push %bp mov %sp,%bp - pushl $'S<<24|'M<<16|'A<<8|'P # magic @ -4(%bp) + pushl $'S'<<24|'M'<<16|'A'<<8|'P' # magic @ -4(%bp) push %bx shr $4,%di mov %di,%es @@ -1327,10 +1327,10 @@ e820: push %bp ret 9: stc jmp 8b - .endfn e820,globl,hidden + .endfn e820 -/ Unreal Mode. -/ Makes 4gb of real memory accessible via %fs segment. +// Unreal Mode. +// Makes 4gb of real memory accessible via %fs segment. unreal: cli lgdt REAL(gdt) mov %cr0,%eax @@ -1346,7 +1346,7 @@ unreal: cli ret .endfn unreal -/ Loads remainder of executable off disk. +// Loads remainder of executable off disk. hiload: push %bx mov $IMAGE_BASE_REAL,%esi # relocate, again mov $IMAGE_BASE_PHYSICAL,%ebx @@ -1371,7 +1371,7 @@ hiload: push %bx mov %di,%ax push %bx xor %bx,%bx - call pcread + call16 pcread pop %bx sub %ax,%di push %cx @@ -1390,14 +1390,14 @@ hiload: push %bx ret .endfn hiload -/ Asks keyboard to grant system 65,519 more bytes of memory. -/ -/ Yup. -/ -/ @assume realmode && df=0 -/ @clob ax,di,si,es,flags -/ @mode real -/ @see wiki.osdev.org/A20_Line +// Asks keyboard to grant system 65,519 more bytes of memory. +// +// Yup. +// +// @assume realmode && df=0 +// @clob ax,di,si,es,flags +// @mode real +// @see wiki.osdev.org/A20_Line a20: cli push %ds xor %ax,%ax @@ -1420,26 +1420,26 @@ a20: cli pop %ds jne 3f mov $1,%ax - call 1f + call16 1f mov $0xad,%al out %al,$0x64 - call 1f + call16 1f mov $0xd0,%al out %al,$0x64 - call 2f + call16 2f in $0x60,%al push %ax - call 1f + call16 1f mov $0xd1,%al out %al,$0x64 - call 1f + call16 1f pop %ax or $2,%al out %al,$0x60 - call 1f + call16 1f mov $0xae,%al out %al,$0x64 - call 1f + call16 1f jmp a20 1: in $0x64,%al test $2,%al @@ -1451,17 +1451,17 @@ a20: cli ret 3: sti 5: ret - .endfn a20,globl,hidden # obj since waste of objdump space - -/ Initializes long mode paging. -/ -/ Modern computers access memory via four levels of indirection: -/ -/ register char (*(*(*(*ram)[512])[512])[512])[4096] asm(cr3) -/ -/ Your page tables grow down in memory, starting from the real -/ stack segment base. This function only defines enough tables -/ to get us started. + .endfn a20 + +// Initializes long mode paging. +// +// Modern computers access memory via four levels of indirection: +// +// register char (*(*(*(*ram)[512])[512])[512])[4096] asm(cr3) +// +// Your page tables grow down in memory, starting from the real +// stack segment base. This function only defines enough tables +// to get us started. #define TIP REAL_STACK_FRAME pinit: push %ds mov $(TIP-0x4000)>>4,%ax @@ -1482,11 +1482,11 @@ pinit: push %ds mov $TIP-0x1000,%eax # PML4T→CR3 mov %eax,%cr3 ret - .endfn pinit,globl,hidden + .endfn pinit -/ Switch from Real Mode → Long Mode -/ -/ @see Intel Manual V3A §4.1.2 +// Switch from Real Mode → Long Mode +// +// @see Intel Manual V3A §4.1.2 golong: cli lidt XLM(BADIDT) mov %cr4,%eax @@ -1504,8 +1504,8 @@ golong: cli ljmp $GDT_LONG_CODE,$REAL(long) .endfn golong -/ Long mode is long. -/ @noreturn +// Long mode is long. +// @noreturn .code64 long: push $GDT_LONG_DATA pop %rax @@ -1521,16 +1521,16 @@ long: push $GDT_LONG_DATA jmp *%rax .endfn long -/ Long mode in virtual address space. -/ @noreturn +// Long mode in virtual address space. +// @noreturn metal: #if USE_SYMBOL_HACK .byte 0x0f,0x1f,0207 # nop rdi binbase .long (IMAGE_BASE_VIRTUAL-IMAGE_BASE_REAL)/512 #endif xor %eax,%eax # clear bss - mov $.Lape.bss.vaddr,%edi - mov $.Lape.bss.memsz,%ecx + mov $ape_bss_vaddr,%edi + mov $ape_bss_memsz,%ecx rep stosb .weak __hostos ezlea __hostos,ax @@ -1548,7 +1548,7 @@ metal: #endif /* SupportsMetal() */ -/ Avoid linker script variables appearing as code in objdump. +// Avoid linker script variables appearing as code in objdump. .macro .ldsvar name:req .type \name,@object .weak \name @@ -1557,17 +1557,17 @@ metal: .ldsvar _etext .ldsvar v_ape_realsectors .ldsvar v_ape_highsectors - .ldsvar idata.ro - .ldsvar ape.pad.rodata - .ldsvar ape.piro - .ldsvar ape.piro.end - .type .Lape.macho.end,@object - .type .Lape.note,@object - .type .Lape.note.end,@object - .type .Lape.note.vaddr,@object - .type .Lape.pe.sections,@object - .type .Lape.pe.sections_end,@object - .type .Lape.text.nops,@object + .ldsvar ape_idata_ro + .ldsvar ape_pad_rodata + .ldsvar ape_piro + .ldsvar ape_piro_end + .type ape_macho_end,@object + .type ape_note,@object + .type ape_note_end,@object + .type ape_note_vaddr,@object + .type ape_pe_sections,@object + .type ape_pe_sections_end,@object + .type ape_text_nops,@object .type __test_end,@object .section .commentprologue,"a",@progbits @@ -1583,51 +1583,45 @@ kLegalNotices:/* .previous .section .ape.pad.head,"a",@progbits - .type ape.pad.head,@object - .hidden ape.pad.head -ape.pad.head: + .type ape_pad_head,@object + .hidden ape_pad_head +ape_pad_head: .previous .section .ape.pad.text,"a",@progbits - .type ape.pad.text,@object - .hidden ape.pad.text -ape.pad.text: + .type ape_pad_text,@object + .hidden ape_pad_text +ape_pad_text: .previous .section .ape.pad.privileged,"a",@progbits - .type ape.pad.privileged,@object - .hidden ape.pad.privileged -ape.pad.privileged: - .previous - - .section .ape.pad.test,"a",@progbits - .type ape.pad.test,@object - .hidden ape.pad.test -ape.pad.test: + .type ape_pad_privileged,@object + .hidden ape_pad_privileged +ape_pad_privileged: .previous .section .ape.pad.test,"a",@progbits - .type ape.pad.test,@object - .hidden ape.pad.test -ape.pad.test: + .type ape_pad_test,@object + .hidden ape_pad_test +ape_pad_test: .previous .section .ape.pad.rodata,"a",@progbits - .type ape.pad.rodata,@object - .hidden ape.pad.rodata -ape.pad.rodata: + .type ape_pad_rodata,@object + .hidden ape_pad_rodata +ape_pad_rodata: .previous .section .ape.pad.data,"a",@progbits - .type ape.pad.data,@object - .hidden ape.pad.data -ape.pad.data: + .type ape_pad_data,@object + .hidden ape_pad_data +ape_pad_data: .previous .section .idata.ro,"a",@progbits - .type idata.ro,@object - .hidden idata.ro -idata.ro: + .type ape_idata_ro,@object + .hidden ape_idata_ro +ape_idata_ro: .previous .section .dataprologue,"aw",@progbits @@ -1637,13 +1631,5 @@ idata.ro: __data_start: .previous - .type __piro_start,@object - .hidden __piro_start - - .type __ubsan_data_start,@object - .type __ubsan_data_end,@object - .type __ubsan_types_start,@object - .type __ubsan_types_end,@object - .end  \ No newline at end of file diff --git a/ape/ape.lds b/ape/ape.lds index 5ab691bf4c2..c12e8818d33 100644 --- a/ape/ape.lds +++ b/ape/ape.lds @@ -36,7 +36,7 @@ entails two steps: (1) create a .com.dbg binary w/ Linux toolchain and then (2) unwrap the .com binary embedded within: - objcopy -SO binary input.com.dbg output.com + objcopy -S -O binary input.com.dbg output.com Both executables will work fine, but only the .com format is portable. @@ -182,21 +182,6 @@ ENTRY(_start) -/* Plans real memory solution at linktime. */ -MEMORY { - PageZero : org = 0x0000000000000000, len = 0x0000000000001000 - RealBss : org = XLM_BASE_REAL, len = XLM_SIZE - RealProgram : org = IMAGE_BASE_REAL, len = 0x0000000000010000 - IMAGE_BASE_REAL - RealScratch : org = REAL_SCRATCH_AREA, len = REAL_STACK_FRAME - REAL_SCRATCH_AREA - RealStack : org = REAL_STACK_FRAME, len = 0x0000000000010000 - EbdaMemory : org = 0x0000000000080000, len = 0x0000000000020000 - VideoMemory : org = 0x00000000000a0000, len = 0x0000000000020000 - Romz : org = 0x00000000000c0000, len = 0x0000000000030000 - BiosMemory : org = 0x00000000000f0000, len = 0x0000000000010000 - SmallCode : org = IMAGE_BASE_PHYSICAL, len = 0x0000000040000000 - IMAGE_BASE_PHYSICAL - ZipData : org = 0x0000000040000000, len = 0x0000000040000000 -} - PHDRS { Head PT_LOAD FLAGS(5); Rom PT_LOAD FLAGS(5); @@ -221,34 +206,34 @@ SECTIONS { /* Executable & Linkable Format */ . = ALIGN(. != 0 ? __SIZEOF_POINTER__ : 1); KEEP(*(.elf.phdrs)) - HIDDEN(.Lape.phdrs.end = .); + HIDDEN(ape_phdrs_end = .); . += 1; /* OpenBSD */ . = ALIGN(. != 0 ? __SIZEOF_POINTER__ : 1); - HIDDEN(.Lape.note = .); + HIDDEN(ape_note = .); KEEP(*(.note.openbsd.ident)) KEEP(*(.note.netbsd.ident)) - HIDDEN(.Lape.note.end = .); + HIDDEN(ape_note_end = .); . += 1; /* Portable Executable */ KEEP(*(.pe.header)) - HIDDEN(.Lape.pe.sections = .); + HIDDEN(ape_pe_sections = .); KEEP(*(.pe.sections)) - HIDDEN(.Lape.pe.sections_end = .); + HIDDEN(ape_pe_sections_end = .); . += 1; /* Mach-O */ KEEP(*(.macho)) . = ALIGN(__SIZEOF_POINTER__); - HIDDEN(.Lape.macho.end = .); + HIDDEN(ape_macho_end = .); . += 1; KEEP(*(.ape.pad.head)) . = ALIGN(SupportsWindows() ? PAGESIZE : 16); HIDDEN(_ehead = .); - } AT>SmallCode :Head + } :Head /*BEGIN: nt addressability guarantee */ @@ -266,7 +251,7 @@ SECTIONS { *(.start) KEEP(*(.initprologue)) KEEP(*(SORT_BY_NAME(.init.*))) - KEEP(*(SORT_NONE(.init))) + KEEP(*(.init)) KEEP(*(.initepilogue)) KEEP(*(.pltprologue)) *(.plt) @@ -290,19 +275,13 @@ SECTIONS { *(.text .stub .text.*) KEEP(*(SORT_BY_NAME(.sort.text.*))) - /* Won't support NX bit DRM for tiny executables */ - HIDDEN(.Lape.piro.align = ABSOLUTE(. > APE_PIRO_THRESHOLD ? 0x1000 : 8)); - - /* Code that musn't be mapped in production */ KEEP(*(.ape.pad.test)); - . = ALIGN(.Lape.piro.align); HIDDEN(__test_start = .); *(.test.unlikely) *(.test .test.*) /* Privileged code invulnerable to magic */ KEEP(*(.ape.pad.privileged)); - . = ALIGN(.Lape.piro.align); HIDDEN(__privileged_start = .); HIDDEN(__test_end = .); . += 1; @@ -312,23 +291,10 @@ SECTIONS { /*BEGIN: Read Only Data */ KEEP(*(.ape.pad.rodata)); - . = ALIGN(.Lape.piro.align); - . += 1; - /* Nonspecific Read-Only Data */ *(.rodata .rodata.*) - . += 1; - - /* Undefined Behavior Sanitizer Types */ - HIDDEN(__ubsan_types_start = .); *(.ubsan.types) - HIDDEN(__ubsan_types_end = .); - . += 1; - - /* Undefined Behavior Sanitizer Data */ - HIDDEN(__ubsan_data_start = .); *(.ubsan.data) - HIDDEN(__ubsan_data_end = .); /* Unit Test & Fixture Registry */ @@ -340,7 +306,7 @@ SECTIONS { KEEP(*(.comment)) KEEP(*(.commentepilogue)) #endif - + /* Windows DLL Import Directory */ KEEP(*(.idata.ro)); KEEP(*(SORT_BY_NAME(.idata.ro.*))) @@ -350,16 +316,16 @@ SECTIONS { PROVIDE_HIDDEN(__init_array_start = .); KEEP(*(SORT_BY_INIT_PRIORITY(.init_array.*) SORT_BY_INIT_PRIORITY(.ctors.*))) - KEEP(*(SORT_NONE(.ctors))) - KEEP(*(SORT_NONE(.init_array))) - KEEP(*(SORT_NONE(.preinit_array))) + KEEP(*(.ctors)) + KEEP(*(.init_array)) + KEEP(*(.preinit_array)) PROVIDE_HIDDEN(__init_array_end = .); . = ALIGN(__SIZEOF_POINTER__); PROVIDE_HIDDEN(__fini_array_start = .); KEEP(*(SORT_BY_INIT_PRIORITY(.fini_array.*) SORT_BY_INIT_PRIORITY(.dtors.*))) - KEEP(*(SORT_NONE(.dtors))) + KEEP(*(.dtors)) PROVIDE_HIDDEN(__fini_array_end = .); /* Encoded Data Structures w/ Linear Initialization Order */ @@ -369,13 +335,12 @@ SECTIONS { KEEP(*(SORT_BY_NAME(.sort.rodata.*))) KEEP(*(.ape.pad.text)) - HIDDEN(.Lape.data.align = ABSOLUTE(PAGESIZE)); - . = ALIGN(.Lape.data.align); + . = ALIGN(PAGESIZE); HIDDEN(_etext = .); PROVIDE_HIDDEN(etext = .); /*END: Read Only Data (only needed for initialization) */ /*END: Read Only Data */ - } AT>SmallCode :Rom + } :Rom .data . : { /*BEGIN: Read/Write Data */ @@ -393,24 +358,21 @@ SECTIONS { KEEP(*(.gotpltepilogue)) /*BEGIN: Post-Initialization Read-Only */ - . = ALIGN(.Lape.piro.align); - HIDDEN(__piro_start = .); - + . = ALIGN(__SIZEOF_POINTER__); KEEP(*(SORT_BY_NAME(.piro.relo.sort.*))) PROVIDE_HIDDEN(__relo_end = .); + . = ALIGN(__SIZEOF_POINTER__); KEEP(*(SORT_BY_NAME(.piro.data.sort.*))) KEEP(*(.piro.pad.data)) - . = ALIGN(.Lape.data.align); + . = ALIGN(PAGESIZE); HIDDEN(_edata = .); PROVIDE_HIDDEN(edata = .); - } AT>SmallCode :Ram + } :Ram .bss . : { KEEP(*(SORT_BY_NAME(.piro.bss.init.*))) *(.piro.bss) KEEP(*(SORT_BY_NAME(.piro.bss.sort.*))) - . += 1; - . = ALIGN(.Lape.piro.align); HIDDEN(__piro_end = .); /*END: Post-Initialization Read-Only */ @@ -429,13 +391,16 @@ SECTIONS { . = ALIGN(0x10000); /* for brk()/sbrk() allocation */ HIDDEN(_end = .); PROVIDE_HIDDEN(end = .); - } AT>SmallCode :Ram + } :Ram /*END: nt addressability guarantee */ /*END: bsd addressability guarantee */ /*END: linux addressability guarantee */ /*END: xnu addressability guarantee */ + .shstrtab : { *(.shstrtab) } + .strtab : { *(.strtab) } + .symtab : { *(.symtab) } .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } .stab.excl 0 : { *(.stab.excl) } @@ -468,80 +433,81 @@ SECTIONS { .GCC.command.line 0 : { *(.GCC.command.line) } /DISCARD/ : { + *(__mcount_loc) *(.discard) *(.yoink) *(.*) } } -PFSTUB8(.Lape.elf.entry, _start); -PFSTUB8(.Lape.elf.phoff, RVA(ape.phdrs)); -PFSTUB8(.Lape.elf.shoff, 0); -PFSTUB4(.Lape.elf.phnum, (.Lape.phdrs.end - ape.phdrs) / 56); -PFSTUB4(.Lape.elf.shnum, 0); -PFSTUB4(.Lape.elf.shstrndx, 0); +PFSTUB8(ape_elf_entry, _start); +PFSTUB8(ape_elf_phoff, RVA(ape_phdrs)); +PFSTUB8(ape_elf_shoff, 0); +PFSTUB4(ape_elf_phnum, (ape_phdrs_end - ape_phdrs) / 56); +PFSTUB4(ape_elf_shnum, 0); +PFSTUB4(ape_elf_shstrndx, 0); HIDDEN(__privileged_addr = ROUNDDOWN(__privileged_start, PAGESIZE)); HIDDEN(__privileged_size = (ROUNDUP(__privileged_end, PAGESIZE) - ROUNDDOWN(__privileged_start, PAGESIZE))); -HIDDEN(.Lape.rom.offset = 0); -HIDDEN(.Lape.rom.vaddr = ADDR(.head)); -HIDDEN(.Lape.rom.paddr = LOADADDR(.head)); -HIDDEN(.Lape.rom.filesz = LOADADDR(.data) - .Lape.rom.paddr); -HIDDEN(.Lape.rom.memsz = ADDR(.data) - ADDR(.head)); -HIDDEN(.Lape.rom.align = .Lape.data.align); -HIDDEN(.Lape.rom.rva = RVA(.Lape.rom.vaddr)); - -HIDDEN(.Lape.ram.offset = .Lape.rom.offset + .Lape.rom.filesz); -HIDDEN(.Lape.ram.vaddr = ADDR(.data)); -HIDDEN(.Lape.ram.paddr = LOADADDR(.data)); -HIDDEN(.Lape.ram.filesz = LOADADDR(.bss) - LOADADDR(.data)); -HIDDEN(.Lape.ram.memsz = ADDR(.bss) + SIZEOF(.bss) - .Lape.ram.vaddr); -HIDDEN(.Lape.ram.align = .Lape.data.align); -HIDDEN(.Lape.ram.rva = RVA(.Lape.ram.vaddr)); - -HIDDEN(.Lape.note.offset = .Lape.rom.offset + (.Lape.note - .Lape.rom.vaddr)); -HIDDEN(.Lape.note.vaddr = .Lape.note); -HIDDEN(.Lape.note.paddr = .Lape.rom.paddr + .Lape.note.offset); -HIDDEN(.Lape.note.filesz = .Lape.note.end - .Lape.note); -HIDDEN(.Lape.note.memsz = .Lape.note.filesz); -HIDDEN(.Lape.note.align = __SIZEOF_POINTER__); - -HIDDEN(.Lape.text.offset = .Lape.rom.offset + LOADADDR(.text) - .Lape.rom.paddr); -HIDDEN(.Lape.text.paddr = LOADADDR(.text)); -HIDDEN(.Lape.text.vaddr = ADDR(.text)); -HIDDEN(.Lape.text.filesz = SIZEOF(.text)); -HIDDEN(.Lape.text.memsz = SIZEOF(.text)); -HIDDEN(.Lape.text.align = 4096); -HIDDEN(.Lape.text.rva = RVA(.Lape.text.vaddr)); - -HIDDEN(.Lape.data.offset = .Lape.ram.offset + LOADADDR(.data) - .Lape.ram.paddr); -HIDDEN(.Lape.data.paddr = LOADADDR(.data)); -HIDDEN(.Lape.data.vaddr = ADDR(.data)); -HIDDEN(.Lape.data.filesz = SIZEOF(.data)); -HIDDEN(.Lape.data.memsz = SIZEOF(.data)); -HIDDEN(.Lape.data.align = .Lape.data.align); -HIDDEN(.Lape.data.rva = RVA(.Lape.data.vaddr)); - -HIDDEN(.Lape.bss.offset = .Lape.ram.offset + LOADADDR(.bss) - .Lape.ram.paddr); -HIDDEN(.Lape.bss.paddr = LOADADDR(.bss)); -HIDDEN(.Lape.bss.vaddr = ADDR(.bss)); -HIDDEN(.Lape.bss.filesz = 0); -HIDDEN(.Lape.bss.memsz = SIZEOF(.bss)); -HIDDEN(.Lape.bss.align = .Lape.data.align); +HIDDEN(ape_rom_offset = 0); +HIDDEN(ape_rom_vaddr = ADDR(.head)); +HIDDEN(ape_rom_paddr = LOADADDR(.head)); +HIDDEN(ape_rom_filesz = LOADADDR(.data) - ape_rom_paddr); +HIDDEN(ape_rom_memsz = ADDR(.data) - ADDR(.head)); +HIDDEN(ape_rom_align = PAGESIZE); +HIDDEN(ape_rom_rva = RVA(ape_rom_vaddr)); + +HIDDEN(ape_ram_offset = ape_rom_offset + ape_rom_filesz); +HIDDEN(ape_ram_vaddr = ADDR(.data)); +HIDDEN(ape_ram_paddr = LOADADDR(.data)); +HIDDEN(ape_ram_filesz = LOADADDR(.bss) - LOADADDR(.data)); +HIDDEN(ape_ram_memsz = ADDR(.bss) + SIZEOF(.bss) - ape_ram_vaddr); +HIDDEN(ape_ram_align = PAGESIZE); +HIDDEN(ape_ram_rva = RVA(ape_ram_vaddr)); + +HIDDEN(ape_note_offset = ape_rom_offset + (ape_note - ape_rom_vaddr)); +HIDDEN(ape_note_vaddr = ape_note); +HIDDEN(ape_note_paddr = ape_rom_paddr + ape_note_offset); +HIDDEN(ape_note_filesz = ape_note_end - ape_note); +HIDDEN(ape_note_memsz = ape_note_filesz); +HIDDEN(ape_note_align = __SIZEOF_POINTER__); + +HIDDEN(ape_text_offset = ape_rom_offset + LOADADDR(.text) - ape_rom_paddr); +HIDDEN(ape_text_paddr = LOADADDR(.text)); +HIDDEN(ape_text_vaddr = ADDR(.text)); +HIDDEN(ape_text_filesz = SIZEOF(.text)); +HIDDEN(ape_text_memsz = SIZEOF(.text)); +HIDDEN(ape_text_align = PAGESIZE); +HIDDEN(ape_text_rva = RVA(ape_text_vaddr)); + +HIDDEN(ape_data_offset = ape_ram_offset + LOADADDR(.data) - ape_ram_paddr); +HIDDEN(ape_data_paddr = LOADADDR(.data)); +HIDDEN(ape_data_vaddr = ADDR(.data)); +HIDDEN(ape_data_filesz = SIZEOF(.data)); +HIDDEN(ape_data_memsz = SIZEOF(.data)); +HIDDEN(ape_data_align = PAGESIZE); +HIDDEN(ape_data_rva = RVA(ape_data_vaddr)); + +HIDDEN(ape_bss_offset = ape_ram_offset + LOADADDR(.bss) - ape_ram_paddr); +HIDDEN(ape_bss_paddr = LOADADDR(.bss)); +HIDDEN(ape_bss_vaddr = ADDR(.bss)); +HIDDEN(ape_bss_filesz = 0); +HIDDEN(ape_bss_memsz = SIZEOF(.bss)); +HIDDEN(ape_bss_align = PAGESIZE); #if SupportsXnu() -SHSTUB2(.Lape.macho.dd.skip, RVA(ape.macho) / 8); -SHSTUB2(.Lape.macho.dd.count, (.Lape.macho.end - ape.macho) / 8); +SHSTUB2(ape_macho_dd_skip, RVA(ape_macho) / 8); +SHSTUB2(ape_macho_dd_count, (ape_macho_end - ape_macho) / 8); #endif #if SupportsWindows() -PFSTUB4(.Lape.pe.offset, ape.pe - ape.mz); -HIDDEN(.Lape.pe.optsz = .Lape.pe.sections - (ape.pe + 24)); -HIDDEN(.Lape.pe.shnum = (.Lape.pe.sections_end - .Lape.pe.sections) / 40); -HIDDEN(.Lidata.idtsize = idata.idtend - idata.idt); -HIDDEN(.Lidata.iatsize = idata.iatend - idata.iat); +PFSTUB4(ape_pe_offset, ape_pe - ape_mz); +HIDDEN(ape_pe_optsz = ape_pe_sections - (ape_pe + 24)); +HIDDEN(ape_pe_shnum = (ape_pe_sections_end - ape_pe_sections) / 40); +HIDDEN(ape_idata_idtsize = ape_idata_idtend - ape_idata_idt); +HIDDEN(ape_idata_iatsize = ape_idata_iatend - ape_idata_iat); HIDDEN(v_ntsubsystem = (DEFINED(GetMessage) ? kNtImageSubsystemWindowsGui : kNtImageSubsystemWindowsCui)); @@ -577,90 +543,89 @@ ZIPCONST(v_zip_commentsize, _edata - __zip_end - kZipCdirHdrMinSize); X = (X + (Y >> 020) & 0xFF) * PHI; \ X = (X + (Y >> 030) & 0xFF) * PHI #define CHURN(X) \ - XORSHIFT(.Lape.uuid1, X); \ - KMH(.Lape.uuid1, X); \ - XORSHIFT(.Lape.uuid2, X); \ - KMH(.Lape.uuid2, X) -HIDDEN(.Lape.uuid1 = 88172645463325252); -HIDDEN(.Lape.uuid2 = 88172645463325252); -CHURN(.Lape.bss.align); -CHURN(.Lape.bss.filesz); -CHURN(.Lape.bss.memsz); -CHURN(.Lape.bss.offset); -CHURN(.Lape.bss.paddr); -CHURN(.Lape.data.align); -CHURN(.Lape.data.filesz); -CHURN(.Lape.data.memsz); -CHURN(.Lape.data.offset); -CHURN(.Lape.data.paddr); -CHURN(.Lape.data.rva); -CHURN(.Lape.data.vaddr); -CHURN(.Lape.elf.entry); -CHURN(.Lape.elf.phnum); -CHURN(.Lape.elf.phoff); -CHURN(.Lape.elf.shnum); -CHURN(.Lape.elf.shoff); -CHURN(.Lape.elf.shstrndx); -CHURN(.Lape.macho.end); -CHURN(.Lape.note); -CHURN(.Lape.note.align); -CHURN(.Lape.note.end); -CHURN(.Lape.note.filesz); -CHURN(.Lape.note.memsz); -CHURN(.Lape.note.offset); -CHURN(.Lape.note.paddr); -CHURN(.Lape.note.vaddr); -CHURN(.Lape.ram.align); -CHURN(.Lape.ram.filesz); -CHURN(.Lape.ram.memsz); -CHURN(.Lape.ram.offset); -CHURN(.Lape.ram.paddr); -CHURN(.Lape.ram.rva); -CHURN(.Lape.ram.vaddr); -CHURN(.Lape.rom.align); -CHURN(.Lape.rom.filesz); -CHURN(.Lape.rom.memsz); -CHURN(.Lape.rom.offset); -CHURN(.Lape.rom.paddr); -CHURN(.Lape.rom.rva); -CHURN(.Lape.rom.vaddr); -CHURN(.Lape.text.align); -CHURN(.Lape.text.filesz); -CHURN(.Lape.text.memsz); -CHURN(.Lape.text.offset); -CHURN(.Lape.text.paddr); -CHURN(.Lape.text.rva); -CHURN(.Lape.text.vaddr); + XORSHIFT(ape_uuid1, X); \ + KMH(ape_uuid1, X); \ + XORSHIFT(ape_uuid2, X); \ + KMH(ape_uuid2, X) +HIDDEN(ape_uuid1 = 88172645463325252); +HIDDEN(ape_uuid2 = 88172645463325252); +CHURN(ape_bss_align); +CHURN(ape_bss_filesz); +CHURN(ape_bss_memsz); +CHURN(ape_bss_offset); +CHURN(ape_bss_paddr); +CHURN(ape_data_filesz); +CHURN(ape_data_memsz); +CHURN(ape_data_offset); +CHURN(ape_data_paddr); +CHURN(ape_data_rva); +CHURN(ape_data_vaddr); +CHURN(ape_elf_entry); +CHURN(ape_elf_phnum); +CHURN(ape_elf_phoff); +CHURN(ape_elf_shnum); +CHURN(ape_elf_shoff); +CHURN(ape_elf_shstrndx); +CHURN(ape_macho_end); +CHURN(ape_note); +CHURN(ape_note_align); +CHURN(ape_note_end); +CHURN(ape_note_filesz); +CHURN(ape_note_memsz); +CHURN(ape_note_offset); +CHURN(ape_note_paddr); +CHURN(ape_note_vaddr); +CHURN(ape_ram_align); +CHURN(ape_ram_filesz); +CHURN(ape_ram_memsz); +CHURN(ape_ram_offset); +CHURN(ape_ram_paddr); +CHURN(ape_ram_rva); +CHURN(ape_ram_vaddr); +CHURN(ape_rom_align); +CHURN(ape_rom_filesz); +CHURN(ape_rom_memsz); +CHURN(ape_rom_offset); +CHURN(ape_rom_paddr); +CHURN(ape_rom_rva); +CHURN(ape_rom_vaddr); +CHURN(ape_text_align); +CHURN(ape_text_filesz); +CHURN(ape_text_memsz); +CHURN(ape_text_offset); +CHURN(ape_text_paddr); +CHURN(ape_text_rva); +CHURN(ape_text_vaddr); CHURN(ADDR(.bss)); CHURN(_start); -CHURN(ape.phdrs); +CHURN(ape_phdrs); #if SupportsMetal() CHURN(v_ape_realsectors); #endif #if SupportsXnu() -CHURN(ape.macho); +CHURN(ape_macho); #endif #if SupportsWindows() -CHURN(ape.mz); -CHURN(ape.pe); -CHURN(.Lape.pe.offset); -CHURN(.Lape.pe.optsz); -CHURN(.Lape.pe.sections); -CHURN(.Lape.pe.sections_end); -CHURN(.Lape.pe.shnum); -CHURN(.Lape.phdrs.end); +CHURN(ape_mz); +CHURN(ape_pe); +CHURN(ape_pe_offset); +CHURN(ape_pe_optsz); +CHURN(ape_pe_sections); +CHURN(ape_pe_sections_end); +CHURN(ape_pe_shnum); +CHURN(ape_phdrs_end); CHURN(WinMain); #endif /* SupportsWindows() */ #endif /* SupportsXnu() */ -ASSERT(DEFINED(ape.mz) ? ape.mz == IMAGE_BASE_VIRTUAL : 1, "linker panic"); +ASSERT(DEFINED(ape_mz) ? ape_mz == IMAGE_BASE_VIRTUAL : 1, "linker panic"); ASSERT((DEFINED(__init_bss_end) ? __init_bss_end : 0) % __SIZEOF_POINTER__ == 0, "__init_bss misalign"); ASSERT(((DEFINED(__init_rodata_end) ? __init_rodata_end : 0) % __SIZEOF_POINTER__ == 0), "__init_rodata misalign"); -ASSERT((!DEFINED(ape.grub) ? 1 : RVA(ape.grub) < 8192), +ASSERT((!DEFINED(ape_grub) ? 1 : RVA(ape_grub) < 8192), "grub stub needs to be in first 8kb of image"); ASSERT(DEFINED(_start) || DEFINED(_start16), @@ -672,7 +637,7 @@ ASSERT(!DEFINED(_start16) || REAL(_end) < 65536, /* Let's not be like Knight Capital. */ /* NOCROSSREFS_TO(.test .text) */ -/* ASSERT(ape_sysv_start == .Lape.text.vaddr, */ +/* ASSERT(ape_sysv_start == ape_text_vaddr, */ /* "ape_sysv_start() must be first in .text"); */ #endif /* __LINKER__ */ diff --git a/ape/ape.mk b/ape/ape.mk index 666f277c541..fa044dd457b 100644 --- a/ape/ape.mk +++ b/ape/ape.mk @@ -24,12 +24,7 @@ APELINK = \ $(COMPILE) \ $(LINK) \ $(LINKARGS) \ - $(OUTPUT_OPTION) && \ - $(STRIP) \ - -X $@ && \ - $(GZ) \ - $(ZFLAGS) \ - -f $@.map + $(OUTPUT_OPTION) APE_FILES := $(wildcard ape/*.*) APE_HDRS = $(filter %.h,$(APE_FILES)) diff --git a/ape/idata.internal.h b/ape/idata.internal.h index c2dc5f2fd5a..7a336982785 100644 --- a/ape/idata.internal.h +++ b/ape/idata.internal.h @@ -22,15 +22,15 @@ #include "ape/relocations.h" /* clang-format off */ -/ Links function from external DLL. -/ -/ This embeds a function pointer in the binary. The NT Executive -/ fills its value before control is handed off to the program. -/ -/ @note only ELF toolchains are powerful enough to use this -/ @see libc/nt/master.sh -/ @see ape/ape.lds -/ @see winimp +// Links function from external DLL. +// +// This embeds a function pointer in the binary. The NT Executive +// fills its value before control is handed off to the program. +// +// @note only ELF toolchains are powerful enough to use this +// @see libc/nt/master.sh +// @see ape/ape.lds +// @see winimp .macro .imp dll:req fn:req actual:req hint .dll \dll .section .piro.data.sort.iat.2.\dll\().2.\actual,"aw",@progbits @@ -63,10 +63,10 @@ .previous .endm -/ Defines DLL import. -/ @note this is an implementation detail of .imp +// Defines DLL import. +// @note this is an implementation detail of .imp .macro .dll name:req - .section .idata.ro.idt.2.\name,"aG",\name,comdat + .section .idata.ro.idt.2.\name,"aG",@progbits,\name,comdat .equ .Lidata.idt.\name,. .long RVA(idata.ilt.\name) # ImportLookupTable .long 0 # TimeDateStamp @@ -76,7 +76,7 @@ .type .Lidata.idt.\name,@object .size .Lidata.idt.\name,.-.Lidata.idt.\name .previous - .section .idata.ro.ilt.\name\().1,"aG",\name,comdat + .section .idata.ro.ilt.\name\().1,"aG",@progbits,\name,comdat .align __SIZEOF_POINTER__ .type idata.ilt.\name,@object idata.ilt.\name: @@ -84,15 +84,15 @@ idata.ilt.\name: ... decentralized content ... - */.section .idata.ro.ilt.\name\().3,"aG",\name,comdat + */.section .idata.ro.ilt.\name\().3,"aG",@progbits,\name,comdat .quad 0 .previous - .section .idata.ro.hnt.\name\().1,"aG",\name,comdat + .section .idata.ro.hnt.\name\().1,"aG",@progbits,\name,comdat .align __SIZEOF_POINTER__ .type idata.hnt.\name,@object .equ idata.hnt.\name,. .previous - .section .piro.data.sort.iat.2.\name\().1,"awG",\name,comdat + .section .piro.data.sort.iat.2.\name\().1,"awG",@progbits,\name,comdat .align __SIZEOF_POINTER__ .type idata.iat.\name,@object idata.iat.\name: @@ -100,7 +100,7 @@ idata.iat.\name: ... decentralized content ... - */.section .piro.data.sort.iat.2.\name\().3,"awG",\name,comdat + */.section .piro.data.sort.iat.2.\name\().3,"awG",@progbits,\name,comdat .quad 0 .previous .section .rodata.str1.1,"aSM",@progbits,1 diff --git a/ape/lib/bootdr.S b/ape/lib/bootdr.S index b66a14a5a1d..735105f91ef 100644 --- a/ape/lib/bootdr.S +++ b/ape/lib/bootdr.S @@ -22,11 +22,11 @@ .source __FILE__ .code16 -/ Resets personal computer. -/ -/ @param di drive number, e.g. A:\ is 0x00, C:\ is 0x80 -/ @mode real -/ @noreturn +// Resets personal computer. +// +// @param di drive number, e.g. A:\ is 0x00, C:\ is 0x80 +// @mode real +// @noreturn bootdr: push %bp mov %sp,%bp mov %di,%dx diff --git a/ape/lib/e820map.S b/ape/lib/e820map.S index f14130d5ec3..3a9a71ea016 100644 --- a/ape/lib/e820map.S +++ b/ape/lib/e820map.S @@ -28,7 +28,7 @@ .hidden e820map .type e820map,@object .size e820map,XLM_E820_SIZE - e820map = ape.xlm + XLM_E820 + e820map = ape_xlm + XLM_E820 .globl e820map_xlm .hidden e820map_xlm diff --git a/ape/lib/g_ptsp.S b/ape/lib/g_ptsp.S index 56fd6b67842..261d2a0b895 100644 --- a/ape/lib/g_ptsp.S +++ b/ape/lib/g_ptsp.S @@ -28,7 +28,7 @@ .hidden g_ptsp .type g_ptsp,@object .size g_ptsp,XLM_PAGE_TABLE_STACK_POINTER_SIZE - g_ptsp = ape.xlm + XLM_PAGE_TABLE_STACK_POINTER + g_ptsp = ape_xlm + XLM_PAGE_TABLE_STACK_POINTER .globl g_ptsp_xlm .hidden g_ptsp_xlm diff --git a/ape/lib/kbiosdataarea.S b/ape/lib/kbiosdataarea.S index a9aedaeb960..664dba4b05f 100644 --- a/ape/lib/kbiosdataarea.S +++ b/ape/lib/kbiosdataarea.S @@ -28,7 +28,7 @@ .hidden kBiosDataArea .type kBiosDataArea,@object .size kBiosDataArea,XLM_BIOS_DATA_AREA_SIZE - kBiosDataArea = ape.xlm + XLM_BIOS_DATA_AREA + kBiosDataArea = ape_xlm + XLM_BIOS_DATA_AREA .globl kBiosDataAreaXlm .hidden kBiosDataAreaXlm diff --git a/ape/lib/pc.h b/ape/lib/pc.h index 9b5dbe585ce..badd3d21a04 100644 --- a/ape/lib/pc.h +++ b/ape/lib/pc.h @@ -63,49 +63,49 @@ #define FPU_C2 0b0000000000000010000000000 #define FPU_C3 0b0000000000100000000000000 -#define CR0_PE (1u << 0) /* protected mode enabled */ -#define CR0_MP (1u << 1) /* monitor coprocessor */ -#define CR0_EM (1u << 2) /* no x87 fpu present if set */ -#define CR0_TS (1u << 3) /* task switched x87 */ -#define CR0_ET (1u << 4) /* extension type 287 or 387 */ -#define CR0_NE (1u << 5) /* enable x87 error reporting */ -#define CR0_WP (1u << 16) /* write protect read-only pages @pl0 */ -#define CR0_AM (1u << 18) /* alignment mask */ -#define CR0_NW (1u << 29) /* global write-through cache disable */ -#define CR0_CD (1u << 30) /* global cache disable */ -#define CR0_PG (1u << 31) /* paging enabled */ - -#define CR4_VME (1u << 0) /* virtual 8086 mode extension */ -#define CR4_PVI (1u << 1) /* protected mode virtual interrupts */ -#define CR4_TSD (1u << 2) /* time stamp disable (rdtsc) */ -#define CR4_DE (1u << 3) /* debugging extensions */ -#define CR4_PSE (1u << 4) /* page size extension */ -#define CR4_PAE (1u << 5) /* physical address extension */ -#define CR4_MCE (1u << 6) /* machine check exception */ -#define CR4_PGE (1u << 7) /* page global enabled */ -#define CR4_OSFXSR (1u << 9) /* enable SSE and fxsave/fxrestor */ -#define CR4_OSXMMEXCPT (1u << 10) /* enable unmasked SSE exceptions */ -#define CR4_LA57 (1u << 12) /* enable level-5 paging */ -#define CR4_VMXE (1u << 13) /* enable VMX operations */ -#define CR4_SMXE (1u << 14) /* enable SMX operations */ -#define CR4_FSGSBASE (1u << 16) /* enable *FSBASE and *GSBASE instructions */ -#define CR4_PCIDE (1u << 17) /* enable process-context identifiers */ -#define CR4_OSXSAVE (1u << 18) /* enable XSAVE */ - -#define XCR0_X87 (1u << 0) -#define XCR0_SSE (1u << 1) -#define XCR0_AVX (1u << 2) -#define XCR0_BNDREG (1u << 3) -#define XCR0_BNDCSR (1u << 4) -#define XCR0_OPMASK (1u << 5) -#define XCR0_ZMM_HI256 (1u << 6) -#define XCR0_HI16_ZMM (1u << 7) - -#define EFER 0xC0000080 /* extended feature enable register */ -#define EFER_SCE (1u << 0) /* system call extensions */ -#define EFER_LME (1u << 8) /* long mode enable */ -#define EFER_LMA (1u << 10) /* long mode active */ -#define EFER_NXE (1u << 11) /* no-execute enable */ +#define CR0_PE 0x01 /* protected mode enabled */ +#define CR0_MP 0x02 /* monitor coprocessor */ +#define CR0_EM 0x04 /* no x87 fpu present if set */ +#define CR0_TS 0x08 /* task switched x87 */ +#define CR0_ET 0x10 /* extension type 287 or 387 */ +#define CR0_NE 0x20 /* enable x87 error reporting */ +#define CR0_WP 0x00010000 /* write protect read-only pages @pl0 */ +#define CR0_AM 0x00040000 /* alignment mask */ +#define CR0_NW 0x20000000 /* global write-through cache disable */ +#define CR0_CD 0x40000000 /* global cache disable */ +#define CR0_PG 0x80000000 /* paging enabled */ + +#define CR4_VME 0x01 /* virtual 8086 mode extension */ +#define CR4_PVI 0x02 /* protected mode virtual interrupts */ +#define CR4_TSD 0x04 /* time stamp disable (rdtsc) */ +#define CR4_DE 0x08 /* debugging extensions */ +#define CR4_PSE 0x10 /* page size extension */ +#define CR4_PAE 0x20 /* physical address extension */ +#define CR4_MCE 0x40 /* machine check exception */ +#define CR4_PGE 0x80 /* page global enabled */ +#define CR4_OSFXSR 0x0200 /* enable SSE and fxsave/fxrestor */ +#define CR4_OSXMMEXCPT 0x0400 /* enable unmasked SSE exceptions */ +#define CR4_LA57 0x1000 /* enable level-5 paging */ +#define CR4_VMXE 0x2000 /* enable VMX operations */ +#define CR4_SMXE 0x4000 /* enable SMX operations */ +#define CR4_FSGSBASE 0x00010000 /* enable *FSBASE and *GSBASE instructions */ +#define CR4_PCIDE 0x00020000 /* enable process-context identifiers */ +#define CR4_OSXSAVE 0x00040000 /* enable XSAVE */ + +#define XCR0_X87 0x01 +#define XCR0_SSE 0x02 +#define XCR0_AVX 0x04 +#define XCR0_BNDREG 0x08 +#define XCR0_BNDCSR 0x10 +#define XCR0_OPMASK 0x20 +#define XCR0_ZMM_HI256 0x40 +#define XCR0_HI16_ZMM 0x80 + +#define EFER 0xc0000080 /* extended feature enable register */ +#define EFER_SCE 0x01 /* system call extensions */ +#define EFER_LME 0x0100 /* long mode enable */ +#define EFER_LMA 0x0400 /* long mode active */ +#define EFER_NXE 0x0800 /* no-execute enable */ #define GDT_REAL_CODE 8 #define GDT_REAL_DATA 16 diff --git a/ape/macros.internal.h b/ape/macros.internal.h index 924c161a3f4..4537da0aef2 100644 --- a/ape/macros.internal.h +++ b/ape/macros.internal.h @@ -1,3 +1,21 @@ +/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ +│vi: set et ft=asm ts=8 sw=8 fenc=utf-8 :vi│ +╞══════════════════════════════════════════════════════════════════════════════╡ +│ Copyright 2020 Justine Alexandra Roberts Tunney │ +│ │ +│ Permission to use, copy, modify, and/or distribute this software for │ +│ any purpose with or without fee is hereby granted, provided that the │ +│ above copyright notice and this permission notice appear in all copies. │ +│ │ +│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ +│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ +│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ +│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ +│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ +│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ +│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ +│ PERFORMANCE OF THIS SOFTWARE. │ +╚─────────────────────────────────────────────────────────────────────────────*/ #ifndef APE_MACROS_H_ #define APE_MACROS_H_ #include "libc/macros.h" @@ -8,9 +26,16 @@ * @fileoverview Macros relevant to αcτµαlly pδrταblε εxεcµταblε. */ -/ Calls near (i.e. pc+pcrel<64kB) FUNCTION. -/ @mode long,legacy,real -/ @cost 9 bytes overhead +// Calls function in real mode. +// It's needed because LLVM 8 LLD doesn't support R_X86_64_PC16. + .macro call16 name:req + mov $REAL(\name),%ax + call *%ax + .endm + +// Calls near (i.e. pc+pcrel<64kB) FUNCTION. +// @mode long,legacy,real +// @cost 9 bytes overhead .macro rlcall function:req .byte 0x50 # push %[er]ax .byte 0xb8,0,0 # mov $?,%[e]ax @@ -25,8 +50,8 @@ 912: .endm -/ Loads far (i.e. <1mb) abs constexpr ADDRESS into ES:DI+EDX+RDX. -/ @mode long,legacy,real +// Loads far (i.e. <1mb) abs constexpr ADDRESS into ES:DI+EDX+RDX. +// @mode long,legacy,real .macro movesdi address:req .byte 0xbf # mov $0x????xxxx,%[e]di .short \address>>4 @@ -39,8 +64,8 @@ 297: .endm -/ Loads 16-bit CONSTEXPR into Qw-register w/ optional zero-extend. -/ @mode long,legacy,real +// Loads 16-bit CONSTEXPR into Qw-register w/ optional zero-extend. +// @mode long,legacy,real .macro bbmov constexpr:req abcd abcd.hi:req abcd.lo:req .ifnb \abcd .if (\constexpr)<128 && (\constexpr)>=0 @@ -52,8 +77,8 @@ movb $(\constexpr)&0xff,\abcd.lo .endm -/ Compares 16-bit CONSTEXPR with Qw-register. -/ @mode long,legacy,real +// Compares 16-bit CONSTEXPR with Qw-register. +// @mode long,legacy,real .macro bbcmp constexpr:req abcd.hi:req abcd.lo:req cmpb $(\constexpr)>>8&0xff,\abcd.hi jnz 387f @@ -61,8 +86,8 @@ 387: .endm -/ Adds 16-bit CONSTEXPR to Qw-register. -/ @mode long,legacy,real +// Adds 16-bit CONSTEXPR to Qw-register. +// @mode long,legacy,real .macro bbadd constexpr:req abcd.hi:req abcd.lo:req addb $(\constexpr)&0xff,\abcd.lo .if (\constexpr) != 0 @@ -70,8 +95,8 @@ .endif .endm -/ Subtracts 16-bit CONSTEXPR from Qw-register. -/ @mode long,legacy,real +// Subtracts 16-bit CONSTEXPR from Qw-register. +// @mode long,legacy,real .macro bbsub constexpr:req abcd.hi:req abcd.lo:req subb $(\constexpr)&0xff,\abcd.lo .if (\constexpr) != 0 @@ -79,8 +104,8 @@ .endif .endm -/ Ands Qw-register with 16-bit CONSTEXPR. -/ @mode long,legacy,real +// Ands Qw-register with 16-bit CONSTEXPR. +// @mode long,legacy,real .macro bband constexpr:req abcd.hi:req abcd.lo:req .if ((\constexpr)&0xff) != 0xff || ((\constexpr)>>8&0xff) == 0xff andb $(\constexpr)&0xff,\abcd.lo @@ -90,8 +115,8 @@ .endif .endm -/ Ors Qw-register with 16-bit CONSTEXPR. -/ @mode long,legacy,real +// Ors Qw-register with 16-bit CONSTEXPR. +// @mode long,legacy,real .macro bbor constexpr:req abcd.hi:req abcd.lo:req .if ((\constexpr)&0xff) != 0 || ((\constexpr)>>8&0xff) != 0 orb $(\constexpr)&0xff,\abcd.lo @@ -101,8 +126,8 @@ .endif .endm -/ Performs ACTION only if in real mode. -/ @mode long,legacy,real +// Performs ACTION only if in real mode. +// @mode long,legacy,real .macro rlo clobber:req action:vararg 990: mov $0,\clobber .if .-990b!=3 @@ -117,10 +142,10 @@ .endif .endm -/ Initializes real mode stack. -/ The most holiest of holy code. -/ @mode real -/ @see www.pcjs.org/pubs/pc/reference/intel/8086/ +// Initializes real mode stack. +// The most holiest of holy code. +// @mode real +// @see www.pcjs.org/pubs/pc/reference/intel/8086/ .macro rlstack seg:req addr:req cli mov \seg,%ss @@ -128,7 +153,7 @@ sti .endm -/ Symbolic Linker-Defined Binary Content. +// Symbolic Linker-Defined Binary Content. .macro .stub name:req kind:req default type=@object .ifnb \default .equ \name,\default @@ -139,17 +164,17 @@ .hidden \name .endm -/ Symbolic Linker-Defined Binary-Encoded-Bourne Content. -/ @param units is the number of encoded 32-bit values to insert, -/ e.g. \000 can be encoded as 0x3030305c. -.macro .shstub name:req units:req +// Symbolic Linker-Defined Binary-Encoded-Bourne Content. +// @param units is the number of encoded 32-bit values to insert, +// e.g. \000 can be encoded as 0x3030305c. +.macro .shstub name:req num:req ss \name,0 - .if \units>1 + .if \num>1 ss \name,1 - .if \units>2 + .if \num>2 ss \name,2 ss \name,3 - .if \units>4 + .if \num>4 ss \name,4 ss \name,5 ss \name,6 @@ -166,8 +191,8 @@ #elif defined(__LINKER__) #define BCX_NIBBLE(X) ((((X)&0xf) > 0x9) ? ((X)&0xf) + 0x37 : ((X)&0xf) + 0x30) -#define BCX_OCTET(X) ((BCX_NIBBLE((X) >> 4) << 8) | (BCX_NIBBLE((X) >> 0) << 0)) -#define BCX_INT16(X) ((BCX_OCTET((X) >> 8) << 16) | (BCX_OCTET((X) >> 0) << 0)) +#define BCX_OCTET(X) ((BCX_NIBBLE((X) >> 4) << 8) | (BCX_NIBBLE((X) >> 0) << 0)) +#define BCX_INT16(X) ((BCX_OCTET((X) >> 8) << 16) | (BCX_OCTET((X) >> 0) << 0)) #define BCXSTUB(SYM, X) \ HIDDEN(SYM##_bcx0 = BCX_INT16((X) >> 48)); \ HIDDEN(SYM##_bcx1 = BCX_INT16((X) >> 32)); \ diff --git a/build/archive b/build/archive index b378daaddfa..486dfbaadba 100755 --- a/build/archive +++ b/build/archive @@ -15,16 +15,16 @@ # build/archive rcsD library.a foo.o ... MKDIR=${MKDIR:-$(command -v mkdir) -p} || exit -# if [ -x "o/$MODE/tool/build/ar.com" ]; then -# set -- "o/$MODE/tool/build/ar.com" "$@" -# else -if [ ! -x o/build/bootstrap/ar.com ]; then - mkdir -p o/build/bootstrap && - cp -f build/bootstrap/ar.com o/build/bootstrap/ar.com.$$ && - mv -f o/build/bootstrap/ar.com.$$ o/build/bootstrap/ar.com || exit +if [ -x "o//tool/build/ar.com" ]; then + set -- "o//tool/build/ar.com" "$@" +else + if [ ! -x o/build/bootstrap/ar.com ]; then + mkdir -p o/build/bootstrap && + cp -f build/bootstrap/ar.com o/build/bootstrap/ar.com.$$ && + mv -f o/build/bootstrap/ar.com.$$ o/build/bootstrap/ar.com || exit + fi + set -- o/build/bootstrap/ar.com "$@" fi -set -- o/build/bootstrap/ar.com "$@" -# fi OUT=$3 printf "$LOGFMT" "${ACTION:-ARCHIVE.a}" "$OUT" >&2 diff --git a/build/bootstrap/ar.com b/build/bootstrap/ar.com index c83de357e89..304bb55c31d 100755 Binary files a/build/bootstrap/ar.com and b/build/bootstrap/ar.com differ diff --git a/build/bootstrap/compile.com b/build/bootstrap/compile.com index 3121db0148b..36c8290085c 100755 Binary files a/build/bootstrap/compile.com and b/build/bootstrap/compile.com differ diff --git a/build/bootstrap/mkdeps.com b/build/bootstrap/mkdeps.com index 43a322ae7b2..5dbcfeec5f5 100755 Binary files a/build/bootstrap/mkdeps.com and b/build/bootstrap/mkdeps.com differ diff --git a/build/config.mk b/build/config.mk index c23b237c2be..9b0e3d39999 100644 --- a/build/config.mk +++ b/build/config.mk @@ -20,8 +20,6 @@ CONFIG_CCFLAGS += \ TARGET_ARCH ?= \ -msse3 -RAGELFLAGS ?= -G2 - endif # Optimized Mode @@ -48,8 +46,6 @@ CONFIG_CCFLAGS += \ TARGET_ARCH ?= \ -march=native -RAGELFLAGS ?= -G2 - endif # Release Mode @@ -73,8 +69,6 @@ CONFIG_CCFLAGS += \ $(BACKTRACES) \ -O2 -RAGELFLAGS = -G2 - endif # Debug Mode @@ -247,6 +241,23 @@ TARGET_ARCH ?= \ -msse3 endif +# LLVM Mode +ifeq ($(MODE), llvm) +TARGET_ARCH ?= -msse3 +CONFIG_CCFLAGS += $(BACKTRACES) $(FTRACE) -O2 +AS = clang +CC = clang +CXX = clang++ +CXXFILT = llvm-c++filt +LD = ld.lld +NM = llvm-nm +GCC = clang +STRIP = llvm-strip +OBJCOPY = llvm-objcopy +OBJDUMP = llvm-objdump +ADDR2LINE = llvm-addr2line +endif + # ANSI Mode # # These flags cause GCC to predefine __STRICT_ANSI__. Please be warned diff --git a/build/definitions.mk b/build/definitions.mk index 9fec2170d27..5bdf70227b5 100644 --- a/build/definitions.mk +++ b/build/definitions.mk @@ -197,17 +197,15 @@ DEFAULT_LDFLAGS = \ -static \ -nostdlib \ -m elf_x86_64 \ - --gc-sections \ --build-id=none \ - --cref -Map=$@.map \ --no-dynamic-linker \ - -z max-page-size=0x1000 \ - -Ttext-segment=$(IMAGE_BASE_VIRTUAL) + -z max-page-size=0x1000 ZIPOBJ_FLAGS = \ -b$(IMAGE_BASE_VIRTUAL) ASONLYFLAGS = \ + -c \ -g \ --debug-prefix-map="$(PWD)"= @@ -313,7 +311,7 @@ OBJECTIFY.c = $(CC) $(OBJECTIFY.c.flags) -c OBJECTIFY.cxx = $(CXX) $(OBJECTIFY.cxx.flags) -c PREPROCESS = $(CC) $(PREPROCESS.flags) PREPROCESS.lds = $(CC) $(PREPROCESS.lds.flags) -LINK = build/link $(LD) $(LINK.flags) +LINK = $(LD) $(LINK.flags) ELF = o/libc/elf/elf.lds ELFLINK = ACTION=LINK.elf $(LINK) $(LINKARGS) $(OUTPUT_OPTION) ARCHIVE = $(AR) $(ARFLAGS) diff --git a/build/rules.mk b/build/rules.mk index 0edb2153eb3..84ce0da5db4 100644 --- a/build/rules.mk +++ b/build/rules.mk @@ -37,7 +37,7 @@ o/%.greg.o: %.greg.c; @ACTION=OBJECTIFY.greg $(COMPILE) $(OBJECTIFY.greg.c) $(OU o/%.zip.o: o/%; @build/zipobj $(ZIPOBJ_FLAGS) $(OUTPUT_OPTION) $< o/$(MODE)/%.a:; @$(ARCHIVE) $@ $^ -o/$(MODE)/%: o/$(MODE)/%.dbg; @ACTION=OBJCOPY TARGET=$@ $(COMPILE) $(OBJCOPY) -SO binary $< $@ +o/$(MODE)/%: o/$(MODE)/%.dbg; @ACTION=OBJCOPY TARGET=$@ $(COMPILE) $(OBJCOPY) -S -O binary $< $@ o/$(MODE)/%.o: %.s; @TARGET=$@ $(COMPILE) $(OBJECTIFY.s) $(OUTPUT_OPTION) $< o/$(MODE)/%.o: o/$(MODE)/%.s; @TARGET=$@ $(COMPILE) $(OBJECTIFY.s) $(OUTPUT_OPTION) $< o/$(MODE)/%.s: %.S; @ACTION=PREPROCESS $(COMPILE) $(PREPROCESS) $(OUTPUT_OPTION) $< diff --git a/build/runcom b/build/runcom index d3268efbced..a5013b96441 100755 --- a/build/runcom +++ b/build/runcom @@ -6,5 +6,6 @@ DD=${DD:-$(command -v dd)} || exit $DD if="$1" of="$1.bak" bs=4096 count=1 conv=notrunc 2>/dev/null "$@" rc=$? +echo "$1" $DD if="$1.bak" of="$1" bs=4096 count=1 conv=notrunc 2>/dev/null exit $rc diff --git a/dsp/core/mulaw.S b/dsp/core/mulaw.S index 6c7a1dd83f7..db4a7266f65 100644 --- a/dsp/core/mulaw.S +++ b/dsp/core/mulaw.S @@ -20,18 +20,18 @@ #define BIAS 0x84 -/ Encodes audio sample with µ-Law. -/ -/ This is both the highest quality and most widely supported -/ telephony codec, whose use was phased out in the 2000's in -/ favor of cost-saving GSM audio compression that was so bad -/ consumers were willing to pay more cash, for the privilege -/ of saving telcos even more money w/ text messaging. Mu Law -/ reduces PCM data to half its original size, by diminishing -/ audio bands not vocalized by human voice. -/ -/ @param %edi is pcm sample -/ @return %eax is uint8_t encoded sample +// Encodes audio sample with µ-Law. +// +// This is both the highest quality and most widely supported +// telephony codec, whose use was phased out in the 2000's in +// favor of cost-saving GSM audio compression that was so bad +// consumers were willing to pay more cash, for the privilege +// of saving telcos even more money w/ text messaging. Mu Law +// reduces PCM data to half its original size, by diminishing +// audio bands not vocalized by human voice. +// +// @param %edi is pcm sample +// @return %eax is uint8_t encoded sample mulaw: .leafprologue .profilable mov $BIAS,%eax diff --git a/dsp/core/sad16x8n.S b/dsp/core/sad16x8n.S index a48bd58d380..89a081dc6d9 100644 --- a/dsp/core/sad16x8n.S +++ b/dsp/core/sad16x8n.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .align 16 -/ Mixes audio. -/ -/ @param rdi is # aligned int16[16] sample chunks to process -/ @param rsi points to aligned pcm s16le input/output memory -/ @param rdx points to aligned pcm s16le [0..1] input memory +// Mixes audio. +// +// @param rdi is # aligned int16[16] sample chunks to process +// @param rsi points to aligned pcm s16le input/output memory +// @param rdx points to aligned pcm s16le [0..1] input memory sad16x8n: .leafprologue .profilable diff --git a/dsp/tty/mpsadbw.S b/dsp/tty/mpsadbw.S index fbb7d37c92b..478de0b407d 100644 --- a/dsp/tty/mpsadbw.S +++ b/dsp/tty/mpsadbw.S @@ -18,7 +18,7 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ TODO(jart): write me +// TODO(jart): write me movdqa a,%xmm0 mpsadbw $0,inv,%xmm0 diff --git a/dsp/tty/windex-avx2.S b/dsp/tty/windex-avx2.S index 9dbafc0386a..f2dcf5368cc 100644 --- a/dsp/tty/windex-avx2.S +++ b/dsp/tty/windex-avx2.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Returns index of minimum uint16 in array. -/ -/ @param rdi points to nonempty array -/ @param rsi is item count divisible by 16 -/ @note needs avx2 (haswell+) +// Returns index of minimum uint16 in array. +// +// @param rdi points to nonempty array +// @param rsi is item count divisible by 16 +// @note needs avx2 (haswell+) windex_avx2: push %rbp mov %rsp,%rbp diff --git a/dsp/tty/windex-sse4.S b/dsp/tty/windex-sse4.S index 82630fd04ae..4b768c025e6 100644 --- a/dsp/tty/windex-sse4.S +++ b/dsp/tty/windex-sse4.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Returns index of minimum positive int16 in array. -/ -/ @param rdi points to nonempty array -/ @param esi is 16-byte aligned 8+ / 8 multiple array item count -/ @note needs sse4 (nehalem+) +// Returns index of minimum positive int16 in array. +// +// @param rdi points to nonempty array +// @param esi is 16-byte aligned 8+ / 8 multiple array item count +// @note needs sse4 (nehalem+) windex_sse4: push %rbp mov %rsp,%rbp diff --git a/dsp/tty/windex.S b/dsp/tty/windex.S index aa761ed06d7..35e997c2edc 100644 --- a/dsp/tty/windex.S +++ b/dsp/tty/windex.S @@ -20,7 +20,7 @@ #include "libc/macros.h" .source __FILE__ -/ Dispatches to fastest windex() implementation. +// Dispatches to fastest windex() implementation. .initbss 300,_init_windex windex: .quad 0 .endobj windex,globl diff --git a/examples/cplusplus.cc b/examples/cplusplus.cc index ea49e1bffbc..dd6388a3524 100644 --- a/examples/cplusplus.cc +++ b/examples/cplusplus.cc @@ -48,6 +48,6 @@ int main(int argc, char *argv[]) { for (int i = 0; i < min(64, argc); ++i) g_log.x()[i] += argc; printf("%p %d %d %d\n", (void *)(intptr_t)g_log.x(), g_log.x()[0], g_log.x()[0], g_log.x()[0]); - delete x; + delete[] x; return 0; } diff --git a/examples/package/lib/myasm.S b/examples/package/lib/myasm.S index c9358415155..d74444fc664 100644 --- a/examples/package/lib/myasm.S +++ b/examples/package/lib/myasm.S @@ -1,13 +1,13 @@ #include "libc/macros.h" -/ Example assembly function. -/ -/ @note param agnostic -/ @note we love stack frames -/ easiest way to do backtraces -/ somehow they usually make code faster -/ it's convention for keeping stack 16-byte aligned -/ cpus still devote much to pushing & popping b/c i386 +// Example assembly function. +// +// @note param agnostic +// @note we love stack frames +// easiest way to do backtraces +// somehow they usually make code faster +// it's convention for keeping stack 16-byte aligned +// cpus still devote much to pushing & popping b/c i386 MyAsm: push %rbp mov %rsp,%rbp call MyPrint2 diff --git a/examples/tiny-raw-linux-tutorial.S b/examples/tiny-raw-linux-tutorial.S deleted file mode 100644 index 9ad07f149aa..00000000000 --- a/examples/tiny-raw-linux-tutorial.S +++ /dev/null @@ -1,59 +0,0 @@ -/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ -│vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│ -╞══════════════════════════════════════════════════════════════════════════════╡ -│ Copyright 2020 Justine Alexandra Roberts Tunney │ -│ │ -│ Permission to use, copy, modify, and/or distribute this software for │ -│ any purpose with or without fee is hereby granted, provided that the │ -│ above copyright notice and this permission notice appear in all copies. │ -│ │ -│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ -│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ -│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ -│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ -│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ -│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ -│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ -│ PERFORMANCE OF THIS SOFTWARE. │ -╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/macros.h" -.privileged - -/ Tiny Raw Linux Binary Tutorial -/ -/ i.e. how to not use cosmopolitan runtimes at all -/ cosmopolitan basically abstracts this -/ except for all major platforms -/ -/ make o//examples/raw-linux-hello.elf -/ o/examples/raw-linux-hello.elf # about 6kb -/ -/ Next try C but with fancy build tuning -/ -/ make -j8 -O \ -/ MODE=tiny \ -/ LDFLAGS+=-s \ -/ CPPFLAGS+=-DIM_FEELING_NAUGHTY \ -/ CPPFLAGS+=-DSUPPORT_VECTOR=0b00000001 \ -/ o/tiny/examples/hello2.elf -/ o/tiny/examples/hello2.elf # about 8kb -/ -/ @param rsp is [n,argv₀..argvₙ₋₁,0,envp₀..,0,auxv₀..,0,..] -/ @see also glibc static binaries which start at 800kb!!! -/ @see also go where interfaces sadly disempower ld prune -/ @see also the stl where bad linkage is due to tech debt -/ @note libc/elf/elf.lds can be tinier with page align off -/ @note gas is more powerful than nasm due to rms notation -/ @noreturn -_start: mov $12,%rdx # arg no. 3 is length - getstr "hello world\n",%rsi,%esi # arg no. 2 is memory - mov $1,%edi # arg no. 1 is stdout - mov $1,%eax # write() - syscall # libc/sysv/syscalls.sh - mov $0,%edi # arg no. 1 is success status - mov $0xE7,%eax # exit_group() - syscall # context switch -0: rep nop # basic blockading - jmp 0b - .endfn _start,globl - .source __FILE__ diff --git a/libc/alg/arraylist.internal.h b/libc/alg/arraylist.internal.h index 3b7a5c8bed8..41e7417752d 100644 --- a/libc/alg/arraylist.internal.h +++ b/libc/alg/arraylist.internal.h @@ -4,27 +4,8 @@ #include "libc/mem/mem.h" #include "libc/str/str.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) -#if 0 -/** - * @fileoverview Cosmopolitan Array List. - * - * This is a generically-typed ArrayList template which follows a - * duck-typing philosophy like Python, exporting an interface paradigm - * similar to Go, that's implicitly defined by way of macros like Lisp. - * - * struct MyArrayList { - * size_t i; // current item count - * size_t n; // current item capacity - * T *p; // pointer to array (initially NULL) - * }; - * - * Any struct with those fields can be used. It's also very important - * that other data structures, which reference items in an arraylist, do - * so using indices rather than pointers, since realloc() can relocate. - * - * @see libc/mem/grow.c - */ -#endif + +/* TOOD(jart): DELETE */ #define append(ARRAYLIST, ITEM) concat((ARRAYLIST), (ITEM), 1) @@ -38,7 +19,7 @@ size_t Idx = List->i; \ if (Idx + Count < List->n || __grow(&List->p, &List->n, SizE, Count)) { \ memcpy(&List->p[Idx], Item, SizE *Count); \ - atomic_store(&List->i, Idx + Count); \ + List->i = Idx + Count; \ } else { \ Idx = -1UL; \ } \ diff --git a/libc/bits/bits.h b/libc/bits/bits.h index bd95a28d2d9..4b2a2ee6a71 100644 --- a/libc/bits/bits.h +++ b/libc/bits/bits.h @@ -234,12 +234,10 @@ intptr_t atomic_store(void *, intptr_t, size_t); * @return LOCALVAR[0] * @see xchg() */ -#define lockxchg(MEMORY, LOCALVAR) \ - ({ \ - _Static_assert( \ - __builtin_types_compatible_p(typeof(*(MEMORY)), typeof(*(LOCALVAR)))); \ - asm("xchg\t%0,%1" : "+%m"(*(MEMORY)), "+r"(*(LOCALVAR))); \ - *(LOCALVAR); \ +#define lockxchg(MEMORY, LOCALVAR) \ + ({ \ + asm("xchg\t%0,%1" : "+%m"(*(MEMORY)), "+r"(*(LOCALVAR))); \ + *(LOCALVAR); \ }) /** diff --git a/libc/calls/calls.h b/libc/calls/calls.h index 100254d39ae..240ee3c921e 100644 --- a/libc/calls/calls.h +++ b/libc/calls/calls.h @@ -1,5 +1,6 @@ #ifndef COSMOPOLITAN_LIBC_CALLS_SYSCALLS_H_ #define COSMOPOLITAN_LIBC_CALLS_SYSCALLS_H_ +#include "libc/calls/struct/dirent.h" #include "libc/calls/struct/iovec.h" #include "libc/calls/struct/rlimit.h" #include "libc/calls/struct/rusage.h" @@ -62,7 +63,6 @@ COSMOPOLITAN_C_START_ ╚────────────────────────────────────────────────────────────────────────────│*/ typedef int sig_atomic_t; -typedef struct dirstream DIR; extern const struct sigset kSigsetFull; extern const struct sigset kSigsetEmpty; @@ -102,7 +102,6 @@ int execvp(const char *, char *const[]) paramsnonnull(); int execvpe(const char *, char *const[], char *const[]) paramsnonnull(); int faccessat(int, const char *, int, uint32_t); int fadvise(int, uint64_t, uint64_t, int); -int fallocate(int, int32_t, int64_t, int64_t); int fchmod(int, uint32_t) nothrow; int fchmodat(int, const char *, uint32_t, uint32_t); int fchown(int, uint32_t, uint32_t); @@ -147,7 +146,6 @@ int personality(uint64_t); int pipe(int[hasatleast 2]); int pipe2(int[hasatleast 2], int); int posix_fadvise(int, uint64_t, uint64_t, int); -int posix_fallocate(int, int64_t, int64_t); int posix_madvise(void *, uint64_t, int); int raise(int); int readlink(const char *, char *, size_t); diff --git a/libc/calls/fallocate.c b/libc/calls/fallocate.c deleted file mode 100644 index c6dc1996b5b..00000000000 --- a/libc/calls/fallocate.c +++ /dev/null @@ -1,74 +0,0 @@ -/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ -│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ -╞══════════════════════════════════════════════════════════════════════════════╡ -│ Copyright 2020 Justine Alexandra Roberts Tunney │ -│ │ -│ Permission to use, copy, modify, and/or distribute this software for │ -│ any purpose with or without fee is hereby granted, provided that the │ -│ above copyright notice and this permission notice appear in all copies. │ -│ │ -│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ -│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ -│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ -│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ -│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ -│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ -│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ -│ PERFORMANCE OF THIS SOFTWARE. │ -╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/calls/internal.h" -#include "libc/dce.h" -#include "libc/nt/enum/fsctl.h" -#include "libc/nt/files.h" -#include "libc/nt/struct/filezerodatainformation.h" -#include "libc/sysv/consts/falloc.h" -#include "libc/sysv/errfuns.h" - -/** - * Manipulates underlying physical medium of file. - * - * This system call generalizes to many powerful use cases on Linux, - * such as creating gigantic sparse files that take up little space. - * This API can polyfill a certain subset of parameters safely, e.g. - * ones identical to ftruncate(), but errs on the side of caution. - * - * @param fd must be open for writing - * @param mode can be 0, FALLOC_xxx - * @param length is how much physical space to reserve / commit - * @return 0 on success, or -1 w/ errno - * @note limited availability on rhel5 and openbsd - * @see ftruncate() - */ -int fallocate(int fd, int32_t mode, int64_t offset, int64_t length) { - int rc; - uint32_t br; - if (mode == -1 /* our sysvconsts definition */) return eopnotsupp(); - if (!mode && !length) return ftruncate(fd, offset); - if (IsLinux()) { - rc = sys_fallocate(fd, mode, offset, length); - if (rc == 0x011d) rc = enosys(); /*RHEL5:CVE-2010-3301*/ - return rc; - } else if (!IsWindows()) { - return sys_posix_fallocate(fd, offset, length); - } else { - if (!__isfdkind(fd, kFdFile)) return ebadf(); - if (mode == FALLOC_FL_ZERO_RANGE) { - if (DeviceIoControl( - g_fds.p[fd].handle, kNtFsctlSetZeroData, - &(struct NtFileZeroDataInformation){offset, offset + length}, - sizeof(struct NtFileZeroDataInformation), NULL, 0, &br, NULL)) { - return 0; - } else { - return __winerr(); - } - } else if (!mode && !offset) { - /* - * this should commit physical space - * but not guaranteed zero'd like linux - */ - return sys_ftruncate_nt(fd, length); - } else { - return enosys(); - } - } -} diff --git a/libc/calls/ftruncate.c b/libc/calls/ftruncate.c index 2a0b754733b..ea1aa1b5a88 100644 --- a/libc/calls/ftruncate.c +++ b/libc/calls/ftruncate.c @@ -29,7 +29,6 @@ * since the prior extends logically and the latter physically * @return 0 on success, or -1 w/ errno * @asyncsignalsafe - * @see fallocate() */ int ftruncate(int fd, int64_t length) { if (!IsWindows()) { diff --git a/libc/calls/getntsyspath.S b/libc/calls/getntsyspath.S index 6a0da4977e0..397e3129696 100644 --- a/libc/calls/getntsyspath.S +++ b/libc/calls/getntsyspath.S @@ -19,13 +19,13 @@ #include "libc/macros.h" .source __FILE__ -/ Obtains WIN32 magic path, e.g. GetTempPathA. -/ -/ @param rax is address of ANSI path provider function -/ @param rdi is output buffer -/ @param rdx is output buffer size in bytes that's >0 -/ @return eax is string length w/ NUL that's ≤ edx -/ @return rdi is rdi+edx +// Obtains WIN32 magic path, e.g. GetTempPathA. +// +// @param rax is address of ANSI path provider function +// @param rdi is output buffer +// @param rdx is output buffer size in bytes that's >0 +// @return eax is string length w/ NUL that's ≤ edx +// @return rdi is rdi+edx .text.startup __getntsyspath: push %rbp @@ -40,14 +40,14 @@ __getntsyspath: cmovbe %edx,%eax cmp $1,%eax # leave empty strings empty jbe 1f - cmpb $'\\,-1(%rdi,%rax) # guarantee trailing slash + cmpb $'\\',-1(%rdi,%rax) # guarantee trailing slash je 1f - movw $'\\,(%rdi,%rax) + movw $'\\',(%rdi,%rax) inc %eax 1: inc %rdi # change backslash to slash - cmpb $'\\,-1(%rdi) + cmpb $'\\',-1(%rdi) jne 2f - movb $'/,-1(%rdi) + movb $'/',-1(%rdi) 2: .loop 1b leave ret diff --git a/libc/calls/getsetpriority-nt.c b/libc/calls/getsetpriority-nt.c index a318aac656e..5b4d81d9b57 100644 --- a/libc/calls/getsetpriority-nt.c +++ b/libc/calls/getsetpriority-nt.c @@ -22,8 +22,8 @@ #include "libc/sysv/errfuns.h" textwindows int sys_getsetpriority_nt(int which, unsigned who, int value, - int (*impl)(int)) { + int (*impl)(int)) { if (which != PRIO_PROCESS && which != PRIO_PGRP) return einval(); - if (who && abs(who) != getpid() && abs(who) != gettid()) return eopnotsupp(); + if (who && who != getpid() && who != gettid()) return eopnotsupp(); return impl(value); } diff --git a/libc/calls/gettemppatha-flunk.S b/libc/calls/gettemppatha-flunk.S index f83cc661b47..44b62f42c81 100644 --- a/libc/calls/gettemppatha-flunk.S +++ b/libc/calls/gettemppatha-flunk.S @@ -19,9 +19,9 @@ #include "libc/macros.h" .source __FILE__ -/ Calls GetTempPathA() w/ different API. -/ -/ @see GetSystemDirectoryA(), GetWindowsDirectoryA() +// Calls GetTempPathA() w/ different API. +// +// @see GetSystemDirectoryA(), GetWindowsDirectoryA() GetTempPathA_flunk: xchg %rcx,%rdx jmp *__imp_GetTempPathA(%rip) diff --git a/libc/calls/internal.h b/libc/calls/internal.h index 749c75caffe..50c4b6dcf4e 100644 --- a/libc/calls/internal.h +++ b/libc/calls/internal.h @@ -120,7 +120,6 @@ i32 sys_dup3(i32, i32, i32) hidden; i32 sys_execve(const char *, char *const[], char *const[]) hidden; i32 sys_faccessat(i32, const char *, i32, u32) hidden; i32 sys_fadvise(i32, i64, i64, i32) hidden; -i32 sys_fallocate(i64, i32, i64, i64) hidden; i32 sys_fchdir(i32) hidden; i32 sys_fchmod(i32, u32) hidden; i32 sys_fchmodat(i32, const char *, u32, u32) hidden; @@ -158,7 +157,6 @@ i32 sys_openat(i32, const char *, i32, ...) hidden; i32 sys_pause(void) hidden; i32 sys_pipe(i32[hasatleast 2]) hidden; i32 sys_pipe2(i32[hasatleast 2], u32) hidden; -i32 sys_posix_fallocate(i64, i64, i64) hidden; i32 sys_posix_openpt(i32) hidden; i32 sys_renameat(i32, const char *, i32, const char *) hidden; i32 sys_sched_setaffinity(i32, u64, const void *) hidden; @@ -277,7 +275,7 @@ ssize_t sys_write_nt(struct Fd *, const struct iovec *, size_t, ssize_t) hidden; int64_t ntreturn(uint32_t); void WinMainForked(void) hidden; void *GetProcAddressModule(const char *, const char *) hidden; -int sys_getsetpriority_nt(int, unsigned, int, int (*)(int)); +int sys_getsetpriority_nt(int, int, int, int (*)(int)); void ntcontext2linux(struct ucontext *, const struct NtContext *) hidden; struct NtOverlapped *offset2overlap(int64_t, struct NtOverlapped *) hidden; bool32 ntsetprivilege(i64, const char16_t *, u32) hidden; diff --git a/libc/calls/kntsystemdirectory.S b/libc/calls/kntsystemdirectory.S index 3a844407945..40a64d28def 100644 --- a/libc/calls/kntsystemdirectory.S +++ b/libc/calls/kntsystemdirectory.S @@ -22,9 +22,9 @@ #define BYTES 64 -/ RII constant holding 'C:/WINDOWS/SYSTEM32' directory. -/ -/ @note guarantees trailing slash if non-empty +// RII constant holding 'C:/WINDOWS/SYSTEM32' directory. +// +// @note guarantees trailing slash if non-empty .initbss 300,_init_kNtSystemDirectory kNtSystemDirectory: .zero BYTES diff --git a/libc/calls/kntwindowsdirectory.S b/libc/calls/kntwindowsdirectory.S index 1b89830de24..bb8eafb460e 100644 --- a/libc/calls/kntwindowsdirectory.S +++ b/libc/calls/kntwindowsdirectory.S @@ -22,9 +22,9 @@ #define BYTES 64 -/ RII constant holding 'C:/WINDOWS' directory. -/ -/ @note guarantees trailing slash if non-empty +// RII constant holding 'C:/WINDOWS' directory. +// +// @note guarantees trailing slash if non-empty .initbss 300,_init_kNtWindowsDirectory kNtWindowsDirectory: .zero BYTES diff --git a/libc/calls/ktmppath.S b/libc/calls/ktmppath.S index 4b91ac2799a..290c82772c6 100644 --- a/libc/calls/ktmppath.S +++ b/libc/calls/ktmppath.S @@ -22,10 +22,10 @@ #define kTmpPathMax 80 -/ RII constant holding /tmp/ directory. -/ -/ @note on win32 this is firstNonNull($TMP, $TEMP, $PWD) -/ @note guarantees trailing slash if non-empty +// RII constant holding /tmp/ directory. +// +// @note on win32 this is firstNonNull($TMP, $TEMP, $PWD) +// @note guarantees trailing slash if non-empty .initbss 300,_init_kTmpPath kTmpPath: .zero kTmpPathMax @@ -33,8 +33,8 @@ kTmpPath: .previous .init.start 300,_init_kTmpPath - movl $'/|'t<<010|'m<<020|'p<<030,(%rdi) - movw $'/,4(%rdi) + movl $'/'|'t'<<010|'m'<<020|'p'<<030,(%rdi) + movw $'/',4(%rdi) #if SupportsWindows() pushpop kTmpPathMax,%rdx ezlea GetTempPathA_flunk,ax diff --git a/libc/calls/nowl.S b/libc/calls/nowl.S index 32c6f4a89de..1ea325fc0ab 100644 --- a/libc/calls/nowl.S +++ b/libc/calls/nowl.S @@ -19,10 +19,10 @@ #include "libc/nexgen32e/x86feature.h" #include "libc/macros.h" -/ Returns timestamp without needing system calls. -/ -/ @return seconds since unix epoch in %st0 -/ @note uses microsecond scale fallback on k8 or vm +// Returns timestamp without needing system calls. +// +// @return seconds since unix epoch in %st0 +// @note uses microsecond scale fallback on k8 or vm .initbss 202,_init_nowl nowl: .quad 0 .endobj nowl,globl diff --git a/libc/calls/posix_fallocate.c b/libc/calls/posix_fallocate.c deleted file mode 100644 index 7ffbf6ca7f9..00000000000 --- a/libc/calls/posix_fallocate.c +++ /dev/null @@ -1,33 +0,0 @@ -/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ -│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ -╞══════════════════════════════════════════════════════════════════════════════╡ -│ Copyright 2020 Justine Alexandra Roberts Tunney │ -│ │ -│ Permission to use, copy, modify, and/or distribute this software for │ -│ any purpose with or without fee is hereby granted, provided that the │ -│ above copyright notice and this permission notice appear in all copies. │ -│ │ -│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ -│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ -│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ -│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ -│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ -│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ -│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ -│ PERFORMANCE OF THIS SOFTWARE. │ -╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/calls/calls.h" -#include "libc/dce.h" -#include "libc/sysv/errfuns.h" - -/** - * Manipulates underlying physical medium of file, the POSIX way. - * - * @param fd must be open for writing - * @param length is how much physical space to reserve - * @return 0 on success, or -1 w/ errno - * @see fallocate(), ftruncate() - */ -int posix_fallocate(int fd, int64_t offset, int64_t length) { - return fallocate(fd, 0, offset, length); -} diff --git a/libc/calls/ptsname_r.c b/libc/calls/ptsname_r.c index 9104d7a3f64..3a85a84f136 100644 --- a/libc/calls/ptsname_r.c +++ b/libc/calls/ptsname_r.c @@ -19,18 +19,19 @@ #include "libc/calls/calls.h" #include "libc/calls/termios.h" #include "libc/errno.h" -#include "libc/fmt/fmt.h" +#include "libc/fmt/itoa.h" #include "libc/sysv/consts/termios.h" #include "libc/sysv/errfuns.h" errno_t ptsname_r(int fd, char *buf, size_t size) { int pty; + char tb[32]; if (size) { if (!buf) return einval(); if (ioctl(fd, TIOCGPTN, &pty) == -1) return errno; - if (snprintf(buf, size, "/dev/pts/%d", pty) >= size) { - return (errno = ERANGE); - } + int64toarray_radix10(pty, stpcpy(tb, "/dev/pts/")); + if (strlen(tb) + 1 >= size) return (errno = ERANGE); + stpcpy(buf, tb); /* TODO(jart): OpenBSD OMG */ } return 0; diff --git a/libc/calls/setegid.S b/libc/calls/setegid.S index b07782b2e6c..922e63d2a79 100644 --- a/libc/calls/setegid.S +++ b/libc/calls/setegid.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Sets effective group ID. -/ -/ @param %edi is group id -/ @see setgid(), getauxval(AT_SECURE) +// Sets effective group ID. +// +// @param %edi is group id +// @see setgid(), getauxval(AT_SECURE) setegid:push %rbp mov %rsp,%rbp .profilable diff --git a/libc/calls/seteuid.S b/libc/calls/seteuid.S index b991766965c..6e6cd55473d 100644 --- a/libc/calls/seteuid.S +++ b/libc/calls/seteuid.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Sets effective user ID. -/ -/ @param %edi is user id -/ @see setuid(), getauxval(AT_SECURE) +// Sets effective user ID. +// +// @param %edi is user id +// @see setuid(), getauxval(AT_SECURE) seteuid:push %rbp mov %rsp,%rbp .profilable diff --git a/libc/calls/sigaction.c b/libc/calls/sigaction.c index 9bd9fa75ff5..fbdda585419 100644 --- a/libc/calls/sigaction.c +++ b/libc/calls/sigaction.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/assert.h" #include "libc/bits/bits.h" #include "libc/calls/calls.h" #include "libc/calls/internal.h" @@ -134,15 +135,15 @@ static void sigaction_native2cosmo(union metasigaction *sa) { * @vforksafe */ int(sigaction)(int sig, const struct sigaction *act, struct sigaction *oldact) { - _Static_assert(sizeof(struct sigaction) > sizeof(struct sigaction_linux) && - sizeof(struct sigaction) > sizeof(struct sigaction_xnu_in) && - sizeof(struct sigaction) > sizeof(struct sigaction_xnu_out) && - sizeof(struct sigaction) > sizeof(struct sigaction_freebsd) && - sizeof(struct sigaction) > sizeof(struct sigaction_openbsd) && - sizeof(struct sigaction) > sizeof(struct sigaction_netbsd)); int64_t arg4, arg5; int rc, rva, oldrva; struct sigaction *ap, copy; + assert(sizeof(struct sigaction) > sizeof(struct sigaction_linux) && + sizeof(struct sigaction) > sizeof(struct sigaction_xnu_in) && + sizeof(struct sigaction) > sizeof(struct sigaction_xnu_out) && + sizeof(struct sigaction) > sizeof(struct sigaction_freebsd) && + sizeof(struct sigaction) > sizeof(struct sigaction_openbsd) && + sizeof(struct sigaction) > sizeof(struct sigaction_netbsd)); if (IsMetal()) return enosys(); /* TODO: Signals on Metal */ if (!(0 < sig && sig < NSIG)) return einval(); if (sig == SIGKILL || sig == SIGSTOP) return einval(); diff --git a/libc/calls/sigenter.S b/libc/calls/sigenter.S index a11a27ae66b..1aa27b96bff 100644 --- a/libc/calls/sigenter.S +++ b/libc/calls/sigenter.S @@ -20,16 +20,16 @@ #include "libc/macros.h" .source __FILE__ -/ BSD signal handler. -/ -/ This is needed because (1) a signal is allowed to trigger at -/ just about any time, and leaf functions (e.g. memcpy) aren't -/ required to leave Cosmopolitan's image base register alone. -/ -/ @param %edi is the signal number -/ @param %rsi will be passed for sigactions -/ @param %rdx will be passed for sigactions -/ @return true if handler was invoked +// BSD signal handler. +// +// This is needed because (1) a signal is allowed to trigger at +// just about any time, and leaf functions (e.g. memcpy) aren't +// required to leave Cosmopolitan's image base register alone. +// +// @param %edi is the signal number +// @param %rsi will be passed for sigactions +// @param %rdx will be passed for sigactions +// @return true if handler was invoked __sigenter: push %rbp mov %rsp,%rbp diff --git a/libc/calls/struct/dirent.h b/libc/calls/struct/dirent.h index c19c825c1f0..5d45840e196 100644 --- a/libc/calls/struct/dirent.h +++ b/libc/calls/struct/dirent.h @@ -10,5 +10,8 @@ struct dirent { /* linux getdents64 abi */ char d_name[256]; /* NUL-terminated basename */ }; +struct dirstream; +typedef struct dirstream DIR; + #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_CALLS_STRUCT_DIRENT_H_ */ diff --git a/libc/calls/ttyname_r.c b/libc/calls/ttyname_r.c index ee60dba6494..49d97adf5fb 100644 --- a/libc/calls/ttyname_r.c +++ b/libc/calls/ttyname_r.c @@ -21,6 +21,7 @@ #include "libc/calls/struct/stat.h" #include "libc/dce.h" #include "libc/fmt/fmt.h" +#include "libc/fmt/itoa.h" #include "libc/log/log.h" #include "libc/nt/console.h" #include "libc/nt/enum/consolemodeflags.h" @@ -58,7 +59,7 @@ static int ttyname_linux(int fd, char *buf, size_t size) { struct stat st1, st2; if (!isatty(fd)) return errno; char name[PATH_MAX]; - snprintf(name, sizeof(name), "/proc/self/fd/%d", fd); + int64toarray_radix10(fd, stpcpy(name, "/proc/self/fd/")); ssize_t got; got = readlink(name, buf, size); if (got == -1) return errno; diff --git a/libc/calls/typedef/sighandler_t.h b/libc/calls/typedef/sighandler_t.h index 3130f190bf0..ab59767f075 100644 --- a/libc/calls/typedef/sighandler_t.h +++ b/libc/calls/typedef/sighandler_t.h @@ -4,7 +4,5 @@ typedef void (*sighandler_t)(int); -typedef void (*sighandler_t)(int); - #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_CALLS_TYPEDEF_SIGHANDLER_T_H_ */ diff --git a/libc/crt/crt.S b/libc/crt/crt.S index 8070fa82356..525b0447e74 100644 --- a/libc/crt/crt.S +++ b/libc/crt/crt.S @@ -23,11 +23,11 @@ .section .start,"ax",@progbits .align 16 -/ System Five userspace program entrypoint. -/ -/ @param rsp is [n,argv₀..argvₙ₋₁,0,envp₀..,0,auxv₀..,0,..] -/ @note FreeBSD is special (see freebsd/lib/csu/amd64/...) -/ @noreturn +// System Five userspace program entrypoint. +// +// @param rsp is [n,argv₀..argvₙ₋₁,0,envp₀..,0,auxv₀..,0,..] +// @note FreeBSD is special (see freebsd/lib/csu/amd64/...) +// @noreturn _start: #if SupportsFreebsd() test %rdi,%rdi @@ -39,12 +39,12 @@ _start: lea 8(%rsp),%rsi # argv lea 24(%rsp,%rbx,8),%rdx # envp .frame0 -/ bofram 9f - .weak idata.iat - .weak idata.iatend +// bofram 9f + .weak ape_idata_iat + .weak ape_idata_iatend ezlea missingno,ax # make win32 imps noop - ezlea idata.iat,di - ezlea idata.iatend,cx + ezlea ape_idata_iat,di + ezlea ape_idata_iatend,cx sub %rdi,%rcx shr $3,%ecx rep stosq @@ -70,11 +70,11 @@ _start: .endfn _start,weak,hidden #if SupportsXnu() -/ Macintosh userspace program entrypoint. -/ -/ @param rsp is [n,argv₀..argvₙ₋₁,0,envp₀..,0,auxv₀..,0,..] -/ @note FreeBSD is special (see freebsd/lib/csu/amd64/...) -/ @noreturn +// Macintosh userspace program entrypoint. +// +// @param rsp is [n,argv₀..argvₙ₋₁,0,envp₀..,0,auxv₀..,0,..] +// @note FreeBSD is special (see freebsd/lib/csu/amd64/...) +// @noreturn _xnu: movb $XNU,__hostos(%rip) jmp 0b .endfn _xnu,weak,hidden diff --git a/libc/dns/dnsheader.h b/libc/dns/dnsheader.h index 3674b675499..3d23bfb4db8 100644 --- a/libc/dns/dnsheader.h +++ b/libc/dns/dnsheader.h @@ -13,10 +13,8 @@ struct DnsHeader { uint16_t arcount; /* additional record count */ }; -int serializednsheader(uint8_t *buf, size_t size, - const struct DnsHeader header); -int deserializednsheader(struct DnsHeader *header, const uint8_t *buf, - size_t size); +int serializednsheader(uint8_t *, size_t, const struct DnsHeader); +int deserializednsheader(struct DnsHeader *, const uint8_t *, size_t); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/dns/gethoststxt.c b/libc/dns/gethoststxt.c index e5a15e77562..8844fa4bf92 100644 --- a/libc/dns/gethoststxt.c +++ b/libc/dns/gethoststxt.c @@ -54,7 +54,11 @@ static textwindows noinline char *getnthoststxtpath(char *pathbuf, * @note yoinking realloc() ensures there's no size limits */ const struct HostsTxt *gethoststxt(void) { - struct HostsTxtInitialStaticMemory *init = &g_hoststxt_init; + FILE *f; + const char *path; + char pathbuf[PATH_MAX]; + struct HostsTxtInitialStaticMemory *init; + init = &g_hoststxt_init; if (!g_hoststxt) { g_hoststxt = &init->ht; init->ht.entries.n = pushpop(ARRAYLEN(init->entries)); @@ -62,14 +66,12 @@ const struct HostsTxt *gethoststxt(void) { init->ht.strings.n = pushpop(ARRAYLEN(init->strings)); init->ht.strings.p = init->strings; __cxa_atexit(freehoststxt, &g_hoststxt, NULL); - char pathbuf[PATH_MAX]; - const char *path = "/etc/hosts"; + path = "/etc/hosts"; if (IsWindows()) { path = firstnonnull(getnthoststxtpath(pathbuf, ARRAYLEN(pathbuf)), path); } - FILE *f; if (!(f = fopen(path, "r")) || parsehoststxt(g_hoststxt, f) == -1) { - if (!IsTiny()) fprintf(stderr, "%s: %s: %m\n", "warning", path); + /* TODO(jart): Elevate robustness. */ } fclose(f); sorthoststxt(g_hoststxt); diff --git a/libc/dns/getresolvconf.c b/libc/dns/getresolvconf.c index 15c90edcae9..7f5dee0e3be 100644 --- a/libc/dns/getresolvconf.c +++ b/libc/dns/getresolvconf.c @@ -55,7 +55,7 @@ const struct ResolvConf *getresolvconf(void) { rc = getntnameservers(g_resolvconf); } if (rc == -1 && !IsTiny()) { - fprintf(stderr, "%s: %m\n", "nameserver discovery failed"); + /* TODO(jart): Elevate robustness. */ } } return g_resolvconf; diff --git a/libc/elf/getelfstringtable.c b/libc/elf/getelfstringtable.c index 500496f99a8..e12f4da7241 100644 --- a/libc/elf/getelfstringtable.c +++ b/libc/elf/getelfstringtable.c @@ -18,15 +18,20 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/elf/def.h" #include "libc/elf/elf.h" +#include "libc/str/str.h" char *GetElfStringTable(const Elf64_Ehdr *elf, size_t mapsize) { + char *name; Elf64_Half i; Elf64_Shdr *shdr; - for (i = elf->e_shnum; i > 0; --i) { - if (i - 1 == elf->e_shstrndx) continue; - shdr = GetElfSectionHeaderAddress(elf, mapsize, i - 1); + for (i = 0; i < elf->e_shnum; ++i) { + shdr = GetElfSectionHeaderAddress(elf, mapsize, i); if (shdr->sh_type == SHT_STRTAB) { - return GetElfSectionAddress(elf, mapsize, shdr); + name = GetElfSectionName(elf, mapsize, + GetElfSectionHeaderAddress(elf, mapsize, i)); + if (name && !strcmp(name, ".strtab")) { + return GetElfSectionAddress(elf, mapsize, shdr); + } } } return NULL; diff --git a/libc/fmt/conv.h b/libc/fmt/conv.h index 231c33638b7..ff31aaae39f 100644 --- a/libc/fmt/conv.h +++ b/libc/fmt/conv.h @@ -17,7 +17,6 @@ COSMOPOLITAN_C_START_ int abs(int) libcesque pureconst; long labs(long) libcesque pureconst; long long llabs(long long) libcesque pureconst; -char *ltpcpy(char *, long) paramsnonnull() libcesque nocallback; int llog10(unsigned long) libcesque pureconst; int atoi(const char *) paramsnonnull() libcesque; long atol(const char *) paramsnonnull() libcesque; diff --git a/libc/fmt/itoa64radix10.greg.c b/libc/fmt/itoa64radix10.greg.c index 7a735c852e6..4444e9acda3 100644 --- a/libc/fmt/itoa64radix10.greg.c +++ b/libc/fmt/itoa64radix10.greg.c @@ -26,7 +26,7 @@ * @param a needs at least 21 bytes * @return bytes written w/o nul */ -noinline size_t uint64toarray_radix10(uint64_t i, char *a) { +noinline size_t uint64toarray_radix10(uint64_t i, char a[hasatleast 21]) { size_t j; j = 0; do { @@ -43,7 +43,7 @@ noinline size_t uint64toarray_radix10(uint64_t i, char *a) { * @param a needs at least 21 bytes * @return bytes written w/o nul */ -size_t int64toarray_radix10(int64_t i, char *a) { +size_t int64toarray_radix10(int64_t i, char a[hasatleast 21]) { if (i >= 0) return uint64toarray_radix10(i, a); *a++ = '-'; return 1 + uint64toarray_radix10(-i, a); diff --git a/libc/fmt/ltpcpy.c b/libc/fmt/ltpcpy.c deleted file mode 100644 index f929874a2cb..00000000000 --- a/libc/fmt/ltpcpy.c +++ /dev/null @@ -1,31 +0,0 @@ -/*-*- mode:c; indent-tabs-mode:nil; tab-width:2; coding:utf-8 -*-│ -│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ -╞══════════════════════════════════════════════════════════════════════════════╡ -│ Copyright 2020 Justine Alexandra Roberts Tunney │ -│ │ -│ Permission to use, copy, modify, and/or distribute this software for │ -│ any purpose with or without fee is hereby granted, provided that the │ -│ above copyright notice and this permission notice appear in all copies. │ -│ │ -│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ -│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ -│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ -│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ -│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ -│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ -│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ -│ PERFORMANCE OF THIS SOFTWARE. │ -╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/bits/bits.h" -#include "libc/fmt/conv.h" - -char *ltpcpy(char *dst, long x) { - unsigned len = llog10(abs(x)) + 1; - if (x < 0) *dst++ = '-'; - unsigned i = len; - do { - dst[--i] = '0' + x % 10; - x /= 10; - } while (i); - return dst + len; -} diff --git a/libc/fmt/palandprintf.c b/libc/fmt/palandprintf.c index 2a5383a0d67..de93e235fda 100644 --- a/libc/fmt/palandprintf.c +++ b/libc/fmt/palandprintf.c @@ -129,7 +129,7 @@ hidden int palandprintf(void *fn, void *arg, const char *format, va_list va) { int w, flags, width, lasterr, precision; lasterr = errno; - out = fn ? fn : (int (*)(int, void *))missingno; + out = fn ? fn : (void *)missingno; while (*format) { /* %[flags][width][.precision][length] */ @@ -267,9 +267,8 @@ hidden int palandprintf(void *fn, void *arg, const char *format, va_list va) { case 'u': { flags &= ~FLAGS_HASH; /* no hash for dec format */ DoNumber: - if (!weaken(ntoa) || - weaken(ntoa)(out, arg, va, signbit, log2base, precision, width, - flags, alphabet) == -1) { + if (ntoa(out, arg, va, signbit, log2base, precision, width, flags, + alphabet) == -1) { return -1; } break; @@ -282,8 +281,7 @@ hidden int palandprintf(void *fn, void *arg, const char *format, va_list va) { } else { ldbl = va_arg(va, double); } - if (!weaken(ftoa) || - weaken(ftoa)(out, arg, ldbl, precision, width, flags) == -1) { + if (ftoa(out, arg, ldbl, precision, width, flags) == -1) { return -1; } break; @@ -312,8 +310,7 @@ hidden int palandprintf(void *fn, void *arg, const char *format, va_list va) { case 's': p = va_arg(va, void *); showstr: - if (!weaken(stoa) || weaken(stoa)(out, arg, p, flags, precision, width, - signbit, qchar) == -1) { + if (stoa(out, arg, p, flags, precision, width, signbit, qchar) == -1) { return -1; } break; diff --git a/libc/fmt/pflink.h b/libc/fmt/pflink.h index 24bf352160b..e75e15069ed 100644 --- a/libc/fmt/pflink.h +++ b/libc/fmt/pflink.h @@ -17,22 +17,19 @@ * format strings are constexprs that only contain directives. */ -#define PFLINK(FMT) \ - ({ \ - if (___PFLINK(FMT, strpbrk, "bxdinupo")) STATIC_YOINK("ntoa"); \ - if (___PFLINK(FMT, strpbrk, "fFgGaA")) STATIC_YOINK("ftoa"); \ - if (___PFLINK(FMT, strpbrk, "cmrqs")) { \ - STATIC_YOINK("stoa"); \ - if (___PFLINK(FMT, strchr, '#')) STATIC_YOINK("kCp437"); \ - if (___PFLINK(FMT, strstr, "%m")) STATIC_YOINK("strerror"); \ - if (!IsTiny() && (___PFLINK(FMT, strstr, "%*") || \ - ___PFLINK(FMT, strpbrk, "0123456789"))) { \ - STATIC_YOINK("strnwidth"); \ - STATIC_YOINK("strnwidth16"); \ - STATIC_YOINK("wcsnwidth"); \ - } \ - } \ - FMT; \ +#define PFLINK(FMT) \ + ({ \ + if (___PFLINK(FMT, strpbrk, "cmrqs")) { \ + if (___PFLINK(FMT, strchr, '#')) STATIC_YOINK("kCp437"); \ + if (___PFLINK(FMT, strstr, "%m")) STATIC_YOINK("strerror"); \ + if (!IsTiny() && (___PFLINK(FMT, strstr, "%*") || \ + ___PFLINK(FMT, strpbrk, "0123456789"))) { \ + STATIC_YOINK("strnwidth"); \ + STATIC_YOINK("strnwidth16"); \ + STATIC_YOINK("wcsnwidth"); \ + } \ + } \ + FMT; \ }) #define SFLINK(FMT) \ @@ -40,7 +37,7 @@ if (___PFLINK(FMT, strchr, 'm')) { \ STATIC_YOINK("malloc"); \ STATIC_YOINK("calloc"); \ - STATIC_YOINK("free_s"); \ + STATIC_YOINK("free"); \ STATIC_YOINK("__grow"); \ } \ FMT; \ @@ -70,8 +67,6 @@ #define SFLINK(FMT) FMT #ifdef __GNUC__ __asm__(".section .yoink\n\t" - "nopl\tntoa(%rip)\n\t" - "nopl\tftoa(%rip)\n\t" "nopl\tkCp437(%rip)\n\t" "nopl\tstrerror(%rip)\n\t" "nopl\tstrnwidth(%rip)\n\t" @@ -79,14 +74,11 @@ __asm__(".section .yoink\n\t" "nopl\twcsnwidth(%rip)\n\t" "nopl\tmalloc(%rip)\n\t" "nopl\tcalloc(%rip)\n\t" - "nopl\tfree_s(%rip)\n\t" "nopl\t__grow(%rip)\n\t" ".previous"); #else static long __pflink(long x) { x |= kCp437[0]; - x |= ntoa(0, 0, 0, 0, 0, 0, 0, 0, 0); - x |= ftoa(0, 0, 0, 0, 0, 0); x |= strnwidth(0, 0, 0); x |= strnwidth16(0, 0, 0); x |= wcsnwidth(0, 0, 0); @@ -94,7 +86,6 @@ static long __pflink(long x) { x |= __grow(0, 0, 0, 0); x |= (intptr_t)strerror(0); x |= (intptr_t)calloc(0, 0); - free_s(0); return x; } #endif diff --git a/libc/fmt/strerror_r.c b/libc/fmt/strerror_r.c index 94bd80c3c48..8a5ca7e8a2c 100644 --- a/libc/fmt/strerror_r.c +++ b/libc/fmt/strerror_r.c @@ -26,6 +26,9 @@ #include "libc/nt/runtime.h" #include "libc/str/str.h" +STATIC_YOINK("ntoa"); +STATIC_YOINK("stoa"); + STATIC_YOINK("E2BIG"); STATIC_YOINK("EACCES"); STATIC_YOINK("EADDRINUSE"); @@ -321,7 +324,7 @@ int strerror_r(int err, char *buf, size_t size) { s = firstnonnull(geterrname(err), "?"); } if (!SupportsWindows()) { - snprintf(buf, size, "E%s[%d]", s, err); + (snprintf)(buf, size, "E%s[%d]", s, err); } else { winstate = GetLastError(); sysvstate = errno; @@ -332,8 +335,8 @@ int strerror_r(int err, char *buf, size_t size) { } else { buf16[0] = u'\0'; } - snprintf(buf, size, "E%s/err=%d/errno:%d/GetLastError:%d%s%hs", s, err, - sysvstate, winstate, buf16[0] ? " " : "", buf16); + (snprintf)(buf, size, "E%s/err=%d/errno:%d/GetLastError:%d%s%hs", s, err, + sysvstate, winstate, buf16[0] ? " " : "", buf16); } return 0; } diff --git a/libc/fmt/vcscanf.c b/libc/fmt/vcscanf.c index a2a5dfdcb62..bc4b1957238 100644 --- a/libc/fmt/vcscanf.c +++ b/libc/fmt/vcscanf.c @@ -286,13 +286,11 @@ int vcscanf(int callback(void *), int unget(int, void *), void *arg, } } Done: - while (freeme) { + while (freeme && weaken(free)) { struct FreeMe *entry = freeme; freeme = entry->next; - if (items == -1) { - weaken(free_s)((void **)&entry->ptr); - } - weaken(free_s)((void **)&entry); + if (items == -1) weaken(free)(entry->ptr); + weaken(free)(entry); } return items; } diff --git a/libc/integral/c.inc b/libc/integral/c.inc index cb520b9437a..bee13042af9 100644 --- a/libc/integral/c.inc +++ b/libc/integral/c.inc @@ -67,22 +67,6 @@ } while (0) #endif -#if __STDC_VERSION__ + 0 < 201112 -#define ____Static_assert(x, y) A##B -#define ___Static_assert(x, y) ____Static_assert(x, y) -#ifndef __cplusplus /* todo jart what */ -#define __Static_assert(x) __builtin_choose_expr(__builtin_constant_p(x), x, 1) -#else -#define __Static_assert(x) (x) -#endif -#define _Static_assert(x, s) /* clang-format off */ do { \ - __builtin_assume(x); \ - enum { ___Static_assert(_Assert, __COUNTER__) = \ - 1 / !!__Static_assert(x) \ - } /*_Unused*/; /* clang-format on */ \ - } while (0) -#endif - #if __STDC_VERSION__ + 0 < 201112 && defined(__x86__) #define _Atomic(TYPE) TYPE #endif @@ -652,7 +636,7 @@ typedef uint64_t uintmax_t; #endif #ifndef _Section -#ifndef __STRICT_ANSI__ +#if !defined(__STRICT_ANSI__) && !defined(__APPLE__) #define _Section(s) __attribute__((__section__(s))) #else #define _Section(s) @@ -667,16 +651,17 @@ typedef uint64_t uintmax_t; #ifndef __STRICT_ANSI__ #if defined(__GNUC__) || defined(__llvm__) -#pragma GCC diagnostic ignored "-Wsign-compare" /* lint needs to change */ -#pragma GCC diagnostic ignored "-Wtype-limits" /* makes macros unsafe */ -#pragma GCC diagnostic ignored "-Woverflow" /* also breaks macros */ -#pragma GCC diagnostic ignored "-Wformat" /* forces only gnu pf */ -#pragma GCC diagnostic ignored "-Wunused-parameter" /* extreme prejudice */ -#pragma GCC diagnostic ignored "-Wunused-function" /* contradicts dce! */ -#pragma GCC diagnostic ignored "-Wunused-variable" /* belongs in tidy */ +#pragma GCC diagnostic ignored "-Wsign-compare" /* lint needs to change */ +#pragma GCC diagnostic ignored "-Wtype-limits" /* makes macros unsafe */ +#pragma GCC diagnostic ignored "-Woverflow" /* also breaks macros */ +#pragma GCC diagnostic ignored "-Wformat" /* forces only gnu pf */ +#pragma GCC diagnostic ignored "-Wunused-parameter" /* extreme prejudice */ +#pragma GCC diagnostic ignored "-Wunused-function" /* contradicts dce! */ +#pragma GCC diagnostic ignored "-Wunused-variable" /* belongs in tidy */ #pragma GCC diagnostic ignored "-Wformat-extra-args" /* is also broken */ -#pragma GCC diagnostic ignored "-Wparentheses" /* annoying tidy */ -#pragma GCC diagnostic ignored "-Wdangling-else" /* come on tidy */ +#pragma GCC diagnostic ignored "-Wparentheses" /* annoying tidy */ +#pragma GCC diagnostic ignored "-Wdangling-else" /* come on tidy */ +#pragma GCC diagnostic ignored "-Wformat-security" /* come on tidy */ #ifndef __cplusplus #pragma GCC diagnostic ignored "-Wimplicit-int" #endif /* C++ */ @@ -704,8 +689,8 @@ typedef uint64_t uintmax_t; "-Wincompatible-pointer-types-discards-qualifiers" #pragma clang diagnostic ignored "-Wbuiltin-requires-header" #pragma clang diagnostic ignored "-Wparentheses-equality" /*-save-temps*/ -#pragma clang diagnostic ignored "-Wunused-value" /*({-save-temps})*/ -#pragma clang diagnostic ignored "-Wstring-plus-int" /* special ed */ +#pragma clang diagnostic ignored "-Wunused-value" /*({-save-temps})*/ +#pragma clang diagnostic ignored "-Wstring-plus-int" /* special ed */ #pragma clang diagnostic ignored "-Wunused-value" /* extreme prejudice */ #pragma clang diagnostic ignored "-Wbuiltin-requires-header" #pragma clang diagnostic ignored \ @@ -797,22 +782,14 @@ typedef uint64_t uintmax_t; #define EXPROPRIATE(EXPRESSION) (EXPRESSION) #endif -#ifndef __STRICT_ANSI__ -#define YOINK(SYMBOL) \ - do { \ - _Static_assert(!__builtin_types_compatible_p(typeof(SYMBOL), char[]), \ - "Please YOINK(symbol), not YOINK(\"symbol\")"); \ - asm(".section .yoink\n\t" \ - "nop\t%a0\n\t" \ - ".previous" \ - : /* no outputs */ \ - : "X"(SYMBOL)); \ - } while (0) +#if !defined(__STRICT_ANSI__) && !defined(__APPLE__) +#define YOINK(SYMBOL) \ + asm(".section .yoink\n\tnopl\t%a0\n\t.previous" : : "X"(SYMBOL)) #else #define YOINK(SYMBOL) (void)0 #endif -#ifndef __STRICT_ANSI__ +#if !defined(__STRICT_ANSI__) && !defined(__APPLE__) #define STATIC_YOINK(SYMBOLSTR) \ asm(".section .yoink\n\tnopl\t\"" SYMBOLSTR "\"\n\t.previous") #else diff --git a/libc/intrin/addvdi3.S b/libc/intrin/addvdi3.S index 8b3cc84b77f..72c0ceb7a7c 100644 --- a/libc/intrin/addvdi3.S +++ b/libc/intrin/addvdi3.S @@ -21,12 +21,12 @@ .privileged .alignfunc -/ Returns 𝑥+𝑦, aborting on overflow. -/ -/ @param rdi is int64 𝑥 -/ @param rsi is int64 𝑦 -/ @return rax is 𝑥+𝑦 -/ @see -ftrapv +// Returns 𝑥+𝑦, aborting on overflow. +// +// @param rdi is int64 𝑥 +// @param rsi is int64 𝑦 +// @return rax is 𝑥+𝑦 +// @see -ftrapv __addvdi3: mov %rdi,%rax add %rsi,%rax diff --git a/libc/intrin/addvsi3.S b/libc/intrin/addvsi3.S index 3d412bfb224..2902a280e5a 100644 --- a/libc/intrin/addvsi3.S +++ b/libc/intrin/addvsi3.S @@ -21,12 +21,12 @@ .privileged .alignfunc -/ Returns 𝑥+𝑦, aborting on overflow. -/ -/ @param edi is int32 𝑥 -/ @param esi is int32 𝑦 -/ @return eax is 𝑥+𝑦 -/ @see -ftrapv +// Returns 𝑥+𝑦, aborting on overflow. +// +// @param edi is int32 𝑥 +// @param esi is int32 𝑦 +// @return eax is 𝑥+𝑦 +// @see -ftrapv __addvsi3: mov %edi,%eax add %esi,%eax diff --git a/libc/intrin/addvti3.S b/libc/intrin/addvti3.S index 122271a885c..bfa28fddc40 100644 --- a/libc/intrin/addvti3.S +++ b/libc/intrin/addvti3.S @@ -21,12 +21,12 @@ .privileged .alignfunc -/ Returns 𝑥+𝑦, aborting on overflow. -/ -/ @param rdi:rsi is int128 𝑥 -/ @param rdx:rcx is int128 𝑦 -/ @return rdx:rax is 𝑥+𝑦 -/ @see -ftrapv +// Returns 𝑥+𝑦, aborting on overflow. +// +// @param rdi:rsi is int128 𝑥 +// @param rdx:rcx is int128 𝑦 +// @return rdx:rax is 𝑥+𝑦 +// @see -ftrapv __addvti3: mov %rdi,%rax add %rdx,%rax diff --git a/libc/intrin/mpsadbws.S b/libc/intrin/mpsadbws.S index 9dbd1d7444a..2957f0bcc6f 100644 --- a/libc/intrin/mpsadbws.S +++ b/libc/intrin/mpsadbws.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Jump table for mpsadbw() with non-constexpr immediate parameter. -/ -/ @note needs sse4 cf. core c. 2006 cf. bulldozer c. 2011 -/ @see mpsadbw() +// Jump table for mpsadbw() with non-constexpr immediate parameter. +// +// @note needs sse4 cf. core c. 2006 cf. bulldozer c. 2011 +// @see mpsadbw() .align 8 __mpsadbws: i = 0 diff --git a/libc/intrin/mulvdi3.S b/libc/intrin/mulvdi3.S index bfb35ec0f18..7e7a8ee2689 100644 --- a/libc/intrin/mulvdi3.S +++ b/libc/intrin/mulvdi3.S @@ -21,12 +21,12 @@ .privileged .alignfunc -/ Returns 𝑥*𝑦, aborting on overflow. -/ -/ @param rdi is int64 𝑥 -/ @param rdi is int64 𝑦 -/ @return rax is 𝑥*𝑦 -/ @see -ftrapv +// Returns 𝑥*𝑦, aborting on overflow. +// +// @param rdi is int64 𝑥 +// @param rdi is int64 𝑦 +// @return rax is 𝑥*𝑦 +// @see -ftrapv __mulvdi3: mov %rdi,%rax imul %rsi diff --git a/libc/intrin/mulvsi3.S b/libc/intrin/mulvsi3.S index c3ea9bf85c6..cae1e681db3 100644 --- a/libc/intrin/mulvsi3.S +++ b/libc/intrin/mulvsi3.S @@ -21,12 +21,12 @@ .privileged .alignfunc -/ Returns 𝑥*𝑦, aborting on overflow. -/ -/ @param edi is int32 𝑥 -/ @param esi is int32 𝑦 -/ @return eax is 𝑥*𝑦 -/ @see -ftrapv +// Returns 𝑥*𝑦, aborting on overflow. +// +// @param edi is int32 𝑥 +// @param esi is int32 𝑦 +// @return eax is 𝑥*𝑦 +// @see -ftrapv __mulvsi3: mov %edi,%eax imul %esi diff --git a/libc/intrin/mulvti3.S b/libc/intrin/mulvti3.S index 0132a80f5eb..c41ffe730e8 100644 --- a/libc/intrin/mulvti3.S +++ b/libc/intrin/mulvti3.S @@ -21,12 +21,12 @@ .privileged .alignfunc -/ Returns 𝑥*𝑦, aborting on overflow. -/ -/ @param rdi:rsi is int128 𝑥 -/ @param rdx:rcx is int128 𝑦 -/ @return rdx:rax is 𝑥*𝑦 -/ @see -ftrapv +// Returns 𝑥*𝑦, aborting on overflow. +// +// @param rdi:rsi is int128 𝑥 +// @param rdx:rcx is int128 𝑦 +// @return rdx:rax is 𝑥*𝑦 +// @see -ftrapv __mulvti3: push %rbp mov %rsp,%rbp diff --git a/libc/intrin/negvdi2.S b/libc/intrin/negvdi2.S index 1c0a8aaaf1a..3ffb289bb8f 100644 --- a/libc/intrin/negvdi2.S +++ b/libc/intrin/negvdi2.S @@ -21,11 +21,11 @@ .privileged .alignfunc -/ Returns -𝑥, aborting on overflow (two's complement bane). -/ -/ @param rdi is int64 𝑥 -/ @return rax is -𝑥 -/ @see -ftrapv +// Returns -𝑥, aborting on overflow (two's complement bane). +// +// @param rdi is int64 𝑥 +// @return rax is -𝑥 +// @see -ftrapv __negvdi2: mov %rdi,%rax neg %rax diff --git a/libc/intrin/negvsi2.S b/libc/intrin/negvsi2.S index 639bbfe8aa0..b783398d40b 100644 --- a/libc/intrin/negvsi2.S +++ b/libc/intrin/negvsi2.S @@ -21,11 +21,11 @@ .privileged .alignfunc -/ Returns -𝑥, aborting on overflow (two's complement bane). -/ -/ @param edi is int32 𝑥 -/ @return eax is -𝑥 -/ @see -ftrapv +// Returns -𝑥, aborting on overflow (two's complement bane). +// +// @param edi is int32 𝑥 +// @return eax is -𝑥 +// @see -ftrapv __negvsi2: mov %edi,%eax neg %eax diff --git a/libc/intrin/negvti2.S b/libc/intrin/negvti2.S index 2fda2cd4cce..73ff8b0e17a 100644 --- a/libc/intrin/negvti2.S +++ b/libc/intrin/negvti2.S @@ -21,11 +21,11 @@ .privileged .alignfunc -/ Returns -𝑥, aborting on overflow. -/ -/ @param rdi:rsi is int128 𝑥 -/ @return rdx:rax is -𝑥 -/ @see -ftrapv +// Returns -𝑥, aborting on overflow. +// +// @param rdi:rsi is int128 𝑥 +// @return rdx:rax is -𝑥 +// @see -ftrapv __negvti2: mov %rdi,%rax mov %rsi,%rdx diff --git a/libc/intrin/onarithmeticoverflow.S b/libc/intrin/onarithmeticoverflow.S index 0f7ad2743fb..04c88004b84 100644 --- a/libc/intrin/onarithmeticoverflow.S +++ b/libc/intrin/onarithmeticoverflow.S @@ -20,8 +20,8 @@ .privileged .source __FILE__ -/ Arithmetic overflow handler. -/ @see -ftrapv +// Arithmetic overflow handler. +// @see -ftrapv __on_arithmetic_overflow: push %rbp mov %rsp,%rbp diff --git a/libc/intrin/palignrs.S b/libc/intrin/palignrs.S index a43f6f41d57..b33d55942d1 100644 --- a/libc/intrin/palignrs.S +++ b/libc/intrin/palignrs.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Jump table for palignr() with non-constexpr immediate parameter. -/ -/ @note needs ssse3 cf. prescott c. 2004 cf. bulldozer c. 2011 -/ @see palignr() +// Jump table for palignr() with non-constexpr immediate parameter. +// +// @note needs ssse3 cf. prescott c. 2004 cf. bulldozer c. 2011 +// @see palignr() .align 8 __palignrs: palignr $0,%xmm1,%xmm0 diff --git a/libc/intrin/pslldqs.S b/libc/intrin/pslldqs.S index 4655c0a350c..5c5302a7f24 100644 --- a/libc/intrin/pslldqs.S +++ b/libc/intrin/pslldqs.S @@ -18,7 +18,7 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Jump table for pslldq() with non-constexpr immediate parameter. +// Jump table for pslldq() with non-constexpr immediate parameter. .align 8 __pslldqs: pslldq $0,%xmm0 diff --git a/libc/intrin/psrldqs.S b/libc/intrin/psrldqs.S index 6e63fdf136c..9dbae8ee3a1 100644 --- a/libc/intrin/psrldqs.S +++ b/libc/intrin/psrldqs.S @@ -18,7 +18,7 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Jump table for psrldq() with non-constexpr immediate parameter. +// Jump table for psrldq() with non-constexpr immediate parameter. .align 8 __psrldqs: psrldq $0,%xmm0 diff --git a/libc/intrin/somanyasan.S b/libc/intrin/somanyasan.S index a5d67e24629..ec11d43663a 100644 --- a/libc/intrin/somanyasan.S +++ b/libc/intrin/somanyasan.S @@ -53,11 +53,11 @@ __asan_report_load16: .endfn __asan_report_load16,globl __asan_report_load32: push $32 -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn __asan_report_load32,globl OnReportLoad: pop %rsi -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn OnReportLoad __asan_report_load_n: lea __asan_report_load(%rip),%r11 @@ -86,15 +86,15 @@ __asan_report_store16: .endfn __asan_report_store16,globl __asan_report_store32: push $32 -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn __asan_report_store32,globl ReportStore: pop %rsi -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn ReportStore __asan_report_store_n: lea __asan_report_store(%rip),%r11 -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn __asan_report_store_n,globl __asan_report_noreentry: @@ -152,7 +152,7 @@ __asan_stack_free_9: .endfn __asan_stack_free_9,globl __asan_stack_free_10: push $10 -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn __asan_stack_free_10,globl OnStackFree: pop %rdx @@ -201,7 +201,7 @@ __asan_stack_malloc_9: .endfn __asan_stack_malloc_9,globl __asan_stack_malloc_10: push $10 -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn __asan_stack_malloc_10,globl OnStackMalloc: pop %rsi @@ -212,7 +212,7 @@ __asan_version_mismatch_check_v8: ret .endfn __asan_version_mismatch_check_v8,globl -/ Initializes Address Sanitizer runtime earlier if linked. +// Initializes Address Sanitizer runtime earlier if linked. .init.start 301,_init_asan push %rdi push %rsi diff --git a/libc/intrin/subvdi3.S b/libc/intrin/subvdi3.S index a881dc4bea4..53b464b41f7 100644 --- a/libc/intrin/subvdi3.S +++ b/libc/intrin/subvdi3.S @@ -21,12 +21,12 @@ .privileged .alignfunc -/ Returns 𝑥-𝑦, aborting on overflow. -/ -/ @param rdi is int64 𝑥 -/ @param rsi is int64 𝑦 -/ @return rax is 𝑥-𝑦 -/ @see -ftrapv +// Returns 𝑥-𝑦, aborting on overflow. +// +// @param rdi is int64 𝑥 +// @param rsi is int64 𝑦 +// @return rax is 𝑥-𝑦 +// @see -ftrapv __subvdi3: mov %rdi,%rax sub %rsi,%rax diff --git a/libc/intrin/subvsi3.S b/libc/intrin/subvsi3.S index 3455ea8a3db..8fb2a1877ca 100644 --- a/libc/intrin/subvsi3.S +++ b/libc/intrin/subvsi3.S @@ -21,11 +21,11 @@ .privileged .alignfunc -/ Returns 𝑥-𝑦, aborting on overflow. -/ -/ @param edi is int32 𝑥 -/ @param esi is int32 𝑦 -/ @see -ftrapv +// Returns 𝑥-𝑦, aborting on overflow. +// +// @param edi is int32 𝑥 +// @param esi is int32 𝑦 +// @see -ftrapv __subvsi3: mov %edi,%eax sub %esi,%eax diff --git a/libc/intrin/subvti3.S b/libc/intrin/subvti3.S index d920d645539..a85330cb480 100644 --- a/libc/intrin/subvti3.S +++ b/libc/intrin/subvti3.S @@ -21,12 +21,12 @@ .privileged .alignfunc -/ Returns 𝑥-𝑦, aborting on overflow. -/ -/ @param rdi:rsi is int128 𝑥 -/ @param rdx:rcx is int128 𝑦 -/ @return rdx:rax is 𝑥-𝑦 -/ @see -ftrapv +// Returns 𝑥-𝑦, aborting on overflow. +// +// @param rdi:rsi is int128 𝑥 +// @param rdx:rcx is int128 𝑦 +// @return rdx:rax is 𝑥-𝑦 +// @see -ftrapv __subvti3: mov %rdi,%rax sub %rdx,%rax diff --git a/libc/log/log.h b/libc/log/log.h index 48424363e26..de79742ed59 100644 --- a/libc/log/log.h +++ b/libc/log/log.h @@ -1,15 +1,18 @@ #ifndef COSMOPOLITAN_LIBC_LOG_LOG_H_ #define COSMOPOLITAN_LIBC_LOG_LOG_H_ +#include "libc/calls/struct/sigset.h" +#include "libc/calls/struct/winsize.h" +#include "libc/stdio/stdio.h" /*───────────────────────────────────────────────────────────────────────────│─╗ │ cosmopolitan § liblog ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ -#define kLogFatal 0u -#define kLogError 1u -#define kLogWarn 2u -#define kLogInfo 3u -#define kLogVerbose 4u -#define kLogDebug 5u +#define kLogFatal 0 +#define kLogError 1 +#define kLogWarn 2 +#define kLogInfo 3 +#define kLogVerbose 4 +#define kLogDebug 5 /** * Log level for compile-time DCE. @@ -27,10 +30,6 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -struct sigset; -struct winsize; -typedef struct FILE FILE; - extern FILE *g_logfile; void perror(const char *) relegated; /* print the last system error */ diff --git a/libc/log/oncrashthunks.S b/libc/log/oncrashthunks.S index ed95004839f..6f0fad31a81 100644 --- a/libc/log/oncrashthunks.S +++ b/libc/log/oncrashthunks.S @@ -19,9 +19,9 @@ #include "libc/macros.h" .source __FILE__ -/ These function names make it a bit more obvious which signal -/ caused the crash, particularly in the GDB GUI. They're coded -/ into an array to pinch pennies on code size registering them. +// These function names make it a bit more obvious which signal +// caused the crash, particularly in the GDB GUI. They're coded +// into an array to pinch pennies on code size registering them. __oncrash_thunks: diff --git a/libc/log/somanyubsan.S b/libc/log/somanyubsan.S index ed3b940a45a..d2b0b49426e 100644 --- a/libc/log/somanyubsan.S +++ b/libc/log/somanyubsan.S @@ -49,7 +49,7 @@ __ubsan_handle_type_mismatch_v1_abort: __ubsan_handle_add_overflow_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_add_overflow_abort,globl __ubsan_handle_add_overflow: loadstr "add_overflow",si @@ -58,7 +58,7 @@ __ubsan_handle_add_overflow: __ubsan_handle_alignment_assumption_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_alignment_assumption_abort,globl __ubsan_handle_alignment_assumption: loadstr "alignment_assumption",si @@ -67,7 +67,7 @@ __ubsan_handle_alignment_assumption: __ubsan_handle_builtin_unreachable_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_builtin_unreachable_abort,globl __ubsan_handle_builtin_unreachable: loadstr "builtin_unreachable",si @@ -76,7 +76,7 @@ __ubsan_handle_builtin_unreachable: __ubsan_handle_cfi_bad_type_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_cfi_bad_type_abort,globl __ubsan_handle_cfi_bad_type: loadstr "cfi_bad_type",si @@ -85,7 +85,7 @@ __ubsan_handle_cfi_bad_type: __ubsan_handle_cfi_check_fail_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_cfi_check_fail_abort,globl __ubsan_handle_cfi_check_fail: loadstr "cfi_check_fail",si @@ -94,7 +94,7 @@ __ubsan_handle_cfi_check_fail: __ubsan_handle_divrem_overflow_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_divrem_overflow_abort,globl __ubsan_handle_divrem_overflow: loadstr "divrem_overflow",si @@ -103,7 +103,7 @@ __ubsan_handle_divrem_overflow: __ubsan_handle_dynamic_type_cache_miss_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_dynamic_type_cache_miss_abort,globl __ubsan_handle_dynamic_type_cache_miss: loadstr "dynamic_type_cache_miss",si @@ -112,7 +112,7 @@ __ubsan_handle_dynamic_type_cache_miss: __ubsan_handle_function_type_mismatch_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_function_type_mismatch_abort,globl __ubsan_handle_function_type_mismatch: loadstr "function_type_mismatch",si @@ -121,7 +121,7 @@ __ubsan_handle_function_type_mismatch: __ubsan_handle_implicit_conversion_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_implicit_conversion_abort,globl __ubsan_handle_implicit_conversion: loadstr "implicit_conversion",si @@ -130,7 +130,7 @@ __ubsan_handle_implicit_conversion: __ubsan_handle_invalid_builtin_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_invalid_builtin_abort,globl __ubsan_handle_invalid_builtin: loadstr "invalid_builtin",si @@ -139,7 +139,7 @@ __ubsan_handle_invalid_builtin: __ubsan_handle_load_invalid_value_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_load_invalid_value_abort,globl __ubsan_handle_load_invalid_value: loadstr "load_invalid_value (try checking for uninitialized variables)",si @@ -148,7 +148,7 @@ __ubsan_handle_load_invalid_value: __ubsan_handle_missing_return_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_missing_return_abort,globl __ubsan_handle_missing_return: loadstr "missing_return",si @@ -157,7 +157,7 @@ __ubsan_handle_missing_return: __ubsan_handle_mul_overflow_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_mul_overflow_abort,globl __ubsan_handle_mul_overflow: loadstr "mul_overflow",si @@ -166,7 +166,7 @@ __ubsan_handle_mul_overflow: __ubsan_handle_negate_overflow_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_negate_overflow_abort,globl __ubsan_handle_negate_overflow: loadstr "negate_overflow",si @@ -175,7 +175,7 @@ __ubsan_handle_negate_overflow: __ubsan_handle_nonnull_arg_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_nonnull_arg_abort,globl __ubsan_handle_nonnull_arg: loadstr "nonnull_arg",si @@ -184,7 +184,7 @@ __ubsan_handle_nonnull_arg: __ubsan_handle_nonnull_return_v1_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_nonnull_return_v1_abort,globl __ubsan_handle_nonnull_return_v1: loadstr "nonnull_return_v1",si @@ -197,7 +197,7 @@ __ubsan_hop: __ubsan_handle_nullability_arg_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_nullability_arg_abort,globl __ubsan_handle_nullability_arg: loadstr "nullability_arg",si @@ -206,7 +206,7 @@ __ubsan_handle_nullability_arg: __ubsan_handle_nullability_return_v1_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_nullability_return_v1_abort,globl __ubsan_handle_nullability_return_v1: loadstr "nullability_return_v1",si @@ -215,7 +215,7 @@ __ubsan_handle_nullability_return_v1: __ubsan_handle_pointer_overflow_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_pointer_overflow_abort,globl __ubsan_handle_pointer_overflow: loadstr "pointer_overflow",si @@ -224,7 +224,7 @@ __ubsan_handle_pointer_overflow: __ubsan_handle_shift_out_of_bounds_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_shift_out_of_bounds_abort,globl __ubsan_handle_shift_out_of_bounds: loadstr "shift_out_of_bounds",si @@ -233,7 +233,7 @@ __ubsan_handle_shift_out_of_bounds: __ubsan_handle_sub_overflow_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_sub_overflow_abort,globl __ubsan_handle_sub_overflow: loadstr "sub_overflow",si @@ -242,7 +242,7 @@ __ubsan_handle_sub_overflow: __ubsan_handle_vla_bound_not_positive_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_vla_bound_not_positive_abort,globl __ubsan_handle_vla_bound_not_positive: loadstr "vla_bound_not_positive",si @@ -251,7 +251,7 @@ __ubsan_handle_vla_bound_not_positive: __ubsan_handle_nonnull_return_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_nonnull_return_abort,globl __ubsan_handle_nonnull_return: loadstr "nonnull_return",si diff --git a/libc/log/thunks/__check_fail_eq.S b/libc/log/thunks/__check_fail_eq.S index 81449267d07..9c7e2bde227 100644 --- a/libc/log/thunks/__check_fail_eq.S +++ b/libc/log/thunks/__check_fail_eq.S @@ -20,7 +20,7 @@ .text.unlikely .source __FILE__ -/ Code-size saving thunk for CHECK_EQ() in NDEBUG mode. +// Code-size saving thunk for CHECK_EQ() in NDEBUG mode. __check_fail_eq: loadstr "==",dx jmp __check_fail_ndebug diff --git a/libc/log/thunks/__check_fail_ge.S b/libc/log/thunks/__check_fail_ge.S index 3eb29c53e78..14078b8995e 100644 --- a/libc/log/thunks/__check_fail_ge.S +++ b/libc/log/thunks/__check_fail_ge.S @@ -20,7 +20,7 @@ .text.unlikely .source __FILE__ -/ Code-size saving thunk for CHECK_GE() in NDEBUG mode. +// Code-size saving thunk for CHECK_GE() in NDEBUG mode. __check_fail_ge: loadstr ">=",dx jmp __check_fail_ndebug diff --git a/libc/log/thunks/__check_fail_gt.S b/libc/log/thunks/__check_fail_gt.S index 94532143eb3..2ad94b3f9e6 100644 --- a/libc/log/thunks/__check_fail_gt.S +++ b/libc/log/thunks/__check_fail_gt.S @@ -20,7 +20,7 @@ .text.unlikely .source __FILE__ -/ Code-size saving thunk for CHECK_GT() in NDEBUG mode. +// Code-size saving thunk for CHECK_GT() in NDEBUG mode. __check_fail_gt: loadstr ">",dx jmp __check_fail_ndebug diff --git a/libc/log/thunks/__check_fail_le.S b/libc/log/thunks/__check_fail_le.S index ea9282b1bab..55d62611a33 100644 --- a/libc/log/thunks/__check_fail_le.S +++ b/libc/log/thunks/__check_fail_le.S @@ -20,7 +20,7 @@ .text.unlikely .source __FILE__ -/ Code-size saving thunk for CHECK_LE() in NDEBUG mode. +// Code-size saving thunk for CHECK_LE() in NDEBUG mode. __check_fail_le: loadstr "<=",dx jmp __check_fail_ndebug diff --git a/libc/log/thunks/__check_fail_lt.S b/libc/log/thunks/__check_fail_lt.S index 6fad81df814..6060b8ed48e 100644 --- a/libc/log/thunks/__check_fail_lt.S +++ b/libc/log/thunks/__check_fail_lt.S @@ -20,7 +20,7 @@ .text.unlikely .source __FILE__ -/ Code-size saving thunk for CHECK_LT() in NDEBUG mode. +// Code-size saving thunk for CHECK_LT() in NDEBUG mode. __check_fail_lt: loadstr "<",dx jmp __check_fail_ndebug diff --git a/libc/log/thunks/__check_fail_ne.S b/libc/log/thunks/__check_fail_ne.S index d350095da7e..cfead63314a 100644 --- a/libc/log/thunks/__check_fail_ne.S +++ b/libc/log/thunks/__check_fail_ne.S @@ -20,7 +20,7 @@ .text.unlikely .source __FILE__ -/ Code-size saving thunk for CHECK_NE() in NDEBUG mode. +// Code-size saving thunk for CHECK_NE() in NDEBUG mode. __check_fail_ne: loadstr "!=",dx jmp __check_fail_ndebug diff --git a/libc/macros-cpp.internal.inc b/libc/macros-cpp.internal.inc index 3dca34a618b..2593c40fa66 100644 --- a/libc/macros-cpp.internal.inc +++ b/libc/macros-cpp.internal.inc @@ -23,7 +23,7 @@ #define vzeroupper #endif -/ Begins definition of frameless function that calls no functions. +// Begins definition of frameless function that calls no functions. .macro .leafprologue #if !(defined(TINY) && !defined(__PG__)) push %rbp @@ -31,7 +31,7 @@ #endif .endm -/ Ends definition of frameless function that calls no functions. +// Ends definition of frameless function that calls no functions. .macro .leafepilogue #if !(defined(TINY) && !defined(__PG__)) pop %rbp @@ -39,16 +39,16 @@ ret .endm -/ Good alignment for functions where alignment actually helps. -/ @note 16-byte +// Good alignment for functions where alignment actually helps. +// @note 16-byte .macro .alignfunc #ifndef __OPTIMIZE_SIZE__ .p2align 4 #endif .endm -/ Good alignment for loops where alignment actually helps. -/ @note 16-byte if <10 padding otherwise 8-byte +// Good alignment for loops where alignment actually helps. +// @note 16-byte if <10 padding otherwise 8-byte .macro .alignloop #ifndef __OPTIMIZE_SIZE__ .p2align 4,,10 @@ -56,8 +56,8 @@ #endif .endm -/ Loads Effective Address -/ Supporting security blankets +// Loads Effective Address +// Supporting security blankets .macro plea symbol:req reg64:req reg32:req #if __PIC__ + __PIE__ + __code_model_medium__ + __code_model_large__ + 0 > 1 lea \symbol(%rip),\reg64 @@ -66,8 +66,8 @@ #endif .endm -/ Loads Effective Address to Stack -/ Supporting security blankets +// Loads Effective Address to Stack +// Supporting security blankets .macro pshaddr symbol:req #if __PIC__ + __PIE__ + __code_model_medium__ + __code_model_large__ + 0 > 1 push $IMAGE_BASE_VIRTUAL+RVA(\symbol)(%rip),\reg64 @@ -76,12 +76,12 @@ #endif .endm -/ TODO(jart): delete -/ Loads Effective Address -/ Supporting security blankets +// TODO(jart): delete +// Loads Effective Address +// Supporting security blankets .macro ezlea symbol:req reg:req #if __pic__ + __pie__ + __code_model_medium__ + __code_model_large__ + 0 > 1 -/ lea \symbol(%rip),%r\reg +// lea \symbol(%rip),%r\reg mov $\symbol,%e\reg #else mov $\symbol,%e\reg @@ -97,7 +97,7 @@ #endif .endm -/ Creates first stack frame. +// Creates first stack frame. .macro .frame0 and $-16,%rsp xor %ebp,%ebp @@ -106,38 +106,33 @@ .macro .source symbol:req .endm -/ Inserts profiling hook in prologue if cc wants it. -/ -/ Cosmopolitan does this in a slightly different way from normal -/ GNU toolchains. We always use the -mnop-mcount behavior, since -/ the runtime is able to morph the binary at runtime. It is good -/ since we can put hooks for profiling and function tracing into -/ most builds, without any impact on performance. -/ -/ @cost ≥0.3 cycles, 5 bytes -/ @see build/compile +// Inserts profiling hook in prologue if cc wants it. +// +// Cosmopolitan does this in a slightly different way from normal +// GNU toolchains. We always use the -mnop-mcount behavior, since +// the runtime is able to morph the binary at runtime. It is good +// since we can put hooks for profiling and function tracing into +// most builds, without any impact on performance. +// +// @cost ≥0.3 cycles, 5 bytes +// @see build/compile .macro .profilable #ifdef __PG__ 1382: #if defined(__MFENTRY__) call __fentry__ #elif defined(__PIC__) || defined(__PIE__) -/ nopw 0x00(%rax,%rax,1) +// nopw 0x00(%rax,%rax,1) .byte 0x66,0x0f,0x1f,0x44,0x00,0x00 #else -/ nopl 0x00(%rax,%rax,1) +// nopl 0x00(%rax,%rax,1) .byte 0x0f,0x1f,0x44,0x00,0x00 #endif -#if defined(__MRECORD_MCOUNT__) && !defined(__MFENTRY__) - .section __mcount_loc,"a",@progbits - .quad 1382b - .previous -#endif #endif .endm -/ Pushes RVA on stack of linktime mergeable string literal. -/ @see popstr +// Pushes RVA on stack of linktime mergeable string literal. +// @see popstr .macro pushstr text .section .rodata.str1.1,"aSM",@progbits,1 .Lstr\@: .asciz "\text" @@ -146,14 +141,14 @@ push $.Lstr\@ - IMAGE_BASE_VIRTUAL .endm -/ Pops off stack string address. -/ @see pushstr +// Pops off stack string address. +// @see pushstr .macro popstr dest:req addl $IMAGE_BASE_VIRTUAL,(%rsp) pop \dest .endm -/ Loads address of linktime mergeable string literal into register. +// Loads address of linktime mergeable string literal into register. .macro getstr text:req reg64:req reg32 regsz64 regsz32 bias=0 .section .rodata.str1.1,"aSM",@progbits,1 .type .Lstr\@,@object @@ -175,8 +170,8 @@ .endif .endm -/ TODO(jart): delete -/ Loads address of linktime mergeable string literal into register. +// TODO(jart): delete +// Loads address of linktime mergeable string literal into register. .macro loadstr text:req reg:req regsz bias=0 .section .rodata.str1.1,"aSM",@progbits,1 .type .Lstr\@,@object diff --git a/libc/macros.h b/libc/macros.h index 8f2f8d74e8a..5c1939f088b 100644 --- a/libc/macros.h +++ b/libc/macros.h @@ -14,7 +14,6 @@ #define FALSE 0 #define alignas(x) _Alignas(x) -#define static_assert(x) _Static_assert(x, #x) #define ROUNDUP(X, K) (((X) + (K)-1) & -(K)) #define ROUNDDOWN(X, K) ((X) & -(K)) diff --git a/libc/macros.internal.inc b/libc/macros.internal.inc index 26a333f32c5..6db866e8d0d 100644 --- a/libc/macros.internal.inc +++ b/libc/macros.internal.inc @@ -17,7 +17,7 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -/ Shorthand notation for widely-acknowledged sections. +// Shorthand notation for widely-acknowledged sections. .macro .rodata .section .rodata,"a",@progbits .endm @@ -62,11 +62,11 @@ .section .text.windows,"ax",@progbits .endm -/ Mergeable numeric constant sections. -/ -/ @note linker de-dupes item/values across whole compile -/ @note therefore item/values are reordered w.r.t. link order -/ @note therefore no section relative addressing +// Mergeable numeric constant sections. +// +// @note linker de-dupes item/values across whole compile +// @note therefore item/values are reordered w.r.t. link order +// @note therefore no section relative addressing .macro .rodata.cst4 .section .rodata.cst4,"aM",@progbits,4 .align 4 @@ -96,33 +96,33 @@ .align 4 .endm -/ Mergeable NUL-terminated UTF-8 string constant section. -/ -/ @note linker de-dupes C strings here across whole compile -/ @note therefore item/values are reordered w.r.t. link order -/ @note therefore no section relative addressing +// Mergeable NUL-terminated UTF-8 string constant section. +// +// @note linker de-dupes C strings here across whole compile +// @note therefore item/values are reordered w.r.t. link order +// @note therefore no section relative addressing .macro .rodata.str1.1 .section .rodata.str1.1,"aSM",@progbits,1 .align 1 .endm -/ Locates unreferenced code invulnerable to --gc-sections. +// Locates unreferenced code invulnerable to --gc-sections. .macro .keep.text .section .keep.text,"ax",@progbits .endm -/ Flags code as only allowed for testing purposes. +// Flags code as only allowed for testing purposes. .macro .testonly .section .test,"ax",@progbits .endm -/ Makes code runnable while code morphing. +// Makes code runnable while code morphing. .macro .privileged .section .privileged,"ax",@progbits .endm -/ Post-Initialization Read-Only (PIRO) BSS section. -/ @param ss is an optional string, for control image locality +// Post-Initialization Read-Only (PIRO) BSS section. +// @param ss is an optional string, for control image locality .macro .piro ss .ifnb \ss .section .piro.sort.bss.\ss,"aw",@nobits @@ -131,9 +131,9 @@ .endif .endm -/ Helpers for Cosmopolitan _init() amalgamation magic. -/ @param name should be consistent across macros for a module -/ @see libc/runtime/_init.S +// Helpers for Cosmopolitan _init() amalgamation magic. +// @param name should be consistent across macros for a module +// @see libc/runtime/_init.S .macro .initro number:req name:req .section .initro.\number\().\name,"a",@progbits .align 8 @@ -151,16 +151,16 @@ .previous .endm -/ Declares alternative implementation of function. -/ @param implement e.g. tinymath_pow -/ @param canonical e.g. pow +// Declares alternative implementation of function. +// @param implement e.g. tinymath_pow +// @param canonical e.g. pow .macro .alias implement:req canonical:req .equ \canonical,\implement .weak \canonical .endm -/ Ends function definition. -/ @cost saves 1-3 lines of code +// Ends function definition. +// @cost saves 1-3 lines of code .macro .endfn name:req bnd vis .size \name,.-\name .type \name,@function @@ -172,8 +172,8 @@ .endif .endm -/ Ends variable definition. -/ @cost saves 1-3 lines of code +// Ends variable definition. +// @cost saves 1-3 lines of code .macro .endobj name:req bnd vis .size \name,.-\name .type \name,@object @@ -185,35 +185,35 @@ .endif .endm -/ LOOP Instruction Replacement. -/ With its mop-Fusion Mexican equivalent. -/ Thus avoiding 3x legacy pipeline slowdown. +// LOOP Instruction Replacement. +// With its mop-Fusion Mexican equivalent. +// Thus avoiding 3x legacy pipeline slowdown. .macro .loop label:req .byte 0x83,0xe9,0x01 # sub $1,%ecx jnz \label .endm -/ Pushes CONSTEXPR ∈ [-128,127]. -/ @note assembler is wrong for non-literal constexprs +// Pushes CONSTEXPR ∈ [-128,127]. +// @note assembler is wrong for non-literal constexprs .macro pushb x:req .byte 0x6a,\x .endm -/ Sign-extends CONSTEXPR ∈ [-128,127] to REGISTER. -/ @cost ≥1 cycles, -2 bytes +// Sign-extends CONSTEXPR ∈ [-128,127] to REGISTER. +// @cost ≥1 cycles, -2 bytes .macro pushpop constexpr:req register:req pushb \constexpr pop \register .endm -/ Moves REGISTER to REGISTER. -/ @cost ≥1 cycles, -1 REX byte +// Moves REGISTER to REGISTER. +// @cost ≥1 cycles, -1 REX byte .macro movpp src:req dest:req push \src pop \dest .endm -/ Declares optional function. +// Declares optional function. .macro .optfn fn:req .globl \fn .weak \fn @@ -221,8 +221,8 @@ .type \fn,@function .endm -/ Embeds fixed-width zero-filled string table. -/ @note zero-padded ≠ nul-terminated +// Embeds fixed-width zero-filled string table. +// @note zero-padded ≠ nul-terminated .macro .fxstr width head rest:vararg .ifnb \head 0: .ascii "\head" @@ -231,15 +231,15 @@ .endif .endm -/ Embeds Fixed-Width Zero-Padded String. -/ @note .fxstr is better +// Embeds Fixed-Width Zero-Padded String. +// @note .fxstr is better .macro .ascin str:req fieldsize:req 1347: .ascii "\str" .org 1347b+\fieldsize,0x00 .endm -/ Marks symbols as object en-masse. -/ @note zero-padded ≠ nul-terminated +// Marks symbols as object en-masse. +// @note zero-padded ≠ nul-terminated .macro .object symbol rest:vararg .ifnb \symbol .type \symbol,@object @@ -247,18 +247,14 @@ .endif .endm -/ Pads function prologue unconditionally for runtime hooking. -/ @cost ≥0.3 cycles, 5 bytes -/ @see .profilable +// Pads function prologue unconditionally for runtime hooking. +// @cost ≥0.3 cycles, 5 bytes +// @see .profilable .macro .hookable -/ nopl 0x00(%rax,%rax,1) -83457: .byte 0x0f,0x1f,0x44,0x00,0x00 - .section __mcount_loc,"a",@progbits - .quad 83457b - .previous + .byte 0x0f,0x1f,0x44,0x00,0x00 .endm -/ Puts initialized data in uninitialized data section. +// Puts initialized data in uninitialized data section. .macro .bsdata name:req expr:req bnd vis .section .initbss.300._init_\name,"aw",@nobits \name: .quad 0 @@ -274,9 +270,9 @@ _init_\name: .previous .endm -/ ICE Breakpoint. -/ Modern gas forgot this but objdump knows -/ @mode long,legacy,real +// ICE Breakpoint. +// Modern gas forgot this but objdump knows +// @mode long,legacy,real .macro icebp .byte 0xF1 .endm @@ -284,8 +280,8 @@ _init_\name: icebp .endm -/ Sets breakpoint for software debugger. -/ @mode long,legacy,real +// Sets breakpoint for software debugger. +// @mode long,legacy,real .macro .softicebp .byte 0x53 # push bx .byte 0x87,0xdb # xchg bx,bx (bochs breakpoint) @@ -294,38 +290,38 @@ _init_\name: int3 # gdb breakpoint .endm -/ Assembles Intel Official 4-Byte NOP. +// Assembles Intel Official 4-Byte NOP. .macro fatnop4 .byte 0x0f,0x1f,0x40,0x00 .endm -/ Pulls unrelated module into linkage. -/ -/ In order for this technique to work with --gc-sections, another -/ module somewhere might want to weakly reference whats yoinked. +// Pulls unrelated module into linkage. +// +// In order for this technique to work with --gc-sections, another +// module somewhere might want to weakly reference whats yoinked. .macro yoink symbol:req .section .yoink - nop "\symbol" + nopl "\symbol"(%rip) .previous .endm .macro .yoink symbol:req .section .yoink - nop "\symbol" + nopl "\symbol"(%rip) .previous .endm -/ Calls Windows function. -/ -/ @param cx,dx,r8,r9,stack -/ @return ax -/ @clob ax,cx,dx,r8-r11 +// Calls Windows function. +// +// @param cx,dx,r8,r9,stack +// @return ax +// @clob ax,cx,dx,r8-r11 .macro ntcall symbol:req sub $32,%rsp call *\symbol(%rip) add $32,%rsp .endm -/ Custom emulator instruction for bottom stack frame. +// Custom emulator instruction for bottom stack frame. .macro bofram endfunc:req .byte 0x0f,0x1f,0105,\endfunc-. # nopl disp8(%rbp) .endm diff --git a/libc/mem/calloc.S b/libc/mem/calloc.S index d1339318034..7e7175362dd 100644 --- a/libc/mem/calloc.S +++ b/libc/mem/calloc.S @@ -20,12 +20,12 @@ #include "libc/notice.inc" .source __FILE__ -/ Allocates n * itemsize bytes, initialized to zero. -/ -/ @param rdi is number of items (n) -/ @param rsi is size of each item (itemsize) -/ @return rax is memory address, or NULL w/ errno -/ @note overreliance on memalign is a sure way to fragment space -/ @see dlcalloc() +// Allocates n * itemsize bytes, initialized to zero. +// +// @param rdi is number of items (n) +// @param rsi is size of each item (itemsize) +// @return rax is memory address, or NULL w/ errno +// @note overreliance on memalign is a sure way to fragment space +// @see dlcalloc() calloc: jmp *hook_calloc(%rip) .endfn calloc,globl diff --git a/libc/mem/cxx/free.S b/libc/mem/cxx/free.S index 8143ef0eac0..417f1525cc4 100644 --- a/libc/mem/cxx/free.S +++ b/libc/mem/cxx/free.S @@ -19,67 +19,67 @@ #include "libc/macros.h" .source __FILE__ -/ Frees memory the C++ way. -/ -/ \param %rdi is pointer, or NULL for no-op -/ \param %rsi is ignored -/ \param %rdx is ignored +// Frees memory the C++ way. +// +// \param %rdi is pointer, or NULL for no-op +// \param %rsi is ignored +// \param %rdx is ignored _ZdlPvSt11align_val_tRKSt9nothrow_t: -/ operator delete(void*, std::align_val_t, std::nothrow_t const&) +// operator delete(void*, std::align_val_t, std::nothrow_t const&) nop -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn _ZdlPvSt11align_val_tRKSt9nothrow_t,weak _ZdaPvSt11align_val_tRKSt9nothrow_t: -/ operator delete[](void*, std::align_val_t, std::nothrow_t const&) +// operator delete[](void*, std::align_val_t, std::nothrow_t const&) nop -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn _ZdaPvSt11align_val_tRKSt9nothrow_t,weak _ZdlPvRKSt9nothrow_t: -/ operator delete(void*, std::nothrow_t const&) +// operator delete(void*, std::nothrow_t const&) nop -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn _ZdlPvRKSt9nothrow_t,weak _ZdaPvRKSt9nothrow_t: -/ operator delete[](void*, std::nothrow_t const&) +// operator delete[](void*, std::nothrow_t const&) nop -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn _ZdaPvRKSt9nothrow_t,weak _ZdlPvmSt11align_val_t: -/ operator delete(void*, unsigned long, std::align_val_t) +// operator delete(void*, unsigned long, std::align_val_t) nop -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn _ZdlPvmSt11align_val_t,weak _ZdaPvmSt11align_val_t: -/ operator delete[](void*, unsigned long, std::align_val_t) +// operator delete[](void*, unsigned long, std::align_val_t) nop -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn _ZdaPvmSt11align_val_t,weak _ZdlPvSt11align_val_t: -/ operator delete(void*, std::align_val_t) +// operator delete(void*, std::align_val_t) nop -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn _ZdlPvSt11align_val_t,weak _ZdaPvSt11align_val_t: -/ operator delete[](void*, std::align_val_t) +// operator delete[](void*, std::align_val_t) nop -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn _ZdaPvSt11align_val_t,weak _ZdaPvm: -/ operator delete[](void*, unsigned long): +// operator delete[](void*, unsigned long): nop -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn _ZdaPvm,weak _ZdlPvm: -/ operator delete(void*, unsigned long) +// operator delete(void*, unsigned long) nop -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn _ZdlPvm,weak _ZdaPv: -/ operator delete[](void*) +// operator delete[](void*) nop -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn _ZdaPv,weak _ZdlPv: -/ operator delete(void*) +// operator delete(void*) jmp *hook_free(%rip) .endfn _ZdlPv,weak diff --git a/libc/mem/cxx/malloc.S b/libc/mem/cxx/malloc.S index 4f865a29a4a..7f67f4ef958 100644 --- a/libc/mem/cxx/malloc.S +++ b/libc/mem/cxx/malloc.S @@ -19,28 +19,28 @@ #include "libc/macros.h" .source __FILE__ -/ Allocates memory the C++ way. -/ -/ \param %rdi is bytes to allocate -/ \param %rsi is ignored -/ \return new memory or NULL on OOM +// Allocates memory the C++ way. +// +// \param %rdi is bytes to allocate +// \param %rsi is ignored +// \return new memory or NULL on OOM _ZnamRKSt9nothrow_t: -/ operator new[](unsigned long, std::nothrow_t const&) +// operator new[](unsigned long, std::nothrow_t const&) nop -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn _ZnamRKSt9nothrow_t,weak _ZnwmRKSt9nothrow_t: -/ operator new(unsigned long, std::nothrow_t const&) +// operator new(unsigned long, std::nothrow_t const&) nop -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn _ZnwmRKSt9nothrow_t,weak _Znam: -/ operator new[](unsigned long) +// operator new[](unsigned long) nop -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn _Znam,weak _Znwm: -/ operator new(unsigned long) +// operator new(unsigned long) test %rdi,%rdi jne 1f mov $1,%edi diff --git a/libc/mem/cxx/memalign.S b/libc/mem/cxx/memalign.S index 5974ebfd863..5df4e079f3a 100644 --- a/libc/mem/cxx/memalign.S +++ b/libc/mem/cxx/memalign.S @@ -19,29 +19,29 @@ #include "libc/macros.h" .source __FILE__ -/ Allocates aligned memory the C++ way. -/ -/ \param %rdi is bytes to allocate -/ \param %rsi is byte alignment -/ \param %rdx is ignored -/ \return new memory or NULL on OOM +// Allocates aligned memory the C++ way. +// +// \param %rdi is bytes to allocate +// \param %rsi is byte alignment +// \param %rdx is ignored +// \return new memory or NULL on OOM _ZnamSt11align_val_tRKSt9nothrow_t: -/ operator new[](unsigned long, std::align_val_t, std::nothrow_t const&) +// operator new[](unsigned long, std::align_val_t, std::nothrow_t const&) nop -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn _ZnamSt11align_val_tRKSt9nothrow_t,weak _ZnwmSt11align_val_tRKSt9nothrow_t: -/ operator new(unsigned long, std::align_val_t, std::nothrow_t const&) +// operator new(unsigned long, std::align_val_t, std::nothrow_t const&) nop -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn _ZnwmSt11align_val_tRKSt9nothrow_t,weak _ZnwmSt11align_val_t: -/ operator new(unsigned long, std::align_val_t) +// operator new(unsigned long, std::align_val_t) nop -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn _ZnwmSt11align_val_t,weak _ZnamSt11align_val_t: -/ operator new[](unsigned long, std::align_val_t) +// operator new[](unsigned long, std::align_val_t) test %rdi,%rdi jnz 1f mov $1,%eax diff --git a/libc/runtime/defer.greg.c b/libc/mem/defer.greg.c similarity index 77% rename from libc/runtime/defer.greg.c rename to libc/mem/defer.greg.c index 2e66c8e1647..e4a61975e33 100644 --- a/libc/runtime/defer.greg.c +++ b/libc/mem/defer.greg.c @@ -16,9 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/alg/arraylist.internal.h" #include "libc/assert.h" -#include "libc/bits/bits.h" +#include "libc/bits/likely.h" #include "libc/calls/calls.h" #include "libc/mem/mem.h" #include "libc/nexgen32e/gc.internal.h" @@ -41,22 +40,26 @@ forceinline bool PointerNotOwnedByParentStackFrame(struct StackFrame *frame, * @return arg */ void __defer(struct StackFrame *frame, void *fn, void *arg) { - struct StackFrame *frame2; - /* - * To avoid an API requiring dlmalloc dependency, say: - * defer(free_s, &ptr_not_owned_by_current_frame) - * Rather than: - * defer(weak(free), ptr) - */ + size_t n2; + struct Garbage *p2; + struct StackFrame *f2; if (!arg) return; - frame2 = __builtin_frame_address(0); - assert(frame2->next == frame); - assert(PointerNotOwnedByParentStackFrame(frame2, frame, arg)); - if (append(&__garbage, - (&(const struct Garbage){frame->next, (intptr_t)fn, (intptr_t)arg, - frame->addr})) != -1) { - atomic_store(&frame->addr, (intptr_t)&__gc); - } else { - abort(); + f2 = __builtin_frame_address(0); + assert(__garbage.n); + assert(f2->next == frame); + assert(PointerNotOwnedByParentStackFrame(f2, frame, arg)); + if (UNLIKELY(__garbage.i == __garbage.n)) { + n2 = __garbage.n + (__garbage.n >> 1); + p2 = malloc(n2 * sizeof(*__garbage.p)); + memcpy(p2, __garbage.p, __garbage.n * sizeof(*__garbage.p)); + if (__garbage.p != __garbage.initmem) free(__garbage.p); + __garbage.p = p2; + __garbage.n = n2; } + __garbage.p[__garbage.i].frame = frame->next; + __garbage.p[__garbage.i].fn = (intptr_t)fn; + __garbage.p[__garbage.i].arg = (intptr_t)arg; + __garbage.p[__garbage.i].ret = frame->addr; + __garbage.i++; + frame->addr = (intptr_t)__gc; } diff --git a/libc/mem/free.S b/libc/mem/free.S index fed9155f91d..224815fde22 100644 --- a/libc/mem/free.S +++ b/libc/mem/free.S @@ -19,15 +19,15 @@ #include "libc/macros.h" .source __FILE__ -/ Free memory returned by malloc() & co. -/ -/ Releases the chunk of memory pointed to by p, that had been -/ previously allocated using malloc or a related routine such as -/ realloc. It has no effect if p is null. If p was not malloced or -/ already freed, free(p) will by default cuase the current program to -/ abort. -/ -/ @param rdi is allocation address, which may be NULL -/ @see dlfree() +// Free memory returned by malloc() & co. +// +// Releases the chunk of memory pointed to by p, that had been +// previously allocated using malloc or a related routine such as +// realloc. It has no effect if p is null. If p was not malloced or +// already freed, free(p) will by default cuase the current program to +// abort. +// +// @param rdi is allocation address, which may be NULL +// @see dlfree() free: jmp *hook_free(%rip) .endfn free,globl diff --git a/libc/mem/malloc.S b/libc/mem/malloc.S index 921ca4f861f..9c99155a882 100644 --- a/libc/mem/malloc.S +++ b/libc/mem/malloc.S @@ -19,22 +19,22 @@ #include "libc/macros.h" .source __FILE__ -/ Allocates uninitialized memory. -/ -/ Returns a pointer to a newly allocated chunk of at least n bytes, or -/ null if no space is available, in which case errno is set to ENOMEM -/ on ANSI C systems. -/ -/ If n is zero, malloc returns a minimum-sized chunk. (The minimum size -/ is 32 bytes on 64bit systems.) Note that size_t is an unsigned type, -/ so calls with arguments that would be negative if signed are -/ interpreted as requests for huge amounts of space, which will often -/ fail. The maximum supported value of n differs across systems, but is -/ in all cases less than the maximum representable value of a size_t. -/ -/ @param rdi is number of bytes needed -/ @return new memory, or NULL w/ errno -/ @note malloc(0) → malloc(32) -/ @see dlmalloc() +// Allocates uninitialized memory. +// +// Returns a pointer to a newly allocated chunk of at least n bytes, or +// null if no space is available, in which case errno is set to ENOMEM +// on ANSI C systems. +// +// If n is zero, malloc returns a minimum-sized chunk. (The minimum size +// is 32 bytes on 64bit systems.) Note that size_t is an unsigned type, +// so calls with arguments that would be negative if signed are +// interpreted as requests for huge amounts of space, which will often +// fail. The maximum supported value of n differs across systems, but is +// in all cases less than the maximum representable value of a size_t. +// +// @param rdi is number of bytes needed +// @return new memory, or NULL w/ errno +// @note malloc(0) → malloc(32) +// @see dlmalloc() malloc: jmp *hook_malloc(%rip) .endfn malloc,globl diff --git a/libc/mem/malloc_trim.S b/libc/mem/malloc_trim.S index f0f1674383d..0dcb648a12c 100644 --- a/libc/mem/malloc_trim.S +++ b/libc/mem/malloc_trim.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Releases freed memory back to system. -/ -/ @param rdi specifies bytes of memory to leave available -/ @return 1 if it actually released any memory, else 0 +// Releases freed memory back to system. +// +// @param rdi specifies bytes of memory to leave available +// @return 1 if it actually released any memory, else 0 malloc_trim: jmp *hook_malloc_trim(%rip) .endfn malloc_trim,globl diff --git a/libc/mem/malloc_usable_size.S b/libc/mem/malloc_usable_size.S index ea1b760c9a1..f80d4264fe5 100644 --- a/libc/mem/malloc_usable_size.S +++ b/libc/mem/malloc_usable_size.S @@ -20,22 +20,22 @@ #include "libc/notice.inc" .source __FILE__ -/ Returns the number of bytes you can actually use in -/ an allocated chunk, which may be more than you requested -/ (although often not) due to alignment and minimum size -/ constraints. -/ -/ You can use this many bytes without worrying about overwriting -/ other allocated objects. This is not a particularly great -/ programming practice. malloc_usable_size can be more useful in -/ debugging and assertions, for example: -/ -/ p = malloc(n) -/ assert(malloc_usable_size(p) >= 256) -/ -/ @param rdi is address of allocation -/ @return rax is total number of bytes -/ @see dlmalloc_usable_size() +// Returns the number of bytes you can actually use in +// an allocated chunk, which may be more than you requested +// (although often not) due to alignment and minimum size +// constraints. +// +// You can use this many bytes without worrying about overwriting +// other allocated objects. This is not a particularly great +// programming practice. malloc_usable_size can be more useful in +// debugging and assertions, for example: +// +// p = malloc(n) +// assert(malloc_usable_size(p) >= 256) +// +// @param rdi is address of allocation +// @return rax is total number of bytes +// @see dlmalloc_usable_size() malloc_usable_size: jmp *hook_malloc_usable_size(%rip) .endfn malloc_usable_size,globl diff --git a/libc/mem/memalign.S b/libc/mem/memalign.S index 34d360914b9..7925ef72382 100644 --- a/libc/mem/memalign.S +++ b/libc/mem/memalign.S @@ -20,20 +20,20 @@ #include "libc/notice.inc" .source __FILE__ -/ Allocates aligned memory. -/ -/ Returns a pointer to a newly allocated chunk of n bytes, aligned in -/ accord with the alignment argument. The alignment argument should be -/ a power of two. If the argument is not a power of two, the nearest -/ greater power is used. 8-byte alignment is guaranteed by normal -/ malloc calls, so don't bother calling memalign with an argument of 8 -/ or less. -/ -/ @param rdi is alignment in bytes -/ @param rsi (newsize) is number of bytes needed -/ @return rax is memory address, or NULL w/ errno -/ @note overreliance on memalign is a sure way to fragment space -/ @see dlmemalign() +// Allocates aligned memory. +// +// Returns a pointer to a newly allocated chunk of n bytes, aligned in +// accord with the alignment argument. The alignment argument should be +// a power of two. If the argument is not a power of two, the nearest +// greater power is used. 8-byte alignment is guaranteed by normal +// malloc calls, so don't bother calling memalign with an argument of 8 +// or less. +// +// @param rdi is alignment in bytes +// @param rsi (newsize) is number of bytes needed +// @return rax is memory address, or NULL w/ errno +// @note overreliance on memalign is a sure way to fragment space +// @see dlmemalign() memalign: jmp *hook_memalign(%rip) .endfn memalign,globl diff --git a/libc/mem/posix_memalign.S b/libc/mem/posix_memalign.S index 3e754805295..6867b0e4d60 100644 --- a/libc/mem/posix_memalign.S +++ b/libc/mem/posix_memalign.S @@ -19,18 +19,18 @@ #include "libc/macros.h" .source __FILE__ -/ Allocates aligned memory the POSIX way. -/ -/ Allocates a chunk of n bytes, aligned in accord with the alignment -/ argument. Differs from memalign only in that it (1) assigns the -/ allocated memory to *pp rather than returning it, (2) fails and -/ returns EINVAL if the alignment is not a power of two (3) fails and -/ returns ENOMEM if memory cannot be allocated. -/ -/ @param rdi is void **pp -/ @param rsi is size_t align -/ @param rdx is size_t size -/ @return eax +// Allocates aligned memory the POSIX way. +// +// Allocates a chunk of n bytes, aligned in accord with the alignment +// argument. Differs from memalign only in that it (1) assigns the +// allocated memory to *pp rather than returning it, (2) fails and +// returns EINVAL if the alignment is not a power of two (3) fails and +// returns ENOMEM if memory cannot be allocated. +// +// @param rdi is void **pp +// @param rsi is size_t align +// @param rdx is size_t size +// @return eax posix_memalign: jmp *hook_posix_memalign(%rip) .endfn posix_memalign,globl diff --git a/libc/mem/pvalloc.S b/libc/mem/pvalloc.S index d15143025f2..2cc5c37d56c 100644 --- a/libc/mem/pvalloc.S +++ b/libc/mem/pvalloc.S @@ -20,11 +20,11 @@ #include "libc/notice.inc" .source __FILE__ -/ Equivalent to valloc(minimum-page-that-holds(n)), that is, -/ round up n to nearest pagesize. -/ -/ @param rdi is number of bytes needed -/ @return rax is memory address, or NULL w/ errno -/ @see dlpvalloc() +// Equivalent to valloc(minimum-page-that-holds(n)), that is, +// round up n to nearest pagesize. +// +// @param rdi is number of bytes needed +// @return rax is memory address, or NULL w/ errno +// @see dlpvalloc() pvalloc:jmp *hook_pvalloc(%rip) .endfn pvalloc,globl diff --git a/libc/mem/realloc.S b/libc/mem/realloc.S index 3842e34fd0b..3adff627a6a 100644 --- a/libc/mem/realloc.S +++ b/libc/mem/realloc.S @@ -20,40 +20,40 @@ #include "libc/notice.inc" .source __FILE__ -/ Allocates / resizes / frees memory, e.g. -/ -/ Returns a pointer to a chunk of size n that contains the same data as -/ does chunk p up to the minimum of (n, p's size) bytes, or null if no -/ space is available. -/ -/ If p is NULL, realloc is equivalent to malloc. -/ If p is not NULL and n is 0, realloc is equivalent to free. -/ -/ The returned pointer may or may not be the same as p. The algorithm -/ prefers extending p in most cases when possible, otherwise it employs -/ the equivalent of a malloc-copy-free sequence. -/ -/ Please note that p is NOT free()'d should realloc() fail, thus: -/ -/ if ((p2 = realloc(p, n2))) { -/ p = p2; -/ ... -/ } else { -/ ... -/ } -/ -/ if n is for fewer bytes than already held by p, the newly unused -/ space is lopped off and freed if possible. -/ -/ The old unix realloc convention of allowing the last-free'd chunk to -/ be used as an argument to realloc is not supported. -/ -/ @param rdi (p) is address of current allocation or NULL -/ @param rsi (n) is number of bytes needed -/ @return rax is result, or NULL w/ errno w/o free(p) -/ @note realloc(p=0, n=0) → malloc(32) -/ @note realloc(p≠0, n=0) → free(p) -/ @see dlrealloc() +// Allocates / resizes / frees memory, e.g. +// +// Returns a pointer to a chunk of size n that contains the same data as +// does chunk p up to the minimum of (n, p's size) bytes, or null if no +// space is available. +// +// If p is NULL, realloc is equivalent to malloc. +// If p is not NULL and n is 0, realloc is equivalent to free. +// +// The returned pointer may or may not be the same as p. The algorithm +// prefers extending p in most cases when possible, otherwise it employs +// the equivalent of a malloc-copy-free sequence. +// +// Please note that p is NOT free()'d should realloc() fail, thus: +// +// if ((p2 = realloc(p, n2))) { +// p = p2; +// ... +// } else { +// ... +// } +// +// if n is for fewer bytes than already held by p, the newly unused +// space is lopped off and freed if possible. +// +// The old unix realloc convention of allowing the last-free'd chunk to +// be used as an argument to realloc is not supported. +// +// @param rdi (p) is address of current allocation or NULL +// @param rsi (n) is number of bytes needed +// @return rax is result, or NULL w/ errno w/o free(p) +// @note realloc(p=0, n=0) → malloc(32) +// @note realloc(p≠0, n=0) → free(p) +// @see dlrealloc() realloc: jmp *hook_realloc(%rip) .endfn realloc,globl diff --git a/libc/mem/realloc_in_place.S b/libc/mem/realloc_in_place.S index acc0a49a34c..c8f41f8fee4 100644 --- a/libc/mem/realloc_in_place.S +++ b/libc/mem/realloc_in_place.S @@ -20,19 +20,19 @@ #include "libc/notice.inc" .source __FILE__ -/ Resizes the space allocated for p to size n, only if this can be -/ done without moving p (i.e., only if there is adjacent space -/ available if n is greater than p's current allocated size, or n -/ is less than or equal to p's size). This may be used instead of -/ plain realloc if an alternative allocation strategy is needed -/ upon failure to expand space, for example, reallocation of a -/ buffer that must be memory-aligned or cleared. You can use -/ realloc_in_place to trigger these alternatives only when needed. -/ -/ @param rdi (p) is address of current allocation -/ @param rsi (newsize) is number of bytes needed -/ @return rax is result, or NULL w/ errno -/ @see dlrealloc_in_place() +// Resizes the space allocated for p to size n, only if this can be +// done without moving p (i.e., only if there is adjacent space +// available if n is greater than p's current allocated size, or n +// is less than or equal to p's size). This may be used instead of +// plain realloc if an alternative allocation strategy is needed +// upon failure to expand space, for example, reallocation of a +// buffer that must be memory-aligned or cleared. You can use +// realloc_in_place to trigger these alternatives only when needed. +// +// @param rdi (p) is address of current allocation +// @param rsi (newsize) is number of bytes needed +// @return rax is result, or NULL w/ errno +// @see dlrealloc_in_place() realloc_in_place: jmp *hook_realloc_in_place(%rip) .endfn realloc_in_place,globl diff --git a/libc/mem/valloc.S b/libc/mem/valloc.S index dce6a467adb..8e11ccedc14 100644 --- a/libc/mem/valloc.S +++ b/libc/mem/valloc.S @@ -20,10 +20,10 @@ #include "libc/notice.inc" .source __FILE__ -/ Equivalent to memalign(4096, n). -/ -/ @param rdi is number of bytes needed -/ @return rax is memory address, or NULL w/ errno -/ @see dlvalloc() +// Equivalent to memalign(4096, n). +// +// @param rdi is number of bytes needed +// @return rax is memory address, or NULL w/ errno +// @see dlvalloc() valloc: jmp *hook_valloc(%rip) .endfn valloc,globl diff --git a/libc/nexgen32e/bsrmax.S b/libc/nexgen32e/bsrmax.S index bf63f0a990a..fb9a058b89c 100644 --- a/libc/nexgen32e/bsrmax.S +++ b/libc/nexgen32e/bsrmax.S @@ -18,21 +18,21 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns binary logarithm of integer 𝑥. -/ -/ uint32 𝑥 bsf(𝑥) tzcnt(𝑥) ffs(𝑥) bsr(𝑥) lzcnt(𝑥) -/ 0x00000000 wut 32 0 wut 32 -/ 0x00000001 0 0 1 0 31 -/ 0x80000001 0 0 1 31 0 -/ 0x80000000 31 31 32 31 0 -/ 0x00000010 4 4 5 4 27 -/ 0x08000010 4 4 5 27 4 -/ 0x08000000 27 27 28 27 4 -/ 0xffffffff 0 0 1 31 0 -/ -/ @param rsi:rdi is 128-bit unsigned 𝑥 value -/ @return eax number in range [0,128) or undef if 𝑥 is 0 -/ @see also treasure trove of nearly identical functions +// Returns binary logarithm of integer 𝑥. +// +// uint32 𝑥 bsf(𝑥) tzcnt(𝑥) ffs(𝑥) bsr(𝑥) lzcnt(𝑥) +// 0x00000000 wut 32 0 wut 32 +// 0x00000001 0 0 1 0 31 +// 0x80000001 0 0 1 31 0 +// 0x80000000 31 31 32 31 0 +// 0x00000010 4 4 5 4 27 +// 0x08000010 4 4 5 27 4 +// 0x08000000 27 27 28 27 4 +// 0xffffffff 0 0 1 31 0 +// +// @param rsi:rdi is 128-bit unsigned 𝑥 value +// @return eax number in range [0,128) or undef if 𝑥 is 0 +// @see also treasure trove of nearly identical functions bsrmax: .leafprologue .profilable bsr %rsi,%rax diff --git a/libc/nexgen32e/bzero.S b/libc/nexgen32e/bzero.S index 11e02d7cf9c..0ea9cb73189 100644 --- a/libc/nexgen32e/bzero.S +++ b/libc/nexgen32e/bzero.S @@ -18,15 +18,15 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Sets memory to zero. -/ -/ C code should always favor memset(), since that's the one we've -/ prototyped with the best optimizations. This definition is used -/ by old code and sometimes code generators, as a thunk. -/ -/ @param rdi is dest -/ @param rsi is the number of bytes to set -/ @see memset(), explicit_bzero() +// Sets memory to zero. +// +// C code should always favor memset(), since that's the one we've +// prototyped with the best optimizations. This definition is used +// by old code and sometimes code generators, as a thunk. +// +// @param rdi is dest +// @param rsi is the number of bytes to set +// @see memset(), explicit_bzero() bzero: mov %rsi,%rdx xor %esi,%esi jmp MemSet diff --git a/libc/nexgen32e/cescapec.S b/libc/nexgen32e/cescapec.S index f1351286d7e..1840dfdd704 100644 --- a/libc/nexgen32e/cescapec.S +++ b/libc/nexgen32e/cescapec.S @@ -19,19 +19,19 @@ #include "ape/relocations.h" #include "libc/macros.h" -/ Escapes byte for string literal. -/ -/ This turns stuff like (char)0xFF into \0377. The returned -/ string is word-encoded, e.g. '\\'|'0'<<010|'3'<<020|etc. -/ -/ @param dil contains byte to escape -/ @see libc/nexgen32e/cescapec.c +// Escapes byte for string literal. +// +// This turns stuff like (char)0xFF into \0377. The returned +// string is word-encoded, e.g. '\\'|'0'<<010|'3'<<020|etc. +// +// @param dil contains byte to escape +// @see libc/nexgen32e/cescapec.c cescapec: movzbl %dil,%edi lea -7(%rdi),%ecx cmp $85,%cl ja 1f - mov $'\\,%eax + mov $'\\',%eax movzbl %cl,%ecx jmp *cescapectab(,%rcx,8) .Lanchorpoint: @@ -74,7 +74,7 @@ cescapec: shl $24,%edi or %ecx,%edi lea (%rdi,%rax,4),%eax - add $'0<<030|'0<<020|'0<<010|'\\,%eax + add $'0'<<030|'0'<<020|'0'<<010|'\\',%eax ret .endfn cescapec,globl @@ -87,13 +87,13 @@ cescapectab.ro: .byte 1,.LVT-.Lanchorpoint .byte 1,.LFF-.Lanchorpoint .byte 1,.LCR-.Lanchorpoint - .byte '\"-'\r-1,1b-.Lanchorpoint + .byte 20,1b-.Lanchorpoint .byte 1,.LDQ-.Lanchorpoint - .byte '\'-'\"-1,1b-.Lanchorpoint + .byte '\''-'\"'-1,1b-.Lanchorpoint .byte 1,.LSQ-.Lanchorpoint - .byte '?-'\'-1,1b-.Lanchorpoint + .byte '?'-'\''-1,1b-.Lanchorpoint .byte 1,.LQM-.Lanchorpoint - .byte '\\-'?-1,1b-.Lanchorpoint + .byte '\\'-'?'-1,1b-.Lanchorpoint .byte 1,.LBSL-.Lanchorpoint .equ .Lcescapectab.ro.size,.-cescapectab.ro .org 8 - .Lcescapectab.ro.size % 8 + . @@ -102,7 +102,7 @@ cescapectab.ro: .initbss 300,_init_cescapec cescapectab: - .rept '\\-7+1 + .rept '\\'-7+1 .quad 0 .endr .endobj cescapectab diff --git a/libc/nexgen32e/cmpsb.S b/libc/nexgen32e/cmpsb.S index 00d103abf1a..acd173e3b7d 100644 --- a/libc/nexgen32e/cmpsb.S +++ b/libc/nexgen32e/cmpsb.S @@ -18,11 +18,11 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Compares 8-bit signed integers. -/ -/ @param rdi points to left integer -/ @param rsi points to right integer -/ @return <0, 0, or >0 based on comparison +// Compares 8-bit signed integers. +// +// @param rdi points to left integer +// @param rsi points to right integer +// @return <0, 0, or >0 based on comparison .align 16 cmpsb: .leafprologue .profilable diff --git a/libc/nexgen32e/cmpsl.S b/libc/nexgen32e/cmpsl.S index 9d0b1573a4f..9e0cfe21e0b 100644 --- a/libc/nexgen32e/cmpsl.S +++ b/libc/nexgen32e/cmpsl.S @@ -18,19 +18,19 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Compares 32-bit signed integers. -/ -/ @param rdi points to left integer -/ @param rsi points to right integer -/ @return <0, 0, or >0 based on comparison +// Compares 32-bit signed integers. +// +// @param rdi points to left integer +// @param rsi points to right integer +// @return <0, 0, or >0 based on comparison .align 16 cmpsl: .leafprologue .profilable xor %eax,%eax cmpsl -/ mov (%rdi),%edi -/ mov (%rsi),%esi -/ cmp %edi,%esi +// mov (%rdi),%edi +// mov (%rsi),%esi +// cmp %edi,%esi setl %al cmovg .Lneg1(%rip),%eax .leafepilogue diff --git a/libc/nexgen32e/cmpsq.S b/libc/nexgen32e/cmpsq.S index 84d04dddf9d..54edd8004b3 100644 --- a/libc/nexgen32e/cmpsq.S +++ b/libc/nexgen32e/cmpsq.S @@ -18,11 +18,11 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Compares 64-bit signed integers. -/ -/ @param rdi points to left integer -/ @param rsi points to right integer -/ @return <0, 0, or >0 based on comparison +// Compares 64-bit signed integers. +// +// @param rdi points to left integer +// @param rsi points to right integer +// @return <0, 0, or >0 based on comparison .align 16 cmpsq: .leafprologue .profilable diff --git a/libc/nexgen32e/cmpsw.S b/libc/nexgen32e/cmpsw.S index a5f386e67b1..021a320037d 100644 --- a/libc/nexgen32e/cmpsw.S +++ b/libc/nexgen32e/cmpsw.S @@ -18,11 +18,11 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Compares 16-bit signed integers. -/ -/ @param rdi points to left integer -/ @param rsi points to right integer -/ @return <0, 0, or >0 based on comparison +// Compares 16-bit signed integers. +// +// @param rdi points to left integer +// @param rsi points to right integer +// @return <0, 0, or >0 based on comparison .align 16 cmpsw: .leafprologue .profilable diff --git a/libc/nexgen32e/cmpub.S b/libc/nexgen32e/cmpub.S index 699c69c3215..7c949ec1b57 100644 --- a/libc/nexgen32e/cmpub.S +++ b/libc/nexgen32e/cmpub.S @@ -18,11 +18,11 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Compares 8-bit unsigned integers. -/ -/ @param rdi points to left integer -/ @param rsi points to right integer -/ @return <0, 0, or >0 based on comparison +// Compares 8-bit unsigned integers. +// +// @param rdi points to left integer +// @param rsi points to right integer +// @return <0, 0, or >0 based on comparison .align 16 cmpub: .leafprologue .profilable diff --git a/libc/nexgen32e/cmpul.S b/libc/nexgen32e/cmpul.S index 28301c9f662..51f7cf8ffd5 100644 --- a/libc/nexgen32e/cmpul.S +++ b/libc/nexgen32e/cmpul.S @@ -18,11 +18,11 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Compares 32-bit unsigned integers. -/ -/ @param rdi points to left integer -/ @param rsi points to right integer -/ @return <0, 0, or >0 based on comparison +// Compares 32-bit unsigned integers. +// +// @param rdi points to left integer +// @param rsi points to right integer +// @return <0, 0, or >0 based on comparison .align 16 cmpul: .leafprologue .profilable diff --git a/libc/nexgen32e/cmpuq.S b/libc/nexgen32e/cmpuq.S index 669e1383eca..1d6f348dc5d 100644 --- a/libc/nexgen32e/cmpuq.S +++ b/libc/nexgen32e/cmpuq.S @@ -18,11 +18,11 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Compares 64-bit unsigned integers. -/ -/ @param rdi points to left integer -/ @param rsi points to right integer -/ @return <0, 0, or >0 based on comparison +// Compares 64-bit unsigned integers. +// +// @param rdi points to left integer +// @param rsi points to right integer +// @return <0, 0, or >0 based on comparison .align 16 cmpuq: .leafprologue .profilable diff --git a/libc/nexgen32e/cmpuw.S b/libc/nexgen32e/cmpuw.S index 9961fc9cf65..87a308ed910 100644 --- a/libc/nexgen32e/cmpuw.S +++ b/libc/nexgen32e/cmpuw.S @@ -18,11 +18,11 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Compares 16-bit unsigned integers. -/ -/ @param rdi points to left integer -/ @param rsi points to right integer -/ @return <0, 0, or >0 based on comparison +// Compares 16-bit unsigned integers. +// +// @param rdi points to left integer +// @param rsi points to right integer +// @return <0, 0, or >0 based on comparison .align 16 cmpuw: .leafprologue .profilable diff --git a/libc/nexgen32e/crc32-pclmul.S b/libc/nexgen32e/crc32-pclmul.S index 6beeced6754..4d75928fc1f 100644 --- a/libc/nexgen32e/crc32-pclmul.S +++ b/libc/nexgen32e/crc32-pclmul.S @@ -18,18 +18,18 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Computes Phil Katz CRC-32 w/ carryless multiply isa. -/ -/ This is support code that's abstracted by crc32_z(). -/ -/ @param edi is initial value -/ @param rsi points to buffer -/ @param rdx is bytes in buffer that's >=64 and %16==0 -/ @return eax is crc32 -/ @note needs Westmere (c.2010) or Bulldozer (c.2011) -/ @see “Fast CRC Computation for Generic Polynomials Using -/ PCLMULQDQ Instruction” V. Gopal, E. Ozturk, et al., -/ 2009, intel.ly/2ySEwL0 +// Computes Phil Katz CRC-32 w/ carryless multiply isa. +// +// This is support code that's abstracted by crc32_z(). +// +// @param edi is initial value +// @param rsi points to buffer +// @param rdx is bytes in buffer that's >=64 and %16==0 +// @return eax is crc32 +// @note needs Westmere (c.2010) or Bulldozer (c.2011) +// @see “Fast CRC Computation for Generic Polynomials Using +// PCLMULQDQ Instruction” V. Gopal, E. Ozturk, et al., +// 2009, intel.ly/2ySEwL0 crc32_pclmul: .leafprologue .profilable @@ -139,8 +139,8 @@ crc32_pclmul: .endfn crc32_pclmul,globl,hidden .source __FILE__ -/ Definitions of the bit-reflected domain constants k1,k2,k3, etc. -/ and the CRC32+Barrett polynomials given at the end of the paper. +// Definitions of the bit-reflected domain constants k1,k2,k3, etc. +// and the CRC32+Barrett polynomials given at the end of the paper. .rodata.cst16 .Lk1k2: .quad 0x0000000154442bd4 .quad 0x00000001c6e41596 diff --git a/libc/nexgen32e/crc32init.S b/libc/nexgen32e/crc32init.S index 52adcdd9b78..116129af1db 100644 --- a/libc/nexgen32e/crc32init.S +++ b/libc/nexgen32e/crc32init.S @@ -18,22 +18,22 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Generates lookup table for computing CRC-32 byte-by-byte. -/ -/ void crc32init(uint32_t table[256], uint32_t polynomial) { -/ uint32_t d, i, r; -/ for (d = 0; d < 256; ++d) { -/ r = d; -/ for (i = 0; i < 8; ++i) { -/ r = r >> 1 ^ (r & 1 ? polynomial : 0); -/ } -/ table[d] = r; -/ } -/ } -/ -/ @param rdi is pointer to uint32_t[256] array -/ @param esi 32-bit binary polynomial config -/ @note imposes ~300ns one-time cost +// Generates lookup table for computing CRC-32 byte-by-byte. +// +// void crc32init(uint32_t table[256], uint32_t polynomial) { +// uint32_t d, i, r; +// for (d = 0; d < 256; ++d) { +// r = d; +// for (i = 0; i < 8; ++i) { +// r = r >> 1 ^ (r & 1 ? polynomial : 0); +// } +// table[d] = r; +// } +// } +// +// @param rdi is pointer to uint32_t[256] array +// @param esi 32-bit binary polynomial config +// @note imposes ~300ns one-time cost crc32init: push %rbp mov %rsp,%rbp diff --git a/libc/nexgen32e/div1000000000int64.S b/libc/nexgen32e/div1000000000int64.S index ab54de68c1a..85821696884 100644 --- a/libc/nexgen32e/div1000000000int64.S +++ b/libc/nexgen32e/div1000000000int64.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Divides 64-bit signed integer by 1,000,000,000. -/ -/ @param rdi is number to divide -/ @return quotient +// Divides 64-bit signed integer by 1,000,000,000. +// +// @param rdi is number to divide +// @return quotient div1000000000int64: mov $0x1a,%cl movabs $0x112e0be826d694b3,%rdx diff --git a/libc/nexgen32e/div1000000int64.S b/libc/nexgen32e/div1000000int64.S index d7ce6073137..6fc38915c56 100644 --- a/libc/nexgen32e/div1000000int64.S +++ b/libc/nexgen32e/div1000000int64.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Divides 64-bit signed integer by 1,000,000. -/ -/ @param rdi is number to divide -/ @return quotient +// Divides 64-bit signed integer by 1,000,000. +// +// @param rdi is number to divide +// @return quotient div1000000int64: mov $0x12,%cl movabs $0x431bde82d7b634db,%rdx diff --git a/libc/nexgen32e/div10000int64.S b/libc/nexgen32e/div10000int64.S index dcbd7fdb035..ae278b1f158 100644 --- a/libc/nexgen32e/div10000int64.S +++ b/libc/nexgen32e/div10000int64.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Divides 64-bit signed integer by 10,000. -/ -/ @param rdi is number to divide -/ @return truncated quotient +// Divides 64-bit signed integer by 10,000. +// +// @param rdi is number to divide +// @return truncated quotient div10000int64: mov $11,%cl movabs $0x346dc5d63886594b,%rdx diff --git a/libc/nexgen32e/div1000int64.S b/libc/nexgen32e/div1000int64.S index daafd9bfe9d..4e45b971ecc 100644 --- a/libc/nexgen32e/div1000int64.S +++ b/libc/nexgen32e/div1000int64.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Divides 64-bit signed integer by 1,000. -/ -/ @param rdi is number to divide -/ @return quotient +// Divides 64-bit signed integer by 1,000. +// +// @param rdi is number to divide +// @return quotient div1000int64: mov $0x7,%cl movabs $0x20c49ba5e353f7cf,%rdx diff --git a/libc/nexgen32e/div100int64.S b/libc/nexgen32e/div100int64.S index 52cd8a545eb..c63400ef742 100644 --- a/libc/nexgen32e/div100int64.S +++ b/libc/nexgen32e/div100int64.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Divides 64-bit signed integer by 100. -/ -/ @param rdi is number to divide -/ @return rax has quotient +// Divides 64-bit signed integer by 100. +// +// @param rdi is number to divide +// @return rax has quotient div100int64: mov %rdi,%rax movabs $-6640827866535438581,%rdx diff --git a/libc/nexgen32e/div10int64.S b/libc/nexgen32e/div10int64.S index 018a5cc16df..0cf78748ebe 100644 --- a/libc/nexgen32e/div10int64.S +++ b/libc/nexgen32e/div10int64.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Divides 64-bit signed integer by 10. -/ -/ @param rdi is number to divide -/ @return quotient +// Divides 64-bit signed integer by 10. +// +// @param rdi is number to divide +// @return quotient div10int64: mov $2,%cl movabs $0x6666666666666667,%rdx diff --git a/libc/nexgen32e/djbsort-avx2.S b/libc/nexgen32e/djbsort-avx2.S index d7631125bdf..d653a72836d 100644 --- a/libc/nexgen32e/djbsort-avx2.S +++ b/libc/nexgen32e/djbsort-avx2.S @@ -1,12 +1,12 @@ #include "libc/macros.h" .source __FILE__ -/ D.J. Bernstein's outrageously fast integer sorting algorithm. -/ -/ @param rdi is int32 array -/ @param rsi is number of elements in rdi -/ @note public domain -/ @see en.wikipedia.org/wiki/Sorting_network +// D.J. Bernstein's outrageously fast integer sorting algorithm. +// +// @param rdi is int32 array +// @param rsi is number of elements in rdi +// @note public domain +// @see en.wikipedia.org/wiki/Sorting_network djbsort_avx2: push %rbp mov %rsp,%rbp @@ -1115,7 +1115,7 @@ int32_sort_2power: vpxor 32(%rdi),%ymm0,%ymm2 vpxor (%rdi),%ymm0,%ymm0 vmovdqa .LC1(%rip),%ymm4 - cmp $0,-116(%rbp) + cmpl $0,-116(%rbp) vpunpckldq %ymm2,%ymm0,%ymm1 vpunpckhdq %ymm2,%ymm0,%ymm0 vpunpcklqdq %ymm0,%ymm1,%ymm3 @@ -1179,7 +1179,7 @@ int32_sort_2power: mov $16,%esi mov %r13,%rdi call int32_sort_2power - cmp $0,-116(%rbp) + cmpl $0,-116(%rbp) vmovdqu (%r12),%ymm4 vmovdqu 32(%r12),%ymm1 vmovdqu 64(%r12),%ymm2 @@ -1750,7 +1750,7 @@ int32_sort_2power: vpunpckhdq 160(%rax),%ymm7,%ymm0 vpunpcklqdq %ymm2,%ymm12,%ymm8 vpunpcklqdq %ymm4,%ymm6,%ymm9 - cmp $0,-116(%rbp) + cmpl $0,-116(%rbp) vmovdqu 192(%rax),%ymm7 vpunpckhqdq %ymm2,%ymm12,%ymm12 vpunpckhqdq %ymm4,%ymm6,%ymm4 @@ -1837,7 +1837,7 @@ int32_sort_2power: vmovdqu %ymm2,-64(%rax) vmovdqu %ymm0,-32(%rax) jmp .L85 -.L142: cmp $32,-112(%rbp) +.L142: cmpq $32,-112(%rbp) jne .L94 .L93: mov -112(%rbp),%rcx sar $2,%rcx @@ -1871,7 +1871,7 @@ int32_sort_2power: cmp %rax,%r15 jg .L92 sarq $3,-112(%rbp) -.L89: cmp $127,-112(%rbp) +.L89: cmpq $127,-112(%rbp) jle .L142 jmp .L93 .L92: cmp -136(%rbp),%rax @@ -1925,7 +1925,7 @@ int32_sort_2power: add %rdx,-136(%rbp) jmp .L90 .L145: sarq $2,-112(%rbp) -.L94: cmp $15,-112(%rbp) +.L94: cmpq $15,-112(%rbp) jle .L144 mov -112(%rbp),%rcx xor %esi,%esi @@ -1962,7 +1962,7 @@ int32_sort_2power: .L146: add %rdx,%rsi add %rdx,%rcx jmp .L95 -.L144: cmp $8,-112(%rbp) +.L144: cmpq $8,-112(%rbp) je .L111 .L102: mov -152(%rbp),%rdx add -128(%rbp),%rdx @@ -1997,7 +1997,7 @@ int32_sort_2power: vpmaxsd %ymm3,%ymm5,%ymm3 vpminsd (%rdi),%ymm7,%ymm1 vpminsd %ymm2,%ymm4,%ymm10 - cmp $0,-116(%rbp) + cmpl $0,-116(%rbp) vpmaxsd (%rdi),%ymm7,%ymm0 vmovdqu (%rsi),%ymm7 vpmaxsd %ymm2,%ymm4,%ymm2 diff --git a/libc/nexgen32e/environ.S b/libc/nexgen32e/environ.S index 18585b65e94..6f8036c43fe 100644 --- a/libc/nexgen32e/environ.S +++ b/libc/nexgen32e/environ.S @@ -19,7 +19,7 @@ #include "libc/macros.h" #include "libc/notice.inc" -/ Environment variable pointer list. +// Environment variable pointer list. .bss .align 8 environ: diff --git a/libc/nexgen32e/errno.S b/libc/nexgen32e/errno.S index cd6f8537935..27e0296cffd 100644 --- a/libc/nexgen32e/errno.S +++ b/libc/nexgen32e/errno.S @@ -19,16 +19,16 @@ #include "libc/macros.h" .source __FILE__ -/ Global variable for last error. -/ -/ The system call wrappers update this with WIN32 error codes. -/ Unlike traditional libraries, Cosmopolitan error codes are -/ defined as variables. By convention, system calls and other -/ functions do not update this variable when nothing's broken. -/ -/ @see libc/sysv/consts.sh -/ @see libc/sysv/errfuns.h -/ @see __errno_location() stable abi +// Global variable for last error. +// +// The system call wrappers update this with WIN32 error codes. +// Unlike traditional libraries, Cosmopolitan error codes are +// defined as variables. By convention, system calls and other +// functions do not update this variable when nothing's broken. +// +// @see libc/sysv/consts.sh +// @see libc/sysv/errfuns.h +// @see __errno_location() stable abi .bss .align 4 errno: .long 0 diff --git a/libc/nexgen32e/errnolocation.S b/libc/nexgen32e/errnolocation.S index 722db898e6b..562ccb6f019 100644 --- a/libc/nexgen32e/errnolocation.S +++ b/libc/nexgen32e/errnolocation.S @@ -20,8 +20,8 @@ .source __FILE__ .keep.text # gdb needs it -/ Returns address of errno variable. -/ @note this isn't a universal definition +// Returns address of errno variable. +// @note this isn't a universal definition __errno_location: ezlea errno,ax ret diff --git a/libc/nexgen32e/explicit_bzero.S b/libc/nexgen32e/explicit_bzero.S index 0dae3a203a7..46166a7e05e 100644 --- a/libc/nexgen32e/explicit_bzero.S +++ b/libc/nexgen32e/explicit_bzero.S @@ -18,14 +18,14 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Sets memory to zero w/ accompanying non-optimizing macro. -/ -/ This is intended for security-conscious applications. This -/ implementation also hoses every register the abi allows. A -/ concomitant prototype (str.h) countermands compiler magic. -/ -/ @param rdi is dest -/ @param rsi is the number of bytes to set +// Sets memory to zero w/ accompanying non-optimizing macro. +// +// This is intended for security-conscious applications. This +// implementation also hoses every register the abi allows. A +// concomitant prototype (str.h) countermands compiler magic. +// +// @param rdi is dest +// @param rsi is the number of bytes to set explicit_bzero: .leafprologue mov %rsi,%rcx diff --git a/libc/nexgen32e/fentry.S b/libc/nexgen32e/fentry.S index 1e24738ee30..8da24a65a2a 100644 --- a/libc/nexgen32e/fentry.S +++ b/libc/nexgen32e/fentry.S @@ -21,11 +21,11 @@ .source __FILE__ .code16 # ∩ .code32 ∩ .code64 -/ Function entry hook stub. -/ -/ @note cc -pg -mfentry adds this to the start of every function -/ @see libc/log/shadowargs.ncabi.c -/ @mode long,legacy,real +// Function entry hook stub. +// +// @note cc -pg -mfentry adds this to the start of every function +// @see libc/log/shadowargs.ncabi.c +// @mode long,legacy,real __fentry__: ret .endfn __fentry__,weak diff --git a/libc/nexgen32e/ffs.S b/libc/nexgen32e/ffs.S index 2a179afdfde..503b9954494 100644 --- a/libc/nexgen32e/ffs.S +++ b/libc/nexgen32e/ffs.S @@ -18,22 +18,22 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Finds lowest set bit in word. -/ -/ uint32 𝑥 bsf(𝑥) tzcnt(𝑥) ffs(𝑥) bsr(𝑥) lzcnt(𝑥) -/ 0x00000000 wut 32 0 wut 32 -/ 0x00000001 0 0 1 0 31 -/ 0x80000001 0 0 1 31 0 -/ 0x80000000 31 31 32 31 0 -/ 0x00000010 4 4 5 4 27 -/ 0x08000010 4 4 5 27 4 -/ 0x08000000 27 27 28 27 4 -/ 0xffffffff 0 0 1 31 0 -/ -/ @param edi is the input number -/ @return number in range [1,32] or 0 if no bits set -/ @see also treasure trove of nearly identical functions -/ @asyncsignalsafe +// Finds lowest set bit in word. +// +// uint32 𝑥 bsf(𝑥) tzcnt(𝑥) ffs(𝑥) bsr(𝑥) lzcnt(𝑥) +// 0x00000000 wut 32 0 wut 32 +// 0x00000001 0 0 1 0 31 +// 0x80000001 0 0 1 31 0 +// 0x80000000 31 31 32 31 0 +// 0x00000010 4 4 5 4 27 +// 0x08000010 4 4 5 27 4 +// 0x08000000 27 27 28 27 4 +// 0xffffffff 0 0 1 31 0 +// +// @param edi is the input number +// @return number in range [1,32] or 0 if no bits set +// @see also treasure trove of nearly identical functions +// @asyncsignalsafe ffs: .leafprologue .profilable or $-1,%edx diff --git a/libc/nexgen32e/ffsl.S b/libc/nexgen32e/ffsl.S index 00de000de99..25cef203e75 100644 --- a/libc/nexgen32e/ffsl.S +++ b/libc/nexgen32e/ffsl.S @@ -18,22 +18,22 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Finds lowest set bit in word. -/ -/ uint32 𝑥 bsf(𝑥) tzcnt(𝑥) ffs(𝑥) bsr(𝑥) lzcnt(𝑥) -/ 0x00000000 wut 32 0 wut 32 -/ 0x00000001 0 0 1 0 31 -/ 0x80000001 0 0 1 31 0 -/ 0x80000000 31 31 32 31 0 -/ 0x00000010 4 4 5 4 27 -/ 0x08000010 4 4 5 27 4 -/ 0x08000000 27 27 28 27 4 -/ 0xffffffff 0 0 1 31 0 -/ -/ @param rdi is the input number -/ @return number in range [1,64] or 0 if no bits set -/ @see also treasure trove of nearly identical functions -/ @asyncsignalsafe +// Finds lowest set bit in word. +// +// uint32 𝑥 bsf(𝑥) tzcnt(𝑥) ffs(𝑥) bsr(𝑥) lzcnt(𝑥) +// 0x00000000 wut 32 0 wut 32 +// 0x00000001 0 0 1 0 31 +// 0x80000001 0 0 1 31 0 +// 0x80000000 31 31 32 31 0 +// 0x00000010 4 4 5 4 27 +// 0x08000010 4 4 5 27 4 +// 0x08000000 27 27 28 27 4 +// 0xffffffff 0 0 1 31 0 +// +// @param rdi is the input number +// @return number in range [1,64] or 0 if no bits set +// @see also treasure trove of nearly identical functions +// @asyncsignalsafe ffsl: .leafprologue .profilable or $-1,%edx diff --git a/libc/nexgen32e/gc.S b/libc/nexgen32e/gc.S index 5628728182c..5c2a6fee4e1 100644 --- a/libc/nexgen32e/gc.S +++ b/libc/nexgen32e/gc.S @@ -21,17 +21,17 @@ #include "libc/notice.inc" #define INITIAL_CAPACITY 4 -/ Invokes deferred function calls. -/ -/ This offers behavior similar to std::unique_ptr. Functions -/ overwrite their return addresses jumping here, and pushing -/ exactly one entry on the shadow stack below. Functions may -/ repeat that process multiple times, in which case the body -/ of this gadget loops and unwinds as a natural consequence. -/ -/ @param rax,rdx,xmm0,xmm1,st0,st1 is return value -/ @see test/libc/runtime/gc_test.c -/ +// Invokes deferred function calls. +// +// This offers behavior similar to std::unique_ptr. Functions +// overwrite their return addresses jumping here, and pushing +// exactly one entry on the shadow stack below. Functions may +// repeat that process multiple times, in which case the body +// of this gadget loops and unwinds as a natural consequence. +// +// @param rax,rdx,xmm0,xmm1,st0,st1 is return value +// @see test/libc/runtime/gc_test.c +// __gc: decq __garbage(%rip) mov __garbage(%rip),%r8 mov __garbage+16(%rip),%r9 @@ -41,7 +41,7 @@ __gc: decq __garbage(%rip) mov 8(%r8),%r9 mov 16(%r8),%rdi push 24(%r8) -/ +// push %rbp mov %rsp,%rbp sub $0x20,%rsp diff --git a/libc/nexgen32e/gc.internal.h b/libc/nexgen32e/gc.internal.h index 48cbe044c96..2e621005ba3 100644 --- a/libc/nexgen32e/gc.internal.h +++ b/libc/nexgen32e/gc.internal.h @@ -4,19 +4,22 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ +struct Garbage { + struct StackFrame *frame; + intptr_t fn; + intptr_t arg; + intptr_t ret; +}; + struct Garbages { size_t i, n; - struct Garbage { - struct StackFrame *frame; - intptr_t fn; - intptr_t arg; - intptr_t ret; - } * p; + struct Garbage *p; + struct Garbage initmem[1]; }; -hidden extern struct Garbages __garbage; +extern struct Garbages __garbage; -int64_t __gc(void) hidden; +int64_t __gc(void); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/nexgen32e/gclongjmp.S b/libc/nexgen32e/gclongjmp.S index 3b9e5c2fe0e..d248814f167 100644 --- a/libc/nexgen32e/gclongjmp.S +++ b/libc/nexgen32e/gclongjmp.S @@ -18,17 +18,17 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Jumps up stack to previous setjmp() invocation. -/ -/ This is the same as longjmp() but also unwinds the stack to free -/ memory, etc. that was registered using gc() or defer(). If GC -/ isn't linked, this behaves the same as longjmp(). -/ -/ @param rdi points to the jmp_buf which must be the same stack -/ @param esi is returned by setjmp() invocation (coerced nonzero) -/ @assume system five nexgen32e abi conformant -/ @see examples/ctrlc.c -/ @noreturn +// Jumps up stack to previous setjmp() invocation. +// +// This is the same as longjmp() but also unwinds the stack to free +// memory, etc. that was registered using gc() or defer(). If GC +// isn't linked, this behaves the same as longjmp(). +// +// @param rdi points to the jmp_buf which must be the same stack +// @param esi is returned by setjmp() invocation (coerced nonzero) +// @assume system five nexgen32e abi conformant +// @see examples/ctrlc.c +// @noreturn gclongjmp: .leafprologue .profilable diff --git a/libc/nexgen32e/identity.S b/libc/nexgen32e/identity.S index 59c21592ac6..f74a3c2d141 100644 --- a/libc/nexgen32e/identity.S +++ b/libc/nexgen32e/identity.S @@ -19,8 +19,8 @@ #include "libc/macros.h" #include "libc/notice.inc" -/ The identity() function. -/ @return first argument +// The identity() function. +// @return first argument identity: mov %rdi,%rax ret diff --git a/libc/nexgen32e/imapxlatab.S b/libc/nexgen32e/imapxlatab.S index 09b97f4d6b4..f5307dc1b4f 100644 --- a/libc/nexgen32e/imapxlatab.S +++ b/libc/nexgen32e/imapxlatab.S @@ -20,11 +20,11 @@ .text.startup .align 8 -/ Identity maps 256-byte translation table. -/ -/ @param char (*rdi)[256] -/ @speed 90mBps -/ @mode long +// Identity maps 256-byte translation table. +// +// @param char (*rdi)[256] +// @speed 90mBps +// @mode long imapxlatab: .leafprologue .profilable diff --git a/libc/nexgen32e/kbase36.S b/libc/nexgen32e/kbase36.S index 189e300eafb..7b8a9f17845 100644 --- a/libc/nexgen32e/kbase36.S +++ b/libc/nexgen32e/kbase36.S @@ -18,29 +18,29 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Base 36 Decoder Table. -/ -/ This supports uppercase and lowercase. For encoding, the string -/ 0123456789abcdefghijklmnopqrstuvwxyz can be used, which linkers -/ are able to deduplicate. +// Base 36 Decoder Table. +// +// This supports uppercase and lowercase. For encoding, the string +// 0123456789abcdefghijklmnopqrstuvwxyz can be used, which linkers +// are able to deduplicate. .initbss 300,_init_kBase36 kBase36:.zero 256 .endobj kBase36,globl,hidden .previous .init.start 300,_init_kBase36 - add $'0,%rdi + add $'0',%rdi xor %eax,%eax pushpop 10,%rcx 0: inc %eax stosb .loop 0b - add $'A-1-'9,%rdi - pushpop 'Z+1-'A,%rcx + add $'A'-1-'9',%rdi + pushpop 'Z'+1-'A',%rcx 0: inc %eax mov %al,0x20(%rdi) stosb .loop 0b - add $255-'Z,%rdi + add $255-'Z',%rdi .init.end 300,_init_kBase36 .source __FILE__ diff --git a/libc/nexgen32e/kcp437.S b/libc/nexgen32e/kcp437.S index 0379adc1530..fa86458c20b 100644 --- a/libc/nexgen32e/kcp437.S +++ b/libc/nexgen32e/kcp437.S @@ -21,43 +21,43 @@ .align 16 .source __FILE__ -/ ibm cp437 unicode table w/ string literal safety -/ -/ ░▄██▒▄█ ▐██ ░░░ ▀▀████▒▀█▄ -/ ▐███▓██░ ██▌ ▀████▄■█▄ -/ ▐█▓███▀█░██▀ ░ ░▀█████▓▄ -/ ▐█▓██▀▄█▒██▀ ▄▄░ ▄▄▄ ░░░ ░▀████▒▄ -/ ▐████▀▄█■█▀ ▀▀ ░█████░ -/ ▐█▓█▀████▀ ░ ▐▓███▒ -/ █░███▀▀ ░░░ ▄█ ░░░ █████ -/ ▐█▓█░▀▀ ░░▄█▄▄▄▄▄ ▀▄ ▌▄▄▄░▄▄▄▄▄ ▐████░ -/ ▐███▌ ▄▀█████████▄ ▌▐▄████████▄ ▐▓███░ -/ ▐███░░░▀▄█▀▄▄████▄▀░ ▐████████▒ ▀ ░███░ -/ ░████░ ▓▀ ▄███████▀▌ ▀▄■████▀▀█▀ ██▀█ -/ ▓███░ ░▄▀▀░░░ ▀ ░░▌ ▄▀▀▄░░▀░▄▀▄ ▐██▀▄ -/ ░███░ ▄▓▓▄▄░▀▀█▀█ ▌░░ ▀█▀█▀▀ ▐██▀ -/ █▀▄▐██ ▀░░ ▄▀ ▐ █ ▀ ▄▄▄░ ░▀▄█▄▀█ -/ ▌▄ █▓ ▒ ░ █▄█▄▀▄▄▄███▄▀▄ ░░ ░ ▀ █▌ -/ █▌▄░▌ ░░░▄▀█▀███████▄▀▄▀▄▀▀▄▄▄ █▀█░▐ -/ ██▄ ░░░▄█▄▀██▄█■██████▄█▄█▄■▀█░ ▐░▐ -/ ▀██░ ░▄██████████████████▄█▄█ ░█ ░ ▄▀ -/ ▀▓█▄▓░░ ▒█▀█████████████████████▒ ██▀ -/ ▀███ ▓▒ ██████████████▀▀▀▀█▄▀ ░▄█▒ -/ ▀███ ▀█▄▀▄█████▀▀ ▓▓▓▄░ ▐ ░▄██ -/ ▀██ ▄███████▄████████▀░░ ░▄██ -/ ▄██▀▀▄ █▄▀▄██▒▒███████████▀▀▀▄░ ░███░ -/ ▄██▀▄▄░░▀▐▄████▄ █████▀▄░░█▀▄▀░░ ▄██░ -/ █████▄▄▄███▀░█▌██▄▀▀█████▄▄░░░▄▄███▀██▄ ▄▀▀▀▄▄ -/ ▀██████▀■▄█▄▄ ░▀███████████████▓▓░░▄██▀▄████▄▄▀▄ -/ -/ █▀█ █ █▀█ █▀█ █▄▀ ▐▀█▀▌█▀█ █▀█ █▄ █ ▀█▀ █▀█ █▀▀ -/ █▀▄ █ █ █ █ █ ▀▄ █ █▀▄ █ █ █ ▀█ █ █ ▀▀█ -/ █▄█ █▄▌█▄█ █▄█ █ █ █ █ █ █▄█ █ █ ▄█▄ █▄█ █▄█ -/ -/ THERE WILL BE BLOCKS march 01 2017 -/ -/ @see libc/str/str.h -/ @see kCp437i[] +// ibm cp437 unicode table w/ string literal safety +// +// ░▄██▒▄█ ▐██ ░░░ ▀▀████▒▀█▄ +// ▐███▓██░ ██▌ ▀████▄■█▄ +// ▐█▓███▀█░██▀ ░ ░▀█████▓▄ +// ▐█▓██▀▄█▒██▀ ▄▄░ ▄▄▄ ░░░ ░▀████▒▄ +// ▐████▀▄█■█▀ ▀▀ ░█████░ +// ▐█▓█▀████▀ ░ ▐▓███▒ +// █░███▀▀ ░░░ ▄█ ░░░ █████ +// ▐█▓█░▀▀ ░░▄█▄▄▄▄▄ ▀▄ ▌▄▄▄░▄▄▄▄▄ ▐████░ +// ▐███▌ ▄▀█████████▄ ▌▐▄████████▄ ▐▓███░ +// ▐███░░░▀▄█▀▄▄████▄▀░ ▐████████▒ ▀ ░███░ +// ░████░ ▓▀ ▄███████▀▌ ▀▄■████▀▀█▀ ██▀█ +// ▓███░ ░▄▀▀░░░ ▀ ░░▌ ▄▀▀▄░░▀░▄▀▄ ▐██▀▄ +// ░███░ ▄▓▓▄▄░▀▀█▀█ ▌░░ ▀█▀█▀▀ ▐██▀ +// █▀▄▐██ ▀░░ ▄▀ ▐ █ ▀ ▄▄▄░ ░▀▄█▄▀█ +// ▌▄ █▓ ▒ ░ █▄█▄▀▄▄▄███▄▀▄ ░░ ░ ▀ █▌ +// █▌▄░▌ ░░░▄▀█▀███████▄▀▄▀▄▀▀▄▄▄ █▀█░▐ +// ██▄ ░░░▄█▄▀██▄█■██████▄█▄█▄■▀█░ ▐░▐ +// ▀██░ ░▄██████████████████▄█▄█ ░█ ░ ▄▀ +// ▀▓█▄▓░░ ▒█▀█████████████████████▒ ██▀ +// ▀███ ▓▒ ██████████████▀▀▀▀█▄▀ ░▄█▒ +// ▀███ ▀█▄▀▄█████▀▀ ▓▓▓▄░ ▐ ░▄██ +// ▀██ ▄███████▄████████▀░░ ░▄██ +// ▄██▀▀▄ █▄▀▄██▒▒███████████▀▀▀▄░ ░███░ +// ▄██▀▄▄░░▀▐▄████▄ █████▀▄░░█▀▄▀░░ ▄██░ +// █████▄▄▄███▀░█▌██▄▀▀█████▄▄░░░▄▄███▀██▄ ▄▀▀▀▄▄ +// ▀██████▀■▄█▄▄ ░▀███████████████▓▓░░▄██▀▄████▄▄▀▄ +// +// █▀█ █ █▀█ █▀█ █▄▀ ▐▀█▀▌█▀█ █▀█ █▄ █ ▀█▀ █▀█ █▀▀ +// █▀▄ █ █ █ █ █ ▀▄ █ █▀▄ █ █ █ ▀█ █ █ ▀▀█ +// █▄█ █▄▌█▄█ █▄█ █ █ █ █ █ █▄█ █ █ ▄█▄ █▄█ █▄█ +// +// THERE WILL BE BLOCKS march 01 2017 +// +// @see libc/str/str.h +// @see kCp437i[] kCp437: .short 0x00a0,0x263a,0x263b,0x2665,0x2666,0x2663,0x2660,0x2022 #00: ☺☻♥♦♣♠• .short 0x25d8,0x25cb,0x25d9,0x2642,0x2640,0x266a,0x266b,0x263c #08:◘○◙♂♀♪♫☼ diff --git a/libc/nexgen32e/kcpuids.S b/libc/nexgen32e/kcpuids.S index d30108c9a82..d3f71dd2075 100644 --- a/libc/nexgen32e/kcpuids.S +++ b/libc/nexgen32e/kcpuids.S @@ -22,14 +22,14 @@ #include "libc/nexgen32e/kcpuids.h" #include "libc/nexgen32e/x86feature.h" -/ Globally precomputed CPUID. -/ -/ This module lets us check CPUID in 0.06ns rather than 51.00ns. -/ If every piece of native software linked this module, then the -/ world would be a much better place; since all the alternatives -/ are quite toilsome. -/ -/ @see www.felixcloutier.com/x86/cpuid +// Globally precomputed CPUID. +// +// This module lets us check CPUID in 0.06ns rather than 51.00ns. +// If every piece of native software linked this module, then the +// world would be a much better place; since all the alternatives +// are quite toilsome. +// +// @see www.felixcloutier.com/x86/cpuid .initbss 201,_init_kCpuids kCpuids:.long 0,0,0,0 # EAX=0 (Basic Processor Info) .long 0,0,0,0 # EAX=1 (Processor Info) diff --git a/libc/nexgen32e/kcrc32ctab.S b/libc/nexgen32e/kcrc32ctab.S index c1ba62c9b70..0e0defa0697 100644 --- a/libc/nexgen32e/kcrc32ctab.S +++ b/libc/nexgen32e/kcrc32ctab.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Castagnoli CRC32 ISCSI Polynomial -/ x^32+x^26+x^23+x^22+x^16+x^12+x^11+x^10+x^8+x^7+x^5+x^4+x^2+x+1 -/ 0b00011110110111000110111101000001 -/ bitreverse32(0x1edc6f41) +// Castagnoli CRC32 ISCSI Polynomial +// x^32+x^26+x^23+x^22+x^16+x^12+x^11+x^10+x^8+x^7+x^5+x^4+x^2+x+1 +// 0b00011110110111000110111101000001 +// bitreverse32(0x1edc6f41) #define ISCSI_POLYNOMIAL 0x82f63b78 .initbss 300,_init_kCrc32cTab diff --git a/libc/nexgen32e/khalfcache3.S b/libc/nexgen32e/khalfcache3.S index d807f02517b..4c10a7746b4 100644 --- a/libc/nexgen32e/khalfcache3.S +++ b/libc/nexgen32e/khalfcache3.S @@ -19,7 +19,7 @@ #include "libc/macros.h" .initbss 202,_init_kHalfCache3 -/ Half size of level 3 cache in bytes. +// Half size of level 3 cache in bytes. kHalfCache3: .quad 0 .endobj kHalfCache3,globl diff --git a/libc/nexgen32e/ksigsetempty.S b/libc/nexgen32e/ksigsetempty.S index 7bde0b2083b..ee39533d770 100644 --- a/libc/nexgen32e/ksigsetempty.S +++ b/libc/nexgen32e/ksigsetempty.S @@ -18,7 +18,7 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Signal mask constant w/ no signal bits set. +// Signal mask constant w/ no signal bits set. .initbss 300,_init_kSigsetEmpty kSigsetEmpty: .rept NSIG / 64 diff --git a/libc/nexgen32e/ksigsetfull.S b/libc/nexgen32e/ksigsetfull.S index a2a4c70d03d..720646b86a9 100644 --- a/libc/nexgen32e/ksigsetfull.S +++ b/libc/nexgen32e/ksigsetfull.S @@ -18,7 +18,7 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Signal mask constant w/ every signal bit set. +// Signal mask constant w/ every signal bit set. .initbss 300,_init_kSigsetFull kSigsetFull: .rept NSIG / 64 diff --git a/libc/nexgen32e/kstarttsc.S b/libc/nexgen32e/kstarttsc.S index 7a1226e04b7..b9fe316f8d9 100644 --- a/libc/nexgen32e/kstarttsc.S +++ b/libc/nexgen32e/kstarttsc.S @@ -18,11 +18,11 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Stores CPU Timestamp Counter at startup. -/ -/ It can be useful as an added source of seeding information. -/ -/ @note rdtsc is a 25 cycle instruction +// Stores CPU Timestamp Counter at startup. +// +// It can be useful as an added source of seeding information. +// +// @note rdtsc is a 25 cycle instruction .initbss 200,_init_kStartTsc kStartTsc: .quad 0 diff --git a/libc/nexgen32e/ktolower.S b/libc/nexgen32e/ktolower.S index 006e7b47176..68ca851d55f 100644 --- a/libc/nexgen32e/ktolower.S +++ b/libc/nexgen32e/ktolower.S @@ -18,12 +18,12 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ ASCII uppercase → lowercase translation tables. -/ -/ char kToLower[256]; -/ char16_t kToLower16[256]; -/ -/ @note kToLower16 saves 128kb; CMOVcc can't even 8-bit +// ASCII uppercase → lowercase translation tables. +// +// char kToLower[256]; +// char16_t kToLower16[256]; +// +// @note kToLower16 saves 128kb; CMOVcc can't even 8-bit .initbss 300,_init_kToLower kToLower: .rept 256 @@ -43,8 +43,8 @@ kToLower16: xchg %rsi,(%rsp) xor %ecx,%ecx 0: inc %ecx - addb $0x20,'A-1(%rsi,%rcx) - cmp $'Z-'A,%ecx + addb $0x20,'A'-1(%rsi,%rcx) + cmp $'Z'-'A',%ecx jne 0b xor %eax,%eax mov $256,%ecx diff --git a/libc/nexgen32e/llog10.S b/libc/nexgen32e/llog10.S index 92cda7511d9..fd33d641b7b 100644 --- a/libc/nexgen32e/llog10.S +++ b/libc/nexgen32e/llog10.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Fast log₁₀ when 𝑥 is an integer. -/ -/ @param rdi is uint64 𝑥 -/ @domain 0<𝑥<2⁶⁴ ∧ 𝑥∊ℤ +// Fast log₁₀ when 𝑥 is an integer. +// +// @param rdi is uint64 𝑥 +// @domain 0<𝑥<2⁶⁴ ∧ 𝑥∊ℤ llog10: .leafprologue .profilable bsr %rdi,%rax diff --git a/libc/nexgen32e/loadxmm.S b/libc/nexgen32e/loadxmm.S index 44d15b5eb86..b9f4b07f671 100644 --- a/libc/nexgen32e/loadxmm.S +++ b/libc/nexgen32e/loadxmm.S @@ -19,11 +19,12 @@ #include "libc/macros.h" .privileged -/ Loads XMM registers from buffer. -/ -/ @param %rdi points to &(forcealign(16) uint8_t[256])[128] -/ @note modern cpus have out-of-order execution engines -loadxmm:.leafprologue +// Loads XMM registers from buffer. +// +// @param %rdi points to &(forcealign(16) uint8_t[256])[128] +// @note modern cpus have out-of-order execution engines +loadxmm: + .leafprologue movaps -0x80(%rdi),%xmm0 movaps -0x70(%rdi),%xmm1 movaps -0x60(%rdi),%xmm2 diff --git a/libc/nexgen32e/lolendian.S b/libc/nexgen32e/lolendian.S index 0a53fde7e5f..7c2c54912e3 100644 --- a/libc/nexgen32e/lolendian.S +++ b/libc/nexgen32e/lolendian.S @@ -18,16 +18,16 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ @fileoverview Byte-order conversion functions. -/ -/ Endianness is deceptively complicated to the uninitiated. Many -/ helpers have been written by our top minds to address perceived -/ difficulties. These ones got through standardization processes. -/ To protect their legacy, all 19 functions have been implemented -/ in just 17 bytes. -/ -/ @see READ32LE(), READ32BE(), etc. -/ @asyncsignalsafe +// @fileoverview Byte-order conversion functions. +// +// Endianness is deceptively complicated to the uninitiated. Many +// helpers have been written by our top minds to address perceived +// difficulties. These ones got through standardization processes. +// To protect their legacy, all 19 functions have been implemented +// in just 17 bytes. +// +// @see READ32LE(), READ32BE(), etc. +// @asyncsignalsafe bswap_64: htobe64: diff --git a/libc/nexgen32e/longjmp.S b/libc/nexgen32e/longjmp.S index 6f8f72fb41a..323542993a3 100644 --- a/libc/nexgen32e/longjmp.S +++ b/libc/nexgen32e/longjmp.S @@ -19,14 +19,14 @@ #include "libc/macros.h" .privileged -/ Loads previously saved processor state. -/ -/ @param rdi points to the jmp_buf -/ @param esi is returned by setjmp() invocation (coerced nonzero) -/ @noreturn -/ @assume system five nexgen32e abi conformant -/ @note code built w/ microsoft abi compiler can't call this -/ @see gclongjmp() unwinds gc() destructors +// Loads previously saved processor state. +// +// @param rdi points to the jmp_buf +// @param esi is returned by setjmp() invocation (coerced nonzero) +// @noreturn +// @assume system five nexgen32e abi conformant +// @note code built w/ microsoft abi compiler can't call this +// @see gclongjmp() unwinds gc() destructors longjmp:mov %esi,%eax test %eax,%eax jnz 1f diff --git a/libc/nexgen32e/lzcnt.S b/libc/nexgen32e/lzcnt.S index ea1dc496cd3..acce0409e04 100644 --- a/libc/nexgen32e/lzcnt.S +++ b/libc/nexgen32e/lzcnt.S @@ -18,21 +18,21 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Finds leading bits in 𝑥. -/ -/ uint32 𝑥 bsf(𝑥) tzcnt(𝑥) ffs(𝑥) bsr(𝑥) lzcnt(𝑥) -/ 0x00000000 wut 32 0 wut 32 -/ 0x00000001 0 0 1 0 31 -/ 0x80000001 0 0 1 31 0 -/ 0x80000000 31 31 32 31 0 -/ 0x00000010 4 4 5 4 27 -/ 0x08000010 4 4 5 27 4 -/ 0x08000000 27 27 28 27 4 -/ 0xffffffff 0 0 1 31 0 -/ -/ @param edi is 32-bit unsigned 𝑥 value -/ @return eax number in range [0,32) or 32 if 𝑥 is 0 -/ @see also treasure trove of nearly identical functions +// Finds leading bits in 𝑥. +// +// uint32 𝑥 bsf(𝑥) tzcnt(𝑥) ffs(𝑥) bsr(𝑥) lzcnt(𝑥) +// 0x00000000 wut 32 0 wut 32 +// 0x00000001 0 0 1 0 31 +// 0x80000001 0 0 1 31 0 +// 0x80000000 31 31 32 31 0 +// 0x00000010 4 4 5 4 27 +// 0x08000010 4 4 5 27 4 +// 0x08000000 27 27 28 27 4 +// 0xffffffff 0 0 1 31 0 +// +// @param edi is 32-bit unsigned 𝑥 value +// @return eax number in range [0,32) or 32 if 𝑥 is 0 +// @see also treasure trove of nearly identical functions lzcnt: .leafprologue .profilable mov $31,%eax diff --git a/libc/nexgen32e/lzcntl.S b/libc/nexgen32e/lzcntl.S index af8b1dcfb5d..fb325614bb2 100644 --- a/libc/nexgen32e/lzcntl.S +++ b/libc/nexgen32e/lzcntl.S @@ -18,21 +18,21 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Finds leading bits in 𝑥. -/ -/ uint32 𝑥 bsf(𝑥) tzcnt(𝑥) ffs(𝑥) bsr(𝑥) lzcnt(𝑥) -/ 0x00000000 wut 32 0 wut 32 -/ 0x00000001 0 0 1 0 31 -/ 0x80000001 0 0 1 31 0 -/ 0x80000000 31 31 32 31 0 -/ 0x00000010 4 4 5 4 27 -/ 0x08000010 4 4 5 27 4 -/ 0x08000000 27 27 28 27 4 -/ 0xffffffff 0 0 1 31 0 -/ -/ @param rdi is 64-bit unsigned 𝑥 value -/ @return rax number in range [0,64) or 64 if 𝑥 is 0 -/ @see also treasure trove of nearly identical functions +// Finds leading bits in 𝑥. +// +// uint32 𝑥 bsf(𝑥) tzcnt(𝑥) ffs(𝑥) bsr(𝑥) lzcnt(𝑥) +// 0x00000000 wut 32 0 wut 32 +// 0x00000001 0 0 1 0 31 +// 0x80000001 0 0 1 31 0 +// 0x80000000 31 31 32 31 0 +// 0x00000010 4 4 5 4 27 +// 0x08000010 4 4 5 27 4 +// 0x08000000 27 27 28 27 4 +// 0xffffffff 0 0 1 31 0 +// +// @param rdi is 64-bit unsigned 𝑥 value +// @return rax number in range [0,64) or 64 if 𝑥 is 0 +// @see also treasure trove of nearly identical functions lzcntl: .leafprologue .profilable mov $31,%eax diff --git a/libc/nexgen32e/macros.internal.inc b/libc/nexgen32e/macros.internal.inc index 639824cb6c1..0b997508d20 100644 --- a/libc/nexgen32e/macros.internal.inc +++ b/libc/nexgen32e/macros.internal.inc @@ -19,46 +19,46 @@ #include "libc/macros.h" #include "libc/nexgen32e/x86feature.h" -/ Broadcast byte literal to vector, e.g. -/ -/ # xmm0=0x12121212121212121212121212121212 -/ .bcblit $0x12,%al,%eax,%xmm0 -/ -/ @param reg and regSI need to be the same register +// Broadcast byte literal to vector, e.g. +// +// # xmm0=0x12121212121212121212121212121212 +// .bcblit $0x12,%al,%eax,%xmm0 +// +// @param reg and regSI need to be the same register .macro .bcblit lit:req reg:req regSI:req xmm:req mov \lit,\reg movd \regSI,\xmm pbroadcastb \xmm .endm -/ Broadcast word literal to vector, e.g. -/ -/ # xmm0=0x01230123012301230123012301230123 -/ .bcwlit $0x123,%ax,%eax,%xmm0 -/ -/ @param reg and regSI need to be the same register +// Broadcast word literal to vector, e.g. +// +// # xmm0=0x01230123012301230123012301230123 +// .bcwlit $0x123,%ax,%eax,%xmm0 +// +// @param reg and regSI need to be the same register .macro .bcwlit lit:req reg:req regSI:req xmm:req mov \lit,\reg movd \regSI,\xmm pbroadcastw \xmm .endm -/ Broadcast int16 from register to vector. +// Broadcast int16 from register to vector. .macro .bcwreg regSI:req xmm:req movd \regSI,\xmm pbroadcastw \xmm .endm -/ Sets all bytes in XMM register to first byte, e.g. -/ -/ mov $0x11,%eax -/ movd %eax,%xmm0 -/ pbroadcastb %xmm0 -/ -/ 11000000000000000000000000000000 -/ → 11111111111111111111111111111111 -/ -/ @param xmm can be %xmm0,%xmm1,etc. +// Sets all bytes in XMM register to first byte, e.g. +// +// mov $0x11,%eax +// movd %eax,%xmm0 +// pbroadcastb %xmm0 +// +// 11000000000000000000000000000000 +// → 11111111111111111111111111111111 +// +// @param xmm can be %xmm0,%xmm1,etc. .macro pbroadcastb xmm:req #if X86_NEED(AVX2) vpbroadcastb \xmm,\xmm @@ -69,16 +69,16 @@ #endif .endm -/ Sets all words in XMM register to first word, e.g. -/ -/ mov $0x1234,%eax -/ movd %eax,%xmm0 -/ pbroadcastw %xmm0 -/ -/ 12340000000000000000000000000000 -/ → 12341234123412341234123412341234 -/ -/ @param xmm can be %xmm0,%xmm1,etc. +// Sets all words in XMM register to first word, e.g. +// +// mov $0x1234,%eax +// movd %eax,%xmm0 +// pbroadcastw %xmm0 +// +// 12340000000000000000000000000000 +// → 12341234123412341234123412341234 +// +// @param xmm can be %xmm0,%xmm1,etc. .macro pbroadcastw xmm:req #if X86_NEED(AVX2) vpbroadcastw \xmm,\xmm diff --git a/libc/nexgen32e/mcount.S b/libc/nexgen32e/mcount.S index 48c2a04851f..aee886b3d71 100644 --- a/libc/nexgen32e/mcount.S +++ b/libc/nexgen32e/mcount.S @@ -21,7 +21,7 @@ .source __FILE__ .code16 # ∩ .code32 ∩ .code64 -/ Function Profiling Hook. -/ cc -pg adds this to the start of global functions. +// Function Profiling Hook. +// cc -pg adds this to the start of global functions. mcount: ret .endfn mcount,weak diff --git a/libc/nexgen32e/memcpy.S b/libc/nexgen32e/memcpy.S index a355155a808..b7b2691179a 100644 --- a/libc/nexgen32e/memcpy.S +++ b/libc/nexgen32e/memcpy.S @@ -30,28 +30,28 @@ #include "libc/nexgen32e/x86feature.h" #include "libc/macros.h" -/ Copies memory. -/ -/ DEST and SRC must not overlap, unless DEST≤SRC. -/ -/ @param rdi is dest -/ @param rsi is src -/ @param rdx is number of bytes -/ @return original rdi copied to rax -/ @mode long -/ @asyncsignalsafe +// Copies memory. +// +// DEST and SRC must not overlap, unless DEST≤SRC. +// +// @param rdi is dest +// @param rsi is src +// @param rdx is number of bytes +// @return original rdi copied to rax +// @mode long +// @asyncsignalsafe memcpy: mov %rdi,%rax -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .align 16 .endfn memcpy,globl -/ Copies memory w/ minimal impact ABI. -/ -/ @param rdi is dest -/ @param rsi is src -/ @param rdx is number of bytes -/ @clob flags,rcx,xmm3,xmm4 -/ @mode long +// Copies memory w/ minimal impact ABI. +// +// @param rdi is dest +// @param rsi is src +// @param rdx is number of bytes +// @clob flags,rcx,xmm3,xmm4 +// @mode long MemCpy: .leafprologue .profilable mov $.Lmemcpytab.ro.size,%ecx diff --git a/libc/nexgen32e/memeqmask.S b/libc/nexgen32e/memeqmask.S index f3b7e3964f5..2db3b591992 100644 --- a/libc/nexgen32e/memeqmask.S +++ b/libc/nexgen32e/memeqmask.S @@ -18,14 +18,14 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Creates bit mask of which bytes are the same. -/ -/ @param %rdi points to bit mask (write-only) -/ @param %rsi points to first buffer (read-only) -/ @param %rdx points to second buffer (read-only) -/ @param %rcx is byte length of both %rsi and %rdx -/ @return %rax is set to %rdi -/ @note buffers should be 128-byte aligned +// Creates bit mask of which bytes are the same. +// +// @param %rdi points to bit mask (write-only) +// @param %rsi points to first buffer (read-only) +// @param %rdx points to second buffer (read-only) +// @param %rcx is byte length of both %rsi and %rdx +// @return %rax is set to %rdi +// @note buffers should be 128-byte aligned memeqmask: .leafprologue xor %eax,%eax diff --git a/libc/nexgen32e/memjmpinit.S b/libc/nexgen32e/memjmpinit.S index d134ccf834b..6ea6e7130c0 100644 --- a/libc/nexgen32e/memjmpinit.S +++ b/libc/nexgen32e/memjmpinit.S @@ -20,13 +20,13 @@ #include "libc/macros.h" .text.startup -/ Initializes jump table for memset() and memcpy(). -/ -/ @param !ZF if required cpu vector extensions are available -/ @param rdi is address of 64-bit jump table -/ @param rsi is address of 8-bit jump initializers -/ @param rdx is address of indirect branch -/ @param ecx is size of jump table +// Initializes jump table for memset() and memcpy(). +// +// @param !ZF if required cpu vector extensions are available +// @param rdi is address of 64-bit jump table +// @param rsi is address of 8-bit jump initializers +// @param rdx is address of indirect branch +// @param ecx is size of jump table memjmpinit: .leafprologue setnz %r8b diff --git a/libc/nexgen32e/memmove.S b/libc/nexgen32e/memmove.S index 8ea041c54be..33f63143773 100644 --- a/libc/nexgen32e/memmove.S +++ b/libc/nexgen32e/memmove.S @@ -18,19 +18,19 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Copies memory. -/ -/ DEST and SRC may overlap. -/ -/ @param rdi is dest -/ @param rsi is src -/ @param rdx is number of bytes -/ @return original rdi copied to rax -/ @clob flags,rcx -/ @asyncsignalsafe +// Copies memory. +// +// DEST and SRC may overlap. +// +// @param rdi is dest +// @param rsi is src +// @param rdx is number of bytes +// @return original rdi copied to rax +// @clob flags,rcx +// @asyncsignalsafe memmove: mov %rdi,%rax -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn MemMove,globl,hidden MemMove: diff --git a/libc/nexgen32e/mempcpy.S b/libc/nexgen32e/mempcpy.S index 8f67c4b0698..51ba0bef768 100644 --- a/libc/nexgen32e/mempcpy.S +++ b/libc/nexgen32e/mempcpy.S @@ -19,14 +19,14 @@ #include "libc/macros.h" .source __FILE__ -/ Copies memory. -/ -/ DEST and SRC must not overlap unless DEST ≤ SRC. -/ -/ @param rdi is dest -/ @param rsi is src -/ @param rdx is number of bytes -/ @return original rdi + rdx copied to rax +// Copies memory. +// +// DEST and SRC must not overlap unless DEST ≤ SRC. +// +// @param rdi is dest +// @param rsi is src +// @param rdx is number of bytes +// @return original rdi + rdx copied to rax mempcpy: lea (%rdi,%rdx),%rax jmp MemCpy diff --git a/libc/nexgen32e/memrchr.S b/libc/nexgen32e/memrchr.S index 47864305e58..03abb4fced4 100644 --- a/libc/nexgen32e/memrchr.S +++ b/libc/nexgen32e/memrchr.S @@ -20,14 +20,14 @@ #include "libc/dce.h" #include "libc/macros.h" -/ Searches for last instance of byte in memory region. -/ -/ @param rdi points to data to search -/ @param esi is treated as unsigned char -/ @param rdx is byte length of rdi -/ @return rax is address of last %sil in %rdi, or NULL -/ @note AVX2 requires Haswell (2014+) or Excavator (2015+) -/ @asyncsignalsafe +// Searches for last instance of byte in memory region. +// +// @param rdi points to data to search +// @param esi is treated as unsigned char +// @param rdx is byte length of rdi +// @return rax is address of last %sil in %rdi, or NULL +// @note AVX2 requires Haswell (2014+) or Excavator (2015+) +// @asyncsignalsafe memrchr:.leafprologue .profilable #if !IsTiny() diff --git a/libc/nexgen32e/memrchr16.S b/libc/nexgen32e/memrchr16.S index 86ef74a52e4..055ef4ad88e 100644 --- a/libc/nexgen32e/memrchr16.S +++ b/libc/nexgen32e/memrchr16.S @@ -20,13 +20,13 @@ #include "libc/dce.h" #include "libc/macros.h" -/ Searches for last instance of uint16_t in memory region. -/ -/ @param rdi points to data to search -/ @param esi is treated as uint16_t -/ @param rdx is short count in rdi -/ @return rax is address of last %si in %rdi, or NULL -/ @note AVX2 requires Haswell (2014+) or Excavator (2015+) +// Searches for last instance of uint16_t in memory region. +// +// @param rdi points to data to search +// @param esi is treated as uint16_t +// @param rdx is short count in rdi +// @return rax is address of last %si in %rdi, or NULL +// @note AVX2 requires Haswell (2014+) or Excavator (2015+) memrchr16: .leafprologue .profilable diff --git a/libc/nexgen32e/memrchr32.S b/libc/nexgen32e/memrchr32.S index 368e13fe1b8..d30ce2c2234 100644 --- a/libc/nexgen32e/memrchr32.S +++ b/libc/nexgen32e/memrchr32.S @@ -20,13 +20,13 @@ #include "libc/dce.h" #include "libc/macros.h" -/ Searches for last instance of wchar_t in memory region. -/ -/ @param rdi points to data to search -/ @param esi is treated as int32_t (officially wchar_t) -/ @param rdx is short count in rdi -/ @return rax is address of last %esi in %rdi, or NULL -/ @note AVX2 requires Haswell (2014+) or Excavator (2015+) +// Searches for last instance of wchar_t in memory region. +// +// @param rdi points to data to search +// @param esi is treated as int32_t (officially wchar_t) +// @param rdx is short count in rdi +// @return rax is address of last %esi in %rdi, or NULL +// @note AVX2 requires Haswell (2014+) or Excavator (2015+) wmemrchr: .leafprologue .profilable diff --git a/libc/nexgen32e/memset.S b/libc/nexgen32e/memset.S index 04c025efc91..8860123bcca 100644 --- a/libc/nexgen32e/memset.S +++ b/libc/nexgen32e/memset.S @@ -24,26 +24,26 @@ #include "libc/nexgen32e/macros.h" #include "libc/macros.h" -/ Sets memory. -/ -/ @param rdi is dest -/ @param esi is the byte to set -/ @param edx is the number of bytes to set -/ @return original rdi copied to rax -/ @mode long -/ @asyncsignalsafe +// Sets memory. +// +// @param rdi is dest +// @param esi is the byte to set +// @param edx is the number of bytes to set +// @return original rdi copied to rax +// @mode long +// @asyncsignalsafe memset: mov %rdi,%rax -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .align 16 .endfn memset,globl -/ Sets memory w/ minimal-impact ABI. -/ -/ @param rdi is dest -/ @param esi is the byte to set -/ @param edx is the number of bytes to set -/ @clob flags,rcx,xmm3 -/ @mode long +// Sets memory w/ minimal-impact ABI. +// +// @param rdi is dest +// @param esi is the byte to set +// @param edx is the number of bytes to set +// @clob flags,rcx,xmm3 +// @mode long MemSet: .leafprologue .profilable mov $.Lmemsettab.ro.size,%ecx diff --git a/libc/nexgen32e/missingno.S b/libc/nexgen32e/missingno.S index 81efd245a2c..9c9db59201c 100644 --- a/libc/nexgen32e/missingno.S +++ b/libc/nexgen32e/missingno.S @@ -21,7 +21,7 @@ .source __FILE__ .code16 # ∩ .code32 ∩ .code64 -/ Optional function stub. +// Optional function stub. missingno: xor %ax,%ax ret diff --git a/libc/nexgen32e/nt2sysv.S b/libc/nexgen32e/nt2sysv.S index 3f89cb55105..3ea1f369d02 100644 --- a/libc/nexgen32e/nt2sysv.S +++ b/libc/nexgen32e/nt2sysv.S @@ -19,16 +19,16 @@ #include "libc/macros.h" .text.windows -/ Translates function call from code built w/ MS-style compiler. -/ -/ This wraps WinMain() and callback functions passed to Win32 API. -/ Please note an intermediary jump slot is needed to set %rax. -/ -/ @param %rax is function address -/ @param %rcx,%rdx,%r8,%r9 -/ @return %rax,%xmm0 -/ @note slower than __sysv2nt -/ @see NT2SYSV() macro +// Translates function call from code built w/ MS-style compiler. +// +// This wraps WinMain() and callback functions passed to Win32 API. +// Please note an intermediary jump slot is needed to set %rax. +// +// @param %rax is function address +// @param %rcx,%rdx,%r8,%r9 +// @return %rax,%xmm0 +// @note slower than __sysv2nt +// @see NT2SYSV() macro __nt2sysv: push %rbp mov %rsp,%rbp diff --git a/libc/nexgen32e/pcmpstr.inc b/libc/nexgen32e/pcmpstr.inc index 5032f414050..0e977d1462e 100644 --- a/libc/nexgen32e/pcmpstr.inc +++ b/libc/nexgen32e/pcmpstr.inc @@ -17,38 +17,38 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -/ Documentation for Intel(R)'s “Most Complicated Instruction”(TM) -/ -/ mnemonic op1 op2 op3 op4 modif f description, notes -/ ═══════════ ════ ════ ════ ═══ ════════ ═════════════════════════════ -/ PCMPESTRM XMM0 Vdq Wdq ... o..szapc Explicit Length, Return Mask -/ PCMPESTRI rCX Vdq Wdq ... o..szapc Explicit Length, Return Index -/ PCMPISTRM XMM0 Vdq Wdq Ib o..szapc Implicit Length, Return Mask -/ PCMPISTRI rCX Vdq Wdq Ib o..szapc Implicit Length, Return Index -/ -/ CF ← Reset if IntRes2 is equal to zero, set otherwise -/ ZF ← Set if any byte/word of xmm2/mem128 is null, reset otherwise -/ SF ← Set if any byte/word of xmm1 is null, reset otherwise -/ OF ← IntRes2[0] -/ AF ← Reset -/ PF ← Reset -/ -/ PCMP{E,I}STR{I,M} Control Byte -/ @see Intel Manual V.2B §4.1.7 -/ -/ ┌─0:index of the LEAST significant, set, bit is used -/ │ regardless of corresponding input element validity -/ │ intres2 is returned in least significant bits of xmm0 -/ ├─1:index of the MOST significant, set, bit is used -/ │ regardless of corresponding input element validity -/ │ each bit of intres2 is expanded to byte/word -/ │┌─0:negation of intres1 is for all 16 (8) bits -/ │├─1:negation of intres1 is masked by reg/mem validity -/ ││┌─intres1 is negated (1’s complement) -/ │││┌─mode{equalany,ranges,equaleach,equalordered} -/ ││││ ┌─issigned -/ ││││ │┌─is16bit -/ u│││├┐││ +// Documentation for Intel(R)'s “Most Complicated Instruction”(TM) +// +// mnemonic op1 op2 op3 op4 modif f description, notes +// ═══════════ ════ ════ ════ ═══ ════════ ═════════════════════════════ +// PCMPESTRM XMM0 Vdq Wdq ... o..szapc Explicit Length, Return Mask +// PCMPESTRI rCX Vdq Wdq ... o..szapc Explicit Length, Return Index +// PCMPISTRM XMM0 Vdq Wdq Ib o..szapc Implicit Length, Return Mask +// PCMPISTRI rCX Vdq Wdq Ib o..szapc Implicit Length, Return Index +// +// CF ← Reset if IntRes2 is equal to zero, set otherwise +// ZF ← Set if any byte/word of xmm2/mem128 is null, reset otherwise +// SF ← Set if any byte/word of xmm1 is null, reset otherwise +// OF ← IntRes2[0] +// AF ← Reset +// PF ← Reset +// +// PCMP{E,I}STR{I,M} Control Byte +// @see Intel Manual V.2B §4.1.7 +// +// ┌─0:index of the LEAST significant, set, bit is used +// │ regardless of corresponding input element validity +// │ intres2 is returned in least significant bits of xmm0 +// ├─1:index of the MOST significant, set, bit is used +// │ regardless of corresponding input element validity +// │ each bit of intres2 is expanded to byte/word +// │┌─0:negation of intres1 is for all 16 (8) bits +// │├─1:negation of intres1 is masked by reg/mem validity +// ││┌─intres1 is negated (1’s complement) +// │││┌─mode{equalany,ranges,equaleach,equalordered} +// ││││ ┌─issigned +// ││││ │┌─is16bit +// u│││├┐││ .Lequalordered = 0b00001100 .Lequalorder16 = 0b00001101 .Lequalranges8 = 0b00000100 diff --git a/libc/nexgen32e/program_invocation_name.S b/libc/nexgen32e/program_invocation_name.S index d53d032fb45..dd6823ea8bf 100644 --- a/libc/nexgen32e/program_invocation_name.S +++ b/libc/nexgen32e/program_invocation_name.S @@ -18,7 +18,7 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Supplies argv[0] the GNU way. +// Supplies argv[0] the GNU way. .initbss 300,_init_program_invocation_name program_invocation_name: .quad 0 diff --git a/libc/nexgen32e/rem1000000000int64.S b/libc/nexgen32e/rem1000000000int64.S index f6361cef1b9..98a7c7de25a 100644 --- a/libc/nexgen32e/rem1000000000int64.S +++ b/libc/nexgen32e/rem1000000000int64.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns 𝑥 % 1,000,000,000. -/ -/ @param rdi int64 𝑥 -/ @return rax has remainder +// Returns 𝑥 % 1,000,000,000. +// +// @param rdi int64 𝑥 +// @return rax has remainder rem1000000000int64: movabs $0x112e0be826d694b3,%rdx mov %rdi,%rax diff --git a/libc/nexgen32e/rem1000000int64.S b/libc/nexgen32e/rem1000000int64.S index 4757acee982..20150445c05 100644 --- a/libc/nexgen32e/rem1000000int64.S +++ b/libc/nexgen32e/rem1000000int64.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns 𝑥 % 1,000,000. -/ -/ @param rdi int64 𝑥 -/ @return rax has remainder +// Returns 𝑥 % 1,000,000. +// +// @param rdi int64 𝑥 +// @return rax has remainder rem1000000int64: movabs $0x431bde82d7b634db,%rdx mov %rdi,%rax diff --git a/libc/nexgen32e/rem10000int64.S b/libc/nexgen32e/rem10000int64.S index 889e7e9509e..fbe793fbcf4 100644 --- a/libc/nexgen32e/rem10000int64.S +++ b/libc/nexgen32e/rem10000int64.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns 𝑥 % 10,000. -/ -/ @param rdi int64 𝑥 -/ @return rax has remainder +// Returns 𝑥 % 10,000. +// +// @param rdi int64 𝑥 +// @return rax has remainder rem10000int64: mov %rdi,%rax movabsq $0x346dc5d63886594b,%rdx diff --git a/libc/nexgen32e/rem1000int64.S b/libc/nexgen32e/rem1000int64.S index 366a592d6d9..9b16a2a5a14 100644 --- a/libc/nexgen32e/rem1000int64.S +++ b/libc/nexgen32e/rem1000int64.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns 𝑥 % 1,000. -/ -/ @param rdi int64 𝑥 -/ @return rax has remainder +// Returns 𝑥 % 1,000. +// +// @param rdi int64 𝑥 +// @return rax has remainder rem1000int64: movabs $0x20c49ba5e353f7cf,%rdx mov %rdi,%rax diff --git a/libc/nexgen32e/rem100int64.S b/libc/nexgen32e/rem100int64.S index 5e1d01fea7b..7e1aadf5054 100644 --- a/libc/nexgen32e/rem100int64.S +++ b/libc/nexgen32e/rem100int64.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns 𝑥 % 100. -/ -/ @param rdi int64 𝑥 -/ @return rax has remainder +// Returns 𝑥 % 100. +// +// @param rdi int64 𝑥 +// @return rax has remainder rem100int64: mov %rdi,%rax movabsq $-6640827866535438581,%rdx diff --git a/libc/nexgen32e/rem10int64.S b/libc/nexgen32e/rem10int64.S index d51c4acf5c7..181ac31f042 100644 --- a/libc/nexgen32e/rem10int64.S +++ b/libc/nexgen32e/rem10int64.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns 𝑥 % 10. -/ -/ @param rdi int64 𝑥 -/ @return rax has remainder +// Returns 𝑥 % 10. +// +// @param rdi int64 𝑥 +// @return rax has remainder rem10int64: movabs $0x6666666666666667,%rdx mov %rdi,%rax diff --git a/libc/nexgen32e/rldecode.S b/libc/nexgen32e/rldecode.S index ddda59ab831..5d5cc4ded21 100644 --- a/libc/nexgen32e/rldecode.S +++ b/libc/nexgen32e/rldecode.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .text.startup -/ Seventeen byte decompressor. -/ -/ @param di points to output buffer -/ @param si points to uint8_t {len₁,byte₁}, ..., {0,0} -/ @mode long,legacy,real +// Seventeen byte decompressor. +// +// @param di points to output buffer +// @param si points to uint8_t {len₁,byte₁}, ..., {0,0} +// @mode long,legacy,real rldecode: .leafprologue .profilable diff --git a/libc/nexgen32e/savexmm.S b/libc/nexgen32e/savexmm.S index 2be076d4460..0bfde8c5562 100644 --- a/libc/nexgen32e/savexmm.S +++ b/libc/nexgen32e/savexmm.S @@ -19,11 +19,12 @@ #include "libc/macros.h" .privileged -/ Stores XMM registers to buffer. -/ -/ @param %rdi points to &(forcealign(16) uint8_t[256])[128] -/ @note modern cpus have out-of-order execution engines -savexmm:.leafprologue +// Stores XMM registers to buffer. +// +// @param %rdi points to &(forcealign(16) uint8_t[256])[128] +// @note modern cpus have out-of-order execution engines +savexmm: + .leafprologue movaps %xmm0,-0x80(%rdi) movaps %xmm1,-0x70(%rdi) movaps %xmm2,-0x60(%rdi) diff --git a/libc/nexgen32e/setjmp.S b/libc/nexgen32e/setjmp.S index c0e4299e347..c29167ab6d4 100644 --- a/libc/nexgen32e/setjmp.S +++ b/libc/nexgen32e/setjmp.S @@ -18,14 +18,14 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Saves caller CPU state to cacheline. -/ -/ @param rdi points to jmp_buf -/ @return rax 0 when set and !0 when longjmp'd -/ @returnstwice -/ @assume system five nexgen32e abi conformant -/ @note code built w/ microsoft abi compiler can't call this -/ @see longjmp(), gclongjmp() +// Saves caller CPU state to cacheline. +// +// @param rdi points to jmp_buf +// @return rax 0 when set and !0 when longjmp'd +// @returnstwice +// @assume system five nexgen32e abi conformant +// @note code built w/ microsoft abi compiler can't call this +// @see longjmp(), gclongjmp() setjmp: lea 8(%rsp),%rax mov %rax,(%rdi) mov %rbx,8(%rdi) diff --git a/libc/nexgen32e/slowcall.S b/libc/nexgen32e/slowcall.S index 2fbe8095471..1bb9a54e6d7 100644 --- a/libc/nexgen32e/slowcall.S +++ b/libc/nexgen32e/slowcall.S @@ -19,21 +19,21 @@ #include "libc/macros.h" #include "libc/notice.inc" -/ Applies no-clobber guarantee to System Five function call. -/ -/ - Reentrant -/ - Realigns stack -/ - Doesn't assume red zone -/ - Clobbers nothing (except %rax and flags) -/ -/ This function may be called using an stdcall convention. It's -/ useful for files named FOO.hookabi.c and BAR.ncabi.c to make -/ calls into other parts of the system, that don't conform to the -/ same restricted ABI. -/ -/ @param six args and fn addr pushed on stack in reverse order -/ @return %rax has function return value, and stack is cleaned up -/ @see libc/shadowargs.hook.c for intended use case +// Applies no-clobber guarantee to System Five function call. +// +// - Reentrant +// - Realigns stack +// - Doesn't assume red zone +// - Clobbers nothing (except %rax and flags) +// +// This function may be called using an stdcall convention. It's +// useful for files named FOO.hookabi.c and BAR.ncabi.c to make +// calls into other parts of the system, that don't conform to the +// same restricted ABI. +// +// @param six args and fn addr pushed on stack in reverse order +// @return %rax has function return value, and stack is cleaned up +// @see libc/shadowargs.hook.c for intended use case slowcall: #param %r9 # 0x40 arg6 #param %r8 # 0x38 arg5 diff --git a/libc/nexgen32e/strcpyzbw.S b/libc/nexgen32e/strcpyzbw.S index 77832746f88..0d6e220d75e 100644 --- a/libc/nexgen32e/strcpyzbw.S +++ b/libc/nexgen32e/strcpyzbw.S @@ -18,7 +18,7 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ TODO(jart): pmovzxbw and vpunpcklbw +// TODO(jart): pmovzxbw and vpunpcklbw strcpyzbw: .leafprologue .profilable diff --git a/libc/nexgen32e/strcspn.S b/libc/nexgen32e/strcspn.S index 9c7fadd3efe..91438913376 100644 --- a/libc/nexgen32e/strcspn.S +++ b/libc/nexgen32e/strcspn.S @@ -18,13 +18,13 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns prefix length, consisting of chars not in reject. -/ -/ @param rdi is string -/ @param rsi is reject nul-terminated character set -/ @return rax is index of first byte in charset -/ @see strspn(), strtok_r() -/ @asyncsignalsafe +// Returns prefix length, consisting of chars not in reject. +// +// @param rdi is string +// @param rsi is reject nul-terminated character set +// @return rax is index of first byte in charset +// @see strspn(), strtok_r() +// @asyncsignalsafe strcspn: push %rbp mov %rsp,%rbp diff --git a/libc/nexgen32e/strlen.S b/libc/nexgen32e/strlen.S index 9ff8855727c..f9f3c44f887 100644 --- a/libc/nexgen32e/strlen.S +++ b/libc/nexgen32e/strlen.S @@ -18,13 +18,13 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns length of NUL-terminated string. -/ -/ @param rdi is non-null NUL-terminated string pointer -/ @return rax is number of bytes (excluding NUL) -/ @clob ax,dx,cx,xmm3,xmm4 -/ @note h/t agner fog -/ @asyncsignalsafe +// Returns length of NUL-terminated string. +// +// @param rdi is non-null NUL-terminated string pointer +// @return rax is number of bytes (excluding NUL) +// @clob ax,dx,cx,xmm3,xmm4 +// @note h/t agner fog +// @asyncsignalsafe strlen: .leafprologue .profilable mov %rdi,%rax diff --git a/libc/nexgen32e/strsak.S b/libc/nexgen32e/strsak.S index 05d030470df..94a7c83dbaa 100644 --- a/libc/nexgen32e/strsak.S +++ b/libc/nexgen32e/strsak.S @@ -21,14 +21,14 @@ #include "libc/macros.h" .source __FILE__ -/ Returns length of NUL-terminated string w/ security blankets. -/ -/ This is like strnlen() except it'll return 0 if (1) RDI is NULL -/ or (2) a NUL-terminator wasn't found in the first RSI bytes. -/ -/ @param rdi is a nullable NUL-terminated string pointer -/ @param rsi is the maximum number of bytes to consider -/ @return rax is the number of bytes, excluding the NUL +// Returns length of NUL-terminated string w/ security blankets. +// +// This is like strnlen() except it'll return 0 if (1) RDI is NULL +// or (2) a NUL-terminator wasn't found in the first RSI bytes. +// +// @param rdi is a nullable NUL-terminated string pointer +// @param rsi is the maximum number of bytes to consider +// @return rax is the number of bytes, excluding the NUL strnlen_s: .leafprologue .profilable @@ -39,20 +39,20 @@ strnlen_s: .leafepilogue 0: xor %edx,%edx mov %rdi,%r8 -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 .endfn strnlen_s,globl -/ Swiss army knife of string character scanning. -/ Used to be fourteen fast functions in one. -/ -/ @param rdi is non-null string memory -/ @param rsi is max number of bytes to consider -/ @param dl is search character #1 -/ @param dh is search character #2 -/ @param r8 is subtracted from result (for length vs. pointer) -/ @param r9 masks result if DH is found (for NUL vs. NULL) -/ @param r10 masks result on bytes exhausted (for length v. NULL) -/ @return rax end pointer after r8/r9/r10 modifications +// Swiss army knife of string character scanning. +// Used to be fourteen fast functions in one. +// +// @param rdi is non-null string memory +// @param rsi is max number of bytes to consider +// @param dl is search character #1 +// @param dh is search character #2 +// @param r8 is subtracted from result (for length vs. pointer) +// @param r9 masks result if DH is found (for NUL vs. NULL) +// @param r10 masks result on bytes exhausted (for length v. NULL) +// @return rax end pointer after r8/r9/r10 modifications strsak: lea -1(%rdi),%rax 1: add $1,%rax sub $1,%rsi diff --git a/libc/nexgen32e/strsak16.S b/libc/nexgen32e/strsak16.S index 4cd298592c5..46ff5b3359c 100644 --- a/libc/nexgen32e/strsak16.S +++ b/libc/nexgen32e/strsak16.S @@ -19,12 +19,12 @@ #include "libc/nexgen32e/x86feature.h" #include "libc/macros.h" -/ Returns pointer to first instance of character. -/ -/ @param rdi is a non-null NUL-terminated char16_t string pointer -/ @param esi is the search word -/ @return rax points to character, or to NUL word if not found -/ @note this won't return NULL if search character is NUL +// Returns pointer to first instance of character. +// +// @param rdi is a non-null NUL-terminated char16_t string pointer +// @param esi is the search word +// @return rax points to character, or to NUL word if not found +// @note this won't return NULL if search character is NUL strchrnul16: .leafprologue .profilable @@ -32,13 +32,13 @@ strchrnul16: jmp 0f .endfn strchrnul16,globl -/ Returns pointer to first instance of character. -/ -/ @param rdi is a non-null NUL-terminated char16_t string pointer -/ @param esi is the search word -/ @return rax points to first result, or NULL if not found -/ @note this won't return NULL if search character is NUL -/ @asyncsignalsafe +// Returns pointer to first instance of character. +// +// @param rdi is a non-null NUL-terminated char16_t string pointer +// @param esi is the search word +// @return rax points to first result, or NULL if not found +// @note this won't return NULL if search character is NUL +// @asyncsignalsafe strchr16: .leafprologue .profilable @@ -50,23 +50,23 @@ strchr16: jmp strsak16 .endfn strchr16,globl -/ Returns pointer to first instance of character in range. -/ -/ @param rdi is a non-null pointer to memory -/ @param esi is the search word -/ @return rax points to word if found, or else undefined behavior +// Returns pointer to first instance of character in range. +// +// @param rdi is a non-null pointer to memory +// @param esi is the search word +// @return rax points to word if found, or else undefined behavior rawmemchr16: or $-1,%rdx -/ fallthrough +// fallthrough .endfn rawmemchr16,globl -/ Returns pointer to first instance of character in range. -/ -/ @param rdi is a non-null pointer to memory -/ @param esi is the search word -/ @param rdx is length of memory in shorts -/ @return rax points to word if found or NULL -/ @asyncsignalsafe +// Returns pointer to first instance of character in range. +// +// @param rdi is a non-null pointer to memory +// @param esi is the search word +// @param rdx is length of memory in shorts +// @return rax points to word if found or NULL +// @asyncsignalsafe memchr16: .leafprologue .profilable @@ -77,14 +77,14 @@ memchr16: jmp strsak16 .endfn memchr16,globl -/ Returns length of char16_t string w/ security blankets. -/ -/ This is like strnlen() except it'll return 0 if (1) RDI is NULL -/ or (2) a NUL-terminator wasn't found in the first RSI shorts. -/ -/ @param rdi is a nullable NUL-terminated char16_t string pointer -/ @param rsi is the maximum number of shorts to consider -/ @return rax is the number of shorts, excluding the NUL +// Returns length of char16_t string w/ security blankets. +// +// This is like strnlen() except it'll return 0 if (1) RDI is NULL +// or (2) a NUL-terminator wasn't found in the first RSI shorts. +// +// @param rdi is a nullable NUL-terminated char16_t string pointer +// @param rsi is the maximum number of shorts to consider +// @return rax is the number of shorts, excluding the NUL strnlen16_s: .leafprologue .profilable @@ -95,22 +95,22 @@ strnlen16_s: .leafepilogue .endfn strnlen16_s,globl -/ Returns length of NUL-terminated char16_t string. -/ -/ @param rdi is non-null NUL-terminated char16_t string pointer -/ @return rax is the number of shorts, excluding the NUL -/ @asyncsignalsafe +// Returns length of NUL-terminated char16_t string. +// +// @param rdi is non-null NUL-terminated char16_t string pointer +// @return rax is the number of shorts, excluding the NUL +// @asyncsignalsafe strlen16: or $-1,%rsi -/ fallthrough +// fallthrough .endfn strlen16,globl -/ Returns length of NUL-terminated memory, with limit. -/ -/ @param rdi is non-null memory -/ @param rsi is the maximum number of shorts to consider -/ @return rax is the number of shorts, excluding the NUL -/ @asyncsignalsafe +// Returns length of NUL-terminated memory, with limit. +// +// @param rdi is non-null memory +// @param rsi is the maximum number of shorts to consider +// @return rax is the number of shorts, excluding the NUL +// @asyncsignalsafe strnlen16: .leafprologue .profilable @@ -118,20 +118,20 @@ strnlen16: 0: xor %edx,%edx xor %r11d,%r11d mov %rdi,%r8 -/ fallthrough +// fallthrough .endfn strnlen16,globl -/ Swiss Army Knife of string char16_t scanning. -/ Sixteen fast functions in one. -/ -/ @param rdi is non-null string memory -/ @param rsi is max number of shorts to consider -/ @param dx is search character #1 -/ @param r11w is search character #2 -/ @param r8 is subtracted from result (for length vs. pointer) -/ @param r9 masks result if DH is found (for NUL vs. NULL) -/ @param r10 masks result on shorts exhausted (for length v. NULL) -/ @return rax end pointer after r8/r9/r10 modifications +// Swiss Army Knife of string char16_t scanning. +// Sixteen fast functions in one. +// +// @param rdi is non-null string memory +// @param rsi is max number of shorts to consider +// @param dx is search character #1 +// @param r11w is search character #2 +// @param r8 is subtracted from result (for length vs. pointer) +// @param r9 masks result if DH is found (for NUL vs. NULL) +// @param r10 masks result on shorts exhausted (for length v. NULL) +// @return rax end pointer after r8/r9/r10 modifications strsak16: lea -2(%rdi),%rax 1: add $2,%rax diff --git a/libc/nexgen32e/strsak32.S b/libc/nexgen32e/strsak32.S index 8f5df1bab69..7d30a98b2b3 100644 --- a/libc/nexgen32e/strsak32.S +++ b/libc/nexgen32e/strsak32.S @@ -19,25 +19,25 @@ #include "libc/nexgen32e/x86feature.h" #include "libc/macros.h" -/ Returns pointer to first instance of character. -/ -/ @param rdi is a non-null NUL-terminated wchar_t string pointer -/ @param esi is the search word -/ @return rax points to character, or to NUL word if not found -/ @note this won't return NULL if search character is NUL +// Returns pointer to first instance of character. +// +// @param rdi is a non-null NUL-terminated wchar_t string pointer +// @param esi is the search word +// @return rax points to character, or to NUL word if not found +// @note this won't return NULL if search character is NUL wcschrnul: .leafprologue .profilable or $-1,%r9 jmp 0f -/ Returns pointer to first instance of character. -/ -/ @param rdi is a non-null NUL-terminated wchar_t string pointer -/ @param esi is the search word -/ @return rax points to first result, or NULL if not found -/ @note this won't return NULL if search character is NUL -/ @asyncsignalsafe +// Returns pointer to first instance of character. +// +// @param rdi is a non-null NUL-terminated wchar_t string pointer +// @param esi is the search word +// @return rax points to first result, or NULL if not found +// @note this won't return NULL if search character is NUL +// @asyncsignalsafe wcschr: .leafprologue .profilable xor %r9,%r9 @@ -47,14 +47,14 @@ wcschr: .leafprologue xor %r8,%r8 jmp wcssak -/ Returns length of wchar_t string w/ security blankets. -/ -/ This is like wcsnlen() except it'll return 0 if (1) RDI is NULL -/ or (2) a NUL-terminator wasn't found in the first RSI chars. -/ -/ @param rdi is a nullable NUL-terminated wchar_t string pointer -/ @param rsi is the maximum number of chars to consider -/ @return rax is the number of chars, excluding the NUL +// Returns length of wchar_t string w/ security blankets. +// +// This is like wcsnlen() except it'll return 0 if (1) RDI is NULL +// or (2) a NUL-terminator wasn't found in the first RSI chars. +// +// @param rdi is a nullable NUL-terminated wchar_t string pointer +// @param rsi is the maximum number of chars to consider +// @return rax is the number of chars, excluding the NUL wcsnlen_s: .leafprologue .profilable @@ -65,20 +65,20 @@ wcsnlen_s: .leafepilogue .endfn wcsnlen_s,globl -/ Returns length of NUL-terminated wchar_t string. -/ -/ @param rdi is non-null NUL-terminated wchar_t string pointer -/ @return rax is the number of chars, excluding the NUL -/ @asyncsignalsafe +// Returns length of NUL-terminated wchar_t string. +// +// @param rdi is non-null NUL-terminated wchar_t string pointer +// @return rax is the number of chars, excluding the NUL +// @asyncsignalsafe wcslen: or $-1,%rsi -/ fallthrough +// fallthrough -/ Returns length of NUL-terminated memory, with limit. -/ -/ @param rdi is non-null memory -/ @param rsi is the maximum number of chars to consider -/ @return rax is the number of chars, excluding the NUL -/ @asyncsignalsafe +// Returns length of NUL-terminated memory, with limit. +// +// @param rdi is non-null memory +// @param rsi is the maximum number of chars to consider +// @return rax is the number of chars, excluding the NUL +// @asyncsignalsafe wcsnlen:.leafprologue .profilable or $-1,%r10 @@ -87,22 +87,22 @@ wcsnlen:.leafprologue mov %rdi,%r8 jmp wcssak -/ Returns pointer to first instance of character in range. -/ -/ @param rdi is a non-null pointer to memory -/ @param esi is the search word -/ @return rax points to word if found, or else undefined behavior +// Returns pointer to first instance of character in range. +// +// @param rdi is a non-null pointer to memory +// @param esi is the search word +// @return rax points to word if found, or else undefined behavior rawwmemchr: or $-1,%rdx -/ fallthrough +// fallthrough -/ Returns pointer to first instance of character in range. -/ -/ @param rdi is a non-null pointer to memory -/ @param esi is the int32_t search word (officially wchar_t) -/ @param rdx is length of memory in chars -/ @return rax points to word if found or NULL -/ @asyncsignalsafe +// Returns pointer to first instance of character in range. +// +// @param rdi is a non-null pointer to memory +// @param esi is the int32_t search word (officially wchar_t) +// @param rdx is length of memory in chars +// @return rax points to word if found or NULL +// @asyncsignalsafe wmemchr:.leafprologue .profilable xor %r8,%r8 @@ -111,19 +111,19 @@ wmemchr:.leafprologue mov %esi,%edx mov %esi,%r11d mov %rcx,%rsi -/ fallthrough +// fallthrough -/ Swiss army knife of wchar_t string scanning. -/ Seven fast functions in one. -/ -/ @param rdi is non-null wchar_t string memory -/ @param rsi is max number of chars to consider -/ @param edx is search character #1 -/ @param r11d is search character #2 -/ @param r8 is subtracted from result (for length vs. pointer) -/ @param r9 masks result if r11w is found (for NUL vs. NULL) -/ @param r10 masks result on chars exhausted (for length v. NULL) -/ @return rax end pointer after r8/r9/r10 modifications +// Swiss army knife of wchar_t string scanning. +// Seven fast functions in one. +// +// @param rdi is non-null wchar_t string memory +// @param rsi is max number of chars to consider +// @param edx is search character #1 +// @param r11d is search character #2 +// @param r8 is subtracted from result (for length vs. pointer) +// @param r9 masks result if r11w is found (for NUL vs. NULL) +// @param r10 masks result on chars exhausted (for length v. NULL) +// @return rax end pointer after r8/r9/r10 modifications wcssak: lea -4(%rdi),%rax .align 16 1: add $4,%rax diff --git a/libc/nexgen32e/strstr-sse42.S b/libc/nexgen32e/strstr-sse42.S index 6476df1bae1..0c884e31976 100644 --- a/libc/nexgen32e/strstr-sse42.S +++ b/libc/nexgen32e/strstr-sse42.S @@ -20,7 +20,7 @@ #include "libc/nexgen32e/pcmpstr.inc" #include "libc/nexgen32e/strstr.inc" -/ TODO(jart): Fix me. +// TODO(jart): Fix me. strstr_sse42: .leafprologue mov %rdi,%rax diff --git a/libc/nexgen32e/strstr.inc b/libc/nexgen32e/strstr.inc index 6d55b25af23..31ff5646280 100644 --- a/libc/nexgen32e/strstr.inc +++ b/libc/nexgen32e/strstr.inc @@ -18,12 +18,12 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ /* clang-format off */ -/ Searches for substring. -/ -/ @param rdi is NUL-terminated haystack string -/ @param rsi is NUL-terminated needle string (16-byte aligned) -/ @return rax is pointer to substring or NULL -/ @todo 10x faster than naïve but could be 100x faster +// Searches for substring. +// +// @param rdi is NUL-terminated haystack string +// @param rsi is NUL-terminated needle string (16-byte aligned) +// @return rax is pointer to substring or NULL +// @todo 10x faster than naïve but could be 100x faster .macro .strstr mode:req push %rbp mov %rsp,%rbp diff --git a/libc/nexgen32e/strstr16-sse42.S b/libc/nexgen32e/strstr16-sse42.S index 0d79fb37484..1d9fb474f87 100644 --- a/libc/nexgen32e/strstr16-sse42.S +++ b/libc/nexgen32e/strstr16-sse42.S @@ -20,7 +20,7 @@ #include "libc/nexgen32e/pcmpstr.inc" #include "libc/nexgen32e/strstr.inc" -/ TODO(jart): Fix me. +// TODO(jart): Fix me. strstr16$sse42: .strstr .Lequalorder16 .endfn strstr16$sse42,globl,hidden diff --git a/libc/nexgen32e/tinydivsi.greg.S b/libc/nexgen32e/tinydivsi.greg.S index 17aeac1d674..0d4551ac927 100644 --- a/libc/nexgen32e/tinydivsi.greg.S +++ b/libc/nexgen32e/tinydivsi.greg.S @@ -18,17 +18,17 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Support code for fast integer division by Si units. -/ -/ Division by magnums is described in Hacker's Delight and is -/ usually generated automatically by compilers, but sadly not -/ when we optimize for size and idiv goes at least 10x slower -/ so we do this which saves space while avoiding build tuning -/ -/ @param rdi is number to divide -/ @param cl is magnum #1 -/ @param rdx is magnum #2 -/ @return quotient +// Support code for fast integer division by Si units. +// +// Division by magnums is described in Hacker's Delight and is +// usually generated automatically by compilers, but sadly not +// when we optimize for size and idiv goes at least 10x slower +// so we do this which saves space while avoiding build tuning +// +// @param rdi is number to divide +// @param cl is magnum #1 +// @param rdx is magnum #2 +// @return quotient tinydivsi: .leafprologue mov %rdi,%rax diff --git a/libc/nexgen32e/tinystrlen.greg.S b/libc/nexgen32e/tinystrlen.greg.S index ac18a5292fc..7b5371b6978 100644 --- a/libc/nexgen32e/tinystrlen.greg.S +++ b/libc/nexgen32e/tinystrlen.greg.S @@ -18,11 +18,11 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ 8-bit strlen that's tiny and near optimal if data's tiny. -/ -/ @param RDI is char *s -/ @param EAX is unsigned length -/ @see libc/nexgen32e/strsak.S +// 8-bit strlen that's tiny and near optimal if data's tiny. +// +// @param RDI is char *s +// @param EAX is unsigned length +// @see libc/nexgen32e/strsak.S tinystrlen: .leafprologue .profilable diff --git a/libc/nexgen32e/tinystrlen16.greg.S b/libc/nexgen32e/tinystrlen16.greg.S index 3eff067173d..f575ae84492 100644 --- a/libc/nexgen32e/tinystrlen16.greg.S +++ b/libc/nexgen32e/tinystrlen16.greg.S @@ -18,11 +18,11 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ 16-bit strlen that's tiny and near optimal if data's tiny. -/ -/ @param RDI is char16_t *s -/ @param EAX is unsigned length -/ @see libc/nexgen32e/strsak16.S +// 16-bit strlen that's tiny and near optimal if data's tiny. +// +// @param RDI is char16_t *s +// @param EAX is unsigned length +// @see libc/nexgen32e/strsak16.S tinystrlen16: .leafprologue .profilable diff --git a/libc/nexgen32e/tinystrncmp.ncabi.S b/libc/nexgen32e/tinystrncmp.ncabi.S index 65614a1cfd4..270f97f1409 100644 --- a/libc/nexgen32e/tinystrncmp.ncabi.S +++ b/libc/nexgen32e/tinystrncmp.ncabi.S @@ -18,14 +18,14 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Compares strings w/ limit & no-clobber greg abi. -/ -/ @param %rdi is first string -/ @param %rsi is second string -/ @param %rdx is max length -/ @return <0, 0, or >0 depending on comparison -/ @clob flags only -/ @asyncsignalsafe +// Compares strings w/ limit & no-clobber greg abi. +// +// @param %rdi is first string +// @param %rsi is second string +// @param %rdx is max length +// @return <0, 0, or >0 depending on comparison +// @clob flags only +// @asyncsignalsafe tinystrncmp: .leafprologue push %rbx diff --git a/libc/nexgen32e/tinystrnlen.greg.S b/libc/nexgen32e/tinystrnlen.greg.S index 940f65cf2a5..cfaf37ddf8e 100644 --- a/libc/nexgen32e/tinystrnlen.greg.S +++ b/libc/nexgen32e/tinystrnlen.greg.S @@ -18,12 +18,12 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ 8-bit strnlen that's tiny and near optimal if data's tiny. -/ -/ @param RDI is char *s -/ @param RSI is size_t n -/ @param EAX is unsigned length -/ @see libc/nexgen32e/strsak.S +// 8-bit strnlen that's tiny and near optimal if data's tiny. +// +// @param RDI is char *s +// @param RSI is size_t n +// @param EAX is unsigned length +// @see libc/nexgen32e/strsak.S tinystrnlen: .leafprologue .profilable diff --git a/libc/nexgen32e/tinystrnlen16.greg.S b/libc/nexgen32e/tinystrnlen16.greg.S index 4cebe1e9c37..923466dd8cc 100644 --- a/libc/nexgen32e/tinystrnlen16.greg.S +++ b/libc/nexgen32e/tinystrnlen16.greg.S @@ -18,12 +18,12 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ 16-bit strnlen that's tiny and near optimal if data's tiny. -/ -/ @param RDI is char16_t *s -/ @param RSI is size_t n -/ @param EAX is unsigned length -/ @see libc/nexgen32e/strsak16.S +// 16-bit strnlen that's tiny and near optimal if data's tiny. +// +// @param RDI is char16_t *s +// @param RSI is size_t n +// @param EAX is unsigned length +// @see libc/nexgen32e/strsak16.S tinystrnlen16: .leafprologue .profilable diff --git a/libc/nexgen32e/tinywcslen.greg.S b/libc/nexgen32e/tinywcslen.greg.S index d2fac1fc8a8..59c71f815e6 100644 --- a/libc/nexgen32e/tinywcslen.greg.S +++ b/libc/nexgen32e/tinywcslen.greg.S @@ -18,11 +18,11 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ 32-bit strlen that's tiny and near optimal if data's tiny. -/ -/ @param RDI is wchar_t *s -/ @param EAX is unsigned length -/ @see libc/nexgen32e/strsak32.S +// 32-bit strlen that's tiny and near optimal if data's tiny. +// +// @param RDI is wchar_t *s +// @param EAX is unsigned length +// @see libc/nexgen32e/strsak32.S tinywcslen: .leafprologue .profilable diff --git a/libc/nexgen32e/tinywcsnlen.greg.S b/libc/nexgen32e/tinywcsnlen.greg.S index 3f75b229895..135457cb76a 100644 --- a/libc/nexgen32e/tinywcsnlen.greg.S +++ b/libc/nexgen32e/tinywcsnlen.greg.S @@ -18,12 +18,12 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ 32-bit strnlen that's tiny and near optimal if data's tiny. -/ -/ @param RDI is wchar_t *s -/ @param RSI is size_t n -/ @param EAX is unsigned length -/ @see libc/nexgen32e/strsak32.S +// 32-bit strnlen that's tiny and near optimal if data's tiny. +// +// @param RDI is wchar_t *s +// @param RSI is size_t n +// @param EAX is unsigned length +// @see libc/nexgen32e/strsak32.S tinywcsnlen: .leafprologue .profilable diff --git a/libc/nexgen32e/triplf.S b/libc/nexgen32e/triplf.S index 3f1c63e70a3..e530ba4096c 100644 --- a/libc/nexgen32e/triplf.S +++ b/libc/nexgen32e/triplf.S @@ -22,10 +22,10 @@ .source __FILE__ .code16 # ∩ .code32 ∩ .code64 -/ Hoses interrupt descriptor table and triple-faults the system. -/ -/ @see youtu.be/GIKfEAF2Yhw?t=67 -/ @mode long,legacy,real +// Hoses interrupt descriptor table and triple-faults the system. +// +// @see youtu.be/GIKfEAF2Yhw?t=67 +// @mode long,legacy,real triplf: push %bp mov %sp,%bp sub $8,%sp diff --git a/libc/nexgen32e/tzcnt.S b/libc/nexgen32e/tzcnt.S index 0fbcb0ef817..e22c148b65c 100644 --- a/libc/nexgen32e/tzcnt.S +++ b/libc/nexgen32e/tzcnt.S @@ -19,21 +19,21 @@ #include "libc/macros.h" .source __FILE__ -/ Finds lowest set bit in 𝑥. -/ -/ uint32 𝑥 bsf(𝑥) tzcnt(𝑥) ffs(𝑥) bsr(𝑥) lzcnt(𝑥) -/ 0x00000000 wut 32 0 wut 32 -/ 0x00000001 0 0 1 0 31 -/ 0x80000001 0 0 1 31 0 -/ 0x80000000 31 31 32 31 0 -/ 0x00000010 4 4 5 4 27 -/ 0x08000010 4 4 5 27 4 -/ 0x08000000 27 27 28 27 4 -/ 0xffffffff 0 0 1 31 0 -/ -/ @param edi is 32-bit unsigned 𝑥 value -/ @return eax number in range [0,32) or 32 if 𝑥 is 0 -/ @see also treasure trove of nearly identical functions +// Finds lowest set bit in 𝑥. +// +// uint32 𝑥 bsf(𝑥) tzcnt(𝑥) ffs(𝑥) bsr(𝑥) lzcnt(𝑥) +// 0x00000000 wut 32 0 wut 32 +// 0x00000001 0 0 1 0 31 +// 0x80000001 0 0 1 31 0 +// 0x80000000 31 31 32 31 0 +// 0x00000010 4 4 5 4 27 +// 0x08000010 4 4 5 27 4 +// 0x08000000 27 27 28 27 4 +// 0xffffffff 0 0 1 31 0 +// +// @param edi is 32-bit unsigned 𝑥 value +// @return eax number in range [0,32) or 32 if 𝑥 is 0 +// @see also treasure trove of nearly identical functions tzcnt: .leafprologue .profilable mov $32,%esi diff --git a/libc/nexgen32e/tzcntl.S b/libc/nexgen32e/tzcntl.S index bd75bb50a11..c7f2aa5e392 100644 --- a/libc/nexgen32e/tzcntl.S +++ b/libc/nexgen32e/tzcntl.S @@ -18,21 +18,21 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Finds lowest set bit in 𝑥. -/ -/ uint32 𝑥 bsf(𝑥) tzcnt(𝑥) ffs(𝑥) bsr(𝑥) lzcnt(𝑥) -/ 0x00000000 wut 32 0 wut 32 -/ 0x00000001 0 0 1 0 31 -/ 0x80000001 0 0 1 31 0 -/ 0x80000000 31 31 32 31 0 -/ 0x00000010 4 4 5 4 27 -/ 0x08000010 4 4 5 27 4 -/ 0x08000000 27 27 28 27 4 -/ 0xffffffff 0 0 1 31 0 -/ -/ @param rdi is 64-bit unsigned 𝑥 value -/ @return rax number in range [0,64) or 64 if 𝑥 is 0 -/ @see also treasure trove of nearly identical functions +// Finds lowest set bit in 𝑥. +// +// uint32 𝑥 bsf(𝑥) tzcnt(𝑥) ffs(𝑥) bsr(𝑥) lzcnt(𝑥) +// 0x00000000 wut 32 0 wut 32 +// 0x00000001 0 0 1 0 31 +// 0x80000001 0 0 1 31 0 +// 0x80000000 31 31 32 31 0 +// 0x00000010 4 4 5 4 27 +// 0x08000010 4 4 5 27 4 +// 0x08000000 27 27 28 27 4 +// 0xffffffff 0 0 1 31 0 +// +// @param rdi is 64-bit unsigned 𝑥 value +// @return rax number in range [0,64) or 64 if 𝑥 is 0 +// @see also treasure trove of nearly identical functions tzcntl: .leafprologue .profilable mov $64,%esi diff --git a/libc/nexgen32e/vcls.S b/libc/nexgen32e/vcls.S index f02a741309c..a5a30856607 100644 --- a/libc/nexgen32e/vcls.S +++ b/libc/nexgen32e/vcls.S @@ -23,11 +23,11 @@ .code16 # ∩ .code32 ∩ .code64 .source __FILE__ -/ Clears display page. -/ -/ @param es:di arbitrary address within video page -/ @return es:ax starting address -/ @mode long,legacy,real +// Clears display page. +// +// @param es:di arbitrary address within video page +// @return es:ax starting address +// @mode long,legacy,real vcls: xchg %di,%ax bband VIDYA_REWIND,%ah,%al xchg %di,%ax diff --git a/libc/nexgen32e/x87conf.inc b/libc/nexgen32e/x87conf.inc index 17c0118069b..65b55ef9a9b 100644 --- a/libc/nexgen32e/x87conf.inc +++ b/libc/nexgen32e/x87conf.inc @@ -17,12 +17,12 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -/ Reconfigures transcendental math coprocessor. -/ -/ @param \conf can be absent to restore default -/ @clob x87 status and control words only -/ @see Intel Manual V.1 §8.1.5 -/ @mode long,legacy +// Reconfigures transcendental math coprocessor. +// +// @param \conf can be absent to restore default +// @clob x87 status and control words only +// @see Intel Manual V.1 §8.1.5 +// @mode long,legacy .macro x87conf conf=$0x33f push %ax pushw \conf diff --git a/libc/nexgen32e/xlm.S b/libc/nexgen32e/xlm.S index 849f487bc50..73d6819abc9 100644 --- a/libc/nexgen32e/xlm.S +++ b/libc/nexgen32e/xlm.S @@ -20,8 +20,8 @@ #include "libc/notice.inc" #include "ape/config.h" -/ eXtreme Low Memory. -/ @see ape/config.h +// eXtreme Low Memory. +// @see ape/config.h .section .xlm,"aw",@nobits .align 4096 __xlm: .rept XLM_SIZE diff --git a/libc/nexgen32e/zip.S b/libc/nexgen32e/zip.S index 22e98282950..560197a7004 100644 --- a/libc/nexgen32e/zip.S +++ b/libc/nexgen32e/zip.S @@ -20,7 +20,7 @@ #include "ape/relocations.h" #include "libc/zip.h" -/ ZIP Central Directory. +// ZIP Central Directory. .section .piro.data.sort.zip.3,"a",@progbits .hidden __zip_start .globl __zip_start diff --git a/libc/nt/KernelBase/GetProcessImageFileNameA.s b/libc/nt/KernelBase/GetProcessImageFileNameA.s deleted file mode 100644 index 6db92e2c4bc..00000000000 --- a/libc/nt/KernelBase/GetProcessImageFileNameA.s +++ /dev/null @@ -1,2 +0,0 @@ -.include "o/libc/nt/codegen.inc" -.imp KernelBase,__imp_GetProcessImageFileNameA,GetProcessImageFileNameA,676 diff --git a/libc/nt/KernelBase/GetProcessImageFileNameW.s b/libc/nt/KernelBase/GetProcessImageFileNameW.s deleted file mode 100644 index 6a68648f6db..00000000000 --- a/libc/nt/KernelBase/GetProcessImageFileNameW.s +++ /dev/null @@ -1,2 +0,0 @@ -.include "o/libc/nt/codegen.inc" -.imp KernelBase,__imp_GetProcessImageFileNameW,GetProcessImageFileNameW,677 diff --git a/libc/nt/enum/status.h b/libc/nt/enum/status.h index eb781c866de..d054e0f643f 100644 --- a/libc/nt/enum/status.h +++ b/libc/nt/enum/status.h @@ -2,68 +2,68 @@ #define COSMOPOLITAN_LIBC_NT_STATUS_H_ /* high two bits = {success,informational,warning,error} */ -#define kNtStatusSuccess 0x00000000u /* success statuses */ -#define kNtStatusWait0 0x00000000u -#define kNtStatusAbandonedWait0 0x00000080u -#define kNtStatusUserApc 0x000000C0u -#define kNtStatusTimeout 0x00000102u -#define kNtStatusPending 0x00000103u -#define kNtStatusGuardPageViolation 0x80000001u /* warning statuses */ -#define kNtStatusDatatypeMisalignment 0x80000002u -#define kNtStatusBreakpoint 0x80000003u -#define kNtStatusSingleStep 0x80000004u -#define kNtStatusLongjump 0x80000026u -#define kNtStatusUnwindConsolidate 0x80000029u -#define kNtStatusAccessViolation 0xC0000005u /* error statuses */ -#define kNtStatusInPageError 0xC0000006u -#define kNtStatusInvalidHandle 0xC0000008u -#define kNtStatusInvalidParameter 0xC000000Du -#define kNtStatusNoMemory 0xC0000017u -#define kNtStatusIllegalInstruction 0xC000001Du -#define kNtStatusNoncontinuableException 0xC0000025u -#define kNtStatusInvalidDisposition 0xC0000026u -#define kNtStatusArrayBoundsExceeded 0xC000008Cu -#define kNtStatusFloatDenormalOperand 0xC000008Du -#define kNtStatusFloatDivideByZero 0xC000008Eu -#define kNtStatusFloatInexactResult 0xC000008Fu -#define kNtStatusFloatInvalidOperation 0xC0000090u -#define kNtStatusFloatOverflow 0xC0000091u -#define kNtStatusFloatStackCheck 0xC0000092u -#define kNtStatusFloatUnderflow 0xC0000093u -#define kNtStatusIntegerDivideBYZero 0xC0000094u -#define kNtStatusIntegerOverflow 0xC0000095u -#define kNtStatusPrivilegedInstruction 0xC0000096u -#define kNtStatusStackOverflow 0xC00000FDu -#define kNtStatusDllNotFound 0xC0000135u -#define kNtStatusOrdinalNotFound 0xC0000138u -#define kNtStatusEntrypointNotFound 0xC0000139u -#define kNtStatusControlCExit 0xC000013Au -#define kNtStatusDllInitFailed 0xC0000142u -#define kNtStatusFloatMultipleFaults 0xC00002B4u -#define kNtStatusFloatMultipleTraps 0xC00002B5u -#define kNtStatusRegNatConsumption 0xC00002C9u -#define kNtStatusHeapCorruption 0xC0000374u -#define kNtStatusStackBufferOverrun 0xC0000409u -#define kNtStatusInvalidCruntimeParameter 0xC0000417u -#define kNtStatusAssertionFailure 0xC0000420u -#define kNtStatusEnclaveViolation 0xC00004A2u -#define kNtStatusSegmentNotification 0x40000005u -#define kNtStatusFatalAppExit 0x40000015u -#define kNtStatusNotFound 0xC0000225u -#define kNtStatusCancelled 0xC0000120u +#define kNtStatusSuccess 0x00000000 /* success statuses */ +#define kNtStatusWait0 0x00000000 +#define kNtStatusAbandonedWait0 0x00000080 +#define kNtStatusUserApc 0x000000C0 +#define kNtStatusTimeout 0x00000102 +#define kNtStatusPending 0x00000103 +#define kNtStatusGuardPageViolation 0x80000001 /* warning statuses */ +#define kNtStatusDatatypeMisalignment 0x80000002 +#define kNtStatusBreakpoint 0x80000003 +#define kNtStatusSingleStep 0x80000004 +#define kNtStatusLongjump 0x80000026 +#define kNtStatusUnwindConsolidate 0x80000029 +#define kNtStatusAccessViolation 0xC0000005 /* error statuses */ +#define kNtStatusInPageError 0xC0000006 +#define kNtStatusInvalidHandle 0xC0000008 +#define kNtStatusInvalidParameter 0xC000000D +#define kNtStatusNoMemory 0xC0000017 +#define kNtStatusIllegalInstruction 0xC000001D +#define kNtStatusNoncontinuableException 0xC0000025 +#define kNtStatusInvalidDisposition 0xC0000026 +#define kNtStatusArrayBoundsExceeded 0xC000008C +#define kNtStatusFloatDenormalOperand 0xC000008D +#define kNtStatusFloatDivideByZero 0xC000008E +#define kNtStatusFloatInexactResult 0xC000008F +#define kNtStatusFloatInvalidOperation 0xC0000090 +#define kNtStatusFloatOverflow 0xC0000091 +#define kNtStatusFloatStackCheck 0xC0000092 +#define kNtStatusFloatUnderflow 0xC0000093 +#define kNtStatusIntegerDivideBYZero 0xC0000094 +#define kNtStatusIntegerOverflow 0xC0000095 +#define kNtStatusPrivilegedInstruction 0xC0000096 +#define kNtStatusStackOverflow 0xC00000FD +#define kNtStatusDllNotFound 0xC0000135 +#define kNtStatusOrdinalNotFound 0xC0000138 +#define kNtStatusEntrypointNotFound 0xC0000139 +#define kNtStatusControlCExit 0xC000013A +#define kNtStatusDllInitFailed 0xC0000142 +#define kNtStatusFloatMultipleFaults 0xC00002B4 +#define kNtStatusFloatMultipleTraps 0xC00002B5 +#define kNtStatusRegNatConsumption 0xC00002C9 +#define kNtStatusHeapCorruption 0xC0000374 +#define kNtStatusStackBufferOverrun 0xC0000409 +#define kNtStatusInvalidCruntimeParameter 0xC0000417 +#define kNtStatusAssertionFailure 0xC0000420 +#define kNtStatusEnclaveViolation 0xC00004A2 +#define kNtStatusSegmentNotification 0x40000005 +#define kNtStatusFatalAppExit 0x40000015 +#define kNtStatusNotFound 0xC0000225 +#define kNtStatusCancelled 0xC0000120 -#define kNtDbgExceptionHandled 0x00010001u -#define kNtDbgContinue 0x00010002u -#define kNtDbgReplyLater 0x40010001u -#define kNtDbgTerminateThread 0x40010003u -#define kNtDbgTerminateProcess 0x40010004u -#define kNtDbgControlC 0x40010005u -#define kNtDbgPrintexceptionC 0x40010006u -#define kNtDbgRipexception 0x40010007u -#define kNtDbgControlBreak 0x40010008u -#define kNtDbgCommandException 0x40010009u -#define kNtDbgPrintexceptionWideC 0x4001000Au -#define kNtDbgExceptionNotHandled 0x80010001u +#define kNtDbgExceptionHandled 0x00010001 +#define kNtDbgContinue 0x00010002 +#define kNtDbgReplyLater 0x40010001 +#define kNtDbgTerminateThread 0x40010003 +#define kNtDbgTerminateProcess 0x40010004 +#define kNtDbgControlC 0x40010005 +#define kNtDbgPrintexceptionC 0x40010006 +#define kNtDbgRipexception 0x40010007 +#define kNtDbgControlBreak 0x40010008 +#define kNtDbgCommandException 0x40010009 +#define kNtDbgPrintexceptionWideC 0x4001000A +#define kNtDbgExceptionNotHandled 0x80010001 #define kNtStillActive kNtStatusPending #if !(__ASSEMBLER__ + __LINKER__ + 0) diff --git a/libc/nt/kernel32/GetProcessImageFileNameA.s b/libc/nt/kernel32/GetProcessImageFileNameA.s new file mode 100644 index 00000000000..359e4ff60f9 --- /dev/null +++ b/libc/nt/kernel32/GetProcessImageFileNameA.s @@ -0,0 +1,12 @@ +.include "o/libc/nt/codegen.inc" +.imp kernel32,__imp_GetProcessImageFileNameA,GetProcessImageFileNameA,676 + + .text.windows +GetProcessImageFileNameA: + push %rbp + mov %rsp,%rbp + .profilable + mov __imp_GetProcessImageFileNameA(%rip),%rax + jmp __sysv2nt + .endfn GetProcessImageFileNameA,globl + .previous diff --git a/libc/nt/kernel32/GetProcessImageFileNameW.s b/libc/nt/kernel32/GetProcessImageFileNameW.s new file mode 100644 index 00000000000..e52caecda11 --- /dev/null +++ b/libc/nt/kernel32/GetProcessImageFileNameW.s @@ -0,0 +1,12 @@ +.include "o/libc/nt/codegen.inc" +.imp kernel32,__imp_GetProcessImageFileNameW,GetProcessImageFileNameW,677 + + .text.windows +GetProcessImageFileName: + push %rbp + mov %rsp,%rbp + .profilable + mov __imp_GetProcessImageFileNameW(%rip),%rax + jmp __sysv2nt + .endfn GetProcessImageFileName,globl + .previous diff --git a/libc/nt/master.sh b/libc/nt/master.sh index e98dc6f037c..e8c947b83ed 100755 --- a/libc/nt/master.sh +++ b/libc/nt/master.sh @@ -2478,8 +2478,8 @@ imp 'GetProcessHeap' GetProcessHeap kernel32 0 # KernelBase imp 'GetProcessHeaps' GetProcessHeaps kernel32 0 # KernelBase imp 'GetProcessId' GetProcessId kernel32 0 1 # KernelBase imp 'GetProcessIdOfThread' GetProcessIdOfThread kernel32 0 1 # KernelBase -imp 'GetProcessImageFileNameA' GetProcessImageFileNameA KernelBase 676 -imp 'GetProcessImageFileName' GetProcessImageFileNameW KernelBase 677 +imp 'GetProcessImageFileNameA' GetProcessImageFileNameA kernel32 676 3 +imp 'GetProcessImageFileName' GetProcessImageFileNameW kernel32 677 3 imp 'GetProcessInformation' GetProcessInformation kernel32 0 4 # KernelBase imp 'GetProcessIoCounters' GetProcessIoCounters kernel32 701 2 imp 'GetProcessMemoryInfo' GetProcessMemoryInfo KernelBase 679 diff --git a/libc/nt/nt.mk b/libc/nt/nt.mk index 26918848e6e..52d963e32b9 100644 --- a/libc/nt/nt.mk +++ b/libc/nt/nt.mk @@ -296,6 +296,10 @@ $(LIBC_NT_SHELL32_A).pkg: \ $(LIBC_NT_OBJS): o/libc/nt/codegen.inc +o/libc/nt/codegen.inc: \ + ape/idata.internal.h \ + ape/macros.internal.h + .PHONY: o/$(MODE)/libc/nt o/$(MODE)/libc/nt: \ $(LIBC_NT_LIBS) \ diff --git a/libc/nt/ntdllimport.S b/libc/nt/ntdllimport.S index d30bdf93317..1fd5bf04bf0 100644 --- a/libc/nt/ntdllimport.S +++ b/libc/nt/ntdllimport.S @@ -19,24 +19,24 @@ #include "libc/nt/enum/status.h" #include "libc/macros.h" -/ @fileoverview NTDLL.DLL Non-Mandatory Importer -/ -/ This module lets us import Microsoft's private APIs in a way -/ that ensures executables won't fail to load in the future, -/ should Microsoft ever choose to delete these APIs. +// @fileoverview NTDLL.DLL Non-Mandatory Importer +// +// This module lets us import Microsoft's private APIs in a way +// that ensures executables won't fail to load in the future, +// should Microsoft ever choose to delete these APIs. - .initro 202,sys__init_ntdll.1 + .initro 202,_init_ntdll.1 .type kNtdllProcRvas,@object kNtdllProcRvas: .previous/* ... decentralized content ... - */.initro 202,sys__init_ntdll.3 + */.initro 202,_init_ntdll.3 .quad 0 .previous - .init.start 202,sys__init_ntdll + .init.start 202,_init_ntdll push %r12 push %r13 lea ntdllmissingno(%rip),%r13 @@ -47,7 +47,8 @@ kNtdllProcRvas: 0: lodsq test %rax,%rax jz 1f - lea (%rbx,%rax),%rdx + .weak _base + lea _base(%rax),%rdx mov %r12,%rcx call *__imp_GetProcAddress(%rip) test %rax,%rax @@ -57,7 +58,7 @@ kNtdllProcRvas: 1: add $32,%rsp pop %r13 pop %r12 - .init.end 202,sys__init_ntdll,globl,hidden + .init.end 202,_init_ntdll,globl,hidden .text.windows ntdllmissingno: diff --git a/libc/nt/ntdllimport.h b/libc/nt/ntdllimport.h index 6756854580e..4b228512470 100644 --- a/libc/nt/ntdllimport.h +++ b/libc/nt/ntdllimport.h @@ -1,3 +1,21 @@ +/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ +│vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│ +╞══════════════════════════════════════════════════════════════════════════════╡ +│ Copyright 2020 Justine Alexandra Roberts Tunney │ +│ │ +│ Permission to use, copy, modify, and/or distribute this software for │ +│ any purpose with or without fee is hereby granted, provided that the │ +│ above copyright notice and this permission notice appear in all copies. │ +│ │ +│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ +│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ +│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ +│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ +│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ +│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ +│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ +│ PERFORMANCE OF THIS SOFTWARE. │ +╚─────────────────────────────────────────────────────────────────────────────*/ #ifndef COSMOPOLITAN_LIBC_NT_NTDLLIMPORT_H_ #define COSMOPOLITAN_LIBC_NT_NTDLLIMPORT_H_ #include "ape/relocations.h" @@ -6,13 +24,13 @@ /* clang-format off */ .macro .ntimp fn:req - yoink sys__init_ntdll - .initbss 202,sys__init_ntdll.\fn + yoink _init_ntdll + .initbss 202,_init_ntdll.\fn __imp_\fn: .quad 0 .endobj __imp_\fn,globl,hidden .previous - .initro 202,sys__init_ntdll.2.\fn + .initro 202,_init_ntdll.2.\fn .quad RVA(.L\fn) .previous .section .rodata.str1.1,"aSM",@progbits,1 diff --git a/libc/nt/sysv2nt.s b/libc/nt/sysv2nt.s index 3511fa1eb2c..89b4ec8d342 100644 --- a/libc/nt/sysv2nt.s +++ b/libc/nt/sysv2nt.s @@ -18,16 +18,16 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ .section .text.windows,"ax",@progbits -/ Epilogues for calling functions w/ Microsoft x64 convention. -/ -/ @param %rax is address of windows x64 function to call -/ @param %rsi is ignored -/ @param %rdx,%rcx,%r8,%r9,stack are params (unlimited) -/ @param %xmm0,%xmm1,%xmm2 are double params (limited to 3) -/ @return is in %rax, %xmm0, or %st -/ @note GCC 4.8+ and Clang can avoid this indirection -/ @note thunk that jumps here must setup frame -/ @note this is so much faster than __nt2sysv() +// Epilogues for calling functions w/ Microsoft x64 convention. +// +// @param %rax is address of windows x64 function to call +// @param %rsi is ignored +// @param %rdx,%rcx,%r8,%r9,stack are params (unlimited) +// @param %xmm0,%xmm1,%xmm2 are double params (limited to 3) +// @return is in %rax, %xmm0, or %st +// @note GCC 4.8+ and Clang can avoid this indirection +// @note thunk that jumps here must setup frame +// @note this is so much faster than __nt2sysv() __sysv2nt14: pushq 72(%rbp) pushq 64(%rbp) diff --git a/libc/rand/randf.c b/libc/rand/randf.c index 69c6f7be0f8..7bb29080cb3 100644 --- a/libc/rand/randf.c +++ b/libc/rand/randf.c @@ -22,6 +22,6 @@ #include "libc/rand/rand.h" float randf(void) { - return (float)(int)(KnuthLinearCongruentialGenerator(&g_rando) >> 32) / + return (double)(int)(KnuthLinearCongruentialGenerator(&g_rando) >> 32) / INT_MAX; } diff --git a/libc/runtime/abort.S b/libc/runtime/abort.S index b842c4afe78..1c6f647668b 100644 --- a/libc/runtime/abort.S +++ b/libc/runtime/abort.S @@ -23,16 +23,16 @@ #include "libc/macros.h" .privileged -/ Terminates program abnormally. -/ -/ This function first tries to trigger your SIGABRT handler. If -/ there isn't one or execution resumes, then abort() terminates -/ the program using an escalating variety methods of increasing -/ brutality. -/ -/ @forcealignargpointer -/ @asyncsignalsafe -/ @noreturn +// Terminates program abnormally. +// +// This function first tries to trigger your SIGABRT handler. If +// there isn't one or execution resumes, then abort() terminates +// the program using an escalating variety methods of increasing +// brutality. +// +// @forcealignargpointer +// @asyncsignalsafe +// @noreturn abort: push %rbp mov %rsp,%rbp and $-16,%rsp diff --git a/libc/runtime/construct.S b/libc/runtime/construct.S index 90876e6e5c0..01ce4d4cde5 100644 --- a/libc/runtime/construct.S +++ b/libc/runtime/construct.S @@ -21,12 +21,12 @@ .text.startup .source __FILE__ -/ Calls global initialization functions. -/ -/ @param r12 is argc -/ @param r13 is argv -/ @param r14 is environ -/ @param r15 is auxv +// Calls global initialization functions. +// +// @param r12 is argc +// @param r13 is argv +// @param r14 is environ +// @param r15 is auxv _construct: push %rbp mov %rsp,%rbp diff --git a/libc/runtime/cosmo.S b/libc/runtime/cosmo.S index d1f7f6f1596..46d25a0a48f 100644 --- a/libc/runtime/cosmo.S +++ b/libc/runtime/cosmo.S @@ -24,13 +24,13 @@ #include "libc/dce.h" .text.startup -/ Cosmopolitan runtime. -/ -/ @param edi is argc -/ @param rsi is argv -/ @param rdx is environ -/ @param rcx is auxv -/ @noreturn +// Cosmopolitan runtime. +// +// @param edi is argc +// @param rsi is argv +// @param rdx is environ +// @param rcx is auxv +// @noreturn cosmo: push %rbp mov %rsp,%rbp mov %edi,%r12d @@ -60,10 +60,6 @@ cosmo: push %rbp add $8,%rax jmp 1b 2: nop -#if !IsTrustworthy() - mov $PROT_READ,%edi - call _piro -#endif call .Largs .weak main call main diff --git a/libc/runtime/destruct.S b/libc/runtime/destruct.S index f415bbbce02..64239403845 100644 --- a/libc/runtime/destruct.S +++ b/libc/runtime/destruct.S @@ -20,8 +20,8 @@ .text.exit .source __FILE__ -/ Calls linker registered finalization functions. -/ @note functions are called in reverse order +// Calls linker registered finalization functions. +// @note functions are called in reverse order _destruct: push %rbp mov %rsp,%rbp diff --git a/libc/runtime/dsohandle.S b/libc/runtime/dsohandle.S index d8d29ae57ba..a4c9382c42f 100644 --- a/libc/runtime/dsohandle.S +++ b/libc/runtime/dsohandle.S @@ -20,7 +20,7 @@ #include "libc/notice.inc" .source __FILE__ -/ Uniquely identifies each artifact linked in an address space. +// Uniquely identifies each artifact linked in an address space. __dso_handle: .quad __dso_handle .endobj __dso_handle,globl,hidden diff --git a/libc/runtime/exit.S b/libc/runtime/exit.S index 9d772f4967a..cf062c92a91 100644 --- a/libc/runtime/exit.S +++ b/libc/runtime/exit.S @@ -20,10 +20,10 @@ .text.exit .source __FILE__ -/ Exits program with grace. -/ -/ @param %dil has exit code -/ @noreturn +// Exits program with grace. +// +// @param %dil has exit code +// @noreturn exit: push %rbp mov %rsp,%rbp push %rdi diff --git a/libc/runtime/exit2.S b/libc/runtime/exit2.S index a9bb626d403..12c2958a42a 100644 --- a/libc/runtime/exit2.S +++ b/libc/runtime/exit2.S @@ -20,11 +20,11 @@ .privileged .source __FILE__ -/ Terminates process, ignoring destructors and atexit() handlers. -/ -/ @param edi is exit code ∈ [0,256) -/ @asyncsignalsafe -/ @vforksafe -/ @noreturn +// Terminates process, ignoring destructors and atexit() handlers. +// +// @param edi is exit code ∈ [0,256) +// @asyncsignalsafe +// @vforksafe +// @noreturn _exit: jmp _Exit .endfn _exit,globl,protected diff --git a/libc/runtime/exit3.S b/libc/runtime/exit3.S index 5b12aa34e82..5344a0a1549 100644 --- a/libc/runtime/exit3.S +++ b/libc/runtime/exit3.S @@ -22,12 +22,12 @@ .privileged .source __FILE__ -/ Terminates process, ignoring destructors and atexit() handlers. -/ -/ @param edi is exit code ∈ [0,256) -/ @asyncsignalsafe -/ @vforksafe -/ @noreturn +// Terminates process, ignoring destructors and atexit() handlers. +// +// @param edi is exit code ∈ [0,256) +// @asyncsignalsafe +// @vforksafe +// @noreturn _Exit: push %rbp mov %rsp,%rbp #if SupportsWindows() diff --git a/libc/runtime/fpreset.S b/libc/runtime/fpreset.S index 2917787e8f5..b012d084f57 100644 --- a/libc/runtime/fpreset.S +++ b/libc/runtime/fpreset.S @@ -19,7 +19,7 @@ #include "libc/macros.h" .source __FILE__ -/ Re-initializes FPU. +// Re-initializes FPU. fpreset: _fpreset: .leafprologue diff --git a/libc/runtime/free_s.c b/libc/runtime/free_s.c index 2281135e164..254c7941106 100644 --- a/libc/runtime/free_s.c +++ b/libc/runtime/free_s.c @@ -20,12 +20,8 @@ #include "libc/mem/mem.h" #include "libc/runtime/runtime.h" -/** - * Frees memory, the Cosmopolitan way. - * - * The caller's pointer is zeroed. Stack and static memory is ignored. - * This doesn't require a dependency on malloc(). - */ +/* TODO(jart): DELETE */ + void free_s(void *v) { void **pp = (void **)v; void *p = NULL; diff --git a/libc/str/wcrtomb.c b/libc/runtime/ftrace-hook.S similarity index 62% rename from libc/str/wcrtomb.c rename to libc/runtime/ftrace-hook.S index de094d10933..da962abee07 100644 --- a/libc/str/wcrtomb.c +++ b/libc/runtime/ftrace-hook.S @@ -1,7 +1,7 @@ -/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ -│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ +/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ +│vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ -│ Copyright 2020 Justine Alexandra Roberts Tunney │ +│ Copyright 2021 Justine Alexandra Roberts Tunney │ │ │ │ Permission to use, copy, modify, and/or distribute this software for │ │ any purpose with or without fee is hereby granted, provided that the │ @@ -16,11 +16,51 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/limits.h" -#include "libc/str/str.h" -#include "libc/str/tpencode.internal.h" +#include "libc/macros.h" +.privileged -size_t wcrtomb(char *s, wchar_t wc, mbstate_t *st) { - if (!s) return 1; - return tpencode(s, MB_CUR_MAX, wc, false); -} +ftrace_hook: + push %rbp + mov %rsp,%rbp + and $-16,%rsp + sub $0x80,%rsp + movaps %xmm0,0x00(%rsp) + movaps %xmm1,0x10(%rsp) + movaps %xmm2,0x20(%rsp) + movaps %xmm3,0x30(%rsp) + movaps %xmm4,0x40(%rsp) + movaps %xmm5,0x50(%rsp) + movaps %xmm6,0x60(%rsp) + movaps %xmm7,0x70(%rsp) + push %rax + push %rax + push %rdi + push %rsi + push %rdx + push %rcx + push %r8 + push %r9 + push %r10 + push %r11 + call ftrace + pop %r11 + pop %r10 + pop %r9 + pop %r8 + pop %rcx + pop %rdx + pop %rsi + pop %rdi + pop %rax + pop %rax + movaps 0x00(%rsp),%xmm0 + movaps 0x10(%rsp),%xmm1 + movaps 0x20(%rsp),%xmm2 + movaps 0x30(%rsp),%xmm3 + movaps 0x40(%rsp),%xmm4 + movaps 0x50(%rsp),%xmm5 + movaps 0x60(%rsp),%xmm6 + movaps 0x70(%rsp),%xmm7 + leave + ret + .endfn ftrace_hook,globl diff --git a/libc/runtime/ftrace.greg.c b/libc/runtime/ftrace.c similarity index 95% rename from libc/runtime/ftrace.greg.c rename to libc/runtime/ftrace.c index c048134a47e..1c38e8cba08 100644 --- a/libc/runtime/ftrace.greg.c +++ b/libc/runtime/ftrace.c @@ -46,6 +46,9 @@ * into gzip. */ +void ftrace_hook(void); + +static int noreentry; static char g_buf[512]; static const char *g_lastsymbol; static struct SymbolTable *g_symbols; @@ -66,12 +69,14 @@ forceinline int GetNestingLevel(struct StackFrame *frame) { * prologues of other functions. We assume those functions behave * according to the System Five NexGen32e ABI. */ -privileged interruptfn void ftrace_hook(void) { +privileged void ftrace(void) { size_t i, j, nesting; const char *symbol; struct StackFrame *frame; + if (!cmpxchg(&noreentry, 0, 1)) return; if (g_symbols) { frame = __builtin_frame_address(0); + frame = frame->next; symbol = &g_symbols->name_base[g_symbols ->symbols[bisectcarleft( @@ -84,18 +89,21 @@ privileged interruptfn void ftrace_hook(void) { i = 2; j = 0; while (nesting--) { + asm volatile("" : : : "memory"); g_buf[i++] = ' '; g_buf[i++] = ' '; } while (i < ARRAYLEN(g_buf) - 2 && symbol[j]) { + asm volatile("" : : : "memory"); g_buf[i++] = symbol[j++]; } g_buf[i++] = '\r'; g_buf[i++] = '\n'; - __print(g_buf, i); + write(2, g_buf, i); } g_lastsymbol = symbol; } + noreentry = 0; } /** diff --git a/libc/runtime/getpagesize.S b/libc/runtime/getpagesize.S index 61d95385fb0..4c046a464de 100644 --- a/libc/runtime/getpagesize.S +++ b/libc/runtime/getpagesize.S @@ -19,7 +19,7 @@ #include "libc/macros.h" .source __FILE__ -/ Returns granularity of memory manager. +// Returns granularity of memory manager. getpagesize: .leafprologue .profilable diff --git a/libc/runtime/hook.greg.c b/libc/runtime/hook.greg.c index e14e997bd82..6bc479d8507 100644 --- a/libc/runtime/hook.greg.c +++ b/libc/runtime/hook.greg.c @@ -42,7 +42,7 @@ * * @see ape/ape.lds */ -privileged void __hook(void ifunc(void), struct SymbolTable *symbols) { +privileged void __hook(void *ifunc, struct SymbolTable *symbols) { size_t i; intptr_t addr; sigset_t oldmask; diff --git a/libc/runtime/init.S b/libc/runtime/init.S index 4272361f3c2..933b680e225 100644 --- a/libc/runtime/init.S +++ b/libc/runtime/init.S @@ -22,30 +22,30 @@ #include "libc/dce.h" .source __FILE__ -/ Decentralized function for process initialization. -/ -/ Modules may inject cheap data structure initialization code into -/ this function using the .init.start and .init.end macros. That -/ code can use the LODS and STOS instructions to initialize memory -/ that's restricted to read-only after initialization by PIRO. -/ -/ This is fast, since the linker is able to roll-up initialization -/ for large codebases comprised of many modules, into a perfectly -/ linear order. It also enables a common pattern we use, which we -/ call “Referencing Is Initialization” (RII). -/ -/ C/C++ code should favor using ordinary constructors, since under -/ normal circumstances the compiler will clobber RDI and RSI which -/ are granted special meanings within this function. -/ -/ @param r12 is argc (still callee saved) -/ @param r13 is argv (still callee saved) -/ @param r14 is envp (still callee saved) -/ @param r15 is envp (still callee saved) -/ @note rdi is __init_bss_start (callee monotonic lockstep) -/ @note rsi is __init_rodata_start (callee monotonic lockstep) -/ @see .init.start & .init.end (libc/macros.internal.inc) -/ @see ape/ape.lds +// Decentralized function for process initialization. +// +// Modules may inject cheap data structure initialization code into +// this function using the .init.start and .init.end macros. That +// code can use the LODS and STOS instructions to initialize memory +// that's restricted to read-only after initialization by PIRO. +// +// This is fast, since the linker is able to roll-up initialization +// for large codebases comprised of many modules, into a perfectly +// linear order. It also enables a common pattern we use, which we +// call “Referencing Is Initialization” (RII). +// +// C/C++ code should favor using ordinary constructors, since under +// normal circumstances the compiler will clobber RDI and RSI which +// are granted special meanings within this function. +// +// @param r12 is argc (still callee saved) +// @param r13 is argv (still callee saved) +// @param r14 is envp (still callee saved) +// @param r15 is envp (still callee saved) +// @note rdi is __init_bss_start (callee monotonic lockstep) +// @note rsi is __init_rodata_start (callee monotonic lockstep) +// @see .init.start & .init.end (libc/macros.internal.inc) +// @see ape/ape.lds .section .initprologue,"ax",@progbits .type _init,@function .globl _init @@ -75,10 +75,10 @@ _woot: leave ret .previous -/ Decentralized section for packed data structures & initializers. -/ -/ @see .initro (libc/macros.internal.inc) -/ @see ape/ape.lds +// Decentralized section for packed data structures & initializers. +// +// @see .initro (libc/macros.internal.inc) +// @see ape/ape.lds .section .initroprologue,"a",@progbits .type __init_rodata_start,@object .type __init_rodata_end,@object @@ -95,13 +95,13 @@ __init_rodata_end: .byte 0x90 .previous -/ Decentralized section for unpacked data structures. -/ -/ Data in this section becomes read-only after initialization. -/ -/ @see .piro.bss.init (libc/macros.internal.inc) -/ @see libc/runtime/piro.c -/ @see ape/ape.lds +// Decentralized section for unpacked data structures. +// +// Data in this section becomes read-only after initialization. +// +// @see .piro.bss.init (libc/macros.internal.inc) +// @see libc/runtime/piro.c +// @see ape/ape.lds .section .piro.bss.init.1,"aw",@nobits .type __init_bss_start,@object .type __init_bss_end,@object @@ -118,14 +118,14 @@ __init_bss_end: .byte 0 .previous -/ Special area for Windows NT support code. -/ -/ Isolating this code adds value for Windows users by minimizing -/ page faults through improved locality. On System Five the PIRO -/ runtime can unmap these pages. -/ -/ @see libc/runtime/piro.c -/ @see ape/ape.lds +// Special area for Windows NT support code. +// +// Isolating this code adds value for Windows users by minimizing +// page faults through improved locality. On System Five the PIRO +// runtime can unmap these pages. +// +// @see libc/runtime/piro.c +// @see ape/ape.lds .section .textwindowsprologue,"ax",@progbits .type __text_windows_start,@object .type __text_windows_end,@object diff --git a/libc/runtime/internal.h b/libc/runtime/internal.h index 9b93d5669fa..6d48997fb52 100644 --- a/libc/runtime/internal.h +++ b/libc/runtime/internal.h @@ -17,7 +17,6 @@ extern hidden char **g_freebsdhint; extern hidden void *g_stacktop; void _init(void) hidden; -void _piro(int) hidden; void *__cxa_finalize(void *) hidden; void cosmo(int, char **, char **, long (*)[2]) hidden wontreturn; void __stack_chk_fail(void) wontreturn relegated; diff --git a/libc/runtime/jmpstack.S b/libc/runtime/jmpstack.S index 9724f78319e..04bb2468195 100644 --- a/libc/runtime/jmpstack.S +++ b/libc/runtime/jmpstack.S @@ -18,12 +18,12 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Switches stack. -/ -/ @param rdi is new rsp, passed as malloc(size) + size -/ @param rsi is function to call in new stack space -/ @param rdx,rcx,r8,r9 get passed as args to rsi -/ @noreturn +// Switches stack. +// +// @param rdi is new rsp, passed as malloc(size) + size +// @param rsi is function to call in new stack space +// @param rdx,rcx,r8,r9 get passed as args to rsi +// @noreturn _jmpstack: mov %rdi,%rsp mov %rsi,%rax diff --git a/libc/runtime/peekall.S b/libc/runtime/peekall.S index 8ce633ed3ba..816290dcf52 100644 --- a/libc/runtime/peekall.S +++ b/libc/runtime/peekall.S @@ -20,7 +20,7 @@ #include "libc/macros.h" .source __FILE__ -/ Loads all pages from program image into memory. +// Loads all pages from program image into memory. peekall:.leafprologue ezlea _base,si ezlea _end,cx diff --git a/libc/runtime/piro.c b/libc/runtime/piro.c deleted file mode 100644 index acf75ed8633..00000000000 --- a/libc/runtime/piro.c +++ /dev/null @@ -1,69 +0,0 @@ -/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ -│vi: set net ft=c ts=8 sts=2 sw=2 fenc=utf-8 :vi│ -╞══════════════════════════════════════════════════════════════════════════════╡ -│ Copyright 2020 Justine Alexandra Roberts Tunney │ -│ │ -│ Permission to use, copy, modify, and/or distribute this software for │ -│ any purpose with or without fee is hereby granted, provided that the │ -│ above copyright notice and this permission notice appear in all copies. │ -│ │ -│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ -│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ -│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ -│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ -│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ -│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ -│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ -│ PERFORMANCE OF THIS SOFTWARE. │ -╠──────────────────────────────────────────────────────────────────────────────╣ -│░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -│░░░░░░░█▀█░█▀█░▀█▀░█░█░█▀█░█░░░█░░░█░█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -│░░░░░░░█▀█░█░▄░░█░░█░█░█▀█░█░░░█░░░▀█▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -│░░░░░░░▀░▀░▀▀▀░░▀░░▀▀▀░▀░▀░▀▀▀░▀▀▀░░▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -│░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -│░░░░░░░█▀█░█▀█░█▀█░▀█▀░█▀█░█▀█░█░░░█▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -│░░░░░░░█▀▀░█ █░██▀░░█░░█▀█░█▀█░█░░░█▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -│░░░░░░░▀░░░▀▀▀░▀░▀░░▀░░▀░▀░▀▀▀░▀▀▀░▀▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -│░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ -│░░░░░░░█▀▀░█░█░█▀▀░█▀█░█░█░▀█▀░█▀█░█▀█░█░░█▀▀░░░░░░░░░░░░░░░░░░░░░░░░▄▄░░░▐█░░│ -│░░░░░░░█▀▀░▄▀▄░█▀▀░█░▄░█░█░░█░░█▀█░█▀█░█░░█▀▀░░░░░░░░░░░░▄▄▄░░░▄██▄░░█▀░░░█░▄░│ -│░░░░░░░▀▀▀░▀░▀░▀▀▀░▀▀▀░▀▀▀░░▀░░▀░▀░▀▀▀░▀▀░▀▀▀░░░░░░░░░░▄██▀█▌░██▄▄░░▐█▀▄░▐█▀░░│ -│░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▐█▀▀▌░░░▄▀▌░▌░█░▌░░▌░▌░░│ -╠──────────────────────────────────────────────────────▌▀▄─▐──▀▄─▐▄─▐▄▐▄─▐▄─▐▄─│ -│ αcτµαlly pδrταblε εxεcµταblε § post-initialization read-only │ -╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/bits/safemacros.h" -#include "libc/bits/weaken.h" -#include "libc/calls/calls.h" -#include "libc/runtime/internal.h" -#include "libc/runtime/runtime.h" -#include "libc/sysv/consts/prot.h" - -#define getaddr(section) ((intptr_t)weakaddr(section)) - -static textstartup void _piro_protect(intptr_t start, intptr_t end, int prot) { - ssize_t len = end - start; - if (len > 0 && start && start % PAGESIZE == 0 && len % PAGESIZE == 0) { - if (mprotect((void *)(unsigned long)start, len, prot) == -1) abort(); - } -} - -/** - * Protects memory initialized at startup. - * e.g. function hooks, unpacked data structures, etc. - * - * This is only performed for executables of nontrivial size. It won't - * break the build if the αpε linker script wasn't used. Test code is - * protected too, so we don't end up like Knight Capital. - * - * @param prot can have PROT_{NONE,READ,WRITE,EXEC} - * @see ape/ape.lds - * @see libc/_start.S - */ -textstartup void _piro(int prot) { - if (getaddr("main") < getaddr("__test_start")) { - _piro_protect(getaddr("__test_start"), getaddr("__test_end"), PROT_NONE); - } - _piro_protect(getaddr("__ro"), getaddr("_etext"), PROT_READ); - _piro_protect(getaddr("__piro_start"), getaddr("__piro_end"), prot); -} diff --git a/libc/runtime/print.greg.c b/libc/runtime/print.greg.c index 2b9dc0ee3bb..b821246db0c 100644 --- a/libc/runtime/print.greg.c +++ b/libc/runtime/print.greg.c @@ -25,6 +25,8 @@ #include "libc/sysv/consts/fileno.h" #include "libc/sysv/consts/nr.h" +/* TODO(jart): DELETE */ + #define WasImported(SLOT) \ ((void *)*SLOT && *SLOT != (void *)&missingno /* see libc/crt/crt.S */) diff --git a/libc/runtime/progname.S b/libc/runtime/progname.S index 3434914ac5e..6e0e2b20bfb 100644 --- a/libc/runtime/progname.S +++ b/libc/runtime/progname.S @@ -19,7 +19,7 @@ #include "libc/macros.h" .source __FILE__ -/ Provides argv[0] The BSD Way. +// Provides argv[0] The BSD Way. .initbss 300,_init___progname __progname: .quad 0 diff --git a/libc/runtime/program_invocation_short_name.S b/libc/runtime/program_invocation_short_name.S index d7825c7c070..da4c678fd17 100644 --- a/libc/runtime/program_invocation_short_name.S +++ b/libc/runtime/program_invocation_short_name.S @@ -19,7 +19,7 @@ #include "libc/macros.h" .source __FILE__ -/ Supplies basename(argv[0]) The GNU Way. +// Supplies basename(argv[0]) The GNU Way. .initbss 400,_init_program_invocation_short_name program_invocation_short_name: .quad 0 @@ -34,9 +34,9 @@ program_invocation_short_name: mov (%r13),%rsi # argv[0] mov %rsi,%rcx 1: lodsb - cmp $'/,%al + cmp $'/',%al cmoveq %rsi,%rcx - cmp $'\\,%al + cmp $'\\',%al cmoveq %rsi,%rcx test %al,%al jnz 1b diff --git a/libc/runtime/setstack.S b/libc/runtime/setstack.S index dc96e3de607..284766f7740 100644 --- a/libc/runtime/setstack.S +++ b/libc/runtime/setstack.S @@ -18,12 +18,12 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Switches stack. -/ -/ @param rdi is new rsp, passed as malloc(size) + size -/ @param rsi is function to call in new stack space -/ @param rdx,rcx,r8,r9 get passed as args to rsi -/ @return rax and happens on original stack +// Switches stack. +// +// @param rdi is new rsp, passed as malloc(size) + size +// @param rsi is function to call in new stack space +// @param rdx,rcx,r8,r9 get passed as args to rsi +// @return rax and happens on original stack _setstack: push %rbp mov %rsp,%rbp diff --git a/libc/runtime/symbols.internal.h b/libc/runtime/symbols.internal.h index 38de507d0d4..f6195068785 100644 --- a/libc/runtime/symbols.internal.h +++ b/libc/runtime/symbols.internal.h @@ -32,7 +32,7 @@ const char *FindComBinary(void); const char *FindDebugBinary(void); struct SymbolTable *OpenSymbolTable(const char *) nodiscard; int CloseSymbolTable(struct SymbolTable **); -void __hook(void (*)(void), struct SymbolTable *); +void __hook(void *, struct SymbolTable *); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/runtime/vfork.S b/libc/runtime/vfork.S index 61dcf99b374..8f71213e5ef 100644 --- a/libc/runtime/vfork.S +++ b/libc/runtime/vfork.S @@ -20,20 +20,20 @@ #include "libc/macros.h" .privileged -/ Forks process without copying page tables. -/ -/ This is the same as fork() except it's optimized for the case -/ where the caller invokes execve() immediately afterwards. You -/ can also call functions like close(), dup2(), etc. You cannot -/ call read() safely but you can call pread(). Call _exit() but -/ don't call exit(). Look for the vforksafe function annotation -/ -/ Do not make the assumption that the parent is suspended until -/ the child terminates since this impl calls fork() on Windows. -/ -/ @return pid of child process or 0 if forked process -/ @returnstwice -/ @vforksafe +// Forks process without copying page tables. +// +// This is the same as fork() except it's optimized for the case +// where the caller invokes execve() immediately afterwards. You +// can also call functions like close(), dup2(), etc. You cannot +// call read() safely but you can call pread(). Call _exit() but +// don't call exit(). Look for the vforksafe function annotation +// +// Do not make the assumption that the parent is suspended until +// the child terminates since this impl calls fork() on Windows. +// +// @return pid of child process or 0 if forked process +// @returnstwice +// @vforksafe vfork: #if SupportsWindows() testb IsWindows() @@ -48,7 +48,7 @@ vfork: syscall push %rsi # note it happens twice in same page cmp $-4095,%eax - jae systemfive.error + jae systemfive_error 0: ezlea __vforked,di test %eax,%eax jz 1f @@ -62,7 +62,7 @@ vfork: vfork.bsd: syscall push %rsi - jc systemfive.errno + jc systemfive_errno #if SupportsXnu() testb IsXnu() jz 0b diff --git a/libc/runtime/weakfree.S b/libc/runtime/weakfree.S index 099241afdde..ba0f2c5eebf 100644 --- a/libc/runtime/weakfree.S +++ b/libc/runtime/weakfree.S @@ -19,9 +19,9 @@ #include "libc/macros.h" .source __FILE__ -/ Thunks free() if it's linked, otherwise do nothing. -/ -/ @see free_s() which can ignore static/stack and clear refs +// Thunks free() if it's linked, otherwise do nothing. +// +// @see free_s() which can ignore static/stack and clear refs weakfree: push %rbp mov %rsp,%rbp diff --git a/libc/runtime/winmain.greg.c b/libc/runtime/winmain.greg.c index ecae08d08d2..8353b5066af 100644 --- a/libc/runtime/winmain.greg.c +++ b/libc/runtime/winmain.greg.c @@ -103,8 +103,9 @@ static noasan textwindows wontreturn void WinMainNew(void) { long auxv[1][2]; struct WinArgs *wa; const char16_t *env16; + extern char os asm("__hostos"); + os = WINDOWS; /* madness https://news.ycombinator.com/item?id=21019722 */ NormalizeCmdExe(); - *(/*unconst*/ int *)&__hostos = WINDOWS; addr = NtGetVersion() < kNtVersionWindows10 ? 0xff00000 : 0x777000000000; size = ROUNDUP(STACKSIZE + sizeof(struct WinArgs), FRAMESIZE); _mmi.p[0].h = diff --git a/libc/sock/bind.c b/libc/sock/bind.c index 28aecfd6ac9..a01cba6656e 100644 --- a/libc/sock/bind.c +++ b/libc/sock/bind.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/assert.h" #include "libc/calls/internal.h" #include "libc/dce.h" #include "libc/sock/internal.h" @@ -41,8 +42,7 @@ int bind(int fd, const void *addr, uint32_t addrsize) { return sys_bind(fd, addr, addrsize); } else { struct sockaddr_in_bsd addr2; - _Static_assert(sizeof(struct sockaddr_in) == - sizeof(struct sockaddr_in_bsd)); + assert(sizeof(struct sockaddr_in) == sizeof(struct sockaddr_in_bsd)); memcpy(&addr2, addr, sizeof(struct sockaddr_in)); sockaddr2bsd(&addr2); return sys_bind(fd, &addr2, addrsize); diff --git a/libc/sock/connect-sysv.c b/libc/sock/connect-sysv.c index 5c546437f2a..94455d0359e 100644 --- a/libc/sock/connect-sysv.c +++ b/libc/sock/connect-sysv.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/assert.h" #include "libc/dce.h" #include "libc/sock/internal.h" #include "libc/str/str.h" @@ -27,8 +28,7 @@ int sys_connect(int fd, const void *addr, uint32_t addrsize) { return __sys_connect(fd, addr, addrsize); } else { struct sockaddr_in_bsd addr2; - _Static_assert(sizeof(struct sockaddr_in) == - sizeof(struct sockaddr_in_bsd)); + assert(sizeof(struct sockaddr_in) == sizeof(struct sockaddr_in_bsd)); memcpy(&addr2, addr, sizeof(struct sockaddr_in)); sockaddr2bsd(&addr2); return sys_connect(fd, &addr2, addrsize); diff --git a/libc/sock/sendto.c b/libc/sock/sendto.c index c6dd53f5921..7b30d6675d3 100644 --- a/libc/sock/sendto.c +++ b/libc/sock/sendto.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/assert.h" #include "libc/calls/internal.h" #include "libc/calls/struct/iovec.h" #include "libc/dce.h" @@ -46,7 +47,7 @@ */ ssize_t sendto(int fd, const void *buf, size_t size, uint32_t flags, const void *opt_addr, uint32_t addrsize) { - _Static_assert(sizeof(struct sockaddr_in) == sizeof(struct sockaddr_in_bsd)); + assert(sizeof(struct sockaddr_in) == sizeof(struct sockaddr_in_bsd)); if (!IsWindows()) { if (!IsBsd() || !opt_addr) { return sys_sendto(fd, buf, size, flags, opt_addr, addrsize); diff --git a/libc/stdio/fflush.c b/libc/stdio/fflush.c index cfbce4f56ec..f1665259395 100644 --- a/libc/stdio/fflush.c +++ b/libc/stdio/fflush.c @@ -65,7 +65,6 @@ textstartup int _fflushregister(FILE *f) { size_t i; struct StdioFlush *sf; sf = &g_fflush; - sf = sf; if (!sf->handles.p) { sf->handles.p = &sf->handles_initmem[0]; pushmov(&sf->handles.n, ARRAYLEN(sf->handles_initmem)); diff --git a/libc/stdio/getchar.S b/libc/stdio/getchar.S index b413810b261..b46fcee44fe 100644 --- a/libc/stdio/getchar.S +++ b/libc/stdio/getchar.S @@ -19,8 +19,8 @@ #include "libc/macros.h" .source __FILE__ -/ Reads uint8_t from standard input. -/ @return %al has result w/ rest of %rax cleared +// Reads uint8_t from standard input. +// @return %al has result w/ rest of %rax cleared getchar:mov stdin(%rip),%rdi jmp fgetc .endfn getchar,globl diff --git a/libc/stdio/getwchar.S b/libc/stdio/getwchar.S index e5f758fcccd..358f7eee913 100644 --- a/libc/stdio/getwchar.S +++ b/libc/stdio/getwchar.S @@ -19,8 +19,8 @@ #include "libc/macros.h" .source __FILE__ -/ Reads Thompson-Pike encoded varint from standard input. -/ @return %eax has result w/ rest of %rax cleared +// Reads Thompson-Pike encoded varint from standard input. +// @return %eax has result w/ rest of %rax cleared getwchar: mov stdin(%rip),%rdi jmp fgetwc diff --git a/libc/stdio/putwc.S b/libc/stdio/putwc.S index 36bc465db56..a2d5f31d13e 100644 --- a/libc/stdio/putwc.S +++ b/libc/stdio/putwc.S @@ -19,9 +19,9 @@ #include "libc/macros.h" .source __FILE__ -/ Writes wide character to stream. -/ @param %edi is the wide character -/ @param %rsi is the FILE stream pointer -/ @return %eax is set to %edi param or -1 on error +// Writes wide character to stream. +// @param %edi is the wide character +// @param %rsi is the FILE stream pointer +// @return %eax is set to %edi param or -1 on error putwc: jmp fputwc .endfn putwc,globl diff --git a/libc/stdio/stdio.h b/libc/stdio/stdio.h index 583de973864..8f49fddfc25 100644 --- a/libc/stdio/stdio.h +++ b/libc/stdio/stdio.h @@ -80,7 +80,6 @@ compatfn int64_t ftello(FILE *) paramsnonnull(); int system(const char *); int systemexec(const char *); -int systemecho(const char *); /*───────────────────────────────────────────────────────────────────────────│─╗ │ cosmopolitan § standard i/o » formatting ─╬─│┼ diff --git a/libc/stdio/systemecho.c b/libc/stdio/systemecho.c deleted file mode 100644 index 489f5185cfc..00000000000 --- a/libc/stdio/systemecho.c +++ /dev/null @@ -1,24 +0,0 @@ -/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ -│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ -╞══════════════════════════════════════════════════════════════════════════════╡ -│ Copyright 2020 Justine Alexandra Roberts Tunney │ -│ │ -│ Permission to use, copy, modify, and/or distribute this software for │ -│ any purpose with or without fee is hereby granted, provided that the │ -│ above copyright notice and this permission notice appear in all copies. │ -│ │ -│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ -│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ -│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ -│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ -│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ -│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ -│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ -│ PERFORMANCE OF THIS SOFTWARE. │ -╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/stdio.h" - -int systemecho(const char *cmd) { - fprintf(stderr, "+ %s\n", cmd); - return system(cmd); -} diff --git a/libc/str/crc32.S b/libc/str/crc32.S index 1e067ff9b50..ecb11a82a64 100644 --- a/libc/str/crc32.S +++ b/libc/str/crc32.S @@ -18,11 +18,11 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Computes Phil Katz CRC-32 used by zip/zlib/gzip/etc. -/ -/ @param edi is init crc32 value -/ @param rsi is nullable pointer to data -/ @param edx is int size per zlib interface +// Computes Phil Katz CRC-32 used by zip/zlib/gzip/etc. +// +// @param edi is init crc32 value +// @param rsi is nullable pointer to data +// @param edx is int size per zlib interface crc32: movslq %edx,%rdx jmp crc32_z .endfn crc32,globl diff --git a/libc/str/crc32c.S b/libc/str/crc32c.S index 4366bdbbc50..12d1f6153b1 100644 --- a/libc/str/crc32c.S +++ b/libc/str/crc32c.S @@ -21,13 +21,13 @@ #include "libc/nexgen32e/x86feature.h" #include "libc/notice.inc" -/ Computes 32-bit Castagnoli Cyclic Redundancy Check. -/ -/ @param edi is the initial hash value (0 is fine) -/ @param rsi points to the data -/ @param rdx is the byte size of data -/ @return eax is the new hash value -/ @note Used by ISCSI, TensorFlow, etc. +// Computes 32-bit Castagnoli Cyclic Redundancy Check. +// +// @param edi is the initial hash value (0 is fine) +// @param rsi points to the data +// @param rdx is the byte size of data +// @return eax is the new hash value +// @note Used by ISCSI, TensorFlow, etc. .initbss 300,_init_crc32c crc32c: .quad 0 .endobj crc32c,globl diff --git a/libc/str/rindex.S b/libc/str/rindex.S index 17cb709a5ac..7f5bf723f72 100644 --- a/libc/str/rindex.S +++ b/libc/str/rindex.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns pointer to last instance of character the BSD way. -/ -/ @param rdi is a non-null NUL-terminated string pointer -/ @param esi is the search byte -/ @return rax points to result, or NULL if not found +// Returns pointer to last instance of character the BSD way. +// +// @param rdi is a non-null NUL-terminated string pointer +// @param esi is the search byte +// @return rax points to result, or NULL if not found rindex: jmp strrchr .endfn rindex,globl diff --git a/libc/str/sha256.c b/libc/str/sha256.c deleted file mode 100644 index 5ceb1492d0a..00000000000 --- a/libc/str/sha256.c +++ /dev/null @@ -1,135 +0,0 @@ -/********************************************************************* -* Filename: sha256.c -* Author: Brad Conte (brad AT bradconte.com) -* Copyright: -* Disclaimer: This code is presented "as is" without any guarantees. -* Details: Implementation of the SHA-256 hashing algorithm. - SHA-256 is one of the three algorithms in the SHA2 - specification. The others, SHA-384 and SHA-512, are not - offered in this implementation. - Algorithm specification can be found here: - * http://csrc.nist.gov/publications/fips/fips180-2/fips180-2withchangenotice.pdf - This implementation uses little endian byte order. -*********************************************************************/ -#include "libc/bits/safemacros.h" -#include "libc/dce.h" -#include "libc/nexgen32e/x86feature.h" -#include "libc/str/internal.h" -#include "libc/str/sha256.h" - -#define ROTLEFT(a, b) (((a) << (b)) | ((a) >> (32 - (b)))) -#define ROTRIGHT(a, b) (((a) >> (b)) | ((a) << (32 - (b)))) -#define CH(x, y, z) (((x) & (y)) ^ (~(x) & (z))) -#define MAJ(x, y, z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) -#define EP0(x) (ROTRIGHT(x, 2) ^ ROTRIGHT(x, 13) ^ ROTRIGHT(x, 22)) -#define EP1(x) (ROTRIGHT(x, 6) ^ ROTRIGHT(x, 11) ^ ROTRIGHT(x, 25)) -#define SIG0(x) (ROTRIGHT(x, 7) ^ ROTRIGHT(x, 18) ^ ((x) >> 3)) -#define SIG1(x) (ROTRIGHT(x, 17) ^ ROTRIGHT(x, 19) ^ ((x) >> 10)) - -static void sha256_transform(uint32_t state[hasatleast 8], - const uint8_t data[hasatleast 64]) { - size_t i; - uint32_t a, b, c, d, e, f, g, h, t1, t2, m[64]; - for (i = 0; i < 16; ++i, data += 4) { - m[i] = (uint32_t)data[0] << 24 | data[1] << 16 | data[2] << 8 | data[3]; - } - for (; i < 64; ++i) { - m[i] = SIG1(m[i - 2]) + m[i - 7] + SIG0(m[i - 15]) + m[i - 16]; - } - a = state[0]; - b = state[1]; - c = state[2]; - d = state[3]; - e = state[4]; - f = state[5]; - g = state[6]; - h = state[7]; - for (i = 0; i < 64; ++i) { - t1 = h + EP1(e) + CH(e, f, g) + kSha256Tab[i] + m[i]; - t2 = EP0(a) + MAJ(a, b, c); - h = g; - g = f; - f = e; - e = d + t1; - d = c; - c = b; - b = a; - a = t1 + t2; - } - state[0] += a; - state[1] += b; - state[2] += c; - state[3] += d; - state[4] += e; - state[5] += f; - state[6] += g; - state[7] += h; -} - -void sha256_init(struct Sha256Ctx *ctx) { - ctx->datalen = 0; - ctx->bitlen = 0; - ctx->state[0] = 0x6a09e667; - ctx->state[1] = 0xbb67ae85; - ctx->state[2] = 0x3c6ef372; - ctx->state[3] = 0xa54ff53a; - ctx->state[4] = 0x510e527f; - ctx->state[5] = 0x9b05688c; - ctx->state[6] = 0x1f83d9ab; - ctx->state[7] = 0x5be0cd19; -} - -void sha256_update(struct Sha256Ctx *ctx, const uint8_t *data, size_t size) { - size_t i; - i = 0; -#if 0 - if (!IsTiny() && size >= 64 && - (X86_HAVE(SHA) && X86_HAVE(SSE4_1) && X86_HAVE(SSSE3))) { - sha256_x86(ctx->state, data, size); - i += rounddown(size, 16); - } -#endif - for (; i < size; ++i) { - ctx->data[ctx->datalen] = data[i]; - ctx->datalen++; - if (ctx->datalen == 64) { - sha256_transform(ctx->state, ctx->data); - ctx->bitlen += 512; - ctx->datalen = 0; - } - } -} - -void sha256_final(struct Sha256Ctx *ctx, uint8_t *hash) { - size_t i; - i = ctx->datalen; - if (ctx->datalen < 56) { - ctx->data[i++] = 0x80; - while (i < 56) ctx->data[i++] = 0x00; - } else { - ctx->data[i++] = 0x80; - while (i < 64) ctx->data[i++] = 0x00; - sha256_transform(ctx->state, ctx->data); - memset(ctx->data, 0, 56); - } - ctx->bitlen += ctx->datalen * 8; - ctx->data[63] = ctx->bitlen; - ctx->data[62] = ctx->bitlen >> 8; - ctx->data[61] = ctx->bitlen >> 16; - ctx->data[60] = ctx->bitlen >> 24; - ctx->data[59] = ctx->bitlen >> 32; - ctx->data[58] = ctx->bitlen >> 40; - ctx->data[57] = ctx->bitlen >> 48; - ctx->data[56] = ctx->bitlen >> 56; - sha256_transform(ctx->state, ctx->data); - for (i = 0; i < 4; ++i) { - hash[i] = (ctx->state[0] >> (24 - i * 8)) & 0x000000ff; - hash[i + 4] = (ctx->state[1] >> (24 - i * 8)) & 0x000000ff; - hash[i + 8] = (ctx->state[2] >> (24 - i * 8)) & 0x000000ff; - hash[i + 12] = (ctx->state[3] >> (24 - i * 8)) & 0x000000ff; - hash[i + 16] = (ctx->state[4] >> (24 - i * 8)) & 0x000000ff; - hash[i + 20] = (ctx->state[5] >> (24 - i * 8)) & 0x000000ff; - hash[i + 24] = (ctx->state[6] >> (24 - i * 8)) & 0x000000ff; - hash[i + 28] = (ctx->state[7] >> (24 - i * 8)) & 0x000000ff; - } -} diff --git a/libc/str/sha256.h b/libc/str/sha256.h deleted file mode 100644 index 3c473338e60..00000000000 --- a/libc/str/sha256.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef COSMOPOLITAN_LIBC_STR_SHA256_H_ -#define COSMOPOLITAN_LIBC_STR_SHA256_H_ - -#define SHA256_BLOCK_SIZE 32 - -#if !(__ASSEMBLER__ + __LINKER__ + 0) -COSMOPOLITAN_C_START_ - -struct Sha256Ctx { - uint8_t data[64]; - uint32_t datalen; - uint64_t bitlen; - uint32_t state[8]; -}; - -void sha256_init(struct Sha256Ctx *); -void sha256_update(struct Sha256Ctx *, const uint8_t *, size_t); -void sha256_final(struct Sha256Ctx *, uint8_t *); - -COSMOPOLITAN_C_END_ -#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ -#endif /* COSMOPOLITAN_LIBC_STR_SHA256_H_ */ diff --git a/libc/str/str.h b/libc/str/str.h index 5a140064301..dab0b0be73d 100644 --- a/libc/str/str.h +++ b/libc/str/str.h @@ -219,9 +219,6 @@ int mbtowc(wchar_t *, const char *, size_t); size_t mbrtowc(wchar_t *, const char *, size_t, mbstate_t *); size_t mbsrtowcs(wchar_t *, const char **, size_t, mbstate_t *); size_t mbstowcs(wchar_t *, const char *, size_t); -size_t wcstombs(char *, const wchar_t *, size_t); -size_t wcsrtombs(char *, const wchar_t **, size_t, mbstate_t *); -size_t wcrtomb(char *, wchar_t, mbstate_t *); int wctomb(char *, wchar_t); int wctob(wint_t); diff --git a/libc/str/tpenc.S b/libc/str/tpenc.S index c7c66a5087a..c4aa9fca98b 100644 --- a/libc/str/tpenc.S +++ b/libc/str/tpenc.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Encodes Thompson-Pike varint. -/ -/ @param edi is int to encode -/ @return rax is word-encoded byte buffer -/ @note invented on a napkin in a new jersey diner +// Encodes Thompson-Pike varint. +// +// @param edi is int to encode +// @return rax is word-encoded byte buffer +// @note invented on a napkin in a new jersey diner tpenc: .leafprologue .profilable mov %edi,%edi diff --git a/libc/str/wcsrtombs.c b/libc/str/wcsrtombs.c deleted file mode 100644 index bcaac5a9a1d..00000000000 --- a/libc/str/wcsrtombs.c +++ /dev/null @@ -1,41 +0,0 @@ -/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ -│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ -╞══════════════════════════════════════════════════════════════════════════════╡ -│ Copyright 2020 Justine Alexandra Roberts Tunney │ -│ │ -│ Permission to use, copy, modify, and/or distribute this software for │ -│ any purpose with or without fee is hereby granted, provided that the │ -│ above copyright notice and this permission notice appear in all copies. │ -│ │ -│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ -│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ -│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ -│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ -│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ -│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ -│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ -│ PERFORMANCE OF THIS SOFTWARE. │ -╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/fmt/conv.h" -#include "libc/str/str.h" -#include "libc/str/tpencode.internal.h" - -size_t wcsrtombs(char *dest, const wchar_t **src, size_t len, mbstate_t *ps) { - /* TODO(jart): broken */ - int64_t word; - size_t i, got; - i = 0; - if (len) { - for (;;) { - if (!**src || len == 1) { - dest[i] = '\0'; - break; - } - size_t got = abs(tpencode(&dest[i], len, **src, false)); - len -= got; - i += got; - *src += 1; - } - } - return i; -} diff --git a/libc/str/wcstombs.c b/libc/str/wcstombs.c deleted file mode 100644 index 4f9439f2935..00000000000 --- a/libc/str/wcstombs.c +++ /dev/null @@ -1,23 +0,0 @@ -/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ -│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ -╞══════════════════════════════════════════════════════════════════════════════╡ -│ Copyright 2020 Justine Alexandra Roberts Tunney │ -│ │ -│ Permission to use, copy, modify, and/or distribute this software for │ -│ any purpose with or without fee is hereby granted, provided that the │ -│ above copyright notice and this permission notice appear in all copies. │ -│ │ -│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ -│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ -│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ -│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ -│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ -│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ -│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ -│ PERFORMANCE OF THIS SOFTWARE. │ -╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" - -size_t wcstombs(char *s, const wchar_t *ws, size_t n) { - return wcsrtombs(s, &(const wchar_t *){ws}, n, 0); -} diff --git a/libc/stubs/abort.S b/libc/stubs/abort.S index 3733d6c2dfe..446c05870f6 100644 --- a/libc/stubs/abort.S +++ b/libc/stubs/abort.S @@ -21,9 +21,9 @@ .source __FILE__ .code16 # ∩ .code32 ∩ .code64 -/ Most basic tier of program self-termination. -/ -/ @mode long,legacy,real +// Most basic tier of program self-termination. +// +// @mode long,legacy,real abort: push %bp mov %sp,%bp rlcall panic diff --git a/libc/stubs/assertfail.S b/libc/stubs/assertfail.S index dd202ce5e6a..18edb1e52ce 100644 --- a/libc/stubs/assertfail.S +++ b/libc/stubs/assertfail.S @@ -21,11 +21,11 @@ .source __FILE__ .code16 # ∩ .code32 ∩ .code64 -/ Lightweight universal overridable assert() macro support. -/ -/ @see libc/log/__assert_fail.c -/ @mode long,legacy,real -/ @noreturn +// Lightweight universal overridable assert() macro support. +// +// @see libc/log/__assert_fail.c +// @mode long,legacy,real +// @noreturn __assert_fail: int3 push %bp diff --git a/libc/stubs/cxapurevirtual.S b/libc/stubs/cxapurevirtual.S index 43cd678cab9..680b592558e 100644 --- a/libc/stubs/cxapurevirtual.S +++ b/libc/stubs/cxapurevirtual.S @@ -19,7 +19,7 @@ #include "libc/macros.h" .source __FILE__ -/ Did you call a virtual method from a destructor? +// Did you call a virtual method from a destructor? __cxa_pure_virtual: push %rbp mov %rsp,%rbp diff --git a/libc/stubs/debugbreak.S b/libc/stubs/debugbreak.S index b5a6d8a3a31..1d0f0104a87 100644 --- a/libc/stubs/debugbreak.S +++ b/libc/stubs/debugbreak.S @@ -21,11 +21,11 @@ .source __FILE__ .code16 # ∩ .code32 ∩ .code64 -/ Triggers breakpoint in software debugger. -/ -/ This should work with GDB, Bochs, WinDbg, etc. -/ -/ @mode long,legacy,real +// Triggers breakpoint in software debugger. +// +// This should work with GDB, Bochs, WinDbg, etc. +// +// @mode long,legacy,real DebugBreak: .softicebp ret diff --git a/libc/stubs/gcov.S b/libc/stubs/gcov.S index c07b7717bc6..c653c414dfa 100644 --- a/libc/stubs/gcov.S +++ b/libc/stubs/gcov.S @@ -19,7 +19,7 @@ #include "libc/macros.h" .source __FILE__ -/ Magic words to unbreak build if GCOV flags are passed. +// Magic words to unbreak build if GCOV flags are passed. __gcov_init: ret diff --git a/libc/stubs/instrumentation.S b/libc/stubs/instrumentation.S index c215e09bf0d..18014f9b834 100644 --- a/libc/stubs/instrumentation.S +++ b/libc/stubs/instrumentation.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ @fileoverview Function Instrumentation No-Op Runtime -/ -/ The compiler generates synthetic calls to these functions when -/ the -finstrument-functions flag is passed. +// @fileoverview Function Instrumentation No-Op Runtime +// +// The compiler generates synthetic calls to these functions when +// the -finstrument-functions flag is passed. __cyg_profile_func_enter: ret diff --git a/libc/stubs/ld.S b/libc/stubs/ld.S index 3404fad702c..583768fa532 100644 --- a/libc/stubs/ld.S +++ b/libc/stubs/ld.S @@ -17,17 +17,17 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -/ Traditional executable boundaries defined by linker. -/ @see man etext +// Traditional executable boundaries defined by linker. +// @see man etext _etext = 0 _edata = 0 _end = 0 -/ Cosmopolitan executable boundaries defined by linker script. -/ @see libc/elf/elf.lds -/ @see ape/ape.lds +// Cosmopolitan executable boundaries defined by linker script. +// @see libc/elf/elf.lds +// @see ape/ape.lds _base = 0 - ape.xlm = 0 + ape_xlm = 0 _ehead = 0 _ereal = 0 __privileged_start = 0 @@ -37,7 +37,7 @@ __relo_end = 0 .globl _base - .globl ape.xlm + .globl ape_xlm .globl __relo_start .globl __relo_end .globl __privileged_start @@ -50,7 +50,7 @@ .globl _etext .weak _base - .weak ape.xlm + .weak ape_xlm .weak __relo_start .weak __relo_end .weak __privileged_start diff --git a/libc/stubs/panic.S b/libc/stubs/panic.S index ed9bc48f5ef..883aa05af5e 100644 --- a/libc/stubs/panic.S +++ b/libc/stubs/panic.S @@ -21,8 +21,8 @@ .source __FILE__ .code16 # ∩ .code32 ∩ .code64 -/ Aborts or hard blocks instruction pointer. -/ @mode long,legacy,real +// Aborts or hard blocks instruction pointer. +// @mode long,legacy,real panic: push %bp mov %sp,%bp .softicebp diff --git a/libc/stubs/retpoline.S b/libc/stubs/retpoline.S index 4d6b85c91c6..ecdd42bf1a5 100644 --- a/libc/stubs/retpoline.S +++ b/libc/stubs/retpoline.S @@ -18,7 +18,7 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ See -mfunction-return=thunk +// See -mfunction-return=thunk __x86_return_thunk: ret .endfn __x86_return_thunk,weak diff --git a/libc/stubs/stackchkguard.S b/libc/stubs/stackchkguard.S index 46227200428..1667a19db75 100644 --- a/libc/stubs/stackchkguard.S +++ b/libc/stubs/stackchkguard.S @@ -20,12 +20,12 @@ #include "libc/notice.inc" .source __FILE__ -/ Canary for -fstack-protector. -/ -/ This global is referenced by synthetic code generated by GCC. -/ The -mstack-protector-guard=global flag might need to be passed. -/ -/ @note this value is protected by piro +// Canary for -fstack-protector. +// +// This global is referenced by synthetic code generated by GCC. +// The -mstack-protector-guard=global flag might need to be passed. +// +// @note this value is protected by piro .initbss 200,_init___stack_chk_guard __stack_chk_guard: .quad 0 diff --git a/libc/stubs/stackguard.S b/libc/stubs/stackguard.S index 48787f4446f..51c5b5822a1 100644 --- a/libc/stubs/stackguard.S +++ b/libc/stubs/stackguard.S @@ -27,7 +27,7 @@ __stack_chk_fail_local: nop -/ fallthrough +// fallthrough .endfn __stack_chk_fail_local,weak,hidden __stack_chk_fail: diff --git a/libc/stubs/typeinfo.S b/libc/stubs/typeinfo.S index 77fef1bdf26..f1e09b707b9 100644 --- a/libc/stubs/typeinfo.S +++ b/libc/stubs/typeinfo.S @@ -19,8 +19,8 @@ #include "libc/macros.h" .source __FILE__ -/ __cxxabiv1::__function_type_info (?) -/ Because Clang in MODE=dbg doesn't respect -fno-rtti +// __cxxabiv1::__function_type_info (?) +// Because Clang in MODE=dbg doesn't respect -fno-rtti .align 8 _ZTVN10__cxxabiv120__function_type_infoE: .quad 0 diff --git a/libc/stubs/ubsan.S b/libc/stubs/ubsan.S index a6700d444eb..d441e81d6af 100644 --- a/libc/stubs/ubsan.S +++ b/libc/stubs/ubsan.S @@ -35,272 +35,272 @@ __ubsan_get_current_report_data: __ubsan_handle_add_overflow: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_add_overflow,weak __ubsan_handle_add_overflow_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_add_overflow_abort,weak __ubsan_handle_alignment_assumption: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_alignment_assumption,weak __ubsan_handle_alignment_assumption_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_alignment_assumption_abort,weak __ubsan_handle_builtin_unreachable: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_builtin_unreachable,weak __ubsan_handle_builtin_unreachable_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_builtin_unreachable_abort,weak __ubsan_handle_cfi_bad_type: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_cfi_bad_type,weak __ubsan_handle_cfi_bad_type_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_cfi_bad_type_abort,weak __ubsan_handle_cfi_check_fail: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_cfi_check_fail,weak __ubsan_handle_cfi_check_fail_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_cfi_check_fail_abort,weak __ubsan_handle_divrem_overflow: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_divrem_overflow,weak __ubsan_handle_divrem_overflow_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_divrem_overflow_abort,weak __ubsan_handle_dynamic_type_cache_miss: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_dynamic_type_cache_miss,weak __ubsan_handle_dynamic_type_cache_miss_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_dynamic_type_cache_miss_abort,weak __ubsan_handle_float_cast_overflow: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_float_cast_overflow,weak __ubsan_handle_float_cast_overflow_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_float_cast_overflow_abort,weak __ubsan_handle_function_type_mismatch: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_function_type_mismatch,weak __ubsan_handle_function_type_mismatch_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_function_type_mismatch_abort,weak __ubsan_handle_implicit_conversion: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_implicit_conversion,weak __ubsan_handle_implicit_conversion_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_implicit_conversion_abort,weak __ubsan_handle_invalid_builtin: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_invalid_builtin,weak __ubsan_handle_invalid_builtin_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_invalid_builtin_abort,weak __ubsan_handle_load_invalid_value: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_load_invalid_value,weak __ubsan_handle_load_invalid_value_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_load_invalid_value_abort,weak __ubsan_handle_missing_return: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_missing_return,weak __ubsan_handle_missing_return_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_missing_return_abort,weak __ubsan_handle_mul_overflow: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_mul_overflow,weak __ubsan_handle_mul_overflow_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_mul_overflow_abort,weak __ubsan_handle_negate_overflow: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_negate_overflow,weak __ubsan_handle_negate_overflow_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_negate_overflow_abort,weak __ubsan_handle_nonnull_arg: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_nonnull_arg,weak __ubsan_handle_nonnull_arg_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_nonnull_arg_abort,weak __ubsan_handle_nonnull_return: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_nonnull_return,weak __ubsan_handle_nonnull_return_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_nonnull_return_abort,weak __ubsan_handle_nonnull_return_v1: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_nonnull_return_v1,weak __ubsan_handle_nonnull_return_v1_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_nonnull_return_v1_abort,weak __ubsan_handle_nullability_arg: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_nullability_arg,weak __ubsan_handle_nullability_arg_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_nullability_arg_abort,weak __ubsan_handle_nullability_return_v1: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_nullability_return_v1,weak __ubsan_handle_nullability_return_v1_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_nullability_return_v1_abort,weak __ubsan_handle_out_of_bounds: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_out_of_bounds,weak __ubsan_handle_out_of_bounds_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_out_of_bounds_abort,weak __ubsan_handle_pointer_overflow: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_pointer_overflow,weak __ubsan_handle_pointer_overflow_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_pointer_overflow_abort,weak __ubsan_handle_shift_out_of_bounds: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_shift_out_of_bounds,weak __ubsan_handle_shift_out_of_bounds_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_shift_out_of_bounds_abort,weak __ubsan_handle_sub_overflow: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_sub_overflow,weak __ubsan_handle_sub_overflow_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_sub_overflow_abort,weak __ubsan_handle_type_mismatch: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_type_mismatch,weak __ubsan_handle_type_mismatch_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_type_mismatch_abort,weak __ubsan_handle_type_mismatch_v1: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_type_mismatch_v1,weak __ubsan_handle_type_mismatch_v1_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_type_mismatch_v1_abort,weak __ubsan_handle_vla_bound_not_positive: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_vla_bound_not_positive,weak __ubsan_handle_vla_bound_not_positive_abort: nop -/ fallthrough +// fallthrough .endfn __ubsan_handle_vla_bound_not_positive_abort,weak __ubsan_abort_stub: diff --git a/libc/sysv/calls/__acl_aclcheck_fd.s b/libc/sysv/calls/__acl_aclcheck_fd.s index df36ccaa8d0..5bc24acb225 100644 --- a/libc/sysv/calls/__acl_aclcheck_fd.s +++ b/libc/sysv/calls/__acl_aclcheck_fd.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __acl_aclcheck_fd 0xffffff162fffffff globl +.scall __acl_aclcheck_fd,0xffffff162fffffff,globl diff --git a/libc/sysv/calls/__acl_aclcheck_file.s b/libc/sysv/calls/__acl_aclcheck_file.s index 10e5d6ac640..afabf8de27f 100644 --- a/libc/sysv/calls/__acl_aclcheck_file.s +++ b/libc/sysv/calls/__acl_aclcheck_file.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __acl_aclcheck_file 0xffffff161fffffff globl +.scall __acl_aclcheck_file,0xffffff161fffffff,globl diff --git a/libc/sysv/calls/__acl_aclcheck_link.s b/libc/sysv/calls/__acl_aclcheck_link.s index eddc4c8e665..a1cdc8f988d 100644 --- a/libc/sysv/calls/__acl_aclcheck_link.s +++ b/libc/sysv/calls/__acl_aclcheck_link.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __acl_aclcheck_link 0xffffff1acfffffff globl +.scall __acl_aclcheck_link,0xffffff1acfffffff,globl diff --git a/libc/sysv/calls/__acl_delete_fd.s b/libc/sysv/calls/__acl_delete_fd.s index 1035d7fbce2..c1e4a988503 100644 --- a/libc/sysv/calls/__acl_delete_fd.s +++ b/libc/sysv/calls/__acl_delete_fd.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __acl_delete_fd 0xffffff160fffffff globl +.scall __acl_delete_fd,0xffffff160fffffff,globl diff --git a/libc/sysv/calls/__acl_delete_file.s b/libc/sysv/calls/__acl_delete_file.s index 9cf34fecc9e..ae16e9a417b 100644 --- a/libc/sysv/calls/__acl_delete_file.s +++ b/libc/sysv/calls/__acl_delete_file.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __acl_delete_file 0xffffff15ffffffff globl +.scall __acl_delete_file,0xffffff15ffffffff,globl diff --git a/libc/sysv/calls/__acl_delete_link.s b/libc/sysv/calls/__acl_delete_link.s index 6d3abba7c17..26d91883b68 100644 --- a/libc/sysv/calls/__acl_delete_link.s +++ b/libc/sysv/calls/__acl_delete_link.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __acl_delete_link 0xffffff1abfffffff globl +.scall __acl_delete_link,0xffffff1abfffffff,globl diff --git a/libc/sysv/calls/__acl_get_fd.s b/libc/sysv/calls/__acl_get_fd.s index 24151495af6..946f183e76f 100644 --- a/libc/sysv/calls/__acl_get_fd.s +++ b/libc/sysv/calls/__acl_get_fd.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __acl_get_fd 0xffffff15dfffffff globl +.scall __acl_get_fd,0xffffff15dfffffff,globl diff --git a/libc/sysv/calls/__acl_get_file.s b/libc/sysv/calls/__acl_get_file.s index f477fdd7ab9..6218fb7bb9d 100644 --- a/libc/sysv/calls/__acl_get_file.s +++ b/libc/sysv/calls/__acl_get_file.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __acl_get_file 0xffffff15bfffffff globl +.scall __acl_get_file,0xffffff15bfffffff,globl diff --git a/libc/sysv/calls/__acl_get_link.s b/libc/sysv/calls/__acl_get_link.s index 118d0297d11..b28992e62e2 100644 --- a/libc/sysv/calls/__acl_get_link.s +++ b/libc/sysv/calls/__acl_get_link.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __acl_get_link 0xffffff1a9fffffff globl +.scall __acl_get_link,0xffffff1a9fffffff,globl diff --git a/libc/sysv/calls/__acl_set_fd.s b/libc/sysv/calls/__acl_set_fd.s index 2e7e4c024cd..c7a7a80e4d3 100644 --- a/libc/sysv/calls/__acl_set_fd.s +++ b/libc/sysv/calls/__acl_set_fd.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __acl_set_fd 0xffffff15efffffff globl +.scall __acl_set_fd,0xffffff15efffffff,globl diff --git a/libc/sysv/calls/__acl_set_file.s b/libc/sysv/calls/__acl_set_file.s index e401435d5c2..a1900c6a61a 100644 --- a/libc/sysv/calls/__acl_set_file.s +++ b/libc/sysv/calls/__acl_set_file.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __acl_set_file 0xffffff15cfffffff globl +.scall __acl_set_file,0xffffff15cfffffff,globl diff --git a/libc/sysv/calls/__acl_set_link.s b/libc/sysv/calls/__acl_set_link.s index 72fda157ddd..0b50c60e309 100644 --- a/libc/sysv/calls/__acl_set_link.s +++ b/libc/sysv/calls/__acl_set_link.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __acl_set_link 0xffffff1aafffffff globl +.scall __acl_set_link,0xffffff1aafffffff,globl diff --git a/libc/sysv/calls/__bsd_setegid.s b/libc/sysv/calls/__bsd_setegid.s index bba1771c9f3..dd3b5d6754c 100644 --- a/libc/sysv/calls/__bsd_setegid.s +++ b/libc/sysv/calls/__bsd_setegid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __bsd_setegid 0xfff0b60b620b6fff globl hidden +.scall __bsd_setegid,0xfff0b60b620b6fff,globl,hidden diff --git a/libc/sysv/calls/__bsd_seteuid.s b/libc/sysv/calls/__bsd_seteuid.s index 9ddd51a7cf7..6a135250733 100644 --- a/libc/sysv/calls/__bsd_seteuid.s +++ b/libc/sysv/calls/__bsd_seteuid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __bsd_seteuid 0xfff0b70b720b7fff globl hidden +.scall __bsd_seteuid,0xfff0b70b720b7fff,globl,hidden diff --git a/libc/sysv/calls/__cap_rights_get.s b/libc/sysv/calls/__cap_rights_get.s index 2b762fe36a1..96d88088d63 100644 --- a/libc/sysv/calls/__cap_rights_get.s +++ b/libc/sysv/calls/__cap_rights_get.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __cap_rights_get 0xffffff203fffffff globl +.scall __cap_rights_get,0xffffff203fffffff,globl diff --git a/libc/sysv/calls/__disable_threadsignal.s b/libc/sysv/calls/__disable_threadsignal.s index 1a441667087..bbe8ed6909d 100644 --- a/libc/sysv/calls/__disable_threadsignal.s +++ b/libc/sysv/calls/__disable_threadsignal.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __disable_threadsignal 0xfffffffff214bfff globl +.scall __disable_threadsignal,0xfffffffff214bfff,globl diff --git a/libc/sysv/calls/__get_tcb.s b/libc/sysv/calls/__get_tcb.s index f8f11654112..78278f0cbca 100644 --- a/libc/sysv/calls/__get_tcb.s +++ b/libc/sysv/calls/__get_tcb.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __get_tcb 0xfff14affffffffff globl +.scall __get_tcb,0xfff14affffffffff,globl diff --git a/libc/sysv/calls/__mac_execve.s b/libc/sysv/calls/__mac_execve.s index 22f4ccec7d7..6ca411dba35 100644 --- a/libc/sysv/calls/__mac_execve.s +++ b/libc/sysv/calls/__mac_execve.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __mac_execve 0xffffff19f217cfff globl +.scall __mac_execve,0xffffff19f217cfff,globl diff --git a/libc/sysv/calls/__mac_get_fd.s b/libc/sysv/calls/__mac_get_fd.s index c1fa0e58274..403a6fee6c6 100644 --- a/libc/sysv/calls/__mac_get_fd.s +++ b/libc/sysv/calls/__mac_get_fd.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __mac_get_fd 0xffffff1822184fff globl +.scall __mac_get_fd,0xffffff1822184fff,globl diff --git a/libc/sysv/calls/__mac_get_file.s b/libc/sysv/calls/__mac_get_file.s index 44c011a0f4f..3f082c67f5d 100644 --- a/libc/sysv/calls/__mac_get_file.s +++ b/libc/sysv/calls/__mac_get_file.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __mac_get_file 0xffffff183217efff globl +.scall __mac_get_file,0xffffff183217efff,globl diff --git a/libc/sysv/calls/__mac_get_link.s b/libc/sysv/calls/__mac_get_link.s index 7c7f87bc5f6..0aa71eddc21 100644 --- a/libc/sysv/calls/__mac_get_link.s +++ b/libc/sysv/calls/__mac_get_link.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __mac_get_link 0xffffff19a2180fff globl +.scall __mac_get_link,0xffffff19a2180fff,globl diff --git a/libc/sysv/calls/__mac_get_mount.s b/libc/sysv/calls/__mac_get_mount.s index af9102fad93..61755baa912 100644 --- a/libc/sysv/calls/__mac_get_mount.s +++ b/libc/sysv/calls/__mac_get_mount.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __mac_get_mount 0xfffffffff21a9fff globl +.scall __mac_get_mount,0xfffffffff21a9fff,globl diff --git a/libc/sysv/calls/__mac_get_pid.s b/libc/sysv/calls/__mac_get_pid.s index a2595602e7e..60fad2c74cf 100644 --- a/libc/sysv/calls/__mac_get_pid.s +++ b/libc/sysv/calls/__mac_get_pid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __mac_get_pid 0xffffff1992186fff globl +.scall __mac_get_pid,0xffffff1992186fff,globl diff --git a/libc/sysv/calls/__mac_get_proc.s b/libc/sysv/calls/__mac_get_proc.s index 2a55fc26d31..2a7c4229657 100644 --- a/libc/sysv/calls/__mac_get_proc.s +++ b/libc/sysv/calls/__mac_get_proc.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __mac_get_proc 0xffffff1802182fff globl +.scall __mac_get_proc,0xffffff1802182fff,globl diff --git a/libc/sysv/calls/__mac_getfsstat.s b/libc/sysv/calls/__mac_getfsstat.s index 819ff23af77..b4a2c6225da 100644 --- a/libc/sysv/calls/__mac_getfsstat.s +++ b/libc/sysv/calls/__mac_getfsstat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __mac_getfsstat 0xfffffffff21aafff globl +.scall __mac_getfsstat,0xfffffffff21aafff,globl diff --git a/libc/sysv/calls/__mac_mount.s b/libc/sysv/calls/__mac_mount.s index 5a57ededb9b..7b307415c06 100644 --- a/libc/sysv/calls/__mac_mount.s +++ b/libc/sysv/calls/__mac_mount.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __mac_mount 0xfffffffff21a8fff globl +.scall __mac_mount,0xfffffffff21a8fff,globl diff --git a/libc/sysv/calls/__mac_set_fd.s b/libc/sysv/calls/__mac_set_fd.s index f82d1ccfa71..f9b165602ab 100644 --- a/libc/sysv/calls/__mac_set_fd.s +++ b/libc/sysv/calls/__mac_set_fd.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __mac_set_fd 0xffffff1842185fff globl +.scall __mac_set_fd,0xffffff1842185fff,globl diff --git a/libc/sysv/calls/__mac_set_file.s b/libc/sysv/calls/__mac_set_file.s index 3c20525b5a8..1e77707b1d2 100644 --- a/libc/sysv/calls/__mac_set_file.s +++ b/libc/sysv/calls/__mac_set_file.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __mac_set_file 0xffffff185217ffff globl +.scall __mac_set_file,0xffffff185217ffff,globl diff --git a/libc/sysv/calls/__mac_set_link.s b/libc/sysv/calls/__mac_set_link.s index 22598d9c057..32466bf66ad 100644 --- a/libc/sysv/calls/__mac_set_link.s +++ b/libc/sysv/calls/__mac_set_link.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __mac_set_link 0xffffff19b2181fff globl +.scall __mac_set_link,0xffffff19b2181fff,globl diff --git a/libc/sysv/calls/__mac_set_proc.s b/libc/sysv/calls/__mac_set_proc.s index c0b7e1a911f..1acd20a3aa3 100644 --- a/libc/sysv/calls/__mac_set_proc.s +++ b/libc/sysv/calls/__mac_set_proc.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __mac_set_proc 0xffffff1812183fff globl +.scall __mac_set_proc,0xffffff1812183fff,globl diff --git a/libc/sysv/calls/__mac_syscall.s b/libc/sysv/calls/__mac_syscall.s index 63b029b5639..5eaf0fc41ed 100644 --- a/libc/sysv/calls/__mac_syscall.s +++ b/libc/sysv/calls/__mac_syscall.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __mac_syscall 0xfffffffff217dfff globl +.scall __mac_syscall,0xfffffffff217dfff,globl diff --git a/libc/sysv/calls/__old_semwait_signal.s b/libc/sysv/calls/__old_semwait_signal.s index 9db266ad171..db61bbe7df4 100644 --- a/libc/sysv/calls/__old_semwait_signal.s +++ b/libc/sysv/calls/__old_semwait_signal.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __old_semwait_signal 0xfffffffff2172fff globl +.scall __old_semwait_signal,0xfffffffff2172fff,globl diff --git a/libc/sysv/calls/__old_semwait_signal_nocancel.s b/libc/sysv/calls/__old_semwait_signal_nocancel.s index 5e8de29ce99..d0d6c64d68c 100644 --- a/libc/sysv/calls/__old_semwait_signal_nocancel.s +++ b/libc/sysv/calls/__old_semwait_signal_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __old_semwait_signal_nocancel 0xfffffffff2173fff globl +.scall __old_semwait_signal_nocancel,0xfffffffff2173fff,globl diff --git a/libc/sysv/calls/__pthread_canceled.s b/libc/sysv/calls/__pthread_canceled.s index 08249155f7c..10c79264d5c 100644 --- a/libc/sysv/calls/__pthread_canceled.s +++ b/libc/sysv/calls/__pthread_canceled.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __pthread_canceled 0xfffffffff214dfff globl +.scall __pthread_canceled,0xfffffffff214dfff,globl diff --git a/libc/sysv/calls/__pthread_chdir.s b/libc/sysv/calls/__pthread_chdir.s index 240325c779e..c25444f1265 100644 --- a/libc/sysv/calls/__pthread_chdir.s +++ b/libc/sysv/calls/__pthread_chdir.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __pthread_chdir 0xfffffffff215cfff globl +.scall __pthread_chdir,0xfffffffff215cfff,globl diff --git a/libc/sysv/calls/__pthread_fchdir.s b/libc/sysv/calls/__pthread_fchdir.s index 51a27db772b..414fe646846 100644 --- a/libc/sysv/calls/__pthread_fchdir.s +++ b/libc/sysv/calls/__pthread_fchdir.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __pthread_fchdir 0xfffffffff215dfff globl +.scall __pthread_fchdir,0xfffffffff215dfff,globl diff --git a/libc/sysv/calls/__pthread_kill.s b/libc/sysv/calls/__pthread_kill.s index 69f87fc7a3a..0e5a7adec5a 100644 --- a/libc/sysv/calls/__pthread_kill.s +++ b/libc/sysv/calls/__pthread_kill.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __pthread_kill 0xfffffffff2148fff globl +.scall __pthread_kill,0xfffffffff2148fff,globl diff --git a/libc/sysv/calls/__pthread_markcancel.s b/libc/sysv/calls/__pthread_markcancel.s index c82da23e9eb..9f8d13e0133 100644 --- a/libc/sysv/calls/__pthread_markcancel.s +++ b/libc/sysv/calls/__pthread_markcancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __pthread_markcancel 0xfffffffff214cfff globl +.scall __pthread_markcancel,0xfffffffff214cfff,globl diff --git a/libc/sysv/calls/__pthread_sigmask.s b/libc/sysv/calls/__pthread_sigmask.s index f1ba31ebcfe..888a0ba5080 100644 --- a/libc/sysv/calls/__pthread_sigmask.s +++ b/libc/sysv/calls/__pthread_sigmask.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __pthread_sigmask 0xfffffffff2149fff globl +.scall __pthread_sigmask,0xfffffffff2149fff,globl diff --git a/libc/sysv/calls/__semwait_signal.s b/libc/sysv/calls/__semwait_signal.s index ae635821a5d..b334c7b8152 100644 --- a/libc/sysv/calls/__semwait_signal.s +++ b/libc/sysv/calls/__semwait_signal.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __semwait_signal 0xfffffffff214efff globl +.scall __semwait_signal,0xfffffffff214efff,globl diff --git a/libc/sysv/calls/__semwait_signal_nocancel.s b/libc/sysv/calls/__semwait_signal_nocancel.s index 170f454c168..58b9177af0f 100644 --- a/libc/sysv/calls/__semwait_signal_nocancel.s +++ b/libc/sysv/calls/__semwait_signal_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __semwait_signal_nocancel 0xfffffffff21a7fff globl +.scall __semwait_signal_nocancel,0xfffffffff21a7fff,globl diff --git a/libc/sysv/calls/__set_tcb.s b/libc/sysv/calls/__set_tcb.s index 1143c41fc62..9e78a406e73 100644 --- a/libc/sysv/calls/__set_tcb.s +++ b/libc/sysv/calls/__set_tcb.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __set_tcb 0xfff149ffffffffff globl +.scall __set_tcb,0xfff149ffffffffff,globl diff --git a/libc/sysv/calls/__setugid.s b/libc/sysv/calls/__setugid.s index 04120e9227e..6862e2d76e2 100644 --- a/libc/sysv/calls/__setugid.s +++ b/libc/sysv/calls/__setugid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __setugid 0xffffff176fffffff globl +.scall __setugid,0xffffff176fffffff,globl diff --git a/libc/sysv/calls/__sigwait_nocancel.s b/libc/sysv/calls/__sigwait_nocancel.s index b411eb135a5..4062b7f8a85 100644 --- a/libc/sysv/calls/__sigwait_nocancel.s +++ b/libc/sysv/calls/__sigwait_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __sigwait_nocancel 0xfffffffff21a6fff globl +.scall __sigwait_nocancel,0xfffffffff21a6fff,globl diff --git a/libc/sysv/calls/__sys_accept.s b/libc/sysv/calls/__sys_accept.s index a2ae96f83ff..1a9fbdb18a5 100644 --- a/libc/sysv/calls/__sys_accept.s +++ b/libc/sysv/calls/__sys_accept.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __sys_accept 0x01e01e21d201e02b globl hidden +.scall __sys_accept,0x01e01e21d201e02b,globl,hidden diff --git a/libc/sysv/calls/__sys_accept4.s b/libc/sysv/calls/__sys_accept4.s index fa595a7b60d..941c30684cc 100644 --- a/libc/sysv/calls/__sys_accept4.s +++ b/libc/sysv/calls/__sys_accept4.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __sys_accept4 0xfff05d21dffff120 globl hidden +.scall __sys_accept4,0xfff05d21dffff120,globl,hidden diff --git a/libc/sysv/calls/__sys_connect.s b/libc/sysv/calls/__sys_connect.s index ac4a524e72f..25c89e11126 100644 --- a/libc/sysv/calls/__sys_connect.s +++ b/libc/sysv/calls/__sys_connect.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __sys_connect 0x062062062206202a globl hidden +.scall __sys_connect,0x062062062206202a,globl,hidden diff --git a/libc/sysv/calls/__sys_dup3.s b/libc/sysv/calls/__sys_dup3.s index a926d706814..ecdb441f7d7 100644 --- a/libc/sysv/calls/__sys_dup3.s +++ b/libc/sysv/calls/__sys_dup3.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __sys_dup3 0x1c6066fffffff124 globl hidden +.scall __sys_dup3,0x1c6066fffffff124,globl,hidden diff --git a/libc/sysv/calls/__sys_execve.s b/libc/sysv/calls/__sys_execve.s index fd8b9727982..9de1aaf29f6 100644 --- a/libc/sysv/calls/__sys_execve.s +++ b/libc/sysv/calls/__sys_execve.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __sys_execve 0x03b03b03b203b03b globl hidden +.scall __sys_execve,0x03b03b03b203b03b,globl,hidden diff --git a/libc/sysv/calls/__sys_fstat.s b/libc/sysv/calls/__sys_fstat.s index abc1d68c86a..b0b2e4c5af1 100644 --- a/libc/sysv/calls/__sys_fstat.s +++ b/libc/sysv/calls/__sys_fstat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __sys_fstat 0x1b80352272153005 globl hidden +.scall __sys_fstat,0x1b80352272153005,globl,hidden diff --git a/libc/sysv/calls/__sys_fstatat.s b/libc/sysv/calls/__sys_fstatat.s index 5caa7d7b47b..a5b49ecc1d3 100644 --- a/libc/sysv/calls/__sys_fstatat.s +++ b/libc/sysv/calls/__sys_fstatat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __sys_fstatat 0x1d202a22821d6106 globl hidden +.scall __sys_fstatat,0x1d202a22821d6106,globl,hidden diff --git a/libc/sysv/calls/__sys_getpeername.s b/libc/sysv/calls/__sys_getpeername.s index 12a061dfa32..52c95029986 100644 --- a/libc/sysv/calls/__sys_getpeername.s +++ b/libc/sysv/calls/__sys_getpeername.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __sys_getpeername 0x01f01f08d201f034 globl hidden +.scall __sys_getpeername,0x01f01f08d201f034,globl,hidden diff --git a/libc/sysv/calls/__sys_getsockname.s b/libc/sysv/calls/__sys_getsockname.s index fee6040c807..e15658cc824 100644 --- a/libc/sysv/calls/__sys_getsockname.s +++ b/libc/sysv/calls/__sys_getsockname.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __sys_getsockname 0x0200200202020033 globl hidden +.scall __sys_getsockname,0x0200200202020033,globl,hidden diff --git a/libc/sysv/calls/__sys_lstat.s b/libc/sysv/calls/__sys_lstat.s index 209fed6d51f..ea88ea132e3 100644 --- a/libc/sysv/calls/__sys_lstat.s +++ b/libc/sysv/calls/__sys_lstat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __sys_lstat 0x1b90280282154006 globl hidden +.scall __sys_lstat,0x1b90280282154006,globl,hidden diff --git a/libc/sysv/calls/__sys_pipe.s b/libc/sysv/calls/__sys_pipe.s index 9901b1a388b..a4c55a09bd2 100644 --- a/libc/sysv/calls/__sys_pipe.s +++ b/libc/sysv/calls/__sys_pipe.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __sys_pipe 0x02a10721e202a016 globl hidden +.scall __sys_pipe,0x02a10721e202a016,globl,hidden diff --git a/libc/sysv/calls/__sys_pipe2.s b/libc/sysv/calls/__sys_pipe2.s index 057a6a77105..e74ea753eeb 100644 --- a/libc/sysv/calls/__sys_pipe2.s +++ b/libc/sysv/calls/__sys_pipe2.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __sys_pipe2 0x1c506521effff125 globl hidden +.scall __sys_pipe2,0x1c506521effff125,globl,hidden diff --git a/libc/sysv/calls/__sys_socket.s b/libc/sysv/calls/__sys_socket.s index 0c554b4df41..2ceb787e64a 100644 --- a/libc/sysv/calls/__sys_socket.s +++ b/libc/sysv/calls/__sys_socket.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __sys_socket 0x18a0610612061029 globl hidden +.scall __sys_socket,0x18a0610612061029,globl,hidden diff --git a/libc/sysv/calls/__sys_stat.s b/libc/sysv/calls/__sys_stat.s index 77ba51a148d..f0e51aedaa7 100644 --- a/libc/sysv/calls/__sys_stat.s +++ b/libc/sysv/calls/__sys_stat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __sys_stat 0x1b7026fff2152004 globl hidden +.scall __sys_stat,0x1b7026fff2152004,globl,hidden diff --git a/libc/sysv/calls/__sys_utimensat.s b/libc/sysv/calls/__sys_utimensat.s index 3c117c7f1c2..e32cec631ad 100644 --- a/libc/sysv/calls/__sys_utimensat.s +++ b/libc/sysv/calls/__sys_utimensat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __sys_utimensat 0x1d3054223ffff118 globl hidden +.scall __sys_utimensat,0x1d3054223ffff118,globl,hidden diff --git a/libc/sysv/calls/__syscall.s b/libc/sysv/calls/__syscall.s index 408cbf91042..afb98875df1 100644 --- a/libc/sysv/calls/__syscall.s +++ b/libc/sysv/calls/__syscall.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __syscall 0xfff0c6ffffffffff globl +.scall __syscall,0xfff0c6ffffffffff,globl diff --git a/libc/sysv/calls/__sysctl.s b/libc/sysv/calls/__sysctl.s index 9e984ffef0b..d0314c275f6 100644 --- a/libc/sysv/calls/__sysctl.s +++ b/libc/sysv/calls/__sysctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __sysctl 0xffffff0cafffffff globl +.scall __sysctl,0xffffff0cafffffff,globl diff --git a/libc/sysv/calls/__tfork.s b/libc/sysv/calls/__tfork.s index c37e06be218..6ae6b1f1e9e 100644 --- a/libc/sysv/calls/__tfork.s +++ b/libc/sysv/calls/__tfork.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __tfork 0xfff008ffffffffff globl +.scall __tfork,0xfff008ffffffffff,globl diff --git a/libc/sysv/calls/__threxit.s b/libc/sysv/calls/__threxit.s index b92eaf76993..6c7d5672ef7 100644 --- a/libc/sysv/calls/__threxit.s +++ b/libc/sysv/calls/__threxit.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __threxit 0xfff12effffffffff globl +.scall __threxit,0xfff12effffffffff,globl diff --git a/libc/sysv/calls/__thrsigdivert.s b/libc/sysv/calls/__thrsigdivert.s index f66f7912556..148bb926cba 100644 --- a/libc/sysv/calls/__thrsigdivert.s +++ b/libc/sysv/calls/__thrsigdivert.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __thrsigdivert 0xfff12fffffffffff globl +.scall __thrsigdivert,0xfff12fffffffffff,globl diff --git a/libc/sysv/calls/__thrsleep.s b/libc/sysv/calls/__thrsleep.s index 574ed65d3b0..dc5d6b2e1f1 100644 --- a/libc/sysv/calls/__thrsleep.s +++ b/libc/sysv/calls/__thrsleep.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __thrsleep 0xfff05effffffffff globl +.scall __thrsleep,0xfff05effffffffff,globl diff --git a/libc/sysv/calls/__thrwakeup.s b/libc/sysv/calls/__thrwakeup.s index 811df144c1d..796856b4f5c 100644 --- a/libc/sysv/calls/__thrwakeup.s +++ b/libc/sysv/calls/__thrwakeup.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall __thrwakeup 0xfff12dffffffffff globl +.scall __thrwakeup,0xfff12dffffffffff,globl diff --git a/libc/sysv/calls/_sysctl.s b/libc/sysv/calls/_sysctl.s index b98a95600a6..970ba1dc437 100644 --- a/libc/sysv/calls/_sysctl.s +++ b/libc/sysv/calls/_sysctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall _sysctl 0xfffffffffffff09c globl +.scall _sysctl,0xfffffffffffff09c,globl diff --git a/libc/sysv/calls/_umtx_op.s b/libc/sysv/calls/_umtx_op.s index 0d6756cf5a7..be285446dd9 100644 --- a/libc/sysv/calls/_umtx_op.s +++ b/libc/sysv/calls/_umtx_op.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall _umtx_op 0xffffff1c6fffffff globl +.scall _umtx_op,0xffffff1c6fffffff,globl diff --git a/libc/sysv/calls/abort2.s b/libc/sysv/calls/abort2.s index 28ec77cbe47..39512161801 100644 --- a/libc/sysv/calls/abort2.s +++ b/libc/sysv/calls/abort2.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall abort2 0xffffff1cffffffff globl +.scall abort2,0xffffff1cffffffff,globl diff --git a/libc/sysv/calls/abort_with_payload.s b/libc/sysv/calls/abort_with_payload.s index 59a7f77a89e..ab4bede225b 100644 --- a/libc/sysv/calls/abort_with_payload.s +++ b/libc/sysv/calls/abort_with_payload.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall abort_with_payload 0xfffffffff2209fff globl +.scall abort_with_payload,0xfffffffff2209fff,globl diff --git a/libc/sysv/calls/accept_nocancel.s b/libc/sysv/calls/accept_nocancel.s index 68e58b9d8f2..d945b1ba31d 100644 --- a/libc/sysv/calls/accept_nocancel.s +++ b/libc/sysv/calls/accept_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall accept_nocancel 0xfffffffff2194fff globl +.scall accept_nocancel,0xfffffffff2194fff,globl diff --git a/libc/sysv/calls/access_extended.s b/libc/sysv/calls/access_extended.s index 4304b4c746e..90f609f9dd1 100644 --- a/libc/sysv/calls/access_extended.s +++ b/libc/sysv/calls/access_extended.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall access_extended 0xfffffffff211cfff globl +.scall access_extended,0xfffffffff211cfff,globl diff --git a/libc/sysv/calls/acct.s b/libc/sysv/calls/acct.s index 492915e56d9..7655fbc81bd 100644 --- a/libc/sysv/calls/acct.s +++ b/libc/sysv/calls/acct.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall acct 0x03303303320330a3 globl +.scall acct,0x03303303320330a3,globl diff --git a/libc/sysv/calls/add_key.s b/libc/sysv/calls/add_key.s index 84efa9ae9ba..9783b988195 100644 --- a/libc/sysv/calls/add_key.s +++ b/libc/sysv/calls/add_key.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall add_key 0xfffffffffffff0f8 globl +.scall add_key,0xfffffffffffff0f8,globl diff --git a/libc/sysv/calls/adjfreq.s b/libc/sysv/calls/adjfreq.s index 0742139eee9..f37778b172a 100644 --- a/libc/sysv/calls/adjfreq.s +++ b/libc/sysv/calls/adjfreq.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall adjfreq 0xfff131ffffffffff globl +.scall adjfreq,0xfff131ffffffffff,globl diff --git a/libc/sysv/calls/adjtime.s b/libc/sysv/calls/adjtime.s index b9248694332..21357aa5f12 100644 --- a/libc/sysv/calls/adjtime.s +++ b/libc/sysv/calls/adjtime.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall adjtime 0x1a508c08c208cfff globl +.scall adjtime,0x1a508c08c208cfff,globl diff --git a/libc/sysv/calls/adjtimex.s b/libc/sysv/calls/adjtimex.s index 1c4262e422a..5c5956a10e2 100644 --- a/libc/sysv/calls/adjtimex.s +++ b/libc/sysv/calls/adjtimex.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall adjtimex 0xfffffffffffff09f globl +.scall adjtimex,0xfffffffffffff09f,globl diff --git a/libc/sysv/calls/afs3_syscall.s b/libc/sysv/calls/afs3_syscall.s index eba1bca4a4f..82f893eda3e 100644 --- a/libc/sysv/calls/afs3_syscall.s +++ b/libc/sysv/calls/afs3_syscall.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall afs3_syscall 0xffffff179fffffff globl +.scall afs3_syscall,0xffffff179fffffff,globl diff --git a/libc/sysv/calls/aio_cancel.s b/libc/sysv/calls/aio_cancel.s index 361dd89017e..68ac0acda5b 100644 --- a/libc/sysv/calls/aio_cancel.s +++ b/libc/sysv/calls/aio_cancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall aio_cancel 0x18ffff13c213cfff globl +.scall aio_cancel,0x18ffff13c213cfff,globl diff --git a/libc/sysv/calls/aio_error.s b/libc/sysv/calls/aio_error.s index 7c6d09a48c1..26686163443 100644 --- a/libc/sysv/calls/aio_error.s +++ b/libc/sysv/calls/aio_error.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall aio_error 0x190fff13d213dfff globl +.scall aio_error,0x190fff13d213dfff,globl diff --git a/libc/sysv/calls/aio_fsync.s b/libc/sysv/calls/aio_fsync.s index 35d3464026b..428861668a3 100644 --- a/libc/sysv/calls/aio_fsync.s +++ b/libc/sysv/calls/aio_fsync.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall aio_fsync 0x191fff1d12139fff globl +.scall aio_fsync,0x191fff1d12139fff,globl diff --git a/libc/sysv/calls/aio_mlock.s b/libc/sysv/calls/aio_mlock.s index b5157a9f59f..1768bb3ff27 100644 --- a/libc/sysv/calls/aio_mlock.s +++ b/libc/sysv/calls/aio_mlock.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall aio_mlock 0xffffff21ffffffff globl +.scall aio_mlock,0xffffff21ffffffff,globl diff --git a/libc/sysv/calls/aio_read.s b/libc/sysv/calls/aio_read.s index 8df24157965..18965475dd8 100644 --- a/libc/sysv/calls/aio_read.s +++ b/libc/sysv/calls/aio_read.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall aio_read 0x192fff13e213efff globl +.scall aio_read,0x192fff13e213efff,globl diff --git a/libc/sysv/calls/aio_return.s b/libc/sysv/calls/aio_return.s index 657f6b9b2af..83af55f9050 100644 --- a/libc/sysv/calls/aio_return.s +++ b/libc/sysv/calls/aio_return.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall aio_return 0x193fff13a213afff globl +.scall aio_return,0x193fff13a213afff,globl diff --git a/libc/sysv/calls/aio_suspend.s b/libc/sysv/calls/aio_suspend.s index 5880467a57a..43dac038238 100644 --- a/libc/sysv/calls/aio_suspend.s +++ b/libc/sysv/calls/aio_suspend.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall aio_suspend 0x1b6fff13b213bfff globl +.scall aio_suspend,0x1b6fff13b213bfff,globl diff --git a/libc/sysv/calls/aio_suspend_nocancel.s b/libc/sysv/calls/aio_suspend_nocancel.s index 64cfb06fac8..c8583261587 100644 --- a/libc/sysv/calls/aio_suspend_nocancel.s +++ b/libc/sysv/calls/aio_suspend_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall aio_suspend_nocancel 0xfffffffff21a5fff globl +.scall aio_suspend_nocancel,0xfffffffff21a5fff,globl diff --git a/libc/sysv/calls/aio_waitcomplete.s b/libc/sysv/calls/aio_waitcomplete.s index 3dc902fd993..e1120c29322 100644 --- a/libc/sysv/calls/aio_waitcomplete.s +++ b/libc/sysv/calls/aio_waitcomplete.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall aio_waitcomplete 0xffffff167fffffff globl +.scall aio_waitcomplete,0xffffff167fffffff,globl diff --git a/libc/sysv/calls/aio_write.s b/libc/sysv/calls/aio_write.s index 7d406260a1b..9e9c2d67f34 100644 --- a/libc/sysv/calls/aio_write.s +++ b/libc/sysv/calls/aio_write.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall aio_write 0x195fff13f213ffff globl +.scall aio_write,0x195fff13f213ffff,globl diff --git a/libc/sysv/calls/audit.s b/libc/sysv/calls/audit.s index 91e9428c0a2..d3e1777a5fb 100644 --- a/libc/sysv/calls/audit.s +++ b/libc/sysv/calls/audit.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall audit 0xffffff1bd215efff globl +.scall audit,0xffffff1bd215efff,globl diff --git a/libc/sysv/calls/audit_session_join.s b/libc/sysv/calls/audit_session_join.s index 650a619e85e..6fd08b954af 100644 --- a/libc/sysv/calls/audit_session_join.s +++ b/libc/sysv/calls/audit_session_join.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall audit_session_join 0xfffffffff21adfff globl +.scall audit_session_join,0xfffffffff21adfff,globl diff --git a/libc/sysv/calls/audit_session_port.s b/libc/sysv/calls/audit_session_port.s index a13a500af15..42ad74d027f 100644 --- a/libc/sysv/calls/audit_session_port.s +++ b/libc/sysv/calls/audit_session_port.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall audit_session_port 0xfffffffff21b0fff globl +.scall audit_session_port,0xfffffffff21b0fff,globl diff --git a/libc/sysv/calls/audit_session_self.s b/libc/sysv/calls/audit_session_self.s index 6461a064c30..21ff34109b6 100644 --- a/libc/sysv/calls/audit_session_self.s +++ b/libc/sysv/calls/audit_session_self.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall audit_session_self 0xfffffffff21acfff globl +.scall audit_session_self,0xfffffffff21acfff,globl diff --git a/libc/sysv/calls/auditctl.s b/libc/sysv/calls/auditctl.s index 579fe4cd724..83d523cd3d5 100644 --- a/libc/sysv/calls/auditctl.s +++ b/libc/sysv/calls/auditctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall auditctl 0xffffff1c52167fff globl +.scall auditctl,0xffffff1c52167fff,globl diff --git a/libc/sysv/calls/auditon.s b/libc/sysv/calls/auditon.s index a3d101d7650..fcd570458da 100644 --- a/libc/sysv/calls/auditon.s +++ b/libc/sysv/calls/auditon.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall auditon 0xffffff1be215ffff globl +.scall auditon,0xffffff1be215ffff,globl diff --git a/libc/sysv/calls/bindat.s b/libc/sysv/calls/bindat.s index 844a109f9c8..638df5e3b05 100644 --- a/libc/sysv/calls/bindat.s +++ b/libc/sysv/calls/bindat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall bindat 0xffffff21afffffff globl +.scall bindat,0xffffff21afffffff,globl diff --git a/libc/sysv/calls/bpf.s b/libc/sysv/calls/bpf.s index 7ecfbc49349..8c111fe732f 100644 --- a/libc/sysv/calls/bpf.s +++ b/libc/sysv/calls/bpf.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall bpf 0xfffffffffffff141 globl +.scall bpf,0xfffffffffffff141,globl diff --git a/libc/sysv/calls/break.s b/libc/sysv/calls/break.s index b019c815712..f74a2ca91ab 100644 --- a/libc/sysv/calls/break.s +++ b/libc/sysv/calls/break.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall break 0xffffff011fffffff globl +.scall break,0xffffff011fffffff,globl diff --git a/libc/sysv/calls/bsdthread_create.s b/libc/sysv/calls/bsdthread_create.s index 16a18ee0579..9462b3df70a 100644 --- a/libc/sysv/calls/bsdthread_create.s +++ b/libc/sysv/calls/bsdthread_create.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall bsdthread_create 0xfffffffff2168fff globl +.scall bsdthread_create,0xfffffffff2168fff,globl diff --git a/libc/sysv/calls/bsdthread_ctl.s b/libc/sysv/calls/bsdthread_ctl.s index 7b935e7e938..dd3403e34a0 100644 --- a/libc/sysv/calls/bsdthread_ctl.s +++ b/libc/sysv/calls/bsdthread_ctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall bsdthread_ctl 0xfffffffff21defff globl +.scall bsdthread_ctl,0xfffffffff21defff,globl diff --git a/libc/sysv/calls/bsdthread_register.s b/libc/sysv/calls/bsdthread_register.s index bbb39a93a46..e1890933f30 100644 --- a/libc/sysv/calls/bsdthread_register.s +++ b/libc/sysv/calls/bsdthread_register.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall bsdthread_register 0xfffffffff216efff globl +.scall bsdthread_register,0xfffffffff216efff,globl diff --git a/libc/sysv/calls/bsdthread_terminate.s b/libc/sysv/calls/bsdthread_terminate.s index 85b028db149..f1e284a0060 100644 --- a/libc/sysv/calls/bsdthread_terminate.s +++ b/libc/sysv/calls/bsdthread_terminate.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall bsdthread_terminate 0xfffffffff2169fff globl +.scall bsdthread_terminate,0xfffffffff2169fff,globl diff --git a/libc/sysv/calls/cap_enter.s b/libc/sysv/calls/cap_enter.s index e8039c782e0..15950d5b652 100644 --- a/libc/sysv/calls/cap_enter.s +++ b/libc/sysv/calls/cap_enter.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall cap_enter 0xffffff204fffffff globl +.scall cap_enter,0xffffff204fffffff,globl diff --git a/libc/sysv/calls/cap_fcntls_get.s b/libc/sysv/calls/cap_fcntls_get.s index b8e91deb177..fd3a9b91e8d 100644 --- a/libc/sysv/calls/cap_fcntls_get.s +++ b/libc/sysv/calls/cap_fcntls_get.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall cap_fcntls_get 0xffffff219fffffff globl +.scall cap_fcntls_get,0xffffff219fffffff,globl diff --git a/libc/sysv/calls/cap_fcntls_limit.s b/libc/sysv/calls/cap_fcntls_limit.s index 44762807140..8c44601ce19 100644 --- a/libc/sysv/calls/cap_fcntls_limit.s +++ b/libc/sysv/calls/cap_fcntls_limit.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall cap_fcntls_limit 0xffffff218fffffff globl +.scall cap_fcntls_limit,0xffffff218fffffff,globl diff --git a/libc/sysv/calls/cap_getmode.s b/libc/sysv/calls/cap_getmode.s index d16ddf096c6..b873ec39ad8 100644 --- a/libc/sysv/calls/cap_getmode.s +++ b/libc/sysv/calls/cap_getmode.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall cap_getmode 0xffffff205fffffff globl +.scall cap_getmode,0xffffff205fffffff,globl diff --git a/libc/sysv/calls/cap_ioctls_get.s b/libc/sysv/calls/cap_ioctls_get.s index 2845a70ff03..98ce6db287b 100644 --- a/libc/sysv/calls/cap_ioctls_get.s +++ b/libc/sysv/calls/cap_ioctls_get.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall cap_ioctls_get 0xffffff217fffffff globl +.scall cap_ioctls_get,0xffffff217fffffff,globl diff --git a/libc/sysv/calls/cap_ioctls_limit.s b/libc/sysv/calls/cap_ioctls_limit.s index 28711448c5e..396a6be7547 100644 --- a/libc/sysv/calls/cap_ioctls_limit.s +++ b/libc/sysv/calls/cap_ioctls_limit.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall cap_ioctls_limit 0xffffff216fffffff globl +.scall cap_ioctls_limit,0xffffff216fffffff,globl diff --git a/libc/sysv/calls/cap_rights_limit.s b/libc/sysv/calls/cap_rights_limit.s index 30aaa211de9..03dfadc0bf3 100644 --- a/libc/sysv/calls/cap_rights_limit.s +++ b/libc/sysv/calls/cap_rights_limit.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall cap_rights_limit 0xffffff215fffffff globl +.scall cap_rights_limit,0xffffff215fffffff,globl diff --git a/libc/sysv/calls/capget.s b/libc/sysv/calls/capget.s index bf3e78b0008..3444e14bf47 100644 --- a/libc/sysv/calls/capget.s +++ b/libc/sysv/calls/capget.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall capget 0xfffffffffffff07d globl +.scall capget,0xfffffffffffff07d,globl diff --git a/libc/sysv/calls/capset.s b/libc/sysv/calls/capset.s index 2afa1574330..3705bd49e2e 100644 --- a/libc/sysv/calls/capset.s +++ b/libc/sysv/calls/capset.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall capset 0xfffffffffffff07e globl +.scall capset,0xfffffffffffff07e,globl diff --git a/libc/sysv/calls/change_fdguard_np.s b/libc/sysv/calls/change_fdguard_np.s index 639900a4798..abfe59ee22e 100644 --- a/libc/sysv/calls/change_fdguard_np.s +++ b/libc/sysv/calls/change_fdguard_np.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall change_fdguard_np 0xfffffffff21bcfff globl +.scall change_fdguard_np,0xfffffffff21bcfff,globl diff --git a/libc/sysv/calls/chflags.s b/libc/sysv/calls/chflags.s index a3adcbdcc37..d93f38752df 100644 --- a/libc/sysv/calls/chflags.s +++ b/libc/sysv/calls/chflags.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall chflags 0x0220220222022fff globl +.scall chflags,0x0220220222022fff,globl diff --git a/libc/sysv/calls/chflagsat.s b/libc/sysv/calls/chflagsat.s index c8c9e678cb0..4bd81346632 100644 --- a/libc/sysv/calls/chflagsat.s +++ b/libc/sysv/calls/chflagsat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall chflagsat 0xfff06b21cfffffff globl +.scall chflagsat,0xfff06b21cfffffff,globl diff --git a/libc/sysv/calls/chmod_extended.s b/libc/sysv/calls/chmod_extended.s index 643b904f893..66e54b49be3 100644 --- a/libc/sysv/calls/chmod_extended.s +++ b/libc/sysv/calls/chmod_extended.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall chmod_extended 0xfffffffff211afff globl +.scall chmod_extended,0xfffffffff211afff,globl diff --git a/libc/sysv/calls/chroot.s b/libc/sysv/calls/chroot.s index b7f137118f2..702d03be03b 100644 --- a/libc/sysv/calls/chroot.s +++ b/libc/sysv/calls/chroot.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall chroot 0x03d03d03d203d0a1 globl +.scall chroot,0x03d03d03d203d0a1,globl diff --git a/libc/sysv/calls/clock_adjtime.s b/libc/sysv/calls/clock_adjtime.s index 68e2ce2daa0..0168b8737cb 100644 --- a/libc/sysv/calls/clock_adjtime.s +++ b/libc/sysv/calls/clock_adjtime.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall clock_adjtime 0xfffffffffffff131 globl +.scall clock_adjtime,0xfffffffffffff131,globl diff --git a/libc/sysv/calls/clock_getcpuclockid2.s b/libc/sysv/calls/clock_getcpuclockid2.s index decb3341aa3..0411f391cdd 100644 --- a/libc/sysv/calls/clock_getcpuclockid2.s +++ b/libc/sysv/calls/clock_getcpuclockid2.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall clock_getcpuclockid2 0x1e2fff0f7fffffff globl +.scall clock_getcpuclockid2,0x1e2fff0f7fffffff,globl diff --git a/libc/sysv/calls/clock_getres.s b/libc/sysv/calls/clock_getres.s index e4c47d08782..8cb50dea573 100644 --- a/libc/sysv/calls/clock_getres.s +++ b/libc/sysv/calls/clock_getres.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall clock_getres 0x1ad0590eaffff0e5 globl +.scall clock_getres,0x1ad0590eaffff0e5,globl diff --git a/libc/sysv/calls/clock_nanosleep.s b/libc/sysv/calls/clock_nanosleep.s index 3608ec0152e..a876e3944d7 100644 --- a/libc/sysv/calls/clock_nanosleep.s +++ b/libc/sysv/calls/clock_nanosleep.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall clock_nanosleep 0xffffff0f4ffff0e6 globl +.scall clock_nanosleep,0xffffff0f4ffff0e6,globl diff --git a/libc/sysv/calls/clock_settime.s b/libc/sysv/calls/clock_settime.s index f5a2ba9d447..f6e891c7104 100644 --- a/libc/sysv/calls/clock_settime.s +++ b/libc/sysv/calls/clock_settime.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall clock_settime 0x1ac0580e9ffff0e3 globl +.scall clock_settime,0x1ac0580e9ffff0e3,globl diff --git a/libc/sysv/calls/clone.s b/libc/sysv/calls/clone.s index f473b199041..928425d4c31 100644 --- a/libc/sysv/calls/clone.s +++ b/libc/sysv/calls/clone.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall clone 0xfffffffffffff038 globl +.scall clone,0xfffffffffffff038,globl diff --git a/libc/sysv/calls/clonefileat.s b/libc/sysv/calls/clonefileat.s index 3cf59206df8..c7216bdad56 100644 --- a/libc/sysv/calls/clonefileat.s +++ b/libc/sysv/calls/clonefileat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall clonefileat 0xfffffffff21cefff globl +.scall clonefileat,0xfffffffff21cefff,globl diff --git a/libc/sysv/calls/close_nocancel.s b/libc/sysv/calls/close_nocancel.s index 92871b227d9..fca5289b401 100644 --- a/libc/sysv/calls/close_nocancel.s +++ b/libc/sysv/calls/close_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall close_nocancel 0xfffffffff218ffff globl +.scall close_nocancel,0xfffffffff218ffff,globl diff --git a/libc/sysv/calls/closefrom.s b/libc/sysv/calls/closefrom.s index 503df0ec79e..e22da0cbeab 100644 --- a/libc/sysv/calls/closefrom.s +++ b/libc/sysv/calls/closefrom.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall closefrom 0xfff11f1fdfffffff globl +.scall closefrom,0xfff11f1fdfffffff,globl diff --git a/libc/sysv/calls/coalition.s b/libc/sysv/calls/coalition.s index b427f01afb4..2615bc991be 100644 --- a/libc/sysv/calls/coalition.s +++ b/libc/sysv/calls/coalition.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall coalition 0xfffffffff21cafff globl +.scall coalition,0xfffffffff21cafff,globl diff --git a/libc/sysv/calls/coalition_info.s b/libc/sysv/calls/coalition_info.s index 128743a1a2b..32a5cf1fb67 100644 --- a/libc/sysv/calls/coalition_info.s +++ b/libc/sysv/calls/coalition_info.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall coalition_info 0xfffffffff21cbfff globl +.scall coalition_info,0xfffffffff21cbfff,globl diff --git a/libc/sysv/calls/connect_nocancel.s b/libc/sysv/calls/connect_nocancel.s index 1f76137f572..8c02a918289 100644 --- a/libc/sysv/calls/connect_nocancel.s +++ b/libc/sysv/calls/connect_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall connect_nocancel 0xfffffffff2199fff globl +.scall connect_nocancel,0xfffffffff2199fff,globl diff --git a/libc/sysv/calls/connectat.s b/libc/sysv/calls/connectat.s index afb61870a70..354740c35ee 100644 --- a/libc/sysv/calls/connectat.s +++ b/libc/sysv/calls/connectat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall connectat 0xffffff21bfffffff globl +.scall connectat,0xffffff21bfffffff,globl diff --git a/libc/sysv/calls/connectx.s b/libc/sysv/calls/connectx.s index daa85518859..7442a045aa3 100644 --- a/libc/sysv/calls/connectx.s +++ b/libc/sysv/calls/connectx.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall connectx 0xfffffffff21bffff globl +.scall connectx,0xfffffffff21bffff,globl diff --git a/libc/sysv/calls/copyfile.s b/libc/sysv/calls/copyfile.s index f5b265739f6..690dbd5fbbb 100644 --- a/libc/sysv/calls/copyfile.s +++ b/libc/sysv/calls/copyfile.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall copyfile 0xfffffffff20e3fff globl +.scall copyfile,0xfffffffff20e3fff,globl diff --git a/libc/sysv/calls/cpuset.s b/libc/sysv/calls/cpuset.s index 0faee1c6ee7..5281e4da823 100644 --- a/libc/sysv/calls/cpuset.s +++ b/libc/sysv/calls/cpuset.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall cpuset 0xffffff1e4fffffff globl +.scall cpuset,0xffffff1e4fffffff,globl diff --git a/libc/sysv/calls/cpuset_getaffinity.s b/libc/sysv/calls/cpuset_getaffinity.s index e929b7f5dd3..3beaa8f3738 100644 --- a/libc/sysv/calls/cpuset_getaffinity.s +++ b/libc/sysv/calls/cpuset_getaffinity.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall cpuset_getaffinity 0xffffff1e7fffffff globl +.scall cpuset_getaffinity,0xffffff1e7fffffff,globl diff --git a/libc/sysv/calls/cpuset_getdomain.s b/libc/sysv/calls/cpuset_getdomain.s index 664020c3262..92db6b1a614 100644 --- a/libc/sysv/calls/cpuset_getdomain.s +++ b/libc/sysv/calls/cpuset_getdomain.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall cpuset_getdomain 0xffffff231fffffff globl +.scall cpuset_getdomain,0xffffff231fffffff,globl diff --git a/libc/sysv/calls/cpuset_getid.s b/libc/sysv/calls/cpuset_getid.s index 278d8e80b8e..96a8590500b 100644 --- a/libc/sysv/calls/cpuset_getid.s +++ b/libc/sysv/calls/cpuset_getid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall cpuset_getid 0xffffff1e6fffffff globl +.scall cpuset_getid,0xffffff1e6fffffff,globl diff --git a/libc/sysv/calls/cpuset_setaffinity.s b/libc/sysv/calls/cpuset_setaffinity.s index a3d3b124804..d4264a77c90 100644 --- a/libc/sysv/calls/cpuset_setaffinity.s +++ b/libc/sysv/calls/cpuset_setaffinity.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall cpuset_setaffinity 0xffffff1e8fffffff globl +.scall cpuset_setaffinity,0xffffff1e8fffffff,globl diff --git a/libc/sysv/calls/cpuset_setdomain.s b/libc/sysv/calls/cpuset_setdomain.s index c9e12c98f75..76342b439d3 100644 --- a/libc/sysv/calls/cpuset_setdomain.s +++ b/libc/sysv/calls/cpuset_setdomain.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall cpuset_setdomain 0xffffff232fffffff globl +.scall cpuset_setdomain,0xffffff232fffffff,globl diff --git a/libc/sysv/calls/cpuset_setid.s b/libc/sysv/calls/cpuset_setid.s index 308757a9c14..c1a9b9a8ff6 100644 --- a/libc/sysv/calls/cpuset_setid.s +++ b/libc/sysv/calls/cpuset_setid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall cpuset_setid 0xffffff1e5fffffff globl +.scall cpuset_setid,0xffffff1e5fffffff,globl diff --git a/libc/sysv/calls/csops.s b/libc/sysv/calls/csops.s index b5d45b59c89..204a875a478 100644 --- a/libc/sysv/calls/csops.s +++ b/libc/sysv/calls/csops.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall csops 0xfffffffff20a9fff globl +.scall csops,0xfffffffff20a9fff,globl diff --git a/libc/sysv/calls/csops_audittoken.s b/libc/sysv/calls/csops_audittoken.s index f9d054ce227..b8cfca07be6 100644 --- a/libc/sysv/calls/csops_audittoken.s +++ b/libc/sysv/calls/csops_audittoken.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall csops_audittoken 0xfffffffff20aafff globl +.scall csops_audittoken,0xfffffffff20aafff,globl diff --git a/libc/sysv/calls/csrctl.s b/libc/sysv/calls/csrctl.s index 5f66b40f6c5..b154122670d 100644 --- a/libc/sysv/calls/csrctl.s +++ b/libc/sysv/calls/csrctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall csrctl 0xfffffffff21e3fff globl +.scall csrctl,0xfffffffff21e3fff,globl diff --git a/libc/sysv/calls/delete.s b/libc/sysv/calls/delete.s index 03cfbb40323..1ce2b3075e2 100644 --- a/libc/sysv/calls/delete.s +++ b/libc/sysv/calls/delete.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall delete 0xfffffffff20e2fff globl +.scall delete,0xfffffffff20e2fff,globl diff --git a/libc/sysv/calls/delete_module.s b/libc/sysv/calls/delete_module.s index 5cfa13a3656..087576fdc77 100644 --- a/libc/sysv/calls/delete_module.s +++ b/libc/sysv/calls/delete_module.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall delete_module 0xfffffffffffff0b0 globl +.scall delete_module,0xfffffffffffff0b0,globl diff --git a/libc/sysv/calls/disconnectx.s b/libc/sysv/calls/disconnectx.s index ad45a90fa08..6278f09f2d2 100644 --- a/libc/sysv/calls/disconnectx.s +++ b/libc/sysv/calls/disconnectx.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall disconnectx 0xfffffffff21c0fff globl +.scall disconnectx,0xfffffffff21c0fff,globl diff --git a/libc/sysv/calls/eaccess.s b/libc/sysv/calls/eaccess.s index 5127d487942..c92aa4cbb65 100644 --- a/libc/sysv/calls/eaccess.s +++ b/libc/sysv/calls/eaccess.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall eaccess 0xffffff178fffffff globl +.scall eaccess,0xffffff178fffffff,globl diff --git a/libc/sysv/calls/epoll_pwait.s b/libc/sysv/calls/epoll_pwait.s index a816b13f2e7..95f818d665c 100644 --- a/libc/sysv/calls/epoll_pwait.s +++ b/libc/sysv/calls/epoll_pwait.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall epoll_pwait 0xfffffffffffff119 globl +.scall epoll_pwait,0xfffffffffffff119,globl diff --git a/libc/sysv/calls/eventfd.s b/libc/sysv/calls/eventfd.s index 52829ec2aca..fbff5ed8a6d 100644 --- a/libc/sysv/calls/eventfd.s +++ b/libc/sysv/calls/eventfd.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall eventfd 0xfffffffffffff11c globl +.scall eventfd,0xfffffffffffff11c,globl diff --git a/libc/sysv/calls/eventfd2.s b/libc/sysv/calls/eventfd2.s index 4f8b9b2993e..f1c586ab02b 100644 --- a/libc/sysv/calls/eventfd2.s +++ b/libc/sysv/calls/eventfd2.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall eventfd2 0xfffffffffffff122 globl +.scall eventfd2,0xfffffffffffff122,globl diff --git a/libc/sysv/calls/exchangedata.s b/libc/sysv/calls/exchangedata.s index f8a31a43d1a..052f8956c82 100644 --- a/libc/sysv/calls/exchangedata.s +++ b/libc/sysv/calls/exchangedata.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall exchangedata 0xfffffffff20dffff globl +.scall exchangedata,0xfffffffff20dffff,globl diff --git a/libc/sysv/calls/execveat.s b/libc/sysv/calls/execveat.s index 7960c752b83..ab221f63990 100644 --- a/libc/sysv/calls/execveat.s +++ b/libc/sysv/calls/execveat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall execveat 0xfffffffffffff142 globl +.scall execveat,0xfffffffffffff142,globl diff --git a/libc/sysv/calls/extattr_delete_fd.s b/libc/sysv/calls/extattr_delete_fd.s index 45db9e19169..eb25a050aad 100644 --- a/libc/sysv/calls/extattr_delete_fd.s +++ b/libc/sysv/calls/extattr_delete_fd.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall extattr_delete_fd 0x16efff175fffffff globl +.scall extattr_delete_fd,0x16efff175fffffff,globl diff --git a/libc/sysv/calls/extattr_delete_file.s b/libc/sysv/calls/extattr_delete_file.s index 938229e91fc..bfdf3092fc2 100644 --- a/libc/sysv/calls/extattr_delete_file.s +++ b/libc/sysv/calls/extattr_delete_file.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall extattr_delete_file 0x16bfff166fffffff globl +.scall extattr_delete_file,0x16bfff166fffffff,globl diff --git a/libc/sysv/calls/extattr_delete_link.s b/libc/sysv/calls/extattr_delete_link.s index cd71d2d47a9..d310df49956 100644 --- a/libc/sysv/calls/extattr_delete_link.s +++ b/libc/sysv/calls/extattr_delete_link.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall extattr_delete_link 0x171fff19efffffff globl +.scall extattr_delete_link,0x171fff19efffffff,globl diff --git a/libc/sysv/calls/extattr_get_fd.s b/libc/sysv/calls/extattr_get_fd.s index bbf78634132..eb662dba3fc 100644 --- a/libc/sysv/calls/extattr_get_fd.s +++ b/libc/sysv/calls/extattr_get_fd.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall extattr_get_fd 0x16dfff174fffffff globl +.scall extattr_get_fd,0x16dfff174fffffff,globl diff --git a/libc/sysv/calls/extattr_get_file.s b/libc/sysv/calls/extattr_get_file.s index 9639e4c0724..67e16f767cd 100644 --- a/libc/sysv/calls/extattr_get_file.s +++ b/libc/sysv/calls/extattr_get_file.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall extattr_get_file 0x16afff165fffffff globl +.scall extattr_get_file,0x16afff165fffffff,globl diff --git a/libc/sysv/calls/extattr_get_link.s b/libc/sysv/calls/extattr_get_link.s index 1aadc49e852..18d4580a75f 100644 --- a/libc/sysv/calls/extattr_get_link.s +++ b/libc/sysv/calls/extattr_get_link.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall extattr_get_link 0x170fff19dfffffff globl +.scall extattr_get_link,0x170fff19dfffffff,globl diff --git a/libc/sysv/calls/extattr_list_fd.s b/libc/sysv/calls/extattr_list_fd.s index 0c4a52c9da3..077a3d8f880 100644 --- a/libc/sysv/calls/extattr_list_fd.s +++ b/libc/sysv/calls/extattr_list_fd.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall extattr_list_fd 0x172fff1b5fffffff globl +.scall extattr_list_fd,0x172fff1b5fffffff,globl diff --git a/libc/sysv/calls/extattr_list_file.s b/libc/sysv/calls/extattr_list_file.s index e836ce80678..3e1e77e0613 100644 --- a/libc/sysv/calls/extattr_list_file.s +++ b/libc/sysv/calls/extattr_list_file.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall extattr_list_file 0x173fff1b6fffffff globl +.scall extattr_list_file,0x173fff1b6fffffff,globl diff --git a/libc/sysv/calls/extattr_list_link.s b/libc/sysv/calls/extattr_list_link.s index ef47b96e1f1..ad8fcfa7c3e 100644 --- a/libc/sysv/calls/extattr_list_link.s +++ b/libc/sysv/calls/extattr_list_link.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall extattr_list_link 0x174fff1b7fffffff globl +.scall extattr_list_link,0x174fff1b7fffffff,globl diff --git a/libc/sysv/calls/extattr_set_fd.s b/libc/sysv/calls/extattr_set_fd.s index 6116ff9c889..00e38af633c 100644 --- a/libc/sysv/calls/extattr_set_fd.s +++ b/libc/sysv/calls/extattr_set_fd.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall extattr_set_fd 0x16cfff173fffffff globl +.scall extattr_set_fd,0x16cfff173fffffff,globl diff --git a/libc/sysv/calls/extattr_set_file.s b/libc/sysv/calls/extattr_set_file.s index b3e668f8315..f75de36b070 100644 --- a/libc/sysv/calls/extattr_set_file.s +++ b/libc/sysv/calls/extattr_set_file.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall extattr_set_file 0x169fff164fffffff globl +.scall extattr_set_file,0x169fff164fffffff,globl diff --git a/libc/sysv/calls/extattr_set_link.s b/libc/sysv/calls/extattr_set_link.s index a28a7898bf1..f186da2ff8c 100644 --- a/libc/sysv/calls/extattr_set_link.s +++ b/libc/sysv/calls/extattr_set_link.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall extattr_set_link 0x16ffff19cfffffff globl +.scall extattr_set_link,0x16ffff19cfffffff,globl diff --git a/libc/sysv/calls/extattrctl.s b/libc/sysv/calls/extattrctl.s index 4a68f56a672..83808902481 100644 --- a/libc/sysv/calls/extattrctl.s +++ b/libc/sysv/calls/extattrctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall extattrctl 0x168fff163fffffff globl +.scall extattrctl,0x168fff163fffffff,globl diff --git a/libc/sysv/calls/fallocate.s b/libc/sysv/calls/fallocate.s new file mode 100644 index 00000000000..c918fd9385d --- /dev/null +++ b/libc/sysv/calls/fallocate.s @@ -0,0 +1,2 @@ +.include "o/libc/sysv/macros.internal.inc" +.scall fallocate,0xfffffffffffff11d,globl,hidden diff --git a/libc/sysv/calls/fanotify_init.s b/libc/sysv/calls/fanotify_init.s index 7877289ac93..0e792cdd589 100644 --- a/libc/sysv/calls/fanotify_init.s +++ b/libc/sysv/calls/fanotify_init.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fanotify_init 0xfffffffffffff12c globl +.scall fanotify_init,0xfffffffffffff12c,globl diff --git a/libc/sysv/calls/fanotify_mark.s b/libc/sysv/calls/fanotify_mark.s index 57cc6b27f1d..943fd2b82ce 100644 --- a/libc/sysv/calls/fanotify_mark.s +++ b/libc/sysv/calls/fanotify_mark.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fanotify_mark 0xfffffffffffff12d globl +.scall fanotify_mark,0xfffffffffffff12d,globl diff --git a/libc/sysv/calls/fchflags.s b/libc/sysv/calls/fchflags.s index ba69ff050a9..ebe2eb4957d 100644 --- a/libc/sysv/calls/fchflags.s +++ b/libc/sysv/calls/fchflags.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fchflags 0x0230230232023fff globl +.scall fchflags,0x0230230232023fff,globl diff --git a/libc/sysv/calls/fchmod_extended.s b/libc/sysv/calls/fchmod_extended.s index 4f51a23d7bb..2d38312428c 100644 --- a/libc/sysv/calls/fchmod_extended.s +++ b/libc/sysv/calls/fchmod_extended.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fchmod_extended 0xfffffffff211bfff globl +.scall fchmod_extended,0xfffffffff211bfff,globl diff --git a/libc/sysv/calls/fclonefileat.s b/libc/sysv/calls/fclonefileat.s index 3218f39e270..861dd1173b6 100644 --- a/libc/sysv/calls/fclonefileat.s +++ b/libc/sysv/calls/fclonefileat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fclonefileat 0xfffffffff2205fff globl +.scall fclonefileat,0xfffffffff2205fff,globl diff --git a/libc/sysv/calls/fcntl_nocancel.s b/libc/sysv/calls/fcntl_nocancel.s index 06af111fed9..2e809ba22fc 100644 --- a/libc/sysv/calls/fcntl_nocancel.s +++ b/libc/sysv/calls/fcntl_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fcntl_nocancel 0xfffffffff2196fff globl +.scall fcntl_nocancel,0xfffffffff2196fff,globl diff --git a/libc/sysv/calls/fexecve.s b/libc/sysv/calls/fexecve.s index 4c2757685ee..b05b27e6b25 100644 --- a/libc/sysv/calls/fexecve.s +++ b/libc/sysv/calls/fexecve.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fexecve 0x1d1fff1ecfffffff globl +.scall fexecve,0x1d1fff1ecfffffff,globl diff --git a/libc/sysv/calls/ffclock_getcounter.s b/libc/sysv/calls/ffclock_getcounter.s index 35146b5c9d2..f7b0f444940 100644 --- a/libc/sysv/calls/ffclock_getcounter.s +++ b/libc/sysv/calls/ffclock_getcounter.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ffclock_getcounter 0xffffff0f1fffffff globl +.scall ffclock_getcounter,0xffffff0f1fffffff,globl diff --git a/libc/sysv/calls/ffclock_getestimate.s b/libc/sysv/calls/ffclock_getestimate.s index c0790ace02f..0c51d523bd5 100644 --- a/libc/sysv/calls/ffclock_getestimate.s +++ b/libc/sysv/calls/ffclock_getestimate.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ffclock_getestimate 0xffffff0f3fffffff globl +.scall ffclock_getestimate,0xffffff0f3fffffff,globl diff --git a/libc/sysv/calls/ffclock_setestimate.s b/libc/sysv/calls/ffclock_setestimate.s index 217f83ce73b..928b86b06f3 100644 --- a/libc/sysv/calls/ffclock_setestimate.s +++ b/libc/sysv/calls/ffclock_setestimate.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ffclock_setestimate 0xffffff0f2fffffff globl +.scall ffclock_setestimate,0xffffff0f2fffffff,globl diff --git a/libc/sysv/calls/ffsctl.s b/libc/sysv/calls/ffsctl.s index 2e07b7029ed..748c6fc4d0c 100644 --- a/libc/sysv/calls/ffsctl.s +++ b/libc/sysv/calls/ffsctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ffsctl 0xfffffffff20f5fff globl +.scall ffsctl,0xfffffffff20f5fff,globl diff --git a/libc/sysv/calls/fgetattrlist.s b/libc/sysv/calls/fgetattrlist.s index 113bf9971ae..889d69980a7 100644 --- a/libc/sysv/calls/fgetattrlist.s +++ b/libc/sysv/calls/fgetattrlist.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fgetattrlist 0xfffffffff20e4fff globl +.scall fgetattrlist,0xfffffffff20e4fff,globl diff --git a/libc/sysv/calls/fgetxattr.s b/libc/sysv/calls/fgetxattr.s index 5236abf62c9..3c47675b707 100644 --- a/libc/sysv/calls/fgetxattr.s +++ b/libc/sysv/calls/fgetxattr.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fgetxattr 0x17cffffff20eb0c1 globl +.scall fgetxattr,0x17cffffff20eb0c1,globl diff --git a/libc/sysv/calls/fhlink.s b/libc/sysv/calls/fhlink.s index 69bdd290789..5c30f768421 100644 --- a/libc/sysv/calls/fhlink.s +++ b/libc/sysv/calls/fhlink.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fhlink 0xffffff235fffffff globl +.scall fhlink,0xffffff235fffffff,globl diff --git a/libc/sysv/calls/fhlinkat.s b/libc/sysv/calls/fhlinkat.s index a80ed8bcc7d..b2d2c28e6b0 100644 --- a/libc/sysv/calls/fhlinkat.s +++ b/libc/sysv/calls/fhlinkat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fhlinkat 0xffffff236fffffff globl +.scall fhlinkat,0xffffff236fffffff,globl diff --git a/libc/sysv/calls/fhopen.s b/libc/sysv/calls/fhopen.s index b3ae8cd64c5..01a60430ac3 100644 --- a/libc/sysv/calls/fhopen.s +++ b/libc/sysv/calls/fhopen.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fhopen 0x18c10812a20f8fff globl +.scall fhopen,0x18c10812a20f8fff,globl diff --git a/libc/sysv/calls/fhreadlink.s b/libc/sysv/calls/fhreadlink.s index 9ea744d2959..eb553c5e001 100644 --- a/libc/sysv/calls/fhreadlink.s +++ b/libc/sysv/calls/fhreadlink.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fhreadlink 0xffffff237fffffff globl +.scall fhreadlink,0xffffff237fffffff,globl diff --git a/libc/sysv/calls/fhstat.s b/libc/sysv/calls/fhstat.s index 2a4dad888ea..aaa4424bce4 100644 --- a/libc/sysv/calls/fhstat.s +++ b/libc/sysv/calls/fhstat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fhstat 0x1c3126229fffffff globl +.scall fhstat,0x1c3126229fffffff,globl diff --git a/libc/sysv/calls/fhstatfs.s b/libc/sysv/calls/fhstatfs.s index daf06d3855e..24d166d83fa 100644 --- a/libc/sysv/calls/fhstatfs.s +++ b/libc/sysv/calls/fhstatfs.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fhstatfs 0xfff04122efffffff globl +.scall fhstatfs,0xfff04122efffffff,globl diff --git a/libc/sysv/calls/fileport_makefd.s b/libc/sysv/calls/fileport_makefd.s index 2a4e5a594a6..d92d2b23191 100644 --- a/libc/sysv/calls/fileport_makefd.s +++ b/libc/sysv/calls/fileport_makefd.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fileport_makefd 0xfffffffff21affff globl +.scall fileport_makefd,0xfffffffff21affff,globl diff --git a/libc/sysv/calls/fileport_makeport.s b/libc/sysv/calls/fileport_makeport.s index 3e6f5efd0da..2c1e4211066 100644 --- a/libc/sysv/calls/fileport_makeport.s +++ b/libc/sysv/calls/fileport_makeport.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fileport_makeport 0xfffffffff21aefff globl +.scall fileport_makeport,0xfffffffff21aefff,globl diff --git a/libc/sysv/calls/finit_module.s b/libc/sysv/calls/finit_module.s index 7c4d39e7412..1bbf32bc8de 100644 --- a/libc/sysv/calls/finit_module.s +++ b/libc/sysv/calls/finit_module.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall finit_module 0xfffffffffffff139 globl +.scall finit_module,0xfffffffffffff139,globl diff --git a/libc/sysv/calls/flistxattr.s b/libc/sysv/calls/flistxattr.s index 78d5b743b92..211d41f696a 100644 --- a/libc/sysv/calls/flistxattr.s +++ b/libc/sysv/calls/flistxattr.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall flistxattr 0x17fffffff20f10c4 globl +.scall flistxattr,0x17fffffff20f10c4,globl diff --git a/libc/sysv/calls/fmount.s b/libc/sysv/calls/fmount.s index 84c8019bdba..751b05ed0d0 100644 --- a/libc/sysv/calls/fmount.s +++ b/libc/sysv/calls/fmount.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fmount 0xfffffffff220efff globl +.scall fmount,0xfffffffff220efff,globl diff --git a/libc/sysv/calls/fpathconf.s b/libc/sysv/calls/fpathconf.s index 150c26c4ff5..36384e0c75b 100644 --- a/libc/sysv/calls/fpathconf.s +++ b/libc/sysv/calls/fpathconf.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fpathconf 0x0c00c00c020c0fff globl +.scall fpathconf,0x0c00c00c020c0fff,globl diff --git a/libc/sysv/calls/fremovexattr.s b/libc/sysv/calls/fremovexattr.s index a475ebef658..031388ab3fc 100644 --- a/libc/sysv/calls/fremovexattr.s +++ b/libc/sysv/calls/fremovexattr.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fremovexattr 0x182ffffff20ef0c7 globl +.scall fremovexattr,0x182ffffff20ef0c7,globl diff --git a/libc/sysv/calls/fs_snapshot.s b/libc/sysv/calls/fs_snapshot.s index 3092b8f3e4d..1e60481710c 100644 --- a/libc/sysv/calls/fs_snapshot.s +++ b/libc/sysv/calls/fs_snapshot.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fs_snapshot 0xfffffffff2206fff globl +.scall fs_snapshot,0xfffffffff2206fff,globl diff --git a/libc/sysv/calls/fsctl.s b/libc/sysv/calls/fsctl.s index 121853d8c2a..b8ed2484894 100644 --- a/libc/sysv/calls/fsctl.s +++ b/libc/sysv/calls/fsctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fsctl 0xfffffffff20f2fff globl +.scall fsctl,0xfffffffff20f2fff,globl diff --git a/libc/sysv/calls/fsetattrlist.s b/libc/sysv/calls/fsetattrlist.s index 7a0cf3de913..74d13ea9a00 100644 --- a/libc/sysv/calls/fsetattrlist.s +++ b/libc/sysv/calls/fsetattrlist.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fsetattrlist 0xfffffffff20e5fff globl +.scall fsetattrlist,0xfffffffff20e5fff,globl diff --git a/libc/sysv/calls/fsetxattr.s b/libc/sysv/calls/fsetxattr.s index 2f1a834475c..4276152af44 100644 --- a/libc/sysv/calls/fsetxattr.s +++ b/libc/sysv/calls/fsetxattr.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fsetxattr 0x179ffffff20ed0be globl +.scall fsetxattr,0x179ffffff20ed0be,globl diff --git a/libc/sysv/calls/fstat_extended.s b/libc/sysv/calls/fstat_extended.s index 50953780920..d75f3caf25b 100644 --- a/libc/sysv/calls/fstat_extended.s +++ b/libc/sysv/calls/fstat_extended.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fstat_extended 0xfffffffff2119fff globl +.scall fstat_extended,0xfffffffff2119fff,globl diff --git a/libc/sysv/calls/fstatfs.s b/libc/sysv/calls/fstatfs.s index 77d438c0e69..b2bc4dc2995 100644 --- a/libc/sysv/calls/fstatfs.s +++ b/libc/sysv/calls/fstatfs.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fstatfs 0xfff04022c215a08a globl +.scall fstatfs,0xfff04022c215a08a,globl diff --git a/libc/sysv/calls/fsync_nocancel.s b/libc/sysv/calls/fsync_nocancel.s index 4d41d9b0342..0ec96cba4a5 100644 --- a/libc/sysv/calls/fsync_nocancel.s +++ b/libc/sysv/calls/fsync_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall fsync_nocancel 0xfffffffff2198fff globl +.scall fsync_nocancel,0xfffffffff2198fff,globl diff --git a/libc/sysv/calls/futex.s b/libc/sysv/calls/futex.s index a5b036fd142..06de34ffec9 100644 --- a/libc/sysv/calls/futex.s +++ b/libc/sysv/calls/futex.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall futex 0xfff053fffffff0ca globl +.scall futex,0xfff053fffffff0ca,globl diff --git a/libc/sysv/calls/get_mempolicy.s b/libc/sysv/calls/get_mempolicy.s index 9b965055c1a..70940d7c5a4 100644 --- a/libc/sysv/calls/get_mempolicy.s +++ b/libc/sysv/calls/get_mempolicy.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall get_mempolicy 0xfffffffffffff0ef globl +.scall get_mempolicy,0xfffffffffffff0ef,globl diff --git a/libc/sysv/calls/get_robust_list.s b/libc/sysv/calls/get_robust_list.s index e78b7f83e18..6e74e986af5 100644 --- a/libc/sysv/calls/get_robust_list.s +++ b/libc/sysv/calls/get_robust_list.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall get_robust_list 0xfffffffffffff112 globl +.scall get_robust_list,0xfffffffffffff112,globl diff --git a/libc/sysv/calls/getattrlist.s b/libc/sysv/calls/getattrlist.s index c079d8cf4c5..70fb742c480 100644 --- a/libc/sysv/calls/getattrlist.s +++ b/libc/sysv/calls/getattrlist.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getattrlist 0xfffffffff20dcfff globl +.scall getattrlist,0xfffffffff20dcfff,globl diff --git a/libc/sysv/calls/getattrlistat.s b/libc/sysv/calls/getattrlistat.s index 5fae2f15167..ba662e38845 100644 --- a/libc/sysv/calls/getattrlistat.s +++ b/libc/sysv/calls/getattrlistat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getattrlistat 0xfffffffff21dcfff globl +.scall getattrlistat,0xfffffffff21dcfff,globl diff --git a/libc/sysv/calls/getattrlistbulk.s b/libc/sysv/calls/getattrlistbulk.s index 3f2c45e2ed7..1cc92e4ac36 100644 --- a/libc/sysv/calls/getattrlistbulk.s +++ b/libc/sysv/calls/getattrlistbulk.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getattrlistbulk 0xfffffffff21cdfff globl +.scall getattrlistbulk,0xfffffffff21cdfff,globl diff --git a/libc/sysv/calls/getaudit.s b/libc/sysv/calls/getaudit.s index efe7e1080d4..fa9e9a09d9e 100644 --- a/libc/sysv/calls/getaudit.s +++ b/libc/sysv/calls/getaudit.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getaudit 0xffffff1c1fffffff globl +.scall getaudit,0xffffff1c1fffffff,globl diff --git a/libc/sysv/calls/getaudit_addr.s b/libc/sysv/calls/getaudit_addr.s index 95809554d20..4139e8c86c1 100644 --- a/libc/sysv/calls/getaudit_addr.s +++ b/libc/sysv/calls/getaudit_addr.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getaudit_addr 0xffffff1c32165fff globl +.scall getaudit_addr,0xffffff1c32165fff,globl diff --git a/libc/sysv/calls/getauid.s b/libc/sysv/calls/getauid.s index bf229848b7e..a6a349edba9 100644 --- a/libc/sysv/calls/getauid.s +++ b/libc/sysv/calls/getauid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getauid 0xffffff1bf2161fff globl +.scall getauid,0xffffff1bf2161fff,globl diff --git a/libc/sysv/calls/getcontext.s b/libc/sysv/calls/getcontext.s index b76afd84239..d21d6096b93 100644 --- a/libc/sysv/calls/getcontext.s +++ b/libc/sysv/calls/getcontext.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getcontext 0x133fff1a5fffffff globl +.scall getcontext,0x133fff1a5fffffff,globl diff --git a/libc/sysv/calls/getcpu.s b/libc/sysv/calls/getcpu.s index 02a4c48e630..e7b6b66fb26 100644 --- a/libc/sysv/calls/getcpu.s +++ b/libc/sysv/calls/getcpu.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getcpu 0xfffffffffffff135 globl +.scall getcpu,0xfffffffffffff135,globl diff --git a/libc/sysv/calls/getdents.s b/libc/sysv/calls/getdents.s index 0c3dd838f54..dfc9878117c 100644 --- a/libc/sysv/calls/getdents.s +++ b/libc/sysv/calls/getdents.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getdents 0x18606311020c40d9 globl hidden +.scall getdents,0x18606311020c40d9,globl,hidden diff --git a/libc/sysv/calls/getdirentries.s b/libc/sysv/calls/getdirentries.s index 11121b09e77..84b4660d0a5 100644 --- a/libc/sysv/calls/getdirentries.s +++ b/libc/sysv/calls/getdirentries.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getdirentries 0xffffff22a20c4fff globl +.scall getdirentries,0xffffff22a20c4fff,globl diff --git a/libc/sysv/calls/getdirentriesattr.s b/libc/sysv/calls/getdirentriesattr.s index 09f0d90ceb4..c087d6e958f 100644 --- a/libc/sysv/calls/getdirentriesattr.s +++ b/libc/sysv/calls/getdirentriesattr.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getdirentriesattr 0xfffffffff20defff globl +.scall getdirentriesattr,0xfffffffff20defff,globl diff --git a/libc/sysv/calls/getdtablecount.s b/libc/sysv/calls/getdtablecount.s index 4606e1f7810..09412b3b86a 100644 --- a/libc/sysv/calls/getdtablecount.s +++ b/libc/sysv/calls/getdtablecount.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getdtablecount 0xfff012ffffffffff globl +.scall getdtablecount,0xfff012ffffffffff,globl diff --git a/libc/sysv/calls/getdtablesize.s b/libc/sysv/calls/getdtablesize.s index 67338d6e1e0..34a34410e01 100644 --- a/libc/sysv/calls/getdtablesize.s +++ b/libc/sysv/calls/getdtablesize.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getdtablesize 0xffffff0592059fff globl +.scall getdtablesize,0xffffff0592059fff,globl diff --git a/libc/sysv/calls/getegid.s b/libc/sysv/calls/getegid.s index 88f764a6ac8..c8a7ff41265 100644 --- a/libc/sysv/calls/getegid.s +++ b/libc/sysv/calls/getegid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getegid 0xfff02b02b202b06c globl +.scall getegid,0xfff02b02b202b06c,globl diff --git a/libc/sysv/calls/geteuid.s b/libc/sysv/calls/geteuid.s index 8b49a194031..070feb0b9c4 100644 --- a/libc/sysv/calls/geteuid.s +++ b/libc/sysv/calls/geteuid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall geteuid 0xfff019019201906b globl +.scall geteuid,0xfff019019201906b,globl diff --git a/libc/sysv/calls/getfh.s b/libc/sysv/calls/getfh.s index dfbc26cd4e6..645f8a5a10a 100644 --- a/libc/sysv/calls/getfh.s +++ b/libc/sysv/calls/getfh.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getfh 0x18b0a10a120a1fff globl +.scall getfh,0x18b0a10a120a1fff,globl diff --git a/libc/sysv/calls/getfhat.s b/libc/sysv/calls/getfhat.s index 81e6d1ac63f..870ea888ab8 100644 --- a/libc/sysv/calls/getfhat.s +++ b/libc/sysv/calls/getfhat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getfhat 0xffffff234fffffff globl +.scall getfhat,0xffffff234fffffff,globl diff --git a/libc/sysv/calls/getfsstat.s b/libc/sysv/calls/getfsstat.s index 38b78922ca4..c09c74c34e8 100644 --- a/libc/sysv/calls/getfsstat.s +++ b/libc/sysv/calls/getfsstat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getfsstat 0xfff03e22d215bfff globl +.scall getfsstat,0xfff03e22d215bfff,globl diff --git a/libc/sysv/calls/getgroups.s b/libc/sysv/calls/getgroups.s index e9160aacf44..bc164c4adbd 100644 --- a/libc/sysv/calls/getgroups.s +++ b/libc/sysv/calls/getgroups.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getgroups 0x04f04f04f204f073 globl +.scall getgroups,0x04f04f04f204f073,globl diff --git a/libc/sysv/calls/gethostid.s b/libc/sysv/calls/gethostid.s index c797615378c..f8ccdc4f101 100644 --- a/libc/sysv/calls/gethostid.s +++ b/libc/sysv/calls/gethostid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall gethostid 0xffffff08efffffff globl +.scall gethostid,0xffffff08efffffff,globl diff --git a/libc/sysv/calls/gethostuuid.s b/libc/sysv/calls/gethostuuid.s index 0e1d1563de6..4a068e006ae 100644 --- a/libc/sysv/calls/gethostuuid.s +++ b/libc/sysv/calls/gethostuuid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall gethostuuid 0xfffffffff208efff globl +.scall gethostuuid,0xfffffffff208efff,globl diff --git a/libc/sysv/calls/getkerninfo.s b/libc/sysv/calls/getkerninfo.s index 882a4ee86f7..d839656c39a 100644 --- a/libc/sysv/calls/getkerninfo.s +++ b/libc/sysv/calls/getkerninfo.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getkerninfo 0xffffff03ffffffff globl +.scall getkerninfo,0xffffff03ffffffff,globl diff --git a/libc/sysv/calls/getlogin.s b/libc/sysv/calls/getlogin.s index b5539f5f451..9340f6b4cb4 100644 --- a/libc/sysv/calls/getlogin.s +++ b/libc/sysv/calls/getlogin.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getlogin 0xffffff0312031fff globl +.scall getlogin,0xffffff0312031fff,globl diff --git a/libc/sysv/calls/getlogin_r.s b/libc/sysv/calls/getlogin_r.s index f91b18e9fe3..19cba479231 100644 --- a/libc/sysv/calls/getlogin_r.s +++ b/libc/sysv/calls/getlogin_r.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getlogin_r 0xfff08dffffffffff globl +.scall getlogin_r,0xfff08dffffffffff,globl diff --git a/libc/sysv/calls/getloginclass.s b/libc/sysv/calls/getloginclass.s index bef2c9c9657..7b60405e21a 100644 --- a/libc/sysv/calls/getloginclass.s +++ b/libc/sysv/calls/getloginclass.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getloginclass 0xffffff20bfffffff globl +.scall getloginclass,0xffffff20bfffffff,globl diff --git a/libc/sysv/calls/getpagesize_freebsd.s b/libc/sysv/calls/getpagesize_freebsd.s index 64e54c0e620..d5b95308e78 100644 --- a/libc/sysv/calls/getpagesize_freebsd.s +++ b/libc/sysv/calls/getpagesize_freebsd.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getpagesize_freebsd 0xffffff040fffffff globl hidden +.scall getpagesize_freebsd,0xffffff040fffffff,globl,hidden diff --git a/libc/sysv/calls/getpgid.s b/libc/sysv/calls/getpgid.s index d0589b77fcb..3783952ace4 100644 --- a/libc/sysv/calls/getpgid.s +++ b/libc/sysv/calls/getpgid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getpgid 0x0cf0cf0cf2097079 globl +.scall getpgid,0x0cf0cf0cf2097079,globl diff --git a/libc/sysv/calls/getpgrp.s b/libc/sysv/calls/getpgrp.s index e3b8dd1eca3..10a08f07a01 100644 --- a/libc/sysv/calls/getpgrp.s +++ b/libc/sysv/calls/getpgrp.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getpgrp 0x051051051205106f globl +.scall getpgrp,0x051051051205106f,globl diff --git a/libc/sysv/calls/getresgid.s b/libc/sysv/calls/getresgid.s index 38adca51487..9ce4dee9219 100644 --- a/libc/sysv/calls/getresgid.s +++ b/libc/sysv/calls/getresgid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getresgid 0xfff11b169ffff078 globl +.scall getresgid,0xfff11b169ffff078,globl diff --git a/libc/sysv/calls/getresuid.s b/libc/sysv/calls/getresuid.s index d5c7fda21e4..e50c6a170cf 100644 --- a/libc/sysv/calls/getresuid.s +++ b/libc/sysv/calls/getresuid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getresuid 0xfff119168ffff076 globl +.scall getresuid,0xfff119168ffff076,globl diff --git a/libc/sysv/calls/getrtable.s b/libc/sysv/calls/getrtable.s index 72ce0565cda..1567a6322b0 100644 --- a/libc/sysv/calls/getrtable.s +++ b/libc/sysv/calls/getrtable.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getrtable 0xfff137ffffffffff globl +.scall getrtable,0xfff137ffffffffff,globl diff --git a/libc/sysv/calls/getsgroups.s b/libc/sysv/calls/getsgroups.s index 8044dd632a4..2b6e7ad503d 100644 --- a/libc/sysv/calls/getsgroups.s +++ b/libc/sysv/calls/getsgroups.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getsgroups 0xfffffffff2120fff globl +.scall getsgroups,0xfffffffff2120fff,globl diff --git a/libc/sysv/calls/getthrid.s b/libc/sysv/calls/getthrid.s index 28010f884ed..68b8acde9ca 100644 --- a/libc/sysv/calls/getthrid.s +++ b/libc/sysv/calls/getthrid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getthrid 0xfff12bffffffffff globl +.scall getthrid,0xfff12bffffffffff,globl diff --git a/libc/sysv/calls/getwgroups.s b/libc/sysv/calls/getwgroups.s index c9db62451e5..65e19a82f70 100644 --- a/libc/sysv/calls/getwgroups.s +++ b/libc/sysv/calls/getwgroups.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getwgroups 0xfffffffff2122fff globl +.scall getwgroups,0xfffffffff2122fff,globl diff --git a/libc/sysv/calls/getxattr.s b/libc/sysv/calls/getxattr.s index 836948586f9..b33888d7f09 100644 --- a/libc/sysv/calls/getxattr.s +++ b/libc/sysv/calls/getxattr.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall getxattr 0x17affffff20ea0bf globl +.scall getxattr,0x17affffff20ea0bf,globl diff --git a/libc/sysv/calls/grab_pgo_data.s b/libc/sysv/calls/grab_pgo_data.s index 6d6d658f416..fd895f961c8 100644 --- a/libc/sysv/calls/grab_pgo_data.s +++ b/libc/sysv/calls/grab_pgo_data.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall grab_pgo_data 0xfffffffff21edfff globl +.scall grab_pgo_data,0xfffffffff21edfff,globl diff --git a/libc/sysv/calls/gssd_syscall.s b/libc/sysv/calls/gssd_syscall.s index 0acc6664a22..6488b395d59 100644 --- a/libc/sysv/calls/gssd_syscall.s +++ b/libc/sysv/calls/gssd_syscall.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall gssd_syscall 0xffffff1f9fffffff globl +.scall gssd_syscall,0xffffff1f9fffffff,globl diff --git a/libc/sysv/calls/guarded_close_np.s b/libc/sysv/calls/guarded_close_np.s index 0de85bfd954..1baac23779a 100644 --- a/libc/sysv/calls/guarded_close_np.s +++ b/libc/sysv/calls/guarded_close_np.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall guarded_close_np 0xfffffffff21bafff globl +.scall guarded_close_np,0xfffffffff21bafff,globl diff --git a/libc/sysv/calls/guarded_kqueue_np.s b/libc/sysv/calls/guarded_kqueue_np.s index d66a92c7e4b..d5f6988a8b9 100644 --- a/libc/sysv/calls/guarded_kqueue_np.s +++ b/libc/sysv/calls/guarded_kqueue_np.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall guarded_kqueue_np 0xfffffffff21bbfff globl +.scall guarded_kqueue_np,0xfffffffff21bbfff,globl diff --git a/libc/sysv/calls/guarded_open_dprotected_np.s b/libc/sysv/calls/guarded_open_dprotected_np.s index 8d8455839f2..bc648bf5e2c 100644 --- a/libc/sysv/calls/guarded_open_dprotected_np.s +++ b/libc/sysv/calls/guarded_open_dprotected_np.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall guarded_open_dprotected_np 0xfffffffff21e4fff globl +.scall guarded_open_dprotected_np,0xfffffffff21e4fff,globl diff --git a/libc/sysv/calls/guarded_open_np.s b/libc/sysv/calls/guarded_open_np.s index 102ba86eed2..ae899f1ac69 100644 --- a/libc/sysv/calls/guarded_open_np.s +++ b/libc/sysv/calls/guarded_open_np.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall guarded_open_np 0xfffffffff21b9fff globl +.scall guarded_open_np,0xfffffffff21b9fff,globl diff --git a/libc/sysv/calls/guarded_pwrite_np.s b/libc/sysv/calls/guarded_pwrite_np.s index 07f659a4b4a..212af4d61d2 100644 --- a/libc/sysv/calls/guarded_pwrite_np.s +++ b/libc/sysv/calls/guarded_pwrite_np.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall guarded_pwrite_np 0xfffffffff21e6fff globl +.scall guarded_pwrite_np,0xfffffffff21e6fff,globl diff --git a/libc/sysv/calls/guarded_write_np.s b/libc/sysv/calls/guarded_write_np.s index 918b7d5ac27..d7ac03aea08 100644 --- a/libc/sysv/calls/guarded_write_np.s +++ b/libc/sysv/calls/guarded_write_np.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall guarded_write_np 0xfffffffff21e5fff globl +.scall guarded_write_np,0xfffffffff21e5fff,globl diff --git a/libc/sysv/calls/guarded_writev_np.s b/libc/sysv/calls/guarded_writev_np.s index 6010a2ec477..860e7caa95d 100644 --- a/libc/sysv/calls/guarded_writev_np.s +++ b/libc/sysv/calls/guarded_writev_np.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall guarded_writev_np 0xfffffffff21e7fff globl +.scall guarded_writev_np,0xfffffffff21e7fff,globl diff --git a/libc/sysv/calls/identitysvc.s b/libc/sysv/calls/identitysvc.s index 0d3d9e69e31..bc51a605a33 100644 --- a/libc/sysv/calls/identitysvc.s +++ b/libc/sysv/calls/identitysvc.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall identitysvc 0xfffffffff2125fff globl +.scall identitysvc,0xfffffffff2125fff,globl diff --git a/libc/sysv/calls/init_module.s b/libc/sysv/calls/init_module.s index c43b97313b1..d3c0d90e603 100644 --- a/libc/sysv/calls/init_module.s +++ b/libc/sysv/calls/init_module.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall init_module 0xfffffffffffff0af globl +.scall init_module,0xfffffffffffff0af,globl diff --git a/libc/sysv/calls/initgroups.s b/libc/sysv/calls/initgroups.s index af61b46fec2..2b08cbf1dfa 100644 --- a/libc/sysv/calls/initgroups.s +++ b/libc/sysv/calls/initgroups.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall initgroups 0xfffffffff20f3fff globl +.scall initgroups,0xfffffffff20f3fff,globl diff --git a/libc/sysv/calls/inotify_add_watch.s b/libc/sysv/calls/inotify_add_watch.s index e0caaa230e6..eba0ec9ed13 100644 --- a/libc/sysv/calls/inotify_add_watch.s +++ b/libc/sysv/calls/inotify_add_watch.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall inotify_add_watch 0xfffffffffffff0fe globl +.scall inotify_add_watch,0xfffffffffffff0fe,globl diff --git a/libc/sysv/calls/inotify_init.s b/libc/sysv/calls/inotify_init.s index 87df5b7630a..f29413a73fc 100644 --- a/libc/sysv/calls/inotify_init.s +++ b/libc/sysv/calls/inotify_init.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall inotify_init 0xfffffffffffff0fd globl +.scall inotify_init,0xfffffffffffff0fd,globl diff --git a/libc/sysv/calls/inotify_init1.s b/libc/sysv/calls/inotify_init1.s index 53a31904bdb..c26fe74e8bd 100644 --- a/libc/sysv/calls/inotify_init1.s +++ b/libc/sysv/calls/inotify_init1.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall inotify_init1 0xfffffffffffff126 globl +.scall inotify_init1,0xfffffffffffff126,globl diff --git a/libc/sysv/calls/inotify_rm_watch.s b/libc/sysv/calls/inotify_rm_watch.s index 291edf0247a..3c9269484ff 100644 --- a/libc/sysv/calls/inotify_rm_watch.s +++ b/libc/sysv/calls/inotify_rm_watch.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall inotify_rm_watch 0xfffffffffffff0ff globl +.scall inotify_rm_watch,0xfffffffffffff0ff,globl diff --git a/libc/sysv/calls/io_cancel.s b/libc/sysv/calls/io_cancel.s index d99fcc44582..792c5a9b4ed 100644 --- a/libc/sysv/calls/io_cancel.s +++ b/libc/sysv/calls/io_cancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall io_cancel 0xfffffffffffff0d2 globl +.scall io_cancel,0xfffffffffffff0d2,globl diff --git a/libc/sysv/calls/io_destroy.s b/libc/sysv/calls/io_destroy.s index b3de906b07c..659b04c818c 100644 --- a/libc/sysv/calls/io_destroy.s +++ b/libc/sysv/calls/io_destroy.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall io_destroy 0xfffffffffffff0cf globl +.scall io_destroy,0xfffffffffffff0cf,globl diff --git a/libc/sysv/calls/io_getevents.s b/libc/sysv/calls/io_getevents.s index c4215e012aa..61c3b849033 100644 --- a/libc/sysv/calls/io_getevents.s +++ b/libc/sysv/calls/io_getevents.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall io_getevents 0xfffffffffffff0d0 globl +.scall io_getevents,0xfffffffffffff0d0,globl diff --git a/libc/sysv/calls/io_pgetevents.s b/libc/sysv/calls/io_pgetevents.s index e20bcc808f7..c28da81f14c 100644 --- a/libc/sysv/calls/io_pgetevents.s +++ b/libc/sysv/calls/io_pgetevents.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall io_pgetevents 0xfffffffffffff14d globl +.scall io_pgetevents,0xfffffffffffff14d,globl diff --git a/libc/sysv/calls/io_setup.s b/libc/sysv/calls/io_setup.s index ce5937d0f1c..bbaee448d81 100644 --- a/libc/sysv/calls/io_setup.s +++ b/libc/sysv/calls/io_setup.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall io_setup 0xfffffffffffff0ce globl +.scall io_setup,0xfffffffffffff0ce,globl diff --git a/libc/sysv/calls/io_submit.s b/libc/sysv/calls/io_submit.s index 38c908d9c3d..399dce9e2b7 100644 --- a/libc/sysv/calls/io_submit.s +++ b/libc/sysv/calls/io_submit.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall io_submit 0xfffffffffffff0d1 globl +.scall io_submit,0xfffffffffffff0d1,globl diff --git a/libc/sysv/calls/io_uring_enter.s b/libc/sysv/calls/io_uring_enter.s index 139f8ce5c6a..c17c30c09a9 100644 --- a/libc/sysv/calls/io_uring_enter.s +++ b/libc/sysv/calls/io_uring_enter.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall io_uring_enter 0xfffffffffffff1aa globl +.scall io_uring_enter,0xfffffffffffff1aa,globl diff --git a/libc/sysv/calls/io_uring_register.s b/libc/sysv/calls/io_uring_register.s index c02d4d3757a..82f80ef6125 100644 --- a/libc/sysv/calls/io_uring_register.s +++ b/libc/sysv/calls/io_uring_register.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall io_uring_register 0xfffffffffffff1ab globl +.scall io_uring_register,0xfffffffffffff1ab,globl diff --git a/libc/sysv/calls/io_uring_setup.s b/libc/sysv/calls/io_uring_setup.s index aa360f5be87..c711f356076 100644 --- a/libc/sysv/calls/io_uring_setup.s +++ b/libc/sysv/calls/io_uring_setup.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall io_uring_setup 0xfffffffffffff1a9 globl +.scall io_uring_setup,0xfffffffffffff1a9,globl diff --git a/libc/sysv/calls/ioperm.s b/libc/sysv/calls/ioperm.s index 461f129e0c4..b606029dbc8 100644 --- a/libc/sysv/calls/ioperm.s +++ b/libc/sysv/calls/ioperm.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ioperm 0xfffffffffffff0ad globl +.scall ioperm,0xfffffffffffff0ad,globl diff --git a/libc/sysv/calls/iopl.s b/libc/sysv/calls/iopl.s index 8fe9d16d980..1485cb4fb41 100644 --- a/libc/sysv/calls/iopl.s +++ b/libc/sysv/calls/iopl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall iopl 0xfffffffffffff0ac globl +.scall iopl,0xfffffffffffff0ac,globl diff --git a/libc/sysv/calls/iopolicysys.s b/libc/sysv/calls/iopolicysys.s index d0e22515cbc..bbec8e860b1 100644 --- a/libc/sysv/calls/iopolicysys.s +++ b/libc/sysv/calls/iopolicysys.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall iopolicysys 0xfffffffff2142fff globl +.scall iopolicysys,0xfffffffff2142fff,globl diff --git a/libc/sysv/calls/ioprio_get.s b/libc/sysv/calls/ioprio_get.s index 9943bfdbcf3..120ede14f61 100644 --- a/libc/sysv/calls/ioprio_get.s +++ b/libc/sysv/calls/ioprio_get.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ioprio_get 0xfffffffffffff0fc globl +.scall ioprio_get,0xfffffffffffff0fc,globl diff --git a/libc/sysv/calls/ioprio_set.s b/libc/sysv/calls/ioprio_set.s index f020ac3c924..66b4009c446 100644 --- a/libc/sysv/calls/ioprio_set.s +++ b/libc/sysv/calls/ioprio_set.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ioprio_set 0xfffffffffffff0fb globl +.scall ioprio_set,0xfffffffffffff0fb,globl diff --git a/libc/sysv/calls/issetugid.s b/libc/sysv/calls/issetugid.s index 226a7cf86ee..df46f9a4dd6 100644 --- a/libc/sysv/calls/issetugid.s +++ b/libc/sysv/calls/issetugid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall issetugid 0xfff0fd0fd2147fff globl +.scall issetugid,0xfff0fd0fd2147fff,globl diff --git a/libc/sysv/calls/jail.s b/libc/sysv/calls/jail.s index b0f14153c57..4df117de71a 100644 --- a/libc/sysv/calls/jail.s +++ b/libc/sysv/calls/jail.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall jail 0xffffff152fffffff globl +.scall jail,0xffffff152fffffff,globl diff --git a/libc/sysv/calls/jail_attach.s b/libc/sysv/calls/jail_attach.s index 33cb1fa3a82..7094209e65b 100644 --- a/libc/sysv/calls/jail_attach.s +++ b/libc/sysv/calls/jail_attach.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall jail_attach 0xffffff1b4fffffff globl +.scall jail_attach,0xffffff1b4fffffff,globl diff --git a/libc/sysv/calls/jail_get.s b/libc/sysv/calls/jail_get.s index f2926c25a54..b25234c9396 100644 --- a/libc/sysv/calls/jail_get.s +++ b/libc/sysv/calls/jail_get.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall jail_get 0xffffff1fafffffff globl +.scall jail_get,0xffffff1fafffffff,globl diff --git a/libc/sysv/calls/jail_remove.s b/libc/sysv/calls/jail_remove.s index d2a4d3afa08..a89a6ed72bf 100644 --- a/libc/sysv/calls/jail_remove.s +++ b/libc/sysv/calls/jail_remove.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall jail_remove 0xffffff1fcfffffff globl +.scall jail_remove,0xffffff1fcfffffff,globl diff --git a/libc/sysv/calls/jail_set.s b/libc/sysv/calls/jail_set.s index 541fe1a08ed..6e760baefa0 100644 --- a/libc/sysv/calls/jail_set.s +++ b/libc/sysv/calls/jail_set.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall jail_set 0xffffff1fbfffffff globl +.scall jail_set,0xffffff1fbfffffff,globl diff --git a/libc/sysv/calls/kas_info.s b/libc/sysv/calls/kas_info.s index 0bbbb70d94c..e2be0844356 100644 --- a/libc/sysv/calls/kas_info.s +++ b/libc/sysv/calls/kas_info.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kas_info 0xfffffffff21b7fff globl +.scall kas_info,0xfffffffff21b7fff,globl diff --git a/libc/sysv/calls/kbind.s b/libc/sysv/calls/kbind.s index da271206cbc..115b8b3d921 100644 --- a/libc/sysv/calls/kbind.s +++ b/libc/sysv/calls/kbind.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kbind 0xfff056ffffffffff globl +.scall kbind,0xfff056ffffffffff,globl diff --git a/libc/sysv/calls/kcmp.s b/libc/sysv/calls/kcmp.s index 8473bea5251..c5de3a2cfeb 100644 --- a/libc/sysv/calls/kcmp.s +++ b/libc/sysv/calls/kcmp.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kcmp 0xfffffffffffff138 globl +.scall kcmp,0xfffffffffffff138,globl diff --git a/libc/sysv/calls/kdebug_trace.s b/libc/sysv/calls/kdebug_trace.s index b575e9d373e..31acb0985d1 100644 --- a/libc/sysv/calls/kdebug_trace.s +++ b/libc/sysv/calls/kdebug_trace.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kdebug_trace 0xfffffffff20b3fff globl +.scall kdebug_trace,0xfffffffff20b3fff,globl diff --git a/libc/sysv/calls/kdebug_trace_string.s b/libc/sysv/calls/kdebug_trace_string.s index 8d883ca99fc..889c56975e4 100644 --- a/libc/sysv/calls/kdebug_trace_string.s +++ b/libc/sysv/calls/kdebug_trace_string.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kdebug_trace_string 0xfffffffff20b2fff globl +.scall kdebug_trace_string,0xfffffffff20b2fff,globl diff --git a/libc/sysv/calls/kdebug_typefilter.s b/libc/sysv/calls/kdebug_typefilter.s index 7ba4d612e9a..3b07baf6346 100644 --- a/libc/sysv/calls/kdebug_typefilter.s +++ b/libc/sysv/calls/kdebug_typefilter.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kdebug_typefilter 0xfffffffff20b1fff globl +.scall kdebug_typefilter,0xfffffffff20b1fff,globl diff --git a/libc/sysv/calls/kenv.s b/libc/sysv/calls/kenv.s index aa7e9138671..fa496a208bc 100644 --- a/libc/sysv/calls/kenv.s +++ b/libc/sysv/calls/kenv.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kenv 0xffffff186fffffff globl +.scall kenv,0xffffff186fffffff,globl diff --git a/libc/sysv/calls/kevent.s b/libc/sysv/calls/kevent.s index c160f3a6e9a..b588e50dedf 100644 --- a/libc/sysv/calls/kevent.s +++ b/libc/sysv/calls/kevent.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kevent 0x1b30482302171fff globl +.scall kevent,0x1b30482302171fff,globl diff --git a/libc/sysv/calls/kevent_id.s b/libc/sysv/calls/kevent_id.s index 2fc372dd5bc..0e077f0be67 100644 --- a/libc/sysv/calls/kevent_id.s +++ b/libc/sysv/calls/kevent_id.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kevent_id 0xfffffffff2177fff globl +.scall kevent_id,0xfffffffff2177fff,globl diff --git a/libc/sysv/calls/kevent_qos.s b/libc/sysv/calls/kevent_qos.s index ed43d4d60ad..38703da8482 100644 --- a/libc/sysv/calls/kevent_qos.s +++ b/libc/sysv/calls/kevent_qos.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kevent_qos 0xfffffffff2176fff globl +.scall kevent_qos,0xfffffffff2176fff,globl diff --git a/libc/sysv/calls/kexec_file_load.s b/libc/sysv/calls/kexec_file_load.s index 45d22659b08..ec1b91f700d 100644 --- a/libc/sysv/calls/kexec_file_load.s +++ b/libc/sysv/calls/kexec_file_load.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kexec_file_load 0xfffffffffffff140 globl +.scall kexec_file_load,0xfffffffffffff140,globl diff --git a/libc/sysv/calls/kexec_load.s b/libc/sysv/calls/kexec_load.s index 81570f8fcb0..e0095effe95 100644 --- a/libc/sysv/calls/kexec_load.s +++ b/libc/sysv/calls/kexec_load.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kexec_load 0xfffffffffffff0f6 globl +.scall kexec_load,0xfffffffffffff0f6,globl diff --git a/libc/sysv/calls/keyctl.s b/libc/sysv/calls/keyctl.s index 94b1447d781..dce1ba92647 100644 --- a/libc/sysv/calls/keyctl.s +++ b/libc/sysv/calls/keyctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall keyctl 0xfffffffffffff0fa globl +.scall keyctl,0xfffffffffffff0fa,globl diff --git a/libc/sysv/calls/kldfind.s b/libc/sysv/calls/kldfind.s index 2bbf4ede61c..005053bdaf0 100644 --- a/libc/sysv/calls/kldfind.s +++ b/libc/sysv/calls/kldfind.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kldfind 0xffffff132fffffff globl +.scall kldfind,0xffffff132fffffff,globl diff --git a/libc/sysv/calls/kldfirstmod.s b/libc/sysv/calls/kldfirstmod.s index ae045ede2bb..3ab223dad05 100644 --- a/libc/sysv/calls/kldfirstmod.s +++ b/libc/sysv/calls/kldfirstmod.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kldfirstmod 0xffffff135fffffff globl +.scall kldfirstmod,0xffffff135fffffff,globl diff --git a/libc/sysv/calls/kldload.s b/libc/sysv/calls/kldload.s index 09da77c55b6..8f652da7d60 100644 --- a/libc/sysv/calls/kldload.s +++ b/libc/sysv/calls/kldload.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kldload 0xffffff130fffffff globl +.scall kldload,0xffffff130fffffff,globl diff --git a/libc/sysv/calls/kldnext.s b/libc/sysv/calls/kldnext.s index 35f1bfd59e8..b7ac9db9812 100644 --- a/libc/sysv/calls/kldnext.s +++ b/libc/sysv/calls/kldnext.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kldnext 0xffffff133fffffff globl +.scall kldnext,0xffffff133fffffff,globl diff --git a/libc/sysv/calls/kldstat.s b/libc/sysv/calls/kldstat.s index a103497b86d..722eac79190 100644 --- a/libc/sysv/calls/kldstat.s +++ b/libc/sysv/calls/kldstat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kldstat 0xffffff134fffffff globl +.scall kldstat,0xffffff134fffffff,globl diff --git a/libc/sysv/calls/kldsym.s b/libc/sysv/calls/kldsym.s index 24b26b12973..8bb63a25b90 100644 --- a/libc/sysv/calls/kldsym.s +++ b/libc/sysv/calls/kldsym.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kldsym 0xffffff151fffffff globl +.scall kldsym,0xffffff151fffffff,globl diff --git a/libc/sysv/calls/kldunload.s b/libc/sysv/calls/kldunload.s index 51112a4b6ac..8a8c30e72bf 100644 --- a/libc/sysv/calls/kldunload.s +++ b/libc/sysv/calls/kldunload.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kldunload 0xffffff131fffffff globl +.scall kldunload,0xffffff131fffffff,globl diff --git a/libc/sysv/calls/kldunloadf.s b/libc/sysv/calls/kldunloadf.s index 310d25dc9a8..c8ceb49c496 100644 --- a/libc/sysv/calls/kldunloadf.s +++ b/libc/sysv/calls/kldunloadf.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kldunloadf 0xffffff1bcfffffff globl +.scall kldunloadf,0xffffff1bcfffffff,globl diff --git a/libc/sysv/calls/kmq_notify.s b/libc/sysv/calls/kmq_notify.s index 2311c1d3236..cff56fab1b6 100644 --- a/libc/sysv/calls/kmq_notify.s +++ b/libc/sysv/calls/kmq_notify.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kmq_notify 0xffffff1cdfffffff globl +.scall kmq_notify,0xffffff1cdfffffff,globl diff --git a/libc/sysv/calls/kmq_setattr.s b/libc/sysv/calls/kmq_setattr.s index 8b30a952017..b15d8cb8d9c 100644 --- a/libc/sysv/calls/kmq_setattr.s +++ b/libc/sysv/calls/kmq_setattr.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kmq_setattr 0xffffff1cafffffff globl +.scall kmq_setattr,0xffffff1cafffffff,globl diff --git a/libc/sysv/calls/kmq_timedreceive.s b/libc/sysv/calls/kmq_timedreceive.s index 96cb00e8b45..d3373eb8749 100644 --- a/libc/sysv/calls/kmq_timedreceive.s +++ b/libc/sysv/calls/kmq_timedreceive.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kmq_timedreceive 0xffffff1cbfffffff globl +.scall kmq_timedreceive,0xffffff1cbfffffff,globl diff --git a/libc/sysv/calls/kmq_timedsend.s b/libc/sysv/calls/kmq_timedsend.s index eddd7c51195..5fb65194ce1 100644 --- a/libc/sysv/calls/kmq_timedsend.s +++ b/libc/sysv/calls/kmq_timedsend.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kmq_timedsend 0xffffff1ccfffffff globl +.scall kmq_timedsend,0xffffff1ccfffffff,globl diff --git a/libc/sysv/calls/kmq_unlink.s b/libc/sysv/calls/kmq_unlink.s index 154f61c418d..84e45b454ce 100644 --- a/libc/sysv/calls/kmq_unlink.s +++ b/libc/sysv/calls/kmq_unlink.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kmq_unlink 0xffffff1cefffffff globl +.scall kmq_unlink,0xffffff1cefffffff,globl diff --git a/libc/sysv/calls/kqueue.s b/libc/sysv/calls/kqueue.s index 6662c20a540..7a1a812201d 100644 --- a/libc/sysv/calls/kqueue.s +++ b/libc/sysv/calls/kqueue.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall kqueue 0x15810d16a216afff globl +.scall kqueue,0x15810d16a216afff,globl diff --git a/libc/sysv/calls/ksem_close.s b/libc/sysv/calls/ksem_close.s index 22edc2b66bf..43997a60b4b 100644 --- a/libc/sysv/calls/ksem_close.s +++ b/libc/sysv/calls/ksem_close.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ksem_close 0xffffff190fffffff globl +.scall ksem_close,0xffffff190fffffff,globl diff --git a/libc/sysv/calls/ksem_destroy.s b/libc/sysv/calls/ksem_destroy.s index d0e6d9cdd28..00703971831 100644 --- a/libc/sysv/calls/ksem_destroy.s +++ b/libc/sysv/calls/ksem_destroy.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ksem_destroy 0xffffff198fffffff globl +.scall ksem_destroy,0xffffff198fffffff,globl diff --git a/libc/sysv/calls/ksem_getvalue.s b/libc/sysv/calls/ksem_getvalue.s index f0f4ad690dc..c65c3332316 100644 --- a/libc/sysv/calls/ksem_getvalue.s +++ b/libc/sysv/calls/ksem_getvalue.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ksem_getvalue 0xffffff197fffffff globl +.scall ksem_getvalue,0xffffff197fffffff,globl diff --git a/libc/sysv/calls/ksem_init.s b/libc/sysv/calls/ksem_init.s index f141545e5bc..705bfebb16e 100644 --- a/libc/sysv/calls/ksem_init.s +++ b/libc/sysv/calls/ksem_init.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ksem_init 0xffffff194fffffff globl +.scall ksem_init,0xffffff194fffffff,globl diff --git a/libc/sysv/calls/ksem_open.s b/libc/sysv/calls/ksem_open.s index c25fb3fbe26..c56d64998da 100644 --- a/libc/sysv/calls/ksem_open.s +++ b/libc/sysv/calls/ksem_open.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ksem_open 0xffffff195fffffff globl +.scall ksem_open,0xffffff195fffffff,globl diff --git a/libc/sysv/calls/ksem_post.s b/libc/sysv/calls/ksem_post.s index ca087ec76a8..3c0d40aabe3 100644 --- a/libc/sysv/calls/ksem_post.s +++ b/libc/sysv/calls/ksem_post.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ksem_post 0xffffff191fffffff globl +.scall ksem_post,0xffffff191fffffff,globl diff --git a/libc/sysv/calls/ksem_timedwait.s b/libc/sysv/calls/ksem_timedwait.s index f49e005f407..0e2b3ad7e56 100644 --- a/libc/sysv/calls/ksem_timedwait.s +++ b/libc/sysv/calls/ksem_timedwait.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ksem_timedwait 0xffffff1b9fffffff globl +.scall ksem_timedwait,0xffffff1b9fffffff,globl diff --git a/libc/sysv/calls/ksem_trywait.s b/libc/sysv/calls/ksem_trywait.s index 014b8e36e60..7d5cddfd829 100644 --- a/libc/sysv/calls/ksem_trywait.s +++ b/libc/sysv/calls/ksem_trywait.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ksem_trywait 0xffffff193fffffff globl +.scall ksem_trywait,0xffffff193fffffff,globl diff --git a/libc/sysv/calls/ksem_unlink.s b/libc/sysv/calls/ksem_unlink.s index 0c8717b4820..9788f2887bf 100644 --- a/libc/sysv/calls/ksem_unlink.s +++ b/libc/sysv/calls/ksem_unlink.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ksem_unlink 0xffffff196fffffff globl +.scall ksem_unlink,0xffffff196fffffff,globl diff --git a/libc/sysv/calls/ksem_wait.s b/libc/sysv/calls/ksem_wait.s index 9a1c164d9b0..546f60dcfdf 100644 --- a/libc/sysv/calls/ksem_wait.s +++ b/libc/sysv/calls/ksem_wait.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ksem_wait 0xffffff192fffffff globl +.scall ksem_wait,0xffffff192fffffff,globl diff --git a/libc/sysv/calls/ktimer_create.s b/libc/sysv/calls/ktimer_create.s index 781837e708f..293108791c8 100644 --- a/libc/sysv/calls/ktimer_create.s +++ b/libc/sysv/calls/ktimer_create.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ktimer_create 0xffffff0ebfffffff globl +.scall ktimer_create,0xffffff0ebfffffff,globl diff --git a/libc/sysv/calls/ktimer_delete.s b/libc/sysv/calls/ktimer_delete.s index c177f5d028b..f8ad66a609f 100644 --- a/libc/sysv/calls/ktimer_delete.s +++ b/libc/sysv/calls/ktimer_delete.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ktimer_delete 0xffffff0ecfffffff globl +.scall ktimer_delete,0xffffff0ecfffffff,globl diff --git a/libc/sysv/calls/ktimer_getoverrun.s b/libc/sysv/calls/ktimer_getoverrun.s index 10b62c4926c..f2bdfa5e59a 100644 --- a/libc/sysv/calls/ktimer_getoverrun.s +++ b/libc/sysv/calls/ktimer_getoverrun.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ktimer_getoverrun 0xffffff0effffffff globl +.scall ktimer_getoverrun,0xffffff0effffffff,globl diff --git a/libc/sysv/calls/ktimer_gettime.s b/libc/sysv/calls/ktimer_gettime.s index 8e4db214e48..e5eac35f4dd 100644 --- a/libc/sysv/calls/ktimer_gettime.s +++ b/libc/sysv/calls/ktimer_gettime.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ktimer_gettime 0xffffff0eefffffff globl +.scall ktimer_gettime,0xffffff0eefffffff,globl diff --git a/libc/sysv/calls/ktimer_settime.s b/libc/sysv/calls/ktimer_settime.s index a9178b2ef46..d45801a16f9 100644 --- a/libc/sysv/calls/ktimer_settime.s +++ b/libc/sysv/calls/ktimer_settime.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ktimer_settime 0xffffff0edfffffff globl +.scall ktimer_settime,0xffffff0edfffffff,globl diff --git a/libc/sysv/calls/ktrace.s b/libc/sysv/calls/ktrace.s index 1c9d13329ef..ed98bccb16a 100644 --- a/libc/sysv/calls/ktrace.s +++ b/libc/sysv/calls/ktrace.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ktrace 0x02d02d02dfffffff globl +.scall ktrace,0x02d02d02dfffffff,globl diff --git a/libc/sysv/calls/lchflags.s b/libc/sysv/calls/lchflags.s index ae0b2795eab..960fdd2c472 100644 --- a/libc/sysv/calls/lchflags.s +++ b/libc/sysv/calls/lchflags.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall lchflags 0x130fff187fffffff globl +.scall lchflags,0x130fff187fffffff,globl diff --git a/libc/sysv/calls/lchmod.s b/libc/sysv/calls/lchmod.s index f56402f85a7..ca84c5411c4 100644 --- a/libc/sysv/calls/lchmod.s +++ b/libc/sysv/calls/lchmod.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall lchmod 0x112fff112fffffff globl +.scall lchmod,0x112fff112fffffff,globl diff --git a/libc/sysv/calls/ledger.s b/libc/sysv/calls/ledger.s index 117536a37fb..c126cad4b98 100644 --- a/libc/sysv/calls/ledger.s +++ b/libc/sysv/calls/ledger.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ledger 0xfffffffff2175fff globl +.scall ledger,0xfffffffff2175fff,globl diff --git a/libc/sysv/calls/lgetfh.s b/libc/sysv/calls/lgetfh.s index 3479789863f..fe0c1305843 100644 --- a/libc/sysv/calls/lgetfh.s +++ b/libc/sysv/calls/lgetfh.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall lgetfh 0xffffff0a0fffffff globl +.scall lgetfh,0xffffff0a0fffffff,globl diff --git a/libc/sysv/calls/lgetxattr.s b/libc/sysv/calls/lgetxattr.s index fe547cace29..ae3f4b75f0e 100644 --- a/libc/sysv/calls/lgetxattr.s +++ b/libc/sysv/calls/lgetxattr.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall lgetxattr 0x17bffffffffff0c0 globl +.scall lgetxattr,0x17bffffffffff0c0,globl diff --git a/libc/sysv/calls/lio_listio.s b/libc/sysv/calls/lio_listio.s index aea9a4691ca..38355c32045 100644 --- a/libc/sysv/calls/lio_listio.s +++ b/libc/sysv/calls/lio_listio.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall lio_listio 0x196fff1402140fff globl +.scall lio_listio,0x196fff1402140fff,globl diff --git a/libc/sysv/calls/listxattr.s b/libc/sysv/calls/listxattr.s index ec8082aa95a..d9b4542a370 100644 --- a/libc/sysv/calls/listxattr.s +++ b/libc/sysv/calls/listxattr.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall listxattr 0x17dffffff20f00c2 globl +.scall listxattr,0x17dffffff20f00c2,globl diff --git a/libc/sysv/calls/llistxattr.s b/libc/sysv/calls/llistxattr.s index 1251a72f361..29767c61e52 100644 --- a/libc/sysv/calls/llistxattr.s +++ b/libc/sysv/calls/llistxattr.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall llistxattr 0x17effffffffff0c3 globl +.scall llistxattr,0x17effffffffff0c3,globl diff --git a/libc/sysv/calls/lookup_dcookie.s b/libc/sysv/calls/lookup_dcookie.s index c1362a5d663..8b706ba707b 100644 --- a/libc/sysv/calls/lookup_dcookie.s +++ b/libc/sysv/calls/lookup_dcookie.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall lookup_dcookie 0xfffffffffffff0d4 globl +.scall lookup_dcookie,0xfffffffffffff0d4,globl diff --git a/libc/sysv/calls/lpathconf.s b/libc/sysv/calls/lpathconf.s index 1f9ef9e4c01..f7544d54568 100644 --- a/libc/sysv/calls/lpathconf.s +++ b/libc/sysv/calls/lpathconf.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall lpathconf 0x1f3fff201fffffff globl +.scall lpathconf,0x1f3fff201fffffff,globl diff --git a/libc/sysv/calls/lremovexattr.s b/libc/sysv/calls/lremovexattr.s index fe91618de4f..aedc6027c53 100644 --- a/libc/sysv/calls/lremovexattr.s +++ b/libc/sysv/calls/lremovexattr.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall lremovexattr 0x181ffffffffff0c6 globl +.scall lremovexattr,0x181ffffffffff0c6,globl diff --git a/libc/sysv/calls/lsetxattr.s b/libc/sysv/calls/lsetxattr.s index 1b66c9b0569..153a05c3c73 100644 --- a/libc/sysv/calls/lsetxattr.s +++ b/libc/sysv/calls/lsetxattr.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall lsetxattr 0x178ffffffffff0bd globl +.scall lsetxattr,0x178ffffffffff0bd,globl diff --git a/libc/sysv/calls/lstat_extended.s b/libc/sysv/calls/lstat_extended.s index 3e408109f5f..7042edb189a 100644 --- a/libc/sysv/calls/lstat_extended.s +++ b/libc/sysv/calls/lstat_extended.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall lstat_extended 0xfffffffff2156fff globl +.scall lstat_extended,0xfffffffff2156fff,globl diff --git a/libc/sysv/calls/lutimes.s b/libc/sysv/calls/lutimes.s index d9799e0d7d5..f5be4201019 100644 --- a/libc/sysv/calls/lutimes.s +++ b/libc/sysv/calls/lutimes.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall lutimes 0x1a8fff114fffffff globl +.scall lutimes,0x1a8fff114fffffff,globl diff --git a/libc/sysv/calls/mac_syscall.s b/libc/sysv/calls/mac_syscall.s index 4011bafe662..70b2546c846 100644 --- a/libc/sysv/calls/mac_syscall.s +++ b/libc/sysv/calls/mac_syscall.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mac_syscall 0xffffff18afffffff globl +.scall mac_syscall,0xffffff18afffffff,globl diff --git a/libc/sysv/calls/mbind.s b/libc/sysv/calls/mbind.s index 9dad8c9d751..02d6e703099 100644 --- a/libc/sysv/calls/mbind.s +++ b/libc/sysv/calls/mbind.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mbind 0xfffffffffffff0ed globl +.scall mbind,0xfffffffffffff0ed,globl diff --git a/libc/sysv/calls/membarrier.s b/libc/sysv/calls/membarrier.s index 47534769dcd..673d52cc4cd 100644 --- a/libc/sysv/calls/membarrier.s +++ b/libc/sysv/calls/membarrier.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall membarrier 0xfffffffffffff144 globl +.scall membarrier,0xfffffffffffff144,globl diff --git a/libc/sysv/calls/memfd_create.s b/libc/sysv/calls/memfd_create.s index 8b7637ea7e6..46aaf31653c 100644 --- a/libc/sysv/calls/memfd_create.s +++ b/libc/sysv/calls/memfd_create.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall memfd_create 0xfffffffffffff13f globl +.scall memfd_create,0xfffffffffffff13f,globl diff --git a/libc/sysv/calls/memorystatus_control.s b/libc/sysv/calls/memorystatus_control.s index bfcd80d4093..aa3b9fbc670 100644 --- a/libc/sysv/calls/memorystatus_control.s +++ b/libc/sysv/calls/memorystatus_control.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall memorystatus_control 0xfffffffff21b8fff globl +.scall memorystatus_control,0xfffffffff21b8fff,globl diff --git a/libc/sysv/calls/memorystatus_get_level.s b/libc/sysv/calls/memorystatus_get_level.s index b8c05e32e5d..7208b87d163 100644 --- a/libc/sysv/calls/memorystatus_get_level.s +++ b/libc/sysv/calls/memorystatus_get_level.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall memorystatus_get_level 0xfffffffff21c5fff globl +.scall memorystatus_get_level,0xfffffffff21c5fff,globl diff --git a/libc/sysv/calls/microstackshot.s b/libc/sysv/calls/microstackshot.s index 89278130e92..4b614e7396b 100644 --- a/libc/sysv/calls/microstackshot.s +++ b/libc/sysv/calls/microstackshot.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall microstackshot 0xfffffffff21ecfff globl +.scall microstackshot,0xfffffffff21ecfff,globl diff --git a/libc/sysv/calls/migrate_pages.s b/libc/sysv/calls/migrate_pages.s index 0447d85b71d..e418bc3fb99 100644 --- a/libc/sysv/calls/migrate_pages.s +++ b/libc/sysv/calls/migrate_pages.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall migrate_pages 0xfffffffffffff100 globl +.scall migrate_pages,0xfffffffffffff100,globl diff --git a/libc/sysv/calls/mincore.s b/libc/sysv/calls/mincore.s index e36f2f26714..ad12de95bed 100644 --- a/libc/sysv/calls/mincore.s +++ b/libc/sysv/calls/mincore.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mincore 0x04e04e04e204e01b globl +.scall mincore,0x04e04e04e204e01b,globl diff --git a/libc/sysv/calls/minherit.s b/libc/sysv/calls/minherit.s index f552e82f7f0..a3a7a2f1c7d 100644 --- a/libc/sysv/calls/minherit.s +++ b/libc/sysv/calls/minherit.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall minherit 0x1110fa0fa20fafff globl +.scall minherit,0x1110fa0fa20fafff,globl diff --git a/libc/sysv/calls/mkdir_extended.s b/libc/sysv/calls/mkdir_extended.s index 4e5e1444383..0a4a45280bc 100644 --- a/libc/sysv/calls/mkdir_extended.s +++ b/libc/sysv/calls/mkdir_extended.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mkdir_extended 0xfffffffff2124fff globl +.scall mkdir_extended,0xfffffffff2124fff,globl diff --git a/libc/sysv/calls/mkfifo_extended.s b/libc/sysv/calls/mkfifo_extended.s index 553f2b2c3c1..20ae58a3b1f 100644 --- a/libc/sysv/calls/mkfifo_extended.s +++ b/libc/sysv/calls/mkfifo_extended.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mkfifo_extended 0xfffffffff2123fff globl +.scall mkfifo_extended,0xfffffffff2123fff,globl diff --git a/libc/sysv/calls/mkfifoat.s b/libc/sysv/calls/mkfifoat.s index eba1fe7da0f..f209dc92007 100644 --- a/libc/sysv/calls/mkfifoat.s +++ b/libc/sysv/calls/mkfifoat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mkfifoat 0x1cb13f1f1fffffff globl +.scall mkfifoat,0x1cb13f1f1fffffff,globl diff --git a/libc/sysv/calls/mknodat.s b/libc/sysv/calls/mknodat.s index 12bea54edde..37a5d383565 100644 --- a/libc/sysv/calls/mknodat.s +++ b/libc/sysv/calls/mknodat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mknodat 0x1cc14022fffff103 globl +.scall mknodat,0x1cc14022fffff103,globl diff --git a/libc/sysv/calls/mlock.s b/libc/sysv/calls/mlock.s index 150979f9ccd..2971d6a0d79 100644 --- a/libc/sysv/calls/mlock.s +++ b/libc/sysv/calls/mlock.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mlock 0x0cb0cb0cb20cb095 globl +.scall mlock,0x0cb0cb0cb20cb095,globl diff --git a/libc/sysv/calls/mlock2.s b/libc/sysv/calls/mlock2.s index 7a697945fa9..efcaa0ca194 100644 --- a/libc/sysv/calls/mlock2.s +++ b/libc/sysv/calls/mlock2.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mlock2 0xfffffffffffff145 globl +.scall mlock2,0xfffffffffffff145,globl diff --git a/libc/sysv/calls/mlockall.s b/libc/sysv/calls/mlockall.s index 572deda3819..e94ea4aef07 100644 --- a/libc/sysv/calls/mlockall.s +++ b/libc/sysv/calls/mlockall.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mlockall 0x0f210f1442144097 globl +.scall mlockall,0x0f210f1442144097,globl diff --git a/libc/sysv/calls/modfind.s b/libc/sysv/calls/modfind.s index 7725d629944..8541eeb83b8 100644 --- a/libc/sysv/calls/modfind.s +++ b/libc/sysv/calls/modfind.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall modfind 0xffffff12ffffffff globl +.scall modfind,0xffffff12ffffffff,globl diff --git a/libc/sysv/calls/modfnext.s b/libc/sysv/calls/modfnext.s index 2c1133139b5..94d22d8125a 100644 --- a/libc/sysv/calls/modfnext.s +++ b/libc/sysv/calls/modfnext.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall modfnext 0xffffff12efffffff globl +.scall modfnext,0xffffff12efffffff,globl diff --git a/libc/sysv/calls/modify_ldt.s b/libc/sysv/calls/modify_ldt.s index a77e424692c..c780293cc69 100644 --- a/libc/sysv/calls/modify_ldt.s +++ b/libc/sysv/calls/modify_ldt.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall modify_ldt 0xfffffffffffff09a globl +.scall modify_ldt,0xfffffffffffff09a,globl diff --git a/libc/sysv/calls/modnext.s b/libc/sysv/calls/modnext.s index 72d0c77b51d..8c22692cf4f 100644 --- a/libc/sysv/calls/modnext.s +++ b/libc/sysv/calls/modnext.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall modnext 0xffffff12cfffffff globl +.scall modnext,0xffffff12cfffffff,globl diff --git a/libc/sysv/calls/modstat.s b/libc/sysv/calls/modstat.s index a292f76a3f5..72dbc608847 100644 --- a/libc/sysv/calls/modstat.s +++ b/libc/sysv/calls/modstat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall modstat 0xffffff12dfffffff globl +.scall modstat,0xffffff12dfffffff,globl diff --git a/libc/sysv/calls/modwatch.s b/libc/sysv/calls/modwatch.s index ac36d4418ca..f2fd844b9c0 100644 --- a/libc/sysv/calls/modwatch.s +++ b/libc/sysv/calls/modwatch.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall modwatch 0xfffffffff20e9fff globl +.scall modwatch,0xfffffffff20e9fff,globl diff --git a/libc/sysv/calls/mount.s b/libc/sysv/calls/mount.s index 6b10313674f..b2b0c27d0fa 100644 --- a/libc/sysv/calls/mount.s +++ b/libc/sysv/calls/mount.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mount 0x19a01501520a70a5 globl +.scall mount,0x19a01501520a70a5,globl diff --git a/libc/sysv/calls/move_pages.s b/libc/sysv/calls/move_pages.s index 3083d504f2e..c36012503d7 100644 --- a/libc/sysv/calls/move_pages.s +++ b/libc/sysv/calls/move_pages.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall move_pages 0xfffffffffffff117 globl +.scall move_pages,0xfffffffffffff117,globl diff --git a/libc/sysv/calls/mq_getsetattr.s b/libc/sysv/calls/mq_getsetattr.s index 9b9b75d5608..ce8d6a84c54 100644 --- a/libc/sysv/calls/mq_getsetattr.s +++ b/libc/sysv/calls/mq_getsetattr.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mq_getsetattr 0xfffffffffffff0f5 globl +.scall mq_getsetattr,0xfffffffffffff0f5,globl diff --git a/libc/sysv/calls/mq_notify.s b/libc/sysv/calls/mq_notify.s index 2c32bd20579..255356abab6 100644 --- a/libc/sysv/calls/mq_notify.s +++ b/libc/sysv/calls/mq_notify.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mq_notify 0x106ffffffffff0f4 globl +.scall mq_notify,0x106ffffffffff0f4,globl diff --git a/libc/sysv/calls/mq_open.s b/libc/sysv/calls/mq_open.s index 7190a4e3f71..18b3a6b2dc7 100644 --- a/libc/sysv/calls/mq_open.s +++ b/libc/sysv/calls/mq_open.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mq_open 0x101ffffffffff0f0 globl +.scall mq_open,0x101ffffffffff0f0,globl diff --git a/libc/sysv/calls/mq_timedreceive.s b/libc/sysv/calls/mq_timedreceive.s index fdcca92a7a4..c7661f35441 100644 --- a/libc/sysv/calls/mq_timedreceive.s +++ b/libc/sysv/calls/mq_timedreceive.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mq_timedreceive 0x1b1ffffffffff0f3 globl +.scall mq_timedreceive,0x1b1ffffffffff0f3,globl diff --git a/libc/sysv/calls/mq_timedsend.s b/libc/sysv/calls/mq_timedsend.s index 8731112f62e..4f319ffefca 100644 --- a/libc/sysv/calls/mq_timedsend.s +++ b/libc/sysv/calls/mq_timedsend.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mq_timedsend 0x1b0ffffffffff0f2 globl +.scall mq_timedsend,0x1b0ffffffffff0f2,globl diff --git a/libc/sysv/calls/mq_unlink.s b/libc/sysv/calls/mq_unlink.s index 844003ce070..66b7deb1cc2 100644 --- a/libc/sysv/calls/mq_unlink.s +++ b/libc/sysv/calls/mq_unlink.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mq_unlink 0x103ffffffffff0f1 globl +.scall mq_unlink,0x103ffffffffff0f1,globl diff --git a/libc/sysv/calls/mquery.s b/libc/sysv/calls/mquery.s index e29d303f1dc..d4fe5c3df11 100644 --- a/libc/sysv/calls/mquery.s +++ b/libc/sysv/calls/mquery.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mquery 0xfff11effffffffff globl +.scall mquery,0xfff11effffffffff,globl diff --git a/libc/sysv/calls/mremap_encrypted.s b/libc/sysv/calls/mremap_encrypted.s index eb50102ddf0..a234e946ea6 100644 --- a/libc/sysv/calls/mremap_encrypted.s +++ b/libc/sysv/calls/mremap_encrypted.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mremap_encrypted 0xfffffffff21e9fff globl +.scall mremap_encrypted,0xfffffffff21e9fff,globl diff --git a/libc/sysv/calls/msgctl.s b/libc/sysv/calls/msgctl.s index 7878260d695..ad66ab30e25 100644 --- a/libc/sysv/calls/msgctl.s +++ b/libc/sysv/calls/msgctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall msgctl 0x1bc1291ff2102047 globl +.scall msgctl,0x1bc1291ff2102047,globl diff --git a/libc/sysv/calls/msgget.s b/libc/sysv/calls/msgget.s index d3275048458..9bcee780611 100644 --- a/libc/sysv/calls/msgget.s +++ b/libc/sysv/calls/msgget.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall msgget 0x0e10e10e12103044 globl +.scall msgget,0x0e10e10e12103044,globl diff --git a/libc/sysv/calls/msgrcv.s b/libc/sysv/calls/msgrcv.s index 1ff749c88b4..0e58c377d46 100644 --- a/libc/sysv/calls/msgrcv.s +++ b/libc/sysv/calls/msgrcv.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall msgrcv 0x0e30e30e32105046 globl +.scall msgrcv,0x0e30e30e32105046,globl diff --git a/libc/sysv/calls/msgrcv_nocancel.s b/libc/sysv/calls/msgrcv_nocancel.s index b80da979ca6..acf0476ab05 100644 --- a/libc/sysv/calls/msgrcv_nocancel.s +++ b/libc/sysv/calls/msgrcv_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall msgrcv_nocancel 0xfffffffff21a3fff globl +.scall msgrcv_nocancel,0xfffffffff21a3fff,globl diff --git a/libc/sysv/calls/msgsnd.s b/libc/sysv/calls/msgsnd.s index 29dd860a3c1..467c4031967 100644 --- a/libc/sysv/calls/msgsnd.s +++ b/libc/sysv/calls/msgsnd.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall msgsnd 0x0e20e20e22104045 globl +.scall msgsnd,0x0e20e20e22104045,globl diff --git a/libc/sysv/calls/msgsnd_nocancel.s b/libc/sysv/calls/msgsnd_nocancel.s index 9d807d33bc6..005dca0d163 100644 --- a/libc/sysv/calls/msgsnd_nocancel.s +++ b/libc/sysv/calls/msgsnd_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall msgsnd_nocancel 0xfffffffff21a2fff globl +.scall msgsnd_nocancel,0xfffffffff21a2fff,globl diff --git a/libc/sysv/calls/msgsys.s b/libc/sysv/calls/msgsys.s index 644a2a0e442..076af1c8f0d 100644 --- a/libc/sysv/calls/msgsys.s +++ b/libc/sysv/calls/msgsys.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall msgsys 0xffffff0aa20fcfff globl +.scall msgsys,0xffffff0aa20fcfff,globl diff --git a/libc/sysv/calls/msync_nocancel.s b/libc/sysv/calls/msync_nocancel.s index 018bc9c6e9f..8818a14be14 100644 --- a/libc/sysv/calls/msync_nocancel.s +++ b/libc/sysv/calls/msync_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall msync_nocancel 0xfffffffff2195fff globl +.scall msync_nocancel,0xfffffffff2195fff,globl diff --git a/libc/sysv/calls/msyscall.s b/libc/sysv/calls/msyscall.s index 736e8f47e67..a5e14ba81a7 100644 --- a/libc/sysv/calls/msyscall.s +++ b/libc/sysv/calls/msyscall.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall msyscall 0xfff025ffffffffff globl +.scall msyscall,0xfff025ffffffffff,globl diff --git a/libc/sysv/calls/munlock.s b/libc/sysv/calls/munlock.s index d2157b3c8b6..4c5d66e8b2f 100644 --- a/libc/sysv/calls/munlock.s +++ b/libc/sysv/calls/munlock.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall munlock 0x0cc0cc0cc20cc096 globl +.scall munlock,0x0cc0cc0cc20cc096,globl diff --git a/libc/sysv/calls/munlockall.s b/libc/sysv/calls/munlockall.s index adb50985a01..a11dcbdbd85 100644 --- a/libc/sysv/calls/munlockall.s +++ b/libc/sysv/calls/munlockall.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall munlockall 0x0f31101452145098 globl +.scall munlockall,0x0f31101452145098,globl diff --git a/libc/sysv/calls/name_to_handle_at.s b/libc/sysv/calls/name_to_handle_at.s index 0e7dc464a58..32ecabd0b07 100644 --- a/libc/sysv/calls/name_to_handle_at.s +++ b/libc/sysv/calls/name_to_handle_at.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall name_to_handle_at 0xfffffffffffff12f globl +.scall name_to_handle_at,0xfffffffffffff12f,globl diff --git a/libc/sysv/calls/necp_client_action.s b/libc/sysv/calls/necp_client_action.s index 412f8a10637..eefb247fb04 100644 --- a/libc/sysv/calls/necp_client_action.s +++ b/libc/sysv/calls/necp_client_action.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall necp_client_action 0xfffffffff21f6fff globl +.scall necp_client_action,0xfffffffff21f6fff,globl diff --git a/libc/sysv/calls/necp_match_policy.s b/libc/sysv/calls/necp_match_policy.s index 74bbe04a383..0df06eb7e98 100644 --- a/libc/sysv/calls/necp_match_policy.s +++ b/libc/sysv/calls/necp_match_policy.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall necp_match_policy 0xfffffffff21ccfff globl +.scall necp_match_policy,0xfffffffff21ccfff,globl diff --git a/libc/sysv/calls/necp_open.s b/libc/sysv/calls/necp_open.s index 107bc91c37e..b0568a76bf2 100644 --- a/libc/sysv/calls/necp_open.s +++ b/libc/sysv/calls/necp_open.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall necp_open 0xfffffffff21f5fff globl +.scall necp_open,0xfffffffff21f5fff,globl diff --git a/libc/sysv/calls/necp_session_action.s b/libc/sysv/calls/necp_session_action.s index fb70ecdc17d..3fd99bf9c77 100644 --- a/libc/sysv/calls/necp_session_action.s +++ b/libc/sysv/calls/necp_session_action.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall necp_session_action 0xfffffffff220bfff globl +.scall necp_session_action,0xfffffffff220bfff,globl diff --git a/libc/sysv/calls/necp_session_open.s b/libc/sysv/calls/necp_session_open.s index 99f6cea9864..29498f5b343 100644 --- a/libc/sysv/calls/necp_session_open.s +++ b/libc/sysv/calls/necp_session_open.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall necp_session_open 0xfffffffff220afff globl +.scall necp_session_open,0xfffffffff220afff,globl diff --git a/libc/sysv/calls/net_qos_guideline.s b/libc/sysv/calls/net_qos_guideline.s index e374524d5ea..fb561267378 100644 --- a/libc/sysv/calls/net_qos_guideline.s +++ b/libc/sysv/calls/net_qos_guideline.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall net_qos_guideline 0xfffffffff220dfff globl +.scall net_qos_guideline,0xfffffffff220dfff,globl diff --git a/libc/sysv/calls/netagent_trigger.s b/libc/sysv/calls/netagent_trigger.s index 63e2a610b2d..d2e86f8a82b 100644 --- a/libc/sysv/calls/netagent_trigger.s +++ b/libc/sysv/calls/netagent_trigger.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall netagent_trigger 0xfffffffff21eafff globl +.scall netagent_trigger,0xfffffffff21eafff,globl diff --git a/libc/sysv/calls/nfsclnt.s b/libc/sysv/calls/nfsclnt.s index 1a2bce3ae19..d525fe3f450 100644 --- a/libc/sysv/calls/nfsclnt.s +++ b/libc/sysv/calls/nfsclnt.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall nfsclnt 0xfffffffff20f7fff globl +.scall nfsclnt,0xfffffffff20f7fff,globl diff --git a/libc/sysv/calls/nfssvc.s b/libc/sysv/calls/nfssvc.s index 087563dcbb9..f659b852dc0 100644 --- a/libc/sysv/calls/nfssvc.s +++ b/libc/sysv/calls/nfssvc.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall nfssvc 0x09b09b09b209bfff globl +.scall nfssvc,0x09b09b09b209bfff,globl diff --git a/libc/sysv/calls/nfstat.s b/libc/sysv/calls/nfstat.s index 46eb75f456a..d79418dd608 100644 --- a/libc/sysv/calls/nfstat.s +++ b/libc/sysv/calls/nfstat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall nfstat 0xffffff117fffffff globl +.scall nfstat,0xffffff117fffffff,globl diff --git a/libc/sysv/calls/nlm_syscall.s b/libc/sysv/calls/nlm_syscall.s index a4567f87096..0cf1e53a3b7 100644 --- a/libc/sysv/calls/nlm_syscall.s +++ b/libc/sysv/calls/nlm_syscall.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall nlm_syscall 0xffffff09afffffff globl +.scall nlm_syscall,0xffffff09afffffff,globl diff --git a/libc/sysv/calls/nlstat.s b/libc/sysv/calls/nlstat.s index 424c8c1a5a5..9e23999ea63 100644 --- a/libc/sysv/calls/nlstat.s +++ b/libc/sysv/calls/nlstat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall nlstat 0xffffff118fffffff globl +.scall nlstat,0xffffff118fffffff,globl diff --git a/libc/sysv/calls/nmount.s b/libc/sysv/calls/nmount.s index 62603c033c8..42d10bc7d63 100644 --- a/libc/sysv/calls/nmount.s +++ b/libc/sysv/calls/nmount.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall nmount 0xffffff17afffffff globl +.scall nmount,0xffffff17afffffff,globl diff --git a/libc/sysv/calls/nnpfs_syscall.s b/libc/sysv/calls/nnpfs_syscall.s index 642887787a3..650b726b622 100644 --- a/libc/sysv/calls/nnpfs_syscall.s +++ b/libc/sysv/calls/nnpfs_syscall.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall nnpfs_syscall 0xffffff153fffffff globl +.scall nnpfs_syscall,0xffffff153fffffff,globl diff --git a/libc/sysv/calls/nstat.s b/libc/sysv/calls/nstat.s index 08180ad443e..dcd730b9644 100644 --- a/libc/sysv/calls/nstat.s +++ b/libc/sysv/calls/nstat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall nstat 0xffffff116fffffff globl +.scall nstat,0xffffff116fffffff,globl diff --git a/libc/sysv/calls/ntp_adjtime.s b/libc/sysv/calls/ntp_adjtime.s index 004c04aeaa0..4e0c1fbe331 100644 --- a/libc/sysv/calls/ntp_adjtime.s +++ b/libc/sysv/calls/ntp_adjtime.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ntp_adjtime 0x0b0fff0b0220ffff globl +.scall ntp_adjtime,0x0b0fff0b0220ffff,globl diff --git a/libc/sysv/calls/ntp_gettime.s b/libc/sysv/calls/ntp_gettime.s index 0ed6ca36e9a..25145851725 100644 --- a/libc/sysv/calls/ntp_gettime.s +++ b/libc/sysv/calls/ntp_gettime.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ntp_gettime 0x1c0fff0f82210fff globl +.scall ntp_gettime,0x1c0fff0f82210fff,globl diff --git a/libc/sysv/calls/obreak.s b/libc/sysv/calls/obreak.s index d9d318a5821..402f9715ee5 100644 --- a/libc/sysv/calls/obreak.s +++ b/libc/sysv/calls/obreak.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall obreak 0x011011ffffffffff globl +.scall obreak,0x011011ffffffffff,globl diff --git a/libc/sysv/calls/open_by_handle_at.s b/libc/sysv/calls/open_by_handle_at.s index 41f3b4f4334..1a155915004 100644 --- a/libc/sysv/calls/open_by_handle_at.s +++ b/libc/sysv/calls/open_by_handle_at.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall open_by_handle_at 0xfffffffffffff130 globl +.scall open_by_handle_at,0xfffffffffffff130,globl diff --git a/libc/sysv/calls/open_dprotected_np.s b/libc/sysv/calls/open_dprotected_np.s index f397c253e37..081ed04f092 100644 --- a/libc/sysv/calls/open_dprotected_np.s +++ b/libc/sysv/calls/open_dprotected_np.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall open_dprotected_np 0xfffffffff20d8fff globl +.scall open_dprotected_np,0xfffffffff20d8fff,globl diff --git a/libc/sysv/calls/open_extended.s b/libc/sysv/calls/open_extended.s index 2c53369d15e..5240e2f38b8 100644 --- a/libc/sysv/calls/open_extended.s +++ b/libc/sysv/calls/open_extended.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall open_extended 0xfffffffff2115fff globl +.scall open_extended,0xfffffffff2115fff,globl diff --git a/libc/sysv/calls/open_nocancel.s b/libc/sysv/calls/open_nocancel.s index 1be8c06a395..98a4b5e86b7 100644 --- a/libc/sysv/calls/open_nocancel.s +++ b/libc/sysv/calls/open_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall open_nocancel 0xfffffffff218efff globl +.scall open_nocancel,0xfffffffff218efff,globl diff --git a/libc/sysv/calls/openat_nocancel.s b/libc/sysv/calls/openat_nocancel.s index e5e3aa1997e..890058b7b5a 100644 --- a/libc/sysv/calls/openat_nocancel.s +++ b/libc/sysv/calls/openat_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall openat_nocancel 0xfffffffff21d0fff globl +.scall openat_nocancel,0xfffffffff21d0fff,globl diff --git a/libc/sysv/calls/openbyid_np.s b/libc/sysv/calls/openbyid_np.s index c7c6eb2c006..643a4eefed1 100644 --- a/libc/sysv/calls/openbyid_np.s +++ b/libc/sysv/calls/openbyid_np.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall openbyid_np 0xfffffffff21dffff globl +.scall openbyid_np,0xfffffffff21dffff,globl diff --git a/libc/sysv/calls/os_fault_with_payload.s b/libc/sysv/calls/os_fault_with_payload.s index 54e3cfa622c..29bff790865 100644 --- a/libc/sysv/calls/os_fault_with_payload.s +++ b/libc/sysv/calls/os_fault_with_payload.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall os_fault_with_payload 0xfffffffff2211fff globl +.scall os_fault_with_payload,0xfffffffff2211fff,globl diff --git a/libc/sysv/calls/pathconf.s b/libc/sysv/calls/pathconf.s index cea6c75a030..500f62cff53 100644 --- a/libc/sysv/calls/pathconf.s +++ b/libc/sysv/calls/pathconf.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pathconf 0x0bf0bf0bf20bffff globl +.scall pathconf,0x0bf0bf0bf20bffff,globl diff --git a/libc/sysv/calls/pdfork.s b/libc/sysv/calls/pdfork.s index c8f89a966bb..8d4c2c40a56 100644 --- a/libc/sysv/calls/pdfork.s +++ b/libc/sysv/calls/pdfork.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pdfork 0xffffff206fffffff globl +.scall pdfork,0xffffff206fffffff,globl diff --git a/libc/sysv/calls/pdgetpid.s b/libc/sysv/calls/pdgetpid.s index c284bcfb5cd..0c2a36ae6ea 100644 --- a/libc/sysv/calls/pdgetpid.s +++ b/libc/sysv/calls/pdgetpid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pdgetpid 0xffffff208fffffff globl +.scall pdgetpid,0xffffff208fffffff,globl diff --git a/libc/sysv/calls/pdkill.s b/libc/sysv/calls/pdkill.s index 4cde9fe3023..7dc343be905 100644 --- a/libc/sysv/calls/pdkill.s +++ b/libc/sysv/calls/pdkill.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pdkill 0xffffff207fffffff globl +.scall pdkill,0xffffff207fffffff,globl diff --git a/libc/sysv/calls/peeloff.s b/libc/sysv/calls/peeloff.s index da8e656a6f8..dde6cf05eb9 100644 --- a/libc/sysv/calls/peeloff.s +++ b/libc/sysv/calls/peeloff.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall peeloff 0xfffffffff21c1fff globl +.scall peeloff,0xfffffffff21c1fff,globl diff --git a/libc/sysv/calls/perf_event_open.s b/libc/sysv/calls/perf_event_open.s index b93e0c82e03..d903b4270c2 100644 --- a/libc/sysv/calls/perf_event_open.s +++ b/libc/sysv/calls/perf_event_open.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall perf_event_open 0xfffffffffffff12a globl +.scall perf_event_open,0xfffffffffffff12a,globl diff --git a/libc/sysv/calls/persona.s b/libc/sysv/calls/persona.s index 17a28babf9c..0db0c468401 100644 --- a/libc/sysv/calls/persona.s +++ b/libc/sysv/calls/persona.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall persona 0xfffffffff21eefff globl +.scall persona,0xfffffffff21eefff,globl diff --git a/libc/sysv/calls/personality.s b/libc/sysv/calls/personality.s index af5ba5e4710..686783f4f92 100644 --- a/libc/sysv/calls/personality.s +++ b/libc/sysv/calls/personality.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall personality 0xfffffffffffff087 globl +.scall personality,0xfffffffffffff087,globl diff --git a/libc/sysv/calls/pid_hibernate.s b/libc/sysv/calls/pid_hibernate.s index ae145202ed9..c15dccfa163 100644 --- a/libc/sysv/calls/pid_hibernate.s +++ b/libc/sysv/calls/pid_hibernate.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pid_hibernate 0xfffffffff21b3fff globl +.scall pid_hibernate,0xfffffffff21b3fff,globl diff --git a/libc/sysv/calls/pid_resume.s b/libc/sysv/calls/pid_resume.s index ae30614ccf7..e1621e3a00e 100644 --- a/libc/sysv/calls/pid_resume.s +++ b/libc/sysv/calls/pid_resume.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pid_resume 0xfffffffff21b2fff globl +.scall pid_resume,0xfffffffff21b2fff,globl diff --git a/libc/sysv/calls/pid_shutdown_sockets.s b/libc/sysv/calls/pid_shutdown_sockets.s index bac4d5b5176..1bcfeb4c7e8 100644 --- a/libc/sysv/calls/pid_shutdown_sockets.s +++ b/libc/sysv/calls/pid_shutdown_sockets.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pid_shutdown_sockets 0xfffffffff21b4fff globl +.scall pid_shutdown_sockets,0xfffffffff21b4fff,globl diff --git a/libc/sysv/calls/pid_suspend.s b/libc/sysv/calls/pid_suspend.s index 208d10244f1..2b7094eaec9 100644 --- a/libc/sysv/calls/pid_suspend.s +++ b/libc/sysv/calls/pid_suspend.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pid_suspend 0xfffffffff21b1fff globl +.scall pid_suspend,0xfffffffff21b1fff,globl diff --git a/libc/sysv/calls/pidfd_send_signal.s b/libc/sysv/calls/pidfd_send_signal.s index 826fb522c94..e40cfa20b5b 100644 --- a/libc/sysv/calls/pidfd_send_signal.s +++ b/libc/sysv/calls/pidfd_send_signal.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pidfd_send_signal 0xfffffffffffff1a8 globl +.scall pidfd_send_signal,0xfffffffffffff1a8,globl diff --git a/libc/sysv/calls/pivot_root.s b/libc/sysv/calls/pivot_root.s index af62dc86f34..a87e514e0c4 100644 --- a/libc/sysv/calls/pivot_root.s +++ b/libc/sysv/calls/pivot_root.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pivot_root 0xfffffffffffff09b globl +.scall pivot_root,0xfffffffffffff09b,globl diff --git a/libc/sysv/calls/pkey_alloc.s b/libc/sysv/calls/pkey_alloc.s index 6bb6278d387..f025e426139 100644 --- a/libc/sysv/calls/pkey_alloc.s +++ b/libc/sysv/calls/pkey_alloc.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pkey_alloc 0xfffffffffffff14a globl +.scall pkey_alloc,0xfffffffffffff14a,globl diff --git a/libc/sysv/calls/pkey_free.s b/libc/sysv/calls/pkey_free.s index 122616d6352..c0cae7443bb 100644 --- a/libc/sysv/calls/pkey_free.s +++ b/libc/sysv/calls/pkey_free.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pkey_free 0xfffffffffffff14b globl +.scall pkey_free,0xfffffffffffff14b,globl diff --git a/libc/sysv/calls/pkey_mprotect.s b/libc/sysv/calls/pkey_mprotect.s index 609340081e3..673f90df3ba 100644 --- a/libc/sysv/calls/pkey_mprotect.s +++ b/libc/sysv/calls/pkey_mprotect.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pkey_mprotect 0xfffffffffffff149 globl +.scall pkey_mprotect,0xfffffffffffff149,globl diff --git a/libc/sysv/calls/pledge.s b/libc/sysv/calls/pledge.s index 9d913f0b490..8015bf37e8e 100644 --- a/libc/sysv/calls/pledge.s +++ b/libc/sysv/calls/pledge.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pledge 0xfff06cffffffffff globl +.scall pledge,0xfff06cffffffffff,globl diff --git a/libc/sysv/calls/poll_nocancel.s b/libc/sysv/calls/poll_nocancel.s index 8653555a755..b4c058687ca 100644 --- a/libc/sysv/calls/poll_nocancel.s +++ b/libc/sysv/calls/poll_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall poll_nocancel 0xfffffffff21a1fff globl +.scall poll_nocancel,0xfffffffff21a1fff,globl diff --git a/libc/sysv/calls/posix_fallocate.s b/libc/sysv/calls/posix_fallocate.s new file mode 100644 index 00000000000..f2d39da2204 --- /dev/null +++ b/libc/sysv/calls/posix_fallocate.s @@ -0,0 +1,2 @@ +.include "o/libc/sysv/macros.internal.inc" +.scall posix_fallocate,0xffffff212fffffff,globl,hidden diff --git a/libc/sysv/calls/prctl.s b/libc/sysv/calls/prctl.s index cf114659e0e..3fdf8080d2c 100644 --- a/libc/sysv/calls/prctl.s +++ b/libc/sysv/calls/prctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall prctl 0xfffffffffffff09d globl +.scall prctl,0xfffffffffffff09d,globl diff --git a/libc/sysv/calls/pread_nocancel.s b/libc/sysv/calls/pread_nocancel.s index 53c35aad306..4d16e233653 100644 --- a/libc/sysv/calls/pread_nocancel.s +++ b/libc/sysv/calls/pread_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pread_nocancel 0xfffffffff219efff globl +.scall pread_nocancel,0xfffffffff219efff,globl diff --git a/libc/sysv/calls/preadv2.s b/libc/sysv/calls/preadv2.s index f3cdf48a88e..d776826b770 100644 --- a/libc/sysv/calls/preadv2.s +++ b/libc/sysv/calls/preadv2.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall preadv2 0xfffffffffffff147 globl +.scall preadv2,0xfffffffffffff147,globl diff --git a/libc/sysv/calls/prlimit.s b/libc/sysv/calls/prlimit.s index 73e178147da..e1f2469f870 100644 --- a/libc/sysv/calls/prlimit.s +++ b/libc/sysv/calls/prlimit.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall prlimit 0xfffffffffffff12e globl +.scall prlimit,0xfffffffffffff12e,globl diff --git a/libc/sysv/calls/proc_info.s b/libc/sysv/calls/proc_info.s index 4e35476d885..bedd380ef6d 100644 --- a/libc/sysv/calls/proc_info.s +++ b/libc/sysv/calls/proc_info.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall proc_info 0xfffffffff2150fff globl +.scall proc_info,0xfffffffff2150fff,globl diff --git a/libc/sysv/calls/proc_rlimit_control.s b/libc/sysv/calls/proc_rlimit_control.s index d9d5b4c6107..d5bac226c06 100644 --- a/libc/sysv/calls/proc_rlimit_control.s +++ b/libc/sysv/calls/proc_rlimit_control.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall proc_rlimit_control 0xfffffffff21befff globl +.scall proc_rlimit_control,0xfffffffff21befff,globl diff --git a/libc/sysv/calls/proc_trace_log.s b/libc/sysv/calls/proc_trace_log.s index fc36c4dd1ec..674954267f7 100644 --- a/libc/sysv/calls/proc_trace_log.s +++ b/libc/sysv/calls/proc_trace_log.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall proc_trace_log 0xfffffffff21ddfff globl +.scall proc_trace_log,0xfffffffff21ddfff,globl diff --git a/libc/sysv/calls/proc_uuid_policy.s b/libc/sysv/calls/proc_uuid_policy.s index fa0d07fa128..c75b40110da 100644 --- a/libc/sysv/calls/proc_uuid_policy.s +++ b/libc/sysv/calls/proc_uuid_policy.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall proc_uuid_policy 0xfffffffff21c4fff globl +.scall proc_uuid_policy,0xfffffffff21c4fff,globl diff --git a/libc/sysv/calls/procctl.s b/libc/sysv/calls/procctl.s index 0f940008077..35de0af32f9 100644 --- a/libc/sysv/calls/procctl.s +++ b/libc/sysv/calls/procctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall procctl 0xffffff220fffffff globl +.scall procctl,0xffffff220fffffff,globl diff --git a/libc/sysv/calls/process_policy.s b/libc/sysv/calls/process_policy.s index 8a2aca81899..9f3c0c6aa73 100644 --- a/libc/sysv/calls/process_policy.s +++ b/libc/sysv/calls/process_policy.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall process_policy 0xfffffffff2143fff globl +.scall process_policy,0xfffffffff2143fff,globl diff --git a/libc/sysv/calls/process_vm_readv.s b/libc/sysv/calls/process_vm_readv.s index dded35088dc..bc052e2d8fb 100644 --- a/libc/sysv/calls/process_vm_readv.s +++ b/libc/sysv/calls/process_vm_readv.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall process_vm_readv 0xfffffffffffff136 globl +.scall process_vm_readv,0xfffffffffffff136,globl diff --git a/libc/sysv/calls/process_vm_writev.s b/libc/sysv/calls/process_vm_writev.s index 7c1482d7155..a682c141a01 100644 --- a/libc/sysv/calls/process_vm_writev.s +++ b/libc/sysv/calls/process_vm_writev.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall process_vm_writev 0xfffffffffffff137 globl +.scall process_vm_writev,0xfffffffffffff137,globl diff --git a/libc/sysv/calls/profil.s b/libc/sysv/calls/profil.s index a9916317d0f..c9f9aa0d1a3 100644 --- a/libc/sysv/calls/profil.s +++ b/libc/sysv/calls/profil.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall profil 0x02c02c02cfffffff globl +.scall profil,0x02c02c02cfffffff,globl diff --git a/libc/sysv/calls/pselect.s b/libc/sysv/calls/pselect.s index 7bd523146e6..eeb03d66a6e 100644 --- a/libc/sysv/calls/pselect.s +++ b/libc/sysv/calls/pselect.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pselect 0x1b406e20a218afff globl +.scall pselect,0x1b406e20a218afff,globl diff --git a/libc/sysv/calls/pselect6.s b/libc/sysv/calls/pselect6.s index bee91e28f82..6daf1d0ae83 100644 --- a/libc/sysv/calls/pselect6.s +++ b/libc/sysv/calls/pselect6.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pselect6 0xfffffffffffff10e globl +.scall pselect6,0xfffffffffffff10e,globl diff --git a/libc/sysv/calls/pselect_nocancel.s b/libc/sysv/calls/pselect_nocancel.s index ceed740340b..5531e02c484 100644 --- a/libc/sysv/calls/pselect_nocancel.s +++ b/libc/sysv/calls/pselect_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pselect_nocancel 0xfffffffff218bfff globl +.scall pselect_nocancel,0xfffffffff218bfff,globl diff --git a/libc/sysv/calls/psynch_cvbroad.s b/libc/sysv/calls/psynch_cvbroad.s index 9cdeacbcce7..1a4a2dcb736 100644 --- a/libc/sysv/calls/psynch_cvbroad.s +++ b/libc/sysv/calls/psynch_cvbroad.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall psynch_cvbroad 0xfffffffff212ffff globl +.scall psynch_cvbroad,0xfffffffff212ffff,globl diff --git a/libc/sysv/calls/psynch_cvclrprepost.s b/libc/sysv/calls/psynch_cvclrprepost.s index be5c92b8caa..c1dbd50fd44 100644 --- a/libc/sysv/calls/psynch_cvclrprepost.s +++ b/libc/sysv/calls/psynch_cvclrprepost.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall psynch_cvclrprepost 0xfffffffff2138fff globl +.scall psynch_cvclrprepost,0xfffffffff2138fff,globl diff --git a/libc/sysv/calls/psynch_cvsignal.s b/libc/sysv/calls/psynch_cvsignal.s index 84a3f082f56..8c6f0712a16 100644 --- a/libc/sysv/calls/psynch_cvsignal.s +++ b/libc/sysv/calls/psynch_cvsignal.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall psynch_cvsignal 0xfffffffff2130fff globl +.scall psynch_cvsignal,0xfffffffff2130fff,globl diff --git a/libc/sysv/calls/psynch_cvwait.s b/libc/sysv/calls/psynch_cvwait.s index 3e717ea1196..42cb4fc0216 100644 --- a/libc/sysv/calls/psynch_cvwait.s +++ b/libc/sysv/calls/psynch_cvwait.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall psynch_cvwait 0xfffffffff2131fff globl +.scall psynch_cvwait,0xfffffffff2131fff,globl diff --git a/libc/sysv/calls/psynch_mutexdrop.s b/libc/sysv/calls/psynch_mutexdrop.s index 65d162fc66b..804307ed79c 100644 --- a/libc/sysv/calls/psynch_mutexdrop.s +++ b/libc/sysv/calls/psynch_mutexdrop.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall psynch_mutexdrop 0xfffffffff212efff globl +.scall psynch_mutexdrop,0xfffffffff212efff,globl diff --git a/libc/sysv/calls/psynch_mutexwait.s b/libc/sysv/calls/psynch_mutexwait.s index de88b05464f..80e06f0ec66 100644 --- a/libc/sysv/calls/psynch_mutexwait.s +++ b/libc/sysv/calls/psynch_mutexwait.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall psynch_mutexwait 0xfffffffff212dfff globl +.scall psynch_mutexwait,0xfffffffff212dfff,globl diff --git a/libc/sysv/calls/psynch_rw_downgrade.s b/libc/sysv/calls/psynch_rw_downgrade.s index 8f891033fbb..6fa6fcb85df 100644 --- a/libc/sysv/calls/psynch_rw_downgrade.s +++ b/libc/sysv/calls/psynch_rw_downgrade.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall psynch_rw_downgrade 0xfffffffff212bfff globl +.scall psynch_rw_downgrade,0xfffffffff212bfff,globl diff --git a/libc/sysv/calls/psynch_rw_longrdlock.s b/libc/sysv/calls/psynch_rw_longrdlock.s index 9d4a8b11622..46bfa1706ee 100644 --- a/libc/sysv/calls/psynch_rw_longrdlock.s +++ b/libc/sysv/calls/psynch_rw_longrdlock.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall psynch_rw_longrdlock 0xfffffffff2129fff globl +.scall psynch_rw_longrdlock,0xfffffffff2129fff,globl diff --git a/libc/sysv/calls/psynch_rw_rdlock.s b/libc/sysv/calls/psynch_rw_rdlock.s index db781e2fc0f..3887dc172b1 100644 --- a/libc/sysv/calls/psynch_rw_rdlock.s +++ b/libc/sysv/calls/psynch_rw_rdlock.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall psynch_rw_rdlock 0xfffffffff2132fff globl +.scall psynch_rw_rdlock,0xfffffffff2132fff,globl diff --git a/libc/sysv/calls/psynch_rw_unlock.s b/libc/sysv/calls/psynch_rw_unlock.s index 078c4be0b30..fe57202c08a 100644 --- a/libc/sysv/calls/psynch_rw_unlock.s +++ b/libc/sysv/calls/psynch_rw_unlock.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall psynch_rw_unlock 0xfffffffff2134fff globl +.scall psynch_rw_unlock,0xfffffffff2134fff,globl diff --git a/libc/sysv/calls/psynch_rw_unlock2.s b/libc/sysv/calls/psynch_rw_unlock2.s index e328a06ae9e..13d1a3b24c8 100644 --- a/libc/sysv/calls/psynch_rw_unlock2.s +++ b/libc/sysv/calls/psynch_rw_unlock2.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall psynch_rw_unlock2 0xfffffffff2135fff globl +.scall psynch_rw_unlock2,0xfffffffff2135fff,globl diff --git a/libc/sysv/calls/psynch_rw_upgrade.s b/libc/sysv/calls/psynch_rw_upgrade.s index 9823e4d21b7..3eff498b4e2 100644 --- a/libc/sysv/calls/psynch_rw_upgrade.s +++ b/libc/sysv/calls/psynch_rw_upgrade.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall psynch_rw_upgrade 0xfffffffff212cfff globl +.scall psynch_rw_upgrade,0xfffffffff212cfff,globl diff --git a/libc/sysv/calls/psynch_rw_wrlock.s b/libc/sysv/calls/psynch_rw_wrlock.s index 81f50cfe3ce..6b382c3e796 100644 --- a/libc/sysv/calls/psynch_rw_wrlock.s +++ b/libc/sysv/calls/psynch_rw_wrlock.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall psynch_rw_wrlock 0xfffffffff2133fff globl +.scall psynch_rw_wrlock,0xfffffffff2133fff,globl diff --git a/libc/sysv/calls/psynch_rw_yieldwrlock.s b/libc/sysv/calls/psynch_rw_yieldwrlock.s index a2600487195..7bc5c30bbe8 100644 --- a/libc/sysv/calls/psynch_rw_yieldwrlock.s +++ b/libc/sysv/calls/psynch_rw_yieldwrlock.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall psynch_rw_yieldwrlock 0xfffffffff212afff globl +.scall psynch_rw_yieldwrlock,0xfffffffff212afff,globl diff --git a/libc/sysv/calls/pwrite_nocancel.s b/libc/sysv/calls/pwrite_nocancel.s index 2c5c2e49c68..80c8f334d65 100644 --- a/libc/sysv/calls/pwrite_nocancel.s +++ b/libc/sysv/calls/pwrite_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pwrite_nocancel 0xfffffffff219ffff globl +.scall pwrite_nocancel,0xfffffffff219ffff,globl diff --git a/libc/sysv/calls/pwritev2.s b/libc/sysv/calls/pwritev2.s index d8e1ff5d4b7..74ae742a15a 100644 --- a/libc/sysv/calls/pwritev2.s +++ b/libc/sysv/calls/pwritev2.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pwritev2 0xfffffffffffff148 globl +.scall pwritev2,0xfffffffffffff148,globl diff --git a/libc/sysv/calls/quota.s b/libc/sysv/calls/quota.s index 7adca479310..14a02189e73 100644 --- a/libc/sysv/calls/quota.s +++ b/libc/sysv/calls/quota.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall quota 0xffffff095fffffff globl +.scall quota,0xffffff095fffffff,globl diff --git a/libc/sysv/calls/quotactl.s b/libc/sysv/calls/quotactl.s index cb76da195a9..bfc7647f2ea 100644 --- a/libc/sysv/calls/quotactl.s +++ b/libc/sysv/calls/quotactl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall quotactl 0xfff09409420a50b3 globl +.scall quotactl,0xfff09409420a50b3,globl diff --git a/libc/sysv/calls/rctl_add_rule.s b/libc/sysv/calls/rctl_add_rule.s index c5e667c065d..ce5ce3fe07a 100644 --- a/libc/sysv/calls/rctl_add_rule.s +++ b/libc/sysv/calls/rctl_add_rule.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall rctl_add_rule 0xffffff210fffffff globl +.scall rctl_add_rule,0xffffff210fffffff,globl diff --git a/libc/sysv/calls/rctl_get_limits.s b/libc/sysv/calls/rctl_get_limits.s index 84bbb4cfc1e..2efb3243a30 100644 --- a/libc/sysv/calls/rctl_get_limits.s +++ b/libc/sysv/calls/rctl_get_limits.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall rctl_get_limits 0xffffff20ffffffff globl +.scall rctl_get_limits,0xffffff20ffffffff,globl diff --git a/libc/sysv/calls/rctl_get_racct.s b/libc/sysv/calls/rctl_get_racct.s index c252d69bfd2..b50e92a5920 100644 --- a/libc/sysv/calls/rctl_get_racct.s +++ b/libc/sysv/calls/rctl_get_racct.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall rctl_get_racct 0xffffff20dfffffff globl +.scall rctl_get_racct,0xffffff20dfffffff,globl diff --git a/libc/sysv/calls/rctl_get_rules.s b/libc/sysv/calls/rctl_get_rules.s index 0cba037aef3..d38e22c9792 100644 --- a/libc/sysv/calls/rctl_get_rules.s +++ b/libc/sysv/calls/rctl_get_rules.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall rctl_get_rules 0xffffff20efffffff globl +.scall rctl_get_rules,0xffffff20efffffff,globl diff --git a/libc/sysv/calls/rctl_remove_rule.s b/libc/sysv/calls/rctl_remove_rule.s index 1106dfaa9fc..30005cd8d1f 100644 --- a/libc/sysv/calls/rctl_remove_rule.s +++ b/libc/sysv/calls/rctl_remove_rule.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall rctl_remove_rule 0xffffff211fffffff globl +.scall rctl_remove_rule,0xffffff211fffffff,globl diff --git a/libc/sysv/calls/read_nocancel.s b/libc/sysv/calls/read_nocancel.s index 6e9104fb347..1887f90d92f 100644 --- a/libc/sysv/calls/read_nocancel.s +++ b/libc/sysv/calls/read_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall read_nocancel 0xfffffffff218cfff globl +.scall read_nocancel,0xfffffffff218cfff,globl diff --git a/libc/sysv/calls/readahead.s b/libc/sysv/calls/readahead.s index c925604e847..cd4130acb4a 100644 --- a/libc/sysv/calls/readahead.s +++ b/libc/sysv/calls/readahead.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall readahead 0xfffffffffffff0bb globl +.scall readahead,0xfffffffffffff0bb,globl diff --git a/libc/sysv/calls/readlink.s b/libc/sysv/calls/readlink.s index 0e9206190ce..ee8087a8a1f 100644 --- a/libc/sysv/calls/readlink.s +++ b/libc/sysv/calls/readlink.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall readlink 0x03a03a03a203a059 globl +.scall readlink,0x03a03a03a203a059,globl diff --git a/libc/sysv/calls/readv_nocancel.s b/libc/sysv/calls/readv_nocancel.s index 28e3770fece..14a270cf8f5 100644 --- a/libc/sysv/calls/readv_nocancel.s +++ b/libc/sysv/calls/readv_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall readv_nocancel 0xfffffffff219bfff globl +.scall readv_nocancel,0xfffffffff219bfff,globl diff --git a/libc/sysv/calls/reboot.s b/libc/sysv/calls/reboot.s index d2aee569f4f..775111a97f0 100644 --- a/libc/sysv/calls/reboot.s +++ b/libc/sysv/calls/reboot.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall reboot 0x0d003703720370a9 globl +.scall reboot,0x0d003703720370a9,globl diff --git a/libc/sysv/calls/recv.s b/libc/sysv/calls/recv.s index 20d658b43ed..5d163d2bdfd 100644 --- a/libc/sysv/calls/recv.s +++ b/libc/sysv/calls/recv.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall recv 0xffffff066fffffff globl +.scall recv,0xffffff066fffffff,globl diff --git a/libc/sysv/calls/recvfrom_nocancel.s b/libc/sysv/calls/recvfrom_nocancel.s index 0178bd22af5..2704ce48d2f 100644 --- a/libc/sysv/calls/recvfrom_nocancel.s +++ b/libc/sysv/calls/recvfrom_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall recvfrom_nocancel 0xfffffffff2193fff globl +.scall recvfrom_nocancel,0xfffffffff2193fff,globl diff --git a/libc/sysv/calls/recvmmsg.s b/libc/sysv/calls/recvmmsg.s index 40406bb08f9..20f877e8df5 100644 --- a/libc/sysv/calls/recvmmsg.s +++ b/libc/sysv/calls/recvmmsg.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall recvmmsg 0x1dbffffffffff12b globl +.scall recvmmsg,0x1dbffffffffff12b,globl diff --git a/libc/sysv/calls/recvmsg_nocancel.s b/libc/sysv/calls/recvmsg_nocancel.s index bb153309a67..6ff215f5db6 100644 --- a/libc/sysv/calls/recvmsg_nocancel.s +++ b/libc/sysv/calls/recvmsg_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall recvmsg_nocancel 0xfffffffff2191fff globl +.scall recvmsg_nocancel,0xfffffffff2191fff,globl diff --git a/libc/sysv/calls/recvmsg_x.s b/libc/sysv/calls/recvmsg_x.s index 627a32f45df..0e029d4bc30 100644 --- a/libc/sysv/calls/recvmsg_x.s +++ b/libc/sysv/calls/recvmsg_x.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall recvmsg_x 0xfffffffff21e0fff globl +.scall recvmsg_x,0xfffffffff21e0fff,globl diff --git a/libc/sysv/calls/removexattr.s b/libc/sysv/calls/removexattr.s index d906e0ebdcd..9d17f8704d0 100644 --- a/libc/sysv/calls/removexattr.s +++ b/libc/sysv/calls/removexattr.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall removexattr 0x180ffffff20ee0c5 globl +.scall removexattr,0x180ffffff20ee0c5,globl diff --git a/libc/sysv/calls/renameat2.s b/libc/sysv/calls/renameat2.s index 4719af84ae8..f850a55e94e 100644 --- a/libc/sysv/calls/renameat2.s +++ b/libc/sysv/calls/renameat2.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall renameat2 0xfffffffffffff13c globl +.scall renameat2,0xfffffffffffff13c,globl diff --git a/libc/sysv/calls/renameatx_np.s b/libc/sysv/calls/renameatx_np.s index aa4f1b57027..104927fc9cc 100644 --- a/libc/sysv/calls/renameatx_np.s +++ b/libc/sysv/calls/renameatx_np.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall renameatx_np 0xfffffffff21e8fff globl +.scall renameatx_np,0xfffffffff21e8fff,globl diff --git a/libc/sysv/calls/request_key.s b/libc/sysv/calls/request_key.s index abd676b0393..2de1f3e16c9 100644 --- a/libc/sysv/calls/request_key.s +++ b/libc/sysv/calls/request_key.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall request_key 0xfffffffffffff0f9 globl +.scall request_key,0xfffffffffffff0f9,globl diff --git a/libc/sysv/calls/restart_syscall.s b/libc/sysv/calls/restart_syscall.s index 1d717f580dc..57ad10e425f 100644 --- a/libc/sysv/calls/restart_syscall.s +++ b/libc/sysv/calls/restart_syscall.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall restart_syscall 0xfffffffffffff0db globl +.scall restart_syscall,0xfffffffffffff0db,globl diff --git a/libc/sysv/calls/revoke.s b/libc/sysv/calls/revoke.s index bc70cf9d1c6..3cd12123516 100644 --- a/libc/sysv/calls/revoke.s +++ b/libc/sysv/calls/revoke.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall revoke 0x0380380382038fff globl +.scall revoke,0x0380380382038fff,globl diff --git a/libc/sysv/calls/rfork.s b/libc/sysv/calls/rfork.s index fe357a9d884..422a4fff9e2 100644 --- a/libc/sysv/calls/rfork.s +++ b/libc/sysv/calls/rfork.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall rfork 0xffffff0fbfffffff globl +.scall rfork,0xffffff0fbfffffff,globl diff --git a/libc/sysv/calls/rseq.s b/libc/sysv/calls/rseq.s index 8c8260dfb40..9523b1423d1 100644 --- a/libc/sysv/calls/rseq.s +++ b/libc/sysv/calls/rseq.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall rseq 0xfffffffffffff14e globl +.scall rseq,0xfffffffffffff14e,globl diff --git a/libc/sysv/calls/rt_sigqueueinfo.s b/libc/sysv/calls/rt_sigqueueinfo.s index 20d9f1ef16d..0b821b76e20 100644 --- a/libc/sysv/calls/rt_sigqueueinfo.s +++ b/libc/sysv/calls/rt_sigqueueinfo.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall rt_sigqueueinfo 0xfffffffffffff081 globl +.scall rt_sigqueueinfo,0xfffffffffffff081,globl diff --git a/libc/sysv/calls/rt_tgsigqueueinfo.s b/libc/sysv/calls/rt_tgsigqueueinfo.s index 8f28ff74485..e27cbaf41f3 100644 --- a/libc/sysv/calls/rt_tgsigqueueinfo.s +++ b/libc/sysv/calls/rt_tgsigqueueinfo.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall rt_tgsigqueueinfo 0xfffffffffffff129 globl +.scall rt_tgsigqueueinfo,0xfffffffffffff129,globl diff --git a/libc/sysv/calls/rtprio.s b/libc/sysv/calls/rtprio.s index cb7cdbb412d..4b5b6b8a00a 100644 --- a/libc/sysv/calls/rtprio.s +++ b/libc/sysv/calls/rtprio.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall rtprio 0xffffff0a6fffffff globl +.scall rtprio,0xffffff0a6fffffff,globl diff --git a/libc/sysv/calls/rtprio_thread.s b/libc/sysv/calls/rtprio_thread.s index d4e165d990c..782fa20c72f 100644 --- a/libc/sysv/calls/rtprio_thread.s +++ b/libc/sysv/calls/rtprio_thread.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall rtprio_thread 0xffffff1d2fffffff globl +.scall rtprio_thread,0xffffff1d2fffffff,globl diff --git a/libc/sysv/calls/sched_get_priority_max.s b/libc/sysv/calls/sched_get_priority_max.s index bf3bbf8e94a..f2cd0ec29d9 100644 --- a/libc/sysv/calls/sched_get_priority_max.s +++ b/libc/sysv/calls/sched_get_priority_max.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sched_get_priority_max 0xffffff14cffff092 globl +.scall sched_get_priority_max,0xffffff14cffff092,globl diff --git a/libc/sysv/calls/sched_get_priority_min.s b/libc/sysv/calls/sched_get_priority_min.s index f84924ed3c7..d746a3cfc74 100644 --- a/libc/sysv/calls/sched_get_priority_min.s +++ b/libc/sysv/calls/sched_get_priority_min.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sched_get_priority_min 0xffffff14dffff093 globl +.scall sched_get_priority_min,0xffffff14dffff093,globl diff --git a/libc/sysv/calls/sched_getaffinity.s b/libc/sysv/calls/sched_getaffinity.s index bebd3af0e19..09b2dc8a965 100644 --- a/libc/sysv/calls/sched_getaffinity.s +++ b/libc/sysv/calls/sched_getaffinity.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sched_getaffinity 0xfffffffffffff0cc globl +.scall sched_getaffinity,0xfffffffffffff0cc,globl diff --git a/libc/sysv/calls/sched_getattr.s b/libc/sysv/calls/sched_getattr.s index d3b56f1cedc..ee3ccffc55b 100644 --- a/libc/sysv/calls/sched_getattr.s +++ b/libc/sysv/calls/sched_getattr.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sched_getattr 0xfffffffffffff13b globl +.scall sched_getattr,0xfffffffffffff13b,globl diff --git a/libc/sysv/calls/sched_getparam.s b/libc/sysv/calls/sched_getparam.s index 148fa9e83e9..48462d66ae6 100644 --- a/libc/sysv/calls/sched_getparam.s +++ b/libc/sysv/calls/sched_getparam.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sched_getparam 0xffffff148ffff08f globl +.scall sched_getparam,0xffffff148ffff08f,globl diff --git a/libc/sysv/calls/sched_getscheduler.s b/libc/sysv/calls/sched_getscheduler.s index a32542cc87f..5939a7b0316 100644 --- a/libc/sysv/calls/sched_getscheduler.s +++ b/libc/sysv/calls/sched_getscheduler.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sched_getscheduler 0xffffff14affff091 globl +.scall sched_getscheduler,0xffffff14affff091,globl diff --git a/libc/sysv/calls/sched_rr_get_interval.s b/libc/sysv/calls/sched_rr_get_interval.s index c2df366d280..f12f388b642 100644 --- a/libc/sysv/calls/sched_rr_get_interval.s +++ b/libc/sysv/calls/sched_rr_get_interval.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sched_rr_get_interval 0xffffff14effff094 globl +.scall sched_rr_get_interval,0xffffff14effff094,globl diff --git a/libc/sysv/calls/sched_setattr.s b/libc/sysv/calls/sched_setattr.s index b182293be0b..c2fbcb64956 100644 --- a/libc/sysv/calls/sched_setattr.s +++ b/libc/sysv/calls/sched_setattr.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sched_setattr 0xfffffffffffff13a globl +.scall sched_setattr,0xfffffffffffff13a,globl diff --git a/libc/sysv/calls/sched_setparam.s b/libc/sysv/calls/sched_setparam.s index 555e9ef0bfc..0b6694b5a77 100644 --- a/libc/sysv/calls/sched_setparam.s +++ b/libc/sysv/calls/sched_setparam.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sched_setparam 0xffffff147ffff08e globl +.scall sched_setparam,0xffffff147ffff08e,globl diff --git a/libc/sysv/calls/sched_setscheduler.s b/libc/sysv/calls/sched_setscheduler.s index 5d6c60fc86b..25e7a6404b5 100644 --- a/libc/sysv/calls/sched_setscheduler.s +++ b/libc/sysv/calls/sched_setscheduler.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sched_setscheduler 0xffffff149ffff090 globl +.scall sched_setscheduler,0xffffff149ffff090,globl diff --git a/libc/sysv/calls/sctp_generic_recvmsg.s b/libc/sysv/calls/sctp_generic_recvmsg.s index 33d86398d03..4a924a3ab72 100644 --- a/libc/sysv/calls/sctp_generic_recvmsg.s +++ b/libc/sysv/calls/sctp_generic_recvmsg.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sctp_generic_recvmsg 0xffffff1dafffffff globl +.scall sctp_generic_recvmsg,0xffffff1dafffffff,globl diff --git a/libc/sysv/calls/sctp_generic_sendmsg.s b/libc/sysv/calls/sctp_generic_sendmsg.s index 40c6aa27bbd..6750b9cf0b9 100644 --- a/libc/sysv/calls/sctp_generic_sendmsg.s +++ b/libc/sysv/calls/sctp_generic_sendmsg.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sctp_generic_sendmsg 0xffffff1d8fffffff globl +.scall sctp_generic_sendmsg,0xffffff1d8fffffff,globl diff --git a/libc/sysv/calls/sctp_generic_sendmsg_iov.s b/libc/sysv/calls/sctp_generic_sendmsg_iov.s index e4e544792a9..0c4b9e92a82 100644 --- a/libc/sysv/calls/sctp_generic_sendmsg_iov.s +++ b/libc/sysv/calls/sctp_generic_sendmsg_iov.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sctp_generic_sendmsg_iov 0xffffff1d9fffffff globl +.scall sctp_generic_sendmsg_iov,0xffffff1d9fffffff,globl diff --git a/libc/sysv/calls/sctp_peeloff.s b/libc/sysv/calls/sctp_peeloff.s index b4aa2e43ecb..6953705d2a2 100644 --- a/libc/sysv/calls/sctp_peeloff.s +++ b/libc/sysv/calls/sctp_peeloff.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sctp_peeloff 0xffffff1d7fffffff globl +.scall sctp_peeloff,0xffffff1d7fffffff,globl diff --git a/libc/sysv/calls/searchfs.s b/libc/sysv/calls/searchfs.s index e445fcb7872..9673b3780db 100644 --- a/libc/sysv/calls/searchfs.s +++ b/libc/sysv/calls/searchfs.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall searchfs 0xfffffffff20e1fff globl +.scall searchfs,0xfffffffff20e1fff,globl diff --git a/libc/sysv/calls/seccomp.s b/libc/sysv/calls/seccomp.s index 750247c514c..bb6be8156e5 100644 --- a/libc/sysv/calls/seccomp.s +++ b/libc/sysv/calls/seccomp.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall seccomp 0xfffffffffffff13d globl +.scall seccomp,0xfffffffffffff13d,globl diff --git a/libc/sysv/calls/select_nocancel.s b/libc/sysv/calls/select_nocancel.s index 1964ed85cad..3cdbf7b2562 100644 --- a/libc/sysv/calls/select_nocancel.s +++ b/libc/sysv/calls/select_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall select_nocancel 0xfffffffff2197fff globl +.scall select_nocancel,0xfffffffff2197fff,globl diff --git a/libc/sysv/calls/sem_close.s b/libc/sysv/calls/sem_close.s index 581b9f73a8f..c6db24721a8 100644 --- a/libc/sysv/calls/sem_close.s +++ b/libc/sysv/calls/sem_close.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sem_close 0xfffffffff210dfff globl +.scall sem_close,0xfffffffff210dfff,globl diff --git a/libc/sysv/calls/sem_open.s b/libc/sysv/calls/sem_open.s index b88f25e1cc2..4bbf031dafe 100644 --- a/libc/sysv/calls/sem_open.s +++ b/libc/sysv/calls/sem_open.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sem_open 0xfffffffff210cfff globl +.scall sem_open,0xfffffffff210cfff,globl diff --git a/libc/sysv/calls/sem_post.s b/libc/sysv/calls/sem_post.s index 449ad931fa2..17ef5976e7b 100644 --- a/libc/sysv/calls/sem_post.s +++ b/libc/sysv/calls/sem_post.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sem_post 0xfffffffff2111fff globl +.scall sem_post,0xfffffffff2111fff,globl diff --git a/libc/sysv/calls/sem_trywait.s b/libc/sysv/calls/sem_trywait.s index 4e3c20d2096..304dcef43c7 100644 --- a/libc/sysv/calls/sem_trywait.s +++ b/libc/sysv/calls/sem_trywait.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sem_trywait 0xfffffffff2110fff globl +.scall sem_trywait,0xfffffffff2110fff,globl diff --git a/libc/sysv/calls/sem_unlink.s b/libc/sysv/calls/sem_unlink.s index 15a8f223cfb..fe7e96c28f0 100644 --- a/libc/sysv/calls/sem_unlink.s +++ b/libc/sysv/calls/sem_unlink.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sem_unlink 0xfffffffff210efff globl +.scall sem_unlink,0xfffffffff210efff,globl diff --git a/libc/sysv/calls/sem_wait.s b/libc/sysv/calls/sem_wait.s index 865d57a30fd..03279608461 100644 --- a/libc/sysv/calls/sem_wait.s +++ b/libc/sysv/calls/sem_wait.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sem_wait 0xfffffffff210ffff globl +.scall sem_wait,0xfffffffff210ffff,globl diff --git a/libc/sysv/calls/sem_wait_nocancel.s b/libc/sysv/calls/sem_wait_nocancel.s index ca1507c5553..ed701b6ce90 100644 --- a/libc/sysv/calls/sem_wait_nocancel.s +++ b/libc/sysv/calls/sem_wait_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sem_wait_nocancel 0xfffffffff21a4fff globl +.scall sem_wait_nocancel,0xfffffffff21a4fff,globl diff --git a/libc/sysv/calls/semctl.s b/libc/sysv/calls/semctl.s index aac34431df2..9c2b4d45550 100644 --- a/libc/sysv/calls/semctl.s +++ b/libc/sysv/calls/semctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall semctl 0xfff1271fe20fe042 globl +.scall semctl,0xfff1271fe20fe042,globl diff --git a/libc/sysv/calls/semget.s b/libc/sysv/calls/semget.s index 746137084fa..15e6b98f8f1 100644 --- a/libc/sysv/calls/semget.s +++ b/libc/sysv/calls/semget.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall semget 0x0dd0dd0dd20ff040 globl +.scall semget,0x0dd0dd0dd20ff040,globl diff --git a/libc/sysv/calls/semop.s b/libc/sysv/calls/semop.s index 3d41833a80e..21c2ef4cf10 100644 --- a/libc/sysv/calls/semop.s +++ b/libc/sysv/calls/semop.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall semop 0x0de1220de2100041 globl +.scall semop,0x0de1220de2100041,globl diff --git a/libc/sysv/calls/semsys.s b/libc/sysv/calls/semsys.s index 3ff0a6cdf97..7ec9d7a61d2 100644 --- a/libc/sysv/calls/semsys.s +++ b/libc/sysv/calls/semsys.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall semsys 0xffffff0a920fbfff globl +.scall semsys,0xffffff0a920fbfff,globl diff --git a/libc/sysv/calls/semtimedop.s b/libc/sysv/calls/semtimedop.s index aac75006f9f..e7a3d3989f5 100644 --- a/libc/sysv/calls/semtimedop.s +++ b/libc/sysv/calls/semtimedop.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall semtimedop 0xfffffffffffff0dc globl +.scall semtimedop,0xfffffffffffff0dc,globl diff --git a/libc/sysv/calls/send.s b/libc/sysv/calls/send.s index 68ce28351cf..9af8765de3a 100644 --- a/libc/sysv/calls/send.s +++ b/libc/sysv/calls/send.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall send 0xffffff065fffffff globl +.scall send,0xffffff065fffffff,globl diff --git a/libc/sysv/calls/sendmmsg.s b/libc/sysv/calls/sendmmsg.s index d9763549a11..8996506aa63 100644 --- a/libc/sysv/calls/sendmmsg.s +++ b/libc/sysv/calls/sendmmsg.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sendmmsg 0x1dcffffffffff133 globl +.scall sendmmsg,0x1dcffffffffff133,globl diff --git a/libc/sysv/calls/sendmsg_nocancel.s b/libc/sysv/calls/sendmsg_nocancel.s index 6f9ff0e1221..ded04b47ed9 100644 --- a/libc/sysv/calls/sendmsg_nocancel.s +++ b/libc/sysv/calls/sendmsg_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sendmsg_nocancel 0xfffffffff2192fff globl +.scall sendmsg_nocancel,0xfffffffff2192fff,globl diff --git a/libc/sysv/calls/sendmsg_x.s b/libc/sysv/calls/sendmsg_x.s index de45198460e..20bd750a908 100644 --- a/libc/sysv/calls/sendmsg_x.s +++ b/libc/sysv/calls/sendmsg_x.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sendmsg_x 0xfffffffff21e1fff globl +.scall sendmsg_x,0xfffffffff21e1fff,globl diff --git a/libc/sysv/calls/sendsyslog.s b/libc/sysv/calls/sendsyslog.s index 7d093c30a6a..ea799ced51e 100644 --- a/libc/sysv/calls/sendsyslog.s +++ b/libc/sysv/calls/sendsyslog.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sendsyslog 0xfff070ffffffffff globl +.scall sendsyslog,0xfff070ffffffffff,globl diff --git a/libc/sysv/calls/sendto_nocancel.s b/libc/sysv/calls/sendto_nocancel.s index cfae4ae34b5..31d7f23fcfa 100644 --- a/libc/sysv/calls/sendto_nocancel.s +++ b/libc/sysv/calls/sendto_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sendto_nocancel 0xfffffffff219dfff globl +.scall sendto_nocancel,0xfffffffff219dfff,globl diff --git a/libc/sysv/calls/set_mempolicy.s b/libc/sysv/calls/set_mempolicy.s index 38aa75570b0..9f2aa39e552 100644 --- a/libc/sysv/calls/set_mempolicy.s +++ b/libc/sysv/calls/set_mempolicy.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall set_mempolicy 0xfffffffffffff0ee globl +.scall set_mempolicy,0xfffffffffffff0ee,globl diff --git a/libc/sysv/calls/set_robust_list.s b/libc/sysv/calls/set_robust_list.s index bb0cfbe3e22..e7d3b36a2aa 100644 --- a/libc/sysv/calls/set_robust_list.s +++ b/libc/sysv/calls/set_robust_list.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall set_robust_list 0xfffffffffffff111 globl +.scall set_robust_list,0xfffffffffffff111,globl diff --git a/libc/sysv/calls/set_tid_address.s b/libc/sysv/calls/set_tid_address.s index 2d705b9ea82..07ad1e31e32 100644 --- a/libc/sysv/calls/set_tid_address.s +++ b/libc/sysv/calls/set_tid_address.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall set_tid_address 0xfffffffffffff0da globl +.scall set_tid_address,0xfffffffffffff0da,globl diff --git a/libc/sysv/calls/setattrlist.s b/libc/sysv/calls/setattrlist.s index 11e4cec82fc..076a2bcdfcb 100644 --- a/libc/sysv/calls/setattrlist.s +++ b/libc/sysv/calls/setattrlist.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setattrlist 0xfffffffff20ddfff globl +.scall setattrlist,0xfffffffff20ddfff,globl diff --git a/libc/sysv/calls/setattrlistat.s b/libc/sysv/calls/setattrlistat.s index f55f23a98bb..33f7e4486c3 100644 --- a/libc/sysv/calls/setattrlistat.s +++ b/libc/sysv/calls/setattrlistat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setattrlistat 0xfffffffff220cfff globl +.scall setattrlistat,0xfffffffff220cfff,globl diff --git a/libc/sysv/calls/setaudit.s b/libc/sysv/calls/setaudit.s index ecdb3f86c85..f8355e7f5ca 100644 --- a/libc/sysv/calls/setaudit.s +++ b/libc/sysv/calls/setaudit.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setaudit 0xffffff1c2fffffff globl +.scall setaudit,0xffffff1c2fffffff,globl diff --git a/libc/sysv/calls/setaudit_addr.s b/libc/sysv/calls/setaudit_addr.s index 76636a896c7..f363f21f119 100644 --- a/libc/sysv/calls/setaudit_addr.s +++ b/libc/sysv/calls/setaudit_addr.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setaudit_addr 0xffffff1c42166fff globl +.scall setaudit_addr,0xffffff1c42166fff,globl diff --git a/libc/sysv/calls/setauid.s b/libc/sysv/calls/setauid.s index b857e3154b1..b7a70084857 100644 --- a/libc/sysv/calls/setauid.s +++ b/libc/sysv/calls/setauid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setauid 0xffffff1c02162fff globl +.scall setauid,0xffffff1c02162fff,globl diff --git a/libc/sysv/calls/setcontext.s b/libc/sysv/calls/setcontext.s index 460d26b463f..909b63a7f63 100644 --- a/libc/sysv/calls/setcontext.s +++ b/libc/sysv/calls/setcontext.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setcontext 0x134fff1a6fffffff globl +.scall setcontext,0x134fff1a6fffffff,globl diff --git a/libc/sysv/calls/setdomainname.s b/libc/sysv/calls/setdomainname.s index 7c04d6d141e..b92a75f6651 100644 --- a/libc/sysv/calls/setdomainname.s +++ b/libc/sysv/calls/setdomainname.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setdomainname 0xffffff0a3ffff0ab globl +.scall setdomainname,0xffffff0a3ffff0ab,globl diff --git a/libc/sysv/calls/setfib.s b/libc/sysv/calls/setfib.s index 449bd59d512..2fdbb3a7bdf 100644 --- a/libc/sysv/calls/setfib.s +++ b/libc/sysv/calls/setfib.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setfib 0xffffff0affffffff globl +.scall setfib,0xffffff0affffffff,globl diff --git a/libc/sysv/calls/setfsgid.s b/libc/sysv/calls/setfsgid.s index e442f5b3204..e6fc416968f 100644 --- a/libc/sysv/calls/setfsgid.s +++ b/libc/sysv/calls/setfsgid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setfsgid 0xfffffffffffff07b globl +.scall setfsgid,0xfffffffffffff07b,globl diff --git a/libc/sysv/calls/setfsuid.s b/libc/sysv/calls/setfsuid.s index 13ccbc86769..03c50e30455 100644 --- a/libc/sysv/calls/setfsuid.s +++ b/libc/sysv/calls/setfsuid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setfsuid 0xfffffffffffff07a globl +.scall setfsuid,0xfffffffffffff07a,globl diff --git a/libc/sysv/calls/setgid.s b/libc/sysv/calls/setgid.s index 9ba366f630b..df63895fec2 100644 --- a/libc/sysv/calls/setgid.s +++ b/libc/sysv/calls/setgid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setgid 0x0b50b50b520b506a globl +.scall setgid,0x0b50b50b520b506a,globl diff --git a/libc/sysv/calls/setgroups.s b/libc/sysv/calls/setgroups.s index 2cc2b8c0292..7e0ee1dedc0 100644 --- a/libc/sysv/calls/setgroups.s +++ b/libc/sysv/calls/setgroups.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setgroups 0x0500500502050074 globl +.scall setgroups,0x0500500502050074,globl diff --git a/libc/sysv/calls/sethostid.s b/libc/sysv/calls/sethostid.s index 7ec1fb2facf..5bf1ff1ca0f 100644 --- a/libc/sysv/calls/sethostid.s +++ b/libc/sysv/calls/sethostid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sethostid 0xffffff08ffffffff globl +.scall sethostid,0xffffff08ffffffff,globl diff --git a/libc/sysv/calls/sethostname.s b/libc/sysv/calls/sethostname.s index a0bd98c9757..9a7674ede47 100644 --- a/libc/sysv/calls/sethostname.s +++ b/libc/sysv/calls/sethostname.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sethostname 0xffffff058ffff0aa globl +.scall sethostname,0xffffff058ffff0aa,globl diff --git a/libc/sysv/calls/setlogin.s b/libc/sysv/calls/setlogin.s index 24da97e99f5..06d41d16e1d 100644 --- a/libc/sysv/calls/setlogin.s +++ b/libc/sysv/calls/setlogin.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setlogin 0xfff0320322032fff globl +.scall setlogin,0xfff0320322032fff,globl diff --git a/libc/sysv/calls/setloginclass.s b/libc/sysv/calls/setloginclass.s index 5a96f215d45..12d8e34f1b3 100644 --- a/libc/sysv/calls/setloginclass.s +++ b/libc/sysv/calls/setloginclass.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setloginclass 0xffffff20cfffffff globl +.scall setloginclass,0xffffff20cfffffff,globl diff --git a/libc/sysv/calls/setns.s b/libc/sysv/calls/setns.s index 08cf68adbbc..2ce9a05f44b 100644 --- a/libc/sysv/calls/setns.s +++ b/libc/sysv/calls/setns.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setns 0xfffffffffffff134 globl +.scall setns,0xfffffffffffff134,globl diff --git a/libc/sysv/calls/setpgid.s b/libc/sysv/calls/setpgid.s index aadc0e12260..065e3d7ab04 100644 --- a/libc/sysv/calls/setpgid.s +++ b/libc/sysv/calls/setpgid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setpgid 0x052052052205206d globl +.scall setpgid,0x052052052205206d,globl diff --git a/libc/sysv/calls/setprivexec.s b/libc/sysv/calls/setprivexec.s index 8ef0b17de7f..5c5031488db 100644 --- a/libc/sysv/calls/setprivexec.s +++ b/libc/sysv/calls/setprivexec.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setprivexec 0xfffffffff2098fff globl +.scall setprivexec,0xfffffffff2098fff,globl diff --git a/libc/sysv/calls/setregid.s b/libc/sysv/calls/setregid.s index 9441a6d5803..7daa7a16a4a 100644 --- a/libc/sysv/calls/setregid.s +++ b/libc/sysv/calls/setregid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setregid 0x07f07f07f207f072 globl +.scall setregid,0x07f07f07f207f072,globl diff --git a/libc/sysv/calls/setreuid.s b/libc/sysv/calls/setreuid.s index 345f768c424..e0b88ab3203 100644 --- a/libc/sysv/calls/setreuid.s +++ b/libc/sysv/calls/setreuid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setreuid 0x07e07e07e207e071 globl +.scall setreuid,0x07e07e07e207e071,globl diff --git a/libc/sysv/calls/setrtable.s b/libc/sysv/calls/setrtable.s index 6aef1c90932..b4aafd13850 100644 --- a/libc/sysv/calls/setrtable.s +++ b/libc/sysv/calls/setrtable.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setrtable 0xfff136ffffffffff globl +.scall setrtable,0xfff136ffffffffff,globl diff --git a/libc/sysv/calls/setsgroups.s b/libc/sysv/calls/setsgroups.s index 7ecdce4ccca..22e03499b51 100644 --- a/libc/sysv/calls/setsgroups.s +++ b/libc/sysv/calls/setsgroups.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setsgroups 0xfffffffff211ffff globl +.scall setsgroups,0xfffffffff211ffff,globl diff --git a/libc/sysv/calls/settid.s b/libc/sysv/calls/settid.s index 82ace3a4d59..e6114c031ac 100644 --- a/libc/sysv/calls/settid.s +++ b/libc/sysv/calls/settid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall settid 0xfffffffff211dfff globl +.scall settid,0xfffffffff211dfff,globl diff --git a/libc/sysv/calls/settid_with_pid.s b/libc/sysv/calls/settid_with_pid.s index 9910edab83f..12857083d98 100644 --- a/libc/sysv/calls/settid_with_pid.s +++ b/libc/sysv/calls/settid_with_pid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall settid_with_pid 0xfffffffff2137fff globl +.scall settid_with_pid,0xfffffffff2137fff,globl diff --git a/libc/sysv/calls/settimeofday.s b/libc/sysv/calls/settimeofday.s index ce7934784f3..eb8a1d7995b 100644 --- a/libc/sysv/calls/settimeofday.s +++ b/libc/sysv/calls/settimeofday.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall settimeofday 0x1a304407a207a0a4 globl +.scall settimeofday,0x1a304407a207a0a4,globl diff --git a/libc/sysv/calls/setuid.s b/libc/sysv/calls/setuid.s index e68dc478649..7e25e3fb5c2 100644 --- a/libc/sysv/calls/setuid.s +++ b/libc/sysv/calls/setuid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setuid 0x0170170172017069 globl +.scall setuid,0x0170170172017069,globl diff --git a/libc/sysv/calls/setwgroups.s b/libc/sysv/calls/setwgroups.s index b6131d6018c..756e1edb42c 100644 --- a/libc/sysv/calls/setwgroups.s +++ b/libc/sysv/calls/setwgroups.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setwgroups 0xfffffffff2121fff globl +.scall setwgroups,0xfffffffff2121fff,globl diff --git a/libc/sysv/calls/setxattr.s b/libc/sysv/calls/setxattr.s index e8f87a40d8f..d894f22aac9 100644 --- a/libc/sysv/calls/setxattr.s +++ b/libc/sysv/calls/setxattr.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall setxattr 0x177ffffff20ec0bc globl +.scall setxattr,0x177ffffff20ec0bc,globl diff --git a/libc/sysv/calls/sfi_ctl.s b/libc/sysv/calls/sfi_ctl.s index ca5aeae8c5f..ec08bd699e6 100644 --- a/libc/sysv/calls/sfi_ctl.s +++ b/libc/sysv/calls/sfi_ctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sfi_ctl 0xfffffffff21c8fff globl +.scall sfi_ctl,0xfffffffff21c8fff,globl diff --git a/libc/sysv/calls/sfi_pidctl.s b/libc/sysv/calls/sfi_pidctl.s index db2e5af7919..75f49b7ef95 100644 --- a/libc/sysv/calls/sfi_pidctl.s +++ b/libc/sysv/calls/sfi_pidctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sfi_pidctl 0xfffffffff21c9fff globl +.scall sfi_pidctl,0xfffffffff21c9fff,globl diff --git a/libc/sysv/calls/shared_region_check_np.s b/libc/sysv/calls/shared_region_check_np.s index 4ee6c468ebb..078bd0504b8 100644 --- a/libc/sysv/calls/shared_region_check_np.s +++ b/libc/sysv/calls/shared_region_check_np.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall shared_region_check_np 0xfffffffff2126fff globl +.scall shared_region_check_np,0xfffffffff2126fff,globl diff --git a/libc/sysv/calls/shared_region_map_and_slide_np.s b/libc/sysv/calls/shared_region_map_and_slide_np.s index 0f5017f7d91..5dead018bcd 100644 --- a/libc/sysv/calls/shared_region_map_and_slide_np.s +++ b/libc/sysv/calls/shared_region_map_and_slide_np.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall shared_region_map_and_slide_np 0xfffffffff21b6fff globl +.scall shared_region_map_and_slide_np,0xfffffffff21b6fff,globl diff --git a/libc/sysv/calls/shm_open.s b/libc/sysv/calls/shm_open.s index 18533f38ab2..9c32f040225 100644 --- a/libc/sysv/calls/shm_open.s +++ b/libc/sysv/calls/shm_open.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall shm_open 0xffffff1e2210afff globl +.scall shm_open,0xffffff1e2210afff,globl diff --git a/libc/sysv/calls/shm_unlink.s b/libc/sysv/calls/shm_unlink.s index d7fd4de7bff..39796ad7d71 100644 --- a/libc/sysv/calls/shm_unlink.s +++ b/libc/sysv/calls/shm_unlink.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall shm_unlink 0xffffff1e3210bfff globl +.scall shm_unlink,0xffffff1e3210bfff,globl diff --git a/libc/sysv/calls/shmat.s b/libc/sysv/calls/shmat.s index 0692a9116ae..71c6df10d8f 100644 --- a/libc/sysv/calls/shmat.s +++ b/libc/sysv/calls/shmat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall shmat 0x0e40e40e4210601e globl +.scall shmat,0x0e40e40e4210601e,globl diff --git a/libc/sysv/calls/shmctl.s b/libc/sysv/calls/shmctl.s index a123f5cc30d..18186d39515 100644 --- a/libc/sysv/calls/shmctl.s +++ b/libc/sysv/calls/shmctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall shmctl 0x1bb128200210701f globl +.scall shmctl,0x1bb128200210701f,globl diff --git a/libc/sysv/calls/shmdt.s b/libc/sysv/calls/shmdt.s index 5088dc3784c..8607bf2a18b 100644 --- a/libc/sysv/calls/shmdt.s +++ b/libc/sysv/calls/shmdt.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall shmdt 0x0e60e60e62108043 globl +.scall shmdt,0x0e60e60e62108043,globl diff --git a/libc/sysv/calls/shmget.s b/libc/sysv/calls/shmget.s index bac184d87e2..bb61df2469b 100644 --- a/libc/sysv/calls/shmget.s +++ b/libc/sysv/calls/shmget.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall shmget 0x0e71210e7210901d globl +.scall shmget,0x0e71210e7210901d,globl diff --git a/libc/sysv/calls/shmsys.s b/libc/sysv/calls/shmsys.s index 99706440495..066293695c1 100644 --- a/libc/sysv/calls/shmsys.s +++ b/libc/sysv/calls/shmsys.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall shmsys 0xffffff0ab20fdfff globl +.scall shmsys,0xffffff0ab20fdfff,globl diff --git a/libc/sysv/calls/sigaltstack.s b/libc/sysv/calls/sigaltstack.s index 55a571197c1..2d0c4af52ef 100644 --- a/libc/sysv/calls/sigaltstack.s +++ b/libc/sysv/calls/sigaltstack.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sigaltstack 0x1191200352035083 globl +.scall sigaltstack,0x1191200352035083,globl diff --git a/libc/sysv/calls/sigblock.s b/libc/sysv/calls/sigblock.s index 11a72ea813e..e29daf7e60b 100644 --- a/libc/sysv/calls/sigblock.s +++ b/libc/sysv/calls/sigblock.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sigblock 0xffffff06dfffffff globl +.scall sigblock,0xffffff06dfffffff,globl diff --git a/libc/sysv/calls/signalfd.s b/libc/sysv/calls/signalfd.s index accce48499c..5f7904e7e41 100644 --- a/libc/sysv/calls/signalfd.s +++ b/libc/sysv/calls/signalfd.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall signalfd 0xfffffffffffff11a globl +.scall signalfd,0xfffffffffffff11a,globl diff --git a/libc/sysv/calls/signalfd4.s b/libc/sysv/calls/signalfd4.s index 5408019cf31..c8dbfe50624 100644 --- a/libc/sysv/calls/signalfd4.s +++ b/libc/sysv/calls/signalfd4.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall signalfd4 0xfffffffffffff121 globl +.scall signalfd4,0xfffffffffffff121,globl diff --git a/libc/sysv/calls/sigpending.s b/libc/sysv/calls/sigpending.s index 77c5e32efaa..e2f9ee248b6 100644 --- a/libc/sysv/calls/sigpending.s +++ b/libc/sysv/calls/sigpending.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sigpending 0x124034034203407f globl +.scall sigpending,0x124034034203407f,globl diff --git a/libc/sysv/calls/sigqueue.s b/libc/sysv/calls/sigqueue.s index ecb9104f30a..7f813ba9e44 100644 --- a/libc/sysv/calls/sigqueue.s +++ b/libc/sysv/calls/sigqueue.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sigqueue 0xffffff1c8fffffff globl +.scall sigqueue,0xffffff1c8fffffff,globl diff --git a/libc/sysv/calls/sigsetmask.s b/libc/sysv/calls/sigsetmask.s index 0bbc4a6a375..54abc0b1090 100644 --- a/libc/sysv/calls/sigsetmask.s +++ b/libc/sysv/calls/sigsetmask.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sigsetmask 0xffffff06efffffff globl +.scall sigsetmask,0xffffff06efffffff,globl diff --git a/libc/sysv/calls/sigstack.s b/libc/sysv/calls/sigstack.s index e9d35e7f29a..392b21b4685 100644 --- a/libc/sysv/calls/sigstack.s +++ b/libc/sysv/calls/sigstack.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sigstack 0xffffff070fffffff globl +.scall sigstack,0xffffff070fffffff,globl diff --git a/libc/sysv/calls/sigsuspend_nocancel.s b/libc/sysv/calls/sigsuspend_nocancel.s index 345925f967d..9f3f1621753 100644 --- a/libc/sysv/calls/sigsuspend_nocancel.s +++ b/libc/sysv/calls/sigsuspend_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sigsuspend_nocancel 0xfffffffff219afff globl +.scall sigsuspend_nocancel,0xfffffffff219afff,globl diff --git a/libc/sysv/calls/sigtimedwait.s b/libc/sysv/calls/sigtimedwait.s index 960f8e9a14c..d8ffb274806 100644 --- a/libc/sysv/calls/sigtimedwait.s +++ b/libc/sysv/calls/sigtimedwait.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sigtimedwait 0xffffff159ffff080 globl +.scall sigtimedwait,0xffffff159ffff080,globl diff --git a/libc/sysv/calls/sigvec.s b/libc/sysv/calls/sigvec.s index 2e7fcb3f504..f89b913c941 100644 --- a/libc/sysv/calls/sigvec.s +++ b/libc/sysv/calls/sigvec.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sigvec 0xffffff06cfffffff globl +.scall sigvec,0xffffff06cfffffff,globl diff --git a/libc/sysv/calls/sigwait.s b/libc/sysv/calls/sigwait.s index 953ffdb0d9b..4a012441738 100644 --- a/libc/sysv/calls/sigwait.s +++ b/libc/sysv/calls/sigwait.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sigwait 0xffffff1ad214afff globl +.scall sigwait,0xffffff1ad214afff,globl diff --git a/libc/sysv/calls/sigwaitinfo.s b/libc/sysv/calls/sigwaitinfo.s index 72b6e97883f..be028b6081d 100644 --- a/libc/sysv/calls/sigwaitinfo.s +++ b/libc/sysv/calls/sigwaitinfo.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sigwaitinfo 0xffffff15afffffff globl +.scall sigwaitinfo,0xffffff15afffffff,globl diff --git a/libc/sysv/calls/socket_delegate.s b/libc/sysv/calls/socket_delegate.s index d86ee824013..aaa2e59ec51 100644 --- a/libc/sysv/calls/socket_delegate.s +++ b/libc/sysv/calls/socket_delegate.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall socket_delegate 0xfffffffff21c2fff globl +.scall socket_delegate,0xfffffffff21c2fff,globl diff --git a/libc/sysv/calls/sstk.s b/libc/sysv/calls/sstk.s index 6e438bf4450..adf0ff6fb9e 100644 --- a/libc/sysv/calls/sstk.s +++ b/libc/sysv/calls/sstk.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sstk 0xffffff046fffffff globl +.scall sstk,0xffffff046fffffff,globl diff --git a/libc/sysv/calls/stack_snapshot_with_config.s b/libc/sysv/calls/stack_snapshot_with_config.s index ae417d5c290..a302c17d731 100644 --- a/libc/sysv/calls/stack_snapshot_with_config.s +++ b/libc/sysv/calls/stack_snapshot_with_config.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall stack_snapshot_with_config 0xfffffffff21ebfff globl +.scall stack_snapshot_with_config,0xfffffffff21ebfff,globl diff --git a/libc/sysv/calls/stat_extended.s b/libc/sysv/calls/stat_extended.s index f5e61eecad5..00745f3c897 100644 --- a/libc/sysv/calls/stat_extended.s +++ b/libc/sysv/calls/stat_extended.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall stat_extended 0xfffffffff2155fff globl +.scall stat_extended,0xfffffffff2155fff,globl diff --git a/libc/sysv/calls/statfs.s b/libc/sysv/calls/statfs.s index afe31631fd1..b1cbe1cda60 100644 --- a/libc/sysv/calls/statfs.s +++ b/libc/sysv/calls/statfs.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall statfs 0xfff03f22b2159089 globl +.scall statfs,0xfff03f22b2159089,globl diff --git a/libc/sysv/calls/statx.s b/libc/sysv/calls/statx.s index 2f01646a257..23e0fc290ce 100644 --- a/libc/sysv/calls/statx.s +++ b/libc/sysv/calls/statx.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall statx 0xfffffffffffff14c globl +.scall statx,0xfffffffffffff14c,globl diff --git a/libc/sysv/calls/swapcontext.s b/libc/sysv/calls/swapcontext.s index 8ceccdccc8e..93c67beeb1e 100644 --- a/libc/sysv/calls/swapcontext.s +++ b/libc/sysv/calls/swapcontext.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall swapcontext 0xffffff1a7fffffff globl +.scall swapcontext,0xffffff1a7fffffff,globl diff --git a/libc/sysv/calls/swapctl.s b/libc/sysv/calls/swapctl.s index 0fc7483de6d..2ccb2ecaecb 100644 --- a/libc/sysv/calls/swapctl.s +++ b/libc/sysv/calls/swapctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall swapctl 0x10f0c1ffffffffff globl +.scall swapctl,0x10f0c1ffffffffff,globl diff --git a/libc/sysv/calls/swapoff.s b/libc/sysv/calls/swapoff.s index 7b0e2e944a6..799b79fc3cd 100644 --- a/libc/sysv/calls/swapoff.s +++ b/libc/sysv/calls/swapoff.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall swapoff 0xffffff1a8ffff0a8 globl +.scall swapoff,0xffffff1a8ffff0a8,globl diff --git a/libc/sysv/calls/swapon.s b/libc/sysv/calls/swapon.s index df68abf6cc1..bb006a1d232 100644 --- a/libc/sysv/calls/swapon.s +++ b/libc/sysv/calls/swapon.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall swapon 0xffffff05520550a7 globl +.scall swapon,0xffffff05520550a7,globl diff --git a/libc/sysv/calls/syncfs.s b/libc/sysv/calls/syncfs.s index 2d54df8cb35..4814a05aae9 100644 --- a/libc/sysv/calls/syncfs.s +++ b/libc/sysv/calls/syncfs.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall syncfs 0xfffffffffffff132 globl +.scall syncfs,0xfffffffffffff132,globl diff --git a/libc/sysv/calls/sys_access.s b/libc/sysv/calls/sys_access.s index aa7fca2dab0..33bfa1166e8 100644 --- a/libc/sysv/calls/sys_access.s +++ b/libc/sysv/calls/sys_access.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_access 0x0210210212021015 globl hidden +.scall sys_access,0x0210210212021015,globl,hidden diff --git a/libc/sysv/calls/sys_alarm.s b/libc/sysv/calls/sys_alarm.s index ce9219ef360..f1d8e1ab7e2 100644 --- a/libc/sysv/calls/sys_alarm.s +++ b/libc/sysv/calls/sys_alarm.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_alarm 0xfffffffffffff025 globl hidden +.scall sys_alarm,0xfffffffffffff025,globl,hidden diff --git a/libc/sysv/calls/sys_arch_prctl.s b/libc/sysv/calls/sys_arch_prctl.s index 36804cc28d3..555afcaa7b4 100644 --- a/libc/sysv/calls/sys_arch_prctl.s +++ b/libc/sysv/calls/sys_arch_prctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_arch_prctl 0xfff0a50a5ffff09e globl hidden +.scall sys_arch_prctl,0xfff0a50a5ffff09e,globl,hidden diff --git a/libc/sysv/calls/sys_bind.s b/libc/sysv/calls/sys_bind.s index 9cdf85e4acf..7efd512dd15 100644 --- a/libc/sysv/calls/sys_bind.s +++ b/libc/sysv/calls/sys_bind.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_bind 0x0680680682068031 globl hidden +.scall sys_bind,0x0680680682068031,globl,hidden diff --git a/libc/sysv/calls/sys_chdir.s b/libc/sysv/calls/sys_chdir.s index 55e2f4f5fa6..6de6c74ce40 100644 --- a/libc/sysv/calls/sys_chdir.s +++ b/libc/sysv/calls/sys_chdir.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_chdir 0x00c00c00c200c050 globl hidden +.scall sys_chdir,0x00c00c00c200c050,globl,hidden diff --git a/libc/sysv/calls/sys_chmod.s b/libc/sysv/calls/sys_chmod.s index 7ebe0c5a96c..313fdbfae87 100644 --- a/libc/sysv/calls/sys_chmod.s +++ b/libc/sysv/calls/sys_chmod.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_chmod 0x00f00f00f200f05a globl hidden +.scall sys_chmod,0x00f00f00f200f05a,globl,hidden diff --git a/libc/sysv/calls/sys_chown.s b/libc/sysv/calls/sys_chown.s index 533de8e3161..c8021b75021 100644 --- a/libc/sysv/calls/sys_chown.s +++ b/libc/sysv/calls/sys_chown.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_chown 0x010010010201005c globl hidden +.scall sys_chown,0x010010010201005c,globl,hidden diff --git a/libc/sysv/calls/sys_clock_gettime.s b/libc/sysv/calls/sys_clock_gettime.s index 2203bf41af6..e4c68f46d7b 100644 --- a/libc/sysv/calls/sys_clock_gettime.s +++ b/libc/sysv/calls/sys_clock_gettime.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_clock_gettime 0x1ab0570e8ffff0e4 globl hidden +.scall sys_clock_gettime,0x1ab0570e8ffff0e4,globl,hidden diff --git a/libc/sysv/calls/sys_close.s b/libc/sysv/calls/sys_close.s index 88eb697d76c..3dfb31bf343 100644 --- a/libc/sysv/calls/sys_close.s +++ b/libc/sysv/calls/sys_close.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_close 0x0060060062006003 globl hidden +.scall sys_close,0x0060060062006003,globl,hidden diff --git a/libc/sysv/calls/sys_copy_file_range.s b/libc/sysv/calls/sys_copy_file_range.s index b9f22a9d454..a7bef39c297 100644 --- a/libc/sysv/calls/sys_copy_file_range.s +++ b/libc/sysv/calls/sys_copy_file_range.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_copy_file_range 0xffffff239ffff146 globl hidden +.scall sys_copy_file_range,0xffffff239ffff146,globl,hidden diff --git a/libc/sysv/calls/sys_creat.s b/libc/sysv/calls/sys_creat.s index a903f73fb81..98cc9a51bda 100644 --- a/libc/sysv/calls/sys_creat.s +++ b/libc/sysv/calls/sys_creat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_creat 0xffffff008ffff055 globl hidden +.scall sys_creat,0xffffff008ffff055,globl,hidden diff --git a/libc/sysv/calls/sys_dup.s b/libc/sysv/calls/sys_dup.s index a8f60a13426..aab213f4d49 100644 --- a/libc/sysv/calls/sys_dup.s +++ b/libc/sysv/calls/sys_dup.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_dup 0x0290290292029020 globl hidden +.scall sys_dup,0x0290290292029020,globl,hidden diff --git a/libc/sysv/calls/sys_dup2.s b/libc/sysv/calls/sys_dup2.s index 75ef0d0f22e..07ece5c18b5 100644 --- a/libc/sysv/calls/sys_dup2.s +++ b/libc/sysv/calls/sys_dup2.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_dup2 0x05a05a05a205a021 globl hidden +.scall sys_dup2,0x05a05a05a205a021,globl,hidden diff --git a/libc/sysv/calls/sys_epoll_create.s b/libc/sysv/calls/sys_epoll_create.s index c842fb561bb..1c2455e1844 100644 --- a/libc/sysv/calls/sys_epoll_create.s +++ b/libc/sysv/calls/sys_epoll_create.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_epoll_create 0xfffffffffffff0d5 globl +.scall sys_epoll_create,0xfffffffffffff0d5,globl diff --git a/libc/sysv/calls/sys_epoll_create1.s b/libc/sysv/calls/sys_epoll_create1.s index b18b464df33..ff749f988bc 100644 --- a/libc/sysv/calls/sys_epoll_create1.s +++ b/libc/sysv/calls/sys_epoll_create1.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_epoll_create1 0xfffffffffffff123 globl +.scall sys_epoll_create1,0xfffffffffffff123,globl diff --git a/libc/sysv/calls/sys_epoll_ctl.s b/libc/sysv/calls/sys_epoll_ctl.s index 66c4e207d11..f6de57e4a3d 100644 --- a/libc/sysv/calls/sys_epoll_ctl.s +++ b/libc/sysv/calls/sys_epoll_ctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_epoll_ctl 0xfffffffffffff0e9 globl +.scall sys_epoll_ctl,0xfffffffffffff0e9,globl diff --git a/libc/sysv/calls/sys_epoll_wait.s b/libc/sysv/calls/sys_epoll_wait.s index fe0f66479f5..2c97356a3fa 100644 --- a/libc/sysv/calls/sys_epoll_wait.s +++ b/libc/sysv/calls/sys_epoll_wait.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_epoll_wait 0xfffffffffffff0e8 globl +.scall sys_epoll_wait,0xfffffffffffff0e8,globl diff --git a/libc/sysv/calls/sys_exit.s b/libc/sysv/calls/sys_exit.s index dcddfdfc2dd..46e677e2839 100644 --- a/libc/sysv/calls/sys_exit.s +++ b/libc/sysv/calls/sys_exit.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_exit 0x00100100120010e7 globl hidden +.scall sys_exit,0x00100100120010e7,globl,hidden diff --git a/libc/sysv/calls/sys_faccessat.s b/libc/sysv/calls/sys_faccessat.s index 995d27a9517..b9d6c026187 100644 --- a/libc/sysv/calls/sys_faccessat.s +++ b/libc/sysv/calls/sys_faccessat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_faccessat 0x1ce1391e921d210d globl hidden +.scall sys_faccessat,0x1ce1391e921d210d,globl,hidden diff --git a/libc/sysv/calls/sys_fadvise.s b/libc/sysv/calls/sys_fadvise.s index 663f02968f3..4e6b9effdcf 100644 --- a/libc/sysv/calls/sys_fadvise.s +++ b/libc/sysv/calls/sys_fadvise.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_fadvise 0xffffff213ffff0dd globl hidden +.scall sys_fadvise,0xffffff213ffff0dd,globl,hidden diff --git a/libc/sysv/calls/sys_fallocate.s b/libc/sysv/calls/sys_fallocate.s deleted file mode 100644 index 7cd0654b6ef..00000000000 --- a/libc/sysv/calls/sys_fallocate.s +++ /dev/null @@ -1,2 +0,0 @@ -.include "o/libc/sysv/macros.internal.inc" -.scall sys_fallocate 0xfffffffffffff11d globl hidden diff --git a/libc/sysv/calls/sys_fchdir.s b/libc/sysv/calls/sys_fchdir.s index 0a50cb50010..009e03c8940 100644 --- a/libc/sysv/calls/sys_fchdir.s +++ b/libc/sysv/calls/sys_fchdir.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_fchdir 0x00d00d00d200d051 globl hidden +.scall sys_fchdir,0x00d00d00d200d051,globl,hidden diff --git a/libc/sysv/calls/sys_fchmod.s b/libc/sysv/calls/sys_fchmod.s index 370a2588aaa..43bd9541398 100644 --- a/libc/sysv/calls/sys_fchmod.s +++ b/libc/sysv/calls/sys_fchmod.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_fchmod 0x07c07c07c207c05b globl hidden +.scall sys_fchmod,0x07c07c07c207c05b,globl,hidden diff --git a/libc/sysv/calls/sys_fchmodat.s b/libc/sysv/calls/sys_fchmodat.s index 69e1005fe9c..bcbfae16502 100644 --- a/libc/sysv/calls/sys_fchmodat.s +++ b/libc/sysv/calls/sys_fchmodat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_fchmodat 0x1cf13a1ea21d310c globl hidden +.scall sys_fchmodat,0x1cf13a1ea21d310c,globl,hidden diff --git a/libc/sysv/calls/sys_fchown.s b/libc/sysv/calls/sys_fchown.s index 032d7e26b85..34edc268427 100644 --- a/libc/sysv/calls/sys_fchown.s +++ b/libc/sysv/calls/sys_fchown.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_fchown 0x07b07b07b207b05d globl hidden +.scall sys_fchown,0x07b07b07b207b05d,globl,hidden diff --git a/libc/sysv/calls/sys_fchownat.s b/libc/sysv/calls/sys_fchownat.s index 05cd7648eed..c13f575d4e1 100644 --- a/libc/sysv/calls/sys_fchownat.s +++ b/libc/sysv/calls/sys_fchownat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_fchownat 0x1d013b1eb21d4104 globl hidden +.scall sys_fchownat,0x1d013b1eb21d4104,globl,hidden diff --git a/libc/sysv/calls/sys_fcntl.s b/libc/sysv/calls/sys_fcntl.s index 84b7b446e25..a33374cd16c 100644 --- a/libc/sysv/calls/sys_fcntl.s +++ b/libc/sysv/calls/sys_fcntl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_fcntl 0x05c05c05c205c048 globl hidden +.scall sys_fcntl,0x05c05c05c205c048,globl,hidden diff --git a/libc/sysv/calls/sys_fdatasync.s b/libc/sysv/calls/sys_fdatasync.s index d669052dadf..d050c1aeaa7 100644 --- a/libc/sysv/calls/sys_fdatasync.s +++ b/libc/sysv/calls/sys_fdatasync.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_fdatasync 0x0f105f22620bb04b globl hidden +.scall sys_fdatasync,0x0f105f22620bb04b,globl,hidden diff --git a/libc/sysv/calls/sys_flock.s b/libc/sysv/calls/sys_flock.s index 08c9837715d..2626a05d7d1 100644 --- a/libc/sysv/calls/sys_flock.s +++ b/libc/sysv/calls/sys_flock.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_flock 0x0830830832083049 globl hidden +.scall sys_flock,0x0830830832083049,globl,hidden diff --git a/libc/sysv/calls/sys_fork.s b/libc/sysv/calls/sys_fork.s index 009440fc710..17643ee9865 100644 --- a/libc/sysv/calls/sys_fork.s +++ b/libc/sysv/calls/sys_fork.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_fork 0x0020020022002039 globl hidden +.scall sys_fork,0x0020020022002039,globl,hidden diff --git a/libc/sysv/calls/sys_fsync.s b/libc/sysv/calls/sys_fsync.s index 07699185263..99f60f4402f 100644 --- a/libc/sysv/calls/sys_fsync.s +++ b/libc/sysv/calls/sys_fsync.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_fsync 0x05f05f05f205f04a globl hidden +.scall sys_fsync,0x05f05f05f205f04a,globl,hidden diff --git a/libc/sysv/calls/sys_ftruncate.s b/libc/sysv/calls/sys_ftruncate.s index 952b434c921..a5809ee920b 100644 --- a/libc/sysv/calls/sys_ftruncate.s +++ b/libc/sysv/calls/sys_ftruncate.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_ftruncate 0x0c90c91e020c904d globl hidden +.scall sys_ftruncate,0x0c90c91e020c904d,globl,hidden diff --git a/libc/sysv/calls/sys_futimens.s b/libc/sysv/calls/sys_futimens.s index d331c433de4..d6af1fcb41c 100644 --- a/libc/sysv/calls/sys_futimens.s +++ b/libc/sysv/calls/sys_futimens.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_futimens 0x1d8055222fffffff globl hidden +.scall sys_futimens,0x1d8055222fffffff,globl,hidden diff --git a/libc/sysv/calls/sys_futimes.s b/libc/sysv/calls/sys_futimes.s index 552b964cf4d..a52fb3598d2 100644 --- a/libc/sysv/calls/sys_futimes.s +++ b/libc/sysv/calls/sys_futimes.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_futimes 0x1a704d0ce208bfff globl hidden +.scall sys_futimes,0x1a704d0ce208bfff,globl,hidden diff --git a/libc/sysv/calls/sys_futimesat.s b/libc/sysv/calls/sys_futimesat.s index ffba4cce841..f9cae129a5c 100644 --- a/libc/sysv/calls/sys_futimesat.s +++ b/libc/sysv/calls/sys_futimesat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_futimesat 0xffffff1eeffff105 globl hidden +.scall sys_futimesat,0xffffff1eeffff105,globl,hidden diff --git a/libc/sysv/calls/sys_getcwd.s b/libc/sysv/calls/sys_getcwd.s index 0e1d04df5f6..9217e43c3fd 100644 --- a/libc/sysv/calls/sys_getcwd.s +++ b/libc/sysv/calls/sys_getcwd.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_getcwd 0x128130146ffff04f globl hidden +.scall sys_getcwd,0x128130146ffff04f,globl,hidden diff --git a/libc/sysv/calls/sys_getgid.s b/libc/sysv/calls/sys_getgid.s index f0489daf0ec..a92070692e7 100644 --- a/libc/sysv/calls/sys_getgid.s +++ b/libc/sysv/calls/sys_getgid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_getgid 0x02f02f02f202f068 globl hidden +.scall sys_getgid,0x02f02f02f202f068,globl,hidden diff --git a/libc/sysv/calls/sys_getitimer.s b/libc/sysv/calls/sys_getitimer.s index 3176012fed8..cd77ede5242 100644 --- a/libc/sysv/calls/sys_getitimer.s +++ b/libc/sysv/calls/sys_getitimer.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_getitimer 0x1aa0460562056024 globl hidden +.scall sys_getitimer,0x1aa0460562056024,globl,hidden diff --git a/libc/sysv/calls/sys_getpid.s b/libc/sysv/calls/sys_getpid.s index 9ffc24c9309..a1ab7d22096 100644 --- a/libc/sysv/calls/sys_getpid.s +++ b/libc/sysv/calls/sys_getpid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_getpid 0x0140140142014027 globl hidden +.scall sys_getpid,0x0140140142014027,globl,hidden diff --git a/libc/sysv/calls/sys_getppid.s b/libc/sysv/calls/sys_getppid.s index d01c01463fd..a14bfbed07a 100644 --- a/libc/sysv/calls/sys_getppid.s +++ b/libc/sysv/calls/sys_getppid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_getppid 0xfff027027202706e globl hidden +.scall sys_getppid,0xfff027027202706e,globl,hidden diff --git a/libc/sysv/calls/sys_getpriority.s b/libc/sysv/calls/sys_getpriority.s index f15adb0cd62..698264726dd 100644 --- a/libc/sysv/calls/sys_getpriority.s +++ b/libc/sysv/calls/sys_getpriority.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_getpriority 0x064064064206408c globl hidden +.scall sys_getpriority,0x064064064206408c,globl,hidden diff --git a/libc/sysv/calls/sys_getrandom.s b/libc/sysv/calls/sys_getrandom.s index efa09fe3532..b1523dcd538 100644 --- a/libc/sysv/calls/sys_getrandom.s +++ b/libc/sysv/calls/sys_getrandom.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_getrandom 0x05b00723321f413e globl hidden +.scall sys_getrandom,0x05b00723321f413e,globl,hidden diff --git a/libc/sysv/calls/sys_getrlimit.s b/libc/sysv/calls/sys_getrlimit.s index fbade4dbd05..625716fc2cb 100644 --- a/libc/sysv/calls/sys_getrlimit.s +++ b/libc/sysv/calls/sys_getrlimit.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_getrlimit 0x0c20c20c220c2061 globl hidden +.scall sys_getrlimit,0x0c20c20c220c2061,globl,hidden diff --git a/libc/sysv/calls/sys_getrusage.s b/libc/sysv/calls/sys_getrusage.s index 2d7715fc8af..a59cee99cd6 100644 --- a/libc/sysv/calls/sys_getrusage.s +++ b/libc/sysv/calls/sys_getrusage.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_getrusage 0x1bd0130752075062 globl hidden +.scall sys_getrusage,0x1bd0130752075062,globl,hidden diff --git a/libc/sysv/calls/sys_getsid.s b/libc/sysv/calls/sys_getsid.s index c59c03289d5..fd5d166d7ee 100644 --- a/libc/sysv/calls/sys_getsid.s +++ b/libc/sysv/calls/sys_getsid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_getsid 0x11e0ff136213607c globl hidden +.scall sys_getsid,0x11e0ff136213607c,globl,hidden diff --git a/libc/sysv/calls/sys_getsockopt.s b/libc/sysv/calls/sys_getsockopt.s index 1c052bebf6a..b457af42ae7 100644 --- a/libc/sysv/calls/sys_getsockopt.s +++ b/libc/sysv/calls/sys_getsockopt.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_getsockopt 0x0760760762076037 globl hidden +.scall sys_getsockopt,0x0760760762076037,globl,hidden diff --git a/libc/sysv/calls/sys_gettid.s b/libc/sysv/calls/sys_gettid.s index 96188f6a333..2e5adf58efb 100644 --- a/libc/sysv/calls/sys_gettid.s +++ b/libc/sysv/calls/sys_gettid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_gettid 0xfffffffff211e0ba globl hidden +.scall sys_gettid,0xfffffffff211e0ba,globl,hidden diff --git a/libc/sysv/calls/sys_gettimeofday.s b/libc/sysv/calls/sys_gettimeofday.s index d52cbf2fdb3..f1102488a50 100644 --- a/libc/sysv/calls/sys_gettimeofday.s +++ b/libc/sysv/calls/sys_gettimeofday.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_gettimeofday 0x1a20430742074060 globl hidden +.scall sys_gettimeofday,0x1a20430742074060,globl,hidden diff --git a/libc/sysv/calls/sys_getuid.s b/libc/sysv/calls/sys_getuid.s index ff68375c292..4e9a73f1551 100644 --- a/libc/sysv/calls/sys_getuid.s +++ b/libc/sysv/calls/sys_getuid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_getuid 0x0180180182018066 globl hidden +.scall sys_getuid,0x0180180182018066,globl,hidden diff --git a/libc/sysv/calls/sys_ioctl.s b/libc/sysv/calls/sys_ioctl.s index e2aaaec6857..abcfc3b7f8c 100644 --- a/libc/sysv/calls/sys_ioctl.s +++ b/libc/sysv/calls/sys_ioctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_ioctl 0x0360360362036010 globl hidden +.scall sys_ioctl,0x0360360362036010,globl,hidden diff --git a/libc/sysv/calls/sys_kill.s b/libc/sysv/calls/sys_kill.s index 92fa3bbdfe7..a4b0a80f087 100644 --- a/libc/sysv/calls/sys_kill.s +++ b/libc/sysv/calls/sys_kill.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_kill 0x02507a025202503e globl hidden +.scall sys_kill,0x02507a025202503e,globl,hidden diff --git a/libc/sysv/calls/sys_killpg.s b/libc/sysv/calls/sys_killpg.s index 977e234f564..4d83de318d8 100644 --- a/libc/sysv/calls/sys_killpg.s +++ b/libc/sysv/calls/sys_killpg.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_killpg 0xffffff092fffffff globl hidden +.scall sys_killpg,0xffffff092fffffff,globl,hidden diff --git a/libc/sysv/calls/sys_lchown.s b/libc/sysv/calls/sys_lchown.s index 1980ab14448..3f9ca4538fa 100644 --- a/libc/sysv/calls/sys_lchown.s +++ b/libc/sysv/calls/sys_lchown.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_lchown 0x1130fe0fe216c05e globl hidden +.scall sys_lchown,0x1130fe0fe216c05e,globl,hidden diff --git a/libc/sysv/calls/sys_link.s b/libc/sysv/calls/sys_link.s index b3bb1e2fc2a..03eb24da8d0 100644 --- a/libc/sysv/calls/sys_link.s +++ b/libc/sysv/calls/sys_link.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_link 0x0090090092009056 globl hidden +.scall sys_link,0x0090090092009056,globl,hidden diff --git a/libc/sysv/calls/sys_linkat.s b/libc/sysv/calls/sys_linkat.s index 864338171b5..f02420db0be 100644 --- a/libc/sysv/calls/sys_linkat.s +++ b/libc/sysv/calls/sys_linkat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_linkat 0x1c913d1ef21d7109 globl hidden +.scall sys_linkat,0x1c913d1ef21d7109,globl,hidden diff --git a/libc/sysv/calls/sys_listen.s b/libc/sysv/calls/sys_listen.s index 540353bbaad..5f4766d4ce3 100644 --- a/libc/sysv/calls/sys_listen.s +++ b/libc/sysv/calls/sys_listen.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_listen 0x06a06a06a206a032 globl hidden +.scall sys_listen,0x06a06a06a206a032,globl,hidden diff --git a/libc/sysv/calls/sys_lseek.s b/libc/sysv/calls/sys_lseek.s index bcaba480069..e976d85f807 100644 --- a/libc/sysv/calls/sys_lseek.s +++ b/libc/sysv/calls/sys_lseek.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_lseek 0x0c70c71de20c7008 globl hidden +.scall sys_lseek,0x0c70c71de20c7008,globl,hidden diff --git a/libc/sysv/calls/sys_madvise.s b/libc/sysv/calls/sys_madvise.s index 9b3660a220d..9332a17ff68 100644 --- a/libc/sysv/calls/sys_madvise.s +++ b/libc/sysv/calls/sys_madvise.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_madvise 0x04b04b04b204b01c globl hidden +.scall sys_madvise,0x04b04b04b204b01c,globl,hidden diff --git a/libc/sysv/calls/sys_mkdir.s b/libc/sysv/calls/sys_mkdir.s index 267b6974494..80f5c7a4906 100644 --- a/libc/sysv/calls/sys_mkdir.s +++ b/libc/sysv/calls/sys_mkdir.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_mkdir 0x0880880882088053 globl hidden +.scall sys_mkdir,0x0880880882088053,globl,hidden diff --git a/libc/sysv/calls/sys_mkdirat.s b/libc/sysv/calls/sys_mkdirat.s index 5e1145cff30..f1cc340837f 100644 --- a/libc/sysv/calls/sys_mkdirat.s +++ b/libc/sysv/calls/sys_mkdirat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_mkdirat 0x1cd13e1f021db102 globl hidden +.scall sys_mkdirat,0x1cd13e1f021db102,globl,hidden diff --git a/libc/sysv/calls/sys_mkfifo.s b/libc/sysv/calls/sys_mkfifo.s index 63fe0343ce5..cf9d6f2fa05 100644 --- a/libc/sysv/calls/sys_mkfifo.s +++ b/libc/sysv/calls/sys_mkfifo.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_mkfifo 0x0840840842084fff globl hidden +.scall sys_mkfifo,0x0840840842084fff,globl,hidden diff --git a/libc/sysv/calls/sys_mknod.s b/libc/sysv/calls/sys_mknod.s index 660798a53d7..c7630d942e0 100644 --- a/libc/sysv/calls/sys_mknod.s +++ b/libc/sysv/calls/sys_mknod.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_mknod 0x1c200e00e200e085 globl hidden +.scall sys_mknod,0x1c200e00e200e085,globl,hidden diff --git a/libc/sysv/calls/sys_mmap.s b/libc/sysv/calls/sys_mmap.s index c0eea39ac90..141c2e0bd85 100644 --- a/libc/sysv/calls/sys_mmap.s +++ b/libc/sysv/calls/sys_mmap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_mmap 0x0c50c51dd20c5009 globl hidden +.scall sys_mmap,0x0c50c51dd20c5009,globl,hidden diff --git a/libc/sysv/calls/sys_mprotect.s b/libc/sysv/calls/sys_mprotect.s index da2fbba1e14..6e6e24bffe9 100644 --- a/libc/sysv/calls/sys_mprotect.s +++ b/libc/sysv/calls/sys_mprotect.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_mprotect 0x04a04a04a204a00a globl hidden +.scall sys_mprotect,0x04a04a04a204a00a,globl,hidden diff --git a/libc/sysv/calls/sys_mremap.s b/libc/sysv/calls/sys_mremap.s index 69031a20cc3..759973cd96d 100644 --- a/libc/sysv/calls/sys_mremap.s +++ b/libc/sysv/calls/sys_mremap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_mremap 0x19bffffffffff019 globl hidden +.scall sys_mremap,0x19bffffffffff019,globl,hidden diff --git a/libc/sysv/calls/sys_msync.s b/libc/sysv/calls/sys_msync.s index 8cbbf7cd113..3dd327fbc5f 100644 --- a/libc/sysv/calls/sys_msync.s +++ b/libc/sysv/calls/sys_msync.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_msync 0x115100041204101a globl hidden +.scall sys_msync,0x115100041204101a,globl,hidden diff --git a/libc/sysv/calls/sys_munmap.s b/libc/sysv/calls/sys_munmap.s index fe3d3b6a695..9139888cdc6 100644 --- a/libc/sysv/calls/sys_munmap.s +++ b/libc/sysv/calls/sys_munmap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_munmap 0x049049049204900b globl hidden +.scall sys_munmap,0x049049049204900b,globl,hidden diff --git a/libc/sysv/calls/sys_nanosleep.s b/libc/sysv/calls/sys_nanosleep.s index 011800bedb3..af2f8b15634 100644 --- a/libc/sysv/calls/sys_nanosleep.s +++ b/libc/sysv/calls/sys_nanosleep.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_nanosleep 0x1ae05b0f0ffff023 globl hidden +.scall sys_nanosleep,0x1ae05b0f0ffff023,globl,hidden diff --git a/libc/sysv/calls/sys_open.s b/libc/sysv/calls/sys_open.s index 10660143956..ff76ad2b121 100644 --- a/libc/sysv/calls/sys_open.s +++ b/libc/sysv/calls/sys_open.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_open 0x0050050052005002 globl hidden +.scall sys_open,0x0050050052005002,globl,hidden diff --git a/libc/sysv/calls/sys_openat.s b/libc/sysv/calls/sys_openat.s index 66659a217d6..c4237e3b1aa 100644 --- a/libc/sysv/calls/sys_openat.s +++ b/libc/sysv/calls/sys_openat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_openat 0x1d41411f321cf101 globl hidden +.scall sys_openat,0x1d41411f321cf101,globl,hidden diff --git a/libc/sysv/calls/sys_pause.s b/libc/sysv/calls/sys_pause.s index 05c3007b56b..0af05d36b55 100644 --- a/libc/sysv/calls/sys_pause.s +++ b/libc/sysv/calls/sys_pause.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_pause 0xfffffffffffff022 globl hidden +.scall sys_pause,0xfffffffffffff022,globl,hidden diff --git a/libc/sysv/calls/sys_poll.s b/libc/sysv/calls/sys_poll.s index dd77323b14e..31799ccbf23 100644 --- a/libc/sysv/calls/sys_poll.s +++ b/libc/sysv/calls/sys_poll.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_poll 0x0d10fc0d120e6007 globl hidden +.scall sys_poll,0x0d10fc0d120e6007,globl,hidden diff --git a/libc/sysv/calls/sys_posix_fallocate.s b/libc/sysv/calls/sys_posix_fallocate.s deleted file mode 100644 index 9ac07132ad8..00000000000 --- a/libc/sysv/calls/sys_posix_fallocate.s +++ /dev/null @@ -1,2 +0,0 @@ -.include "o/libc/sysv/macros.internal.inc" -.scall sys_posix_fallocate 0xffffff212fffffff globl hidden diff --git a/libc/sysv/calls/sys_posix_openpt.s b/libc/sysv/calls/sys_posix_openpt.s index 8f08c77301f..47578ce4f40 100644 --- a/libc/sysv/calls/sys_posix_openpt.s +++ b/libc/sysv/calls/sys_posix_openpt.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_posix_openpt 0xffffff1f8fffffff globl hidden +.scall sys_posix_openpt,0xffffff1f8fffffff,globl,hidden diff --git a/libc/sysv/calls/sys_posix_spawn.s b/libc/sysv/calls/sys_posix_spawn.s index 66d9e8f48b4..d9cdaeed915 100644 --- a/libc/sysv/calls/sys_posix_spawn.s +++ b/libc/sysv/calls/sys_posix_spawn.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_posix_spawn 0xfffffffff20f4fff globl hidden +.scall sys_posix_spawn,0xfffffffff20f4fff,globl,hidden diff --git a/libc/sysv/calls/sys_ppoll.s b/libc/sysv/calls/sys_ppoll.s index 9da627aec31..425c2eea48b 100644 --- a/libc/sysv/calls/sys_ppoll.s +++ b/libc/sysv/calls/sys_ppoll.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_ppoll 0xfff06d221ffff10f globl hidden +.scall sys_ppoll,0xfff06d221ffff10f,globl,hidden diff --git a/libc/sysv/calls/sys_pread.s b/libc/sysv/calls/sys_pread.s index 597ff1351a5..bce4dfa06fe 100644 --- a/libc/sysv/calls/sys_pread.s +++ b/libc/sysv/calls/sys_pread.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_pread 0x0ad0ad1db2099011 globl hidden +.scall sys_pread,0x0ad0ad1db2099011,globl,hidden diff --git a/libc/sysv/calls/sys_preadv.s b/libc/sysv/calls/sys_preadv.s index 3a5d2aedd8d..5825e1d6c72 100644 --- a/libc/sysv/calls/sys_preadv.s +++ b/libc/sysv/calls/sys_preadv.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_preadv 0x12110b121ffff127 globl hidden +.scall sys_preadv,0x12110b121ffff127,globl,hidden diff --git a/libc/sysv/calls/sys_ptrace.s b/libc/sysv/calls/sys_ptrace.s index ea812cdd065..d68c6c9136e 100644 --- a/libc/sysv/calls/sys_ptrace.s +++ b/libc/sysv/calls/sys_ptrace.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_ptrace 0x01a01a01a201a065 globl hidden +.scall sys_ptrace,0x01a01a01a201a065,globl,hidden diff --git a/libc/sysv/calls/sys_pwrite.s b/libc/sysv/calls/sys_pwrite.s index f0dacf3303b..703fb9de7f5 100644 --- a/libc/sysv/calls/sys_pwrite.s +++ b/libc/sysv/calls/sys_pwrite.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_pwrite 0x0ae0ae1dc209a012 globl hidden +.scall sys_pwrite,0x0ae0ae1dc209a012,globl,hidden diff --git a/libc/sysv/calls/sys_pwritev.s b/libc/sysv/calls/sys_pwritev.s index 4092be6ef4b..765c2aad5d7 100644 --- a/libc/sysv/calls/sys_pwritev.s +++ b/libc/sysv/calls/sys_pwritev.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_pwritev 0x12210c122ffff128 globl hidden +.scall sys_pwritev,0x12210c122ffff128,globl,hidden diff --git a/libc/sysv/calls/sys_read.s b/libc/sysv/calls/sys_read.s index 7ea6e9f0893..0f8185e4821 100644 --- a/libc/sysv/calls/sys_read.s +++ b/libc/sysv/calls/sys_read.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_read 0x0030030032003000 globl hidden +.scall sys_read,0x0030030032003000,globl,hidden diff --git a/libc/sysv/calls/sys_readlinkat.s b/libc/sysv/calls/sys_readlinkat.s index affb69c1a8b..9e34c92fb7c 100644 --- a/libc/sysv/calls/sys_readlinkat.s +++ b/libc/sysv/calls/sys_readlinkat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_readlinkat 0x1d51421f421d910b globl hidden +.scall sys_readlinkat,0x1d51421f421d910b,globl,hidden diff --git a/libc/sysv/calls/sys_readv.s b/libc/sysv/calls/sys_readv.s index a3a3518be88..0d985abc2cc 100644 --- a/libc/sysv/calls/sys_readv.s +++ b/libc/sysv/calls/sys_readv.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_readv 0x0780780782078013 globl hidden +.scall sys_readv,0x0780780782078013,globl,hidden diff --git a/libc/sysv/calls/sys_recvfrom.s b/libc/sysv/calls/sys_recvfrom.s index 80796e2b852..cfeab7b7b40 100644 --- a/libc/sysv/calls/sys_recvfrom.s +++ b/libc/sysv/calls/sys_recvfrom.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_recvfrom 0x01d01d01d201d02d globl hidden +.scall sys_recvfrom,0x01d01d01d201d02d,globl,hidden diff --git a/libc/sysv/calls/sys_recvmsg.s b/libc/sysv/calls/sys_recvmsg.s index 02066af9999..32177e64a1f 100644 --- a/libc/sysv/calls/sys_recvmsg.s +++ b/libc/sysv/calls/sys_recvmsg.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_recvmsg 0x01b01b01b201b02f globl hidden +.scall sys_recvmsg,0x01b01b01b201b02f,globl,hidden diff --git a/libc/sysv/calls/sys_rename.s b/libc/sysv/calls/sys_rename.s index f2ec58c8ce9..cda88213e31 100644 --- a/libc/sysv/calls/sys_rename.s +++ b/libc/sysv/calls/sys_rename.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_rename 0x0800800802080052 globl hidden +.scall sys_rename,0x0800800802080052,globl,hidden diff --git a/libc/sysv/calls/sys_renameat.s b/libc/sysv/calls/sys_renameat.s index 94ed424db32..a5cfaa1387d 100644 --- a/libc/sysv/calls/sys_renameat.s +++ b/libc/sysv/calls/sys_renameat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_renameat 0x1ca1431f521d1108 globl hidden +.scall sys_renameat,0x1ca1431f521d1108,globl,hidden diff --git a/libc/sysv/calls/sys_rmdir.s b/libc/sysv/calls/sys_rmdir.s index d5e97afe860..e4295e4ad2f 100644 --- a/libc/sysv/calls/sys_rmdir.s +++ b/libc/sysv/calls/sys_rmdir.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_rmdir 0x0890890892089054 globl hidden +.scall sys_rmdir,0x0890890892089054,globl,hidden diff --git a/libc/sysv/calls/sys_sched_setaffinity.s b/libc/sysv/calls/sys_sched_setaffinity.s index 8e9e4c0bb98..7636e0f011a 100644 --- a/libc/sysv/calls/sys_sched_setaffinity.s +++ b/libc/sysv/calls/sys_sched_setaffinity.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_sched_setaffinity 0xfffffffffffff0cb globl hidden +.scall sys_sched_setaffinity,0xfffffffffffff0cb,globl,hidden diff --git a/libc/sysv/calls/sys_sched_yield.s b/libc/sysv/calls/sys_sched_yield.s index da8464e4946..f3d91b392c2 100644 --- a/libc/sysv/calls/sys_sched_yield.s +++ b/libc/sysv/calls/sys_sched_yield.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_sched_yield 0x15e12a14b103c018 globl hidden +.scall sys_sched_yield,0x15e12a14b103c018,globl,hidden diff --git a/libc/sysv/calls/sys_select.s b/libc/sysv/calls/sys_select.s index f4ed0c3869b..bb8184dccf9 100644 --- a/libc/sysv/calls/sys_select.s +++ b/libc/sysv/calls/sys_select.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_select 0x1a104705d205d017 globl hidden +.scall sys_select,0x1a104705d205d017,globl,hidden diff --git a/libc/sysv/calls/sys_sendfile.s b/libc/sysv/calls/sys_sendfile.s index c5c94ad5273..6e6ad22cd54 100644 --- a/libc/sysv/calls/sys_sendfile.s +++ b/libc/sysv/calls/sys_sendfile.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_sendfile 0xffffff1892151028 globl hidden +.scall sys_sendfile,0xffffff1892151028,globl,hidden diff --git a/libc/sysv/calls/sys_sendmsg.s b/libc/sysv/calls/sys_sendmsg.s index c6317955aad..015899bd320 100644 --- a/libc/sysv/calls/sys_sendmsg.s +++ b/libc/sysv/calls/sys_sendmsg.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_sendmsg 0x01c01c01c201c02e globl hidden +.scall sys_sendmsg,0x01c01c01c201c02e,globl,hidden diff --git a/libc/sysv/calls/sys_sendto.s b/libc/sysv/calls/sys_sendto.s index 65f7881ded5..b0162e9b153 100644 --- a/libc/sysv/calls/sys_sendto.s +++ b/libc/sysv/calls/sys_sendto.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_sendto 0x085085085208502c globl hidden +.scall sys_sendto,0x085085085208502c,globl,hidden diff --git a/libc/sysv/calls/sys_setitimer.s b/libc/sysv/calls/sys_setitimer.s index 24bb9042aa0..c460ecedeb6 100644 --- a/libc/sysv/calls/sys_setitimer.s +++ b/libc/sysv/calls/sys_setitimer.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_setitimer 0x1a90450532053026 globl hidden +.scall sys_setitimer,0x1a90450532053026,globl,hidden diff --git a/libc/sysv/calls/sys_setpriority.s b/libc/sysv/calls/sys_setpriority.s index 74a22e10c0a..aa77b8ec443 100644 --- a/libc/sysv/calls/sys_setpriority.s +++ b/libc/sysv/calls/sys_setpriority.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_setpriority 0x060060060206008d globl hidden +.scall sys_setpriority,0x060060060206008d,globl,hidden diff --git a/libc/sysv/calls/sys_setresgid.s b/libc/sysv/calls/sys_setresgid.s index 7dd1f371672..407dbb9014d 100644 --- a/libc/sysv/calls/sys_setresgid.s +++ b/libc/sysv/calls/sys_setresgid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_setresgid 0xfff11c138ffff077 globl hidden +.scall sys_setresgid,0xfff11c138ffff077,globl,hidden diff --git a/libc/sysv/calls/sys_setresuid.s b/libc/sysv/calls/sys_setresuid.s index eee4ba76d20..7079906af58 100644 --- a/libc/sysv/calls/sys_setresuid.s +++ b/libc/sysv/calls/sys_setresuid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_setresuid 0xfff11a137ffff075 globl hidden +.scall sys_setresuid,0xfff11a137ffff075,globl,hidden diff --git a/libc/sysv/calls/sys_setrlimit.s b/libc/sysv/calls/sys_setrlimit.s index d00f70bae5e..6989c8e7cb0 100644 --- a/libc/sysv/calls/sys_setrlimit.s +++ b/libc/sysv/calls/sys_setrlimit.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_setrlimit 0x0c30c30c320c30a0 globl hidden +.scall sys_setrlimit,0x0c30c30c320c30a0,globl,hidden diff --git a/libc/sysv/calls/sys_setsid.s b/libc/sysv/calls/sys_setsid.s index c91bd587fed..24ca4fa647d 100644 --- a/libc/sysv/calls/sys_setsid.s +++ b/libc/sysv/calls/sys_setsid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_setsid 0x0930930932093070 globl hidden +.scall sys_setsid,0x0930930932093070,globl,hidden diff --git a/libc/sysv/calls/sys_setsockopt.s b/libc/sysv/calls/sys_setsockopt.s index dc3f9426899..710cbeaadad 100644 --- a/libc/sysv/calls/sys_setsockopt.s +++ b/libc/sysv/calls/sys_setsockopt.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_setsockopt 0x0690690692069036 globl hidden +.scall sys_setsockopt,0x0690690692069036,globl,hidden diff --git a/libc/sysv/calls/sys_shutdown.s b/libc/sysv/calls/sys_shutdown.s index b793667b7fd..e602d007bbf 100644 --- a/libc/sysv/calls/sys_shutdown.s +++ b/libc/sysv/calls/sys_shutdown.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_shutdown 0x0860860862086030 globl hidden +.scall sys_shutdown,0x0860860862086030,globl,hidden diff --git a/libc/sysv/calls/sys_sigaction.s b/libc/sysv/calls/sys_sigaction.s index 82ab8a2fc98..6586b3dd983 100644 --- a/libc/sysv/calls/sys_sigaction.s +++ b/libc/sysv/calls/sys_sigaction.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_sigaction 0x15402e1a0202e00d globl hidden +.scall sys_sigaction,0x15402e1a0202e00d,globl,hidden diff --git a/libc/sysv/calls/sys_sigprocmask.s b/libc/sysv/calls/sys_sigprocmask.s index 4603afba1dc..8aa411f1d47 100644 --- a/libc/sysv/calls/sys_sigprocmask.s +++ b/libc/sysv/calls/sys_sigprocmask.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_sigprocmask 0x125030154203000e globl hidden +.scall sys_sigprocmask,0x125030154203000e,globl,hidden diff --git a/libc/sysv/calls/sys_sigsuspend.s b/libc/sysv/calls/sys_sigsuspend.s index a0750958fb3..cbf2b659eca 100644 --- a/libc/sysv/calls/sys_sigsuspend.s +++ b/libc/sysv/calls/sys_sigsuspend.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_sigsuspend 0x12606f155206f082 globl hidden +.scall sys_sigsuspend,0x12606f155206f082,globl,hidden diff --git a/libc/sysv/calls/sys_socketpair.s b/libc/sysv/calls/sys_socketpair.s index 6cb889c37fa..1a094acb3fc 100644 --- a/libc/sysv/calls/sys_socketpair.s +++ b/libc/sysv/calls/sys_socketpair.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_socketpair 0x0870870872087035 globl hidden +.scall sys_socketpair,0x0870870872087035,globl,hidden diff --git a/libc/sysv/calls/sys_splice.s b/libc/sysv/calls/sys_splice.s index 28f4c13fd43..e9e0e8f7362 100644 --- a/libc/sysv/calls/sys_splice.s +++ b/libc/sysv/calls/sys_splice.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_splice 0xfffffffffffff113 globl hidden +.scall sys_splice,0xfffffffffffff113,globl,hidden diff --git a/libc/sysv/calls/sys_symlink.s b/libc/sysv/calls/sys_symlink.s index a4d30eaae17..be93a765577 100644 --- a/libc/sysv/calls/sys_symlink.s +++ b/libc/sysv/calls/sys_symlink.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_symlink 0x0390390392039058 globl hidden +.scall sys_symlink,0x0390390392039058,globl,hidden diff --git a/libc/sysv/calls/sys_symlinkat.s b/libc/sysv/calls/sys_symlinkat.s index 19ddda751aa..d4ad679e447 100644 --- a/libc/sysv/calls/sys_symlinkat.s +++ b/libc/sysv/calls/sys_symlinkat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_symlinkat 0x1d61441f621da10a globl hidden +.scall sys_symlinkat,0x1d61441f621da10a,globl,hidden diff --git a/libc/sysv/calls/sys_sync.s b/libc/sysv/calls/sys_sync.s index 9813b83977a..75bd0f59bf0 100644 --- a/libc/sysv/calls/sys_sync.s +++ b/libc/sysv/calls/sys_sync.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_sync 0xfff02402420240a2 globl hidden +.scall sys_sync,0xfff02402420240a2,globl,hidden diff --git a/libc/sysv/calls/sys_sync_file_range.s b/libc/sysv/calls/sys_sync_file_range.s index bffda8719ed..3e10bc32d27 100644 --- a/libc/sysv/calls/sys_sync_file_range.s +++ b/libc/sysv/calls/sys_sync_file_range.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_sync_file_range 0xfffffffffffff115 globl hidden +.scall sys_sync_file_range,0xfffffffffffff115,globl,hidden diff --git a/libc/sysv/calls/sys_sysinfo.s b/libc/sysv/calls/sys_sysinfo.s index aeca3e99cfd..e2b9d632540 100644 --- a/libc/sysv/calls/sys_sysinfo.s +++ b/libc/sysv/calls/sys_sysinfo.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_sysinfo 0xfffffffffffff063 globl hidden +.scall sys_sysinfo,0xfffffffffffff063,globl,hidden diff --git a/libc/sysv/calls/sys_times.s b/libc/sysv/calls/sys_times.s index b17b8d7ea70..f0153b85932 100644 --- a/libc/sysv/calls/sys_times.s +++ b/libc/sysv/calls/sys_times.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_times 0xfffffffffffff064 globl hidden +.scall sys_times,0xfffffffffffff064,globl,hidden diff --git a/libc/sysv/calls/sys_truncate.s b/libc/sysv/calls/sys_truncate.s index 2822db5bc7f..e2710fe4ee8 100644 --- a/libc/sysv/calls/sys_truncate.s +++ b/libc/sysv/calls/sys_truncate.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_truncate 0x0c80c81df20c804c globl hidden +.scall sys_truncate,0x0c80c81df20c804c,globl,hidden diff --git a/libc/sysv/calls/sys_uname.s b/libc/sysv/calls/sys_uname.s index af626ce4205..b442f359440 100644 --- a/libc/sysv/calls/sys_uname.s +++ b/libc/sysv/calls/sys_uname.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_uname 0xffffff0a4ffff03f globl hidden +.scall sys_uname,0xffffff0a4ffff03f,globl,hidden diff --git a/libc/sysv/calls/sys_unlink.s b/libc/sysv/calls/sys_unlink.s index a96173267ec..4b995ec6a18 100644 --- a/libc/sysv/calls/sys_unlink.s +++ b/libc/sysv/calls/sys_unlink.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_unlink 0x00a00a00a200a057 globl hidden +.scall sys_unlink,0x00a00a00a200a057,globl,hidden diff --git a/libc/sysv/calls/sys_unlinkat.s b/libc/sysv/calls/sys_unlinkat.s index 2570d83fde8..4d7106aaa53 100644 --- a/libc/sysv/calls/sys_unlinkat.s +++ b/libc/sysv/calls/sys_unlinkat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_unlinkat 0x1d71451f721d8107 globl hidden +.scall sys_unlinkat,0x1d71451f721d8107,globl,hidden diff --git a/libc/sysv/calls/sys_utime.s b/libc/sysv/calls/sys_utime.s index f2f42460de4..a5218c78e75 100644 --- a/libc/sysv/calls/sys_utime.s +++ b/libc/sysv/calls/sys_utime.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_utime 0xfffffffffffff084 globl hidden +.scall sys_utime,0xfffffffffffff084,globl,hidden diff --git a/libc/sysv/calls/sys_utimes.s b/libc/sysv/calls/sys_utimes.s index def558b89f9..ea47331a440 100644 --- a/libc/sysv/calls/sys_utimes.s +++ b/libc/sysv/calls/sys_utimes.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_utimes 0x1a404c08a208a0eb globl hidden +.scall sys_utimes,0x1a404c08a208a0eb,globl,hidden diff --git a/libc/sysv/calls/sys_vmsplice.s b/libc/sysv/calls/sys_vmsplice.s index 125c0eca7df..79c62a71a97 100644 --- a/libc/sysv/calls/sys_vmsplice.s +++ b/libc/sysv/calls/sys_vmsplice.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_vmsplice 0xfffffffffffff116 globl hidden +.scall sys_vmsplice,0xfffffffffffff116,globl,hidden diff --git a/libc/sysv/calls/sys_wait4.s b/libc/sysv/calls/sys_wait4.s index f38ac3f9757..4a1674eee5b 100644 --- a/libc/sysv/calls/sys_wait4.s +++ b/libc/sysv/calls/sys_wait4.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_wait4 0x1c100b007200703d globl hidden +.scall sys_wait4,0x1c100b007200703d,globl,hidden diff --git a/libc/sysv/calls/sys_write.s b/libc/sysv/calls/sys_write.s index f787db89084..4162549d170 100644 --- a/libc/sysv/calls/sys_write.s +++ b/libc/sysv/calls/sys_write.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_write 0x0040040042004001 globl hidden +.scall sys_write,0x0040040042004001,globl,hidden diff --git a/libc/sysv/calls/sys_writev.s b/libc/sysv/calls/sys_writev.s index 445ccdbf00b..45b8beb551a 100644 --- a/libc/sysv/calls/sys_writev.s +++ b/libc/sysv/calls/sys_writev.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sys_writev 0x0790790792079014 globl hidden +.scall sys_writev,0x0790790792079014,globl,hidden diff --git a/libc/sysv/calls/sysctl.s b/libc/sysv/calls/sysctl.s index 5c092ad0ae3..718a1b343d6 100644 --- a/libc/sysv/calls/sysctl.s +++ b/libc/sysv/calls/sysctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sysctl 0x0ca0ca0ca20cafff globl +.scall sysctl,0x0ca0ca0ca20cafff,globl diff --git a/libc/sysv/calls/sysctlbyname.s b/libc/sysv/calls/sysctlbyname.s index b5881d43984..33781683c5f 100644 --- a/libc/sysv/calls/sysctlbyname.s +++ b/libc/sysv/calls/sysctlbyname.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sysctlbyname 0xfffffffff2112fff globl +.scall sysctlbyname,0xfffffffff2112fff,globl diff --git a/libc/sysv/calls/sysfs.s b/libc/sysv/calls/sysfs.s index 8776e515e5b..1743d80defc 100644 --- a/libc/sysv/calls/sysfs.s +++ b/libc/sysv/calls/sysfs.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall sysfs 0xfffffffffffff08b globl +.scall sysfs,0xfffffffffffff08b,globl diff --git a/libc/sysv/calls/syslog.s b/libc/sysv/calls/syslog.s index 85ebae46260..812e0ba59a2 100644 --- a/libc/sysv/calls/syslog.s +++ b/libc/sysv/calls/syslog.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall syslog 0xfffffffffffff067 globl +.scall syslog,0xfffffffffffff067,globl diff --git a/libc/sysv/calls/system_override.s b/libc/sysv/calls/system_override.s index 4580e3ad81c..de4026ff393 100644 --- a/libc/sysv/calls/system_override.s +++ b/libc/sysv/calls/system_override.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall system_override 0xfffffffff21c6fff globl +.scall system_override,0xfffffffff21c6fff,globl diff --git a/libc/sysv/calls/tee.s b/libc/sysv/calls/tee.s index a26fbf3d6a8..ab1e96d718e 100644 --- a/libc/sysv/calls/tee.s +++ b/libc/sysv/calls/tee.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall tee 0xfffffffffffff114 globl +.scall tee,0xfffffffffffff114,globl diff --git a/libc/sysv/calls/telemetry.s b/libc/sysv/calls/telemetry.s index 5570061a4e9..9e880b550a7 100644 --- a/libc/sysv/calls/telemetry.s +++ b/libc/sysv/calls/telemetry.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall telemetry 0xfffffffff21c3fff globl +.scall telemetry,0xfffffffff21c3fff,globl diff --git a/libc/sysv/calls/terminate_with_payload.s b/libc/sysv/calls/terminate_with_payload.s index 9526c00d603..ec4665a822c 100644 --- a/libc/sysv/calls/terminate_with_payload.s +++ b/libc/sysv/calls/terminate_with_payload.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall terminate_with_payload 0xfffffffff2208fff globl +.scall terminate_with_payload,0xfffffffff2208fff,globl diff --git a/libc/sysv/calls/tgkill.s b/libc/sysv/calls/tgkill.s index b26d25dd5e1..d5c1cd7d4ae 100644 --- a/libc/sysv/calls/tgkill.s +++ b/libc/sysv/calls/tgkill.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall tgkill 0xfffffffffffff0ea globl +.scall tgkill,0xfffffffffffff0ea,globl diff --git a/libc/sysv/calls/thr_create.s b/libc/sysv/calls/thr_create.s index f0740626961..538a7b4dca1 100644 --- a/libc/sysv/calls/thr_create.s +++ b/libc/sysv/calls/thr_create.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall thr_create 0xffffff1aefffffff globl +.scall thr_create,0xffffff1aefffffff,globl diff --git a/libc/sysv/calls/thr_exit.s b/libc/sysv/calls/thr_exit.s index 8c56a6e8516..88aee298142 100644 --- a/libc/sysv/calls/thr_exit.s +++ b/libc/sysv/calls/thr_exit.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall thr_exit 0xffffff1affffffff globl +.scall thr_exit,0xffffff1affffffff,globl diff --git a/libc/sysv/calls/thr_kill.s b/libc/sysv/calls/thr_kill.s index f50a3434548..f7dcf7ed171 100644 --- a/libc/sysv/calls/thr_kill.s +++ b/libc/sysv/calls/thr_kill.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall thr_kill 0xffffff1b1fffffff globl +.scall thr_kill,0xffffff1b1fffffff,globl diff --git a/libc/sysv/calls/thr_kill2.s b/libc/sysv/calls/thr_kill2.s index 9dcf3d352b3..069fe643058 100644 --- a/libc/sysv/calls/thr_kill2.s +++ b/libc/sysv/calls/thr_kill2.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall thr_kill2 0xffffff1e1fffffff globl +.scall thr_kill2,0xffffff1e1fffffff,globl diff --git a/libc/sysv/calls/thr_new.s b/libc/sysv/calls/thr_new.s index 703a06dc2ba..89d78ce31b9 100644 --- a/libc/sysv/calls/thr_new.s +++ b/libc/sysv/calls/thr_new.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall thr_new 0xffffff1c7fffffff globl +.scall thr_new,0xffffff1c7fffffff,globl diff --git a/libc/sysv/calls/thr_self.s b/libc/sysv/calls/thr_self.s index 2aa589f8998..47d0f7bf445 100644 --- a/libc/sysv/calls/thr_self.s +++ b/libc/sysv/calls/thr_self.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall thr_self 0xffffff1b0fffffff globl +.scall thr_self,0xffffff1b0fffffff,globl diff --git a/libc/sysv/calls/thr_set_name.s b/libc/sysv/calls/thr_set_name.s index 492e7307918..b30b2ae1f19 100644 --- a/libc/sysv/calls/thr_set_name.s +++ b/libc/sysv/calls/thr_set_name.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall thr_set_name 0xffffff1d0fffffff globl +.scall thr_set_name,0xffffff1d0fffffff,globl diff --git a/libc/sysv/calls/thr_suspend.s b/libc/sysv/calls/thr_suspend.s index 571e12a0c3e..a5074a90edd 100644 --- a/libc/sysv/calls/thr_suspend.s +++ b/libc/sysv/calls/thr_suspend.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall thr_suspend 0xffffff1bafffffff globl +.scall thr_suspend,0xffffff1bafffffff,globl diff --git a/libc/sysv/calls/thr_wake.s b/libc/sysv/calls/thr_wake.s index becc3ded5dc..f3b9cd89647 100644 --- a/libc/sysv/calls/thr_wake.s +++ b/libc/sysv/calls/thr_wake.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall thr_wake 0xffffff1bbfffffff globl +.scall thr_wake,0xffffff1bbfffffff,globl diff --git a/libc/sysv/calls/thread_selfcounts.s b/libc/sysv/calls/thread_selfcounts.s index 959163e31fd..e11d970c997 100644 --- a/libc/sysv/calls/thread_selfcounts.s +++ b/libc/sysv/calls/thread_selfcounts.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall thread_selfcounts 0xfffffffff20bafff globl +.scall thread_selfcounts,0xfffffffff20bafff,globl diff --git a/libc/sysv/calls/thread_selfid.s b/libc/sysv/calls/thread_selfid.s index d167df58445..75b760542ba 100644 --- a/libc/sysv/calls/thread_selfid.s +++ b/libc/sysv/calls/thread_selfid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall thread_selfid 0xfffffffff2174fff globl +.scall thread_selfid,0xfffffffff2174fff,globl diff --git a/libc/sysv/calls/thread_selfusage.s b/libc/sysv/calls/thread_selfusage.s index 07188db1fec..9d1364ebea4 100644 --- a/libc/sysv/calls/thread_selfusage.s +++ b/libc/sysv/calls/thread_selfusage.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall thread_selfusage 0xfffffffff21e2fff globl +.scall thread_selfusage,0xfffffffff21e2fff,globl diff --git a/libc/sysv/calls/thrkill.s b/libc/sysv/calls/thrkill.s index 94c6f2c8cdc..ee0c445bf16 100644 --- a/libc/sysv/calls/thrkill.s +++ b/libc/sysv/calls/thrkill.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall thrkill 0xfff077ffffffffff globl +.scall thrkill,0xfff077ffffffffff,globl diff --git a/libc/sysv/calls/timer_create.s b/libc/sysv/calls/timer_create.s index fc21080d976..b7c01d19dfe 100644 --- a/libc/sysv/calls/timer_create.s +++ b/libc/sysv/calls/timer_create.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall timer_create 0x0ebffffffffff0de globl +.scall timer_create,0x0ebffffffffff0de,globl diff --git a/libc/sysv/calls/timer_delete.s b/libc/sysv/calls/timer_delete.s index f235f4fa200..e52d476b831 100644 --- a/libc/sysv/calls/timer_delete.s +++ b/libc/sysv/calls/timer_delete.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall timer_delete 0x0ecffffffffff0e2 globl +.scall timer_delete,0x0ecffffffffff0e2,globl diff --git a/libc/sysv/calls/timer_getoverrun.s b/libc/sysv/calls/timer_getoverrun.s index 8f12eb14ee3..b30781be7f9 100644 --- a/libc/sysv/calls/timer_getoverrun.s +++ b/libc/sysv/calls/timer_getoverrun.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall timer_getoverrun 0x0efffffffffff0e1 globl +.scall timer_getoverrun,0x0efffffffffff0e1,globl diff --git a/libc/sysv/calls/timer_gettime.s b/libc/sysv/calls/timer_gettime.s index 01def69d79b..ce5d51a553f 100644 --- a/libc/sysv/calls/timer_gettime.s +++ b/libc/sysv/calls/timer_gettime.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall timer_gettime 0x1bfffffffffff0e0 globl +.scall timer_gettime,0x1bfffffffffff0e0,globl diff --git a/libc/sysv/calls/timer_settime.s b/libc/sysv/calls/timer_settime.s index d5f5d28bce4..7aa3004d3ab 100644 --- a/libc/sysv/calls/timer_settime.s +++ b/libc/sysv/calls/timer_settime.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall timer_settime 0x1beffffffffff0df globl +.scall timer_settime,0x1beffffffffff0df,globl diff --git a/libc/sysv/calls/timerfd_create.s b/libc/sysv/calls/timerfd_create.s index 3b93f6e946c..ed51bbef918 100644 --- a/libc/sysv/calls/timerfd_create.s +++ b/libc/sysv/calls/timerfd_create.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall timerfd_create 0xfffffffffffff11b globl +.scall timerfd_create,0xfffffffffffff11b,globl diff --git a/libc/sysv/calls/timerfd_gettime.s b/libc/sysv/calls/timerfd_gettime.s index eee7122129c..402a66bc892 100644 --- a/libc/sysv/calls/timerfd_gettime.s +++ b/libc/sysv/calls/timerfd_gettime.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall timerfd_gettime 0xfffffffffffff11f globl +.scall timerfd_gettime,0xfffffffffffff11f,globl diff --git a/libc/sysv/calls/timerfd_settime.s b/libc/sysv/calls/timerfd_settime.s index 7ea95ec9550..878aa6ac293 100644 --- a/libc/sysv/calls/timerfd_settime.s +++ b/libc/sysv/calls/timerfd_settime.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall timerfd_settime 0xfffffffffffff11e globl +.scall timerfd_settime,0xfffffffffffff11e,globl diff --git a/libc/sysv/calls/tkill.s b/libc/sysv/calls/tkill.s index 2aaf52fafc7..d11f0d15198 100644 --- a/libc/sysv/calls/tkill.s +++ b/libc/sysv/calls/tkill.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall tkill 0xfffffffffffff0c8 globl +.scall tkill,0xfffffffffffff0c8,globl diff --git a/libc/sysv/calls/ulock_wait.s b/libc/sysv/calls/ulock_wait.s index ca431e293ab..84676c8b145 100644 --- a/libc/sysv/calls/ulock_wait.s +++ b/libc/sysv/calls/ulock_wait.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ulock_wait 0xfffffffff2203fff globl +.scall ulock_wait,0xfffffffff2203fff,globl diff --git a/libc/sysv/calls/ulock_wake.s b/libc/sysv/calls/ulock_wake.s index 1dc9c13c2fd..bb15911e1d6 100644 --- a/libc/sysv/calls/ulock_wake.s +++ b/libc/sysv/calls/ulock_wake.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ulock_wake 0xfffffffff2204fff globl +.scall ulock_wake,0xfffffffff2204fff,globl diff --git a/libc/sysv/calls/umask.s b/libc/sysv/calls/umask.s index 03006a0a8d3..481f95f92bd 100644 --- a/libc/sysv/calls/umask.s +++ b/libc/sysv/calls/umask.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall umask 0x03c03c03c203c05f globl +.scall umask,0x03c03c03c203c05f,globl diff --git a/libc/sysv/calls/umask_extended.s b/libc/sysv/calls/umask_extended.s index 002d39a9649..46d06693acb 100644 --- a/libc/sysv/calls/umask_extended.s +++ b/libc/sysv/calls/umask_extended.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall umask_extended 0xfffffffff2116fff globl +.scall umask_extended,0xfffffffff2116fff,globl diff --git a/libc/sysv/calls/umount2.s b/libc/sysv/calls/umount2.s index 6058ba3b3db..2609749d607 100644 --- a/libc/sysv/calls/umount2.s +++ b/libc/sysv/calls/umount2.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall umount2 0xfffffffffffff0a6 globl +.scall umount2,0xfffffffffffff0a6,globl diff --git a/libc/sysv/calls/undelete.s b/libc/sysv/calls/undelete.s index 58df65bbc29..4ea9d1c3260 100644 --- a/libc/sysv/calls/undelete.s +++ b/libc/sysv/calls/undelete.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall undelete 0x0cdfff0cd20cdfff globl +.scall undelete,0x0cdfff0cd20cdfff,globl diff --git a/libc/sysv/calls/unmount.s b/libc/sysv/calls/unmount.s index 6decf4acac0..97c9d9e7df7 100644 --- a/libc/sysv/calls/unmount.s +++ b/libc/sysv/calls/unmount.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall unmount 0x016016016209ffff globl +.scall unmount,0x016016016209ffff,globl diff --git a/libc/sysv/calls/unshare.s b/libc/sysv/calls/unshare.s index 468b4a55370..40fe790da99 100644 --- a/libc/sysv/calls/unshare.s +++ b/libc/sysv/calls/unshare.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall unshare 0xfffffffffffff110 globl +.scall unshare,0xfffffffffffff110,globl diff --git a/libc/sysv/calls/unveil.s b/libc/sysv/calls/unveil.s index 4c74271f3b8..f6fccd4ea0e 100644 --- a/libc/sysv/calls/unveil.s +++ b/libc/sysv/calls/unveil.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall unveil 0xfff072ffffffffff globl +.scall unveil,0xfff072ffffffffff,globl diff --git a/libc/sysv/calls/userfaultfd.s b/libc/sysv/calls/userfaultfd.s index 0938aeb94e6..be07c53dbd3 100644 --- a/libc/sysv/calls/userfaultfd.s +++ b/libc/sysv/calls/userfaultfd.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall userfaultfd 0xfffffffffffff143 globl +.scall userfaultfd,0xfffffffffffff143,globl diff --git a/libc/sysv/calls/usrctl.s b/libc/sysv/calls/usrctl.s index 8b925e21a7b..cd5d69d070c 100644 --- a/libc/sysv/calls/usrctl.s +++ b/libc/sysv/calls/usrctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall usrctl 0xfffffffff21bdfff globl +.scall usrctl,0xfffffffff21bdfff,globl diff --git a/libc/sysv/calls/ustat.s b/libc/sysv/calls/ustat.s index 281e4a85304..13afc016ff7 100644 --- a/libc/sysv/calls/ustat.s +++ b/libc/sysv/calls/ustat.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall ustat 0xfffffffffffff088 globl +.scall ustat,0xfffffffffffff088,globl diff --git a/libc/sysv/calls/utrace.s b/libc/sysv/calls/utrace.s index e8a0305a84b..e236715c6d3 100644 --- a/libc/sysv/calls/utrace.s +++ b/libc/sysv/calls/utrace.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall utrace 0x1320d114ffffffff globl +.scall utrace,0x1320d114ffffffff,globl diff --git a/libc/sysv/calls/uuidgen.s b/libc/sysv/calls/uuidgen.s index fc4d9b86d2e..049ea48d09e 100644 --- a/libc/sysv/calls/uuidgen.s +++ b/libc/sysv/calls/uuidgen.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall uuidgen 0x163fff188fffffff globl +.scall uuidgen,0x163fff188fffffff,globl diff --git a/libc/sysv/calls/vadvise.s b/libc/sysv/calls/vadvise.s index 0fe3daa4e95..03f30456926 100644 --- a/libc/sysv/calls/vadvise.s +++ b/libc/sysv/calls/vadvise.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall vadvise 0xffffff048fffffff globl +.scall vadvise,0xffffff048fffffff,globl diff --git a/libc/sysv/calls/vfs_purge.s b/libc/sysv/calls/vfs_purge.s index d343fe9e13c..f81d5ef5f30 100644 --- a/libc/sysv/calls/vfs_purge.s +++ b/libc/sysv/calls/vfs_purge.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall vfs_purge 0xfffffffff21c7fff globl +.scall vfs_purge,0xfffffffff21c7fff,globl diff --git a/libc/sysv/calls/vhangup.s b/libc/sysv/calls/vhangup.s index 20472a1690a..e1acf479b76 100644 --- a/libc/sysv/calls/vhangup.s +++ b/libc/sysv/calls/vhangup.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall vhangup 0xfffffffffffff099 globl +.scall vhangup,0xfffffffffffff099,globl diff --git a/libc/sysv/calls/vm_pressure_monitor.s b/libc/sysv/calls/vm_pressure_monitor.s index a3f3f1d6fcc..d596d4b7e67 100644 --- a/libc/sysv/calls/vm_pressure_monitor.s +++ b/libc/sysv/calls/vm_pressure_monitor.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall vm_pressure_monitor 0xfffffffff2128fff globl +.scall vm_pressure_monitor,0xfffffffff2128fff,globl diff --git a/libc/sysv/calls/wait.s b/libc/sysv/calls/wait.s index 19b2a09aee7..780d89ab449 100644 --- a/libc/sysv/calls/wait.s +++ b/libc/sysv/calls/wait.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall wait 0xffffff054fffffff globl +.scall wait,0xffffff054fffffff,globl diff --git a/libc/sysv/calls/wait4_nocancel.s b/libc/sysv/calls/wait4_nocancel.s index 41a06d4ab30..67eeb46ced8 100644 --- a/libc/sysv/calls/wait4_nocancel.s +++ b/libc/sysv/calls/wait4_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall wait4_nocancel 0xfffffffff2190fff globl +.scall wait4_nocancel,0xfffffffff2190fff,globl diff --git a/libc/sysv/calls/wait6.s b/libc/sysv/calls/wait6.s index 76034af3525..e9117ac1c17 100644 --- a/libc/sysv/calls/wait6.s +++ b/libc/sysv/calls/wait6.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall wait6 0x1e1fff214fffffff globl +.scall wait6,0x1e1fff214fffffff,globl diff --git a/libc/sysv/calls/waitevent.s b/libc/sysv/calls/waitevent.s index 964fe2fb75e..ee335e2bfd5 100644 --- a/libc/sysv/calls/waitevent.s +++ b/libc/sysv/calls/waitevent.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall waitevent 0xfffffffff20e8fff globl +.scall waitevent,0xfffffffff20e8fff,globl diff --git a/libc/sysv/calls/waitid.s b/libc/sysv/calls/waitid.s index 75619d95500..4bbbd551440 100644 --- a/libc/sysv/calls/waitid.s +++ b/libc/sysv/calls/waitid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall waitid 0xfffffffff20ad0f7 globl +.scall waitid,0xfffffffff20ad0f7,globl diff --git a/libc/sysv/calls/waitid_nocancel.s b/libc/sysv/calls/waitid_nocancel.s index 3009e8ccae1..aa963e75c1b 100644 --- a/libc/sysv/calls/waitid_nocancel.s +++ b/libc/sysv/calls/waitid_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall waitid_nocancel 0xfffffffff21a0fff globl +.scall waitid_nocancel,0xfffffffff21a0fff,globl diff --git a/libc/sysv/calls/watchevent.s b/libc/sysv/calls/watchevent.s index 67bbc5ef9cd..d38e7d0f9b3 100644 --- a/libc/sysv/calls/watchevent.s +++ b/libc/sysv/calls/watchevent.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall watchevent 0xfffffffff20e7fff globl +.scall watchevent,0xfffffffff20e7fff,globl diff --git a/libc/sysv/calls/work_interval_ctl.s b/libc/sysv/calls/work_interval_ctl.s index d3a5ba7cfec..5f57a3c0736 100644 --- a/libc/sysv/calls/work_interval_ctl.s +++ b/libc/sysv/calls/work_interval_ctl.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall work_interval_ctl 0xfffffffff21f3fff globl +.scall work_interval_ctl,0xfffffffff21f3fff,globl diff --git a/libc/sysv/calls/workq_kernreturn.s b/libc/sysv/calls/workq_kernreturn.s index 5ef08470fd0..681ce73b01e 100644 --- a/libc/sysv/calls/workq_kernreturn.s +++ b/libc/sysv/calls/workq_kernreturn.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall workq_kernreturn 0xfffffffff2170fff globl +.scall workq_kernreturn,0xfffffffff2170fff,globl diff --git a/libc/sysv/calls/workq_open.s b/libc/sysv/calls/workq_open.s index 4920ff03896..84087d10cec 100644 --- a/libc/sysv/calls/workq_open.s +++ b/libc/sysv/calls/workq_open.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall workq_open 0xfffffffff216ffff globl +.scall workq_open,0xfffffffff216ffff,globl diff --git a/libc/sysv/calls/write_nocancel.s b/libc/sysv/calls/write_nocancel.s index 0047bd3b888..b1d16cf4b01 100644 --- a/libc/sysv/calls/write_nocancel.s +++ b/libc/sysv/calls/write_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall write_nocancel 0xfffffffff218dfff globl +.scall write_nocancel,0xfffffffff218dfff,globl diff --git a/libc/sysv/calls/writev_nocancel.s b/libc/sysv/calls/writev_nocancel.s index e2304fe37e8..b3f112b6313 100644 --- a/libc/sysv/calls/writev_nocancel.s +++ b/libc/sysv/calls/writev_nocancel.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall writev_nocancel 0xfffffffff219cfff globl +.scall writev_nocancel,0xfffffffff219cfff,globl diff --git a/libc/sysv/calls/yield.s b/libc/sysv/calls/yield.s index 3ce5b27dfd7..62eb18f5cf1 100644 --- a/libc/sysv/calls/yield.s +++ b/libc/sysv/calls/yield.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall yield 0xffffff141fffffff globl +.scall yield,0xffffff141fffffff,globl diff --git a/libc/sysv/consts.sh b/libc/sysv/consts.sh index f5294afbb42..885f43c9961 100755 --- a/libc/sysv/consts.sh +++ b/libc/sysv/consts.sh @@ -461,7 +461,7 @@ syscon auxv AT_UCACHEBSIZE 21 0 0 0 0 0 syscon auxv AT_SECURE 23 0 0 0 0 0 syscon auxv AT_BASE_PLATFORM 24 0 0 0 0 0 syscon auxv AT_RANDOM 25 0 0 0 0 0 # address of sixteen bytes of random data -syscon auxv AT_EXECFN 31 31 999 999 2014 999 # address of string containing first argument passed to execve() used when running program [faked on non-linux] +syscon auxv AT_EXECFN 31 31 999 999 2014 31 # address of string containing first argument passed to execve() used when running program [faked on non-linux] syscon auxv AT_SYSINFO_EHDR 33 0 0 0 0 0 syscon auxv AT_NO_AUTOMOUNT 0x0800 0 0 0 0 0 @@ -2265,7 +2265,7 @@ syscon misc EM_LATTICEMICO32 138 0 0 0 0 0 syscon misc EXPR_NEST_MAX 0x20 0x20 0x20 0x20 0x20 0 # unix consensus -# fallocate() flags (posix_fallocate() doesn't have these) +# linux fallocate() flags # # group name GNU/Systemd XNU's Not UNIX FreeBSD OpenBSD NetBSD XENIX Commentary syscon misc FALLOC_FL_KEEP_SIZE 0x01 -1 -1 -1 -1 -1 # bsd consensus diff --git a/libc/sysv/consts/ABDAY_1.S b/libc/sysv/consts/ABDAY_1.S index 358d7c2980d..f074c98fafb 100644 --- a/libc/sysv/consts/ABDAY_1.S +++ b/libc/sysv/consts/ABDAY_1.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ABDAY_1 0x020000 14 14 13 13 0 +.syscon misc,ABDAY_1,0x020000,14,14,13,13,0 diff --git a/libc/sysv/consts/ABDAY_2.S b/libc/sysv/consts/ABDAY_2.S index 0cfac37121f..16ca7ea51da 100644 --- a/libc/sysv/consts/ABDAY_2.S +++ b/libc/sysv/consts/ABDAY_2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ABDAY_2 0x020001 15 15 14 14 0 +.syscon misc,ABDAY_2,0x020001,15,15,14,14,0 diff --git a/libc/sysv/consts/ABDAY_3.S b/libc/sysv/consts/ABDAY_3.S index 6af8aaf182b..964a1796b1f 100644 --- a/libc/sysv/consts/ABDAY_3.S +++ b/libc/sysv/consts/ABDAY_3.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ABDAY_3 0x020002 0x10 0x10 15 15 0 +.syscon misc,ABDAY_3,0x020002,0x10,0x10,15,15,0 diff --git a/libc/sysv/consts/ABDAY_4.S b/libc/sysv/consts/ABDAY_4.S index cae4b2a4e47..7c71fcc73b2 100644 --- a/libc/sysv/consts/ABDAY_4.S +++ b/libc/sysv/consts/ABDAY_4.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ABDAY_4 0x020003 17 17 0x10 0x10 0 +.syscon misc,ABDAY_4,0x020003,17,17,0x10,0x10,0 diff --git a/libc/sysv/consts/ABDAY_5.S b/libc/sysv/consts/ABDAY_5.S index 3801f06b39a..86b55d21df4 100644 --- a/libc/sysv/consts/ABDAY_5.S +++ b/libc/sysv/consts/ABDAY_5.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ABDAY_5 0x020004 18 18 17 17 0 +.syscon misc,ABDAY_5,0x020004,18,18,17,17,0 diff --git a/libc/sysv/consts/ABDAY_6.S b/libc/sysv/consts/ABDAY_6.S index 11f598ae4cc..09d29ce5f62 100644 --- a/libc/sysv/consts/ABDAY_6.S +++ b/libc/sysv/consts/ABDAY_6.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ABDAY_6 0x020005 19 19 18 18 0 +.syscon misc,ABDAY_6,0x020005,19,19,18,18,0 diff --git a/libc/sysv/consts/ABDAY_7.S b/libc/sysv/consts/ABDAY_7.S index 4e514b248cd..095cf3efb12 100644 --- a/libc/sysv/consts/ABDAY_7.S +++ b/libc/sysv/consts/ABDAY_7.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ABDAY_7 0x020006 20 20 19 19 0 +.syscon misc,ABDAY_7,0x020006,20,20,19,19,0 diff --git a/libc/sysv/consts/ABORTED_COMMAND.S b/libc/sysv/consts/ABORTED_COMMAND.S index a97887d2f01..4cbcc7df9b0 100644 --- a/libc/sysv/consts/ABORTED_COMMAND.S +++ b/libc/sysv/consts/ABORTED_COMMAND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ABORTED_COMMAND 11 0 0 0 0 0 +.syscon misc,ABORTED_COMMAND,11,0,0,0,0,0 diff --git a/libc/sysv/consts/ACCOUNTING.S b/libc/sysv/consts/ACCOUNTING.S index 8cdb9bfa035..5c6c3e9075e 100644 --- a/libc/sysv/consts/ACCOUNTING.S +++ b/libc/sysv/consts/ACCOUNTING.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ACCOUNTING 9 9 0 0 0 0 +.syscon misc,ACCOUNTING,9,9,0,0,0,0 diff --git a/libc/sysv/consts/ACCT_BYTEORDER.S b/libc/sysv/consts/ACCT_BYTEORDER.S index 2e82851c568..f781519b43f 100644 --- a/libc/sysv/consts/ACCT_BYTEORDER.S +++ b/libc/sysv/consts/ACCT_BYTEORDER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ACCT_BYTEORDER 0 0 0 0 0 0 +.syscon misc,ACCT_BYTEORDER,0,0,0,0,0,0 diff --git a/libc/sysv/consts/ACCT_COMM.S b/libc/sysv/consts/ACCT_COMM.S index 01467ffabb6..ae676d743f1 100644 --- a/libc/sysv/consts/ACCT_COMM.S +++ b/libc/sysv/consts/ACCT_COMM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ACCT_COMM 0x10 0 0 0 0 0 +.syscon misc,ACCT_COMM,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/ACK.S b/libc/sysv/consts/ACK.S index e2cd96b00f1..7d1fee37160 100644 --- a/libc/sysv/consts/ACK.S +++ b/libc/sysv/consts/ACK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ACK 4 4 4 4 4 0 +.syscon misc,ACK,4,4,4,4,4,0 diff --git a/libc/sysv/consts/ACORE.S b/libc/sysv/consts/ACORE.S index b10398d53e4..6f849039537 100644 --- a/libc/sysv/consts/ACORE.S +++ b/libc/sysv/consts/ACORE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ACORE 0 8 8 8 8 0 +.syscon misc,ACORE,0,8,8,8,8,0 diff --git a/libc/sysv/consts/ADDR_COMPAT_LAYOUT.S b/libc/sysv/consts/ADDR_COMPAT_LAYOUT.S index 8a5b00dd4a8..466079c6c0e 100644 --- a/libc/sysv/consts/ADDR_COMPAT_LAYOUT.S +++ b/libc/sysv/consts/ADDR_COMPAT_LAYOUT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon prsnlty ADDR_COMPAT_LAYOUT 0x0200000 -1 -1 -1 -1 -1 +.syscon prsnlty,ADDR_COMPAT_LAYOUT,0x0200000,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ADDR_LIMIT_32BIT.S b/libc/sysv/consts/ADDR_LIMIT_32BIT.S index 913b49e9ac8..4c4b129afd0 100644 --- a/libc/sysv/consts/ADDR_LIMIT_32BIT.S +++ b/libc/sysv/consts/ADDR_LIMIT_32BIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon prsnlty ADDR_LIMIT_32BIT 0x0800000 -1 -1 -1 -1 -1 +.syscon prsnlty,ADDR_LIMIT_32BIT,0x0800000,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ADDR_LIMIT_3GB.S b/libc/sysv/consts/ADDR_LIMIT_3GB.S index ff5b523174b..c7d5949f79b 100644 --- a/libc/sysv/consts/ADDR_LIMIT_3GB.S +++ b/libc/sysv/consts/ADDR_LIMIT_3GB.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon prsnlty ADDR_LIMIT_3GB 0x8000000 -1 -1 -1 -1 -1 +.syscon prsnlty,ADDR_LIMIT_3GB,0x8000000,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ADDR_NO_RANDOMIZE.S b/libc/sysv/consts/ADDR_NO_RANDOMIZE.S index e7321c5f52a..81b94e3bff3 100644 --- a/libc/sysv/consts/ADDR_NO_RANDOMIZE.S +++ b/libc/sysv/consts/ADDR_NO_RANDOMIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon prsnlty ADDR_NO_RANDOMIZE 0x0040000 -1 -1 -1 -1 -1 +.syscon prsnlty,ADDR_NO_RANDOMIZE,0x0040000,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/AFORK.S b/libc/sysv/consts/AFORK.S index 594590b4f55..0eb2c04563c 100644 --- a/libc/sysv/consts/AFORK.S +++ b/libc/sysv/consts/AFORK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc AFORK 0 1 1 1 1 0 +.syscon misc,AFORK,0,1,1,1,1,0 diff --git a/libc/sysv/consts/AF_ALG.S b/libc/sysv/consts/AF_ALG.S index 77d105e6ae4..c590101737b 100644 --- a/libc/sysv/consts/AF_ALG.S +++ b/libc/sysv/consts/AF_ALG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_ALG 38 0 0 0 0 0 +.syscon af,AF_ALG,38,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_APPLETALK.S b/libc/sysv/consts/AF_APPLETALK.S index 4a538b06a13..bbed198c567 100644 --- a/libc/sysv/consts/AF_APPLETALK.S +++ b/libc/sysv/consts/AF_APPLETALK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_APPLETALK 5 0x10 0x10 0x10 0x10 0x10 +.syscon af,AF_APPLETALK,5,0x10,0x10,0x10,0x10,0x10 diff --git a/libc/sysv/consts/AF_ASH.S b/libc/sysv/consts/AF_ASH.S index 8d72e51061b..44fe7d5a0f0 100644 --- a/libc/sysv/consts/AF_ASH.S +++ b/libc/sysv/consts/AF_ASH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_ASH 18 0 0 0 0 0 +.syscon af,AF_ASH,18,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_ATMPVC.S b/libc/sysv/consts/AF_ATMPVC.S index 640a9fea7f8..a0952310b9e 100644 --- a/libc/sysv/consts/AF_ATMPVC.S +++ b/libc/sysv/consts/AF_ATMPVC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_ATMPVC 8 0 0 0 0 0 +.syscon af,AF_ATMPVC,8,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_ATMSVC.S b/libc/sysv/consts/AF_ATMSVC.S index 118811c926f..c05f96c9961 100644 --- a/libc/sysv/consts/AF_ATMSVC.S +++ b/libc/sysv/consts/AF_ATMSVC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_ATMSVC 20 0 0 0 0 0 +.syscon af,AF_ATMSVC,20,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_AX25.S b/libc/sysv/consts/AF_AX25.S index 295f9640349..6ac8c5097e1 100644 --- a/libc/sysv/consts/AF_AX25.S +++ b/libc/sysv/consts/AF_AX25.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_AX25 3 0 0 0 0 0 +.syscon af,AF_AX25,3,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_BLUETOOTH.S b/libc/sysv/consts/AF_BLUETOOTH.S index d86fb4f7ed2..7cd00f07ac5 100644 --- a/libc/sysv/consts/AF_BLUETOOTH.S +++ b/libc/sysv/consts/AF_BLUETOOTH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_BLUETOOTH 31 0 36 0x20 31 0 +.syscon af,AF_BLUETOOTH,31,0,36,0x20,31,0 diff --git a/libc/sysv/consts/AF_BRIDGE.S b/libc/sysv/consts/AF_BRIDGE.S index 0a1600ae8e8..3cbdabbb331 100644 --- a/libc/sysv/consts/AF_BRIDGE.S +++ b/libc/sysv/consts/AF_BRIDGE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_BRIDGE 7 0 0 0 0 0 +.syscon af,AF_BRIDGE,7,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_CAIF.S b/libc/sysv/consts/AF_CAIF.S index da24b1706d0..2af442068d0 100644 --- a/libc/sysv/consts/AF_CAIF.S +++ b/libc/sysv/consts/AF_CAIF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_CAIF 37 0 0 0 0 0 +.syscon af,AF_CAIF,37,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_CAN.S b/libc/sysv/consts/AF_CAN.S index 556cf9b957e..41eaacb1270 100644 --- a/libc/sysv/consts/AF_CAN.S +++ b/libc/sysv/consts/AF_CAN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_CAN 29 0 0 0 35 0 +.syscon af,AF_CAN,29,0,0,0,35,0 diff --git a/libc/sysv/consts/AF_ECONET.S b/libc/sysv/consts/AF_ECONET.S index 590a372ff49..48c8667e04a 100644 --- a/libc/sysv/consts/AF_ECONET.S +++ b/libc/sysv/consts/AF_ECONET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_ECONET 19 0 0 0 0 0 +.syscon af,AF_ECONET,19,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_FILE.S b/libc/sysv/consts/AF_FILE.S index f2750a18fc0..419d70a8799 100644 --- a/libc/sysv/consts/AF_FILE.S +++ b/libc/sysv/consts/AF_FILE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_FILE 1 0 0 0 0 0 +.syscon af,AF_FILE,1,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_IB.S b/libc/sysv/consts/AF_IB.S index 926e3ce509d..251f8d7a2dc 100644 --- a/libc/sysv/consts/AF_IB.S +++ b/libc/sysv/consts/AF_IB.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_IB 27 0 0 0 0 0 +.syscon af,AF_IB,27,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_IEEE802154.S b/libc/sysv/consts/AF_IEEE802154.S index 8ba1fe60f55..9bb1d979dc9 100644 --- a/libc/sysv/consts/AF_IEEE802154.S +++ b/libc/sysv/consts/AF_IEEE802154.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_IEEE802154 36 0 0 0 0 0 +.syscon af,AF_IEEE802154,36,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_INET.S b/libc/sysv/consts/AF_INET.S index c63bd04c0a7..d496aff726d 100644 --- a/libc/sysv/consts/AF_INET.S +++ b/libc/sysv/consts/AF_INET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_INET 2 2 2 2 2 2 +.syscon af,AF_INET,2,2,2,2,2,2 diff --git a/libc/sysv/consts/AF_INET6.S b/libc/sysv/consts/AF_INET6.S index c0cbfaf086f..ea933b00acf 100644 --- a/libc/sysv/consts/AF_INET6.S +++ b/libc/sysv/consts/AF_INET6.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_INET6 10 30 28 24 24 23 +.syscon af,AF_INET6,10,30,28,24,24,23 diff --git a/libc/sysv/consts/AF_IPX.S b/libc/sysv/consts/AF_IPX.S index fddb12e1a8b..a3c5a1d7cce 100644 --- a/libc/sysv/consts/AF_IPX.S +++ b/libc/sysv/consts/AF_IPX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_IPX 4 23 23 23 23 0 +.syscon af,AF_IPX,4,23,23,23,23,0 diff --git a/libc/sysv/consts/AF_IRDA.S b/libc/sysv/consts/AF_IRDA.S index fb9ca21489b..5e75e236b32 100644 --- a/libc/sysv/consts/AF_IRDA.S +++ b/libc/sysv/consts/AF_IRDA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_IRDA 23 0 0 0 0 0 +.syscon af,AF_IRDA,23,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_ISDN.S b/libc/sysv/consts/AF_ISDN.S index 9a74f2c11e5..641815d9425 100644 --- a/libc/sysv/consts/AF_ISDN.S +++ b/libc/sysv/consts/AF_ISDN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_ISDN 34 28 26 26 26 0 +.syscon af,AF_ISDN,34,28,26,26,26,0 diff --git a/libc/sysv/consts/AF_IUCV.S b/libc/sysv/consts/AF_IUCV.S index 1ffd89d6723..38e9c638e92 100644 --- a/libc/sysv/consts/AF_IUCV.S +++ b/libc/sysv/consts/AF_IUCV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_IUCV 0x20 0 0 0 0 0 +.syscon af,AF_IUCV,0x20,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_KCM.S b/libc/sysv/consts/AF_KCM.S index f6e66eda433..912d36fe717 100644 --- a/libc/sysv/consts/AF_KCM.S +++ b/libc/sysv/consts/AF_KCM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_KCM 41 0 0 0 0 0 +.syscon af,AF_KCM,41,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_KEY.S b/libc/sysv/consts/AF_KEY.S index b1c7339667b..974def0b1b9 100644 --- a/libc/sysv/consts/AF_KEY.S +++ b/libc/sysv/consts/AF_KEY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_KEY 15 0 0 30 30 0 +.syscon af,AF_KEY,15,0,0,30,30,0 diff --git a/libc/sysv/consts/AF_LLC.S b/libc/sysv/consts/AF_LLC.S index 728f5b7e717..69666a44ead 100644 --- a/libc/sysv/consts/AF_LLC.S +++ b/libc/sysv/consts/AF_LLC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_LLC 26 0 0 0 0 0 +.syscon af,AF_LLC,26,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_LOCAL.S b/libc/sysv/consts/AF_LOCAL.S index 84d2c1269df..7637a6e23f9 100644 --- a/libc/sysv/consts/AF_LOCAL.S +++ b/libc/sysv/consts/AF_LOCAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_LOCAL 1 1 1 1 1 0 +.syscon af,AF_LOCAL,1,1,1,1,1,0 diff --git a/libc/sysv/consts/AF_MAX.S b/libc/sysv/consts/AF_MAX.S index ade58dbfd0c..c4516b23b92 100644 --- a/libc/sysv/consts/AF_MAX.S +++ b/libc/sysv/consts/AF_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_MAX 42 40 42 36 37 35 +.syscon af,AF_MAX,42,40,42,36,37,35 diff --git a/libc/sysv/consts/AF_MPLS.S b/libc/sysv/consts/AF_MPLS.S index 1619719b193..2f9e614d6d5 100644 --- a/libc/sysv/consts/AF_MPLS.S +++ b/libc/sysv/consts/AF_MPLS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_MPLS 28 0 0 33 33 0 +.syscon af,AF_MPLS,28,0,0,33,33,0 diff --git a/libc/sysv/consts/AF_NETBEUI.S b/libc/sysv/consts/AF_NETBEUI.S index e62c2b5b914..20c9099af91 100644 --- a/libc/sysv/consts/AF_NETBEUI.S +++ b/libc/sysv/consts/AF_NETBEUI.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_NETBEUI 13 0 0 0 0 0 +.syscon af,AF_NETBEUI,13,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_NETLINK.S b/libc/sysv/consts/AF_NETLINK.S index 8b9ef13b8f6..5bdf97e16e1 100644 --- a/libc/sysv/consts/AF_NETLINK.S +++ b/libc/sysv/consts/AF_NETLINK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_NETLINK 16 0 0 0 0 0 +.syscon af,AF_NETLINK,16,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_NETROM.S b/libc/sysv/consts/AF_NETROM.S index 0884e8a6fae..5e0f7e8a3f3 100644 --- a/libc/sysv/consts/AF_NETROM.S +++ b/libc/sysv/consts/AF_NETROM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_NETROM 6 0 0 0 0 0 +.syscon af,AF_NETROM,6,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_NFC.S b/libc/sysv/consts/AF_NFC.S index c8518c9f44f..a8b38eb0b5b 100644 --- a/libc/sysv/consts/AF_NFC.S +++ b/libc/sysv/consts/AF_NFC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_NFC 39 0 0 0 0 0 +.syscon af,AF_NFC,39,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_PACKET.S b/libc/sysv/consts/AF_PACKET.S index 6325d01700c..d6e32357758 100644 --- a/libc/sysv/consts/AF_PACKET.S +++ b/libc/sysv/consts/AF_PACKET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_PACKET 17 0 0 0 0 0 +.syscon af,AF_PACKET,17,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_PHONET.S b/libc/sysv/consts/AF_PHONET.S index 03ad64bd0dc..e65f14a924b 100644 --- a/libc/sysv/consts/AF_PHONET.S +++ b/libc/sysv/consts/AF_PHONET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_PHONET 35 0 0 0 0 0 +.syscon af,AF_PHONET,35,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_PPPOX.S b/libc/sysv/consts/AF_PPPOX.S index 295d416f8a6..28cf821dc9a 100644 --- a/libc/sysv/consts/AF_PPPOX.S +++ b/libc/sysv/consts/AF_PPPOX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_PPPOX 24 0 0 0 0 0 +.syscon af,AF_PPPOX,24,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_RDS.S b/libc/sysv/consts/AF_RDS.S index 3df7d9cf40f..bc1194c6a1b 100644 --- a/libc/sysv/consts/AF_RDS.S +++ b/libc/sysv/consts/AF_RDS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_RDS 21 0 0 0 0 0 +.syscon af,AF_RDS,21,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_ROSE.S b/libc/sysv/consts/AF_ROSE.S index 966a09423b6..9fa7fd51e0f 100644 --- a/libc/sysv/consts/AF_ROSE.S +++ b/libc/sysv/consts/AF_ROSE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_ROSE 11 0 0 0 0 0 +.syscon af,AF_ROSE,11,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_ROUTE.S b/libc/sysv/consts/AF_ROUTE.S index 4e9bfccecf9..ab76d1e2358 100644 --- a/libc/sysv/consts/AF_ROUTE.S +++ b/libc/sysv/consts/AF_ROUTE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_ROUTE 16 17 17 17 34 0 +.syscon af,AF_ROUTE,16,17,17,17,34,0 diff --git a/libc/sysv/consts/AF_RXRPC.S b/libc/sysv/consts/AF_RXRPC.S index 009be72f089..de1362e3a52 100644 --- a/libc/sysv/consts/AF_RXRPC.S +++ b/libc/sysv/consts/AF_RXRPC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_RXRPC 33 0 0 0 0 0 +.syscon af,AF_RXRPC,33,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_SECURITY.S b/libc/sysv/consts/AF_SECURITY.S index 19f8c69bbd9..ef1a4082d99 100644 --- a/libc/sysv/consts/AF_SECURITY.S +++ b/libc/sysv/consts/AF_SECURITY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_SECURITY 14 0 0 0 0 0 +.syscon af,AF_SECURITY,14,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_SNA.S b/libc/sysv/consts/AF_SNA.S index d3e3e946114..d6ebc1b756a 100644 --- a/libc/sysv/consts/AF_SNA.S +++ b/libc/sysv/consts/AF_SNA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_SNA 22 11 11 11 11 11 +.syscon af,AF_SNA,22,11,11,11,11,11 diff --git a/libc/sysv/consts/AF_TIPC.S b/libc/sysv/consts/AF_TIPC.S index ae2f93a2c11..3d7a12160f5 100644 --- a/libc/sysv/consts/AF_TIPC.S +++ b/libc/sysv/consts/AF_TIPC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_TIPC 30 0 0 0 0 0 +.syscon af,AF_TIPC,30,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_UNIX.S b/libc/sysv/consts/AF_UNIX.S index 9dade18829d..ed190c7d4b2 100644 --- a/libc/sysv/consts/AF_UNIX.S +++ b/libc/sysv/consts/AF_UNIX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_UNIX 1 1 1 1 1 1 +.syscon af,AF_UNIX,1,1,1,1,1,1 diff --git a/libc/sysv/consts/AF_UNSPEC.S b/libc/sysv/consts/AF_UNSPEC.S index f94ced1af23..23e5eb75396 100644 --- a/libc/sysv/consts/AF_UNSPEC.S +++ b/libc/sysv/consts/AF_UNSPEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_UNSPEC 0 0 0 0 0 0 +.syscon af,AF_UNSPEC,0,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_VSOCK.S b/libc/sysv/consts/AF_VSOCK.S index f37e0b40120..49a398ea067 100644 --- a/libc/sysv/consts/AF_VSOCK.S +++ b/libc/sysv/consts/AF_VSOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_VSOCK 40 0 0 0 0 0 +.syscon af,AF_VSOCK,40,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_WANPIPE.S b/libc/sysv/consts/AF_WANPIPE.S index dfa151f2188..8475c33312a 100644 --- a/libc/sysv/consts/AF_WANPIPE.S +++ b/libc/sysv/consts/AF_WANPIPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_WANPIPE 25 0 0 0 0 0 +.syscon af,AF_WANPIPE,25,0,0,0,0,0 diff --git a/libc/sysv/consts/AF_X25.S b/libc/sysv/consts/AF_X25.S index 2bfddc12b67..e73a1562ddf 100644 --- a/libc/sysv/consts/AF_X25.S +++ b/libc/sysv/consts/AF_X25.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon af AF_X25 9 0 0 0 0 0 +.syscon af,AF_X25,9,0,0,0,0,0 diff --git a/libc/sysv/consts/AHZ.S b/libc/sysv/consts/AHZ.S index 2ee9ff8cddb..31487326507 100644 --- a/libc/sysv/consts/AHZ.S +++ b/libc/sysv/consts/AHZ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc AHZ 100 0x40 0 0x40 0x40 0 +.syscon misc,AHZ,100,0x40,0,0x40,0x40,0 diff --git a/libc/sysv/consts/AIO_ALLDONE.S b/libc/sysv/consts/AIO_ALLDONE.S index d961a5ab755..fbced72f771 100644 --- a/libc/sysv/consts/AIO_ALLDONE.S +++ b/libc/sysv/consts/AIO_ALLDONE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc AIO_ALLDONE 2 1 3 0 0 0 +.syscon misc,AIO_ALLDONE,2,1,3,0,0,0 diff --git a/libc/sysv/consts/AIO_CANCELED.S b/libc/sysv/consts/AIO_CANCELED.S index 121e7a606d1..47acb00f453 100644 --- a/libc/sysv/consts/AIO_CANCELED.S +++ b/libc/sysv/consts/AIO_CANCELED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc AIO_CANCELED 0 2 1 0 0 0 +.syscon misc,AIO_CANCELED,0,2,1,0,0,0 diff --git a/libc/sysv/consts/AIO_NOTCANCELED.S b/libc/sysv/consts/AIO_NOTCANCELED.S index 7246777a7ba..ce744f8079f 100644 --- a/libc/sysv/consts/AIO_NOTCANCELED.S +++ b/libc/sysv/consts/AIO_NOTCANCELED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc AIO_NOTCANCELED 1 4 2 0 0 0 +.syscon misc,AIO_NOTCANCELED,1,4,2,0,0,0 diff --git a/libc/sysv/consts/AI_ADDRCONFIG.S b/libc/sysv/consts/AI_ADDRCONFIG.S index 53495d7d193..50088414009 100644 --- a/libc/sysv/consts/AI_ADDRCONFIG.S +++ b/libc/sysv/consts/AI_ADDRCONFIG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon gai AI_ADDRCONFIG 0x20 0x0400 0x0400 0x40 0x40 0x0400 +.syscon gai,AI_ADDRCONFIG,0x20,0x0400,0x0400,0x40,0x40,0x0400 diff --git a/libc/sysv/consts/AI_ALL.S b/libc/sysv/consts/AI_ALL.S index 3a44396e8ed..2193f2ef2f6 100644 --- a/libc/sysv/consts/AI_ALL.S +++ b/libc/sysv/consts/AI_ALL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon gai AI_ALL 0x10 0x0100 0x0100 0 0 0x0100 +.syscon gai,AI_ALL,0x10,0x0100,0x0100,0,0,0x0100 diff --git a/libc/sysv/consts/AI_CANONNAME.S b/libc/sysv/consts/AI_CANONNAME.S index ae986201ce8..6639a8f20ef 100644 --- a/libc/sysv/consts/AI_CANONNAME.S +++ b/libc/sysv/consts/AI_CANONNAME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon gai AI_CANONNAME 2 2 2 2 2 2 +.syscon gai,AI_CANONNAME,2,2,2,2,2,2 diff --git a/libc/sysv/consts/AI_NUMERICHOST.S b/libc/sysv/consts/AI_NUMERICHOST.S index 8b589a07c98..08404d179bd 100644 --- a/libc/sysv/consts/AI_NUMERICHOST.S +++ b/libc/sysv/consts/AI_NUMERICHOST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon gai AI_NUMERICHOST 4 4 4 4 4 4 +.syscon gai,AI_NUMERICHOST,4,4,4,4,4,4 diff --git a/libc/sysv/consts/AI_NUMERICSERV.S b/libc/sysv/consts/AI_NUMERICSERV.S index c72994ba47a..f93e42cf81d 100644 --- a/libc/sysv/consts/AI_NUMERICSERV.S +++ b/libc/sysv/consts/AI_NUMERICSERV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon gai AI_NUMERICSERV 0x0400 0x1000 8 0x10 0x10 8 +.syscon gai,AI_NUMERICSERV,0x0400,0x1000,8,0x10,0x10,8 diff --git a/libc/sysv/consts/AI_PASSIVE.S b/libc/sysv/consts/AI_PASSIVE.S index e451735ff38..fd32e171851 100644 --- a/libc/sysv/consts/AI_PASSIVE.S +++ b/libc/sysv/consts/AI_PASSIVE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon gai AI_PASSIVE 1 1 1 1 1 1 +.syscon gai,AI_PASSIVE,1,1,1,1,1,1 diff --git a/libc/sysv/consts/AI_V4MAPPED.S b/libc/sysv/consts/AI_V4MAPPED.S index 0a4dce45f6f..08122a1b1b2 100644 --- a/libc/sysv/consts/AI_V4MAPPED.S +++ b/libc/sysv/consts/AI_V4MAPPED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon gai AI_V4MAPPED 8 0x0800 0x0800 0 0 0x0800 +.syscon gai,AI_V4MAPPED,8,0x0800,0x0800,0,0,0x0800 diff --git a/libc/sysv/consts/ALLOW_MEDIUM_REMOVAL.S b/libc/sysv/consts/ALLOW_MEDIUM_REMOVAL.S index 16af88220b0..5d97501a8d2 100644 --- a/libc/sysv/consts/ALLOW_MEDIUM_REMOVAL.S +++ b/libc/sysv/consts/ALLOW_MEDIUM_REMOVAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ALLOW_MEDIUM_REMOVAL 30 0 0 0 0 0 +.syscon misc,ALLOW_MEDIUM_REMOVAL,30,0,0,0,0,0 diff --git a/libc/sysv/consts/ALT_DIGITS.S b/libc/sysv/consts/ALT_DIGITS.S index fd28e72f9dc..d10c7e339bd 100644 --- a/libc/sysv/consts/ALT_DIGITS.S +++ b/libc/sysv/consts/ALT_DIGITS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ALT_DIGITS 0x02002f 49 49 0 0 0 +.syscon misc,ALT_DIGITS,0x02002f,49,49,0,0,0 diff --git a/libc/sysv/consts/AM_STR.S b/libc/sysv/consts/AM_STR.S index 01ca5223219..4b75a3d963b 100644 --- a/libc/sysv/consts/AM_STR.S +++ b/libc/sysv/consts/AM_STR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc AM_STR 0x020026 5 5 4 4 0 +.syscon misc,AM_STR,0x020026,5,5,4,4,0 diff --git a/libc/sysv/consts/AREGTYPE.S b/libc/sysv/consts/AREGTYPE.S index 15e0def32c1..f34b61b1142 100644 --- a/libc/sysv/consts/AREGTYPE.S +++ b/libc/sysv/consts/AREGTYPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc AREGTYPE 0 0 0 0 0 0 +.syscon misc,AREGTYPE,0,0,0,0,0,0 diff --git a/libc/sysv/consts/ARPHRD_ETHER.S b/libc/sysv/consts/ARPHRD_ETHER.S index 7f243f2f063..357ff0d0631 100644 --- a/libc/sysv/consts/ARPHRD_ETHER.S +++ b/libc/sysv/consts/ARPHRD_ETHER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ARPHRD_ETHER 1 1 1 1 1 0 +.syscon misc,ARPHRD_ETHER,1,1,1,1,1,0 diff --git a/libc/sysv/consts/ARPHRD_FCFABRIC.S b/libc/sysv/consts/ARPHRD_FCFABRIC.S index 4020f044f6e..2eb31ea88f7 100644 --- a/libc/sysv/consts/ARPHRD_FCFABRIC.S +++ b/libc/sysv/consts/ARPHRD_FCFABRIC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ARPHRD_FCFABRIC 787 0 0 0 0 0 +.syscon misc,ARPHRD_FCFABRIC,787,0,0,0,0,0 diff --git a/libc/sysv/consts/ARPHRD_IEEE80211.S b/libc/sysv/consts/ARPHRD_IEEE80211.S index e1a5bc9256b..5dc5ccbff42 100644 --- a/libc/sysv/consts/ARPHRD_IEEE80211.S +++ b/libc/sysv/consts/ARPHRD_IEEE80211.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ARPHRD_IEEE80211 801 0 0 0 0 0 +.syscon misc,ARPHRD_IEEE80211,801,0,0,0,0,0 diff --git a/libc/sysv/consts/ARPHRD_IEEE80211_PRISM.S b/libc/sysv/consts/ARPHRD_IEEE80211_PRISM.S index 6718892a324..26ce1ef13ca 100644 --- a/libc/sysv/consts/ARPHRD_IEEE80211_PRISM.S +++ b/libc/sysv/consts/ARPHRD_IEEE80211_PRISM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ARPHRD_IEEE80211_PRISM 802 0 0 0 0 0 +.syscon misc,ARPHRD_IEEE80211_PRISM,802,0,0,0,0,0 diff --git a/libc/sysv/consts/ARPHRD_IEEE80211_RADIOTAP.S b/libc/sysv/consts/ARPHRD_IEEE80211_RADIOTAP.S index 6acf48106b1..16b3bfed344 100644 --- a/libc/sysv/consts/ARPHRD_IEEE80211_RADIOTAP.S +++ b/libc/sysv/consts/ARPHRD_IEEE80211_RADIOTAP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ARPHRD_IEEE80211_RADIOTAP 803 0 0 0 0 0 +.syscon misc,ARPHRD_IEEE80211_RADIOTAP,803,0,0,0,0,0 diff --git a/libc/sysv/consts/ARPHRD_IEEE802154.S b/libc/sysv/consts/ARPHRD_IEEE802154.S index 85526ab371a..ee85d9920f1 100644 --- a/libc/sysv/consts/ARPHRD_IEEE802154.S +++ b/libc/sysv/consts/ARPHRD_IEEE802154.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ARPHRD_IEEE802154 804 0 0 0 0 0 +.syscon misc,ARPHRD_IEEE802154,804,0,0,0,0,0 diff --git a/libc/sysv/consts/ARPHRD_IEEE802_TR.S b/libc/sysv/consts/ARPHRD_IEEE802_TR.S index 06a395092f2..8e7eb14ff05 100644 --- a/libc/sysv/consts/ARPHRD_IEEE802_TR.S +++ b/libc/sysv/consts/ARPHRD_IEEE802_TR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ARPHRD_IEEE802_TR 800 0 0 0 0 0 +.syscon misc,ARPHRD_IEEE802_TR,800,0,0,0,0,0 diff --git a/libc/sysv/consts/ARPHRD_LOCALTLK.S b/libc/sysv/consts/ARPHRD_LOCALTLK.S index c1a69a84ef4..53c6d58b78a 100644 --- a/libc/sysv/consts/ARPHRD_LOCALTLK.S +++ b/libc/sysv/consts/ARPHRD_LOCALTLK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ARPHRD_LOCALTLK 773 0 0 0 0 0 +.syscon misc,ARPHRD_LOCALTLK,773,0,0,0,0,0 diff --git a/libc/sysv/consts/ASU.S b/libc/sysv/consts/ASU.S index c0b6935d6bb..0e50957d9b6 100644 --- a/libc/sysv/consts/ASU.S +++ b/libc/sysv/consts/ASU.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ASU 0 2 2 2 2 0 +.syscon misc,ASU,0,2,2,2,2,0 diff --git a/libc/sysv/consts/ATF_NETMASK.S b/libc/sysv/consts/ATF_NETMASK.S index 7b45b03b5f9..8f60a3b206f 100644 --- a/libc/sysv/consts/ATF_NETMASK.S +++ b/libc/sysv/consts/ATF_NETMASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ATF_NETMASK 0x20 0 0 0 0 0 +.syscon misc,ATF_NETMASK,0x20,0,0,0,0,0 diff --git a/libc/sysv/consts/AT_BASE.S b/libc/sysv/consts/AT_BASE.S index 8d5eae29359..84a16f7eb96 100644 --- a/libc/sysv/consts/AT_BASE.S +++ b/libc/sysv/consts/AT_BASE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_BASE 7 0 7 0 7 0 +.syscon auxv,AT_BASE,7,0,7,0,7,0 diff --git a/libc/sysv/consts/AT_BASE_PLATFORM.S b/libc/sysv/consts/AT_BASE_PLATFORM.S index 3b9ea984584..a8fc53633de 100644 --- a/libc/sysv/consts/AT_BASE_PLATFORM.S +++ b/libc/sysv/consts/AT_BASE_PLATFORM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_BASE_PLATFORM 24 0 0 0 0 0 +.syscon auxv,AT_BASE_PLATFORM,24,0,0,0,0,0 diff --git a/libc/sysv/consts/AT_CLKTCK.S b/libc/sysv/consts/AT_CLKTCK.S index 60da527f307..889a06243cb 100644 --- a/libc/sysv/consts/AT_CLKTCK.S +++ b/libc/sysv/consts/AT_CLKTCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_CLKTCK 17 0 0 0 0 0 +.syscon auxv,AT_CLKTCK,17,0,0,0,0,0 diff --git a/libc/sysv/consts/AT_DCACHEBSIZE.S b/libc/sysv/consts/AT_DCACHEBSIZE.S index de5abf774b1..c891f8a0d9c 100644 --- a/libc/sysv/consts/AT_DCACHEBSIZE.S +++ b/libc/sysv/consts/AT_DCACHEBSIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_DCACHEBSIZE 19 0 0 0 0 0 +.syscon auxv,AT_DCACHEBSIZE,19,0,0,0,0,0 diff --git a/libc/sysv/consts/AT_EACCESS.S b/libc/sysv/consts/AT_EACCESS.S index 869e8421f41..9e18631fdfd 100644 --- a/libc/sysv/consts/AT_EACCESS.S +++ b/libc/sysv/consts/AT_EACCESS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon at AT_EACCESS 0x0200 0x10 0x0100 1 0x100 0 +.syscon at,AT_EACCESS,0x0200,0x10,0x0100,1,0x100,0 diff --git a/libc/sysv/consts/AT_EGID.S b/libc/sysv/consts/AT_EGID.S index 864b5592224..1826e2b9e02 100644 --- a/libc/sysv/consts/AT_EGID.S +++ b/libc/sysv/consts/AT_EGID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_EGID 14 0 0 0 2002 0 +.syscon auxv,AT_EGID,14,0,0,0,2002,0 diff --git a/libc/sysv/consts/AT_EMPTY_PATH.S b/libc/sysv/consts/AT_EMPTY_PATH.S index a2364e19462..9ebdd6c756d 100644 --- a/libc/sysv/consts/AT_EMPTY_PATH.S +++ b/libc/sysv/consts/AT_EMPTY_PATH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon at AT_EMPTY_PATH 0x1000 0 0 0 0 0 +.syscon at,AT_EMPTY_PATH,0x1000,0,0,0,0,0 diff --git a/libc/sysv/consts/AT_ENTRY.S b/libc/sysv/consts/AT_ENTRY.S index f3c29417701..d9ac51feb1d 100644 --- a/libc/sysv/consts/AT_ENTRY.S +++ b/libc/sysv/consts/AT_ENTRY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_ENTRY 9 0 9 0 9 0 +.syscon auxv,AT_ENTRY,9,0,9,0,9,0 diff --git a/libc/sysv/consts/AT_EUID.S b/libc/sysv/consts/AT_EUID.S index 033f2351b72..9de5fb1048b 100644 --- a/libc/sysv/consts/AT_EUID.S +++ b/libc/sysv/consts/AT_EUID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_EUID 12 0 0 0 2000 0 +.syscon auxv,AT_EUID,12,0,0,0,2000,0 diff --git a/libc/sysv/consts/AT_EXECFD.S b/libc/sysv/consts/AT_EXECFD.S index e186710a166..72091951636 100644 --- a/libc/sysv/consts/AT_EXECFD.S +++ b/libc/sysv/consts/AT_EXECFD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_EXECFD 2 0 2 0 2 0 +.syscon auxv,AT_EXECFD,2,0,2,0,2,0 diff --git a/libc/sysv/consts/AT_EXECFN.S b/libc/sysv/consts/AT_EXECFN.S index cce0018f349..ec03740c23e 100644 --- a/libc/sysv/consts/AT_EXECFN.S +++ b/libc/sysv/consts/AT_EXECFN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_EXECFN 31 31 999 999 2014 999 +.syscon auxv,AT_EXECFN,31,31,999,999,2014,31 diff --git a/libc/sysv/consts/AT_FDCWD.S b/libc/sysv/consts/AT_FDCWD.S index 90ccff22cac..66cc5fb6d82 100644 --- a/libc/sysv/consts/AT_FDCWD.S +++ b/libc/sysv/consts/AT_FDCWD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon at AT_FDCWD -100 -2 -100 -100 -100 -100 +.syscon at,AT_FDCWD,-100,-2,-100,-100,-100,-100 diff --git a/libc/sysv/consts/AT_GID.S b/libc/sysv/consts/AT_GID.S index cd5f0f6ffb1..b58908583fb 100644 --- a/libc/sysv/consts/AT_GID.S +++ b/libc/sysv/consts/AT_GID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_GID 13 0 0 0 2003 0 +.syscon auxv,AT_GID,13,0,0,0,2003,0 diff --git a/libc/sysv/consts/AT_ICACHEBSIZE.S b/libc/sysv/consts/AT_ICACHEBSIZE.S index 3dbaa8b101d..7ae38a63b2b 100644 --- a/libc/sysv/consts/AT_ICACHEBSIZE.S +++ b/libc/sysv/consts/AT_ICACHEBSIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_ICACHEBSIZE 20 0 0 0 0 0 +.syscon auxv,AT_ICACHEBSIZE,20,0,0,0,0,0 diff --git a/libc/sysv/consts/AT_NOTELF.S b/libc/sysv/consts/AT_NOTELF.S index fadfd75c81e..b1126c40248 100644 --- a/libc/sysv/consts/AT_NOTELF.S +++ b/libc/sysv/consts/AT_NOTELF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_NOTELF 10 0 10 0 0 0 +.syscon auxv,AT_NOTELF,10,0,10,0,0,0 diff --git a/libc/sysv/consts/AT_NO_AUTOMOUNT.S b/libc/sysv/consts/AT_NO_AUTOMOUNT.S index 6c01d649070..62ea21cc8a2 100644 --- a/libc/sysv/consts/AT_NO_AUTOMOUNT.S +++ b/libc/sysv/consts/AT_NO_AUTOMOUNT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_NO_AUTOMOUNT 0x0800 0 0 0 0 0 +.syscon auxv,AT_NO_AUTOMOUNT,0x0800,0,0,0,0,0 diff --git a/libc/sysv/consts/AT_OSRELDATE.S b/libc/sysv/consts/AT_OSRELDATE.S index d5d82e8edcd..d9e9855bb52 100644 --- a/libc/sysv/consts/AT_OSRELDATE.S +++ b/libc/sysv/consts/AT_OSRELDATE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_OSRELDATE 0 0 18 0 0 0 +.syscon auxv,AT_OSRELDATE,0,0,18,0,0,0 diff --git a/libc/sysv/consts/AT_PAGESZ.S b/libc/sysv/consts/AT_PAGESZ.S index 3d061f2d0c5..8a500083716 100644 --- a/libc/sysv/consts/AT_PAGESZ.S +++ b/libc/sysv/consts/AT_PAGESZ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_PAGESZ 6 0 6 0 6 0 +.syscon auxv,AT_PAGESZ,6,0,6,0,6,0 diff --git a/libc/sysv/consts/AT_PHDR.S b/libc/sysv/consts/AT_PHDR.S index 118b90ff484..64b33fe670a 100644 --- a/libc/sysv/consts/AT_PHDR.S +++ b/libc/sysv/consts/AT_PHDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_PHDR 3 0 3 0 3 0 +.syscon auxv,AT_PHDR,3,0,3,0,3,0 diff --git a/libc/sysv/consts/AT_PHENT.S b/libc/sysv/consts/AT_PHENT.S index 5c56dfeba9b..2afb2c290a8 100644 --- a/libc/sysv/consts/AT_PHENT.S +++ b/libc/sysv/consts/AT_PHENT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_PHENT 4 0 4 0 4 0 +.syscon auxv,AT_PHENT,4,0,4,0,4,0 diff --git a/libc/sysv/consts/AT_PHNUM.S b/libc/sysv/consts/AT_PHNUM.S index e975cd136cc..0b677987f68 100644 --- a/libc/sysv/consts/AT_PHNUM.S +++ b/libc/sysv/consts/AT_PHNUM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_PHNUM 5 0 5 0 5 0 +.syscon auxv,AT_PHNUM,5,0,5,0,5,0 diff --git a/libc/sysv/consts/AT_PLATFORM.S b/libc/sysv/consts/AT_PLATFORM.S index 8fad6fc9794..97c1aef6eab 100644 --- a/libc/sysv/consts/AT_PLATFORM.S +++ b/libc/sysv/consts/AT_PLATFORM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_PLATFORM 15 0 0 0 0 0 +.syscon auxv,AT_PLATFORM,15,0,0,0,0,0 diff --git a/libc/sysv/consts/AT_RANDOM.S b/libc/sysv/consts/AT_RANDOM.S index ce0a4aa3f95..28cce6500f1 100644 --- a/libc/sysv/consts/AT_RANDOM.S +++ b/libc/sysv/consts/AT_RANDOM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_RANDOM 25 0 0 0 0 0 +.syscon auxv,AT_RANDOM,25,0,0,0,0,0 diff --git a/libc/sysv/consts/AT_REMOVEDIR.S b/libc/sysv/consts/AT_REMOVEDIR.S index 5c0d7cee2b1..cef47cc1574 100644 --- a/libc/sysv/consts/AT_REMOVEDIR.S +++ b/libc/sysv/consts/AT_REMOVEDIR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon at AT_REMOVEDIR 0x0200 0x80 0x0800 8 0x800 0x0200 +.syscon at,AT_REMOVEDIR,0x0200,0x80,0x0800,8,0x800,0x0200 diff --git a/libc/sysv/consts/AT_SECURE.S b/libc/sysv/consts/AT_SECURE.S index 0d2073078b1..40b16972fb7 100644 --- a/libc/sysv/consts/AT_SECURE.S +++ b/libc/sysv/consts/AT_SECURE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_SECURE 23 0 0 0 0 0 +.syscon auxv,AT_SECURE,23,0,0,0,0,0 diff --git a/libc/sysv/consts/AT_SYMLINK_FOLLOW.S b/libc/sysv/consts/AT_SYMLINK_FOLLOW.S index fac69150ef2..cfe68ec6613 100644 --- a/libc/sysv/consts/AT_SYMLINK_FOLLOW.S +++ b/libc/sysv/consts/AT_SYMLINK_FOLLOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon at AT_SYMLINK_FOLLOW 0x0400 0x40 0x0400 4 4 0 +.syscon at,AT_SYMLINK_FOLLOW,0x0400,0x40,0x0400,4,4,0 diff --git a/libc/sysv/consts/AT_SYMLINK_NOFOLLOW.S b/libc/sysv/consts/AT_SYMLINK_NOFOLLOW.S index be4f8ac0246..ef715914ea0 100644 --- a/libc/sysv/consts/AT_SYMLINK_NOFOLLOW.S +++ b/libc/sysv/consts/AT_SYMLINK_NOFOLLOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon at AT_SYMLINK_NOFOLLOW 0x0100 0x20 0x0200 2 0x200 0 +.syscon at,AT_SYMLINK_NOFOLLOW,0x0100,0x20,0x0200,2,0x200,0 diff --git a/libc/sysv/consts/AT_SYSINFO_EHDR.S b/libc/sysv/consts/AT_SYSINFO_EHDR.S index 2781ed3519c..7e17729db51 100644 --- a/libc/sysv/consts/AT_SYSINFO_EHDR.S +++ b/libc/sysv/consts/AT_SYSINFO_EHDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_SYSINFO_EHDR 33 0 0 0 0 0 +.syscon auxv,AT_SYSINFO_EHDR,33,0,0,0,0,0 diff --git a/libc/sysv/consts/AT_UCACHEBSIZE.S b/libc/sysv/consts/AT_UCACHEBSIZE.S index c975303dda6..3944b751cdc 100644 --- a/libc/sysv/consts/AT_UCACHEBSIZE.S +++ b/libc/sysv/consts/AT_UCACHEBSIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_UCACHEBSIZE 21 0 0 0 0 0 +.syscon auxv,AT_UCACHEBSIZE,21,0,0,0,0,0 diff --git a/libc/sysv/consts/AT_UID.S b/libc/sysv/consts/AT_UID.S index 0b9e5d87a51..a646b523575 100644 --- a/libc/sysv/consts/AT_UID.S +++ b/libc/sysv/consts/AT_UID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv AT_UID 11 0 0 0 2001 0 +.syscon auxv,AT_UID,11,0,0,0,2001,0 diff --git a/libc/sysv/consts/AXSIG.S b/libc/sysv/consts/AXSIG.S index d55ca040ae8..0c9dbf9ce75 100644 --- a/libc/sysv/consts/AXSIG.S +++ b/libc/sysv/consts/AXSIG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc AXSIG 0 0x10 0x10 0x10 0x10 0 +.syscon misc,AXSIG,0,0x10,0x10,0x10,0x10,0 diff --git a/libc/sysv/consts/B0.S b/libc/sysv/consts/B0.S index b02a01c327e..3f806bfd6d7 100644 --- a/libc/sysv/consts/B0.S +++ b/libc/sysv/consts/B0.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B0 0 0 0 0 0 0 +.syscon misc,B0,0,0,0,0,0,0 diff --git a/libc/sysv/consts/B1000000.S b/libc/sysv/consts/B1000000.S index 6c22b9af9af..a193a7131ed 100644 --- a/libc/sysv/consts/B1000000.S +++ b/libc/sysv/consts/B1000000.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B1000000 0x1008 0 0 0 0 0 +.syscon misc,B1000000,0x1008,0,0,0,0,0 diff --git a/libc/sysv/consts/B110.S b/libc/sysv/consts/B110.S index 16426a8fb4c..229ee7c24ee 100644 --- a/libc/sysv/consts/B110.S +++ b/libc/sysv/consts/B110.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B110 3 110 110 110 110 0 +.syscon misc,B110,3,110,110,110,110,0 diff --git a/libc/sysv/consts/B115200.S b/libc/sysv/consts/B115200.S index 01204d4f908..f9462c6f75b 100644 --- a/libc/sysv/consts/B115200.S +++ b/libc/sysv/consts/B115200.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B115200 0x1002 0x01c200 0x01c200 0x01c200 0x01c200 0 +.syscon misc,B115200,0x1002,0x01c200,0x01c200,0x01c200,0x01c200,0 diff --git a/libc/sysv/consts/B1152000.S b/libc/sysv/consts/B1152000.S index a20cefd9dce..66553db413c 100644 --- a/libc/sysv/consts/B1152000.S +++ b/libc/sysv/consts/B1152000.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B1152000 0x1009 0 0 0 0 0 +.syscon misc,B1152000,0x1009,0,0,0,0,0 diff --git a/libc/sysv/consts/B1200.S b/libc/sysv/consts/B1200.S index d76726fbe97..b430d2aa7ae 100644 --- a/libc/sysv/consts/B1200.S +++ b/libc/sysv/consts/B1200.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B1200 9 0x04b0 0x04b0 0x04b0 0x04b0 0 +.syscon misc,B1200,9,0x04b0,0x04b0,0x04b0,0x04b0,0 diff --git a/libc/sysv/consts/B134.S b/libc/sysv/consts/B134.S index 2d4fec27731..08ae007b36b 100644 --- a/libc/sysv/consts/B134.S +++ b/libc/sysv/consts/B134.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B134 4 134 134 134 134 0 +.syscon misc,B134,4,134,134,134,134,0 diff --git a/libc/sysv/consts/B150.S b/libc/sysv/consts/B150.S index 834a19f38e2..1708a6b0a95 100644 --- a/libc/sysv/consts/B150.S +++ b/libc/sysv/consts/B150.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B150 5 150 150 150 150 0 +.syscon misc,B150,5,150,150,150,150,0 diff --git a/libc/sysv/consts/B1500000.S b/libc/sysv/consts/B1500000.S index 012174369af..59edebc7a4f 100644 --- a/libc/sysv/consts/B1500000.S +++ b/libc/sysv/consts/B1500000.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B1500000 0x100a 0 0 0 0 0 +.syscon misc,B1500000,0x100a,0,0,0,0,0 diff --git a/libc/sysv/consts/B1800.S b/libc/sysv/consts/B1800.S index fe0b3f2c178..97057c67883 100644 --- a/libc/sysv/consts/B1800.S +++ b/libc/sysv/consts/B1800.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B1800 10 0x0708 0x0708 0x0708 0x0708 0 +.syscon misc,B1800,10,0x0708,0x0708,0x0708,0x0708,0 diff --git a/libc/sysv/consts/B19200.S b/libc/sysv/consts/B19200.S index f07d205a7ed..2b938092dff 100644 --- a/libc/sysv/consts/B19200.S +++ b/libc/sysv/consts/B19200.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B19200 14 0x4b00 0x4b00 0x4b00 0x4b00 0 +.syscon misc,B19200,14,0x4b00,0x4b00,0x4b00,0x4b00,0 diff --git a/libc/sysv/consts/B200.S b/libc/sysv/consts/B200.S index 2fa23a9cf98..64757f2ea0a 100644 --- a/libc/sysv/consts/B200.S +++ b/libc/sysv/consts/B200.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B200 6 200 200 200 200 0 +.syscon misc,B200,6,200,200,200,200,0 diff --git a/libc/sysv/consts/B2000000.S b/libc/sysv/consts/B2000000.S index 32dc5fb1631..4857b0c3c25 100644 --- a/libc/sysv/consts/B2000000.S +++ b/libc/sysv/consts/B2000000.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B2000000 0x100b 0 0 0 0 0 +.syscon misc,B2000000,0x100b,0,0,0,0,0 diff --git a/libc/sysv/consts/B230400.S b/libc/sysv/consts/B230400.S index e3d7a93f04d..68d2874bbd7 100644 --- a/libc/sysv/consts/B230400.S +++ b/libc/sysv/consts/B230400.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B230400 0x1003 0x038400 0x038400 0x038400 0x038400 0 +.syscon misc,B230400,0x1003,0x038400,0x038400,0x038400,0x038400,0 diff --git a/libc/sysv/consts/B2400.S b/libc/sysv/consts/B2400.S index 31d921d7994..6a5ab6f87d9 100644 --- a/libc/sysv/consts/B2400.S +++ b/libc/sysv/consts/B2400.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B2400 11 0x0960 0x0960 0x0960 0x0960 0 +.syscon misc,B2400,11,0x0960,0x0960,0x0960,0x0960,0 diff --git a/libc/sysv/consts/B2500000.S b/libc/sysv/consts/B2500000.S index ba3b934dc9c..36e6bcf0d5f 100644 --- a/libc/sysv/consts/B2500000.S +++ b/libc/sysv/consts/B2500000.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B2500000 0x100c 0 0 0 0 0 +.syscon misc,B2500000,0x100c,0,0,0,0,0 diff --git a/libc/sysv/consts/B300.S b/libc/sysv/consts/B300.S index 27cbf1b9b5b..ede62dcd01b 100644 --- a/libc/sysv/consts/B300.S +++ b/libc/sysv/consts/B300.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B300 7 300 300 300 300 0 +.syscon misc,B300,7,300,300,300,300,0 diff --git a/libc/sysv/consts/B3000000.S b/libc/sysv/consts/B3000000.S index c698f2d5f65..61b7733f190 100644 --- a/libc/sysv/consts/B3000000.S +++ b/libc/sysv/consts/B3000000.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B3000000 0x100d 0 0 0 0 0 +.syscon misc,B3000000,0x100d,0,0,0,0,0 diff --git a/libc/sysv/consts/B3500000.S b/libc/sysv/consts/B3500000.S index ea73c9a317a..a9080990f1f 100644 --- a/libc/sysv/consts/B3500000.S +++ b/libc/sysv/consts/B3500000.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B3500000 0x100e 0 0 0 0 0 +.syscon misc,B3500000,0x100e,0,0,0,0,0 diff --git a/libc/sysv/consts/B38400.S b/libc/sysv/consts/B38400.S index 46b983c05c3..87685a4c286 100644 --- a/libc/sysv/consts/B38400.S +++ b/libc/sysv/consts/B38400.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B38400 15 0x9600 0x9600 0x9600 0x9600 0 +.syscon misc,B38400,15,0x9600,0x9600,0x9600,0x9600,0 diff --git a/libc/sysv/consts/B4000000.S b/libc/sysv/consts/B4000000.S index 856e75c4e62..b958620ee00 100644 --- a/libc/sysv/consts/B4000000.S +++ b/libc/sysv/consts/B4000000.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B4000000 0x100f 0 0 0 0 0 +.syscon misc,B4000000,0x100f,0,0,0,0,0 diff --git a/libc/sysv/consts/B460800.S b/libc/sysv/consts/B460800.S index ac7834820c3..c8bcd1f6930 100644 --- a/libc/sysv/consts/B460800.S +++ b/libc/sysv/consts/B460800.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B460800 0x1004 0 0x070800 0 0 0 +.syscon misc,B460800,0x1004,0,0x070800,0,0,0 diff --git a/libc/sysv/consts/B4800.S b/libc/sysv/consts/B4800.S index 2dd9992a6e7..65463c0ff5f 100644 --- a/libc/sysv/consts/B4800.S +++ b/libc/sysv/consts/B4800.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B4800 12 0x12c0 0x12c0 0x12c0 0x12c0 0 +.syscon misc,B4800,12,0x12c0,0x12c0,0x12c0,0x12c0,0 diff --git a/libc/sysv/consts/B50.S b/libc/sysv/consts/B50.S index 418c0b34613..91f1b612856 100644 --- a/libc/sysv/consts/B50.S +++ b/libc/sysv/consts/B50.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B50 1 50 50 50 50 0 +.syscon misc,B50,1,50,50,50,50,0 diff --git a/libc/sysv/consts/B500000.S b/libc/sysv/consts/B500000.S index 179ee152c91..efef699cfc9 100644 --- a/libc/sysv/consts/B500000.S +++ b/libc/sysv/consts/B500000.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B500000 0x1005 0 0 0 0 0 +.syscon misc,B500000,0x1005,0,0,0,0,0 diff --git a/libc/sysv/consts/B57600.S b/libc/sysv/consts/B57600.S index e37e614edd5..dbdea52c638 100644 --- a/libc/sysv/consts/B57600.S +++ b/libc/sysv/consts/B57600.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B57600 0x1001 0xe100 0xe100 0xe100 0xe100 0 +.syscon misc,B57600,0x1001,0xe100,0xe100,0xe100,0xe100,0 diff --git a/libc/sysv/consts/B576000.S b/libc/sysv/consts/B576000.S index 656296e5f78..62bc5b28d87 100644 --- a/libc/sysv/consts/B576000.S +++ b/libc/sysv/consts/B576000.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B576000 0x1006 0 0 0 0 0 +.syscon misc,B576000,0x1006,0,0,0,0,0 diff --git a/libc/sysv/consts/B600.S b/libc/sysv/consts/B600.S index 911fae5baa9..d4d84c1d068 100644 --- a/libc/sysv/consts/B600.S +++ b/libc/sysv/consts/B600.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B600 8 600 600 600 600 0 +.syscon misc,B600,8,600,600,600,600,0 diff --git a/libc/sysv/consts/B75.S b/libc/sysv/consts/B75.S index bef8f6889e8..0e552f0836f 100644 --- a/libc/sysv/consts/B75.S +++ b/libc/sysv/consts/B75.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B75 2 75 75 75 75 0 +.syscon misc,B75,2,75,75,75,75,0 diff --git a/libc/sysv/consts/B921600.S b/libc/sysv/consts/B921600.S index 4f7f6a93177..9f878fbc3aa 100644 --- a/libc/sysv/consts/B921600.S +++ b/libc/sysv/consts/B921600.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B921600 0x1007 0 0x0e1000 0 0 0 +.syscon misc,B921600,0x1007,0,0x0e1000,0,0,0 diff --git a/libc/sysv/consts/B9600.S b/libc/sysv/consts/B9600.S index 22eb699143f..5c6f1295e58 100644 --- a/libc/sysv/consts/B9600.S +++ b/libc/sysv/consts/B9600.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc B9600 13 0x2580 0x2580 0x2580 0x2580 0 +.syscon misc,B9600,13,0x2580,0x2580,0x2580,0x2580,0 diff --git a/libc/sysv/consts/BC_BASE_MAX.S b/libc/sysv/consts/BC_BASE_MAX.S index 56dbe670c80..ea9e9540531 100644 --- a/libc/sysv/consts/BC_BASE_MAX.S +++ b/libc/sysv/consts/BC_BASE_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BC_BASE_MAX 99 99 99 0x7fffffff 0x7fffffff 0 +.syscon misc,BC_BASE_MAX,99,99,99,0x7fffffff,0x7fffffff,0 diff --git a/libc/sysv/consts/BC_DIM_MAX.S b/libc/sysv/consts/BC_DIM_MAX.S index 07b07013fb6..c3b2986966c 100644 --- a/libc/sysv/consts/BC_DIM_MAX.S +++ b/libc/sysv/consts/BC_DIM_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BC_DIM_MAX 0x0800 0x0800 0x0800 0xffff 0xffff 0 +.syscon misc,BC_DIM_MAX,0x0800,0x0800,0x0800,0xffff,0xffff,0 diff --git a/libc/sysv/consts/BC_SCALE_MAX.S b/libc/sysv/consts/BC_SCALE_MAX.S index f6778ae7ef9..0bafd226c17 100644 --- a/libc/sysv/consts/BC_SCALE_MAX.S +++ b/libc/sysv/consts/BC_SCALE_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BC_SCALE_MAX 99 99 99 0x7fffffff 0x7fffffff 0 +.syscon misc,BC_SCALE_MAX,99,99,99,0x7fffffff,0x7fffffff,0 diff --git a/libc/sysv/consts/BC_STRING_MAX.S b/libc/sysv/consts/BC_STRING_MAX.S index a573cd6c6ea..3be4da6497c 100644 --- a/libc/sysv/consts/BC_STRING_MAX.S +++ b/libc/sysv/consts/BC_STRING_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BC_STRING_MAX 0x03e8 0x03e8 0x03e8 0x7fffffff 0x7fffffff 0 +.syscon misc,BC_STRING_MAX,0x03e8,0x03e8,0x03e8,0x7fffffff,0x7fffffff,0 diff --git a/libc/sysv/consts/BIG_ENDIAN.S b/libc/sysv/consts/BIG_ENDIAN.S index 115c2ae07e2..8e37ec0ad9a 100644 --- a/libc/sysv/consts/BIG_ENDIAN.S +++ b/libc/sysv/consts/BIG_ENDIAN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BIG_ENDIAN 0x10e1 0x10e1 0x10e1 0x10e1 0x10e1 0 +.syscon misc,BIG_ENDIAN,0x10e1,0x10e1,0x10e1,0x10e1,0x10e1,0 diff --git a/libc/sysv/consts/BITSPERBYTE.S b/libc/sysv/consts/BITSPERBYTE.S index 7bec7a20567..f0c75c2f58d 100644 --- a/libc/sysv/consts/BITSPERBYTE.S +++ b/libc/sysv/consts/BITSPERBYTE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BITSPERBYTE 8 0 0 0 0 0 +.syscon misc,BITSPERBYTE,8,0,0,0,0,0 diff --git a/libc/sysv/consts/BLANK_CHECK.S b/libc/sysv/consts/BLANK_CHECK.S index e537ff2e3d5..161ee9eaeb2 100644 --- a/libc/sysv/consts/BLANK_CHECK.S +++ b/libc/sysv/consts/BLANK_CHECK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLANK_CHECK 8 0 0 0 0 0 +.syscon misc,BLANK_CHECK,8,0,0,0,0,0 diff --git a/libc/sysv/consts/BLKBSZGET.S b/libc/sysv/consts/BLKBSZGET.S index b5d82acee5e..d55d1780a40 100644 --- a/libc/sysv/consts/BLKBSZGET.S +++ b/libc/sysv/consts/BLKBSZGET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLKBSZGET 0x80081270 0 0 0 0 0 +.syscon misc,BLKBSZGET,0x80081270,0,0,0,0,0 diff --git a/libc/sysv/consts/BLKBSZSET.S b/libc/sysv/consts/BLKBSZSET.S index ccdae655618..b573fad7309 100644 --- a/libc/sysv/consts/BLKBSZSET.S +++ b/libc/sysv/consts/BLKBSZSET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLKBSZSET 0x40081271 0 0 0 0 0 +.syscon misc,BLKBSZSET,0x40081271,0,0,0,0,0 diff --git a/libc/sysv/consts/BLKFLSBUF.S b/libc/sysv/consts/BLKFLSBUF.S index 5bc498e3257..a55b0e12b9a 100644 --- a/libc/sysv/consts/BLKFLSBUF.S +++ b/libc/sysv/consts/BLKFLSBUF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLKFLSBUF 0x1261 0 0 0 0 0 +.syscon misc,BLKFLSBUF,0x1261,0,0,0,0,0 diff --git a/libc/sysv/consts/BLKFRAGET.S b/libc/sysv/consts/BLKFRAGET.S index ab49e4be844..f41dd56b5f6 100644 --- a/libc/sysv/consts/BLKFRAGET.S +++ b/libc/sysv/consts/BLKFRAGET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLKFRAGET 0x1265 0 0 0 0 0 +.syscon misc,BLKFRAGET,0x1265,0,0,0,0,0 diff --git a/libc/sysv/consts/BLKFRASET.S b/libc/sysv/consts/BLKFRASET.S index 5a14435652d..02d38a75024 100644 --- a/libc/sysv/consts/BLKFRASET.S +++ b/libc/sysv/consts/BLKFRASET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLKFRASET 0x1264 0 0 0 0 0 +.syscon misc,BLKFRASET,0x1264,0,0,0,0,0 diff --git a/libc/sysv/consts/BLKGETSIZE.S b/libc/sysv/consts/BLKGETSIZE.S index ec5584fd6f8..17cdeb6f62a 100644 --- a/libc/sysv/consts/BLKGETSIZE.S +++ b/libc/sysv/consts/BLKGETSIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLKGETSIZE 0x1260 0 0 0 0 0 +.syscon misc,BLKGETSIZE,0x1260,0,0,0,0,0 diff --git a/libc/sysv/consts/BLKGETSIZE64.S b/libc/sysv/consts/BLKGETSIZE64.S index a927602d5b6..8272000647a 100644 --- a/libc/sysv/consts/BLKGETSIZE64.S +++ b/libc/sysv/consts/BLKGETSIZE64.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLKGETSIZE64 0x80081272 0 0 0 0 0 +.syscon misc,BLKGETSIZE64,0x80081272,0,0,0,0,0 diff --git a/libc/sysv/consts/BLKRAGET.S b/libc/sysv/consts/BLKRAGET.S index e0813a7f832..923f1015b26 100644 --- a/libc/sysv/consts/BLKRAGET.S +++ b/libc/sysv/consts/BLKRAGET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLKRAGET 0x1263 0 0 0 0 0 +.syscon misc,BLKRAGET,0x1263,0,0,0,0,0 diff --git a/libc/sysv/consts/BLKRASET.S b/libc/sysv/consts/BLKRASET.S index 8b14d23447c..463db8579e4 100644 --- a/libc/sysv/consts/BLKRASET.S +++ b/libc/sysv/consts/BLKRASET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLKRASET 0x1262 0 0 0 0 0 +.syscon misc,BLKRASET,0x1262,0,0,0,0,0 diff --git a/libc/sysv/consts/BLKROGET.S b/libc/sysv/consts/BLKROGET.S index 2c43af5d034..02a2a9b85ce 100644 --- a/libc/sysv/consts/BLKROGET.S +++ b/libc/sysv/consts/BLKROGET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLKROGET 0x125e 0 0 0 0 0 +.syscon misc,BLKROGET,0x125e,0,0,0,0,0 diff --git a/libc/sysv/consts/BLKROSET.S b/libc/sysv/consts/BLKROSET.S index 3709c7ec347..cc20461e73c 100644 --- a/libc/sysv/consts/BLKROSET.S +++ b/libc/sysv/consts/BLKROSET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLKROSET 0x125d 0 0 0 0 0 +.syscon misc,BLKROSET,0x125d,0,0,0,0,0 diff --git a/libc/sysv/consts/BLKRRPART.S b/libc/sysv/consts/BLKRRPART.S index 59b29768f0c..951ce4beb92 100644 --- a/libc/sysv/consts/BLKRRPART.S +++ b/libc/sysv/consts/BLKRRPART.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLKRRPART 0x125f 0 0 0 0 0 +.syscon misc,BLKRRPART,0x125f,0,0,0,0,0 diff --git a/libc/sysv/consts/BLKSECTGET.S b/libc/sysv/consts/BLKSECTGET.S index 2678b4f3204..926dc655350 100644 --- a/libc/sysv/consts/BLKSECTGET.S +++ b/libc/sysv/consts/BLKSECTGET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLKSECTGET 0x1267 0 0 0 0 0 +.syscon misc,BLKSECTGET,0x1267,0,0,0,0,0 diff --git a/libc/sysv/consts/BLKSECTSET.S b/libc/sysv/consts/BLKSECTSET.S index 6405877ede9..d1d39ffe283 100644 --- a/libc/sysv/consts/BLKSECTSET.S +++ b/libc/sysv/consts/BLKSECTSET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLKSECTSET 0x1266 0 0 0 0 0 +.syscon misc,BLKSECTSET,0x1266,0,0,0,0,0 diff --git a/libc/sysv/consts/BLKSSZGET.S b/libc/sysv/consts/BLKSSZGET.S index 5ed8f181f0a..0f4beb4ec5d 100644 --- a/libc/sysv/consts/BLKSSZGET.S +++ b/libc/sysv/consts/BLKSSZGET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLKSSZGET 0x1268 0 0 0 0 0 +.syscon misc,BLKSSZGET,0x1268,0,0,0,0,0 diff --git a/libc/sysv/consts/BLKTYPE.S b/libc/sysv/consts/BLKTYPE.S index 36f3151ce05..f6eb429c522 100644 --- a/libc/sysv/consts/BLKTYPE.S +++ b/libc/sysv/consts/BLKTYPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLKTYPE 52 52 52 52 52 0 +.syscon misc,BLKTYPE,52,52,52,52,52,0 diff --git a/libc/sysv/consts/BLK_BYTECOUNT.S b/libc/sysv/consts/BLK_BYTECOUNT.S index 16c3c904df5..848166f5d22 100644 --- a/libc/sysv/consts/BLK_BYTECOUNT.S +++ b/libc/sysv/consts/BLK_BYTECOUNT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLK_BYTECOUNT 2 2 2 2 2 0 +.syscon misc,BLK_BYTECOUNT,2,2,2,2,2,0 diff --git a/libc/sysv/consts/BLK_EOF.S b/libc/sysv/consts/BLK_EOF.S index 3e202743ee4..9d9439db749 100644 --- a/libc/sysv/consts/BLK_EOF.S +++ b/libc/sysv/consts/BLK_EOF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLK_EOF 0x40 0x40 0x40 0x40 0x40 0 +.syscon misc,BLK_EOF,0x40,0x40,0x40,0x40,0x40,0 diff --git a/libc/sysv/consts/BLK_EOR.S b/libc/sysv/consts/BLK_EOR.S index cbb9cf4ab85..1acd0dfe5be 100644 --- a/libc/sysv/consts/BLK_EOR.S +++ b/libc/sysv/consts/BLK_EOR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLK_EOR 0x80 0x80 0x80 0x80 0x80 0 +.syscon misc,BLK_EOR,0x80,0x80,0x80,0x80,0x80,0 diff --git a/libc/sysv/consts/BLK_ERRORS.S b/libc/sysv/consts/BLK_ERRORS.S index 9447147459d..34b41a25293 100644 --- a/libc/sysv/consts/BLK_ERRORS.S +++ b/libc/sysv/consts/BLK_ERRORS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLK_ERRORS 0x20 0x20 0x20 0x20 0x20 0 +.syscon misc,BLK_ERRORS,0x20,0x20,0x20,0x20,0x20,0 diff --git a/libc/sysv/consts/BLK_RESTART.S b/libc/sysv/consts/BLK_RESTART.S index ec7938aa5e6..75cdc463a08 100644 --- a/libc/sysv/consts/BLK_RESTART.S +++ b/libc/sysv/consts/BLK_RESTART.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BLK_RESTART 0x10 0x10 0x10 0x10 0x10 0 +.syscon misc,BLK_RESTART,0x10,0x10,0x10,0x10,0x10,0 diff --git a/libc/sysv/consts/BOOT_TIME.S b/libc/sysv/consts/BOOT_TIME.S index 09d9d49ea8b..606029cc9ef 100644 --- a/libc/sysv/consts/BOOT_TIME.S +++ b/libc/sysv/consts/BOOT_TIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BOOT_TIME 2 2 1 0 0 0 +.syscon misc,BOOT_TIME,2,2,1,0,0,0 diff --git a/libc/sysv/consts/BRKINT.S b/libc/sysv/consts/BRKINT.S index 7fd5fc59517..3c8b9ec0f01 100644 --- a/libc/sysv/consts/BRKINT.S +++ b/libc/sysv/consts/BRKINT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios BRKINT 0b0000000000000010 0b0000000000000010 0b0000000000000010 0b0000000000000010 0b0000000000000010 0b0000000000000010 +.syscon termios,BRKINT,0b0000000000000010,0b0000000000000010,0b0000000000000010,0b0000000000000010,0b0000000000000010,0b0000000000000010 diff --git a/libc/sysv/consts/BS0.S b/libc/sysv/consts/BS0.S index 00ede37c51a..8bc4e5f0422 100644 --- a/libc/sysv/consts/BS0.S +++ b/libc/sysv/consts/BS0.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios BS0 0b0000000000000000 0b000000000000000000 0b000000000000000000 0 0 0b0000000000000000 +.syscon termios,BS0,0b0000000000000000,0b000000000000000000,0b000000000000000000,0,0,0b0000000000000000 diff --git a/libc/sysv/consts/BS1.S b/libc/sysv/consts/BS1.S index 6b3403c79ae..39b78a22465 100644 --- a/libc/sysv/consts/BS1.S +++ b/libc/sysv/consts/BS1.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios BS1 0b0010000000000000 0b001000000000000000 0b001000000000000000 0 0 0b0010000000000000 +.syscon termios,BS1,0b0010000000000000,0b001000000000000000,0b001000000000000000,0,0,0b0010000000000000 diff --git a/libc/sysv/consts/BSDLY.S b/libc/sysv/consts/BSDLY.S index 71bbccf9c03..474b85c3a3e 100644 --- a/libc/sysv/consts/BSDLY.S +++ b/libc/sysv/consts/BSDLY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios BSDLY 0b0010000000000000 0b001000000000000000 0b001000000000000000 0 0 0b0010000000000000 +.syscon termios,BSDLY,0b0010000000000000,0b001000000000000000,0b001000000000000000,0,0,0b0010000000000000 diff --git a/libc/sysv/consts/BUSY.S b/libc/sysv/consts/BUSY.S index db947c66fd0..8291659887c 100644 --- a/libc/sysv/consts/BUSY.S +++ b/libc/sysv/consts/BUSY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios BUSY 4 0 0 0 0 0 +.syscon termios,BUSY,4,0,0,0,0,0 diff --git a/libc/sysv/consts/BUS_ADRALN.S b/libc/sysv/consts/BUS_ADRALN.S index 01fbd7e1f23..f5c0c5e041e 100644 --- a/libc/sysv/consts/BUS_ADRALN.S +++ b/libc/sysv/consts/BUS_ADRALN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BUS_ADRALN 1 1 1 1 1 0 +.syscon misc,BUS_ADRALN,1,1,1,1,1,0 diff --git a/libc/sysv/consts/BUS_ADRERR.S b/libc/sysv/consts/BUS_ADRERR.S index ded1cf3c873..b51d4eab4ba 100644 --- a/libc/sysv/consts/BUS_ADRERR.S +++ b/libc/sysv/consts/BUS_ADRERR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BUS_ADRERR 2 2 2 2 2 0 +.syscon misc,BUS_ADRERR,2,2,2,2,2,0 diff --git a/libc/sysv/consts/BUS_DEVICE_RESET.S b/libc/sysv/consts/BUS_DEVICE_RESET.S index 3cd737b7bac..1d56d622f3c 100644 --- a/libc/sysv/consts/BUS_DEVICE_RESET.S +++ b/libc/sysv/consts/BUS_DEVICE_RESET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BUS_DEVICE_RESET 12 0 0 0 0 0 +.syscon misc,BUS_DEVICE_RESET,12,0,0,0,0,0 diff --git a/libc/sysv/consts/BUS_MCEERR_AO.S b/libc/sysv/consts/BUS_MCEERR_AO.S index 5755686fd1a..ba125b0fab4 100644 --- a/libc/sysv/consts/BUS_MCEERR_AO.S +++ b/libc/sysv/consts/BUS_MCEERR_AO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BUS_MCEERR_AO 5 0 0 0 0 0 +.syscon misc,BUS_MCEERR_AO,5,0,0,0,0,0 diff --git a/libc/sysv/consts/BUS_MCEERR_AR.S b/libc/sysv/consts/BUS_MCEERR_AR.S index adadb536c84..1ed98654b10 100644 --- a/libc/sysv/consts/BUS_MCEERR_AR.S +++ b/libc/sysv/consts/BUS_MCEERR_AR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BUS_MCEERR_AR 4 0 0 0 0 0 +.syscon misc,BUS_MCEERR_AR,4,0,0,0,0,0 diff --git a/libc/sysv/consts/BUS_OBJERR.S b/libc/sysv/consts/BUS_OBJERR.S index e39fc1cd2d2..160ad33bb4b 100644 --- a/libc/sysv/consts/BUS_OBJERR.S +++ b/libc/sysv/consts/BUS_OBJERR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc BUS_OBJERR 3 3 3 3 3 0 +.syscon misc,BUS_OBJERR,3,3,3,3,3,0 diff --git a/libc/sysv/consts/CANBSIZ.S b/libc/sysv/consts/CANBSIZ.S index 73494eeb27f..5dc3cc58f38 100644 --- a/libc/sysv/consts/CANBSIZ.S +++ b/libc/sysv/consts/CANBSIZ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios CANBSIZ 255 0 0 0 0 0 +.syscon termios,CANBSIZ,255,0,0,0,0,0 diff --git a/libc/sysv/consts/CBAUD.S b/libc/sysv/consts/CBAUD.S index 5217e63dc8f..0c8cfbe214a 100644 --- a/libc/sysv/consts/CBAUD.S +++ b/libc/sysv/consts/CBAUD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios CBAUD 0x100f 0 0 0 0 0 +.syscon termios,CBAUD,0x100f,0,0,0,0,0 diff --git a/libc/sysv/consts/CBAUDEX.S b/libc/sysv/consts/CBAUDEX.S index 5b3a56a85e9..576780e6e4b 100644 --- a/libc/sysv/consts/CBAUDEX.S +++ b/libc/sysv/consts/CBAUDEX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios CBAUDEX 0x1000 0 0 0 0 0 +.syscon termios,CBAUDEX,0x1000,0,0,0,0,0 diff --git a/libc/sysv/consts/CBRK.S b/libc/sysv/consts/CBRK.S index 58f9d749d99..fb6927169c4 100644 --- a/libc/sysv/consts/CBRK.S +++ b/libc/sysv/consts/CBRK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios CBRK 0 255 255 255 255 0 +.syscon termios,CBRK,0,255,255,255,255,0 diff --git a/libc/sysv/consts/CDISCARD.S b/libc/sysv/consts/CDISCARD.S index 2e13f45837f..c813745a09d 100644 --- a/libc/sysv/consts/CDISCARD.S +++ b/libc/sysv/consts/CDISCARD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CDISCARD 15 15 15 15 15 0 +.syscon misc,CDISCARD,15,15,15,15,15,0 diff --git a/libc/sysv/consts/CDSUSP.S b/libc/sysv/consts/CDSUSP.S index 56bd243b470..121b63d1ad1 100644 --- a/libc/sysv/consts/CDSUSP.S +++ b/libc/sysv/consts/CDSUSP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CDSUSP 25 25 25 25 25 0 +.syscon misc,CDSUSP,25,25,25,25,25,0 diff --git a/libc/sysv/consts/CEOF.S b/libc/sysv/consts/CEOF.S index 1039cf81216..c40b04cf13b 100644 --- a/libc/sysv/consts/CEOF.S +++ b/libc/sysv/consts/CEOF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CEOF 4 4 4 4 4 0 +.syscon misc,CEOF,4,4,4,4,4,0 diff --git a/libc/sysv/consts/CEOL.S b/libc/sysv/consts/CEOL.S index 5746770e476..a5becdd1d3a 100644 --- a/libc/sysv/consts/CEOL.S +++ b/libc/sysv/consts/CEOL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios CEOL 0 255 255 255 255 0 +.syscon termios,CEOL,0,255,255,255,255,0 diff --git a/libc/sysv/consts/CEOT.S b/libc/sysv/consts/CEOT.S index 0d4b5f0dc2f..5460dd7cd5a 100644 --- a/libc/sysv/consts/CEOT.S +++ b/libc/sysv/consts/CEOT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CEOT 4 4 4 4 4 0 +.syscon misc,CEOT,4,4,4,4,4,0 diff --git a/libc/sysv/consts/CERASE.S b/libc/sysv/consts/CERASE.S index 834946d0955..659498ad821 100644 --- a/libc/sysv/consts/CERASE.S +++ b/libc/sysv/consts/CERASE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CERASE 127 127 127 127 127 0 +.syscon misc,CERASE,127,127,127,127,127,0 diff --git a/libc/sysv/consts/CFLUSH.S b/libc/sysv/consts/CFLUSH.S index 9cd406fc328..e5c3edd4c60 100644 --- a/libc/sysv/consts/CFLUSH.S +++ b/libc/sysv/consts/CFLUSH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CFLUSH 15 15 15 15 15 0 +.syscon misc,CFLUSH,15,15,15,15,15,0 diff --git a/libc/sysv/consts/CHANGE_DEFINITION.S b/libc/sysv/consts/CHANGE_DEFINITION.S index 522a3238bc8..98f06897aae 100644 --- a/libc/sysv/consts/CHANGE_DEFINITION.S +++ b/libc/sysv/consts/CHANGE_DEFINITION.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CHANGE_DEFINITION 0x40 0 0 0 0 0 +.syscon misc,CHANGE_DEFINITION,0x40,0,0,0,0,0 diff --git a/libc/sysv/consts/CHARBITS.S b/libc/sysv/consts/CHARBITS.S index e34c05dcef9..02067d9d2aa 100644 --- a/libc/sysv/consts/CHARBITS.S +++ b/libc/sysv/consts/CHARBITS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CHARBITS 8 0 0 0 0 0 +.syscon misc,CHARBITS,8,0,0,0,0,0 diff --git a/libc/sysv/consts/CHARCLASS_NAME_MAX.S b/libc/sysv/consts/CHARCLASS_NAME_MAX.S index 2a09102bd37..df1a5456915 100644 --- a/libc/sysv/consts/CHARCLASS_NAME_MAX.S +++ b/libc/sysv/consts/CHARCLASS_NAME_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CHARCLASS_NAME_MAX 0x0800 14 14 0 0 0 +.syscon misc,CHARCLASS_NAME_MAX,0x0800,14,14,0,0,0 diff --git a/libc/sysv/consts/CHECK_CONDITION.S b/libc/sysv/consts/CHECK_CONDITION.S index 9dc99f30583..be9a73d382c 100644 --- a/libc/sysv/consts/CHECK_CONDITION.S +++ b/libc/sysv/consts/CHECK_CONDITION.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CHECK_CONDITION 1 0 0 0 0 0 +.syscon misc,CHECK_CONDITION,1,0,0,0,0,0 diff --git a/libc/sysv/consts/CHRTYPE.S b/libc/sysv/consts/CHRTYPE.S index 34d55005403..fa0adcabb5e 100644 --- a/libc/sysv/consts/CHRTYPE.S +++ b/libc/sysv/consts/CHRTYPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CHRTYPE 51 51 51 51 51 0 +.syscon misc,CHRTYPE,51,51,51,51,51,0 diff --git a/libc/sysv/consts/CIBAUD.S b/libc/sysv/consts/CIBAUD.S index 3baa9e93678..71d2ee5ae53 100644 --- a/libc/sysv/consts/CIBAUD.S +++ b/libc/sysv/consts/CIBAUD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios CIBAUD 0x100f0000 0 0 0 0 0 +.syscon termios,CIBAUD,0x100f0000,0,0,0,0,0 diff --git a/libc/sysv/consts/CINTR.S b/libc/sysv/consts/CINTR.S index 8b7e3e0c0c5..866a53d8483 100644 --- a/libc/sysv/consts/CINTR.S +++ b/libc/sysv/consts/CINTR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CINTR 3 3 3 3 3 0 +.syscon misc,CINTR,3,3,3,3,3,0 diff --git a/libc/sysv/consts/CKILL.S b/libc/sysv/consts/CKILL.S index ef8485420ce..01ae353dd0b 100644 --- a/libc/sysv/consts/CKILL.S +++ b/libc/sysv/consts/CKILL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CKILL 21 21 21 21 21 0 +.syscon misc,CKILL,21,21,21,21,21,0 diff --git a/libc/sysv/consts/CLD_CONTINUED.S b/libc/sysv/consts/CLD_CONTINUED.S index 862bb6c2bcb..d23e2d92cb0 100644 --- a/libc/sysv/consts/CLD_CONTINUED.S +++ b/libc/sysv/consts/CLD_CONTINUED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CLD_CONTINUED 6 6 6 6 6 0 +.syscon misc,CLD_CONTINUED,6,6,6,6,6,0 diff --git a/libc/sysv/consts/CLD_DUMPED.S b/libc/sysv/consts/CLD_DUMPED.S index e381599ac73..4da1b04d8b0 100644 --- a/libc/sysv/consts/CLD_DUMPED.S +++ b/libc/sysv/consts/CLD_DUMPED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CLD_DUMPED 3 3 3 3 3 0 +.syscon misc,CLD_DUMPED,3,3,3,3,3,0 diff --git a/libc/sysv/consts/CLD_EXITED.S b/libc/sysv/consts/CLD_EXITED.S index 238ad2fdf5f..33755ef7bba 100644 --- a/libc/sysv/consts/CLD_EXITED.S +++ b/libc/sysv/consts/CLD_EXITED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CLD_EXITED 1 1 1 1 1 0 +.syscon misc,CLD_EXITED,1,1,1,1,1,0 diff --git a/libc/sysv/consts/CLD_KILLED.S b/libc/sysv/consts/CLD_KILLED.S index 54677695c8e..33a2348bacb 100644 --- a/libc/sysv/consts/CLD_KILLED.S +++ b/libc/sysv/consts/CLD_KILLED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CLD_KILLED 2 2 2 2 2 0 +.syscon misc,CLD_KILLED,2,2,2,2,2,0 diff --git a/libc/sysv/consts/CLD_STOPPED.S b/libc/sysv/consts/CLD_STOPPED.S index 61ba88bf545..7fbf858e7b6 100644 --- a/libc/sysv/consts/CLD_STOPPED.S +++ b/libc/sysv/consts/CLD_STOPPED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CLD_STOPPED 5 5 5 5 5 0 +.syscon misc,CLD_STOPPED,5,5,5,5,5,0 diff --git a/libc/sysv/consts/CLD_TRAPPED.S b/libc/sysv/consts/CLD_TRAPPED.S index 776528c1cb5..9dbfee20b5a 100644 --- a/libc/sysv/consts/CLD_TRAPPED.S +++ b/libc/sysv/consts/CLD_TRAPPED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CLD_TRAPPED 4 4 4 4 4 0 +.syscon misc,CLD_TRAPPED,4,4,4,4,4,0 diff --git a/libc/sysv/consts/CLNEXT.S b/libc/sysv/consts/CLNEXT.S index 594089cd5b8..0e78f6036c6 100644 --- a/libc/sysv/consts/CLNEXT.S +++ b/libc/sysv/consts/CLNEXT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CLNEXT 22 22 22 22 22 0 +.syscon misc,CLNEXT,22,22,22,22,22,0 diff --git a/libc/sysv/consts/CLOCAL.S b/libc/sysv/consts/CLOCAL.S index 091ff6960e4..73bdc0a6227 100644 --- a/libc/sysv/consts/CLOCAL.S +++ b/libc/sysv/consts/CLOCAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios CLOCAL 0x0800 0x8000 0x8000 0x8000 0x8000 0 +.syscon termios,CLOCAL,0x0800,0x8000,0x8000,0x8000,0x8000,0 diff --git a/libc/sysv/consts/CLOCKS_PER_SEC.S b/libc/sysv/consts/CLOCKS_PER_SEC.S index a2981396822..0deb5217e51 100644 --- a/libc/sysv/consts/CLOCKS_PER_SEC.S +++ b/libc/sysv/consts/CLOCKS_PER_SEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CLOCKS_PER_SEC 1000000 1000000 0x80 100 100 10000000 +.syscon misc,CLOCKS_PER_SEC,1000000,1000000,0x80,100,100,10000000 diff --git a/libc/sysv/consts/CLOCK_BOOTTIME.S b/libc/sysv/consts/CLOCK_BOOTTIME.S index e0db89ab8b0..b8b69a3f4a1 100644 --- a/libc/sysv/consts/CLOCK_BOOTTIME.S +++ b/libc/sysv/consts/CLOCK_BOOTTIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon clock CLOCK_BOOTTIME 7 -1 0 6 6 0 +.syscon clock,CLOCK_BOOTTIME,7,-1,0,6,6,0 diff --git a/libc/sysv/consts/CLOCK_BOOTTIME_ALARM.S b/libc/sysv/consts/CLOCK_BOOTTIME_ALARM.S index d342511e897..aed156a2063 100644 --- a/libc/sysv/consts/CLOCK_BOOTTIME_ALARM.S +++ b/libc/sysv/consts/CLOCK_BOOTTIME_ALARM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon clock CLOCK_BOOTTIME_ALARM 9 -1 0 0 0 0 +.syscon clock,CLOCK_BOOTTIME_ALARM,9,-1,0,0,0,0 diff --git a/libc/sysv/consts/CLOCK_MONOTONIC.S b/libc/sysv/consts/CLOCK_MONOTONIC.S index 71a0835542f..5e411f501d4 100644 --- a/libc/sysv/consts/CLOCK_MONOTONIC.S +++ b/libc/sysv/consts/CLOCK_MONOTONIC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon clock CLOCK_MONOTONIC 1 1 4 3 3 1 +.syscon clock,CLOCK_MONOTONIC,1,1,4,3,3,1 diff --git a/libc/sysv/consts/CLOCK_MONOTONIC_COARSE.S b/libc/sysv/consts/CLOCK_MONOTONIC_COARSE.S index 18eda7daa6c..78408833688 100644 --- a/libc/sysv/consts/CLOCK_MONOTONIC_COARSE.S +++ b/libc/sysv/consts/CLOCK_MONOTONIC_COARSE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon clock CLOCK_MONOTONIC_COARSE 6 -1 0 0 0 0 +.syscon clock,CLOCK_MONOTONIC_COARSE,6,-1,0,0,0,0 diff --git a/libc/sysv/consts/CLOCK_MONOTONIC_RAW.S b/libc/sysv/consts/CLOCK_MONOTONIC_RAW.S index 019fd2f2ab6..0e2c8f6c506 100644 --- a/libc/sysv/consts/CLOCK_MONOTONIC_RAW.S +++ b/libc/sysv/consts/CLOCK_MONOTONIC_RAW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon clock CLOCK_MONOTONIC_RAW 4 4 0x4000 0x4000 0x4000 4 +.syscon clock,CLOCK_MONOTONIC_RAW,4,4,0x4000,0x4000,0x4000,4 diff --git a/libc/sysv/consts/CLOCK_PROCESS_CPUTIME_ID.S b/libc/sysv/consts/CLOCK_PROCESS_CPUTIME_ID.S index f79c65e9114..6a49bf4bd10 100644 --- a/libc/sysv/consts/CLOCK_PROCESS_CPUTIME_ID.S +++ b/libc/sysv/consts/CLOCK_PROCESS_CPUTIME_ID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon clock CLOCK_PROCESS_CPUTIME_ID 2 -1 15 2 0x40000000 0 +.syscon clock,CLOCK_PROCESS_CPUTIME_ID,2,-1,15,2,0x40000000,0 diff --git a/libc/sysv/consts/CLOCK_REALTIME.S b/libc/sysv/consts/CLOCK_REALTIME.S index 8adb11a6cb2..b519ed58245 100644 --- a/libc/sysv/consts/CLOCK_REALTIME.S +++ b/libc/sysv/consts/CLOCK_REALTIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon clock CLOCK_REALTIME 0 0 0 0 0 0 +.syscon clock,CLOCK_REALTIME,0,0,0,0,0,0 diff --git a/libc/sysv/consts/CLOCK_REALTIME_ALARM.S b/libc/sysv/consts/CLOCK_REALTIME_ALARM.S index 220497cfa2b..f1ca4da0ea1 100644 --- a/libc/sysv/consts/CLOCK_REALTIME_ALARM.S +++ b/libc/sysv/consts/CLOCK_REALTIME_ALARM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon clock CLOCK_REALTIME_ALARM 8 -1 0 0 0 0 +.syscon clock,CLOCK_REALTIME_ALARM,8,-1,0,0,0,0 diff --git a/libc/sysv/consts/CLOCK_REALTIME_COARSE.S b/libc/sysv/consts/CLOCK_REALTIME_COARSE.S index feebec03708..c98a8385598 100644 --- a/libc/sysv/consts/CLOCK_REALTIME_COARSE.S +++ b/libc/sysv/consts/CLOCK_REALTIME_COARSE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon clock CLOCK_REALTIME_COARSE 5 -1 0 0 0 0 +.syscon clock,CLOCK_REALTIME_COARSE,5,-1,0,0,0,0 diff --git a/libc/sysv/consts/CLOCK_TAI.S b/libc/sysv/consts/CLOCK_TAI.S index 657ac5cbae4..ba7963aa86b 100644 --- a/libc/sysv/consts/CLOCK_TAI.S +++ b/libc/sysv/consts/CLOCK_TAI.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon clock CLOCK_TAI 11 -1 0 0 0 0 +.syscon clock,CLOCK_TAI,11,-1,0,0,0,0 diff --git a/libc/sysv/consts/CLOCK_THREAD_CPUTIME_ID.S b/libc/sysv/consts/CLOCK_THREAD_CPUTIME_ID.S index fddbc6e9b3d..df60b8f0d1a 100644 --- a/libc/sysv/consts/CLOCK_THREAD_CPUTIME_ID.S +++ b/libc/sysv/consts/CLOCK_THREAD_CPUTIME_ID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon clock CLOCK_THREAD_CPUTIME_ID 3 -1 14 4 0x20000000 0 +.syscon clock,CLOCK_THREAD_CPUTIME_ID,3,-1,14,4,0x20000000,0 diff --git a/libc/sysv/consts/CMIN.S b/libc/sysv/consts/CMIN.S index 9c10ecccdf7..ba1e51c31c1 100644 --- a/libc/sysv/consts/CMIN.S +++ b/libc/sysv/consts/CMIN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CMIN 1 1 1 1 1 0 +.syscon misc,CMIN,1,1,1,1,1,0 diff --git a/libc/sysv/consts/CMSPAR.S b/libc/sysv/consts/CMSPAR.S index b5a309474a4..d66ee375c9f 100644 --- a/libc/sysv/consts/CMSPAR.S +++ b/libc/sysv/consts/CMSPAR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios CMSPAR 0x40000000 0 0 0 0 0 +.syscon termios,CMSPAR,0x40000000,0,0,0,0,0 diff --git a/libc/sysv/consts/CODESET.S b/libc/sysv/consts/CODESET.S index a2cc6bcb771..a62e2391041 100644 --- a/libc/sysv/consts/CODESET.S +++ b/libc/sysv/consts/CODESET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CODESET 14 0 0 51 51 0 +.syscon misc,CODESET,14,0,0,51,51,0 diff --git a/libc/sysv/consts/COLL_WEIGHTS_MAX.S b/libc/sysv/consts/COLL_WEIGHTS_MAX.S index ddba6ac1a97..5b098ae503f 100644 --- a/libc/sysv/consts/COLL_WEIGHTS_MAX.S +++ b/libc/sysv/consts/COLL_WEIGHTS_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc COLL_WEIGHTS_MAX 255 2 10 2 2 0 +.syscon misc,COLL_WEIGHTS_MAX,255,2,10,2,2,0 diff --git a/libc/sysv/consts/COMMAND_COMPLETE.S b/libc/sysv/consts/COMMAND_COMPLETE.S index e42611be0b6..cf50776e718 100644 --- a/libc/sysv/consts/COMMAND_COMPLETE.S +++ b/libc/sysv/consts/COMMAND_COMPLETE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc COMMAND_COMPLETE 0 0 0 0 0 0 +.syscon misc,COMMAND_COMPLETE,0,0,0,0,0,0 diff --git a/libc/sysv/consts/COMMAND_TERMINATED.S b/libc/sysv/consts/COMMAND_TERMINATED.S index 3c3ef1b1e8f..d801700bbad 100644 --- a/libc/sysv/consts/COMMAND_TERMINATED.S +++ b/libc/sysv/consts/COMMAND_TERMINATED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc COMMAND_TERMINATED 17 0 0 0 0 0 +.syscon misc,COMMAND_TERMINATED,17,0,0,0,0,0 diff --git a/libc/sysv/consts/COMPLETE.S b/libc/sysv/consts/COMPLETE.S index 91ee29f4372..5937c4562e3 100644 --- a/libc/sysv/consts/COMPLETE.S +++ b/libc/sysv/consts/COMPLETE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc COMPLETE 2 2 2 2 2 0 +.syscon misc,COMPLETE,2,2,2,2,2,0 diff --git a/libc/sysv/consts/CONDITION_GOOD.S b/libc/sysv/consts/CONDITION_GOOD.S index 10027b1b1dc..b230a36f34f 100644 --- a/libc/sysv/consts/CONDITION_GOOD.S +++ b/libc/sysv/consts/CONDITION_GOOD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CONDITION_GOOD 2 0 0 0 0 0 +.syscon misc,CONDITION_GOOD,2,0,0,0,0,0 diff --git a/libc/sysv/consts/CONTINUE.S b/libc/sysv/consts/CONTINUE.S index 64852a4f949..8458079883b 100644 --- a/libc/sysv/consts/CONTINUE.S +++ b/libc/sysv/consts/CONTINUE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CONTINUE 3 3 3 3 3 0 +.syscon misc,CONTINUE,3,3,3,3,3,0 diff --git a/libc/sysv/consts/CONTTYPE.S b/libc/sysv/consts/CONTTYPE.S index b9e2f201673..d42d40005ab 100644 --- a/libc/sysv/consts/CONTTYPE.S +++ b/libc/sysv/consts/CONTTYPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CONTTYPE 55 55 55 55 55 0 +.syscon misc,CONTTYPE,55,55,55,55,55,0 diff --git a/libc/sysv/consts/COPY_ABORTED.S b/libc/sysv/consts/COPY_ABORTED.S index b97553ab6e1..cdddf3e9da6 100644 --- a/libc/sysv/consts/COPY_ABORTED.S +++ b/libc/sysv/consts/COPY_ABORTED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc COPY_ABORTED 10 0 0 0 0 0 +.syscon misc,COPY_ABORTED,10,0,0,0,0,0 diff --git a/libc/sysv/consts/COPY_VERIFY.S b/libc/sysv/consts/COPY_VERIFY.S index 98f6563a3d2..7b1be566438 100644 --- a/libc/sysv/consts/COPY_VERIFY.S +++ b/libc/sysv/consts/COPY_VERIFY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc COPY_VERIFY 58 0 0 0 0 0 +.syscon misc,COPY_VERIFY,58,0,0,0,0,0 diff --git a/libc/sysv/consts/CPU_SETSIZE.S b/libc/sysv/consts/CPU_SETSIZE.S index 8455cb75173..00ffde2863e 100644 --- a/libc/sysv/consts/CPU_SETSIZE.S +++ b/libc/sysv/consts/CPU_SETSIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CPU_SETSIZE 0x0400 0 0x0100 0 0 0 +.syscon misc,CPU_SETSIZE,0x0400,0,0x0100,0,0,0 diff --git a/libc/sysv/consts/CQUIT.S b/libc/sysv/consts/CQUIT.S index d73c06d8314..3ecea85e45a 100644 --- a/libc/sysv/consts/CQUIT.S +++ b/libc/sysv/consts/CQUIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CQUIT 28 28 28 28 28 0 +.syscon misc,CQUIT,28,28,28,28,28,0 diff --git a/libc/sysv/consts/CR0.S b/libc/sysv/consts/CR0.S index a85bd9cb761..79e096b2e54 100644 --- a/libc/sysv/consts/CR0.S +++ b/libc/sysv/consts/CR0.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios CR0 0b0000000000000000 0b000000000000000000 0b000000000000000000 0x0 0x0 0b0000000000000000 +.syscon termios,CR0,0b0000000000000000,0b000000000000000000,0b000000000000000000,0x0,0x0,0b0000000000000000 diff --git a/libc/sysv/consts/CR1.S b/libc/sysv/consts/CR1.S index d4afaed8ee9..49059cb784e 100644 --- a/libc/sysv/consts/CR1.S +++ b/libc/sysv/consts/CR1.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios CR1 0b0000001000000000 0b000001000000000000 0b000001000000000000 0x0 0x0 0b0000001000000000 +.syscon termios,CR1,0b0000001000000000,0b000001000000000000,0b000001000000000000,0x0,0x0,0b0000001000000000 diff --git a/libc/sysv/consts/CR2.S b/libc/sysv/consts/CR2.S index ea217736dfd..dbdc665bbaa 100644 --- a/libc/sysv/consts/CR2.S +++ b/libc/sysv/consts/CR2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios CR2 0b0000010000000000 0b000010000000000000 0b000010000000000000 0x0 0x0 0b0000010000000000 +.syscon termios,CR2,0b0000010000000000,0b000010000000000000,0b000010000000000000,0x0,0x0,0b0000010000000000 diff --git a/libc/sysv/consts/CR3.S b/libc/sysv/consts/CR3.S index 3c919be3036..3cebe9dcf70 100644 --- a/libc/sysv/consts/CR3.S +++ b/libc/sysv/consts/CR3.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios CR3 0b0000011000000000 0b000011000000000000 0b000011000000000000 0x0 0x0 0b0000011000000000 +.syscon termios,CR3,0b0000011000000000,0b000011000000000000,0b000011000000000000,0x0,0x0,0b0000011000000000 diff --git a/libc/sysv/consts/CRDLY.S b/libc/sysv/consts/CRDLY.S index 5c1285291ad..8add5ff6a09 100644 --- a/libc/sysv/consts/CRDLY.S +++ b/libc/sysv/consts/CRDLY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios CRDLY 0b0000011000000000 0b000011000000000000 0b000011000000000000 0 0 0b0000011000000000 +.syscon termios,CRDLY,0b0000011000000000,0b000011000000000000,0b000011000000000000,0,0,0b0000011000000000 diff --git a/libc/sysv/consts/CREAD.S b/libc/sysv/consts/CREAD.S index ed4a0def20a..fdebf977cd7 100644 --- a/libc/sysv/consts/CREAD.S +++ b/libc/sysv/consts/CREAD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CREAD 0x80 0x0800 0x0800 0x0800 0x0800 0 +.syscon misc,CREAD,0x80,0x0800,0x0800,0x0800,0x0800,0 diff --git a/libc/sysv/consts/CREPRINT.S b/libc/sysv/consts/CREPRINT.S index 8fe9f3f14f7..e07a53de5bc 100644 --- a/libc/sysv/consts/CREPRINT.S +++ b/libc/sysv/consts/CREPRINT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CREPRINT 18 18 18 18 18 0 +.syscon misc,CREPRINT,18,18,18,18,18,0 diff --git a/libc/sysv/consts/CRNCYSTR.S b/libc/sysv/consts/CRNCYSTR.S index 4856d6c44c4..592091174a7 100644 --- a/libc/sysv/consts/CRNCYSTR.S +++ b/libc/sysv/consts/CRNCYSTR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CRNCYSTR 0x04000f 56 56 50 50 0 +.syscon misc,CRNCYSTR,0x04000f,56,56,50,50,0 diff --git a/libc/sysv/consts/CRPRNT.S b/libc/sysv/consts/CRPRNT.S index 55868a9ea9a..adeefdc6d5f 100644 --- a/libc/sysv/consts/CRPRNT.S +++ b/libc/sysv/consts/CRPRNT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CRPRNT 18 18 18 18 18 0 +.syscon misc,CRPRNT,18,18,18,18,18,0 diff --git a/libc/sysv/consts/CRTSCTS.S b/libc/sysv/consts/CRTSCTS.S index 6eb89788023..c8f2f3ab480 100644 --- a/libc/sysv/consts/CRTSCTS.S +++ b/libc/sysv/consts/CRTSCTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CRTSCTS 0x80000000 0x030000 0x030000 0x010000 0x010000 0 +.syscon misc,CRTSCTS,0x80000000,0x030000,0x030000,0x010000,0x010000,0 diff --git a/libc/sysv/consts/CS5.S b/libc/sysv/consts/CS5.S index 95366d5d25a..39cafe58af4 100644 --- a/libc/sysv/consts/CS5.S +++ b/libc/sysv/consts/CS5.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CS5 0 0 0 0 0 0 +.syscon misc,CS5,0,0,0,0,0,0 diff --git a/libc/sysv/consts/CS6.S b/libc/sysv/consts/CS6.S index a86762b1db2..f5031010e2b 100644 --- a/libc/sysv/consts/CS6.S +++ b/libc/sysv/consts/CS6.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios CS6 0b0000000000010000 0b0000000100000000 0b0000000100000000 0b0000000100000000 0b0000000100000000 0b0000000000010000 +.syscon termios,CS6,0b0000000000010000,0b0000000100000000,0b0000000100000000,0b0000000100000000,0b0000000100000000,0b0000000000010000 diff --git a/libc/sysv/consts/CS7.S b/libc/sysv/consts/CS7.S index 4498242577b..d4fb534a781 100644 --- a/libc/sysv/consts/CS7.S +++ b/libc/sysv/consts/CS7.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios CS7 0b0000000000100000 0b0000001000000000 0b0000001000000000 0b0000001000000000 0b0000001000000000 0b0000000000100000 +.syscon termios,CS7,0b0000000000100000,0b0000001000000000,0b0000001000000000,0b0000001000000000,0b0000001000000000,0b0000000000100000 diff --git a/libc/sysv/consts/CS8.S b/libc/sysv/consts/CS8.S index a07eff9601e..08ad827a8c5 100644 --- a/libc/sysv/consts/CS8.S +++ b/libc/sysv/consts/CS8.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios CS8 0b0000000000110000 0b0000001100000000 0b0000001100000000 0b0000001100000000 0b0000001100000000 0b0000000000110000 +.syscon termios,CS8,0b0000000000110000,0b0000001100000000,0b0000001100000000,0b0000001100000000,0b0000001100000000,0b0000000000110000 diff --git a/libc/sysv/consts/CSIZE.S b/libc/sysv/consts/CSIZE.S index 364e36aa36d..90372e69c04 100644 --- a/libc/sysv/consts/CSIZE.S +++ b/libc/sysv/consts/CSIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios CSIZE 0b0000000000110000 0b0000001100000000 0b0000001100000000 0b0000001100000000 0b0000001100000000 0b0000000000110000 +.syscon termios,CSIZE,0b0000000000110000,0b0000001100000000,0b0000001100000000,0b0000001100000000,0b0000001100000000,0b0000000000110000 diff --git a/libc/sysv/consts/CSTART.S b/libc/sysv/consts/CSTART.S index 2e5851f8fe3..39d478b105d 100644 --- a/libc/sysv/consts/CSTART.S +++ b/libc/sysv/consts/CSTART.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CSTART 17 17 17 17 17 0 +.syscon misc,CSTART,17,17,17,17,17,0 diff --git a/libc/sysv/consts/CSTATUS.S b/libc/sysv/consts/CSTATUS.S index 04d56f83bdd..a421eeb77b4 100644 --- a/libc/sysv/consts/CSTATUS.S +++ b/libc/sysv/consts/CSTATUS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CSTATUS 0 20 20 255 255 0 +.syscon misc,CSTATUS,0,20,20,255,255,0 diff --git a/libc/sysv/consts/CSTOP.S b/libc/sysv/consts/CSTOP.S index fe59e8283d3..f432f87e1fd 100644 --- a/libc/sysv/consts/CSTOP.S +++ b/libc/sysv/consts/CSTOP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CSTOP 19 19 19 19 19 0 +.syscon misc,CSTOP,19,19,19,19,19,0 diff --git a/libc/sysv/consts/CSTOPB.S b/libc/sysv/consts/CSTOPB.S index 2ecb4ae1a34..73741361b54 100644 --- a/libc/sysv/consts/CSTOPB.S +++ b/libc/sysv/consts/CSTOPB.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CSTOPB 0x40 0x0400 0x0400 0x0400 0x0400 0 +.syscon misc,CSTOPB,0x40,0x0400,0x0400,0x0400,0x0400,0 diff --git a/libc/sysv/consts/CSUSP.S b/libc/sysv/consts/CSUSP.S index 3d291cefce0..d770baa8e91 100644 --- a/libc/sysv/consts/CSUSP.S +++ b/libc/sysv/consts/CSUSP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CSUSP 26 26 26 26 26 0 +.syscon misc,CSUSP,26,26,26,26,26,0 diff --git a/libc/sysv/consts/CTIME.S b/libc/sysv/consts/CTIME.S index 430430c42b0..602af12fec7 100644 --- a/libc/sysv/consts/CTIME.S +++ b/libc/sysv/consts/CTIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CTIME 0 0 0 0 0 0 +.syscon misc,CTIME,0,0,0,0,0,0 diff --git a/libc/sysv/consts/CWERASE.S b/libc/sysv/consts/CWERASE.S index 6e8cdb10708..05e800c4d8f 100644 --- a/libc/sysv/consts/CWERASE.S +++ b/libc/sysv/consts/CWERASE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc CWERASE 23 23 23 23 23 0 +.syscon misc,CWERASE,23,23,23,23,23,0 diff --git a/libc/sysv/consts/C_IRGRP.S b/libc/sysv/consts/C_IRGRP.S index 20d2cd246d6..b1006c45e0c 100644 --- a/libc/sysv/consts/C_IRGRP.S +++ b/libc/sysv/consts/C_IRGRP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon c C_IRGRP 0000040 0000040 0000040 0000040 0000040 0 +.syscon c,C_IRGRP,0000040,0000040,0000040,0000040,0000040,0 diff --git a/libc/sysv/consts/C_IROTH.S b/libc/sysv/consts/C_IROTH.S index 6a78bf3ba97..9ea57cb6427 100644 --- a/libc/sysv/consts/C_IROTH.S +++ b/libc/sysv/consts/C_IROTH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon c C_IROTH 0000004 0000004 0000004 0000004 0000004 0 +.syscon c,C_IROTH,0000004,0000004,0000004,0000004,0000004,0 diff --git a/libc/sysv/consts/C_IRUSR.S b/libc/sysv/consts/C_IRUSR.S index f4dc25ab5ca..347b4777ca4 100644 --- a/libc/sysv/consts/C_IRUSR.S +++ b/libc/sysv/consts/C_IRUSR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon c C_IRUSR 0000400 0000400 0000400 0000400 0000400 0 +.syscon c,C_IRUSR,0000400,0000400,0000400,0000400,0000400,0 diff --git a/libc/sysv/consts/C_ISBLK.S b/libc/sysv/consts/C_ISBLK.S index d9a17e4ea3a..69b4cca948c 100644 --- a/libc/sysv/consts/C_ISBLK.S +++ b/libc/sysv/consts/C_ISBLK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon c C_ISBLK 0060000 0060000 0060000 0060000 0060000 0 +.syscon c,C_ISBLK,0060000,0060000,0060000,0060000,0060000,0 diff --git a/libc/sysv/consts/C_ISCHR.S b/libc/sysv/consts/C_ISCHR.S index 74af92e1de7..43a7bb05aca 100644 --- a/libc/sysv/consts/C_ISCHR.S +++ b/libc/sysv/consts/C_ISCHR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon c C_ISCHR 0020000 0020000 0020000 0020000 0020000 0 +.syscon c,C_ISCHR,0020000,0020000,0020000,0020000,0020000,0 diff --git a/libc/sysv/consts/C_ISCTG.S b/libc/sysv/consts/C_ISCTG.S index 4b00aac11ec..dc6ff92b46c 100644 --- a/libc/sysv/consts/C_ISCTG.S +++ b/libc/sysv/consts/C_ISCTG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon c C_ISCTG 0110000 0110000 0110000 0110000 0110000 0 +.syscon c,C_ISCTG,0110000,0110000,0110000,0110000,0110000,0 diff --git a/libc/sysv/consts/C_ISDIR.S b/libc/sysv/consts/C_ISDIR.S index 33104e51337..831407b8576 100644 --- a/libc/sysv/consts/C_ISDIR.S +++ b/libc/sysv/consts/C_ISDIR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon c C_ISDIR 0040000 0040000 0040000 0040000 0040000 0 +.syscon c,C_ISDIR,0040000,0040000,0040000,0040000,0040000,0 diff --git a/libc/sysv/consts/C_ISFIFO.S b/libc/sysv/consts/C_ISFIFO.S index 0d1016db6cc..359785b1667 100644 --- a/libc/sysv/consts/C_ISFIFO.S +++ b/libc/sysv/consts/C_ISFIFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon c C_ISFIFO 0010000 0010000 0010000 0010000 0010000 0 +.syscon c,C_ISFIFO,0010000,0010000,0010000,0010000,0010000,0 diff --git a/libc/sysv/consts/C_ISGID.S b/libc/sysv/consts/C_ISGID.S index 2060085d394..2d1f968e2a5 100644 --- a/libc/sysv/consts/C_ISGID.S +++ b/libc/sysv/consts/C_ISGID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon c C_ISGID 0002000 0002000 0002000 0002000 0002000 0 +.syscon c,C_ISGID,0002000,0002000,0002000,0002000,0002000,0 diff --git a/libc/sysv/consts/C_ISLNK.S b/libc/sysv/consts/C_ISLNK.S index 0a980307f45..7a2cbb0a003 100644 --- a/libc/sysv/consts/C_ISLNK.S +++ b/libc/sysv/consts/C_ISLNK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon c C_ISLNK 0120000 0120000 0120000 0120000 0120000 0 +.syscon c,C_ISLNK,0120000,0120000,0120000,0120000,0120000,0 diff --git a/libc/sysv/consts/C_ISREG.S b/libc/sysv/consts/C_ISREG.S index 3ba1f47f13a..087b3758cdf 100644 --- a/libc/sysv/consts/C_ISREG.S +++ b/libc/sysv/consts/C_ISREG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon c C_ISREG 0100000 0100000 0100000 0100000 0100000 0 +.syscon c,C_ISREG,0100000,0100000,0100000,0100000,0100000,0 diff --git a/libc/sysv/consts/C_ISSOCK.S b/libc/sysv/consts/C_ISSOCK.S index 94e36410a66..2b4763ae6b6 100644 --- a/libc/sysv/consts/C_ISSOCK.S +++ b/libc/sysv/consts/C_ISSOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon c C_ISSOCK 0140000 0140000 0140000 0140000 0140000 0 +.syscon c,C_ISSOCK,0140000,0140000,0140000,0140000,0140000,0 diff --git a/libc/sysv/consts/C_ISUID.S b/libc/sysv/consts/C_ISUID.S index ef986d0a2db..f81ab9a11e8 100644 --- a/libc/sysv/consts/C_ISUID.S +++ b/libc/sysv/consts/C_ISUID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon c C_ISUID 0004000 0004000 0004000 0004000 0004000 0 +.syscon c,C_ISUID,0004000,0004000,0004000,0004000,0004000,0 diff --git a/libc/sysv/consts/C_ISVTX.S b/libc/sysv/consts/C_ISVTX.S index 9289ac1f6c8..7b99e59e7ac 100644 --- a/libc/sysv/consts/C_ISVTX.S +++ b/libc/sysv/consts/C_ISVTX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon c C_ISVTX 0001000 0001000 0001000 0001000 0001000 0 +.syscon c,C_ISVTX,0001000,0001000,0001000,0001000,0001000,0 diff --git a/libc/sysv/consts/C_IWGRP.S b/libc/sysv/consts/C_IWGRP.S index 882ad68a06b..0ced59dfc31 100644 --- a/libc/sysv/consts/C_IWGRP.S +++ b/libc/sysv/consts/C_IWGRP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon c C_IWGRP 0000020 0000020 0000020 0000020 0000020 0 +.syscon c,C_IWGRP,0000020,0000020,0000020,0000020,0000020,0 diff --git a/libc/sysv/consts/C_IWOTH.S b/libc/sysv/consts/C_IWOTH.S index 1c493664ca7..ca130045e1f 100644 --- a/libc/sysv/consts/C_IWOTH.S +++ b/libc/sysv/consts/C_IWOTH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon c C_IWOTH 0000002 0000002 0000002 0000002 0000002 0 +.syscon c,C_IWOTH,0000002,0000002,0000002,0000002,0000002,0 diff --git a/libc/sysv/consts/C_IWUSR.S b/libc/sysv/consts/C_IWUSR.S index ad6fdca14ab..4103b20a425 100644 --- a/libc/sysv/consts/C_IWUSR.S +++ b/libc/sysv/consts/C_IWUSR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon c C_IWUSR 0000200 0000200 0000200 0000200 0000200 0 +.syscon c,C_IWUSR,0000200,0000200,0000200,0000200,0000200,0 diff --git a/libc/sysv/consts/C_IXGRP.S b/libc/sysv/consts/C_IXGRP.S index 93fc7d77dcc..851b49c7651 100644 --- a/libc/sysv/consts/C_IXGRP.S +++ b/libc/sysv/consts/C_IXGRP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon c C_IXGRP 0000010 0000010 0000010 0000010 0000010 0 +.syscon c,C_IXGRP,0000010,0000010,0000010,0000010,0000010,0 diff --git a/libc/sysv/consts/C_IXOTH.S b/libc/sysv/consts/C_IXOTH.S index b3f3bd943cd..0fbd89f1543 100644 --- a/libc/sysv/consts/C_IXOTH.S +++ b/libc/sysv/consts/C_IXOTH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon c C_IXOTH 0000001 0000001 0000001 0000001 0000001 0 +.syscon c,C_IXOTH,0000001,0000001,0000001,0000001,0000001,0 diff --git a/libc/sysv/consts/C_IXUSR.S b/libc/sysv/consts/C_IXUSR.S index 92ec68ad3a8..a010bf01f19 100644 --- a/libc/sysv/consts/C_IXUSR.S +++ b/libc/sysv/consts/C_IXUSR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon c C_IXUSR 0000100 0000100 0000100 0000100 0000100 0 +.syscon c,C_IXUSR,0000100,0000100,0000100,0000100,0000100,0 diff --git a/libc/sysv/consts/DATA.S b/libc/sysv/consts/DATA.S index b5978e97b5e..75f0dce481c 100644 --- a/libc/sysv/consts/DATA.S +++ b/libc/sysv/consts/DATA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc DATA 3 3 3 3 3 0 +.syscon misc,DATA,3,3,3,3,3,0 diff --git a/libc/sysv/consts/DATA_PROTECT.S b/libc/sysv/consts/DATA_PROTECT.S index 2ba6c6bc7d7..6ef791da503 100644 --- a/libc/sysv/consts/DATA_PROTECT.S +++ b/libc/sysv/consts/DATA_PROTECT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc DATA_PROTECT 7 0 0 0 0 0 +.syscon misc,DATA_PROTECT,7,0,0,0,0,0 diff --git a/libc/sysv/consts/DAY_1.S b/libc/sysv/consts/DAY_1.S index cef69c1370e..07d7d4b9f17 100644 --- a/libc/sysv/consts/DAY_1.S +++ b/libc/sysv/consts/DAY_1.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc DAY_1 0x020007 7 7 6 6 0 +.syscon misc,DAY_1,0x020007,7,7,6,6,0 diff --git a/libc/sysv/consts/DAY_2.S b/libc/sysv/consts/DAY_2.S index c8784b9a768..bc4438407a7 100644 --- a/libc/sysv/consts/DAY_2.S +++ b/libc/sysv/consts/DAY_2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc DAY_2 0x020008 8 8 7 7 0 +.syscon misc,DAY_2,0x020008,8,8,7,7,0 diff --git a/libc/sysv/consts/DAY_3.S b/libc/sysv/consts/DAY_3.S index b6065b6b68b..8b5fc746d5c 100644 --- a/libc/sysv/consts/DAY_3.S +++ b/libc/sysv/consts/DAY_3.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc DAY_3 0x020009 9 9 8 8 0 +.syscon misc,DAY_3,0x020009,9,9,8,8,0 diff --git a/libc/sysv/consts/DAY_4.S b/libc/sysv/consts/DAY_4.S index ee35142a758..fdaca424e19 100644 --- a/libc/sysv/consts/DAY_4.S +++ b/libc/sysv/consts/DAY_4.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc DAY_4 0x02000a 10 10 9 9 0 +.syscon misc,DAY_4,0x02000a,10,10,9,9,0 diff --git a/libc/sysv/consts/DAY_5.S b/libc/sysv/consts/DAY_5.S index 9b81c9b318b..f50ad1f7ad9 100644 --- a/libc/sysv/consts/DAY_5.S +++ b/libc/sysv/consts/DAY_5.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc DAY_5 0x02000b 11 11 10 10 0 +.syscon misc,DAY_5,0x02000b,11,11,10,10,0 diff --git a/libc/sysv/consts/DAY_6.S b/libc/sysv/consts/DAY_6.S index fb65e32743c..0d0563cac00 100644 --- a/libc/sysv/consts/DAY_6.S +++ b/libc/sysv/consts/DAY_6.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc DAY_6 0x02000c 12 12 11 11 0 +.syscon misc,DAY_6,0x02000c,12,12,11,11,0 diff --git a/libc/sysv/consts/DAY_7.S b/libc/sysv/consts/DAY_7.S index 1e91d1aa360..19228483283 100644 --- a/libc/sysv/consts/DAY_7.S +++ b/libc/sysv/consts/DAY_7.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc DAY_7 0x02000d 13 13 12 12 0 +.syscon misc,DAY_7,0x02000d,13,13,12,12,0 diff --git a/libc/sysv/consts/DEAD_PROCESS.S b/libc/sysv/consts/DEAD_PROCESS.S index 647e8e5c77c..83c24dfa9a5 100644 --- a/libc/sysv/consts/DEAD_PROCESS.S +++ b/libc/sysv/consts/DEAD_PROCESS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc DEAD_PROCESS 8 8 7 0 0 0 +.syscon misc,DEAD_PROCESS,8,8,7,0,0,0 diff --git a/libc/sysv/consts/DELAYTIMER_MAX.S b/libc/sysv/consts/DELAYTIMER_MAX.S index c5b6446f30a..72d0f0fcafe 100644 --- a/libc/sysv/consts/DELAYTIMER_MAX.S +++ b/libc/sysv/consts/DELAYTIMER_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc DELAYTIMER_MAX 0x7fffffff 0 0 0 0 0 +.syscon misc,DELAYTIMER_MAX,0x7fffffff,0,0,0,0,0 diff --git a/libc/sysv/consts/DEV_BSIZE.S b/libc/sysv/consts/DEV_BSIZE.S index 985762c488b..6a6bcf3232f 100644 --- a/libc/sysv/consts/DEV_BSIZE.S +++ b/libc/sysv/consts/DEV_BSIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc DEV_BSIZE 0x0200 0x0200 0x0200 0x0200 0x0200 0 +.syscon misc,DEV_BSIZE,0x0200,0x0200,0x0200,0x0200,0x0200,0 diff --git a/libc/sysv/consts/DIRTYPE.S b/libc/sysv/consts/DIRTYPE.S index 1bc9966dc92..0c3dc0f80aa 100644 --- a/libc/sysv/consts/DIRTYPE.S +++ b/libc/sysv/consts/DIRTYPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc DIRTYPE 53 53 53 53 53 0 +.syscon misc,DIRTYPE,53,53,53,53,53,0 diff --git a/libc/sysv/consts/DMAXEXP.S b/libc/sysv/consts/DMAXEXP.S index 98a9d0c396b..5d73ec2602c 100644 --- a/libc/sysv/consts/DMAXEXP.S +++ b/libc/sysv/consts/DMAXEXP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc DMAXEXP 0x0400 0 0 0 0 0 +.syscon misc,DMAXEXP,0x0400,0,0,0,0,0 diff --git a/libc/sysv/consts/DMINEXP.S b/libc/sysv/consts/DMINEXP.S index c9661c26509..58caa7e10e0 100644 --- a/libc/sysv/consts/DMINEXP.S +++ b/libc/sysv/consts/DMINEXP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc DMINEXP -1021 0 0 0 0 0 +.syscon misc,DMINEXP,-1021,0,0,0,0,0 diff --git a/libc/sysv/consts/DOUBLEBITS.S b/libc/sysv/consts/DOUBLEBITS.S index 4a382557379..51c57b25aa6 100644 --- a/libc/sysv/consts/DOUBLEBITS.S +++ b/libc/sysv/consts/DOUBLEBITS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc DOUBLEBITS 0x40 0 0 0 0 0 +.syscon misc,DOUBLEBITS,0x40,0,0,0,0,0 diff --git a/libc/sysv/consts/DT_BLK.S b/libc/sysv/consts/DT_BLK.S index 786e99f71c2..a079931e5ec 100644 --- a/libc/sysv/consts/DT_BLK.S +++ b/libc/sysv/consts/DT_BLK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon dt DT_BLK 6 6 6 6 6 6 +.syscon dt,DT_BLK,6,6,6,6,6,6 diff --git a/libc/sysv/consts/DT_CHR.S b/libc/sysv/consts/DT_CHR.S index a9f16b5863b..1c7e3557370 100644 --- a/libc/sysv/consts/DT_CHR.S +++ b/libc/sysv/consts/DT_CHR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon dt DT_CHR 2 2 2 2 2 2 +.syscon dt,DT_CHR,2,2,2,2,2,2 diff --git a/libc/sysv/consts/DT_DIR.S b/libc/sysv/consts/DT_DIR.S index 049c69e04c9..cc29316e3bd 100644 --- a/libc/sysv/consts/DT_DIR.S +++ b/libc/sysv/consts/DT_DIR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon dt DT_DIR 4 4 4 4 4 4 +.syscon dt,DT_DIR,4,4,4,4,4,4 diff --git a/libc/sysv/consts/DT_FIFO.S b/libc/sysv/consts/DT_FIFO.S index 2511796ba6d..7311775391d 100644 --- a/libc/sysv/consts/DT_FIFO.S +++ b/libc/sysv/consts/DT_FIFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon dt DT_FIFO 1 1 1 1 1 1 +.syscon dt,DT_FIFO,1,1,1,1,1,1 diff --git a/libc/sysv/consts/DT_LNK.S b/libc/sysv/consts/DT_LNK.S index f0d405ad272..36c23af1470 100644 --- a/libc/sysv/consts/DT_LNK.S +++ b/libc/sysv/consts/DT_LNK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon dt DT_LNK 10 10 10 10 10 10 +.syscon dt,DT_LNK,10,10,10,10,10,10 diff --git a/libc/sysv/consts/DT_REG.S b/libc/sysv/consts/DT_REG.S index 0ce6a8ddbe1..d2ddb5aaf7c 100644 --- a/libc/sysv/consts/DT_REG.S +++ b/libc/sysv/consts/DT_REG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon dt DT_REG 8 8 8 8 8 8 +.syscon dt,DT_REG,8,8,8,8,8,8 diff --git a/libc/sysv/consts/DT_SOCK.S b/libc/sysv/consts/DT_SOCK.S index f6832920218..43facd0fcc7 100644 --- a/libc/sysv/consts/DT_SOCK.S +++ b/libc/sysv/consts/DT_SOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon dt DT_SOCK 12 12 12 12 12 12 +.syscon dt,DT_SOCK,12,12,12,12,12,12 diff --git a/libc/sysv/consts/DT_UNKNOWN.S b/libc/sysv/consts/DT_UNKNOWN.S index 537092315f3..97a25caa74b 100644 --- a/libc/sysv/consts/DT_UNKNOWN.S +++ b/libc/sysv/consts/DT_UNKNOWN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon dt DT_UNKNOWN 0 0 0 0 0 0 +.syscon dt,DT_UNKNOWN,0,0,0,0,0,0 diff --git a/libc/sysv/consts/D_FMT.S b/libc/sysv/consts/D_FMT.S index f8d0b6d00ab..af52c8e22fb 100644 --- a/libc/sysv/consts/D_FMT.S +++ b/libc/sysv/consts/D_FMT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc D_FMT 0x020029 2 2 1 1 0 +.syscon misc,D_FMT,0x020029,2,2,1,1,0 diff --git a/libc/sysv/consts/D_T_FMT.S b/libc/sysv/consts/D_T_FMT.S index 2b424282dce..a0fc414cce8 100644 --- a/libc/sysv/consts/D_T_FMT.S +++ b/libc/sysv/consts/D_T_FMT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc D_T_FMT 0x020028 1 1 0 0 0 +.syscon misc,D_T_FMT,0x020028,1,1,0,0,0 diff --git a/libc/sysv/consts/E2BIG.S b/libc/sysv/consts/E2BIG.S index 604b3cab3ed..dfedac5eb7a 100644 --- a/libc/sysv/consts/E2BIG.S +++ b/libc/sysv/consts/E2BIG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno E2BIG 7 7 7 7 7 1639 +.syscon errno,E2BIG,7,7,7,7,7,1639 diff --git a/libc/sysv/consts/EACCES.S b/libc/sysv/consts/EACCES.S index 1a6a04c98f9..654c9064bfe 100644 --- a/libc/sysv/consts/EACCES.S +++ b/libc/sysv/consts/EACCES.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EACCES 13 13 13 13 13 5 +.syscon errno,EACCES,13,13,13,13,13,5 diff --git a/libc/sysv/consts/EADDRINUSE.S b/libc/sysv/consts/EADDRINUSE.S index b564cf01b05..12ac6e8e990 100644 --- a/libc/sysv/consts/EADDRINUSE.S +++ b/libc/sysv/consts/EADDRINUSE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EADDRINUSE 98 48 48 48 48 0x2740 +.syscon errno,EADDRINUSE,98,48,48,48,48,0x2740 diff --git a/libc/sysv/consts/EADDRNOTAVAIL.S b/libc/sysv/consts/EADDRNOTAVAIL.S index 72e889dcc2e..1c7f18fdd57 100644 --- a/libc/sysv/consts/EADDRNOTAVAIL.S +++ b/libc/sysv/consts/EADDRNOTAVAIL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EADDRNOTAVAIL 99 49 49 49 49 0x2741 +.syscon errno,EADDRNOTAVAIL,99,49,49,49,49,0x2741 diff --git a/libc/sysv/consts/EADV.S b/libc/sysv/consts/EADV.S index c1c0763b9a1..2f14cfb1c86 100644 --- a/libc/sysv/consts/EADV.S +++ b/libc/sysv/consts/EADV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EADV 68 -1 -1 -1 -1 -1 +.syscon errno,EADV,68,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/EAFNOSUPPORT.S b/libc/sysv/consts/EAFNOSUPPORT.S index 9aab56dbaa6..79d1a0eae54 100644 --- a/libc/sysv/consts/EAFNOSUPPORT.S +++ b/libc/sysv/consts/EAFNOSUPPORT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EAFNOSUPPORT 97 47 47 47 47 0x273f +.syscon errno,EAFNOSUPPORT,97,47,47,47,47,0x273f diff --git a/libc/sysv/consts/EAGAIN.S b/libc/sysv/consts/EAGAIN.S index dc54a13772c..bc983c660a5 100644 --- a/libc/sysv/consts/EAGAIN.S +++ b/libc/sysv/consts/EAGAIN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EAGAIN 11 35 35 35 35 0x2733 +.syscon errno,EAGAIN,11,35,35,35,35,0x2733 diff --git a/libc/sysv/consts/EAI_ADDRFAMILY.S b/libc/sysv/consts/EAI_ADDRFAMILY.S index 972a9ccf8b8..f99569db646 100644 --- a/libc/sysv/consts/EAI_ADDRFAMILY.S +++ b/libc/sysv/consts/EAI_ADDRFAMILY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon eai EAI_ADDRFAMILY -9 1 0 -9 -9 -9 +.syscon eai,EAI_ADDRFAMILY,-9,1,0,-9,-9,-9 diff --git a/libc/sysv/consts/EAI_AGAIN.S b/libc/sysv/consts/EAI_AGAIN.S index a891992d9b1..c28223271bc 100644 --- a/libc/sysv/consts/EAI_AGAIN.S +++ b/libc/sysv/consts/EAI_AGAIN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon eai EAI_AGAIN -3 2 2 -3 -3 0x2afa +.syscon eai,EAI_AGAIN,-3,2,2,-3,-3,0x2afa diff --git a/libc/sysv/consts/EAI_ALLDONE.S b/libc/sysv/consts/EAI_ALLDONE.S index 95493550e3f..0eaee36133a 100644 --- a/libc/sysv/consts/EAI_ALLDONE.S +++ b/libc/sysv/consts/EAI_ALLDONE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon eai EAI_ALLDONE -103 -103 -103 -103 -103 -103 +.syscon eai,EAI_ALLDONE,-103,-103,-103,-103,-103,-103 diff --git a/libc/sysv/consts/EAI_BADFLAGS.S b/libc/sysv/consts/EAI_BADFLAGS.S index e0d717b379b..d22c968e854 100644 --- a/libc/sysv/consts/EAI_BADFLAGS.S +++ b/libc/sysv/consts/EAI_BADFLAGS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon eai EAI_BADFLAGS -1 3 3 -1 -1 0x2726 +.syscon eai,EAI_BADFLAGS,-1,3,3,-1,-1,0x2726 diff --git a/libc/sysv/consts/EAI_CANCELED.S b/libc/sysv/consts/EAI_CANCELED.S index 3ba8a3639dc..94c22acc3f4 100644 --- a/libc/sysv/consts/EAI_CANCELED.S +++ b/libc/sysv/consts/EAI_CANCELED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon eai EAI_CANCELED -101 -101 -101 -101 -101 -101 +.syscon eai,EAI_CANCELED,-101,-101,-101,-101,-101,-101 diff --git a/libc/sysv/consts/EAI_FAIL.S b/libc/sysv/consts/EAI_FAIL.S index f53a883dca2..e21044c3a90 100644 --- a/libc/sysv/consts/EAI_FAIL.S +++ b/libc/sysv/consts/EAI_FAIL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon eai EAI_FAIL -4 4 4 -4 -4 0x2afb +.syscon eai,EAI_FAIL,-4,4,4,-4,-4,0x2afb diff --git a/libc/sysv/consts/EAI_FAMILY.S b/libc/sysv/consts/EAI_FAMILY.S index 541161a0d9a..2541e7252cd 100644 --- a/libc/sysv/consts/EAI_FAMILY.S +++ b/libc/sysv/consts/EAI_FAMILY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon eai EAI_FAMILY -6 5 5 -6 -6 0x273f +.syscon eai,EAI_FAMILY,-6,5,5,-6,-6,0x273f diff --git a/libc/sysv/consts/EAI_IDN_ENCODE.S b/libc/sysv/consts/EAI_IDN_ENCODE.S index b8f4c33270e..5a833c1d47f 100644 --- a/libc/sysv/consts/EAI_IDN_ENCODE.S +++ b/libc/sysv/consts/EAI_IDN_ENCODE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon eai EAI_IDN_ENCODE -105 -105 -105 -105 -105 -105 +.syscon eai,EAI_IDN_ENCODE,-105,-105,-105,-105,-105,-105 diff --git a/libc/sysv/consts/EAI_INPROGRESS.S b/libc/sysv/consts/EAI_INPROGRESS.S index fe0a37fa178..2d592cdff4c 100644 --- a/libc/sysv/consts/EAI_INPROGRESS.S +++ b/libc/sysv/consts/EAI_INPROGRESS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon eai EAI_INPROGRESS -100 -100 -100 -100 -100 -100 +.syscon eai,EAI_INPROGRESS,-100,-100,-100,-100,-100,-100 diff --git a/libc/sysv/consts/EAI_INTR.S b/libc/sysv/consts/EAI_INTR.S index 1deee7bbdbe..8360f0be7e8 100644 --- a/libc/sysv/consts/EAI_INTR.S +++ b/libc/sysv/consts/EAI_INTR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon eai EAI_INTR -104 -104 -104 -104 -104 -104 +.syscon eai,EAI_INTR,-104,-104,-104,-104,-104,-104 diff --git a/libc/sysv/consts/EAI_MEMORY.S b/libc/sysv/consts/EAI_MEMORY.S index 2262473d24b..c36447f7a7e 100644 --- a/libc/sysv/consts/EAI_MEMORY.S +++ b/libc/sysv/consts/EAI_MEMORY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon eai EAI_MEMORY -10 6 6 -10 -10 0x2747 +.syscon eai,EAI_MEMORY,-10,6,6,-10,-10,0x2747 diff --git a/libc/sysv/consts/EAI_NODATA.S b/libc/sysv/consts/EAI_NODATA.S index fb136e8edab..6bc507712a9 100644 --- a/libc/sysv/consts/EAI_NODATA.S +++ b/libc/sysv/consts/EAI_NODATA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon eai EAI_NODATA -5 7 0 -5 -5 0x2af9 +.syscon eai,EAI_NODATA,-5,7,0,-5,-5,0x2af9 diff --git a/libc/sysv/consts/EAI_NONAME.S b/libc/sysv/consts/EAI_NONAME.S index 4d9df5d8843..c5fcf8df915 100644 --- a/libc/sysv/consts/EAI_NONAME.S +++ b/libc/sysv/consts/EAI_NONAME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon eai EAI_NONAME -2 8 8 -2 -2 0x2af9 +.syscon eai,EAI_NONAME,-2,8,8,-2,-2,0x2af9 diff --git a/libc/sysv/consts/EAI_NOTCANCELED.S b/libc/sysv/consts/EAI_NOTCANCELED.S index 7acc54c273d..ad50a520e57 100644 --- a/libc/sysv/consts/EAI_NOTCANCELED.S +++ b/libc/sysv/consts/EAI_NOTCANCELED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon eai EAI_NOTCANCELED -102 -102 -102 -102 -102 -102 +.syscon eai,EAI_NOTCANCELED,-102,-102,-102,-102,-102,-102 diff --git a/libc/sysv/consts/EAI_OVERFLOW.S b/libc/sysv/consts/EAI_OVERFLOW.S index cdc179cf214..c6da5adda2e 100644 --- a/libc/sysv/consts/EAI_OVERFLOW.S +++ b/libc/sysv/consts/EAI_OVERFLOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon eai EAI_OVERFLOW -12 14 14 -14 -14 -12 +.syscon eai,EAI_OVERFLOW,-12,14,14,-14,-14,-12 diff --git a/libc/sysv/consts/EAI_SERVICE.S b/libc/sysv/consts/EAI_SERVICE.S index 0fccef1f129..4a5db5c5f64 100644 --- a/libc/sysv/consts/EAI_SERVICE.S +++ b/libc/sysv/consts/EAI_SERVICE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon eai EAI_SERVICE -8 9 9 -8 -8 0x277d +.syscon eai,EAI_SERVICE,-8,9,9,-8,-8,0x277d diff --git a/libc/sysv/consts/EAI_SOCKTYPE.S b/libc/sysv/consts/EAI_SOCKTYPE.S index 934b12dc73c..2e02936a059 100644 --- a/libc/sysv/consts/EAI_SOCKTYPE.S +++ b/libc/sysv/consts/EAI_SOCKTYPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon eai EAI_SOCKTYPE -7 10 10 -7 -7 0x273c +.syscon eai,EAI_SOCKTYPE,-7,10,10,-7,-7,0x273c diff --git a/libc/sysv/consts/EAI_SUCCESS.S b/libc/sysv/consts/EAI_SUCCESS.S index 839f923973c..b1e97bc0097 100644 --- a/libc/sysv/consts/EAI_SUCCESS.S +++ b/libc/sysv/consts/EAI_SUCCESS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon eai EAI_SUCCESS 0 0 0 0 0 0 +.syscon eai,EAI_SUCCESS,0,0,0,0,0,0 diff --git a/libc/sysv/consts/EAI_SYSTEM.S b/libc/sysv/consts/EAI_SYSTEM.S index e170a66e164..a78b73213f8 100644 --- a/libc/sysv/consts/EAI_SYSTEM.S +++ b/libc/sysv/consts/EAI_SYSTEM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon eai EAI_SYSTEM -11 11 11 -11 -11 -11 +.syscon eai,EAI_SYSTEM,-11,11,11,-11,-11,-11 diff --git a/libc/sysv/consts/EALREADY.S b/libc/sysv/consts/EALREADY.S index fc2852c31f2..cade0decd87 100644 --- a/libc/sysv/consts/EALREADY.S +++ b/libc/sysv/consts/EALREADY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EALREADY 114 37 37 37 37 0x2735 +.syscon errno,EALREADY,114,37,37,37,37,0x2735 diff --git a/libc/sysv/consts/EBADE.S b/libc/sysv/consts/EBADE.S index 26bc0989657..3f598169976 100644 --- a/libc/sysv/consts/EBADE.S +++ b/libc/sysv/consts/EBADE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EBADE 52 -1 -1 -1 -1 -1 +.syscon errno,EBADE,52,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/EBADF.S b/libc/sysv/consts/EBADF.S index 2174f59c0eb..63cd7824198 100644 --- a/libc/sysv/consts/EBADF.S +++ b/libc/sysv/consts/EBADF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EBADF 9 9 9 9 9 6 +.syscon errno,EBADF,9,9,9,9,9,6 diff --git a/libc/sysv/consts/EBADFD.S b/libc/sysv/consts/EBADFD.S index f0158d012f4..71f5f1687ab 100644 --- a/libc/sysv/consts/EBADFD.S +++ b/libc/sysv/consts/EBADFD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EBADFD 77 9 9 9 9 6 +.syscon errno,EBADFD,77,9,9,9,9,6 diff --git a/libc/sysv/consts/EBADMSG.S b/libc/sysv/consts/EBADMSG.S index 449b3f50e65..cad468c17f3 100644 --- a/libc/sysv/consts/EBADMSG.S +++ b/libc/sysv/consts/EBADMSG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EBADMSG 74 94 89 92 88 -1 +.syscon errno,EBADMSG,74,94,89,92,88,-1 diff --git a/libc/sysv/consts/EBADR.S b/libc/sysv/consts/EBADR.S index e445d2b555e..5695949763a 100644 --- a/libc/sysv/consts/EBADR.S +++ b/libc/sysv/consts/EBADR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EBADR 53 -1 -1 -1 -1 -1 +.syscon errno,EBADR,53,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/EBADRQC.S b/libc/sysv/consts/EBADRQC.S index 6e26d5adc85..c90b5f09ff2 100644 --- a/libc/sysv/consts/EBADRQC.S +++ b/libc/sysv/consts/EBADRQC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EBADRQC 56 -1 -1 -1 -1 -1 +.syscon errno,EBADRQC,56,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/EBADSLT.S b/libc/sysv/consts/EBADSLT.S index 5f621acb923..b46f4fce370 100644 --- a/libc/sysv/consts/EBADSLT.S +++ b/libc/sysv/consts/EBADSLT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EBADSLT 57 -1 -1 -1 -1 -1 +.syscon errno,EBADSLT,57,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/EBFONT.S b/libc/sysv/consts/EBFONT.S index f23af19d262..bd69179f0e9 100644 --- a/libc/sysv/consts/EBFONT.S +++ b/libc/sysv/consts/EBFONT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EBFONT 59 -1 -1 -1 -1 -1 +.syscon errno,EBFONT,59,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/EBUSY.S b/libc/sysv/consts/EBUSY.S index 6f0793e4f7f..3f38bdbe01b 100644 --- a/libc/sysv/consts/EBUSY.S +++ b/libc/sysv/consts/EBUSY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EBUSY 16 16 16 16 16 170 +.syscon errno,EBUSY,16,16,16,16,16,170 diff --git a/libc/sysv/consts/ECANCELED.S b/libc/sysv/consts/ECANCELED.S index 4dc4702555c..3974025c9ac 100644 --- a/libc/sysv/consts/ECANCELED.S +++ b/libc/sysv/consts/ECANCELED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ECANCELED 125 89 85 88 87 -1 +.syscon errno,ECANCELED,125,89,85,88,87,-1 diff --git a/libc/sysv/consts/ECHILD.S b/libc/sysv/consts/ECHILD.S index bc2df37e2d4..2a4b43204e4 100644 --- a/libc/sysv/consts/ECHILD.S +++ b/libc/sysv/consts/ECHILD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ECHILD 10 10 10 10 10 128 +.syscon errno,ECHILD,10,10,10,10,10,128 diff --git a/libc/sysv/consts/ECHO.S b/libc/sysv/consts/ECHO.S index bf8a921123f..54a1026b6e8 100644 --- a/libc/sysv/consts/ECHO.S +++ b/libc/sysv/consts/ECHO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios ECHO 0b0000000000001000 0b0000000000001000 0b0000000000001000 0b0000000000001000 0b0000000000001000 0b0000000000001000 +.syscon termios,ECHO,0b0000000000001000,0b0000000000001000,0b0000000000001000,0b0000000000001000,0b0000000000001000,0b0000000000001000 diff --git a/libc/sysv/consts/ECHOCTL.S b/libc/sysv/consts/ECHOCTL.S index aa00b5aa1cd..ad56643c1b2 100644 --- a/libc/sysv/consts/ECHOCTL.S +++ b/libc/sysv/consts/ECHOCTL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios ECHOCTL 0b0000001000000000 0b0000000001000000 0b0000000001000000 0b0000000001000000 0b0000000001000000 0b0000001000000000 +.syscon termios,ECHOCTL,0b0000001000000000,0b0000000001000000,0b0000000001000000,0b0000000001000000,0b0000000001000000,0b0000001000000000 diff --git a/libc/sysv/consts/ECHOE.S b/libc/sysv/consts/ECHOE.S index ab8a89579c1..5edc05397ad 100644 --- a/libc/sysv/consts/ECHOE.S +++ b/libc/sysv/consts/ECHOE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios ECHOE 0b0000000000010000 0b0000000000000010 0b0000000000000010 0b0000000000000010 0b0000000000000010 0b0000000000010000 +.syscon termios,ECHOE,0b0000000000010000,0b0000000000000010,0b0000000000000010,0b0000000000000010,0b0000000000000010,0b0000000000010000 diff --git a/libc/sysv/consts/ECHOK.S b/libc/sysv/consts/ECHOK.S index c48ee4754be..0ae9c695467 100644 --- a/libc/sysv/consts/ECHOK.S +++ b/libc/sysv/consts/ECHOK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios ECHOK 0b0000000000100000 0b0000000000000100 0b0000000000000100 0b0000000000000100 0b0000000000000100 0b0000000000100000 +.syscon termios,ECHOK,0b0000000000100000,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000100000 diff --git a/libc/sysv/consts/ECHOKE.S b/libc/sysv/consts/ECHOKE.S index 377980006bd..e03bf5c5896 100644 --- a/libc/sysv/consts/ECHOKE.S +++ b/libc/sysv/consts/ECHOKE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios ECHOKE 0b0000100000000000 0b0000000000000001 0b0000000000000001 0b0000000000000001 0b0000000000000001 0b0000100000000000 +.syscon termios,ECHOKE,0b0000100000000000,0b0000000000000001,0b0000000000000001,0b0000000000000001,0b0000000000000001,0b0000100000000000 diff --git a/libc/sysv/consts/ECHONL.S b/libc/sysv/consts/ECHONL.S index 4cc4bcfd122..0dc92c2d89a 100644 --- a/libc/sysv/consts/ECHONL.S +++ b/libc/sysv/consts/ECHONL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios ECHONL 0b0000000001000000 0b0000000000010000 0b0000000000010000 0b0000000000010000 0b0000000000010000 0b0000000001000000 +.syscon termios,ECHONL,0b0000000001000000,0b0000000000010000,0b0000000000010000,0b0000000000010000,0b0000000000010000,0b0000000001000000 diff --git a/libc/sysv/consts/ECHOPRT.S b/libc/sysv/consts/ECHOPRT.S index 6d266665c6b..13d810ba086 100644 --- a/libc/sysv/consts/ECHOPRT.S +++ b/libc/sysv/consts/ECHOPRT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios ECHOPRT 0b0000010000000000 0b0000000000100000 0b0000000000100000 0b0000000000100000 0b0000000000100000 0b0000010000000000 +.syscon termios,ECHOPRT,0b0000010000000000,0b0000000000100000,0b0000000000100000,0b0000000000100000,0b0000000000100000,0b0000010000000000 diff --git a/libc/sysv/consts/ECHRNG.S b/libc/sysv/consts/ECHRNG.S index 561e4e5805d..499cc40b5f9 100644 --- a/libc/sysv/consts/ECHRNG.S +++ b/libc/sysv/consts/ECHRNG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ECHRNG 44 -1 -1 -1 -1 -1 +.syscon errno,ECHRNG,44,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ECOMM.S b/libc/sysv/consts/ECOMM.S index e6da16d8600..426b216c961 100644 --- a/libc/sysv/consts/ECOMM.S +++ b/libc/sysv/consts/ECOMM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ECOMM 70 -1 -1 -1 -1 -1 +.syscon errno,ECOMM,70,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ECONNABORTED.S b/libc/sysv/consts/ECONNABORTED.S index e1a3c507d67..bedbbe5c42c 100644 --- a/libc/sysv/consts/ECONNABORTED.S +++ b/libc/sysv/consts/ECONNABORTED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ECONNABORTED 103 53 53 53 53 0x2745 +.syscon errno,ECONNABORTED,103,53,53,53,53,0x2745 diff --git a/libc/sysv/consts/ECONNREFUSED.S b/libc/sysv/consts/ECONNREFUSED.S index 5a8557a5826..366123c7a63 100644 --- a/libc/sysv/consts/ECONNREFUSED.S +++ b/libc/sysv/consts/ECONNREFUSED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ECONNREFUSED 111 61 61 61 61 0x274d +.syscon errno,ECONNREFUSED,111,61,61,61,61,0x274d diff --git a/libc/sysv/consts/ECONNRESET.S b/libc/sysv/consts/ECONNRESET.S index 8be4ee3a132..7e5708c6ae1 100644 --- a/libc/sysv/consts/ECONNRESET.S +++ b/libc/sysv/consts/ECONNRESET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ECONNRESET 104 54 54 54 54 0x2746 +.syscon errno,ECONNRESET,104,54,54,54,54,0x2746 diff --git a/libc/sysv/consts/EDEADLK.S b/libc/sysv/consts/EDEADLK.S index 9d06f108113..04f0798af0a 100644 --- a/libc/sysv/consts/EDEADLK.S +++ b/libc/sysv/consts/EDEADLK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EDEADLK 35 11 11 11 11 1131 +.syscon errno,EDEADLK,35,11,11,11,11,1131 diff --git a/libc/sysv/consts/EDESTADDRREQ.S b/libc/sysv/consts/EDESTADDRREQ.S index afca572c8e2..6782be649ea 100644 --- a/libc/sysv/consts/EDESTADDRREQ.S +++ b/libc/sysv/consts/EDESTADDRREQ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EDESTADDRREQ 89 39 39 39 39 0x2737 +.syscon errno,EDESTADDRREQ,89,39,39,39,39,0x2737 diff --git a/libc/sysv/consts/EDOM.S b/libc/sysv/consts/EDOM.S index cdb852070fd..2225b344c79 100644 --- a/libc/sysv/consts/EDOM.S +++ b/libc/sysv/consts/EDOM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EDOM 33 33 33 33 33 -1 +.syscon errno,EDOM,33,33,33,33,33,-1 diff --git a/libc/sysv/consts/EDOTDOT.S b/libc/sysv/consts/EDOTDOT.S index c8034413443..28360677f0c 100644 --- a/libc/sysv/consts/EDOTDOT.S +++ b/libc/sysv/consts/EDOTDOT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EDOTDOT 73 -1 -1 -1 -1 -1 +.syscon errno,EDOTDOT,73,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/EDQUOT.S b/libc/sysv/consts/EDQUOT.S index 0321aebeb28..7f6ede6a9cf 100644 --- a/libc/sysv/consts/EDQUOT.S +++ b/libc/sysv/consts/EDQUOT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EDQUOT 122 69 69 69 69 0x2755 +.syscon errno,EDQUOT,122,69,69,69,69,0x2755 diff --git a/libc/sysv/consts/EEXIST.S b/libc/sysv/consts/EEXIST.S index 1ae83309c23..7ef6fbf7f6d 100644 --- a/libc/sysv/consts/EEXIST.S +++ b/libc/sysv/consts/EEXIST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EEXIST 17 17 17 17 17 183 +.syscon errno,EEXIST,17,17,17,17,17,183 diff --git a/libc/sysv/consts/EFAULT.S b/libc/sysv/consts/EFAULT.S index ce905aa5c97..719957dac1b 100644 --- a/libc/sysv/consts/EFAULT.S +++ b/libc/sysv/consts/EFAULT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EFAULT 14 14 14 14 14 487 +.syscon errno,EFAULT,14,14,14,14,14,487 diff --git a/libc/sysv/consts/EFBIG.S b/libc/sysv/consts/EFBIG.S index e3e539cead0..3ad3974a210 100644 --- a/libc/sysv/consts/EFBIG.S +++ b/libc/sysv/consts/EFBIG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EFBIG 27 27 27 27 27 223 +.syscon errno,EFBIG,27,27,27,27,27,223 diff --git a/libc/sysv/consts/EFD_CLOEXEC.S b/libc/sysv/consts/EFD_CLOEXEC.S index 2288b701376..140b6538c9d 100644 --- a/libc/sysv/consts/EFD_CLOEXEC.S +++ b/libc/sysv/consts/EFD_CLOEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc EFD_CLOEXEC 0x080000 0 0 0 0 0 +.syscon misc,EFD_CLOEXEC,0x080000,0,0,0,0,0 diff --git a/libc/sysv/consts/EFD_NONBLOCK.S b/libc/sysv/consts/EFD_NONBLOCK.S index e158e2da1fb..ff7c1178a9f 100644 --- a/libc/sysv/consts/EFD_NONBLOCK.S +++ b/libc/sysv/consts/EFD_NONBLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc EFD_NONBLOCK 0x0800 0 0 0 0 0 +.syscon misc,EFD_NONBLOCK,0x0800,0,0,0,0,0 diff --git a/libc/sysv/consts/EFD_SEMAPHORE.S b/libc/sysv/consts/EFD_SEMAPHORE.S index 5c0c002229f..e3ee8296493 100644 --- a/libc/sysv/consts/EFD_SEMAPHORE.S +++ b/libc/sysv/consts/EFD_SEMAPHORE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc EFD_SEMAPHORE 1 0 0 0 0 0 +.syscon misc,EFD_SEMAPHORE,1,0,0,0,0,0 diff --git a/libc/sysv/consts/EHOSTDOWN.S b/libc/sysv/consts/EHOSTDOWN.S index 9c634ae36e6..66865b63dad 100644 --- a/libc/sysv/consts/EHOSTDOWN.S +++ b/libc/sysv/consts/EHOSTDOWN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EHOSTDOWN 112 64 64 64 64 0x2750 +.syscon errno,EHOSTDOWN,112,64,64,64,64,0x2750 diff --git a/libc/sysv/consts/EHOSTUNREACH.S b/libc/sysv/consts/EHOSTUNREACH.S index c6e49cdba40..aaee71d2c6d 100644 --- a/libc/sysv/consts/EHOSTUNREACH.S +++ b/libc/sysv/consts/EHOSTUNREACH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EHOSTUNREACH 113 65 65 65 65 0x2751 +.syscon errno,EHOSTUNREACH,113,65,65,65,65,0x2751 diff --git a/libc/sysv/consts/EHWPOISON.S b/libc/sysv/consts/EHWPOISON.S index 8405d312712..0a985d2cf8a 100644 --- a/libc/sysv/consts/EHWPOISON.S +++ b/libc/sysv/consts/EHWPOISON.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EHWPOISON 133 -1 -1 -1 -1 -1 +.syscon errno,EHWPOISON,133,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/EIDRM.S b/libc/sysv/consts/EIDRM.S index ed2305be7f8..6366c8d6ec1 100644 --- a/libc/sysv/consts/EIDRM.S +++ b/libc/sysv/consts/EIDRM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EIDRM 43 90 82 89 82 -1 +.syscon errno,EIDRM,43,90,82,89,82,-1 diff --git a/libc/sysv/consts/EILSEQ.S b/libc/sysv/consts/EILSEQ.S index d43decfcb04..e7b4fa7fc06 100644 --- a/libc/sysv/consts/EILSEQ.S +++ b/libc/sysv/consts/EILSEQ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EILSEQ 84 92 86 84 85 -1 +.syscon errno,EILSEQ,84,92,86,84,85,-1 diff --git a/libc/sysv/consts/EINPROGRESS.S b/libc/sysv/consts/EINPROGRESS.S index dfb4284d423..ec5c077e674 100644 --- a/libc/sysv/consts/EINPROGRESS.S +++ b/libc/sysv/consts/EINPROGRESS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EINPROGRESS 115 36 36 36 36 0x2734 +.syscon errno,EINPROGRESS,115,36,36,36,36,0x2734 diff --git a/libc/sysv/consts/EINTR.S b/libc/sysv/consts/EINTR.S index 32d60b05fcf..1f123675a9e 100644 --- a/libc/sysv/consts/EINTR.S +++ b/libc/sysv/consts/EINTR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EINTR 4 4 4 4 4 10004 +.syscon errno,EINTR,4,4,4,4,4,10004 diff --git a/libc/sysv/consts/EINVAL.S b/libc/sysv/consts/EINVAL.S index 896a038617a..c82480a45e8 100644 --- a/libc/sysv/consts/EINVAL.S +++ b/libc/sysv/consts/EINVAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EINVAL 22 22 22 22 22 87 +.syscon errno,EINVAL,22,22,22,22,22,87 diff --git a/libc/sysv/consts/EIO.S b/libc/sysv/consts/EIO.S index 9e119726bcc..bb19f45ac93 100644 --- a/libc/sysv/consts/EIO.S +++ b/libc/sysv/consts/EIO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EIO 5 5 5 5 5 1117 +.syscon errno,EIO,5,5,5,5,5,1117 diff --git a/libc/sysv/consts/EISCONN.S b/libc/sysv/consts/EISCONN.S index 0aa8df88811..70f5ae4e652 100644 --- a/libc/sysv/consts/EISCONN.S +++ b/libc/sysv/consts/EISCONN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EISCONN 106 56 56 56 56 0x2748 +.syscon errno,EISCONN,106,56,56,56,56,0x2748 diff --git a/libc/sysv/consts/EISDIR.S b/libc/sysv/consts/EISDIR.S index 20d0f45793b..9487b97dd54 100644 --- a/libc/sysv/consts/EISDIR.S +++ b/libc/sysv/consts/EISDIR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EISDIR 21 21 21 21 21 267 +.syscon errno,EISDIR,21,21,21,21,21,267 diff --git a/libc/sysv/consts/EISNAM.S b/libc/sysv/consts/EISNAM.S index af296982351..40f77720958 100644 --- a/libc/sysv/consts/EISNAM.S +++ b/libc/sysv/consts/EISNAM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EISNAM 120 -1 -1 -1 -1 -1 +.syscon errno,EISNAM,120,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/EKEYEXPIRED.S b/libc/sysv/consts/EKEYEXPIRED.S index e4e47f97e3d..9c8b10e87bf 100644 --- a/libc/sysv/consts/EKEYEXPIRED.S +++ b/libc/sysv/consts/EKEYEXPIRED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EKEYEXPIRED 127 -1 -1 -1 -1 -1 +.syscon errno,EKEYEXPIRED,127,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/EKEYREJECTED.S b/libc/sysv/consts/EKEYREJECTED.S index 26fe219905c..adad73e4c68 100644 --- a/libc/sysv/consts/EKEYREJECTED.S +++ b/libc/sysv/consts/EKEYREJECTED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EKEYREJECTED 129 -1 -1 -1 -1 -1 +.syscon errno,EKEYREJECTED,129,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/EKEYREVOKED.S b/libc/sysv/consts/EKEYREVOKED.S index 862140dab5c..5bdc3b7038a 100644 --- a/libc/sysv/consts/EKEYREVOKED.S +++ b/libc/sysv/consts/EKEYREVOKED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EKEYREVOKED 128 -1 -1 -1 -1 -1 +.syscon errno,EKEYREVOKED,128,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/EL2HLT.S b/libc/sysv/consts/EL2HLT.S index 3e35145c8ab..92582627579 100644 --- a/libc/sysv/consts/EL2HLT.S +++ b/libc/sysv/consts/EL2HLT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EL2HLT 51 -1 -1 -1 -1 -1 +.syscon errno,EL2HLT,51,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/EL2NSYNC.S b/libc/sysv/consts/EL2NSYNC.S index a12e01572f6..9d6258b88b0 100644 --- a/libc/sysv/consts/EL2NSYNC.S +++ b/libc/sysv/consts/EL2NSYNC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EL2NSYNC 45 -1 -1 -1 -1 -1 +.syscon errno,EL2NSYNC,45,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/EL3HLT.S b/libc/sysv/consts/EL3HLT.S index f5b8d993415..452ff0352f9 100644 --- a/libc/sysv/consts/EL3HLT.S +++ b/libc/sysv/consts/EL3HLT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EL3HLT 46 -1 -1 -1 -1 -1 +.syscon errno,EL3HLT,46,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/EL3RST.S b/libc/sysv/consts/EL3RST.S index 59ce3ac7c81..f47b536bf12 100644 --- a/libc/sysv/consts/EL3RST.S +++ b/libc/sysv/consts/EL3RST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EL3RST 47 -1 -1 -1 -1 -1 +.syscon errno,EL3RST,47,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ELF_NGREG.S b/libc/sysv/consts/ELF_NGREG.S index 0c9e3c9aafe..42e4fe0d3f0 100644 --- a/libc/sysv/consts/ELF_NGREG.S +++ b/libc/sysv/consts/ELF_NGREG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ELF_NGREG 27 0 0 0 0 0 +.syscon misc,ELF_NGREG,27,0,0,0,0,0 diff --git a/libc/sysv/consts/ELF_PRARGSZ.S b/libc/sysv/consts/ELF_PRARGSZ.S index dc15163b8e3..37583a070b4 100644 --- a/libc/sysv/consts/ELF_PRARGSZ.S +++ b/libc/sysv/consts/ELF_PRARGSZ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ELF_PRARGSZ 80 0 0 0 0 0 +.syscon misc,ELF_PRARGSZ,80,0,0,0,0,0 diff --git a/libc/sysv/consts/ELIBACC.S b/libc/sysv/consts/ELIBACC.S index 7071dbc8571..6e31f20a16f 100644 --- a/libc/sysv/consts/ELIBACC.S +++ b/libc/sysv/consts/ELIBACC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ELIBACC 79 -1 -1 -1 -1 -1 +.syscon errno,ELIBACC,79,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ELIBBAD.S b/libc/sysv/consts/ELIBBAD.S index bc8dfc7287a..527d54b3285 100644 --- a/libc/sysv/consts/ELIBBAD.S +++ b/libc/sysv/consts/ELIBBAD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ELIBBAD 80 -1 -1 -1 -1 -1 +.syscon errno,ELIBBAD,80,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ELIBEXEC.S b/libc/sysv/consts/ELIBEXEC.S index e58824bef79..b2d82f07e2c 100644 --- a/libc/sysv/consts/ELIBEXEC.S +++ b/libc/sysv/consts/ELIBEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ELIBEXEC 83 -1 -1 -1 -1 -1 +.syscon errno,ELIBEXEC,83,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ELIBMAX.S b/libc/sysv/consts/ELIBMAX.S index 77cb3f266fb..c9ecd90791d 100644 --- a/libc/sysv/consts/ELIBMAX.S +++ b/libc/sysv/consts/ELIBMAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ELIBMAX 82 -1 -1 -1 -1 -1 +.syscon errno,ELIBMAX,82,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ELIBSCN.S b/libc/sysv/consts/ELIBSCN.S index f1a5e505bc8..a0268d32fc3 100644 --- a/libc/sysv/consts/ELIBSCN.S +++ b/libc/sysv/consts/ELIBSCN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ELIBSCN 81 -1 -1 -1 -1 -1 +.syscon errno,ELIBSCN,81,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ELNRNG.S b/libc/sysv/consts/ELNRNG.S index 235cc50feb5..15cf8112608 100644 --- a/libc/sysv/consts/ELNRNG.S +++ b/libc/sysv/consts/ELNRNG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ELNRNG 48 -1 -1 -1 -1 -1 +.syscon errno,ELNRNG,48,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ELOOP.S b/libc/sysv/consts/ELOOP.S index 564d4fc6d20..0139272911c 100644 --- a/libc/sysv/consts/ELOOP.S +++ b/libc/sysv/consts/ELOOP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ELOOP 40 62 62 62 62 0x274e +.syscon errno,ELOOP,40,62,62,62,62,0x274e diff --git a/libc/sysv/consts/EMEDIUMTYPE.S b/libc/sysv/consts/EMEDIUMTYPE.S index 82c46c3a4a4..40ed9536a18 100644 --- a/libc/sysv/consts/EMEDIUMTYPE.S +++ b/libc/sysv/consts/EMEDIUMTYPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EMEDIUMTYPE 124 -1 -1 86 86 -1 +.syscon errno,EMEDIUMTYPE,124,-1,-1,86,86,-1 diff --git a/libc/sysv/consts/EMFILE.S b/libc/sysv/consts/EMFILE.S index 4aed2a3b8aa..7877ea505c1 100644 --- a/libc/sysv/consts/EMFILE.S +++ b/libc/sysv/consts/EMFILE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EMFILE 24 24 24 24 24 336 +.syscon errno,EMFILE,24,24,24,24,24,336 diff --git a/libc/sysv/consts/EMLINK.S b/libc/sysv/consts/EMLINK.S index af8e1a8c59d..e9569d2c273 100644 --- a/libc/sysv/consts/EMLINK.S +++ b/libc/sysv/consts/EMLINK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EMLINK 31 31 31 31 31 4 +.syscon errno,EMLINK,31,31,31,31,31,4 diff --git a/libc/sysv/consts/EMPTY.S b/libc/sysv/consts/EMPTY.S index 9ae016b254d..26cd5eb86a0 100644 --- a/libc/sysv/consts/EMPTY.S +++ b/libc/sysv/consts/EMPTY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc EMPTY 0 0 0 0 0 0 +.syscon misc,EMPTY,0,0,0,0,0,0 diff --git a/libc/sysv/consts/EMSGSIZE.S b/libc/sysv/consts/EMSGSIZE.S index 04be5454e67..2cb9f6d7ffc 100644 --- a/libc/sysv/consts/EMSGSIZE.S +++ b/libc/sysv/consts/EMSGSIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EMSGSIZE 90 40 40 40 40 0x2738 +.syscon errno,EMSGSIZE,90,40,40,40,40,0x2738 diff --git a/libc/sysv/consts/EMULTIHOP.S b/libc/sysv/consts/EMULTIHOP.S index acbbc680ee8..59e35e0debc 100644 --- a/libc/sysv/consts/EMULTIHOP.S +++ b/libc/sysv/consts/EMULTIHOP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EMULTIHOP 72 95 90 -1 94 -1 +.syscon errno,EMULTIHOP,72,95,90,-1,94,-1 diff --git a/libc/sysv/consts/EM_ALTERA_NIOS2.S b/libc/sysv/consts/EM_ALTERA_NIOS2.S index 87ddba2a8d7..23388e41413 100644 --- a/libc/sysv/consts/EM_ALTERA_NIOS2.S +++ b/libc/sysv/consts/EM_ALTERA_NIOS2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc EM_ALTERA_NIOS2 113 0 0 0 0 0 +.syscon misc,EM_ALTERA_NIOS2,113,0,0,0,0,0 diff --git a/libc/sysv/consts/EM_LATTICEMICO32.S b/libc/sysv/consts/EM_LATTICEMICO32.S index b9cd92a3908..1ea67aa0953 100644 --- a/libc/sysv/consts/EM_LATTICEMICO32.S +++ b/libc/sysv/consts/EM_LATTICEMICO32.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc EM_LATTICEMICO32 138 0 0 0 0 0 +.syscon misc,EM_LATTICEMICO32,138,0,0,0,0,0 diff --git a/libc/sysv/consts/ENAMETOOLONG.S b/libc/sysv/consts/ENAMETOOLONG.S index 6a52b76dcba..4dc1a675acd 100644 --- a/libc/sysv/consts/ENAMETOOLONG.S +++ b/libc/sysv/consts/ENAMETOOLONG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENAMETOOLONG 36 63 63 63 63 0x274f +.syscon errno,ENAMETOOLONG,36,63,63,63,63,0x274f diff --git a/libc/sysv/consts/ENAVAIL.S b/libc/sysv/consts/ENAVAIL.S index f38668514d7..9f08040d585 100644 --- a/libc/sysv/consts/ENAVAIL.S +++ b/libc/sysv/consts/ENAVAIL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENAVAIL 119 -1 -1 -1 -1 -1 +.syscon errno,ENAVAIL,119,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ENDRUNDISC.S b/libc/sysv/consts/ENDRUNDISC.S index dbaf3ecddd8..9fe54df945f 100644 --- a/libc/sysv/consts/ENDRUNDISC.S +++ b/libc/sysv/consts/ENDRUNDISC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios ENDRUNDISC 0 0 0 0x9 0x9 -1 +.syscon termios,ENDRUNDISC,0,0,0,0x9,0x9,-1 diff --git a/libc/sysv/consts/ENETDOWN.S b/libc/sysv/consts/ENETDOWN.S index 863fa6223bf..31aeec71ad6 100644 --- a/libc/sysv/consts/ENETDOWN.S +++ b/libc/sysv/consts/ENETDOWN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENETDOWN 100 50 50 50 50 0x2742 +.syscon errno,ENETDOWN,100,50,50,50,50,0x2742 diff --git a/libc/sysv/consts/ENETRESET.S b/libc/sysv/consts/ENETRESET.S index 054a3783f74..073489b62c5 100644 --- a/libc/sysv/consts/ENETRESET.S +++ b/libc/sysv/consts/ENETRESET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENETRESET 102 52 52 52 52 0x2744 +.syscon errno,ENETRESET,102,52,52,52,52,0x2744 diff --git a/libc/sysv/consts/ENETUNREACH.S b/libc/sysv/consts/ENETUNREACH.S index 371c7d5ff64..bb921e4b466 100644 --- a/libc/sysv/consts/ENETUNREACH.S +++ b/libc/sysv/consts/ENETUNREACH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENETUNREACH 101 51 51 51 51 0x2743 +.syscon errno,ENETUNREACH,101,51,51,51,51,0x2743 diff --git a/libc/sysv/consts/ENFILE.S b/libc/sysv/consts/ENFILE.S index 4578936fa22..7e301a42144 100644 --- a/libc/sysv/consts/ENFILE.S +++ b/libc/sysv/consts/ENFILE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENFILE 23 23 23 23 23 331 +.syscon errno,ENFILE,23,23,23,23,23,331 diff --git a/libc/sysv/consts/ENOANO.S b/libc/sysv/consts/ENOANO.S index 2e48663d776..eda84bb517b 100644 --- a/libc/sysv/consts/ENOANO.S +++ b/libc/sysv/consts/ENOANO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOANO 55 -1 -1 -1 -1 -1 +.syscon errno,ENOANO,55,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ENOBUFS.S b/libc/sysv/consts/ENOBUFS.S index 0f55e6f2d2e..c4a329760f1 100644 --- a/libc/sysv/consts/ENOBUFS.S +++ b/libc/sysv/consts/ENOBUFS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOBUFS 105 55 55 55 55 0x2747 +.syscon errno,ENOBUFS,105,55,55,55,55,0x2747 diff --git a/libc/sysv/consts/ENOCSI.S b/libc/sysv/consts/ENOCSI.S index c59fbce0b45..b1f6b50e6c6 100644 --- a/libc/sysv/consts/ENOCSI.S +++ b/libc/sysv/consts/ENOCSI.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOCSI 50 -1 -1 -1 -1 -1 +.syscon errno,ENOCSI,50,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ENODATA.S b/libc/sysv/consts/ENODATA.S index 2cfc67deede..98f9dfa671b 100644 --- a/libc/sysv/consts/ENODATA.S +++ b/libc/sysv/consts/ENODATA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENODATA 61 96 -1 -1 89 -1 +.syscon errno,ENODATA,61,96,-1,-1,89,-1 diff --git a/libc/sysv/consts/ENODEV.S b/libc/sysv/consts/ENODEV.S index f217a1eb2eb..368c2a2e2db 100644 --- a/libc/sysv/consts/ENODEV.S +++ b/libc/sysv/consts/ENODEV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENODEV 19 19 19 19 19 1200 +.syscon errno,ENODEV,19,19,19,19,19,1200 diff --git a/libc/sysv/consts/ENOENT.S b/libc/sysv/consts/ENOENT.S index aa9f212243b..0219a4df552 100644 --- a/libc/sysv/consts/ENOENT.S +++ b/libc/sysv/consts/ENOENT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOENT 2 2 2 2 2 2 +.syscon errno,ENOENT,2,2,2,2,2,2 diff --git a/libc/sysv/consts/ENOEXEC.S b/libc/sysv/consts/ENOEXEC.S index 5bd9b06cebd..c2c6e856a62 100644 --- a/libc/sysv/consts/ENOEXEC.S +++ b/libc/sysv/consts/ENOEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOEXEC 8 8 8 8 8 193 +.syscon errno,ENOEXEC,8,8,8,8,8,193 diff --git a/libc/sysv/consts/ENOKEY.S b/libc/sysv/consts/ENOKEY.S index 6f046d5ff11..55508eda724 100644 --- a/libc/sysv/consts/ENOKEY.S +++ b/libc/sysv/consts/ENOKEY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOKEY 126 -1 -1 -1 -1 -1 +.syscon errno,ENOKEY,126,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ENOLCK.S b/libc/sysv/consts/ENOLCK.S index c9c9549452c..ba4b6c4709b 100644 --- a/libc/sysv/consts/ENOLCK.S +++ b/libc/sysv/consts/ENOLCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOLCK 37 77 77 77 77 -1 +.syscon errno,ENOLCK,37,77,77,77,77,-1 diff --git a/libc/sysv/consts/ENOLINK.S b/libc/sysv/consts/ENOLINK.S index 775800e1043..aa187bbda8b 100644 --- a/libc/sysv/consts/ENOLINK.S +++ b/libc/sysv/consts/ENOLINK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOLINK 67 97 91 -1 95 -1 +.syscon errno,ENOLINK,67,97,91,-1,95,-1 diff --git a/libc/sysv/consts/ENOMEDIUM.S b/libc/sysv/consts/ENOMEDIUM.S index 4cdb319fc02..78791b5a816 100644 --- a/libc/sysv/consts/ENOMEDIUM.S +++ b/libc/sysv/consts/ENOMEDIUM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOMEDIUM 123 -1 -1 85 85 -1 +.syscon errno,ENOMEDIUM,123,-1,-1,85,85,-1 diff --git a/libc/sysv/consts/ENOMEM.S b/libc/sysv/consts/ENOMEM.S index ce3e94f94d3..55014dc16dc 100644 --- a/libc/sysv/consts/ENOMEM.S +++ b/libc/sysv/consts/ENOMEM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOMEM 12 12 12 12 12 14 +.syscon errno,ENOMEM,12,12,12,12,12,14 diff --git a/libc/sysv/consts/ENOMSG.S b/libc/sysv/consts/ENOMSG.S index 81e19e7208a..f217526265f 100644 --- a/libc/sysv/consts/ENOMSG.S +++ b/libc/sysv/consts/ENOMSG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOMSG 42 91 83 90 83 -1 +.syscon errno,ENOMSG,42,91,83,90,83,-1 diff --git a/libc/sysv/consts/ENONET.S b/libc/sysv/consts/ENONET.S index ee40d309cfd..9dce36a122b 100644 --- a/libc/sysv/consts/ENONET.S +++ b/libc/sysv/consts/ENONET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENONET 64 -1 -1 -1 -1 -1 +.syscon errno,ENONET,64,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ENOPKG.S b/libc/sysv/consts/ENOPKG.S index 12e8aa6ddee..a9697b7f169 100644 --- a/libc/sysv/consts/ENOPKG.S +++ b/libc/sysv/consts/ENOPKG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOPKG 65 -1 -1 -1 -1 -1 +.syscon errno,ENOPKG,65,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ENOPROTOOPT.S b/libc/sysv/consts/ENOPROTOOPT.S index 8c160da6ec2..0f516fa2141 100644 --- a/libc/sysv/consts/ENOPROTOOPT.S +++ b/libc/sysv/consts/ENOPROTOOPT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOPROTOOPT 92 42 42 42 42 0x273a +.syscon errno,ENOPROTOOPT,92,42,42,42,42,0x273a diff --git a/libc/sysv/consts/ENOSPC.S b/libc/sysv/consts/ENOSPC.S index 0494365a1f9..3d483e64ef6 100644 --- a/libc/sysv/consts/ENOSPC.S +++ b/libc/sysv/consts/ENOSPC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOSPC 28 28 28 28 28 39 +.syscon errno,ENOSPC,28,28,28,28,28,39 diff --git a/libc/sysv/consts/ENOSR.S b/libc/sysv/consts/ENOSR.S index 404d648e9e9..4ce1db6f9c5 100644 --- a/libc/sysv/consts/ENOSR.S +++ b/libc/sysv/consts/ENOSR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOSR 63 98 -1 -1 90 -1 +.syscon errno,ENOSR,63,98,-1,-1,90,-1 diff --git a/libc/sysv/consts/ENOSTR.S b/libc/sysv/consts/ENOSTR.S index 79ca3c77554..acffd68f937 100644 --- a/libc/sysv/consts/ENOSTR.S +++ b/libc/sysv/consts/ENOSTR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOSTR 60 99 -1 -1 91 -1 +.syscon errno,ENOSTR,60,99,-1,-1,91,-1 diff --git a/libc/sysv/consts/ENOSYS.S b/libc/sysv/consts/ENOSYS.S index 6a0ab9653bd..fc64e3b6fa2 100644 --- a/libc/sysv/consts/ENOSYS.S +++ b/libc/sysv/consts/ENOSYS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOSYS 38 78 78 78 78 1 +.syscon errno,ENOSYS,38,78,78,78,78,1 diff --git a/libc/sysv/consts/ENOTBLK.S b/libc/sysv/consts/ENOTBLK.S index 544dbab1116..42435bf1c38 100644 --- a/libc/sysv/consts/ENOTBLK.S +++ b/libc/sysv/consts/ENOTBLK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOTBLK 15 15 15 15 15 26 +.syscon errno,ENOTBLK,15,15,15,15,15,26 diff --git a/libc/sysv/consts/ENOTCONN.S b/libc/sysv/consts/ENOTCONN.S index c279b1244a6..5bb5712d813 100644 --- a/libc/sysv/consts/ENOTCONN.S +++ b/libc/sysv/consts/ENOTCONN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOTCONN 107 57 57 57 57 0x2749 +.syscon errno,ENOTCONN,107,57,57,57,57,0x2749 diff --git a/libc/sysv/consts/ENOTDIR.S b/libc/sysv/consts/ENOTDIR.S index 686f170476d..96d44c374b5 100644 --- a/libc/sysv/consts/ENOTDIR.S +++ b/libc/sysv/consts/ENOTDIR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOTDIR 20 20 20 20 20 3 +.syscon errno,ENOTDIR,20,20,20,20,20,3 diff --git a/libc/sysv/consts/ENOTEMPTY.S b/libc/sysv/consts/ENOTEMPTY.S index a77d065a03c..c465d247082 100644 --- a/libc/sysv/consts/ENOTEMPTY.S +++ b/libc/sysv/consts/ENOTEMPTY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOTEMPTY 39 66 66 66 66 145 +.syscon errno,ENOTEMPTY,39,66,66,66,66,145 diff --git a/libc/sysv/consts/ENOTNAM.S b/libc/sysv/consts/ENOTNAM.S index af48e239265..fbfdb08edf8 100644 --- a/libc/sysv/consts/ENOTNAM.S +++ b/libc/sysv/consts/ENOTNAM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOTNAM 118 -1 -1 -1 -1 -1 +.syscon errno,ENOTNAM,118,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ENOTRECOVERABLE.S b/libc/sysv/consts/ENOTRECOVERABLE.S index a67cdaf6d22..c6c6c6f2a4d 100644 --- a/libc/sysv/consts/ENOTRECOVERABLE.S +++ b/libc/sysv/consts/ENOTRECOVERABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOTRECOVERABLE 131 104 95 93 98 -1 +.syscon errno,ENOTRECOVERABLE,131,104,95,93,98,-1 diff --git a/libc/sysv/consts/ENOTSOCK.S b/libc/sysv/consts/ENOTSOCK.S index 522c8ffe8d4..3575547e73c 100644 --- a/libc/sysv/consts/ENOTSOCK.S +++ b/libc/sysv/consts/ENOTSOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOTSOCK 88 38 38 38 38 0x2736 +.syscon errno,ENOTSOCK,88,38,38,38,38,0x2736 diff --git a/libc/sysv/consts/ENOTSUP.S b/libc/sysv/consts/ENOTSUP.S index ce4bf970853..77a0a8a3d07 100644 --- a/libc/sysv/consts/ENOTSUP.S +++ b/libc/sysv/consts/ENOTSUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOTSUP 95 45 45 91 86 0x273d +.syscon errno,ENOTSUP,95,45,45,91,86,0x273d diff --git a/libc/sysv/consts/ENOTTY.S b/libc/sysv/consts/ENOTTY.S index f362b6a44ec..dc18782e8cc 100644 --- a/libc/sysv/consts/ENOTTY.S +++ b/libc/sysv/consts/ENOTTY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOTTY 25 25 25 25 25 1118 +.syscon errno,ENOTTY,25,25,25,25,25,1118 diff --git a/libc/sysv/consts/ENOTUNIQ.S b/libc/sysv/consts/ENOTUNIQ.S index e52332d8519..a0da65f6384 100644 --- a/libc/sysv/consts/ENOTUNIQ.S +++ b/libc/sysv/consts/ENOTUNIQ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENOTUNIQ 76 -1 -1 -1 -1 -1 +.syscon errno,ENOTUNIQ,76,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ENXIO.S b/libc/sysv/consts/ENXIO.S index e799896689b..0382322b3d1 100644 --- a/libc/sysv/consts/ENXIO.S +++ b/libc/sysv/consts/ENXIO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ENXIO 6 6 6 6 6 1112 +.syscon errno,ENXIO,6,6,6,6,6,1112 diff --git a/libc/sysv/consts/EOPNOTSUPP.S b/libc/sysv/consts/EOPNOTSUPP.S index f36b9b8dff0..d301e8d9859 100644 --- a/libc/sysv/consts/EOPNOTSUPP.S +++ b/libc/sysv/consts/EOPNOTSUPP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EOPNOTSUPP 95 102 45 45 45 0x273d +.syscon errno,EOPNOTSUPP,95,102,45,45,45,0x273d diff --git a/libc/sysv/consts/EOVERFLOW.S b/libc/sysv/consts/EOVERFLOW.S index 9d73cffe560..4edc95decab 100644 --- a/libc/sysv/consts/EOVERFLOW.S +++ b/libc/sysv/consts/EOVERFLOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EOVERFLOW 75 84 84 87 84 -1 +.syscon errno,EOVERFLOW,75,84,84,87,84,-1 diff --git a/libc/sysv/consts/EOWNERDEAD.S b/libc/sysv/consts/EOWNERDEAD.S index 66ede6f18ba..bf2a9771eb8 100644 --- a/libc/sysv/consts/EOWNERDEAD.S +++ b/libc/sysv/consts/EOWNERDEAD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EOWNERDEAD 130 105 96 94 97 -1 +.syscon errno,EOWNERDEAD,130,105,96,94,97,-1 diff --git a/libc/sysv/consts/EPERM.S b/libc/sysv/consts/EPERM.S index aab488cae9a..dd7caf3dcc3 100644 --- a/libc/sysv/consts/EPERM.S +++ b/libc/sysv/consts/EPERM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EPERM 1 1 1 1 1 12 +.syscon errno,EPERM,1,1,1,1,1,12 diff --git a/libc/sysv/consts/EPFNOSUPPORT.S b/libc/sysv/consts/EPFNOSUPPORT.S index 113d4ccb3b2..45daea4a5f6 100644 --- a/libc/sysv/consts/EPFNOSUPPORT.S +++ b/libc/sysv/consts/EPFNOSUPPORT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EPFNOSUPPORT 96 46 46 46 46 0x273e +.syscon errno,EPFNOSUPPORT,96,46,46,46,46,0x273e diff --git a/libc/sysv/consts/EPIPE.S b/libc/sysv/consts/EPIPE.S index 67d77331f27..ada0aea80a4 100644 --- a/libc/sysv/consts/EPIPE.S +++ b/libc/sysv/consts/EPIPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EPIPE 32 32 32 32 32 109 +.syscon errno,EPIPE,32,32,32,32,32,109 diff --git a/libc/sysv/consts/EPOLLERR.S b/libc/sysv/consts/EPOLLERR.S index 8623118f212..20216e3b705 100644 --- a/libc/sysv/consts/EPOLLERR.S +++ b/libc/sysv/consts/EPOLLERR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon epoll EPOLLERR 8 8 8 8 8 8 +.syscon epoll,EPOLLERR,8,8,8,8,8,8 diff --git a/libc/sysv/consts/EPOLLET.S b/libc/sysv/consts/EPOLLET.S index c570367d489..f7400eb5771 100644 --- a/libc/sysv/consts/EPOLLET.S +++ b/libc/sysv/consts/EPOLLET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon epoll EPOLLET 0x80000000 0x80000000 0x80000000 0x80000000 0x80000000 0x80000000 +.syscon epoll,EPOLLET,0x80000000,0x80000000,0x80000000,0x80000000,0x80000000,0x80000000 diff --git a/libc/sysv/consts/EPOLLEXCLUSIVE.S b/libc/sysv/consts/EPOLLEXCLUSIVE.S index d1c9d55f07c..a8fd7ae3a33 100644 --- a/libc/sysv/consts/EPOLLEXCLUSIVE.S +++ b/libc/sysv/consts/EPOLLEXCLUSIVE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon epoll EPOLLEXCLUSIVE 0x10000000 0x10000000 0x10000000 0x10000000 0x10000000 0x10000000 +.syscon epoll,EPOLLEXCLUSIVE,0x10000000,0x10000000,0x10000000,0x10000000,0x10000000,0x10000000 diff --git a/libc/sysv/consts/EPOLLHUP.S b/libc/sysv/consts/EPOLLHUP.S index 2c4dd78fcbc..e69374dfc21 100644 --- a/libc/sysv/consts/EPOLLHUP.S +++ b/libc/sysv/consts/EPOLLHUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon epoll EPOLLHUP 0x10 0x10 0x10 0x10 0x10 0x10 +.syscon epoll,EPOLLHUP,0x10,0x10,0x10,0x10,0x10,0x10 diff --git a/libc/sysv/consts/EPOLLIN.S b/libc/sysv/consts/EPOLLIN.S index 4dc302ff720..d40f86ca3de 100644 --- a/libc/sysv/consts/EPOLLIN.S +++ b/libc/sysv/consts/EPOLLIN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon epoll EPOLLIN 1 1 1 1 1 1 +.syscon epoll,EPOLLIN,1,1,1,1,1,1 diff --git a/libc/sysv/consts/EPOLLMSG.S b/libc/sysv/consts/EPOLLMSG.S index aa59b460969..23f104cc2bd 100644 --- a/libc/sysv/consts/EPOLLMSG.S +++ b/libc/sysv/consts/EPOLLMSG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon epoll EPOLLMSG 0x0400 0x0400 0x0400 0x0400 0x0400 0x0400 +.syscon epoll,EPOLLMSG,0x0400,0x0400,0x0400,0x0400,0x0400,0x0400 diff --git a/libc/sysv/consts/EPOLLONESHOT.S b/libc/sysv/consts/EPOLLONESHOT.S index 0e211847cdd..7422a86e0e4 100644 --- a/libc/sysv/consts/EPOLLONESHOT.S +++ b/libc/sysv/consts/EPOLLONESHOT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon epoll EPOLLONESHOT 0x40000000 0x40000000 0x40000000 0x40000000 0x40000000 0x40000000 +.syscon epoll,EPOLLONESHOT,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000 diff --git a/libc/sysv/consts/EPOLLOUT.S b/libc/sysv/consts/EPOLLOUT.S index 5b07ddea52b..724f0d75f30 100644 --- a/libc/sysv/consts/EPOLLOUT.S +++ b/libc/sysv/consts/EPOLLOUT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon epoll EPOLLOUT 4 4 4 4 4 4 +.syscon epoll,EPOLLOUT,4,4,4,4,4,4 diff --git a/libc/sysv/consts/EPOLLPRI.S b/libc/sysv/consts/EPOLLPRI.S index 22afcb8d6c8..540de8eca1f 100644 --- a/libc/sysv/consts/EPOLLPRI.S +++ b/libc/sysv/consts/EPOLLPRI.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon epoll EPOLLPRI 2 2 2 2 2 2 +.syscon epoll,EPOLLPRI,2,2,2,2,2,2 diff --git a/libc/sysv/consts/EPOLLRDBAND.S b/libc/sysv/consts/EPOLLRDBAND.S index e1e93d8e9eb..038d3d952cf 100644 --- a/libc/sysv/consts/EPOLLRDBAND.S +++ b/libc/sysv/consts/EPOLLRDBAND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon epoll EPOLLRDBAND 0x80 0x80 0x80 0x80 0x80 0x80 +.syscon epoll,EPOLLRDBAND,0x80,0x80,0x80,0x80,0x80,0x80 diff --git a/libc/sysv/consts/EPOLLRDHUP.S b/libc/sysv/consts/EPOLLRDHUP.S index b6da997c302..6d540b4074f 100644 --- a/libc/sysv/consts/EPOLLRDHUP.S +++ b/libc/sysv/consts/EPOLLRDHUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon epoll EPOLLRDHUP 0x2000 0x2000 0x2000 0x2000 0x2000 0x2000 +.syscon epoll,EPOLLRDHUP,0x2000,0x2000,0x2000,0x2000,0x2000,0x2000 diff --git a/libc/sysv/consts/EPOLLRDNORM.S b/libc/sysv/consts/EPOLLRDNORM.S index 3b96a49484b..7383b6b6801 100644 --- a/libc/sysv/consts/EPOLLRDNORM.S +++ b/libc/sysv/consts/EPOLLRDNORM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon epoll EPOLLRDNORM 0x40 0x40 0x40 0x40 0x40 0x40 +.syscon epoll,EPOLLRDNORM,0x40,0x40,0x40,0x40,0x40,0x40 diff --git a/libc/sysv/consts/EPOLLWAKEUP.S b/libc/sysv/consts/EPOLLWAKEUP.S index 5ce71441521..5ab21d206df 100644 --- a/libc/sysv/consts/EPOLLWAKEUP.S +++ b/libc/sysv/consts/EPOLLWAKEUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon epoll EPOLLWAKEUP 0x20000000 0x20000000 0x20000000 0x20000000 0x20000000 0x20000000 +.syscon epoll,EPOLLWAKEUP,0x20000000,0x20000000,0x20000000,0x20000000,0x20000000,0x20000000 diff --git a/libc/sysv/consts/EPOLLWRBAND.S b/libc/sysv/consts/EPOLLWRBAND.S index ff117755e77..ed111bbd53a 100644 --- a/libc/sysv/consts/EPOLLWRBAND.S +++ b/libc/sysv/consts/EPOLLWRBAND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon epoll EPOLLWRBAND 0x0200 0x0200 0x0200 0x0200 0x0200 0x0200 +.syscon epoll,EPOLLWRBAND,0x0200,0x0200,0x0200,0x0200,0x0200,0x0200 diff --git a/libc/sysv/consts/EPOLLWRNORM.S b/libc/sysv/consts/EPOLLWRNORM.S index 629e45a8c2b..adc162ece94 100644 --- a/libc/sysv/consts/EPOLLWRNORM.S +++ b/libc/sysv/consts/EPOLLWRNORM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon epoll EPOLLWRNORM 0x0100 0x0100 0x0100 0x0100 0x0100 0x0100 +.syscon epoll,EPOLLWRNORM,0x0100,0x0100,0x0100,0x0100,0x0100,0x0100 diff --git a/libc/sysv/consts/EPOLL_CLOEXEC.S b/libc/sysv/consts/EPOLL_CLOEXEC.S index 5914b0075eb..9be17ae636f 100644 --- a/libc/sysv/consts/EPOLL_CLOEXEC.S +++ b/libc/sysv/consts/EPOLL_CLOEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon epoll EPOLL_CLOEXEC 0x080000 0x01000000 0x100000 0x010000 0x010000 0x80000 +.syscon epoll,EPOLL_CLOEXEC,0x080000,0x01000000,0x100000,0x010000,0x010000,0x80000 diff --git a/libc/sysv/consts/EPOLL_CTL_ADD.S b/libc/sysv/consts/EPOLL_CTL_ADD.S index 33c6519d7fe..c2d26ae2c40 100644 --- a/libc/sysv/consts/EPOLL_CTL_ADD.S +++ b/libc/sysv/consts/EPOLL_CTL_ADD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon epoll EPOLL_CTL_ADD 1 1 1 1 1 1 +.syscon epoll,EPOLL_CTL_ADD,1,1,1,1,1,1 diff --git a/libc/sysv/consts/EPOLL_CTL_DEL.S b/libc/sysv/consts/EPOLL_CTL_DEL.S index 81192e407ea..dd094c78acd 100644 --- a/libc/sysv/consts/EPOLL_CTL_DEL.S +++ b/libc/sysv/consts/EPOLL_CTL_DEL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon epoll EPOLL_CTL_DEL 2 2 2 2 2 2 +.syscon epoll,EPOLL_CTL_DEL,2,2,2,2,2,2 diff --git a/libc/sysv/consts/EPOLL_CTL_MOD.S b/libc/sysv/consts/EPOLL_CTL_MOD.S index 47d108a00fa..8e67ff87f67 100644 --- a/libc/sysv/consts/EPOLL_CTL_MOD.S +++ b/libc/sysv/consts/EPOLL_CTL_MOD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon epoll EPOLL_CTL_MOD 3 3 3 3 3 3 +.syscon epoll,EPOLL_CTL_MOD,3,3,3,3,3,3 diff --git a/libc/sysv/consts/EPROTO.S b/libc/sysv/consts/EPROTO.S index 9d5dcd73ccf..436b4b3d647 100644 --- a/libc/sysv/consts/EPROTO.S +++ b/libc/sysv/consts/EPROTO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EPROTO 71 100 92 95 96 -1 +.syscon errno,EPROTO,71,100,92,95,96,-1 diff --git a/libc/sysv/consts/EPROTONOSUPPORT.S b/libc/sysv/consts/EPROTONOSUPPORT.S index 6c306502883..62232056212 100644 --- a/libc/sysv/consts/EPROTONOSUPPORT.S +++ b/libc/sysv/consts/EPROTONOSUPPORT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EPROTONOSUPPORT 93 43 43 43 43 0x273b +.syscon errno,EPROTONOSUPPORT,93,43,43,43,43,0x273b diff --git a/libc/sysv/consts/EPROTOTYPE.S b/libc/sysv/consts/EPROTOTYPE.S index 4530238c997..c9e206fe377 100644 --- a/libc/sysv/consts/EPROTOTYPE.S +++ b/libc/sysv/consts/EPROTOTYPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EPROTOTYPE 91 41 41 41 41 0x2739 +.syscon errno,EPROTOTYPE,91,41,41,41,41,0x2739 diff --git a/libc/sysv/consts/ERA.S b/libc/sysv/consts/ERA.S index db1a829e55f..59abd10c8bb 100644 --- a/libc/sysv/consts/ERA.S +++ b/libc/sysv/consts/ERA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ERA 0x02002c 45 45 0 0 0 +.syscon misc,ERA,0x02002c,45,45,0,0,0 diff --git a/libc/sysv/consts/ERANGE.S b/libc/sysv/consts/ERANGE.S index 4add7e44db6..09f8535a528 100644 --- a/libc/sysv/consts/ERANGE.S +++ b/libc/sysv/consts/ERANGE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ERANGE 34 34 34 34 34 -1 +.syscon errno,ERANGE,34,34,34,34,34,-1 diff --git a/libc/sysv/consts/ERA_D_FMT.S b/libc/sysv/consts/ERA_D_FMT.S index ef86a615892..9d8c952fd83 100644 --- a/libc/sysv/consts/ERA_D_FMT.S +++ b/libc/sysv/consts/ERA_D_FMT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ERA_D_FMT 0x02002e 46 46 0 0 0 +.syscon misc,ERA_D_FMT,0x02002e,46,46,0,0,0 diff --git a/libc/sysv/consts/ERA_D_T_FMT.S b/libc/sysv/consts/ERA_D_T_FMT.S index 46c0afdb83d..c5fb1850cf1 100644 --- a/libc/sysv/consts/ERA_D_T_FMT.S +++ b/libc/sysv/consts/ERA_D_T_FMT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ERA_D_T_FMT 0x020030 47 47 0 0 0 +.syscon misc,ERA_D_T_FMT,0x020030,47,47,0,0,0 diff --git a/libc/sysv/consts/ERA_T_FMT.S b/libc/sysv/consts/ERA_T_FMT.S index d1497ba2607..8f798bc2d84 100644 --- a/libc/sysv/consts/ERA_T_FMT.S +++ b/libc/sysv/consts/ERA_T_FMT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ERA_T_FMT 0x020031 48 48 0 0 0 +.syscon misc,ERA_T_FMT,0x020031,48,48,0,0,0 diff --git a/libc/sysv/consts/EREMCHG.S b/libc/sysv/consts/EREMCHG.S index f530b2cdc97..be7708037a5 100644 --- a/libc/sysv/consts/EREMCHG.S +++ b/libc/sysv/consts/EREMCHG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EREMCHG 78 -1 -1 -1 -1 -1 +.syscon errno,EREMCHG,78,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/EREMOTE.S b/libc/sysv/consts/EREMOTE.S index 664134d92cf..0143242e08d 100644 --- a/libc/sysv/consts/EREMOTE.S +++ b/libc/sysv/consts/EREMOTE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EREMOTE 66 71 71 71 71 0x2757 +.syscon errno,EREMOTE,66,71,71,71,71,0x2757 diff --git a/libc/sysv/consts/EREMOTEIO.S b/libc/sysv/consts/EREMOTEIO.S index b7530bc12ce..b5fd29a51de 100644 --- a/libc/sysv/consts/EREMOTEIO.S +++ b/libc/sysv/consts/EREMOTEIO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EREMOTEIO 121 -1 -1 -1 -1 -1 +.syscon errno,EREMOTEIO,121,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ERESTART.S b/libc/sysv/consts/ERESTART.S index bbab7bd3068..d259eaca768 100644 --- a/libc/sysv/consts/ERESTART.S +++ b/libc/sysv/consts/ERESTART.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ERESTART 85 -1 -1 -1 -3 -1 +.syscon errno,ERESTART,85,-1,-1,-1,-3,-1 diff --git a/libc/sysv/consts/ERFKILL.S b/libc/sysv/consts/ERFKILL.S index 5d8a2c95b36..c64e4ddbc62 100644 --- a/libc/sysv/consts/ERFKILL.S +++ b/libc/sysv/consts/ERFKILL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ERFKILL 132 -1 -1 -1 -1 -1 +.syscon errno,ERFKILL,132,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/EROFS.S b/libc/sysv/consts/EROFS.S index ac94a640fb8..e0086240f2c 100644 --- a/libc/sysv/consts/EROFS.S +++ b/libc/sysv/consts/EROFS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EROFS 30 30 30 30 30 6009 +.syscon errno,EROFS,30,30,30,30,30,6009 diff --git a/libc/sysv/consts/ESHUTDOWN.S b/libc/sysv/consts/ESHUTDOWN.S index e8da024a0b4..10a5e720590 100644 --- a/libc/sysv/consts/ESHUTDOWN.S +++ b/libc/sysv/consts/ESHUTDOWN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ESHUTDOWN 108 58 58 58 58 0x274a +.syscon errno,ESHUTDOWN,108,58,58,58,58,0x274a diff --git a/libc/sysv/consts/ESOCKTNOSUPPORT.S b/libc/sysv/consts/ESOCKTNOSUPPORT.S index a101ce9f2bb..c7f91e3889d 100644 --- a/libc/sysv/consts/ESOCKTNOSUPPORT.S +++ b/libc/sysv/consts/ESOCKTNOSUPPORT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ESOCKTNOSUPPORT 94 44 44 44 44 0x273c +.syscon errno,ESOCKTNOSUPPORT,94,44,44,44,44,0x273c diff --git a/libc/sysv/consts/ESPIPE.S b/libc/sysv/consts/ESPIPE.S index 589a63dc9cc..d1b7a078a81 100644 --- a/libc/sysv/consts/ESPIPE.S +++ b/libc/sysv/consts/ESPIPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ESPIPE 29 29 29 29 29 25 +.syscon errno,ESPIPE,29,29,29,29,29,25 diff --git a/libc/sysv/consts/ESRCH.S b/libc/sysv/consts/ESRCH.S index 633a7faf834..77c4e303785 100644 --- a/libc/sysv/consts/ESRCH.S +++ b/libc/sysv/consts/ESRCH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ESRCH 3 3 3 3 3 566 +.syscon errno,ESRCH,3,3,3,3,3,566 diff --git a/libc/sysv/consts/ESRMNT.S b/libc/sysv/consts/ESRMNT.S index 9fe1ec6c5f7..32e6cc9168b 100644 --- a/libc/sysv/consts/ESRMNT.S +++ b/libc/sysv/consts/ESRMNT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ESRMNT 69 -1 -1 -1 -1 -1 +.syscon errno,ESRMNT,69,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ESTALE.S b/libc/sysv/consts/ESTALE.S index 32013838c64..ba34d2e4901 100644 --- a/libc/sysv/consts/ESTALE.S +++ b/libc/sysv/consts/ESTALE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ESTALE 116 70 70 70 70 0x2756 +.syscon errno,ESTALE,116,70,70,70,70,0x2756 diff --git a/libc/sysv/consts/ESTRPIPE.S b/libc/sysv/consts/ESTRPIPE.S index bf1176c77c2..8dd4760cbfc 100644 --- a/libc/sysv/consts/ESTRPIPE.S +++ b/libc/sysv/consts/ESTRPIPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ESTRPIPE 86 -1 -1 -1 -1 -1 +.syscon errno,ESTRPIPE,86,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/ETH_P_CUST.S b/libc/sysv/consts/ETH_P_CUST.S index d7654395aae..d8837652694 100644 --- a/libc/sysv/consts/ETH_P_CUST.S +++ b/libc/sysv/consts/ETH_P_CUST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ETH_P_CUST 0x6006 0 0 0 0 0 +.syscon misc,ETH_P_CUST,0x6006,0,0,0,0,0 diff --git a/libc/sysv/consts/ETH_P_DDCMP.S b/libc/sysv/consts/ETH_P_DDCMP.S index d7f4e7e5942..bb1af4fa120 100644 --- a/libc/sysv/consts/ETH_P_DDCMP.S +++ b/libc/sysv/consts/ETH_P_DDCMP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ETH_P_DDCMP 6 0 0 0 0 0 +.syscon misc,ETH_P_DDCMP,6,0,0,0,0,0 diff --git a/libc/sysv/consts/ETH_P_DEC.S b/libc/sysv/consts/ETH_P_DEC.S index 1a6616665ca..2562cd5ae5e 100644 --- a/libc/sysv/consts/ETH_P_DEC.S +++ b/libc/sysv/consts/ETH_P_DEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ETH_P_DEC 0x6000 0 0 0 0 0 +.syscon misc,ETH_P_DEC,0x6000,0,0,0,0,0 diff --git a/libc/sysv/consts/ETH_P_DIAG.S b/libc/sysv/consts/ETH_P_DIAG.S index 56f019b5cbf..78bb165b06e 100644 --- a/libc/sysv/consts/ETH_P_DIAG.S +++ b/libc/sysv/consts/ETH_P_DIAG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ETH_P_DIAG 0x6005 0 0 0 0 0 +.syscon misc,ETH_P_DIAG,0x6005,0,0,0,0,0 diff --git a/libc/sysv/consts/ETH_P_DNA_DL.S b/libc/sysv/consts/ETH_P_DNA_DL.S index 8a07cf2eebc..a0369df7693 100644 --- a/libc/sysv/consts/ETH_P_DNA_DL.S +++ b/libc/sysv/consts/ETH_P_DNA_DL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ETH_P_DNA_DL 0x6001 0 0 0 0 0 +.syscon misc,ETH_P_DNA_DL,0x6001,0,0,0,0,0 diff --git a/libc/sysv/consts/ETH_P_DNA_RC.S b/libc/sysv/consts/ETH_P_DNA_RC.S index 8a5724cb48d..974ab05c63e 100644 --- a/libc/sysv/consts/ETH_P_DNA_RC.S +++ b/libc/sysv/consts/ETH_P_DNA_RC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ETH_P_DNA_RC 0x6002 0 0 0 0 0 +.syscon misc,ETH_P_DNA_RC,0x6002,0,0,0,0,0 diff --git a/libc/sysv/consts/ETH_P_DNA_RT.S b/libc/sysv/consts/ETH_P_DNA_RT.S index 7045a6c293d..f3b7b0be5b1 100644 --- a/libc/sysv/consts/ETH_P_DNA_RT.S +++ b/libc/sysv/consts/ETH_P_DNA_RT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ETH_P_DNA_RT 0x6003 0 0 0 0 0 +.syscon misc,ETH_P_DNA_RT,0x6003,0,0,0,0,0 diff --git a/libc/sysv/consts/ETH_P_IEEE802154.S b/libc/sysv/consts/ETH_P_IEEE802154.S index a78444df7ba..51c17a0ef55 100644 --- a/libc/sysv/consts/ETH_P_IEEE802154.S +++ b/libc/sysv/consts/ETH_P_IEEE802154.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ETH_P_IEEE802154 246 0 0 0 0 0 +.syscon misc,ETH_P_IEEE802154,246,0,0,0,0,0 diff --git a/libc/sysv/consts/ETH_P_LAT.S b/libc/sysv/consts/ETH_P_LAT.S index b8be2ae4f25..186f1ec5c8b 100644 --- a/libc/sysv/consts/ETH_P_LAT.S +++ b/libc/sysv/consts/ETH_P_LAT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ETH_P_LAT 0x6004 0 0 0 0 0 +.syscon misc,ETH_P_LAT,0x6004,0,0,0,0,0 diff --git a/libc/sysv/consts/ETH_P_LOCALTALK.S b/libc/sysv/consts/ETH_P_LOCALTALK.S index 0f80a4a8b9a..fa4f060c27d 100644 --- a/libc/sysv/consts/ETH_P_LOCALTALK.S +++ b/libc/sysv/consts/ETH_P_LOCALTALK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ETH_P_LOCALTALK 9 0 0 0 0 0 +.syscon misc,ETH_P_LOCALTALK,9,0,0,0,0,0 diff --git a/libc/sysv/consts/ETH_P_PPP_MP.S b/libc/sysv/consts/ETH_P_PPP_MP.S index c41b1dc1875..2590ac5906f 100644 --- a/libc/sysv/consts/ETH_P_PPP_MP.S +++ b/libc/sysv/consts/ETH_P_PPP_MP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ETH_P_PPP_MP 8 0 0 0 0 0 +.syscon misc,ETH_P_PPP_MP,8,0,0,0,0,0 diff --git a/libc/sysv/consts/ETH_P_RARP.S b/libc/sysv/consts/ETH_P_RARP.S index c0d935fa2ff..0d4819adbb0 100644 --- a/libc/sysv/consts/ETH_P_RARP.S +++ b/libc/sysv/consts/ETH_P_RARP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ETH_P_RARP 0x8035 0 0 0 0 0 +.syscon misc,ETH_P_RARP,0x8035,0,0,0,0,0 diff --git a/libc/sysv/consts/ETH_P_SCA.S b/libc/sysv/consts/ETH_P_SCA.S index a3acabdbbb7..9b37f0a2368 100644 --- a/libc/sysv/consts/ETH_P_SCA.S +++ b/libc/sysv/consts/ETH_P_SCA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ETH_P_SCA 0x6007 0 0 0 0 0 +.syscon misc,ETH_P_SCA,0x6007,0,0,0,0,0 diff --git a/libc/sysv/consts/ETH_P_WAN_PPP.S b/libc/sysv/consts/ETH_P_WAN_PPP.S index 70117f73f00..c990a7f835e 100644 --- a/libc/sysv/consts/ETH_P_WAN_PPP.S +++ b/libc/sysv/consts/ETH_P_WAN_PPP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ETH_P_WAN_PPP 7 0 0 0 0 0 +.syscon misc,ETH_P_WAN_PPP,7,0,0,0,0,0 diff --git a/libc/sysv/consts/ETIME.S b/libc/sysv/consts/ETIME.S index cd032d70ef5..fd4498aa0c4 100644 --- a/libc/sysv/consts/ETIME.S +++ b/libc/sysv/consts/ETIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ETIME 62 101 -1 -1 92 -1 +.syscon errno,ETIME,62,101,-1,-1,92,-1 diff --git a/libc/sysv/consts/ETIMEDOUT.S b/libc/sysv/consts/ETIMEDOUT.S index 88ff46992e1..5490f78b495 100644 --- a/libc/sysv/consts/ETIMEDOUT.S +++ b/libc/sysv/consts/ETIMEDOUT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ETIMEDOUT 110 60 60 60 60 0x274c +.syscon errno,ETIMEDOUT,110,60,60,60,60,0x274c diff --git a/libc/sysv/consts/ETOOMANYREFS.S b/libc/sysv/consts/ETOOMANYREFS.S index 9378ea68e2d..0b11b544ac6 100644 --- a/libc/sysv/consts/ETOOMANYREFS.S +++ b/libc/sysv/consts/ETOOMANYREFS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ETOOMANYREFS 109 59 59 59 59 0x274b +.syscon errno,ETOOMANYREFS,109,59,59,59,59,0x274b diff --git a/libc/sysv/consts/ETXTBSY.S b/libc/sysv/consts/ETXTBSY.S index e53dea7ba5e..4f978aa61c1 100644 --- a/libc/sysv/consts/ETXTBSY.S +++ b/libc/sysv/consts/ETXTBSY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno ETXTBSY 26 26 26 26 26 148 +.syscon errno,ETXTBSY,26,26,26,26,26,148 diff --git a/libc/sysv/consts/EUCLEAN.S b/libc/sysv/consts/EUCLEAN.S index 1d61cf807db..93dd638db77 100644 --- a/libc/sysv/consts/EUCLEAN.S +++ b/libc/sysv/consts/EUCLEAN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EUCLEAN 117 -1 -1 -1 -1 -1 +.syscon errno,EUCLEAN,117,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/EUNATCH.S b/libc/sysv/consts/EUNATCH.S index 39c4489c680..4b2e6ef5859 100644 --- a/libc/sysv/consts/EUNATCH.S +++ b/libc/sysv/consts/EUNATCH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EUNATCH 49 -1 -1 -1 -1 -1 +.syscon errno,EUNATCH,49,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/EUSERS.S b/libc/sysv/consts/EUSERS.S index 411cd87402e..f6efba821fb 100644 --- a/libc/sysv/consts/EUSERS.S +++ b/libc/sysv/consts/EUSERS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EUSERS 87 68 68 68 68 0x2754 +.syscon errno,EUSERS,87,68,68,68,68,0x2754 diff --git a/libc/sysv/consts/EWOULDBLOCK.S b/libc/sysv/consts/EWOULDBLOCK.S index 9890376ea73..91f2f0ba8f8 100644 --- a/libc/sysv/consts/EWOULDBLOCK.S +++ b/libc/sysv/consts/EWOULDBLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EWOULDBLOCK 11 35 35 35 35 0x2733 +.syscon errno,EWOULDBLOCK,11,35,35,35,35,0x2733 diff --git a/libc/sysv/consts/EXDEV.S b/libc/sysv/consts/EXDEV.S index 3189f613165..36c75644478 100644 --- a/libc/sysv/consts/EXDEV.S +++ b/libc/sysv/consts/EXDEV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EXDEV 18 18 18 18 18 17 +.syscon errno,EXDEV,18,18,18,18,18,17 diff --git a/libc/sysv/consts/EXFULL.S b/libc/sysv/consts/EXFULL.S index 7d4acc1ce43..a42d87066db 100644 --- a/libc/sysv/consts/EXFULL.S +++ b/libc/sysv/consts/EXFULL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon errno EXFULL 54 -1 -1 -1 -1 -1 +.syscon errno,EXFULL,54,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/EXIT_FAILURE.S b/libc/sysv/consts/EXIT_FAILURE.S index 2f0cf8c039a..21df576a889 100644 --- a/libc/sysv/consts/EXIT_FAILURE.S +++ b/libc/sysv/consts/EXIT_FAILURE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon exit EXIT_FAILURE 1 1 1 1 1 1 +.syscon exit,EXIT_FAILURE,1,1,1,1,1,1 diff --git a/libc/sysv/consts/EXIT_SUCCESS.S b/libc/sysv/consts/EXIT_SUCCESS.S index 840b7d48067..8f41a65edf8 100644 --- a/libc/sysv/consts/EXIT_SUCCESS.S +++ b/libc/sysv/consts/EXIT_SUCCESS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon exit EXIT_SUCCESS 0 0 0 0 0 0 +.syscon exit,EXIT_SUCCESS,0,0,0,0,0,0 diff --git a/libc/sysv/consts/EXPR_NEST_MAX.S b/libc/sysv/consts/EXPR_NEST_MAX.S index b0200b491e4..40d8d646adb 100644 --- a/libc/sysv/consts/EXPR_NEST_MAX.S +++ b/libc/sysv/consts/EXPR_NEST_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc EXPR_NEST_MAX 0x20 0x20 0x20 0x20 0x20 0 +.syscon misc,EXPR_NEST_MAX,0x20,0x20,0x20,0x20,0x20,0 diff --git a/libc/sysv/consts/EXTA.S b/libc/sysv/consts/EXTA.S index 236f2407aef..802c182c566 100644 --- a/libc/sysv/consts/EXTA.S +++ b/libc/sysv/consts/EXTA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc EXTA 14 0x4b00 0x4b00 0x4b00 0x4b00 0 +.syscon misc,EXTA,14,0x4b00,0x4b00,0x4b00,0x4b00,0 diff --git a/libc/sysv/consts/EXTB.S b/libc/sysv/consts/EXTB.S index 84d361915b2..5177cf47a5b 100644 --- a/libc/sysv/consts/EXTB.S +++ b/libc/sysv/consts/EXTB.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc EXTB 15 0x9600 0x9600 0x9600 0x9600 0 +.syscon misc,EXTB,15,0x9600,0x9600,0x9600,0x9600,0 diff --git a/libc/sysv/consts/EXTENDED_EXTENDED_IDENTIFY.S b/libc/sysv/consts/EXTENDED_EXTENDED_IDENTIFY.S index 37c93c7810d..4e39e5af067 100644 --- a/libc/sysv/consts/EXTENDED_EXTENDED_IDENTIFY.S +++ b/libc/sysv/consts/EXTENDED_EXTENDED_IDENTIFY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc EXTENDED_EXTENDED_IDENTIFY 2 0 0 0 0 0 +.syscon misc,EXTENDED_EXTENDED_IDENTIFY,2,0,0,0,0,0 diff --git a/libc/sysv/consts/EXTENDED_MESSAGE.S b/libc/sysv/consts/EXTENDED_MESSAGE.S index 56047e961f9..eb1638c02a6 100644 --- a/libc/sysv/consts/EXTENDED_MESSAGE.S +++ b/libc/sysv/consts/EXTENDED_MESSAGE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc EXTENDED_MESSAGE 1 0 0 0 0 0 +.syscon misc,EXTENDED_MESSAGE,1,0,0,0,0,0 diff --git a/libc/sysv/consts/EXTENDED_MODIFY_DATA_POINTER.S b/libc/sysv/consts/EXTENDED_MODIFY_DATA_POINTER.S index e3a63146649..cfbf01d2831 100644 --- a/libc/sysv/consts/EXTENDED_MODIFY_DATA_POINTER.S +++ b/libc/sysv/consts/EXTENDED_MODIFY_DATA_POINTER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc EXTENDED_MODIFY_DATA_POINTER 0 0 0 0 0 0 +.syscon misc,EXTENDED_MODIFY_DATA_POINTER,0,0,0,0,0,0 diff --git a/libc/sysv/consts/EXTENDED_SDTR.S b/libc/sysv/consts/EXTENDED_SDTR.S index 86e25a98bea..b808da470ea 100644 --- a/libc/sysv/consts/EXTENDED_SDTR.S +++ b/libc/sysv/consts/EXTENDED_SDTR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc EXTENDED_SDTR 1 0 0 0 0 0 +.syscon misc,EXTENDED_SDTR,1,0,0,0,0,0 diff --git a/libc/sysv/consts/EXTENDED_WDTR.S b/libc/sysv/consts/EXTENDED_WDTR.S index 2a98dd74ff4..c4efa3ac161 100644 --- a/libc/sysv/consts/EXTENDED_WDTR.S +++ b/libc/sysv/consts/EXTENDED_WDTR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc EXTENDED_WDTR 3 0 0 0 0 0 +.syscon misc,EXTENDED_WDTR,3,0,0,0,0,0 diff --git a/libc/sysv/consts/EXTPROC.S b/libc/sysv/consts/EXTPROC.S index ac4f5ee52c8..44f76bf3d93 100644 --- a/libc/sysv/consts/EXTPROC.S +++ b/libc/sysv/consts/EXTPROC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios EXTPROC 65536 0b0000100000000000 0b0000100000000000 0b0000100000000000 0b0000100000000000 65536 +.syscon termios,EXTPROC,65536,0b0000100000000000,0b0000100000000000,0b0000100000000000,0b0000100000000000,65536 diff --git a/libc/sysv/consts/EX_CANTCREAT.S b/libc/sysv/consts/EX_CANTCREAT.S index f9b702df2cf..5ef987516ec 100644 --- a/libc/sysv/consts/EX_CANTCREAT.S +++ b/libc/sysv/consts/EX_CANTCREAT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ex EX_CANTCREAT 73 73 73 73 73 73 +.syscon ex,EX_CANTCREAT,73,73,73,73,73,73 diff --git a/libc/sysv/consts/EX_CONFIG.S b/libc/sysv/consts/EX_CONFIG.S index c56f98f0633..c28e6ffab85 100644 --- a/libc/sysv/consts/EX_CONFIG.S +++ b/libc/sysv/consts/EX_CONFIG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ex EX_CONFIG 78 78 78 78 78 78 +.syscon ex,EX_CONFIG,78,78,78,78,78,78 diff --git a/libc/sysv/consts/EX_DATAERR.S b/libc/sysv/consts/EX_DATAERR.S index 6360cd535a0..800f34b6f27 100644 --- a/libc/sysv/consts/EX_DATAERR.S +++ b/libc/sysv/consts/EX_DATAERR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ex EX_DATAERR 65 65 65 65 65 65 +.syscon ex,EX_DATAERR,65,65,65,65,65,65 diff --git a/libc/sysv/consts/EX_IOERR.S b/libc/sysv/consts/EX_IOERR.S index 0b6492329b0..9148bedb3fc 100644 --- a/libc/sysv/consts/EX_IOERR.S +++ b/libc/sysv/consts/EX_IOERR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ex EX_IOERR 74 74 74 74 74 74 +.syscon ex,EX_IOERR,74,74,74,74,74,74 diff --git a/libc/sysv/consts/EX_NOHOST.S b/libc/sysv/consts/EX_NOHOST.S index 7dcc50542af..ab8414211f0 100644 --- a/libc/sysv/consts/EX_NOHOST.S +++ b/libc/sysv/consts/EX_NOHOST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ex EX_NOHOST 68 68 68 68 68 68 +.syscon ex,EX_NOHOST,68,68,68,68,68,68 diff --git a/libc/sysv/consts/EX_NOINPUT.S b/libc/sysv/consts/EX_NOINPUT.S index dc8e9206444..94d75beb604 100644 --- a/libc/sysv/consts/EX_NOINPUT.S +++ b/libc/sysv/consts/EX_NOINPUT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ex EX_NOINPUT 66 66 66 66 66 66 +.syscon ex,EX_NOINPUT,66,66,66,66,66,66 diff --git a/libc/sysv/consts/EX_NOPERM.S b/libc/sysv/consts/EX_NOPERM.S index 22011bd2a06..aec6cc2af53 100644 --- a/libc/sysv/consts/EX_NOPERM.S +++ b/libc/sysv/consts/EX_NOPERM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ex EX_NOPERM 77 77 77 77 77 77 +.syscon ex,EX_NOPERM,77,77,77,77,77,77 diff --git a/libc/sysv/consts/EX_NOUSER.S b/libc/sysv/consts/EX_NOUSER.S index a430a3bad3b..a141f62b50e 100644 --- a/libc/sysv/consts/EX_NOUSER.S +++ b/libc/sysv/consts/EX_NOUSER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ex EX_NOUSER 67 67 67 67 67 67 +.syscon ex,EX_NOUSER,67,67,67,67,67,67 diff --git a/libc/sysv/consts/EX_OK.S b/libc/sysv/consts/EX_OK.S index 9ebcf837f3b..e65d856f8ac 100644 --- a/libc/sysv/consts/EX_OK.S +++ b/libc/sysv/consts/EX_OK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ex EX_OK 0 0 0 0 0 0 +.syscon ex,EX_OK,0,0,0,0,0,0 diff --git a/libc/sysv/consts/EX_OSERR.S b/libc/sysv/consts/EX_OSERR.S index 6fcc260ac5f..5bc22156e3d 100644 --- a/libc/sysv/consts/EX_OSERR.S +++ b/libc/sysv/consts/EX_OSERR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ex EX_OSERR 71 71 71 71 71 71 +.syscon ex,EX_OSERR,71,71,71,71,71,71 diff --git a/libc/sysv/consts/EX_OSFILE.S b/libc/sysv/consts/EX_OSFILE.S index f3ad55edbaf..f6f1b272fb0 100644 --- a/libc/sysv/consts/EX_OSFILE.S +++ b/libc/sysv/consts/EX_OSFILE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ex EX_OSFILE 72 72 72 72 72 72 +.syscon ex,EX_OSFILE,72,72,72,72,72,72 diff --git a/libc/sysv/consts/EX_PROTOCOL.S b/libc/sysv/consts/EX_PROTOCOL.S index df342e0ce4d..1f4972ba83c 100644 --- a/libc/sysv/consts/EX_PROTOCOL.S +++ b/libc/sysv/consts/EX_PROTOCOL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ex EX_PROTOCOL 76 76 76 76 76 76 +.syscon ex,EX_PROTOCOL,76,76,76,76,76,76 diff --git a/libc/sysv/consts/EX_SOFTWARE.S b/libc/sysv/consts/EX_SOFTWARE.S index f8a838d909a..7ecd8186dca 100644 --- a/libc/sysv/consts/EX_SOFTWARE.S +++ b/libc/sysv/consts/EX_SOFTWARE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ex EX_SOFTWARE 70 70 70 70 70 70 +.syscon ex,EX_SOFTWARE,70,70,70,70,70,70 diff --git a/libc/sysv/consts/EX_TEMPFAIL.S b/libc/sysv/consts/EX_TEMPFAIL.S index 27d1220776d..eb5104b3f88 100644 --- a/libc/sysv/consts/EX_TEMPFAIL.S +++ b/libc/sysv/consts/EX_TEMPFAIL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ex EX_TEMPFAIL 75 75 75 75 75 75 +.syscon ex,EX_TEMPFAIL,75,75,75,75,75,75 diff --git a/libc/sysv/consts/EX_UNAVAILABLE.S b/libc/sysv/consts/EX_UNAVAILABLE.S index 4ddc0b56904..021b003ab6b 100644 --- a/libc/sysv/consts/EX_UNAVAILABLE.S +++ b/libc/sysv/consts/EX_UNAVAILABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ex EX_UNAVAILABLE 69 69 69 69 69 69 +.syscon ex,EX_UNAVAILABLE,69,69,69,69,69,69 diff --git a/libc/sysv/consts/EX_USAGE.S b/libc/sysv/consts/EX_USAGE.S index e78208529ad..c40a20a8254 100644 --- a/libc/sysv/consts/EX_USAGE.S +++ b/libc/sysv/consts/EX_USAGE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ex EX_USAGE 64 64 64 64 64 64 +.syscon ex,EX_USAGE,64,64,64,64,64,64 diff --git a/libc/sysv/consts/EX__BASE.S b/libc/sysv/consts/EX__BASE.S index 85095346058..b5c4724d1c7 100644 --- a/libc/sysv/consts/EX__BASE.S +++ b/libc/sysv/consts/EX__BASE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ex EX__BASE 64 64 64 64 64 64 +.syscon ex,EX__BASE,64,64,64,64,64,64 diff --git a/libc/sysv/consts/EX__MAX.S b/libc/sysv/consts/EX__MAX.S index 10f258d02d5..a3b78243fd4 100644 --- a/libc/sysv/consts/EX__MAX.S +++ b/libc/sysv/consts/EX__MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ex EX__MAX 78 78 78 78 78 78 +.syscon ex,EX__MAX,78,78,78,78,78,78 diff --git a/libc/sysv/consts/FALLOC_FL_COLLAPSE_RANGE.S b/libc/sysv/consts/FALLOC_FL_COLLAPSE_RANGE.S index 41c4d7bc2d5..466b40bf4fe 100644 --- a/libc/sysv/consts/FALLOC_FL_COLLAPSE_RANGE.S +++ b/libc/sysv/consts/FALLOC_FL_COLLAPSE_RANGE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FALLOC_FL_COLLAPSE_RANGE 0x08 -1 -1 -1 -1 -1 +.syscon misc,FALLOC_FL_COLLAPSE_RANGE,0x08,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/FALLOC_FL_INSERT_RANGE.S b/libc/sysv/consts/FALLOC_FL_INSERT_RANGE.S index 399eaf5d69e..8e60e5bb5ce 100644 --- a/libc/sysv/consts/FALLOC_FL_INSERT_RANGE.S +++ b/libc/sysv/consts/FALLOC_FL_INSERT_RANGE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FALLOC_FL_INSERT_RANGE 0x20 -1 -1 -1 -1 -1 +.syscon misc,FALLOC_FL_INSERT_RANGE,0x20,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/FALLOC_FL_KEEP_SIZE.S b/libc/sysv/consts/FALLOC_FL_KEEP_SIZE.S index 25988734f12..09ed10ec868 100644 --- a/libc/sysv/consts/FALLOC_FL_KEEP_SIZE.S +++ b/libc/sysv/consts/FALLOC_FL_KEEP_SIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FALLOC_FL_KEEP_SIZE 0x01 -1 -1 -1 -1 -1 +.syscon misc,FALLOC_FL_KEEP_SIZE,0x01,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/FALLOC_FL_NO_HIDE_STALE.S b/libc/sysv/consts/FALLOC_FL_NO_HIDE_STALE.S index 46142c4c671..d19c25b2618 100644 --- a/libc/sysv/consts/FALLOC_FL_NO_HIDE_STALE.S +++ b/libc/sysv/consts/FALLOC_FL_NO_HIDE_STALE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FALLOC_FL_NO_HIDE_STALE 0x04 -1 -1 -1 -1 -1 +.syscon misc,FALLOC_FL_NO_HIDE_STALE,0x04,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/FALLOC_FL_PUNCH_HOLE.S b/libc/sysv/consts/FALLOC_FL_PUNCH_HOLE.S index 41f68c1e0b8..6db2dce1ee6 100644 --- a/libc/sysv/consts/FALLOC_FL_PUNCH_HOLE.S +++ b/libc/sysv/consts/FALLOC_FL_PUNCH_HOLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FALLOC_FL_PUNCH_HOLE 0x02 -1 -1 -1 -1 -1 +.syscon misc,FALLOC_FL_PUNCH_HOLE,0x02,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/FALLOC_FL_UNSHARE_RANGE.S b/libc/sysv/consts/FALLOC_FL_UNSHARE_RANGE.S index 33925f00c8f..524ef5ca1ac 100644 --- a/libc/sysv/consts/FALLOC_FL_UNSHARE_RANGE.S +++ b/libc/sysv/consts/FALLOC_FL_UNSHARE_RANGE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FALLOC_FL_UNSHARE_RANGE 0x40 -1 -1 -1 -1 -1 +.syscon misc,FALLOC_FL_UNSHARE_RANGE,0x40,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/FALLOC_FL_ZERO_RANGE.S b/libc/sysv/consts/FALLOC_FL_ZERO_RANGE.S index 77577c3afc1..07523981f83 100644 --- a/libc/sysv/consts/FALLOC_FL_ZERO_RANGE.S +++ b/libc/sysv/consts/FALLOC_FL_ZERO_RANGE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FALLOC_FL_ZERO_RANGE 0x10 -1 -1 -1 -1 0x000980C8 +.syscon misc,FALLOC_FL_ZERO_RANGE,0x10,-1,-1,-1,-1,0x000980C8 diff --git a/libc/sysv/consts/FANOTIFY_METADATA_VERSION.S b/libc/sysv/consts/FANOTIFY_METADATA_VERSION.S index 218b07d609a..7f4c8e52fc0 100644 --- a/libc/sysv/consts/FANOTIFY_METADATA_VERSION.S +++ b/libc/sysv/consts/FANOTIFY_METADATA_VERSION.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FANOTIFY_METADATA_VERSION 3 0 0 0 0 0 +.syscon misc,FANOTIFY_METADATA_VERSION,3,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_ACCESS.S b/libc/sysv/consts/FAN_ACCESS.S index fb8c451da34..89fcb5d5b0b 100644 --- a/libc/sysv/consts/FAN_ACCESS.S +++ b/libc/sysv/consts/FAN_ACCESS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_ACCESS 1 0 0 0 0 0 +.syscon fan,FAN_ACCESS,1,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_ACCESS_PERM.S b/libc/sysv/consts/FAN_ACCESS_PERM.S index cbaa321f4fb..7e8fa582944 100644 --- a/libc/sysv/consts/FAN_ACCESS_PERM.S +++ b/libc/sysv/consts/FAN_ACCESS_PERM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_ACCESS_PERM 0x020000 0 0 0 0 0 +.syscon fan,FAN_ACCESS_PERM,0x020000,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_ALLOW.S b/libc/sysv/consts/FAN_ALLOW.S index 9d82820a42b..f294cad05c6 100644 --- a/libc/sysv/consts/FAN_ALLOW.S +++ b/libc/sysv/consts/FAN_ALLOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_ALLOW 1 0 0 0 0 0 +.syscon fan,FAN_ALLOW,1,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_ALL_CLASS_BITS.S b/libc/sysv/consts/FAN_ALL_CLASS_BITS.S index 98f9c46366e..2733d91605f 100644 --- a/libc/sysv/consts/FAN_ALL_CLASS_BITS.S +++ b/libc/sysv/consts/FAN_ALL_CLASS_BITS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_ALL_CLASS_BITS 12 0 0 0 0 0 +.syscon fan,FAN_ALL_CLASS_BITS,12,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_ALL_EVENTS.S b/libc/sysv/consts/FAN_ALL_EVENTS.S index c04d7abd51f..d8f503fb457 100644 --- a/libc/sysv/consts/FAN_ALL_EVENTS.S +++ b/libc/sysv/consts/FAN_ALL_EVENTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_ALL_EVENTS 59 0 0 0 0 0 +.syscon fan,FAN_ALL_EVENTS,59,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_ALL_INIT_FLAGS.S b/libc/sysv/consts/FAN_ALL_INIT_FLAGS.S index d31a62fdfdb..d215b8653a0 100644 --- a/libc/sysv/consts/FAN_ALL_INIT_FLAGS.S +++ b/libc/sysv/consts/FAN_ALL_INIT_FLAGS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_ALL_INIT_FLAGS 63 0 0 0 0 0 +.syscon fan,FAN_ALL_INIT_FLAGS,63,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_ALL_MARK_FLAGS.S b/libc/sysv/consts/FAN_ALL_MARK_FLAGS.S index 355eb0e8731..047be670d35 100644 --- a/libc/sysv/consts/FAN_ALL_MARK_FLAGS.S +++ b/libc/sysv/consts/FAN_ALL_MARK_FLAGS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_ALL_MARK_FLAGS 255 0 0 0 0 0 +.syscon fan,FAN_ALL_MARK_FLAGS,255,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_ALL_OUTGOING_EVENTS.S b/libc/sysv/consts/FAN_ALL_OUTGOING_EVENTS.S index 3286604473d..4c06cbabf9a 100644 --- a/libc/sysv/consts/FAN_ALL_OUTGOING_EVENTS.S +++ b/libc/sysv/consts/FAN_ALL_OUTGOING_EVENTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_ALL_OUTGOING_EVENTS 0x03403b 0 0 0 0 0 +.syscon fan,FAN_ALL_OUTGOING_EVENTS,0x03403b,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_ALL_PERM_EVENTS.S b/libc/sysv/consts/FAN_ALL_PERM_EVENTS.S index 64adeeb77e6..ef60a71fe55 100644 --- a/libc/sysv/consts/FAN_ALL_PERM_EVENTS.S +++ b/libc/sysv/consts/FAN_ALL_PERM_EVENTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_ALL_PERM_EVENTS 0x030000 0 0 0 0 0 +.syscon fan,FAN_ALL_PERM_EVENTS,0x030000,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_CLASS_CONTENT.S b/libc/sysv/consts/FAN_CLASS_CONTENT.S index 9dd3f1983ea..dca9d657574 100644 --- a/libc/sysv/consts/FAN_CLASS_CONTENT.S +++ b/libc/sysv/consts/FAN_CLASS_CONTENT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_CLASS_CONTENT 4 0 0 0 0 0 +.syscon fan,FAN_CLASS_CONTENT,4,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_CLASS_NOTIF.S b/libc/sysv/consts/FAN_CLASS_NOTIF.S index eb0e31e009e..1f44737f17b 100644 --- a/libc/sysv/consts/FAN_CLASS_NOTIF.S +++ b/libc/sysv/consts/FAN_CLASS_NOTIF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_CLASS_NOTIF 0 0 0 0 0 0 +.syscon fan,FAN_CLASS_NOTIF,0,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_CLASS_PRE_CONTENT.S b/libc/sysv/consts/FAN_CLASS_PRE_CONTENT.S index 71922e069bf..577119f46b2 100644 --- a/libc/sysv/consts/FAN_CLASS_PRE_CONTENT.S +++ b/libc/sysv/consts/FAN_CLASS_PRE_CONTENT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_CLASS_PRE_CONTENT 8 0 0 0 0 0 +.syscon fan,FAN_CLASS_PRE_CONTENT,8,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_CLOEXEC.S b/libc/sysv/consts/FAN_CLOEXEC.S index 2c8a3b45bf9..8ff5eae745f 100644 --- a/libc/sysv/consts/FAN_CLOEXEC.S +++ b/libc/sysv/consts/FAN_CLOEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_CLOEXEC 1 0 0 0 0 0 +.syscon fan,FAN_CLOEXEC,1,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_CLOSE.S b/libc/sysv/consts/FAN_CLOSE.S index 5fdbdfa1058..193fb9a329c 100644 --- a/libc/sysv/consts/FAN_CLOSE.S +++ b/libc/sysv/consts/FAN_CLOSE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_CLOSE 24 0 0 0 0 0 +.syscon fan,FAN_CLOSE,24,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_CLOSE_NOWRITE.S b/libc/sysv/consts/FAN_CLOSE_NOWRITE.S index 6dcc62613e5..35107a492c0 100644 --- a/libc/sysv/consts/FAN_CLOSE_NOWRITE.S +++ b/libc/sysv/consts/FAN_CLOSE_NOWRITE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_CLOSE_NOWRITE 0x10 0 0 0 0 0 +.syscon fan,FAN_CLOSE_NOWRITE,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_CLOSE_WRITE.S b/libc/sysv/consts/FAN_CLOSE_WRITE.S index 58e64f565c7..84072b67e90 100644 --- a/libc/sysv/consts/FAN_CLOSE_WRITE.S +++ b/libc/sysv/consts/FAN_CLOSE_WRITE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_CLOSE_WRITE 8 0 0 0 0 0 +.syscon fan,FAN_CLOSE_WRITE,8,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_DENY.S b/libc/sysv/consts/FAN_DENY.S index 3ba2bfa3f88..3a1c42a47a7 100644 --- a/libc/sysv/consts/FAN_DENY.S +++ b/libc/sysv/consts/FAN_DENY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_DENY 2 0 0 0 0 0 +.syscon fan,FAN_DENY,2,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_EVENT_METADATA_LEN.S b/libc/sysv/consts/FAN_EVENT_METADATA_LEN.S index eb066eaee97..f2bc6b87469 100644 --- a/libc/sysv/consts/FAN_EVENT_METADATA_LEN.S +++ b/libc/sysv/consts/FAN_EVENT_METADATA_LEN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_EVENT_METADATA_LEN 24 0 0 0 0 0 +.syscon fan,FAN_EVENT_METADATA_LEN,24,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_EVENT_ON_CHILD.S b/libc/sysv/consts/FAN_EVENT_ON_CHILD.S index 6f6f4a328b7..26f5ac7955f 100644 --- a/libc/sysv/consts/FAN_EVENT_ON_CHILD.S +++ b/libc/sysv/consts/FAN_EVENT_ON_CHILD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_EVENT_ON_CHILD 0x08000000 0 0 0 0 0 +.syscon fan,FAN_EVENT_ON_CHILD,0x08000000,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_MARK_ADD.S b/libc/sysv/consts/FAN_MARK_ADD.S index d78c4a0e492..590607b2c8a 100644 --- a/libc/sysv/consts/FAN_MARK_ADD.S +++ b/libc/sysv/consts/FAN_MARK_ADD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_MARK_ADD 1 0 0 0 0 0 +.syscon fan,FAN_MARK_ADD,1,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_MARK_DONT_FOLLOW.S b/libc/sysv/consts/FAN_MARK_DONT_FOLLOW.S index ff681e46c0c..619e88df75d 100644 --- a/libc/sysv/consts/FAN_MARK_DONT_FOLLOW.S +++ b/libc/sysv/consts/FAN_MARK_DONT_FOLLOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_MARK_DONT_FOLLOW 4 0 0 0 0 0 +.syscon fan,FAN_MARK_DONT_FOLLOW,4,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_MARK_FLUSH.S b/libc/sysv/consts/FAN_MARK_FLUSH.S index 9a18462ed4e..012bb5a2eb1 100644 --- a/libc/sysv/consts/FAN_MARK_FLUSH.S +++ b/libc/sysv/consts/FAN_MARK_FLUSH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_MARK_FLUSH 0x80 0 0 0 0 0 +.syscon fan,FAN_MARK_FLUSH,0x80,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_MARK_IGNORED_MASK.S b/libc/sysv/consts/FAN_MARK_IGNORED_MASK.S index ce7c42bd03a..46cb2e49782 100644 --- a/libc/sysv/consts/FAN_MARK_IGNORED_MASK.S +++ b/libc/sysv/consts/FAN_MARK_IGNORED_MASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_MARK_IGNORED_MASK 0x20 0 0 0 0 0 +.syscon fan,FAN_MARK_IGNORED_MASK,0x20,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_MARK_IGNORED_SURV_MODIFY.S b/libc/sysv/consts/FAN_MARK_IGNORED_SURV_MODIFY.S index c05b49ab3ff..ed99e04b0c3 100644 --- a/libc/sysv/consts/FAN_MARK_IGNORED_SURV_MODIFY.S +++ b/libc/sysv/consts/FAN_MARK_IGNORED_SURV_MODIFY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_MARK_IGNORED_SURV_MODIFY 0x40 0 0 0 0 0 +.syscon fan,FAN_MARK_IGNORED_SURV_MODIFY,0x40,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_MARK_MOUNT.S b/libc/sysv/consts/FAN_MARK_MOUNT.S index 35420461b25..2a1977196d9 100644 --- a/libc/sysv/consts/FAN_MARK_MOUNT.S +++ b/libc/sysv/consts/FAN_MARK_MOUNT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_MARK_MOUNT 0x10 0 0 0 0 0 +.syscon fan,FAN_MARK_MOUNT,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_MARK_ONLYDIR.S b/libc/sysv/consts/FAN_MARK_ONLYDIR.S index d22196aea89..949b2581304 100644 --- a/libc/sysv/consts/FAN_MARK_ONLYDIR.S +++ b/libc/sysv/consts/FAN_MARK_ONLYDIR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_MARK_ONLYDIR 8 0 0 0 0 0 +.syscon fan,FAN_MARK_ONLYDIR,8,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_MARK_REMOVE.S b/libc/sysv/consts/FAN_MARK_REMOVE.S index b67f1f7fc52..0334f89e7f1 100644 --- a/libc/sysv/consts/FAN_MARK_REMOVE.S +++ b/libc/sysv/consts/FAN_MARK_REMOVE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_MARK_REMOVE 2 0 0 0 0 0 +.syscon fan,FAN_MARK_REMOVE,2,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_MODIFY.S b/libc/sysv/consts/FAN_MODIFY.S index f0f0bdbb85e..20a44d32f0b 100644 --- a/libc/sysv/consts/FAN_MODIFY.S +++ b/libc/sysv/consts/FAN_MODIFY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_MODIFY 2 0 0 0 0 0 +.syscon fan,FAN_MODIFY,2,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_NOFD.S b/libc/sysv/consts/FAN_NOFD.S index df805627f3a..e2899bd331f 100644 --- a/libc/sysv/consts/FAN_NOFD.S +++ b/libc/sysv/consts/FAN_NOFD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_NOFD -1 0 0 0 0 0 +.syscon fan,FAN_NOFD,-1,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_NONBLOCK.S b/libc/sysv/consts/FAN_NONBLOCK.S index f41215711fa..3e3e9ec3022 100644 --- a/libc/sysv/consts/FAN_NONBLOCK.S +++ b/libc/sysv/consts/FAN_NONBLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_NONBLOCK 2 0 0 0 0 0 +.syscon fan,FAN_NONBLOCK,2,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_ONDIR.S b/libc/sysv/consts/FAN_ONDIR.S index 11f20afe593..1f9189b71df 100644 --- a/libc/sysv/consts/FAN_ONDIR.S +++ b/libc/sysv/consts/FAN_ONDIR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_ONDIR 0x40000000 0 0 0 0 0 +.syscon fan,FAN_ONDIR,0x40000000,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_OPEN.S b/libc/sysv/consts/FAN_OPEN.S index 50530b0b453..165b117aa1e 100644 --- a/libc/sysv/consts/FAN_OPEN.S +++ b/libc/sysv/consts/FAN_OPEN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_OPEN 0x20 0 0 0 0 0 +.syscon fan,FAN_OPEN,0x20,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_OPEN_PERM.S b/libc/sysv/consts/FAN_OPEN_PERM.S index 3b72feb6efd..d94632491c7 100644 --- a/libc/sysv/consts/FAN_OPEN_PERM.S +++ b/libc/sysv/consts/FAN_OPEN_PERM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_OPEN_PERM 0x010000 0 0 0 0 0 +.syscon fan,FAN_OPEN_PERM,0x010000,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_Q_OVERFLOW.S b/libc/sysv/consts/FAN_Q_OVERFLOW.S index ed9c9bd7278..7bb0af48953 100644 --- a/libc/sysv/consts/FAN_Q_OVERFLOW.S +++ b/libc/sysv/consts/FAN_Q_OVERFLOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_Q_OVERFLOW 0x4000 0 0 0 0 0 +.syscon fan,FAN_Q_OVERFLOW,0x4000,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_UNLIMITED_MARKS.S b/libc/sysv/consts/FAN_UNLIMITED_MARKS.S index 613635362da..a9e0433b52c 100644 --- a/libc/sysv/consts/FAN_UNLIMITED_MARKS.S +++ b/libc/sysv/consts/FAN_UNLIMITED_MARKS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_UNLIMITED_MARKS 0x20 0 0 0 0 0 +.syscon fan,FAN_UNLIMITED_MARKS,0x20,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_UNLIMITED_QUEUE.S b/libc/sysv/consts/FAN_UNLIMITED_QUEUE.S index fd0173ddb06..38952f04615 100644 --- a/libc/sysv/consts/FAN_UNLIMITED_QUEUE.S +++ b/libc/sysv/consts/FAN_UNLIMITED_QUEUE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fan FAN_UNLIMITED_QUEUE 0x10 0 0 0 0 0 +.syscon fan,FAN_UNLIMITED_QUEUE,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/FAPPEND.S b/libc/sysv/consts/FAPPEND.S index f6b5e0eb139..426994b5c07 100644 --- a/libc/sysv/consts/FAPPEND.S +++ b/libc/sysv/consts/FAPPEND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FAPPEND 0x0400 8 8 8 8 0 +.syscon misc,FAPPEND,0x0400,8,8,8,8,0 diff --git a/libc/sysv/consts/FASYNC.S b/libc/sysv/consts/FASYNC.S index d8efb9ec150..9b4bb05cc83 100644 --- a/libc/sysv/consts/FASYNC.S +++ b/libc/sysv/consts/FASYNC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FASYNC 0x2000 0x40 0x40 0x40 0x40 0 +.syscon misc,FASYNC,0x2000,0x40,0x40,0x40,0x40,0 diff --git a/libc/sysv/consts/FDPIC_FUNCPTRS.S b/libc/sysv/consts/FDPIC_FUNCPTRS.S index 97e9fe45678..aeed9b700eb 100644 --- a/libc/sysv/consts/FDPIC_FUNCPTRS.S +++ b/libc/sysv/consts/FDPIC_FUNCPTRS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon prsnlty FDPIC_FUNCPTRS 0x0080000 -1 -1 -1 -1 -1 +.syscon prsnlty,FDPIC_FUNCPTRS,0x0080000,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/FD_CLOEXEC.S b/libc/sysv/consts/FD_CLOEXEC.S index 864226554cc..775be543d87 100644 --- a/libc/sysv/consts/FD_CLOEXEC.S +++ b/libc/sysv/consts/FD_CLOEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl3 FD_CLOEXEC 1 1 1 1 1 1 +.syscon fcntl3,FD_CLOEXEC,1,1,1,1,1,1 diff --git a/libc/sysv/consts/FD_SETSIZE.S b/libc/sysv/consts/FD_SETSIZE.S index f51d35b30ab..a1a140adea3 100644 --- a/libc/sysv/consts/FD_SETSIZE.S +++ b/libc/sysv/consts/FD_SETSIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon select FD_SETSIZE 0x0400 0x0400 0x0400 0x0400 0x0400 0x0400 +.syscon select,FD_SETSIZE,0x0400,0x0400,0x0400,0x0400,0x0400,0x0400 diff --git a/libc/sysv/consts/FE_ALL_EXCEPT.S b/libc/sysv/consts/FE_ALL_EXCEPT.S index fdcd71b5673..f8e00c365d9 100644 --- a/libc/sysv/consts/FE_ALL_EXCEPT.S +++ b/libc/sysv/consts/FE_ALL_EXCEPT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FE_ALL_EXCEPT 61 63 63 63 63 0 +.syscon misc,FE_ALL_EXCEPT,61,63,63,63,63,0 diff --git a/libc/sysv/consts/FE_DIVBYZERO.S b/libc/sysv/consts/FE_DIVBYZERO.S index 10bb68f21f7..5010d54840b 100644 --- a/libc/sysv/consts/FE_DIVBYZERO.S +++ b/libc/sysv/consts/FE_DIVBYZERO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FE_DIVBYZERO 4 4 4 4 4 0 +.syscon misc,FE_DIVBYZERO,4,4,4,4,4,0 diff --git a/libc/sysv/consts/FE_DOWNWARD.S b/libc/sysv/consts/FE_DOWNWARD.S index f0f55700d9d..ec5ed452c3d 100644 --- a/libc/sysv/consts/FE_DOWNWARD.S +++ b/libc/sysv/consts/FE_DOWNWARD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FE_DOWNWARD 0x0400 0x0400 0x0400 0x0400 0x0400 0 +.syscon misc,FE_DOWNWARD,0x0400,0x0400,0x0400,0x0400,0x0400,0 diff --git a/libc/sysv/consts/FE_INEXACT.S b/libc/sysv/consts/FE_INEXACT.S index 09075085c68..9ff25b77d0b 100644 --- a/libc/sysv/consts/FE_INEXACT.S +++ b/libc/sysv/consts/FE_INEXACT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FE_INEXACT 0x20 0x20 0x20 0x20 0x20 0 +.syscon misc,FE_INEXACT,0x20,0x20,0x20,0x20,0x20,0 diff --git a/libc/sysv/consts/FE_INVALID.S b/libc/sysv/consts/FE_INVALID.S index 4dea72b872b..b9a537f55f7 100644 --- a/libc/sysv/consts/FE_INVALID.S +++ b/libc/sysv/consts/FE_INVALID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FE_INVALID 1 1 1 1 1 0 +.syscon misc,FE_INVALID,1,1,1,1,1,0 diff --git a/libc/sysv/consts/FE_OVERFLOW.S b/libc/sysv/consts/FE_OVERFLOW.S index d35f4cb06f8..b6c59e6728e 100644 --- a/libc/sysv/consts/FE_OVERFLOW.S +++ b/libc/sysv/consts/FE_OVERFLOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FE_OVERFLOW 8 8 8 8 8 0 +.syscon misc,FE_OVERFLOW,8,8,8,8,8,0 diff --git a/libc/sysv/consts/FE_TONEAREST.S b/libc/sysv/consts/FE_TONEAREST.S index 8a1144508eb..9cdb6a08e34 100644 --- a/libc/sysv/consts/FE_TONEAREST.S +++ b/libc/sysv/consts/FE_TONEAREST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FE_TONEAREST 0 0 0 0 0 0 +.syscon misc,FE_TONEAREST,0,0,0,0,0,0 diff --git a/libc/sysv/consts/FE_TOWARDZERO.S b/libc/sysv/consts/FE_TOWARDZERO.S index 35eea3b040a..1d6957fb6b1 100644 --- a/libc/sysv/consts/FE_TOWARDZERO.S +++ b/libc/sysv/consts/FE_TOWARDZERO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FE_TOWARDZERO 0x0c00 0x0c00 0x0c00 0x0c00 0x0c00 0 +.syscon misc,FE_TOWARDZERO,0x0c00,0x0c00,0x0c00,0x0c00,0x0c00,0 diff --git a/libc/sysv/consts/FE_UNDERFLOW.S b/libc/sysv/consts/FE_UNDERFLOW.S index bd366b902ee..b5b594020a3 100644 --- a/libc/sysv/consts/FE_UNDERFLOW.S +++ b/libc/sysv/consts/FE_UNDERFLOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FE_UNDERFLOW 0x10 0x10 0x10 0x10 0x10 0 +.syscon misc,FE_UNDERFLOW,0x10,0x10,0x10,0x10,0x10,0 diff --git a/libc/sysv/consts/FE_UPWARD.S b/libc/sysv/consts/FE_UPWARD.S index 8a29e035361..c1f0ac0ec70 100644 --- a/libc/sysv/consts/FE_UPWARD.S +++ b/libc/sysv/consts/FE_UPWARD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FE_UPWARD 0x0800 0x0800 0x0800 0x0800 0x0800 0 +.syscon misc,FE_UPWARD,0x0800,0x0800,0x0800,0x0800,0x0800,0 diff --git a/libc/sysv/consts/FF0.S b/libc/sysv/consts/FF0.S index d139bfb3736..795a9afcd73 100644 --- a/libc/sysv/consts/FF0.S +++ b/libc/sysv/consts/FF0.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios FF0 0b0000000000000000 0b000000000000000000 0b000000000000000000 0 0 0b0000000000000000 +.syscon termios,FF0,0b0000000000000000,0b000000000000000000,0b000000000000000000,0,0,0b0000000000000000 diff --git a/libc/sysv/consts/FF1.S b/libc/sysv/consts/FF1.S index 194297e74ef..190052ae8c1 100644 --- a/libc/sysv/consts/FF1.S +++ b/libc/sysv/consts/FF1.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios FF1 0b1000000000000000 0b000100000000000000 0b000100000000000000 0 0 0b1000000000000000 +.syscon termios,FF1,0b1000000000000000,0b000100000000000000,0b000100000000000000,0,0,0b1000000000000000 diff --git a/libc/sysv/consts/FFDLY.S b/libc/sysv/consts/FFDLY.S index 54e532c518e..02ca29bdcc4 100644 --- a/libc/sysv/consts/FFDLY.S +++ b/libc/sysv/consts/FFDLY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios FFDLY 0b1000000000000000 0b000100000000000000 0b000100000000000000 0 0 0b1000000000000000 +.syscon termios,FFDLY,0b1000000000000000,0b000100000000000000,0b000100000000000000,0,0,0b1000000000000000 diff --git a/libc/sysv/consts/FFSYNC.S b/libc/sysv/consts/FFSYNC.S index c73f303eaef..c20c4f5bb5c 100644 --- a/libc/sysv/consts/FFSYNC.S +++ b/libc/sysv/consts/FFSYNC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FFSYNC 0x101000 0x80 0x80 0x80 0x80 0 +.syscon misc,FFSYNC,0x101000,0x80,0x80,0x80,0x80,0 diff --git a/libc/sysv/consts/FIFOTYPE.S b/libc/sysv/consts/FIFOTYPE.S index 1b56e555ab5..a1a4f3ac827 100644 --- a/libc/sysv/consts/FIFOTYPE.S +++ b/libc/sysv/consts/FIFOTYPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FIFOTYPE 54 54 54 54 54 0 +.syscon misc,FIFOTYPE,54,54,54,54,54,0 diff --git a/libc/sysv/consts/FILENAME_MAX.S b/libc/sysv/consts/FILENAME_MAX.S index b1af5b01fa3..ee712eff9ad 100644 --- a/libc/sysv/consts/FILENAME_MAX.S +++ b/libc/sysv/consts/FILENAME_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FILENAME_MAX 0x1000 0x0400 0x0400 0x0400 0x0400 0 +.syscon misc,FILENAME_MAX,0x1000,0x0400,0x0400,0x0400,0x0400,0 diff --git a/libc/sysv/consts/FIOASYNC.S b/libc/sysv/consts/FIOASYNC.S index bbf28c3e427..b23e2f3cc3c 100644 --- a/libc/sysv/consts/FIOASYNC.S +++ b/libc/sysv/consts/FIOASYNC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ioctl FIOASYNC 0x5452 0x8004667d 0x8004667d 0x8004667d 0x8004667d 0x8004667d +.syscon ioctl,FIOASYNC,0x5452,0x8004667d,0x8004667d,0x8004667d,0x8004667d,0x8004667d diff --git a/libc/sysv/consts/FIOGETOWN.S b/libc/sysv/consts/FIOGETOWN.S index 2f0978fbff6..c67f6726475 100644 --- a/libc/sysv/consts/FIOGETOWN.S +++ b/libc/sysv/consts/FIOGETOWN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FIOGETOWN 0x8903 0x4004667b 0x4004667b 0x4004667b 0x4004667b 0 +.syscon misc,FIOGETOWN,0x8903,0x4004667b,0x4004667b,0x4004667b,0x4004667b,0 diff --git a/libc/sysv/consts/FIONBIO.S b/libc/sysv/consts/FIONBIO.S index 4b0ff33ca9f..614b9b3159b 100644 --- a/libc/sysv/consts/FIONBIO.S +++ b/libc/sysv/consts/FIONBIO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ioctl FIONBIO 0x5421 0x8004667e 0x8004667e 0x8004667e 0x8004667e 0x8004667e +.syscon ioctl,FIONBIO,0x5421,0x8004667e,0x8004667e,0x8004667e,0x8004667e,0x8004667e diff --git a/libc/sysv/consts/FIONREAD.S b/libc/sysv/consts/FIONREAD.S index 3abc6b9a9c3..d26172d338a 100644 --- a/libc/sysv/consts/FIONREAD.S +++ b/libc/sysv/consts/FIONREAD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ioctl FIONREAD 0x541b 0x4004667f 0x4004667f 0x4004667f 0x4004667f 0x4004667f +.syscon ioctl,FIONREAD,0x541b,0x4004667f,0x4004667f,0x4004667f,0x4004667f,0x4004667f diff --git a/libc/sysv/consts/FIOSETOWN.S b/libc/sysv/consts/FIOSETOWN.S index 5479758b633..669c57ecd4f 100644 --- a/libc/sysv/consts/FIOSETOWN.S +++ b/libc/sysv/consts/FIOSETOWN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FIOSETOWN 0x8901 0x8004667c 0x8004667c 0x8004667c 0x8004667c 0 +.syscon misc,FIOSETOWN,0x8901,0x8004667c,0x8004667c,0x8004667c,0x8004667c,0 diff --git a/libc/sysv/consts/FLUSHO.S b/libc/sysv/consts/FLUSHO.S index b4a2056700b..3ae1de2a096 100644 --- a/libc/sysv/consts/FLUSHO.S +++ b/libc/sysv/consts/FLUSHO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios FLUSHO 0b0001000000000000 8388608 8388608 8388608 8388608 0b0001000000000000 +.syscon termios,FLUSHO,0b0001000000000000,8388608,8388608,8388608,8388608,0b0001000000000000 diff --git a/libc/sysv/consts/FMAXEXP.S b/libc/sysv/consts/FMAXEXP.S index 1b28f97d6aa..55fb2003670 100644 --- a/libc/sysv/consts/FMAXEXP.S +++ b/libc/sysv/consts/FMAXEXP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FMAXEXP 0x80 0 0 0 0 0 +.syscon misc,FMAXEXP,0x80,0,0,0,0,0 diff --git a/libc/sysv/consts/FMINEXP.S b/libc/sysv/consts/FMINEXP.S index 705b8a90046..150bca9e273 100644 --- a/libc/sysv/consts/FMINEXP.S +++ b/libc/sysv/consts/FMINEXP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FMINEXP -125 0 0 0 0 0 +.syscon misc,FMINEXP,-125,0,0,0,0,0 diff --git a/libc/sysv/consts/FNDELAY.S b/libc/sysv/consts/FNDELAY.S index ab22e812aaa..74d7685a5d2 100644 --- a/libc/sysv/consts/FNDELAY.S +++ b/libc/sysv/consts/FNDELAY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FNDELAY 0x0800 4 4 4 4 0 +.syscon misc,FNDELAY,0x0800,4,4,4,4,0 diff --git a/libc/sysv/consts/FNM_NOSYS.S b/libc/sysv/consts/FNM_NOSYS.S index b225594d698..dfc67da495c 100644 --- a/libc/sysv/consts/FNM_NOSYS.S +++ b/libc/sysv/consts/FNM_NOSYS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FNM_NOSYS -1 -1 -1 2 2 0 +.syscon misc,FNM_NOSYS,-1,-1,-1,2,2,0 diff --git a/libc/sysv/consts/FNONBLOCK.S b/libc/sysv/consts/FNONBLOCK.S index 5171308a682..d0e38749e4a 100644 --- a/libc/sysv/consts/FNONBLOCK.S +++ b/libc/sysv/consts/FNONBLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FNONBLOCK 0x0800 4 4 4 4 0 +.syscon misc,FNONBLOCK,0x0800,4,4,4,4,0 diff --git a/libc/sysv/consts/FOPEN_MAX.S b/libc/sysv/consts/FOPEN_MAX.S index 2f9b0b5e81e..6f97fb15b03 100644 --- a/libc/sysv/consts/FOPEN_MAX.S +++ b/libc/sysv/consts/FOPEN_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FOPEN_MAX 0x10 20 20 20 20 0 +.syscon misc,FOPEN_MAX,0x10,20,20,20,20,0 diff --git a/libc/sysv/consts/FORMAT_UNIT.S b/libc/sysv/consts/FORMAT_UNIT.S index 966a99356c5..50e342f1d07 100644 --- a/libc/sysv/consts/FORMAT_UNIT.S +++ b/libc/sysv/consts/FORMAT_UNIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FORMAT_UNIT 4 0 0 0 0 0 +.syscon misc,FORMAT_UNIT,4,0,0,0,0,0 diff --git a/libc/sysv/consts/FORM_C.S b/libc/sysv/consts/FORM_C.S index 5254a2c4570..e84cf7f2e4f 100644 --- a/libc/sysv/consts/FORM_C.S +++ b/libc/sysv/consts/FORM_C.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FORM_C 3 3 3 3 3 0 +.syscon misc,FORM_C,3,3,3,3,3,0 diff --git a/libc/sysv/consts/FORM_N.S b/libc/sysv/consts/FORM_N.S index 3a38eb1f0b9..b9d4154fd2b 100644 --- a/libc/sysv/consts/FORM_N.S +++ b/libc/sysv/consts/FORM_N.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FORM_N 1 1 1 1 1 0 +.syscon misc,FORM_N,1,1,1,1,1,0 diff --git a/libc/sysv/consts/FORM_T.S b/libc/sysv/consts/FORM_T.S index a54673280d2..019bcde88e7 100644 --- a/libc/sysv/consts/FORM_T.S +++ b/libc/sysv/consts/FORM_T.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FORM_T 2 2 2 2 2 0 +.syscon misc,FORM_T,2,2,2,2,2,0 diff --git a/libc/sysv/consts/FPE_FLTDIV.S b/libc/sysv/consts/FPE_FLTDIV.S index 8025d10f053..3390eed37d0 100644 --- a/libc/sysv/consts/FPE_FLTDIV.S +++ b/libc/sysv/consts/FPE_FLTDIV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FPE_FLTDIV 3 1 3 3 3 0 +.syscon misc,FPE_FLTDIV,3,1,3,3,3,0 diff --git a/libc/sysv/consts/FPE_FLTINV.S b/libc/sysv/consts/FPE_FLTINV.S index 994a6bd02ae..24a2d9b9dda 100644 --- a/libc/sysv/consts/FPE_FLTINV.S +++ b/libc/sysv/consts/FPE_FLTINV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FPE_FLTINV 7 5 7 7 7 0 +.syscon misc,FPE_FLTINV,7,5,7,7,7,0 diff --git a/libc/sysv/consts/FPE_FLTOVF.S b/libc/sysv/consts/FPE_FLTOVF.S index 22ee186d83b..6ccf5937c92 100644 --- a/libc/sysv/consts/FPE_FLTOVF.S +++ b/libc/sysv/consts/FPE_FLTOVF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FPE_FLTOVF 4 2 4 4 4 0 +.syscon misc,FPE_FLTOVF,4,2,4,4,4,0 diff --git a/libc/sysv/consts/FPE_FLTRES.S b/libc/sysv/consts/FPE_FLTRES.S index 6ac28c2ae32..7d4881f0bf7 100644 --- a/libc/sysv/consts/FPE_FLTRES.S +++ b/libc/sysv/consts/FPE_FLTRES.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FPE_FLTRES 6 4 6 6 6 0 +.syscon misc,FPE_FLTRES,6,4,6,6,6,0 diff --git a/libc/sysv/consts/FPE_FLTSUB.S b/libc/sysv/consts/FPE_FLTSUB.S index c8e7ca725e8..f17fa18c1ac 100644 --- a/libc/sysv/consts/FPE_FLTSUB.S +++ b/libc/sysv/consts/FPE_FLTSUB.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FPE_FLTSUB 8 6 8 8 8 0 +.syscon misc,FPE_FLTSUB,8,6,8,8,8,0 diff --git a/libc/sysv/consts/FPE_FLTUND.S b/libc/sysv/consts/FPE_FLTUND.S index 51ce135545f..7556e572442 100644 --- a/libc/sysv/consts/FPE_FLTUND.S +++ b/libc/sysv/consts/FPE_FLTUND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FPE_FLTUND 5 3 5 5 5 0 +.syscon misc,FPE_FLTUND,5,3,5,5,5,0 diff --git a/libc/sysv/consts/FPE_INTDIV.S b/libc/sysv/consts/FPE_INTDIV.S index fcc294b2685..87d9e0340f2 100644 --- a/libc/sysv/consts/FPE_INTDIV.S +++ b/libc/sysv/consts/FPE_INTDIV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FPE_INTDIV 1 7 2 1 1 0 +.syscon misc,FPE_INTDIV,1,7,2,1,1,0 diff --git a/libc/sysv/consts/FPE_INTOVF.S b/libc/sysv/consts/FPE_INTOVF.S index 324318801ba..dfcfe321c17 100644 --- a/libc/sysv/consts/FPE_INTOVF.S +++ b/libc/sysv/consts/FPE_INTOVF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FPE_INTOVF 2 8 1 2 2 0 +.syscon misc,FPE_INTOVF,2,8,1,2,2,0 diff --git a/libc/sysv/consts/FSETLOCKING_BYCALLER.S b/libc/sysv/consts/FSETLOCKING_BYCALLER.S index a298883221c..b64ce7413d6 100644 --- a/libc/sysv/consts/FSETLOCKING_BYCALLER.S +++ b/libc/sysv/consts/FSETLOCKING_BYCALLER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FSETLOCKING_BYCALLER 2 0 0 0 0 0 +.syscon misc,FSETLOCKING_BYCALLER,2,0,0,0,0,0 diff --git a/libc/sysv/consts/FSETLOCKING_INTERNAL.S b/libc/sysv/consts/FSETLOCKING_INTERNAL.S index c426ebbc7b5..42ff6f94e88 100644 --- a/libc/sysv/consts/FSETLOCKING_INTERNAL.S +++ b/libc/sysv/consts/FSETLOCKING_INTERNAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FSETLOCKING_INTERNAL 1 0 0 0 0 0 +.syscon misc,FSETLOCKING_INTERNAL,1,0,0,0,0,0 diff --git a/libc/sysv/consts/FSETLOCKING_QUERY.S b/libc/sysv/consts/FSETLOCKING_QUERY.S index 15c1938737e..23f48e60481 100644 --- a/libc/sysv/consts/FSETLOCKING_QUERY.S +++ b/libc/sysv/consts/FSETLOCKING_QUERY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FSETLOCKING_QUERY 0 0 0 0 0 0 +.syscon misc,FSETLOCKING_QUERY,0,0,0,0,0,0 diff --git a/libc/sysv/consts/FTW_CHDIR.S b/libc/sysv/consts/FTW_CHDIR.S index f60c384b5d1..6e0f412d0ce 100644 --- a/libc/sysv/consts/FTW_CHDIR.S +++ b/libc/sysv/consts/FTW_CHDIR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FTW_CHDIR 4 8 8 8 8 0 +.syscon misc,FTW_CHDIR,4,8,8,8,8,0 diff --git a/libc/sysv/consts/FTW_D.S b/libc/sysv/consts/FTW_D.S index 7e00a0b1d6c..6d1fa4cf9c2 100644 --- a/libc/sysv/consts/FTW_D.S +++ b/libc/sysv/consts/FTW_D.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FTW_D 1 1 1 1 1 0 +.syscon misc,FTW_D,1,1,1,1,1,0 diff --git a/libc/sysv/consts/FTW_DEPTH.S b/libc/sysv/consts/FTW_DEPTH.S index 9b53849c295..423a1b6d770 100644 --- a/libc/sysv/consts/FTW_DEPTH.S +++ b/libc/sysv/consts/FTW_DEPTH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FTW_DEPTH 8 4 4 4 4 0 +.syscon misc,FTW_DEPTH,8,4,4,4,4,0 diff --git a/libc/sysv/consts/FTW_DNR.S b/libc/sysv/consts/FTW_DNR.S index 233c5f7afdf..9420c3a6c51 100644 --- a/libc/sysv/consts/FTW_DNR.S +++ b/libc/sysv/consts/FTW_DNR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FTW_DNR 2 2 2 2 2 0 +.syscon misc,FTW_DNR,2,2,2,2,2,0 diff --git a/libc/sysv/consts/FTW_DP.S b/libc/sysv/consts/FTW_DP.S index b33318c9c71..af0e2a5aa79 100644 --- a/libc/sysv/consts/FTW_DP.S +++ b/libc/sysv/consts/FTW_DP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FTW_DP 5 3 3 3 3 0 +.syscon misc,FTW_DP,5,3,3,3,3,0 diff --git a/libc/sysv/consts/FTW_F.S b/libc/sysv/consts/FTW_F.S index 59699785f4a..b9cc8d10dd6 100644 --- a/libc/sysv/consts/FTW_F.S +++ b/libc/sysv/consts/FTW_F.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FTW_F 0 0 0 0 0 0 +.syscon misc,FTW_F,0,0,0,0,0,0 diff --git a/libc/sysv/consts/FTW_MOUNT.S b/libc/sysv/consts/FTW_MOUNT.S index 02fcee12b7b..baf3bce7f6a 100644 --- a/libc/sysv/consts/FTW_MOUNT.S +++ b/libc/sysv/consts/FTW_MOUNT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FTW_MOUNT 2 2 2 2 2 0 +.syscon misc,FTW_MOUNT,2,2,2,2,2,0 diff --git a/libc/sysv/consts/FTW_NS.S b/libc/sysv/consts/FTW_NS.S index 2846c81c392..b7ec16fce10 100644 --- a/libc/sysv/consts/FTW_NS.S +++ b/libc/sysv/consts/FTW_NS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FTW_NS 3 4 4 4 4 0 +.syscon misc,FTW_NS,3,4,4,4,4,0 diff --git a/libc/sysv/consts/FTW_PHYS.S b/libc/sysv/consts/FTW_PHYS.S index 9bc78806203..e8ed92944b0 100644 --- a/libc/sysv/consts/FTW_PHYS.S +++ b/libc/sysv/consts/FTW_PHYS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FTW_PHYS 1 1 1 1 1 0 +.syscon misc,FTW_PHYS,1,1,1,1,1,0 diff --git a/libc/sysv/consts/FTW_SL.S b/libc/sysv/consts/FTW_SL.S index d11a2600600..fb4ac0d0ed8 100644 --- a/libc/sysv/consts/FTW_SL.S +++ b/libc/sysv/consts/FTW_SL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FTW_SL 4 5 5 5 5 0 +.syscon misc,FTW_SL,4,5,5,5,5,0 diff --git a/libc/sysv/consts/FTW_SLN.S b/libc/sysv/consts/FTW_SLN.S index d00f5d4c4fb..afac6549700 100644 --- a/libc/sysv/consts/FTW_SLN.S +++ b/libc/sysv/consts/FTW_SLN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FTW_SLN 6 6 6 6 6 0 +.syscon misc,FTW_SLN,6,6,6,6,6,0 diff --git a/libc/sysv/consts/FUTEX_PRIVATE_FLAG.S b/libc/sysv/consts/FUTEX_PRIVATE_FLAG.S index b4cd9141b59..4f080ff9193 100644 --- a/libc/sysv/consts/FUTEX_PRIVATE_FLAG.S +++ b/libc/sysv/consts/FUTEX_PRIVATE_FLAG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FUTEX_PRIVATE_FLAG 0 0 0 0x80 0x80 0 +.syscon misc,FUTEX_PRIVATE_FLAG,0,0,0,0x80,0x80,0 diff --git a/libc/sysv/consts/FUTEX_REQUEUE.S b/libc/sysv/consts/FUTEX_REQUEUE.S index 8a46141fa03..ca41403a2f7 100644 --- a/libc/sysv/consts/FUTEX_REQUEUE.S +++ b/libc/sysv/consts/FUTEX_REQUEUE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FUTEX_REQUEUE 0 0 0 3 3 0 +.syscon misc,FUTEX_REQUEUE,0,0,0,3,3,0 diff --git a/libc/sysv/consts/FUTEX_REQUEUE_PRIVATE.S b/libc/sysv/consts/FUTEX_REQUEUE_PRIVATE.S index bada00e2f78..26f1d5edd4a 100644 --- a/libc/sysv/consts/FUTEX_REQUEUE_PRIVATE.S +++ b/libc/sysv/consts/FUTEX_REQUEUE_PRIVATE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FUTEX_REQUEUE_PRIVATE 0 0 0 131 131 0 +.syscon misc,FUTEX_REQUEUE_PRIVATE,0,0,0,131,131,0 diff --git a/libc/sysv/consts/FUTEX_WAIT.S b/libc/sysv/consts/FUTEX_WAIT.S index 1f203efe998..f17dc576ed9 100644 --- a/libc/sysv/consts/FUTEX_WAIT.S +++ b/libc/sysv/consts/FUTEX_WAIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FUTEX_WAIT 0 0 0 1 1 0 +.syscon misc,FUTEX_WAIT,0,0,0,1,1,0 diff --git a/libc/sysv/consts/FUTEX_WAIT_PRIVATE.S b/libc/sysv/consts/FUTEX_WAIT_PRIVATE.S index 11b000a348c..8f9d0f41174 100644 --- a/libc/sysv/consts/FUTEX_WAIT_PRIVATE.S +++ b/libc/sysv/consts/FUTEX_WAIT_PRIVATE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FUTEX_WAIT_PRIVATE 0 0 0 129 129 0 +.syscon misc,FUTEX_WAIT_PRIVATE,0,0,0,129,129,0 diff --git a/libc/sysv/consts/FUTEX_WAKE.S b/libc/sysv/consts/FUTEX_WAKE.S index 8c48a34b9ba..e4d3eeb8ae8 100644 --- a/libc/sysv/consts/FUTEX_WAKE.S +++ b/libc/sysv/consts/FUTEX_WAKE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FUTEX_WAKE 0 0 0 2 2 0 +.syscon misc,FUTEX_WAKE,0,0,0,2,2,0 diff --git a/libc/sysv/consts/FUTEX_WAKE_PRIVATE.S b/libc/sysv/consts/FUTEX_WAKE_PRIVATE.S index 230786b1c5c..e5db0fd8471 100644 --- a/libc/sysv/consts/FUTEX_WAKE_PRIVATE.S +++ b/libc/sysv/consts/FUTEX_WAKE_PRIVATE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc FUTEX_WAKE_PRIVATE 0 0 0 130 130 0 +.syscon misc,FUTEX_WAKE_PRIVATE,0,0,0,130,130,0 diff --git a/libc/sysv/consts/F_DUPFD.S b/libc/sysv/consts/F_DUPFD.S index 5f4c1e77f81..74c1f53705c 100644 --- a/libc/sysv/consts/F_DUPFD.S +++ b/libc/sysv/consts/F_DUPFD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl2 F_DUPFD 0 0 0 0 0 0 +.syscon fcntl2,F_DUPFD,0,0,0,0,0,0 diff --git a/libc/sysv/consts/F_DUPFD_CLOEXEC.S b/libc/sysv/consts/F_DUPFD_CLOEXEC.S index 8bbc6b95e05..002378bff70 100644 --- a/libc/sysv/consts/F_DUPFD_CLOEXEC.S +++ b/libc/sysv/consts/F_DUPFD_CLOEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_DUPFD_CLOEXEC 0x0406 67 17 10 12 0 +.syscon fcntl,F_DUPFD_CLOEXEC,0x0406,67,17,10,12,0 diff --git a/libc/sysv/consts/F_GETFD.S b/libc/sysv/consts/F_GETFD.S index 45716d0b281..c336760f6b2 100644 --- a/libc/sysv/consts/F_GETFD.S +++ b/libc/sysv/consts/F_GETFD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl2 F_GETFD 1 1 1 1 1 1 +.syscon fcntl2,F_GETFD,1,1,1,1,1,1 diff --git a/libc/sysv/consts/F_GETFL.S b/libc/sysv/consts/F_GETFL.S index 2f0acd136e5..f76c8d376be 100644 --- a/libc/sysv/consts/F_GETFL.S +++ b/libc/sysv/consts/F_GETFL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl2 F_GETFL 3 3 3 3 3 3 +.syscon fcntl2,F_GETFL,3,3,3,3,3,3 diff --git a/libc/sysv/consts/F_GETLEASE.S b/libc/sysv/consts/F_GETLEASE.S index 62b1680a456..d5a45f3815b 100644 --- a/libc/sysv/consts/F_GETLEASE.S +++ b/libc/sysv/consts/F_GETLEASE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_GETLEASE 0x0401 0 0 0 0 0 +.syscon fcntl,F_GETLEASE,0x0401,0,0,0,0,0 diff --git a/libc/sysv/consts/F_GETLK.S b/libc/sysv/consts/F_GETLK.S index 4544e962733..1dd0b999a7e 100644 --- a/libc/sysv/consts/F_GETLK.S +++ b/libc/sysv/consts/F_GETLK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_GETLK 5 7 11 7 7 0 +.syscon fcntl,F_GETLK,5,7,11,7,7,0 diff --git a/libc/sysv/consts/F_GETLK64.S b/libc/sysv/consts/F_GETLK64.S index 851b54ca49b..6d2fcfeed1a 100644 --- a/libc/sysv/consts/F_GETLK64.S +++ b/libc/sysv/consts/F_GETLK64.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_GETLK64 5 0 0 0 0 0 +.syscon fcntl,F_GETLK64,5,0,0,0,0,0 diff --git a/libc/sysv/consts/F_GETOWN.S b/libc/sysv/consts/F_GETOWN.S index a59969d9bb0..53213585674 100644 --- a/libc/sysv/consts/F_GETOWN.S +++ b/libc/sysv/consts/F_GETOWN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl2 F_GETOWN 9 5 5 5 5 0 +.syscon fcntl2,F_GETOWN,9,5,5,5,5,0 diff --git a/libc/sysv/consts/F_GETOWN_EX.S b/libc/sysv/consts/F_GETOWN_EX.S index 19fafcaf818..433170eaef3 100644 --- a/libc/sysv/consts/F_GETOWN_EX.S +++ b/libc/sysv/consts/F_GETOWN_EX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_GETOWN_EX 0x10 0 0 0 0 0 +.syscon fcntl,F_GETOWN_EX,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/F_GETPIPE_SZ.S b/libc/sysv/consts/F_GETPIPE_SZ.S index cb7192834f3..8e50a6e6b33 100644 --- a/libc/sysv/consts/F_GETPIPE_SZ.S +++ b/libc/sysv/consts/F_GETPIPE_SZ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_GETPIPE_SZ 0x0408 0 0 0 0 0 +.syscon fcntl,F_GETPIPE_SZ,0x0408,0,0,0,0,0 diff --git a/libc/sysv/consts/F_GETSIG.S b/libc/sysv/consts/F_GETSIG.S index 353b84bdd28..144ea574347 100644 --- a/libc/sysv/consts/F_GETSIG.S +++ b/libc/sysv/consts/F_GETSIG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_GETSIG 11 0 0 0 0 0 +.syscon fcntl,F_GETSIG,11,0,0,0,0,0 diff --git a/libc/sysv/consts/F_LOCK.S b/libc/sysv/consts/F_LOCK.S index c4b1e3fbc38..d2758f1a1d7 100644 --- a/libc/sysv/consts/F_LOCK.S +++ b/libc/sysv/consts/F_LOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_LOCK 1 1 1 1 1 0 +.syscon fcntl,F_LOCK,1,1,1,1,1,0 diff --git a/libc/sysv/consts/F_NOTIFY.S b/libc/sysv/consts/F_NOTIFY.S index f15d3b875e3..5724b7d787b 100644 --- a/libc/sysv/consts/F_NOTIFY.S +++ b/libc/sysv/consts/F_NOTIFY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_NOTIFY 0x0402 0 0 0 0 0 +.syscon fcntl,F_NOTIFY,0x0402,0,0,0,0,0 diff --git a/libc/sysv/consts/F_OFD_GETLK.S b/libc/sysv/consts/F_OFD_GETLK.S index b2bc2eeeac3..f52fb346e5b 100644 --- a/libc/sysv/consts/F_OFD_GETLK.S +++ b/libc/sysv/consts/F_OFD_GETLK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_OFD_GETLK 36 0 0 0 0 0 +.syscon fcntl,F_OFD_GETLK,36,0,0,0,0,0 diff --git a/libc/sysv/consts/F_OFD_SETLK.S b/libc/sysv/consts/F_OFD_SETLK.S index 2863dce78d6..c8bff3e60bc 100644 --- a/libc/sysv/consts/F_OFD_SETLK.S +++ b/libc/sysv/consts/F_OFD_SETLK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_OFD_SETLK 37 0 0 0 0 0 +.syscon fcntl,F_OFD_SETLK,37,0,0,0,0,0 diff --git a/libc/sysv/consts/F_OFD_SETLKW.S b/libc/sysv/consts/F_OFD_SETLKW.S index eccaaedd56c..3ca699b8512 100644 --- a/libc/sysv/consts/F_OFD_SETLKW.S +++ b/libc/sysv/consts/F_OFD_SETLKW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_OFD_SETLKW 38 0 0 0 0 0 +.syscon fcntl,F_OFD_SETLKW,38,0,0,0,0,0 diff --git a/libc/sysv/consts/F_OK.S b/libc/sysv/consts/F_OK.S index e748dcdaf26..49cab113dc4 100644 --- a/libc/sysv/consts/F_OK.S +++ b/libc/sysv/consts/F_OK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon access F_OK 0 0 0 0 0 0 +.syscon access,F_OK,0,0,0,0,0,0 diff --git a/libc/sysv/consts/F_RDLCK.S b/libc/sysv/consts/F_RDLCK.S index a9a41846914..65f333ee80c 100644 --- a/libc/sysv/consts/F_RDLCK.S +++ b/libc/sysv/consts/F_RDLCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_RDLCK 0 1 1 1 1 0 +.syscon fcntl,F_RDLCK,0,1,1,1,1,0 diff --git a/libc/sysv/consts/F_SETFD.S b/libc/sysv/consts/F_SETFD.S index c711ccf8564..4eff82f5c50 100644 --- a/libc/sysv/consts/F_SETFD.S +++ b/libc/sysv/consts/F_SETFD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl2 F_SETFD 2 2 2 2 2 2 +.syscon fcntl2,F_SETFD,2,2,2,2,2,2 diff --git a/libc/sysv/consts/F_SETFL.S b/libc/sysv/consts/F_SETFL.S index e0d14d38ff5..d2de8879c81 100644 --- a/libc/sysv/consts/F_SETFL.S +++ b/libc/sysv/consts/F_SETFL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl2 F_SETFL 4 4 4 4 4 4 +.syscon fcntl2,F_SETFL,4,4,4,4,4,4 diff --git a/libc/sysv/consts/F_SETLEASE.S b/libc/sysv/consts/F_SETLEASE.S index 3285aa75916..ce46b2cfcb6 100644 --- a/libc/sysv/consts/F_SETLEASE.S +++ b/libc/sysv/consts/F_SETLEASE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_SETLEASE 0x0400 0 0 0 0 0 +.syscon fcntl,F_SETLEASE,0x0400,0,0,0,0,0 diff --git a/libc/sysv/consts/F_SETLK.S b/libc/sysv/consts/F_SETLK.S index 7538508e280..a229d718177 100644 --- a/libc/sysv/consts/F_SETLK.S +++ b/libc/sysv/consts/F_SETLK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_SETLK 6 8 12 8 8 0 +.syscon fcntl,F_SETLK,6,8,12,8,8,0 diff --git a/libc/sysv/consts/F_SETLK64.S b/libc/sysv/consts/F_SETLK64.S index b95a6c02a2b..7aa9999697f 100644 --- a/libc/sysv/consts/F_SETLK64.S +++ b/libc/sysv/consts/F_SETLK64.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_SETLK64 6 0 0 0 0 0 +.syscon fcntl,F_SETLK64,6,0,0,0,0,0 diff --git a/libc/sysv/consts/F_SETLKW.S b/libc/sysv/consts/F_SETLKW.S index 2ad9cb30d1a..48896c36e42 100644 --- a/libc/sysv/consts/F_SETLKW.S +++ b/libc/sysv/consts/F_SETLKW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_SETLKW 7 9 13 9 9 0 +.syscon fcntl,F_SETLKW,7,9,13,9,9,0 diff --git a/libc/sysv/consts/F_SETLKW64.S b/libc/sysv/consts/F_SETLKW64.S index d4c56fa1f09..31dca8a64f6 100644 --- a/libc/sysv/consts/F_SETLKW64.S +++ b/libc/sysv/consts/F_SETLKW64.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_SETLKW64 7 0 0 0 0 0 +.syscon fcntl,F_SETLKW64,7,0,0,0,0,0 diff --git a/libc/sysv/consts/F_SETOWN.S b/libc/sysv/consts/F_SETOWN.S index 53bf971927e..b373dc52a71 100644 --- a/libc/sysv/consts/F_SETOWN.S +++ b/libc/sysv/consts/F_SETOWN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl2 F_SETOWN 8 6 6 6 6 0 +.syscon fcntl2,F_SETOWN,8,6,6,6,6,0 diff --git a/libc/sysv/consts/F_SETOWN_EX.S b/libc/sysv/consts/F_SETOWN_EX.S index 64853b7343c..39c21b4c582 100644 --- a/libc/sysv/consts/F_SETOWN_EX.S +++ b/libc/sysv/consts/F_SETOWN_EX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_SETOWN_EX 15 0 0 0 0 0 +.syscon fcntl,F_SETOWN_EX,15,0,0,0,0,0 diff --git a/libc/sysv/consts/F_SETPIPE_SZ.S b/libc/sysv/consts/F_SETPIPE_SZ.S index a9bec8fece1..7a2beb3afb5 100644 --- a/libc/sysv/consts/F_SETPIPE_SZ.S +++ b/libc/sysv/consts/F_SETPIPE_SZ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_SETPIPE_SZ 0x0407 0 0 0 0 0 +.syscon fcntl,F_SETPIPE_SZ,0x0407,0,0,0,0,0 diff --git a/libc/sysv/consts/F_SETSIG.S b/libc/sysv/consts/F_SETSIG.S index 48d00dfd9aa..e3847112629 100644 --- a/libc/sysv/consts/F_SETSIG.S +++ b/libc/sysv/consts/F_SETSIG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_SETSIG 10 0 0 0 0 0 +.syscon fcntl,F_SETSIG,10,0,0,0,0,0 diff --git a/libc/sysv/consts/F_TEST.S b/libc/sysv/consts/F_TEST.S index ff89f6afe86..54aff40de13 100644 --- a/libc/sysv/consts/F_TEST.S +++ b/libc/sysv/consts/F_TEST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_TEST 3 3 3 3 3 0 +.syscon fcntl,F_TEST,3,3,3,3,3,0 diff --git a/libc/sysv/consts/F_TLOCK.S b/libc/sysv/consts/F_TLOCK.S index 848b4e046fb..82775eaa555 100644 --- a/libc/sysv/consts/F_TLOCK.S +++ b/libc/sysv/consts/F_TLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_TLOCK 2 2 2 2 2 0 +.syscon fcntl,F_TLOCK,2,2,2,2,2,0 diff --git a/libc/sysv/consts/F_ULOCK.S b/libc/sysv/consts/F_ULOCK.S index a35fb702f5d..991a6fce2a3 100644 --- a/libc/sysv/consts/F_ULOCK.S +++ b/libc/sysv/consts/F_ULOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_ULOCK 0 0 0 0 0 0 +.syscon fcntl,F_ULOCK,0,0,0,0,0,0 diff --git a/libc/sysv/consts/F_UNLCK.S b/libc/sysv/consts/F_UNLCK.S index 70601a10396..5811e4222cc 100644 --- a/libc/sysv/consts/F_UNLCK.S +++ b/libc/sysv/consts/F_UNLCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_UNLCK 2 2 2 2 2 0 +.syscon fcntl,F_UNLCK,2,2,2,2,2,0 diff --git a/libc/sysv/consts/F_WRLCK.S b/libc/sysv/consts/F_WRLCK.S index 1172affaae1..6f0aa3d8a72 100644 --- a/libc/sysv/consts/F_WRLCK.S +++ b/libc/sysv/consts/F_WRLCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fcntl F_WRLCK 1 3 3 3 3 0 +.syscon fcntl,F_WRLCK,1,3,3,3,3,0 diff --git a/libc/sysv/consts/GOOD.S b/libc/sysv/consts/GOOD.S index 225722fd5de..7c5c2ea8c1f 100644 --- a/libc/sysv/consts/GOOD.S +++ b/libc/sysv/consts/GOOD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc GOOD 0 0 0 0 0 0 +.syscon misc,GOOD,0,0,0,0,0,0 diff --git a/libc/sysv/consts/GRPQUOTA.S b/libc/sysv/consts/GRPQUOTA.S index a352cfb00a2..0e049f7a343 100644 --- a/libc/sysv/consts/GRPQUOTA.S +++ b/libc/sysv/consts/GRPQUOTA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc GRPQUOTA 1 1 1 1 1 0 +.syscon misc,GRPQUOTA,1,1,1,1,1,0 diff --git a/libc/sysv/consts/H4DISC.S b/libc/sysv/consts/H4DISC.S index df7ef97695f..4da1e90b165 100644 --- a/libc/sysv/consts/H4DISC.S +++ b/libc/sysv/consts/H4DISC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios H4DISC 0 0 0x7 0 0 -1 +.syscon termios,H4DISC,0,0,0x7,0,0,-1 diff --git a/libc/sysv/consts/HARDWARE_ERROR.S b/libc/sysv/consts/HARDWARE_ERROR.S index 46df916f764..42e1dc3d5a4 100644 --- a/libc/sysv/consts/HARDWARE_ERROR.S +++ b/libc/sysv/consts/HARDWARE_ERROR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc HARDWARE_ERROR 4 0 0 0 0 0 +.syscon misc,HARDWARE_ERROR,4,0,0,0,0,0 diff --git a/libc/sysv/consts/HEAD_OF_QUEUE_TAG.S b/libc/sysv/consts/HEAD_OF_QUEUE_TAG.S index e15cf7e7418..317dcfe7483 100644 --- a/libc/sysv/consts/HEAD_OF_QUEUE_TAG.S +++ b/libc/sysv/consts/HEAD_OF_QUEUE_TAG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc HEAD_OF_QUEUE_TAG 33 0 0 0 0 0 +.syscon misc,HEAD_OF_QUEUE_TAG,33,0,0,0,0,0 diff --git a/libc/sysv/consts/HOST_NAME_MAX.S b/libc/sysv/consts/HOST_NAME_MAX.S index 6ca0e670605..9af1a0351a0 100644 --- a/libc/sysv/consts/HOST_NAME_MAX.S +++ b/libc/sysv/consts/HOST_NAME_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc HOST_NAME_MAX 0x40 0 0 255 255 0 +.syscon misc,HOST_NAME_MAX,0x40,0,0,255,255,0 diff --git a/libc/sysv/consts/HOST_NOT_FOUND.S b/libc/sysv/consts/HOST_NOT_FOUND.S index f5aacbafd44..ac2def45174 100644 --- a/libc/sysv/consts/HOST_NOT_FOUND.S +++ b/libc/sysv/consts/HOST_NOT_FOUND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc HOST_NOT_FOUND 1 1 1 1 1 0x2af9 +.syscon misc,HOST_NOT_FOUND,1,1,1,1,1,0x2af9 diff --git a/libc/sysv/consts/HUPCL.S b/libc/sysv/consts/HUPCL.S index 94769c86bb5..09b7f5b8782 100644 --- a/libc/sysv/consts/HUPCL.S +++ b/libc/sysv/consts/HUPCL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc HUPCL 0x0400 0x4000 0x4000 0x4000 0x4000 0 +.syscon misc,HUPCL,0x0400,0x4000,0x4000,0x4000,0x4000,0 diff --git a/libc/sysv/consts/ICANON.S b/libc/sysv/consts/ICANON.S index fc8b5065e64..89b1e0f5c45 100644 --- a/libc/sysv/consts/ICANON.S +++ b/libc/sysv/consts/ICANON.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios ICANON 0b0000000000000010 0b0000000100000000 0b0000000100000000 0b0000000100000000 0b0000000100000000 0b0000000000000010 +.syscon termios,ICANON,0b0000000000000010,0b0000000100000000,0b0000000100000000,0b0000000100000000,0b0000000100000000,0b0000000000000010 diff --git a/libc/sysv/consts/ICMP6_DST_UNREACH.S b/libc/sysv/consts/ICMP6_DST_UNREACH.S index cccae49c3e8..28bd0cb5502 100644 --- a/libc/sysv/consts/ICMP6_DST_UNREACH.S +++ b/libc/sysv/consts/ICMP6_DST_UNREACH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_DST_UNREACH 1 1 1 1 1 0 +.syscon icmp6,ICMP6_DST_UNREACH,1,1,1,1,1,0 diff --git a/libc/sysv/consts/ICMP6_DST_UNREACH_ADDR.S b/libc/sysv/consts/ICMP6_DST_UNREACH_ADDR.S index 7173353206e..c70d461c003 100644 --- a/libc/sysv/consts/ICMP6_DST_UNREACH_ADDR.S +++ b/libc/sysv/consts/ICMP6_DST_UNREACH_ADDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_DST_UNREACH_ADDR 3 3 3 3 3 3 +.syscon icmp6,ICMP6_DST_UNREACH_ADDR,3,3,3,3,3,3 diff --git a/libc/sysv/consts/ICMP6_DST_UNREACH_ADMIN.S b/libc/sysv/consts/ICMP6_DST_UNREACH_ADMIN.S index ee9c66cfd98..0e25e6b1dba 100644 --- a/libc/sysv/consts/ICMP6_DST_UNREACH_ADMIN.S +++ b/libc/sysv/consts/ICMP6_DST_UNREACH_ADMIN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_DST_UNREACH_ADMIN 1 1 1 1 1 1 +.syscon icmp6,ICMP6_DST_UNREACH_ADMIN,1,1,1,1,1,1 diff --git a/libc/sysv/consts/ICMP6_DST_UNREACH_BEYONDSCOPE.S b/libc/sysv/consts/ICMP6_DST_UNREACH_BEYONDSCOPE.S index 17591f17470..607f0e41edf 100644 --- a/libc/sysv/consts/ICMP6_DST_UNREACH_BEYONDSCOPE.S +++ b/libc/sysv/consts/ICMP6_DST_UNREACH_BEYONDSCOPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_DST_UNREACH_BEYONDSCOPE 2 2 2 2 2 2 +.syscon icmp6,ICMP6_DST_UNREACH_BEYONDSCOPE,2,2,2,2,2,2 diff --git a/libc/sysv/consts/ICMP6_DST_UNREACH_NOPORT.S b/libc/sysv/consts/ICMP6_DST_UNREACH_NOPORT.S index 0c4c625c826..f0fa7db6d78 100644 --- a/libc/sysv/consts/ICMP6_DST_UNREACH_NOPORT.S +++ b/libc/sysv/consts/ICMP6_DST_UNREACH_NOPORT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_DST_UNREACH_NOPORT 4 4 4 4 4 4 +.syscon icmp6,ICMP6_DST_UNREACH_NOPORT,4,4,4,4,4,4 diff --git a/libc/sysv/consts/ICMP6_DST_UNREACH_NOROUTE.S b/libc/sysv/consts/ICMP6_DST_UNREACH_NOROUTE.S index 90b44736d13..4577a5ff60b 100644 --- a/libc/sysv/consts/ICMP6_DST_UNREACH_NOROUTE.S +++ b/libc/sysv/consts/ICMP6_DST_UNREACH_NOROUTE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_DST_UNREACH_NOROUTE 0 0 0 0 0 0 +.syscon icmp6,ICMP6_DST_UNREACH_NOROUTE,0,0,0,0,0,0 diff --git a/libc/sysv/consts/ICMP6_ECHO_REPLY.S b/libc/sysv/consts/ICMP6_ECHO_REPLY.S index c209f5fe765..ce3e4a26bca 100644 --- a/libc/sysv/consts/ICMP6_ECHO_REPLY.S +++ b/libc/sysv/consts/ICMP6_ECHO_REPLY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_ECHO_REPLY 129 129 129 129 129 0 +.syscon icmp6,ICMP6_ECHO_REPLY,129,129,129,129,129,0 diff --git a/libc/sysv/consts/ICMP6_ECHO_REQUEST.S b/libc/sysv/consts/ICMP6_ECHO_REQUEST.S index 62d6af11643..a2d98b69e09 100644 --- a/libc/sysv/consts/ICMP6_ECHO_REQUEST.S +++ b/libc/sysv/consts/ICMP6_ECHO_REQUEST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_ECHO_REQUEST 0x80 0x80 0x80 0x80 0x80 0 +.syscon icmp6,ICMP6_ECHO_REQUEST,0x80,0x80,0x80,0x80,0x80,0 diff --git a/libc/sysv/consts/ICMP6_FILTER.S b/libc/sysv/consts/ICMP6_FILTER.S index 645f59274e7..892e7407332 100644 --- a/libc/sysv/consts/ICMP6_FILTER.S +++ b/libc/sysv/consts/ICMP6_FILTER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_FILTER 1 18 18 18 18 0 +.syscon icmp6,ICMP6_FILTER,1,18,18,18,18,0 diff --git a/libc/sysv/consts/ICMP6_INFOMSG_MASK.S b/libc/sysv/consts/ICMP6_INFOMSG_MASK.S index e7039726583..b2503396e43 100644 --- a/libc/sysv/consts/ICMP6_INFOMSG_MASK.S +++ b/libc/sysv/consts/ICMP6_INFOMSG_MASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_INFOMSG_MASK 0x80 0x80 0x80 0x80 0x80 0x80 +.syscon icmp6,ICMP6_INFOMSG_MASK,0x80,0x80,0x80,0x80,0x80,0x80 diff --git a/libc/sysv/consts/ICMP6_PACKET_TOO_BIG.S b/libc/sysv/consts/ICMP6_PACKET_TOO_BIG.S index 3e64fdf7f12..86d48d40943 100644 --- a/libc/sysv/consts/ICMP6_PACKET_TOO_BIG.S +++ b/libc/sysv/consts/ICMP6_PACKET_TOO_BIG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_PACKET_TOO_BIG 2 2 2 2 2 0 +.syscon icmp6,ICMP6_PACKET_TOO_BIG,2,2,2,2,2,0 diff --git a/libc/sysv/consts/ICMP6_PARAMPROB_HEADER.S b/libc/sysv/consts/ICMP6_PARAMPROB_HEADER.S index bcd302e6049..d110380cdee 100644 --- a/libc/sysv/consts/ICMP6_PARAMPROB_HEADER.S +++ b/libc/sysv/consts/ICMP6_PARAMPROB_HEADER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_PARAMPROB_HEADER 0 0 0 0 0 0 +.syscon icmp6,ICMP6_PARAMPROB_HEADER,0,0,0,0,0,0 diff --git a/libc/sysv/consts/ICMP6_PARAMPROB_NEXTHEADER.S b/libc/sysv/consts/ICMP6_PARAMPROB_NEXTHEADER.S index 7753e091e74..264d6f79f2e 100644 --- a/libc/sysv/consts/ICMP6_PARAMPROB_NEXTHEADER.S +++ b/libc/sysv/consts/ICMP6_PARAMPROB_NEXTHEADER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_PARAMPROB_NEXTHEADER 1 1 1 1 1 1 +.syscon icmp6,ICMP6_PARAMPROB_NEXTHEADER,1,1,1,1,1,1 diff --git a/libc/sysv/consts/ICMP6_PARAMPROB_OPTION.S b/libc/sysv/consts/ICMP6_PARAMPROB_OPTION.S index 5aaa8a65356..33fe65e31cb 100644 --- a/libc/sysv/consts/ICMP6_PARAMPROB_OPTION.S +++ b/libc/sysv/consts/ICMP6_PARAMPROB_OPTION.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_PARAMPROB_OPTION 2 2 2 2 2 2 +.syscon icmp6,ICMP6_PARAMPROB_OPTION,2,2,2,2,2,2 diff --git a/libc/sysv/consts/ICMP6_PARAM_PROB.S b/libc/sysv/consts/ICMP6_PARAM_PROB.S index fd74792a5cc..358fb584380 100644 --- a/libc/sysv/consts/ICMP6_PARAM_PROB.S +++ b/libc/sysv/consts/ICMP6_PARAM_PROB.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_PARAM_PROB 4 4 4 4 4 0 +.syscon icmp6,ICMP6_PARAM_PROB,4,4,4,4,4,0 diff --git a/libc/sysv/consts/ICMP6_ROUTER_RENUMBERING.S b/libc/sysv/consts/ICMP6_ROUTER_RENUMBERING.S index 6f03fe40bc7..547ac817541 100644 --- a/libc/sysv/consts/ICMP6_ROUTER_RENUMBERING.S +++ b/libc/sysv/consts/ICMP6_ROUTER_RENUMBERING.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_ROUTER_RENUMBERING 138 138 138 138 138 0 +.syscon icmp6,ICMP6_ROUTER_RENUMBERING,138,138,138,138,138,0 diff --git a/libc/sysv/consts/ICMP6_RR_FLAGS_FORCEAPPLY.S b/libc/sysv/consts/ICMP6_RR_FLAGS_FORCEAPPLY.S index a00e46cf88f..fc6ea66bff8 100644 --- a/libc/sysv/consts/ICMP6_RR_FLAGS_FORCEAPPLY.S +++ b/libc/sysv/consts/ICMP6_RR_FLAGS_FORCEAPPLY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_RR_FLAGS_FORCEAPPLY 0x20 0x20 0x20 0x20 0x20 0 +.syscon icmp6,ICMP6_RR_FLAGS_FORCEAPPLY,0x20,0x20,0x20,0x20,0x20,0 diff --git a/libc/sysv/consts/ICMP6_RR_FLAGS_PREVDONE.S b/libc/sysv/consts/ICMP6_RR_FLAGS_PREVDONE.S index db4ff46e706..b75638c2f71 100644 --- a/libc/sysv/consts/ICMP6_RR_FLAGS_PREVDONE.S +++ b/libc/sysv/consts/ICMP6_RR_FLAGS_PREVDONE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_RR_FLAGS_PREVDONE 8 8 8 8 8 0 +.syscon icmp6,ICMP6_RR_FLAGS_PREVDONE,8,8,8,8,8,0 diff --git a/libc/sysv/consts/ICMP6_RR_FLAGS_REQRESULT.S b/libc/sysv/consts/ICMP6_RR_FLAGS_REQRESULT.S index 254d0049046..14a74d17b68 100644 --- a/libc/sysv/consts/ICMP6_RR_FLAGS_REQRESULT.S +++ b/libc/sysv/consts/ICMP6_RR_FLAGS_REQRESULT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_RR_FLAGS_REQRESULT 0x40 0x40 0x40 0x40 0x40 0 +.syscon icmp6,ICMP6_RR_FLAGS_REQRESULT,0x40,0x40,0x40,0x40,0x40,0 diff --git a/libc/sysv/consts/ICMP6_RR_FLAGS_SPECSITE.S b/libc/sysv/consts/ICMP6_RR_FLAGS_SPECSITE.S index e4bec6d4606..1bf6abebecf 100644 --- a/libc/sysv/consts/ICMP6_RR_FLAGS_SPECSITE.S +++ b/libc/sysv/consts/ICMP6_RR_FLAGS_SPECSITE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_RR_FLAGS_SPECSITE 0x10 0x10 0x10 0x10 0x10 0 +.syscon icmp6,ICMP6_RR_FLAGS_SPECSITE,0x10,0x10,0x10,0x10,0x10,0 diff --git a/libc/sysv/consts/ICMP6_RR_FLAGS_TEST.S b/libc/sysv/consts/ICMP6_RR_FLAGS_TEST.S index ad6a20219f6..f696f86e36b 100644 --- a/libc/sysv/consts/ICMP6_RR_FLAGS_TEST.S +++ b/libc/sysv/consts/ICMP6_RR_FLAGS_TEST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_RR_FLAGS_TEST 0x80 0x80 0x80 0x80 0x80 0 +.syscon icmp6,ICMP6_RR_FLAGS_TEST,0x80,0x80,0x80,0x80,0x80,0 diff --git a/libc/sysv/consts/ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME.S b/libc/sysv/consts/ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME.S index 57941a179e0..14183c93a67 100644 --- a/libc/sysv/consts/ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME.S +++ b/libc/sysv/consts/ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME 0x40 0x40 0x40 0x40 0x40 0 +.syscon icmp6,ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME,0x40,0x40,0x40,0x40,0x40,0 diff --git a/libc/sysv/consts/ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME.S b/libc/sysv/consts/ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME.S index fbf2245aa55..9a7a10620c9 100644 --- a/libc/sysv/consts/ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME.S +++ b/libc/sysv/consts/ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME 0x80 0x80 0x80 0x80 0x80 0 +.syscon icmp6,ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME,0x80,0x80,0x80,0x80,0x80,0 diff --git a/libc/sysv/consts/ICMP6_RR_PCOUSE_RAFLAGS_AUTO.S b/libc/sysv/consts/ICMP6_RR_PCOUSE_RAFLAGS_AUTO.S index b6ff4f5bd94..f7ee0445ac3 100644 --- a/libc/sysv/consts/ICMP6_RR_PCOUSE_RAFLAGS_AUTO.S +++ b/libc/sysv/consts/ICMP6_RR_PCOUSE_RAFLAGS_AUTO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_RR_PCOUSE_RAFLAGS_AUTO 0x10 0x40 0x40 0x40 0x40 0 +.syscon icmp6,ICMP6_RR_PCOUSE_RAFLAGS_AUTO,0x10,0x40,0x40,0x40,0x40,0 diff --git a/libc/sysv/consts/ICMP6_RR_PCOUSE_RAFLAGS_ONLINK.S b/libc/sysv/consts/ICMP6_RR_PCOUSE_RAFLAGS_ONLINK.S index cae15d782f1..ab5d9ab31a4 100644 --- a/libc/sysv/consts/ICMP6_RR_PCOUSE_RAFLAGS_ONLINK.S +++ b/libc/sysv/consts/ICMP6_RR_PCOUSE_RAFLAGS_ONLINK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_RR_PCOUSE_RAFLAGS_ONLINK 0x20 0x80 0x80 0x80 0x80 0 +.syscon icmp6,ICMP6_RR_PCOUSE_RAFLAGS_ONLINK,0x20,0x80,0x80,0x80,0x80,0 diff --git a/libc/sysv/consts/ICMP6_RR_RESULT_FLAGS_FORBIDDEN.S b/libc/sysv/consts/ICMP6_RR_RESULT_FLAGS_FORBIDDEN.S index 0f24beab77c..d8048698645 100644 --- a/libc/sysv/consts/ICMP6_RR_RESULT_FLAGS_FORBIDDEN.S +++ b/libc/sysv/consts/ICMP6_RR_RESULT_FLAGS_FORBIDDEN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_RR_RESULT_FLAGS_FORBIDDEN 0x0100 0x0100 0x0100 0x0100 0x0100 0 +.syscon icmp6,ICMP6_RR_RESULT_FLAGS_FORBIDDEN,0x0100,0x0100,0x0100,0x0100,0x0100,0 diff --git a/libc/sysv/consts/ICMP6_RR_RESULT_FLAGS_OOB.S b/libc/sysv/consts/ICMP6_RR_RESULT_FLAGS_OOB.S index 7d30dfcd2e3..34c88566f3a 100644 --- a/libc/sysv/consts/ICMP6_RR_RESULT_FLAGS_OOB.S +++ b/libc/sysv/consts/ICMP6_RR_RESULT_FLAGS_OOB.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_RR_RESULT_FLAGS_OOB 0x0200 0x0200 0x0200 0x0200 0x0200 0 +.syscon icmp6,ICMP6_RR_RESULT_FLAGS_OOB,0x0200,0x0200,0x0200,0x0200,0x0200,0 diff --git a/libc/sysv/consts/ICMP6_TIME_EXCEEDED.S b/libc/sysv/consts/ICMP6_TIME_EXCEEDED.S index e540a960f26..2a4eeb7239b 100644 --- a/libc/sysv/consts/ICMP6_TIME_EXCEEDED.S +++ b/libc/sysv/consts/ICMP6_TIME_EXCEEDED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_TIME_EXCEEDED 3 3 3 3 3 0 +.syscon icmp6,ICMP6_TIME_EXCEEDED,3,3,3,3,3,0 diff --git a/libc/sysv/consts/ICMP6_TIME_EXCEED_REASSEMBLY.S b/libc/sysv/consts/ICMP6_TIME_EXCEED_REASSEMBLY.S index 086b15434e2..4ff5d29a2db 100644 --- a/libc/sysv/consts/ICMP6_TIME_EXCEED_REASSEMBLY.S +++ b/libc/sysv/consts/ICMP6_TIME_EXCEED_REASSEMBLY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_TIME_EXCEED_REASSEMBLY 1 1 1 1 1 1 +.syscon icmp6,ICMP6_TIME_EXCEED_REASSEMBLY,1,1,1,1,1,1 diff --git a/libc/sysv/consts/ICMP6_TIME_EXCEED_TRANSIT.S b/libc/sysv/consts/ICMP6_TIME_EXCEED_TRANSIT.S index cf3aae3fd43..31a86edd896 100644 --- a/libc/sysv/consts/ICMP6_TIME_EXCEED_TRANSIT.S +++ b/libc/sysv/consts/ICMP6_TIME_EXCEED_TRANSIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon icmp6 ICMP6_TIME_EXCEED_TRANSIT 0 0 0 0 0 0 +.syscon icmp6,ICMP6_TIME_EXCEED_TRANSIT,0,0,0,0,0,0 diff --git a/libc/sysv/consts/ICRNL.S b/libc/sysv/consts/ICRNL.S index 3eb60d293d4..fc2eb3d84fb 100644 --- a/libc/sysv/consts/ICRNL.S +++ b/libc/sysv/consts/ICRNL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios ICRNL 0b0000000100000000 0b0000000100000000 0b0000000100000000 0b0000000100000000 0b0000000100000000 0b0000000100000000 +.syscon termios,ICRNL,0b0000000100000000,0b0000000100000000,0b0000000100000000,0b0000000100000000,0b0000000100000000,0b0000000100000000 diff --git a/libc/sysv/consts/IEXTEN.S b/libc/sysv/consts/IEXTEN.S index 268eff950f1..2b5d76fd940 100644 --- a/libc/sysv/consts/IEXTEN.S +++ b/libc/sysv/consts/IEXTEN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios IEXTEN 0b1000000000000000 0b0000010000000000 0b0000010000000000 0b0000010000000000 0b0000010000000000 0b1000000000000000 +.syscon termios,IEXTEN,0b1000000000000000,0b0000010000000000,0b0000010000000000,0b0000010000000000,0b0000010000000000,0b1000000000000000 diff --git a/libc/sysv/consts/IFF_ALLMULTI.S b/libc/sysv/consts/IFF_ALLMULTI.S index a4c4cbac3b0..c9f5b9b6b63 100644 --- a/libc/sysv/consts/IFF_ALLMULTI.S +++ b/libc/sysv/consts/IFF_ALLMULTI.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iff IFF_ALLMULTI 0x0200 0x0200 0x0200 0x0200 0x0200 0 +.syscon iff,IFF_ALLMULTI,0x0200,0x0200,0x0200,0x0200,0x0200,0 diff --git a/libc/sysv/consts/IFF_AUTOMEDIA.S b/libc/sysv/consts/IFF_AUTOMEDIA.S index 2cd21a3db6e..8d54f46b9a2 100644 --- a/libc/sysv/consts/IFF_AUTOMEDIA.S +++ b/libc/sysv/consts/IFF_AUTOMEDIA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iff IFF_AUTOMEDIA 0x4000 0 0 0 0 0 +.syscon iff,IFF_AUTOMEDIA,0x4000,0,0,0,0,0 diff --git a/libc/sysv/consts/IFF_BROADCAST.S b/libc/sysv/consts/IFF_BROADCAST.S index 6106eb12fc1..4618794234c 100644 --- a/libc/sysv/consts/IFF_BROADCAST.S +++ b/libc/sysv/consts/IFF_BROADCAST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iff IFF_BROADCAST 2 2 2 2 2 2 +.syscon iff,IFF_BROADCAST,2,2,2,2,2,2 diff --git a/libc/sysv/consts/IFF_DEBUG.S b/libc/sysv/consts/IFF_DEBUG.S index 2d86ea5cd2f..687689aea81 100644 --- a/libc/sysv/consts/IFF_DEBUG.S +++ b/libc/sysv/consts/IFF_DEBUG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iff IFF_DEBUG 4 4 4 4 4 0 +.syscon iff,IFF_DEBUG,4,4,4,4,4,0 diff --git a/libc/sysv/consts/IFF_DYNAMIC.S b/libc/sysv/consts/IFF_DYNAMIC.S index 062a1c943d8..244e62ee108 100644 --- a/libc/sysv/consts/IFF_DYNAMIC.S +++ b/libc/sysv/consts/IFF_DYNAMIC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iff IFF_DYNAMIC 0x8000 0 0 0 0 0 +.syscon iff,IFF_DYNAMIC,0x8000,0,0,0,0,0 diff --git a/libc/sysv/consts/IFF_LOOPBACK.S b/libc/sysv/consts/IFF_LOOPBACK.S index cc8d851b5de..0c62170fb53 100644 --- a/libc/sysv/consts/IFF_LOOPBACK.S +++ b/libc/sysv/consts/IFF_LOOPBACK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iff IFF_LOOPBACK 8 8 8 8 8 4 +.syscon iff,IFF_LOOPBACK,8,8,8,8,8,4 diff --git a/libc/sysv/consts/IFF_MASTER.S b/libc/sysv/consts/IFF_MASTER.S index f7a504fd017..8c67fb921a4 100644 --- a/libc/sysv/consts/IFF_MASTER.S +++ b/libc/sysv/consts/IFF_MASTER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iff IFF_MASTER 0x0400 0 0 0 0 0 +.syscon iff,IFF_MASTER,0x0400,0,0,0,0,0 diff --git a/libc/sysv/consts/IFF_MULTICAST.S b/libc/sysv/consts/IFF_MULTICAST.S index aa13e3b8e41..75cecbeca36 100644 --- a/libc/sysv/consts/IFF_MULTICAST.S +++ b/libc/sysv/consts/IFF_MULTICAST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iff IFF_MULTICAST 0x1000 0x8000 0x8000 0x8000 0x8000 0x10 +.syscon iff,IFF_MULTICAST,0x1000,0x8000,0x8000,0x8000,0x8000,0x10 diff --git a/libc/sysv/consts/IFF_NOARP.S b/libc/sysv/consts/IFF_NOARP.S index d9b866b4d28..3a5ff841fe9 100644 --- a/libc/sysv/consts/IFF_NOARP.S +++ b/libc/sysv/consts/IFF_NOARP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iff IFF_NOARP 0x80 0x80 0x80 0x80 0x80 0 +.syscon iff,IFF_NOARP,0x80,0x80,0x80,0x80,0x80,0 diff --git a/libc/sysv/consts/IFF_NOTRAILERS.S b/libc/sysv/consts/IFF_NOTRAILERS.S index 7d24ca75dbb..65a6217f546 100644 --- a/libc/sysv/consts/IFF_NOTRAILERS.S +++ b/libc/sysv/consts/IFF_NOTRAILERS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iff IFF_NOTRAILERS 0x20 0x20 0 0 0 0 +.syscon iff,IFF_NOTRAILERS,0x20,0x20,0,0,0,0 diff --git a/libc/sysv/consts/IFF_POINTOPOINT.S b/libc/sysv/consts/IFF_POINTOPOINT.S index 417102976c0..6924ed6acf6 100644 --- a/libc/sysv/consts/IFF_POINTOPOINT.S +++ b/libc/sysv/consts/IFF_POINTOPOINT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iff IFF_POINTOPOINT 0x10 0x10 0x10 0x10 0x10 0 +.syscon iff,IFF_POINTOPOINT,0x10,0x10,0x10,0x10,0x10,0 diff --git a/libc/sysv/consts/IFF_PORTSEL.S b/libc/sysv/consts/IFF_PORTSEL.S index 1f6527402c0..be61a440fa1 100644 --- a/libc/sysv/consts/IFF_PORTSEL.S +++ b/libc/sysv/consts/IFF_PORTSEL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iff IFF_PORTSEL 0x2000 0 0 0 0 0 +.syscon iff,IFF_PORTSEL,0x2000,0,0,0,0,0 diff --git a/libc/sysv/consts/IFF_PROIFF.S b/libc/sysv/consts/IFF_PROIFF.S index 4bc261100ef..1aad79521fd 100644 --- a/libc/sysv/consts/IFF_PROIFF.S +++ b/libc/sysv/consts/IFF_PROIFF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iff IFF_PROIFF 0x0100 0x0100 0x0100 0x0100 0x0100 0 +.syscon iff,IFF_PROIFF,0x0100,0x0100,0x0100,0x0100,0x0100,0 diff --git a/libc/sysv/consts/IFF_RUNNING.S b/libc/sysv/consts/IFF_RUNNING.S index fd1586a00f2..c849bbc453d 100644 --- a/libc/sysv/consts/IFF_RUNNING.S +++ b/libc/sysv/consts/IFF_RUNNING.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iff IFF_RUNNING 0x40 0x40 0x40 0x40 0x40 0 +.syscon iff,IFF_RUNNING,0x40,0x40,0x40,0x40,0x40,0 diff --git a/libc/sysv/consts/IFF_SLAVE.S b/libc/sysv/consts/IFF_SLAVE.S index cb2127d5d80..71393665580 100644 --- a/libc/sysv/consts/IFF_SLAVE.S +++ b/libc/sysv/consts/IFF_SLAVE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iff IFF_SLAVE 0x0800 0 0 0 0 0 +.syscon iff,IFF_SLAVE,0x0800,0,0,0,0,0 diff --git a/libc/sysv/consts/IF_NAMESIZE.S b/libc/sysv/consts/IF_NAMESIZE.S index 17c21641958..0b976ac748f 100644 --- a/libc/sysv/consts/IF_NAMESIZE.S +++ b/libc/sysv/consts/IF_NAMESIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc IF_NAMESIZE 0x10 0x10 0x10 0x10 0x10 0 +.syscon misc,IF_NAMESIZE,0x10,0x10,0x10,0x10,0x10,0 diff --git a/libc/sysv/consts/IGMP_MEMBERSHIP_QUERY.S b/libc/sysv/consts/IGMP_MEMBERSHIP_QUERY.S index 92b37f2611a..b0199a9979c 100644 --- a/libc/sysv/consts/IGMP_MEMBERSHIP_QUERY.S +++ b/libc/sysv/consts/IGMP_MEMBERSHIP_QUERY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc IGMP_MEMBERSHIP_QUERY 17 0 0 0 0 0 +.syscon misc,IGMP_MEMBERSHIP_QUERY,17,0,0,0,0,0 diff --git a/libc/sysv/consts/IGNBRK.S b/libc/sysv/consts/IGNBRK.S index abb7466f24c..f5144016617 100644 --- a/libc/sysv/consts/IGNBRK.S +++ b/libc/sysv/consts/IGNBRK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios IGNBRK 0b0000000000000001 0b0000000000000001 0b0000000000000001 0b0000000000000001 0b0000000000000001 0b0000000000000001 +.syscon termios,IGNBRK,0b0000000000000001,0b0000000000000001,0b0000000000000001,0b0000000000000001,0b0000000000000001,0b0000000000000001 diff --git a/libc/sysv/consts/IGNCR.S b/libc/sysv/consts/IGNCR.S index ba76c985d3b..d56d1b0fc43 100644 --- a/libc/sysv/consts/IGNCR.S +++ b/libc/sysv/consts/IGNCR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios IGNCR 0b0000000010000000 0b0000000010000000 0b0000000010000000 0b0000000010000000 0b0000000010000000 0b0000000010000000 +.syscon termios,IGNCR,0b0000000010000000,0b0000000010000000,0b0000000010000000,0b0000000010000000,0b0000000010000000,0b0000000010000000 diff --git a/libc/sysv/consts/IGNPAR.S b/libc/sysv/consts/IGNPAR.S index 990c8f1e3ce..bc8f78f4a80 100644 --- a/libc/sysv/consts/IGNPAR.S +++ b/libc/sysv/consts/IGNPAR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios IGNPAR 0b0000000000000100 0b0000000000000100 0b0000000000000100 0b0000000000000100 0b0000000000000100 0b0000000000000100 +.syscon termios,IGNPAR,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000000100 diff --git a/libc/sysv/consts/ILLEGAL_REQUEST.S b/libc/sysv/consts/ILLEGAL_REQUEST.S index 12a45f9f8f3..8499d0492d4 100644 --- a/libc/sysv/consts/ILLEGAL_REQUEST.S +++ b/libc/sysv/consts/ILLEGAL_REQUEST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ILLEGAL_REQUEST 5 0 0 0 0 0 +.syscon misc,ILLEGAL_REQUEST,5,0,0,0,0,0 diff --git a/libc/sysv/consts/ILL_BADSTK.S b/libc/sysv/consts/ILL_BADSTK.S index d29b1776cf3..0dbf521d0d2 100644 --- a/libc/sysv/consts/ILL_BADSTK.S +++ b/libc/sysv/consts/ILL_BADSTK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ILL_BADSTK 8 8 8 8 8 0 +.syscon misc,ILL_BADSTK,8,8,8,8,8,0 diff --git a/libc/sysv/consts/ILL_COPROC.S b/libc/sysv/consts/ILL_COPROC.S index 2353bf1ba03..3c7d9a3a39b 100644 --- a/libc/sysv/consts/ILL_COPROC.S +++ b/libc/sysv/consts/ILL_COPROC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ILL_COPROC 7 7 7 7 7 0 +.syscon misc,ILL_COPROC,7,7,7,7,7,0 diff --git a/libc/sysv/consts/ILL_ILLADR.S b/libc/sysv/consts/ILL_ILLADR.S index 574fd5c90f3..f7bd4dd4003 100644 --- a/libc/sysv/consts/ILL_ILLADR.S +++ b/libc/sysv/consts/ILL_ILLADR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ILL_ILLADR 3 5 3 3 3 0 +.syscon misc,ILL_ILLADR,3,5,3,3,3,0 diff --git a/libc/sysv/consts/ILL_ILLOPC.S b/libc/sysv/consts/ILL_ILLOPC.S index 17a56fef175..f3cc6c998bd 100644 --- a/libc/sysv/consts/ILL_ILLOPC.S +++ b/libc/sysv/consts/ILL_ILLOPC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ILL_ILLOPC 1 1 1 1 1 0 +.syscon misc,ILL_ILLOPC,1,1,1,1,1,0 diff --git a/libc/sysv/consts/ILL_ILLOPN.S b/libc/sysv/consts/ILL_ILLOPN.S index cc58a7dd388..802e290feb8 100644 --- a/libc/sysv/consts/ILL_ILLOPN.S +++ b/libc/sysv/consts/ILL_ILLOPN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ILL_ILLOPN 2 4 2 2 2 0 +.syscon misc,ILL_ILLOPN,2,4,2,2,2,0 diff --git a/libc/sysv/consts/ILL_ILLTRP.S b/libc/sysv/consts/ILL_ILLTRP.S index 01213add870..8dde415d1b4 100644 --- a/libc/sysv/consts/ILL_ILLTRP.S +++ b/libc/sysv/consts/ILL_ILLTRP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ILL_ILLTRP 4 2 4 4 4 0 +.syscon misc,ILL_ILLTRP,4,2,4,4,4,0 diff --git a/libc/sysv/consts/ILL_PRVOPC.S b/libc/sysv/consts/ILL_PRVOPC.S index fc52cd298ff..a3ea0bcc21b 100644 --- a/libc/sysv/consts/ILL_PRVOPC.S +++ b/libc/sysv/consts/ILL_PRVOPC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ILL_PRVOPC 5 3 5 5 5 0 +.syscon misc,ILL_PRVOPC,5,3,5,5,5,0 diff --git a/libc/sysv/consts/ILL_PRVREG.S b/libc/sysv/consts/ILL_PRVREG.S index 1bc3f16219b..c80307d9cf3 100644 --- a/libc/sysv/consts/ILL_PRVREG.S +++ b/libc/sysv/consts/ILL_PRVREG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ILL_PRVREG 6 6 6 6 6 0 +.syscon misc,ILL_PRVREG,6,6,6,6,6,0 diff --git a/libc/sysv/consts/IMAXBEL.S b/libc/sysv/consts/IMAXBEL.S index 817e0d5e7d4..fd3c2ad6703 100644 --- a/libc/sysv/consts/IMAXBEL.S +++ b/libc/sysv/consts/IMAXBEL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios IMAXBEL 0b0010000000000000 0b0010000000000000 0b0010000000000000 0b0010000000000000 0b0010000000000000 0b0010000000000000 +.syscon termios,IMAXBEL,0b0010000000000000,0b0010000000000000,0b0010000000000000,0b0010000000000000,0b0010000000000000,0b0010000000000000 diff --git a/libc/sysv/consts/INADDR_ALLHOSTS_GROUP.S b/libc/sysv/consts/INADDR_ALLHOSTS_GROUP.S index f5e1a737b4a..44972e02d33 100644 --- a/libc/sysv/consts/INADDR_ALLHOSTS_GROUP.S +++ b/libc/sysv/consts/INADDR_ALLHOSTS_GROUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc INADDR_ALLHOSTS_GROUP 0xe0000001 0xe0000001 0xe0000001 0xe0000001 0xe0000001 0 +.syscon misc,INADDR_ALLHOSTS_GROUP,0xe0000001,0xe0000001,0xe0000001,0xe0000001,0xe0000001,0 diff --git a/libc/sysv/consts/INADDR_ALLRTRS_GROUP.S b/libc/sysv/consts/INADDR_ALLRTRS_GROUP.S index 3c94372add5..1685edf35d1 100644 --- a/libc/sysv/consts/INADDR_ALLRTRS_GROUP.S +++ b/libc/sysv/consts/INADDR_ALLRTRS_GROUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc INADDR_ALLRTRS_GROUP 0xe0000002 0xe0000002 0xe0000002 0 0 0 +.syscon misc,INADDR_ALLRTRS_GROUP,0xe0000002,0xe0000002,0xe0000002,0,0,0 diff --git a/libc/sysv/consts/INADDR_ANY.S b/libc/sysv/consts/INADDR_ANY.S index 3188b84095e..0c0731778b3 100644 --- a/libc/sysv/consts/INADDR_ANY.S +++ b/libc/sysv/consts/INADDR_ANY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc INADDR_ANY 0 0 0 0 0 0 +.syscon misc,INADDR_ANY,0,0,0,0,0,0 diff --git a/libc/sysv/consts/INADDR_BROADCAST.S b/libc/sysv/consts/INADDR_BROADCAST.S index c95d5ec2a2a..44147bdca7b 100644 --- a/libc/sysv/consts/INADDR_BROADCAST.S +++ b/libc/sysv/consts/INADDR_BROADCAST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc INADDR_BROADCAST 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff +.syscon misc,INADDR_BROADCAST,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff diff --git a/libc/sysv/consts/INADDR_LOOPBACK.S b/libc/sysv/consts/INADDR_LOOPBACK.S index 94f3fc7189d..035b6dcfbbb 100644 --- a/libc/sysv/consts/INADDR_LOOPBACK.S +++ b/libc/sysv/consts/INADDR_LOOPBACK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc INADDR_LOOPBACK 0x7f000001 0x7f000001 0x7f000001 0x7f000001 0x7f000001 0x7f000001 +.syscon misc,INADDR_LOOPBACK,0x7f000001,0x7f000001,0x7f000001,0x7f000001,0x7f000001,0x7f000001 diff --git a/libc/sysv/consts/INADDR_MAX_LOCAL_GROUP.S b/libc/sysv/consts/INADDR_MAX_LOCAL_GROUP.S index 252a248a7fe..dc6a9b1c6db 100644 --- a/libc/sysv/consts/INADDR_MAX_LOCAL_GROUP.S +++ b/libc/sysv/consts/INADDR_MAX_LOCAL_GROUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc INADDR_MAX_LOCAL_GROUP 0xe00000ff 0xe00000ff 0xe00000ff 0xe00000ff 0xe00000ff 0 +.syscon misc,INADDR_MAX_LOCAL_GROUP,0xe00000ff,0xe00000ff,0xe00000ff,0xe00000ff,0xe00000ff,0 diff --git a/libc/sysv/consts/INADDR_NONE.S b/libc/sysv/consts/INADDR_NONE.S index 9d55da380ef..7add7365497 100644 --- a/libc/sysv/consts/INADDR_NONE.S +++ b/libc/sysv/consts/INADDR_NONE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc INADDR_NONE 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff +.syscon misc,INADDR_NONE,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff diff --git a/libc/sysv/consts/INADDR_UNSPEC_GROUP.S b/libc/sysv/consts/INADDR_UNSPEC_GROUP.S index 119bf2bcc6e..b9533448bd1 100644 --- a/libc/sysv/consts/INADDR_UNSPEC_GROUP.S +++ b/libc/sysv/consts/INADDR_UNSPEC_GROUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc INADDR_UNSPEC_GROUP 0xe0000000 0xe0000000 0xe0000000 0xe0000000 0xe0000000 0 +.syscon misc,INADDR_UNSPEC_GROUP,0xe0000000,0xe0000000,0xe0000000,0xe0000000,0xe0000000,0 diff --git a/libc/sysv/consts/INET6_ADDRSTRLEN.S b/libc/sysv/consts/INET6_ADDRSTRLEN.S index 65ca0fad5a6..cd558b18d5c 100644 --- a/libc/sysv/consts/INET6_ADDRSTRLEN.S +++ b/libc/sysv/consts/INET6_ADDRSTRLEN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 INET6_ADDRSTRLEN 46 46 46 46 46 65 +.syscon ipv6,INET6_ADDRSTRLEN,46,46,46,46,46,65 diff --git a/libc/sysv/consts/INET_ADDRSTRLEN.S b/libc/sysv/consts/INET_ADDRSTRLEN.S index c1deb64cec8..9894f4c177b 100644 --- a/libc/sysv/consts/INET_ADDRSTRLEN.S +++ b/libc/sysv/consts/INET_ADDRSTRLEN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip INET_ADDRSTRLEN 0x10 0x10 0x10 0x10 0x10 22 +.syscon ip,INET_ADDRSTRLEN,0x10,0x10,0x10,0x10,0x10,22 diff --git a/libc/sysv/consts/INITIATE_RECOVERY.S b/libc/sysv/consts/INITIATE_RECOVERY.S index 9960101b2fa..986a59f7878 100644 --- a/libc/sysv/consts/INITIATE_RECOVERY.S +++ b/libc/sysv/consts/INITIATE_RECOVERY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc INITIATE_RECOVERY 15 0 0 0 0 0 +.syscon misc,INITIATE_RECOVERY,15,0,0,0,0,0 diff --git a/libc/sysv/consts/INITIATOR_ERROR.S b/libc/sysv/consts/INITIATOR_ERROR.S index f4539c20a30..44178129043 100644 --- a/libc/sysv/consts/INITIATOR_ERROR.S +++ b/libc/sysv/consts/INITIATOR_ERROR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc INITIATOR_ERROR 5 0 0 0 0 0 +.syscon misc,INITIATOR_ERROR,5,0,0,0,0,0 diff --git a/libc/sysv/consts/INIT_PROCESS.S b/libc/sysv/consts/INIT_PROCESS.S index 37fc4ac1170..85334fa5d8c 100644 --- a/libc/sysv/consts/INIT_PROCESS.S +++ b/libc/sysv/consts/INIT_PROCESS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc INIT_PROCESS 5 5 5 0 0 0 +.syscon misc,INIT_PROCESS,5,5,5,0,0,0 diff --git a/libc/sysv/consts/INLCR.S b/libc/sysv/consts/INLCR.S index 8b69212f4d1..3046e4c5c34 100644 --- a/libc/sysv/consts/INLCR.S +++ b/libc/sysv/consts/INLCR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios INLCR 0b0000000001000000 0b0000000001000000 0b0000000001000000 0b0000000001000000 0b0000000001000000 0b0000000001000000 +.syscon termios,INLCR,0b0000000001000000,0b0000000001000000,0b0000000001000000,0b0000000001000000,0b0000000001000000,0b0000000001000000 diff --git a/libc/sysv/consts/INPCK.S b/libc/sysv/consts/INPCK.S index cb53e5bc736..06a9e93b542 100644 --- a/libc/sysv/consts/INPCK.S +++ b/libc/sysv/consts/INPCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios INPCK 0b0000000000010000 0b0000000000010000 0b0000000000010000 0b0000000000010000 0b0000000000010000 0b0000000000010000 +.syscon termios,INPCK,0b0000000000010000,0b0000000000010000,0b0000000000010000,0b0000000000010000,0b0000000000010000,0b0000000000010000 diff --git a/libc/sysv/consts/INQUIRY.S b/libc/sysv/consts/INQUIRY.S index f881a1758f4..c8562025a86 100644 --- a/libc/sysv/consts/INQUIRY.S +++ b/libc/sysv/consts/INQUIRY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc INQUIRY 18 0 0 0 0 0 +.syscon misc,INQUIRY,18,0,0,0,0,0 diff --git a/libc/sysv/consts/INTERMEDIATE_C_GOOD.S b/libc/sysv/consts/INTERMEDIATE_C_GOOD.S index 1ca1b00a0f9..6901e192c69 100644 --- a/libc/sysv/consts/INTERMEDIATE_C_GOOD.S +++ b/libc/sysv/consts/INTERMEDIATE_C_GOOD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc INTERMEDIATE_C_GOOD 10 0 0 0 0 0 +.syscon misc,INTERMEDIATE_C_GOOD,10,0,0,0,0,0 diff --git a/libc/sysv/consts/INTERMEDIATE_GOOD.S b/libc/sysv/consts/INTERMEDIATE_GOOD.S index 1617afa2ab8..521222cfe16 100644 --- a/libc/sysv/consts/INTERMEDIATE_GOOD.S +++ b/libc/sysv/consts/INTERMEDIATE_GOOD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc INTERMEDIATE_GOOD 8 0 0 0 0 0 +.syscon misc,INTERMEDIATE_GOOD,8,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_ACCESS.S b/libc/sysv/consts/IN_ACCESS.S index c5748b52a13..a23dfe77eb1 100644 --- a/libc/sysv/consts/IN_ACCESS.S +++ b/libc/sysv/consts/IN_ACCESS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_ACCESS 1 0 0 0 0 0 +.syscon in,IN_ACCESS,1,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_ALL_EVENTS.S b/libc/sysv/consts/IN_ALL_EVENTS.S index c551b21ac0d..57a44f852d7 100644 --- a/libc/sysv/consts/IN_ALL_EVENTS.S +++ b/libc/sysv/consts/IN_ALL_EVENTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_ALL_EVENTS 0x0fff 0 0 0 0 0 +.syscon in,IN_ALL_EVENTS,0x0fff,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_ATTRIB.S b/libc/sysv/consts/IN_ATTRIB.S index 86ca9dffd53..bc5a3b6f0d8 100644 --- a/libc/sysv/consts/IN_ATTRIB.S +++ b/libc/sysv/consts/IN_ATTRIB.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_ATTRIB 4 0 0 0 0 0 +.syscon in,IN_ATTRIB,4,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_CLOEXEC.S b/libc/sysv/consts/IN_CLOEXEC.S index 3ceaf3d66de..f482a6c0199 100644 --- a/libc/sysv/consts/IN_CLOEXEC.S +++ b/libc/sysv/consts/IN_CLOEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_CLOEXEC 0x080000 0 0 0 0 0 +.syscon in,IN_CLOEXEC,0x080000,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_CLOSE.S b/libc/sysv/consts/IN_CLOSE.S index 6da2078044b..c209e9479d1 100644 --- a/libc/sysv/consts/IN_CLOSE.S +++ b/libc/sysv/consts/IN_CLOSE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_CLOSE 24 0 0 0 0 0 +.syscon in,IN_CLOSE,24,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_CLOSE_NOWRITE.S b/libc/sysv/consts/IN_CLOSE_NOWRITE.S index d770d8df10a..32e94922067 100644 --- a/libc/sysv/consts/IN_CLOSE_NOWRITE.S +++ b/libc/sysv/consts/IN_CLOSE_NOWRITE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_CLOSE_NOWRITE 0x10 0 0 0 0 0 +.syscon in,IN_CLOSE_NOWRITE,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_CLOSE_WRITE.S b/libc/sysv/consts/IN_CLOSE_WRITE.S index 262a292ef9d..09b3d0ad5d9 100644 --- a/libc/sysv/consts/IN_CLOSE_WRITE.S +++ b/libc/sysv/consts/IN_CLOSE_WRITE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_CLOSE_WRITE 8 0 0 0 0 0 +.syscon in,IN_CLOSE_WRITE,8,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_CREATE.S b/libc/sysv/consts/IN_CREATE.S index 6e280dc02c8..3e7a2af528c 100644 --- a/libc/sysv/consts/IN_CREATE.S +++ b/libc/sysv/consts/IN_CREATE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_CREATE 0x0100 0 0 0 0 0 +.syscon in,IN_CREATE,0x0100,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_DELETE.S b/libc/sysv/consts/IN_DELETE.S index a003723afc3..d9ed0eb9cea 100644 --- a/libc/sysv/consts/IN_DELETE.S +++ b/libc/sysv/consts/IN_DELETE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_DELETE 0x0200 0 0 0 0 0 +.syscon in,IN_DELETE,0x0200,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_DELETE_SELF.S b/libc/sysv/consts/IN_DELETE_SELF.S index c17983447b0..cd736d454ac 100644 --- a/libc/sysv/consts/IN_DELETE_SELF.S +++ b/libc/sysv/consts/IN_DELETE_SELF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_DELETE_SELF 0x0400 0 0 0 0 0 +.syscon in,IN_DELETE_SELF,0x0400,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_DONT_FOLLOW.S b/libc/sysv/consts/IN_DONT_FOLLOW.S index 098a09a1e9e..097df018259 100644 --- a/libc/sysv/consts/IN_DONT_FOLLOW.S +++ b/libc/sysv/consts/IN_DONT_FOLLOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_DONT_FOLLOW 0x02000000 0 0 0 0 0 +.syscon in,IN_DONT_FOLLOW,0x02000000,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_EXCL_UNLINK.S b/libc/sysv/consts/IN_EXCL_UNLINK.S index 34460900814..983c24e1f04 100644 --- a/libc/sysv/consts/IN_EXCL_UNLINK.S +++ b/libc/sysv/consts/IN_EXCL_UNLINK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_EXCL_UNLINK 0x04000000 0 0 0 0 0 +.syscon in,IN_EXCL_UNLINK,0x04000000,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_IGNORED.S b/libc/sysv/consts/IN_IGNORED.S index 5420dfa7ba3..1b7a4bcac00 100644 --- a/libc/sysv/consts/IN_IGNORED.S +++ b/libc/sysv/consts/IN_IGNORED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_IGNORED 0x8000 0 0 0 0 0 +.syscon in,IN_IGNORED,0x8000,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_ISDIR.S b/libc/sysv/consts/IN_ISDIR.S index 01a81a5dbc8..8c4a5280568 100644 --- a/libc/sysv/consts/IN_ISDIR.S +++ b/libc/sysv/consts/IN_ISDIR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_ISDIR 0x40000000 0 0 0 0 0 +.syscon in,IN_ISDIR,0x40000000,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_LOOPBACKNET.S b/libc/sysv/consts/IN_LOOPBACKNET.S index a4e8b5c7ce3..e0d6df8688e 100644 --- a/libc/sysv/consts/IN_LOOPBACKNET.S +++ b/libc/sysv/consts/IN_LOOPBACKNET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_LOOPBACKNET 127 127 127 127 127 0 +.syscon in,IN_LOOPBACKNET,127,127,127,127,127,0 diff --git a/libc/sysv/consts/IN_MASK_ADD.S b/libc/sysv/consts/IN_MASK_ADD.S index d64be27b0ed..1d56ed54151 100644 --- a/libc/sysv/consts/IN_MASK_ADD.S +++ b/libc/sysv/consts/IN_MASK_ADD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_MASK_ADD 0x20000000 0 0 0 0 0 +.syscon in,IN_MASK_ADD,0x20000000,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_MODIFY.S b/libc/sysv/consts/IN_MODIFY.S index 026579eb153..73368174e73 100644 --- a/libc/sysv/consts/IN_MODIFY.S +++ b/libc/sysv/consts/IN_MODIFY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_MODIFY 2 0 0 0 0 0 +.syscon in,IN_MODIFY,2,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_MOVE.S b/libc/sysv/consts/IN_MOVE.S index a5557afc20a..5c60a3dc06d 100644 --- a/libc/sysv/consts/IN_MOVE.S +++ b/libc/sysv/consts/IN_MOVE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_MOVE 192 0 0 0 0 0 +.syscon in,IN_MOVE,192,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_MOVED_FROM.S b/libc/sysv/consts/IN_MOVED_FROM.S index ee1719a577d..24617c9403a 100644 --- a/libc/sysv/consts/IN_MOVED_FROM.S +++ b/libc/sysv/consts/IN_MOVED_FROM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_MOVED_FROM 0x40 0 0 0 0 0 +.syscon in,IN_MOVED_FROM,0x40,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_MOVED_TO.S b/libc/sysv/consts/IN_MOVED_TO.S index 6cbb741021f..af253567ede 100644 --- a/libc/sysv/consts/IN_MOVED_TO.S +++ b/libc/sysv/consts/IN_MOVED_TO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_MOVED_TO 0x80 0 0 0 0 0 +.syscon in,IN_MOVED_TO,0x80,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_MOVE_SELF.S b/libc/sysv/consts/IN_MOVE_SELF.S index 4cd79be6213..5b22a412a2b 100644 --- a/libc/sysv/consts/IN_MOVE_SELF.S +++ b/libc/sysv/consts/IN_MOVE_SELF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_MOVE_SELF 0x0800 0 0 0 0 0 +.syscon in,IN_MOVE_SELF,0x0800,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_NONBLOCK.S b/libc/sysv/consts/IN_NONBLOCK.S index ac65d63beb9..0cb3e9418f9 100644 --- a/libc/sysv/consts/IN_NONBLOCK.S +++ b/libc/sysv/consts/IN_NONBLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_NONBLOCK 0x0800 0 0 0 0 0 +.syscon in,IN_NONBLOCK,0x0800,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_ONESHOT.S b/libc/sysv/consts/IN_ONESHOT.S index c8192f64211..561c7858ad4 100644 --- a/libc/sysv/consts/IN_ONESHOT.S +++ b/libc/sysv/consts/IN_ONESHOT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_ONESHOT 0x80000000 0 0 0 0 0 +.syscon in,IN_ONESHOT,0x80000000,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_ONLYDIR.S b/libc/sysv/consts/IN_ONLYDIR.S index b3b25f13073..e2185683780 100644 --- a/libc/sysv/consts/IN_ONLYDIR.S +++ b/libc/sysv/consts/IN_ONLYDIR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_ONLYDIR 0x01000000 0 0 0 0 0 +.syscon in,IN_ONLYDIR,0x01000000,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_OPEN.S b/libc/sysv/consts/IN_OPEN.S index 97387075cd0..be07d13fcb9 100644 --- a/libc/sysv/consts/IN_OPEN.S +++ b/libc/sysv/consts/IN_OPEN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_OPEN 0x20 0 0 0 0 0 +.syscon in,IN_OPEN,0x20,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_Q_OVERFLOW.S b/libc/sysv/consts/IN_Q_OVERFLOW.S index 2b308a28258..ed71b58b9c5 100644 --- a/libc/sysv/consts/IN_Q_OVERFLOW.S +++ b/libc/sysv/consts/IN_Q_OVERFLOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_Q_OVERFLOW 0x4000 0 0 0 0 0 +.syscon in,IN_Q_OVERFLOW,0x4000,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_UNMOUNT.S b/libc/sysv/consts/IN_UNMOUNT.S index 4508fe7507e..84777c8d2bb 100644 --- a/libc/sysv/consts/IN_UNMOUNT.S +++ b/libc/sysv/consts/IN_UNMOUNT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon in IN_UNMOUNT 0x2000 0 0 0 0 0 +.syscon in,IN_UNMOUNT,0x2000,0,0,0,0,0 diff --git a/libc/sysv/consts/IOV_MAX.S b/libc/sysv/consts/IOV_MAX.S index 9bd4c2c70a1..c2ab7fb9db5 100644 --- a/libc/sysv/consts/IOV_MAX.S +++ b/libc/sysv/consts/IOV_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc IOV_MAX 0x0400 0x0400 0x0400 0x0400 0x0400 16 +.syscon misc,IOV_MAX,0x0400,0x0400,0x0400,0x0400,0x0400,16 diff --git a/libc/sysv/consts/IP6F_MORE_FRAG.S b/libc/sysv/consts/IP6F_MORE_FRAG.S index e9d44456723..f20c3dd2dfc 100644 --- a/libc/sysv/consts/IP6F_MORE_FRAG.S +++ b/libc/sysv/consts/IP6F_MORE_FRAG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc IP6F_MORE_FRAG 0x0100 0x0100 0x0100 0x0100 0x0100 0x0100 +.syscon misc,IP6F_MORE_FRAG,0x0100,0x0100,0x0100,0x0100,0x0100,0x0100 diff --git a/libc/sysv/consts/IP6F_OFF_MASK.S b/libc/sysv/consts/IP6F_OFF_MASK.S index 3102317c605..9e52922dc74 100644 --- a/libc/sysv/consts/IP6F_OFF_MASK.S +++ b/libc/sysv/consts/IP6F_OFF_MASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc IP6F_OFF_MASK 0xf8ff 0xf8ff 0xf8ff 0xf8ff 0xf8ff 0xf8ff +.syscon misc,IP6F_OFF_MASK,0xf8ff,0xf8ff,0xf8ff,0xf8ff,0xf8ff,0xf8ff diff --git a/libc/sysv/consts/IP6F_RESERVED_MASK.S b/libc/sysv/consts/IP6F_RESERVED_MASK.S index b0cd49740a0..56ed9cfda55 100644 --- a/libc/sysv/consts/IP6F_RESERVED_MASK.S +++ b/libc/sysv/consts/IP6F_RESERVED_MASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc IP6F_RESERVED_MASK 0x0600 0x0600 0x0600 0x0600 0x0600 0x0600 +.syscon misc,IP6F_RESERVED_MASK,0x0600,0x0600,0x0600,0x0600,0x0600,0x0600 diff --git a/libc/sysv/consts/IPC_CREAT.S b/libc/sysv/consts/IPC_CREAT.S index 8aed99fb3d8..6c4fd5f7964 100644 --- a/libc/sysv/consts/IPC_CREAT.S +++ b/libc/sysv/consts/IPC_CREAT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc IPC_CREAT 0x0200 0x0200 0x0200 0x0200 0x0200 0 +.syscon misc,IPC_CREAT,0x0200,0x0200,0x0200,0x0200,0x0200,0 diff --git a/libc/sysv/consts/IPC_EXCL.S b/libc/sysv/consts/IPC_EXCL.S index a51c5c70e2e..4deb0e796e6 100644 --- a/libc/sysv/consts/IPC_EXCL.S +++ b/libc/sysv/consts/IPC_EXCL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc IPC_EXCL 0x0400 0x0400 0x0400 0x0400 0x0400 0 +.syscon misc,IPC_EXCL,0x0400,0x0400,0x0400,0x0400,0x0400,0 diff --git a/libc/sysv/consts/IPC_INFO.S b/libc/sysv/consts/IPC_INFO.S index ccd1c22b4f3..55310af4a3f 100644 --- a/libc/sysv/consts/IPC_INFO.S +++ b/libc/sysv/consts/IPC_INFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc IPC_INFO 3 0 3 0 0 0 +.syscon misc,IPC_INFO,3,0,3,0,0,0 diff --git a/libc/sysv/consts/IPC_NOWAIT.S b/libc/sysv/consts/IPC_NOWAIT.S index 4a512efa89d..c59b435485c 100644 --- a/libc/sysv/consts/IPC_NOWAIT.S +++ b/libc/sysv/consts/IPC_NOWAIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc IPC_NOWAIT 0x0800 0x0800 0x0800 0x0800 0x0800 0 +.syscon misc,IPC_NOWAIT,0x0800,0x0800,0x0800,0x0800,0x0800,0 diff --git a/libc/sysv/consts/IPC_PRIVATE.S b/libc/sysv/consts/IPC_PRIVATE.S index 502f240c89d..eafa2f42d08 100644 --- a/libc/sysv/consts/IPC_PRIVATE.S +++ b/libc/sysv/consts/IPC_PRIVATE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc IPC_PRIVATE 0 0 0 0 0 0 +.syscon misc,IPC_PRIVATE,0,0,0,0,0,0 diff --git a/libc/sysv/consts/IPC_RMID.S b/libc/sysv/consts/IPC_RMID.S index c8ffb291ea6..5f1ce1e55c4 100644 --- a/libc/sysv/consts/IPC_RMID.S +++ b/libc/sysv/consts/IPC_RMID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc IPC_RMID 0 0 0 0 0 0 +.syscon misc,IPC_RMID,0,0,0,0,0,0 diff --git a/libc/sysv/consts/IPC_SET.S b/libc/sysv/consts/IPC_SET.S index fe180f04725..954631c8e79 100644 --- a/libc/sysv/consts/IPC_SET.S +++ b/libc/sysv/consts/IPC_SET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc IPC_SET 1 1 1 1 1 0 +.syscon misc,IPC_SET,1,1,1,1,1,0 diff --git a/libc/sysv/consts/IPC_STAT.S b/libc/sysv/consts/IPC_STAT.S index d33313d7d26..5cd24e892b0 100644 --- a/libc/sysv/consts/IPC_STAT.S +++ b/libc/sysv/consts/IPC_STAT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc IPC_STAT 2 2 2 2 2 0 +.syscon misc,IPC_STAT,2,2,2,2,2,0 diff --git a/libc/sysv/consts/IPPORT_RESERVED.S b/libc/sysv/consts/IPPORT_RESERVED.S index ad178bcfec5..5378a313fec 100644 --- a/libc/sysv/consts/IPPORT_RESERVED.S +++ b/libc/sysv/consts/IPPORT_RESERVED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc IPPORT_RESERVED 0x0400 0x0400 0x0400 0x0400 0x0400 0x0400 +.syscon misc,IPPORT_RESERVED,0x0400,0x0400,0x0400,0x0400,0x0400,0x0400 diff --git a/libc/sysv/consts/IPPROTO_AH.S b/libc/sysv/consts/IPPROTO_AH.S index dea09f76d1f..cb621e2b46c 100644 --- a/libc/sysv/consts/IPPROTO_AH.S +++ b/libc/sysv/consts/IPPROTO_AH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_AH 51 51 51 51 51 0 +.syscon iproto,IPPROTO_AH,51,51,51,51,51,0 diff --git a/libc/sysv/consts/IPPROTO_BEETPH.S b/libc/sysv/consts/IPPROTO_BEETPH.S index 78729fd7ce8..ea79251c65b 100644 --- a/libc/sysv/consts/IPPROTO_BEETPH.S +++ b/libc/sysv/consts/IPPROTO_BEETPH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_BEETPH 94 0 0 0 0 0 +.syscon iproto,IPPROTO_BEETPH,94,0,0,0,0,0 diff --git a/libc/sysv/consts/IPPROTO_COMP.S b/libc/sysv/consts/IPPROTO_COMP.S index 0b55ec73cf6..8e0585ca9d7 100644 --- a/libc/sysv/consts/IPPROTO_COMP.S +++ b/libc/sysv/consts/IPPROTO_COMP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_COMP 108 0 0 0 0 0 +.syscon iproto,IPPROTO_COMP,108,0,0,0,0,0 diff --git a/libc/sysv/consts/IPPROTO_DCCP.S b/libc/sysv/consts/IPPROTO_DCCP.S index 8dd63b83b8d..6114cd6d8e9 100644 --- a/libc/sysv/consts/IPPROTO_DCCP.S +++ b/libc/sysv/consts/IPPROTO_DCCP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_DCCP 33 0 0 0 0 0 +.syscon iproto,IPPROTO_DCCP,33,0,0,0,0,0 diff --git a/libc/sysv/consts/IPPROTO_DSTOPTS.S b/libc/sysv/consts/IPPROTO_DSTOPTS.S index d94fd987219..38954f91053 100644 --- a/libc/sysv/consts/IPPROTO_DSTOPTS.S +++ b/libc/sysv/consts/IPPROTO_DSTOPTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_DSTOPTS 60 60 60 60 60 0 +.syscon iproto,IPPROTO_DSTOPTS,60,60,60,60,60,0 diff --git a/libc/sysv/consts/IPPROTO_EGP.S b/libc/sysv/consts/IPPROTO_EGP.S index 51308f92003..bcbd131d54b 100644 --- a/libc/sysv/consts/IPPROTO_EGP.S +++ b/libc/sysv/consts/IPPROTO_EGP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_EGP 8 8 8 8 8 0 +.syscon iproto,IPPROTO_EGP,8,8,8,8,8,0 diff --git a/libc/sysv/consts/IPPROTO_ENCAP.S b/libc/sysv/consts/IPPROTO_ENCAP.S index 6e3e308970e..f396f21f99b 100644 --- a/libc/sysv/consts/IPPROTO_ENCAP.S +++ b/libc/sysv/consts/IPPROTO_ENCAP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_ENCAP 98 98 98 98 98 0 +.syscon iproto,IPPROTO_ENCAP,98,98,98,98,98,0 diff --git a/libc/sysv/consts/IPPROTO_ESP.S b/libc/sysv/consts/IPPROTO_ESP.S index 3b086a14fb9..f07a97d451a 100644 --- a/libc/sysv/consts/IPPROTO_ESP.S +++ b/libc/sysv/consts/IPPROTO_ESP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_ESP 50 50 50 50 50 0 +.syscon iproto,IPPROTO_ESP,50,50,50,50,50,0 diff --git a/libc/sysv/consts/IPPROTO_FRAGMENT.S b/libc/sysv/consts/IPPROTO_FRAGMENT.S index defa5fa6cea..b4b774210bf 100644 --- a/libc/sysv/consts/IPPROTO_FRAGMENT.S +++ b/libc/sysv/consts/IPPROTO_FRAGMENT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_FRAGMENT 44 44 44 44 44 0 +.syscon iproto,IPPROTO_FRAGMENT,44,44,44,44,44,0 diff --git a/libc/sysv/consts/IPPROTO_GRE.S b/libc/sysv/consts/IPPROTO_GRE.S index af1e879b049..306065f2026 100644 --- a/libc/sysv/consts/IPPROTO_GRE.S +++ b/libc/sysv/consts/IPPROTO_GRE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_GRE 47 47 47 47 47 0 +.syscon iproto,IPPROTO_GRE,47,47,47,47,47,0 diff --git a/libc/sysv/consts/IPPROTO_HOPOPTS.S b/libc/sysv/consts/IPPROTO_HOPOPTS.S index 4976719f8eb..12be2d25c14 100644 --- a/libc/sysv/consts/IPPROTO_HOPOPTS.S +++ b/libc/sysv/consts/IPPROTO_HOPOPTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_HOPOPTS 0 0 0 0 0 0 +.syscon iproto,IPPROTO_HOPOPTS,0,0,0,0,0,0 diff --git a/libc/sysv/consts/IPPROTO_ICMP.S b/libc/sysv/consts/IPPROTO_ICMP.S index ca43232f8d2..ff5aa849424 100644 --- a/libc/sysv/consts/IPPROTO_ICMP.S +++ b/libc/sysv/consts/IPPROTO_ICMP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_ICMP 1 1 1 1 1 1 +.syscon iproto,IPPROTO_ICMP,1,1,1,1,1,1 diff --git a/libc/sysv/consts/IPPROTO_ICMPV6.S b/libc/sysv/consts/IPPROTO_ICMPV6.S index f83d6ea0ada..f4c70b09732 100644 --- a/libc/sysv/consts/IPPROTO_ICMPV6.S +++ b/libc/sysv/consts/IPPROTO_ICMPV6.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_ICMPV6 58 58 58 58 58 0 +.syscon iproto,IPPROTO_ICMPV6,58,58,58,58,58,0 diff --git a/libc/sysv/consts/IPPROTO_IDP.S b/libc/sysv/consts/IPPROTO_IDP.S index c1b0b412552..0d0c1a6b321 100644 --- a/libc/sysv/consts/IPPROTO_IDP.S +++ b/libc/sysv/consts/IPPROTO_IDP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_IDP 22 22 22 22 22 22 +.syscon iproto,IPPROTO_IDP,22,22,22,22,22,22 diff --git a/libc/sysv/consts/IPPROTO_IGMP.S b/libc/sysv/consts/IPPROTO_IGMP.S index 68c177f27e0..808784a426c 100644 --- a/libc/sysv/consts/IPPROTO_IGMP.S +++ b/libc/sysv/consts/IPPROTO_IGMP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_IGMP 2 2 2 2 2 2 +.syscon iproto,IPPROTO_IGMP,2,2,2,2,2,2 diff --git a/libc/sysv/consts/IPPROTO_IP.S b/libc/sysv/consts/IPPROTO_IP.S index 45134ac215f..7046da19140 100644 --- a/libc/sysv/consts/IPPROTO_IP.S +++ b/libc/sysv/consts/IPPROTO_IP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_IP 0 0 0 0 0 0 +.syscon iproto,IPPROTO_IP,0,0,0,0,0,0 diff --git a/libc/sysv/consts/IPPROTO_IPIP.S b/libc/sysv/consts/IPPROTO_IPIP.S index aa082618b6d..3d775f2ff20 100644 --- a/libc/sysv/consts/IPPROTO_IPIP.S +++ b/libc/sysv/consts/IPPROTO_IPIP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_IPIP 4 4 4 4 4 0 +.syscon iproto,IPPROTO_IPIP,4,4,4,4,4,0 diff --git a/libc/sysv/consts/IPPROTO_IPV6.S b/libc/sysv/consts/IPPROTO_IPV6.S index 11fceb30694..dbd474a6a33 100644 --- a/libc/sysv/consts/IPPROTO_IPV6.S +++ b/libc/sysv/consts/IPPROTO_IPV6.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_IPV6 41 41 41 41 41 0 +.syscon iproto,IPPROTO_IPV6,41,41,41,41,41,0 diff --git a/libc/sysv/consts/IPPROTO_MH.S b/libc/sysv/consts/IPPROTO_MH.S index 8b515006c93..df6acb5eb33 100644 --- a/libc/sysv/consts/IPPROTO_MH.S +++ b/libc/sysv/consts/IPPROTO_MH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_MH 135 0 135 0 0 0 +.syscon iproto,IPPROTO_MH,135,0,135,0,0,0 diff --git a/libc/sysv/consts/IPPROTO_MPLS.S b/libc/sysv/consts/IPPROTO_MPLS.S index 3eccd45cb2e..1c4ba7b6abb 100644 --- a/libc/sysv/consts/IPPROTO_MPLS.S +++ b/libc/sysv/consts/IPPROTO_MPLS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_MPLS 137 0 137 137 137 0 +.syscon iproto,IPPROTO_MPLS,137,0,137,137,137,0 diff --git a/libc/sysv/consts/IPPROTO_MTP.S b/libc/sysv/consts/IPPROTO_MTP.S index 6ae85a9071d..46abfea5cf6 100644 --- a/libc/sysv/consts/IPPROTO_MTP.S +++ b/libc/sysv/consts/IPPROTO_MTP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_MTP 92 92 92 0 0 0 +.syscon iproto,IPPROTO_MTP,92,92,92,0,0,0 diff --git a/libc/sysv/consts/IPPROTO_NONE.S b/libc/sysv/consts/IPPROTO_NONE.S index 15c7cec5de7..362f00e00de 100644 --- a/libc/sysv/consts/IPPROTO_NONE.S +++ b/libc/sysv/consts/IPPROTO_NONE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_NONE 59 59 59 59 59 0 +.syscon iproto,IPPROTO_NONE,59,59,59,59,59,0 diff --git a/libc/sysv/consts/IPPROTO_PIM.S b/libc/sysv/consts/IPPROTO_PIM.S index 98036a36e14..dea38b6a361 100644 --- a/libc/sysv/consts/IPPROTO_PIM.S +++ b/libc/sysv/consts/IPPROTO_PIM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_PIM 103 103 103 103 103 0 +.syscon iproto,IPPROTO_PIM,103,103,103,103,103,0 diff --git a/libc/sysv/consts/IPPROTO_PUP.S b/libc/sysv/consts/IPPROTO_PUP.S index cf27b7a5304..b7b03f38aec 100644 --- a/libc/sysv/consts/IPPROTO_PUP.S +++ b/libc/sysv/consts/IPPROTO_PUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_PUP 12 12 12 12 12 12 +.syscon iproto,IPPROTO_PUP,12,12,12,12,12,12 diff --git a/libc/sysv/consts/IPPROTO_RAW.S b/libc/sysv/consts/IPPROTO_RAW.S index f2ab3820d6b..91069e99384 100644 --- a/libc/sysv/consts/IPPROTO_RAW.S +++ b/libc/sysv/consts/IPPROTO_RAW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_RAW 255 255 255 255 255 255 +.syscon iproto,IPPROTO_RAW,255,255,255,255,255,255 diff --git a/libc/sysv/consts/IPPROTO_ROUTING.S b/libc/sysv/consts/IPPROTO_ROUTING.S index 3c8745ee685..65048c87d22 100644 --- a/libc/sysv/consts/IPPROTO_ROUTING.S +++ b/libc/sysv/consts/IPPROTO_ROUTING.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_ROUTING 43 43 43 43 43 0 +.syscon iproto,IPPROTO_ROUTING,43,43,43,43,43,0 diff --git a/libc/sysv/consts/IPPROTO_RSVP.S b/libc/sysv/consts/IPPROTO_RSVP.S index 160aa80303b..6bf21dc2f97 100644 --- a/libc/sysv/consts/IPPROTO_RSVP.S +++ b/libc/sysv/consts/IPPROTO_RSVP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_RSVP 46 46 46 46 46 0 +.syscon iproto,IPPROTO_RSVP,46,46,46,46,46,0 diff --git a/libc/sysv/consts/IPPROTO_SCTP.S b/libc/sysv/consts/IPPROTO_SCTP.S index 5f89eee17b5..f61351694fb 100644 --- a/libc/sysv/consts/IPPROTO_SCTP.S +++ b/libc/sysv/consts/IPPROTO_SCTP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_SCTP 132 132 132 0 0 0 +.syscon iproto,IPPROTO_SCTP,132,132,132,0,0,0 diff --git a/libc/sysv/consts/IPPROTO_TCP.S b/libc/sysv/consts/IPPROTO_TCP.S index d207ff9746f..948b273b680 100644 --- a/libc/sysv/consts/IPPROTO_TCP.S +++ b/libc/sysv/consts/IPPROTO_TCP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_TCP 6 6 6 6 6 6 +.syscon iproto,IPPROTO_TCP,6,6,6,6,6,6 diff --git a/libc/sysv/consts/IPPROTO_TP.S b/libc/sysv/consts/IPPROTO_TP.S index be47539adc8..419aedc52ee 100644 --- a/libc/sysv/consts/IPPROTO_TP.S +++ b/libc/sysv/consts/IPPROTO_TP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_TP 29 29 29 29 29 0 +.syscon iproto,IPPROTO_TP,29,29,29,29,29,0 diff --git a/libc/sysv/consts/IPPROTO_UDP.S b/libc/sysv/consts/IPPROTO_UDP.S index eff07fa958c..c6753ad6880 100644 --- a/libc/sysv/consts/IPPROTO_UDP.S +++ b/libc/sysv/consts/IPPROTO_UDP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_UDP 17 17 17 17 17 17 +.syscon iproto,IPPROTO_UDP,17,17,17,17,17,17 diff --git a/libc/sysv/consts/IPPROTO_UDPLITE.S b/libc/sysv/consts/IPPROTO_UDPLITE.S index 7a1311c7945..a8fb5a0197a 100644 --- a/libc/sysv/consts/IPPROTO_UDPLITE.S +++ b/libc/sysv/consts/IPPROTO_UDPLITE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon iproto IPPROTO_UDPLITE 136 0 136 0 0 0 +.syscon iproto,IPPROTO_UDPLITE,136,0,136,0,0,0 diff --git a/libc/sysv/consts/IPV6_2292DSTOPTS.S b/libc/sysv/consts/IPV6_2292DSTOPTS.S index c01b123e247..ca2ed00b546 100644 --- a/libc/sysv/consts/IPV6_2292DSTOPTS.S +++ b/libc/sysv/consts/IPV6_2292DSTOPTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_2292DSTOPTS 4 23 0 0 0 0 +.syscon ipv6,IPV6_2292DSTOPTS,4,23,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_2292HOPLIMIT.S b/libc/sysv/consts/IPV6_2292HOPLIMIT.S index fe4daf233ea..63cfa1b38a3 100644 --- a/libc/sysv/consts/IPV6_2292HOPLIMIT.S +++ b/libc/sysv/consts/IPV6_2292HOPLIMIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_2292HOPLIMIT 8 20 0 0 0 0 +.syscon ipv6,IPV6_2292HOPLIMIT,8,20,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_2292HOPOPTS.S b/libc/sysv/consts/IPV6_2292HOPOPTS.S index 60465834595..69ce3c3f806 100644 --- a/libc/sysv/consts/IPV6_2292HOPOPTS.S +++ b/libc/sysv/consts/IPV6_2292HOPOPTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_2292HOPOPTS 3 22 0 0 0 0 +.syscon ipv6,IPV6_2292HOPOPTS,3,22,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_2292PKTINFO.S b/libc/sysv/consts/IPV6_2292PKTINFO.S index 46cb0449dc7..d6c837946e2 100644 --- a/libc/sysv/consts/IPV6_2292PKTINFO.S +++ b/libc/sysv/consts/IPV6_2292PKTINFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_2292PKTINFO 2 19 0 0 0 0 +.syscon ipv6,IPV6_2292PKTINFO,2,19,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_2292PKTOPTIONS.S b/libc/sysv/consts/IPV6_2292PKTOPTIONS.S index 7a85c570200..dec7e5c473a 100644 --- a/libc/sysv/consts/IPV6_2292PKTOPTIONS.S +++ b/libc/sysv/consts/IPV6_2292PKTOPTIONS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_2292PKTOPTIONS 6 25 0 0 0 0 +.syscon ipv6,IPV6_2292PKTOPTIONS,6,25,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_2292RTHDR.S b/libc/sysv/consts/IPV6_2292RTHDR.S index 700afcb79fd..4fdc632cb33 100644 --- a/libc/sysv/consts/IPV6_2292RTHDR.S +++ b/libc/sysv/consts/IPV6_2292RTHDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_2292RTHDR 5 24 0 0 0 0 +.syscon ipv6,IPV6_2292RTHDR,5,24,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_ADDRFORM.S b/libc/sysv/consts/IPV6_ADDRFORM.S index 59a4ff25fa1..e90dbd61da7 100644 --- a/libc/sysv/consts/IPV6_ADDRFORM.S +++ b/libc/sysv/consts/IPV6_ADDRFORM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_ADDRFORM 1 0 0 0 0 0 +.syscon ipv6,IPV6_ADDRFORM,1,0,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_ADD_MEMBERSHIP.S b/libc/sysv/consts/IPV6_ADD_MEMBERSHIP.S index 97a9f66fb42..620c9f3ad91 100644 --- a/libc/sysv/consts/IPV6_ADD_MEMBERSHIP.S +++ b/libc/sysv/consts/IPV6_ADD_MEMBERSHIP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_ADD_MEMBERSHIP 20 0 0 0 0 12 +.syscon ipv6,IPV6_ADD_MEMBERSHIP,20,0,0,0,0,12 diff --git a/libc/sysv/consts/IPV6_AUTHHDR.S b/libc/sysv/consts/IPV6_AUTHHDR.S index 204147f8c37..140ae54f691 100644 --- a/libc/sysv/consts/IPV6_AUTHHDR.S +++ b/libc/sysv/consts/IPV6_AUTHHDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_AUTHHDR 10 0 0 0 0 0 +.syscon ipv6,IPV6_AUTHHDR,10,0,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_AUTOFLOWLABEL.S b/libc/sysv/consts/IPV6_AUTOFLOWLABEL.S index bb1a9b0a221..4cf10b38adc 100644 --- a/libc/sysv/consts/IPV6_AUTOFLOWLABEL.S +++ b/libc/sysv/consts/IPV6_AUTOFLOWLABEL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_AUTOFLOWLABEL 0 0 59 59 59 0 +.syscon ipv6,IPV6_AUTOFLOWLABEL,0,0,59,59,59,0 diff --git a/libc/sysv/consts/IPV6_CHECKSUM.S b/libc/sysv/consts/IPV6_CHECKSUM.S index 730e25a69d2..d450e5daa74 100644 --- a/libc/sysv/consts/IPV6_CHECKSUM.S +++ b/libc/sysv/consts/IPV6_CHECKSUM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_CHECKSUM 7 26 26 26 26 26 +.syscon ipv6,IPV6_CHECKSUM,7,26,26,26,26,26 diff --git a/libc/sysv/consts/IPV6_DONTFRAG.S b/libc/sysv/consts/IPV6_DONTFRAG.S index 28e6dc0d069..4466d2b2a2d 100644 --- a/libc/sysv/consts/IPV6_DONTFRAG.S +++ b/libc/sysv/consts/IPV6_DONTFRAG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_DONTFRAG 62 0 62 62 62 14 +.syscon ipv6,IPV6_DONTFRAG,62,0,62,62,62,14 diff --git a/libc/sysv/consts/IPV6_DROP_MEMBERSHIP.S b/libc/sysv/consts/IPV6_DROP_MEMBERSHIP.S index 285a24621a6..f2213e1da3a 100644 --- a/libc/sysv/consts/IPV6_DROP_MEMBERSHIP.S +++ b/libc/sysv/consts/IPV6_DROP_MEMBERSHIP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_DROP_MEMBERSHIP 21 0 0 0 0 13 +.syscon ipv6,IPV6_DROP_MEMBERSHIP,21,0,0,0,0,13 diff --git a/libc/sysv/consts/IPV6_DSTOPTS.S b/libc/sysv/consts/IPV6_DSTOPTS.S index ee5f49549ac..5735280dfba 100644 --- a/libc/sysv/consts/IPV6_DSTOPTS.S +++ b/libc/sysv/consts/IPV6_DSTOPTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_DSTOPTS 59 0 50 50 50 0 +.syscon ipv6,IPV6_DSTOPTS,59,0,50,50,50,0 diff --git a/libc/sysv/consts/IPV6_HDRINCL.S b/libc/sysv/consts/IPV6_HDRINCL.S index 4ab324241cb..d552b9a3f37 100644 --- a/libc/sysv/consts/IPV6_HDRINCL.S +++ b/libc/sysv/consts/IPV6_HDRINCL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_HDRINCL 36 0 0 0 0 2 +.syscon ipv6,IPV6_HDRINCL,36,0,0,0,0,2 diff --git a/libc/sysv/consts/IPV6_HOPLIMIT.S b/libc/sysv/consts/IPV6_HOPLIMIT.S index 7760a683286..a5f60f5e0e2 100644 --- a/libc/sysv/consts/IPV6_HOPLIMIT.S +++ b/libc/sysv/consts/IPV6_HOPLIMIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_HOPLIMIT 52 0 47 47 47 21 +.syscon ipv6,IPV6_HOPLIMIT,52,0,47,47,47,21 diff --git a/libc/sysv/consts/IPV6_HOPOPTS.S b/libc/sysv/consts/IPV6_HOPOPTS.S index 0b68e764563..09d6198d358 100644 --- a/libc/sysv/consts/IPV6_HOPOPTS.S +++ b/libc/sysv/consts/IPV6_HOPOPTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_HOPOPTS 54 0 49 49 49 1 +.syscon ipv6,IPV6_HOPOPTS,54,0,49,49,49,1 diff --git a/libc/sysv/consts/IPV6_IPSEC_POLICY.S b/libc/sysv/consts/IPV6_IPSEC_POLICY.S index efb06888da6..861f6113305 100644 --- a/libc/sysv/consts/IPV6_IPSEC_POLICY.S +++ b/libc/sysv/consts/IPV6_IPSEC_POLICY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_IPSEC_POLICY 34 28 28 0 0 0 +.syscon ipv6,IPV6_IPSEC_POLICY,34,28,28,0,0,0 diff --git a/libc/sysv/consts/IPV6_JOIN_ANYCAST.S b/libc/sysv/consts/IPV6_JOIN_ANYCAST.S index a33759694e0..0a9a20655e7 100644 --- a/libc/sysv/consts/IPV6_JOIN_ANYCAST.S +++ b/libc/sysv/consts/IPV6_JOIN_ANYCAST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_JOIN_ANYCAST 27 0 0 0 0 0 +.syscon ipv6,IPV6_JOIN_ANYCAST,27,0,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_JOIN_GROUP.S b/libc/sysv/consts/IPV6_JOIN_GROUP.S index 9484f51923f..bd074403ed9 100644 --- a/libc/sysv/consts/IPV6_JOIN_GROUP.S +++ b/libc/sysv/consts/IPV6_JOIN_GROUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_JOIN_GROUP 20 12 12 12 12 12 +.syscon ipv6,IPV6_JOIN_GROUP,20,12,12,12,12,12 diff --git a/libc/sysv/consts/IPV6_LEAVE_ANYCAST.S b/libc/sysv/consts/IPV6_LEAVE_ANYCAST.S index 9a76cca6ded..ce2519c09dd 100644 --- a/libc/sysv/consts/IPV6_LEAVE_ANYCAST.S +++ b/libc/sysv/consts/IPV6_LEAVE_ANYCAST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_LEAVE_ANYCAST 28 0 0 0 0 0 +.syscon ipv6,IPV6_LEAVE_ANYCAST,28,0,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_LEAVE_GROUP.S b/libc/sysv/consts/IPV6_LEAVE_GROUP.S index 7261996e855..938600ec3e5 100644 --- a/libc/sysv/consts/IPV6_LEAVE_GROUP.S +++ b/libc/sysv/consts/IPV6_LEAVE_GROUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_LEAVE_GROUP 21 13 13 13 13 13 +.syscon ipv6,IPV6_LEAVE_GROUP,21,13,13,13,13,13 diff --git a/libc/sysv/consts/IPV6_MINHOPCOUNT.S b/libc/sysv/consts/IPV6_MINHOPCOUNT.S index dd0a2c6ecfb..18c4eef29b8 100644 --- a/libc/sysv/consts/IPV6_MINHOPCOUNT.S +++ b/libc/sysv/consts/IPV6_MINHOPCOUNT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_MINHOPCOUNT 0 0 0 65 65 0 +.syscon ipv6,IPV6_MINHOPCOUNT,0,0,0,65,65,0 diff --git a/libc/sysv/consts/IPV6_MTU.S b/libc/sysv/consts/IPV6_MTU.S index 644011b0f66..6e0657cbcd6 100644 --- a/libc/sysv/consts/IPV6_MTU.S +++ b/libc/sysv/consts/IPV6_MTU.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_MTU 24 0 0 0 0 72 +.syscon ipv6,IPV6_MTU,24,0,0,0,0,72 diff --git a/libc/sysv/consts/IPV6_MTU_DISCOVER.S b/libc/sysv/consts/IPV6_MTU_DISCOVER.S index 25cddda4a41..bbee4cc70a9 100644 --- a/libc/sysv/consts/IPV6_MTU_DISCOVER.S +++ b/libc/sysv/consts/IPV6_MTU_DISCOVER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_MTU_DISCOVER 23 0 0 0 0 71 +.syscon ipv6,IPV6_MTU_DISCOVER,23,0,0,0,0,71 diff --git a/libc/sysv/consts/IPV6_MULTICAST_HOPS.S b/libc/sysv/consts/IPV6_MULTICAST_HOPS.S index 0f4b0e3fdef..ab5aa2b7005 100644 --- a/libc/sysv/consts/IPV6_MULTICAST_HOPS.S +++ b/libc/sysv/consts/IPV6_MULTICAST_HOPS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_MULTICAST_HOPS 18 10 10 10 10 10 +.syscon ipv6,IPV6_MULTICAST_HOPS,18,10,10,10,10,10 diff --git a/libc/sysv/consts/IPV6_MULTICAST_IF.S b/libc/sysv/consts/IPV6_MULTICAST_IF.S index 6c8493c3a65..f953a81fef0 100644 --- a/libc/sysv/consts/IPV6_MULTICAST_IF.S +++ b/libc/sysv/consts/IPV6_MULTICAST_IF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_MULTICAST_IF 17 9 9 9 9 9 +.syscon ipv6,IPV6_MULTICAST_IF,17,9,9,9,9,9 diff --git a/libc/sysv/consts/IPV6_MULTICAST_LOOP.S b/libc/sysv/consts/IPV6_MULTICAST_LOOP.S index 97663227430..5d40edda692 100644 --- a/libc/sysv/consts/IPV6_MULTICAST_LOOP.S +++ b/libc/sysv/consts/IPV6_MULTICAST_LOOP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_MULTICAST_LOOP 19 11 11 11 11 11 +.syscon ipv6,IPV6_MULTICAST_LOOP,19,11,11,11,11,11 diff --git a/libc/sysv/consts/IPV6_NEXTHOP.S b/libc/sysv/consts/IPV6_NEXTHOP.S index 3a6621b0b83..ae542747158 100644 --- a/libc/sysv/consts/IPV6_NEXTHOP.S +++ b/libc/sysv/consts/IPV6_NEXTHOP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_NEXTHOP 9 0 48 48 48 0 +.syscon ipv6,IPV6_NEXTHOP,9,0,48,48,48,0 diff --git a/libc/sysv/consts/IPV6_ORIGDSTADDR.S b/libc/sysv/consts/IPV6_ORIGDSTADDR.S index 5a872604ef3..189f3a01325 100644 --- a/libc/sysv/consts/IPV6_ORIGDSTADDR.S +++ b/libc/sysv/consts/IPV6_ORIGDSTADDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_ORIGDSTADDR 0 0 72 0 0 0 +.syscon ipv6,IPV6_ORIGDSTADDR,0,0,72,0,0,0 diff --git a/libc/sysv/consts/IPV6_PATHMTU.S b/libc/sysv/consts/IPV6_PATHMTU.S index 0a7063acb52..79c04a55dd2 100644 --- a/libc/sysv/consts/IPV6_PATHMTU.S +++ b/libc/sysv/consts/IPV6_PATHMTU.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_PATHMTU 61 0 44 44 44 0 +.syscon ipv6,IPV6_PATHMTU,61,0,44,44,44,0 diff --git a/libc/sysv/consts/IPV6_PKTINFO.S b/libc/sysv/consts/IPV6_PKTINFO.S index 0e43f9ad9e1..f0b6c735aef 100644 --- a/libc/sysv/consts/IPV6_PKTINFO.S +++ b/libc/sysv/consts/IPV6_PKTINFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_PKTINFO 50 0 46 46 46 19 +.syscon ipv6,IPV6_PKTINFO,50,0,46,46,46,19 diff --git a/libc/sysv/consts/IPV6_PMTUDISC_DO.S b/libc/sysv/consts/IPV6_PMTUDISC_DO.S index 459c2e883cf..fe0102e842f 100644 --- a/libc/sysv/consts/IPV6_PMTUDISC_DO.S +++ b/libc/sysv/consts/IPV6_PMTUDISC_DO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_PMTUDISC_DO 2 0 0 0 0 0 +.syscon ipv6,IPV6_PMTUDISC_DO,2,0,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_PMTUDISC_DONT.S b/libc/sysv/consts/IPV6_PMTUDISC_DONT.S index ff4dd87acdd..da0b5bcecb7 100644 --- a/libc/sysv/consts/IPV6_PMTUDISC_DONT.S +++ b/libc/sysv/consts/IPV6_PMTUDISC_DONT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_PMTUDISC_DONT 0 0 0 0 0 0 +.syscon ipv6,IPV6_PMTUDISC_DONT,0,0,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_PMTUDISC_INTERFACE.S b/libc/sysv/consts/IPV6_PMTUDISC_INTERFACE.S index 2afc202384d..5f79d7e6ee3 100644 --- a/libc/sysv/consts/IPV6_PMTUDISC_INTERFACE.S +++ b/libc/sysv/consts/IPV6_PMTUDISC_INTERFACE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_PMTUDISC_INTERFACE 4 0 0 0 0 0 +.syscon ipv6,IPV6_PMTUDISC_INTERFACE,4,0,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_PMTUDISC_OMIT.S b/libc/sysv/consts/IPV6_PMTUDISC_OMIT.S index 33e56a3227b..bb8c9f76ba0 100644 --- a/libc/sysv/consts/IPV6_PMTUDISC_OMIT.S +++ b/libc/sysv/consts/IPV6_PMTUDISC_OMIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_PMTUDISC_OMIT 5 0 0 0 0 0 +.syscon ipv6,IPV6_PMTUDISC_OMIT,5,0,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_PMTUDISC_PROBE.S b/libc/sysv/consts/IPV6_PMTUDISC_PROBE.S index 4fb804dcba3..a6d31e4a299 100644 --- a/libc/sysv/consts/IPV6_PMTUDISC_PROBE.S +++ b/libc/sysv/consts/IPV6_PMTUDISC_PROBE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_PMTUDISC_PROBE 3 0 0 0 0 0 +.syscon ipv6,IPV6_PMTUDISC_PROBE,3,0,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_PMTUDISC_WANT.S b/libc/sysv/consts/IPV6_PMTUDISC_WANT.S index c5c3d826914..9a98dac360a 100644 --- a/libc/sysv/consts/IPV6_PMTUDISC_WANT.S +++ b/libc/sysv/consts/IPV6_PMTUDISC_WANT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_PMTUDISC_WANT 1 0 0 0 0 0 +.syscon ipv6,IPV6_PMTUDISC_WANT,1,0,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_RECVDSTOPTS.S b/libc/sysv/consts/IPV6_RECVDSTOPTS.S index 73b850420be..de81530c744 100644 --- a/libc/sysv/consts/IPV6_RECVDSTOPTS.S +++ b/libc/sysv/consts/IPV6_RECVDSTOPTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_RECVDSTOPTS 58 0 40 40 40 0 +.syscon ipv6,IPV6_RECVDSTOPTS,58,0,40,40,40,0 diff --git a/libc/sysv/consts/IPV6_RECVERR.S b/libc/sysv/consts/IPV6_RECVERR.S index 2a3e3058a93..849759979dd 100644 --- a/libc/sysv/consts/IPV6_RECVERR.S +++ b/libc/sysv/consts/IPV6_RECVERR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_RECVERR 25 0 0 0 0 75 +.syscon ipv6,IPV6_RECVERR,25,0,0,0,0,75 diff --git a/libc/sysv/consts/IPV6_RECVHOPLIMIT.S b/libc/sysv/consts/IPV6_RECVHOPLIMIT.S index 6affa0456de..d83f110d102 100644 --- a/libc/sysv/consts/IPV6_RECVHOPLIMIT.S +++ b/libc/sysv/consts/IPV6_RECVHOPLIMIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_RECVHOPLIMIT 51 0 37 37 37 0 +.syscon ipv6,IPV6_RECVHOPLIMIT,51,0,37,37,37,0 diff --git a/libc/sysv/consts/IPV6_RECVHOPOPTS.S b/libc/sysv/consts/IPV6_RECVHOPOPTS.S index ff3b6defeac..4596579c14b 100644 --- a/libc/sysv/consts/IPV6_RECVHOPOPTS.S +++ b/libc/sysv/consts/IPV6_RECVHOPOPTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_RECVHOPOPTS 53 0 39 39 39 0 +.syscon ipv6,IPV6_RECVHOPOPTS,53,0,39,39,39,0 diff --git a/libc/sysv/consts/IPV6_RECVORIGDSTADDR.S b/libc/sysv/consts/IPV6_RECVORIGDSTADDR.S index 0d3de12d8ce..a3404ddc297 100644 --- a/libc/sysv/consts/IPV6_RECVORIGDSTADDR.S +++ b/libc/sysv/consts/IPV6_RECVORIGDSTADDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_RECVORIGDSTADDR 0 0 72 0 0 0 +.syscon ipv6,IPV6_RECVORIGDSTADDR,0,0,72,0,0,0 diff --git a/libc/sysv/consts/IPV6_RECVPATHMTU.S b/libc/sysv/consts/IPV6_RECVPATHMTU.S index 58735d1c428..02e38181890 100644 --- a/libc/sysv/consts/IPV6_RECVPATHMTU.S +++ b/libc/sysv/consts/IPV6_RECVPATHMTU.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_RECVPATHMTU 60 0 43 43 43 0 +.syscon ipv6,IPV6_RECVPATHMTU,60,0,43,43,43,0 diff --git a/libc/sysv/consts/IPV6_RECVPKTINFO.S b/libc/sysv/consts/IPV6_RECVPKTINFO.S index 49e6fc6d257..3e324f8416a 100644 --- a/libc/sysv/consts/IPV6_RECVPKTINFO.S +++ b/libc/sysv/consts/IPV6_RECVPKTINFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_RECVPKTINFO 49 0 36 36 36 0 +.syscon ipv6,IPV6_RECVPKTINFO,49,0,36,36,36,0 diff --git a/libc/sysv/consts/IPV6_RECVRTHDR.S b/libc/sysv/consts/IPV6_RECVRTHDR.S index 59e45a7e215..7d5893ea270 100644 --- a/libc/sysv/consts/IPV6_RECVRTHDR.S +++ b/libc/sysv/consts/IPV6_RECVRTHDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_RECVRTHDR 56 0 38 38 38 38 +.syscon ipv6,IPV6_RECVRTHDR,56,0,38,38,38,38 diff --git a/libc/sysv/consts/IPV6_RECVTCLASS.S b/libc/sysv/consts/IPV6_RECVTCLASS.S index 8b9a6aeb23e..91901cfccd4 100644 --- a/libc/sysv/consts/IPV6_RECVTCLASS.S +++ b/libc/sysv/consts/IPV6_RECVTCLASS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_RECVTCLASS 66 35 57 57 57 40 +.syscon ipv6,IPV6_RECVTCLASS,66,35,57,57,57,40 diff --git a/libc/sysv/consts/IPV6_ROUTER_ALERT.S b/libc/sysv/consts/IPV6_ROUTER_ALERT.S index 7d635562a98..70f36eea2eb 100644 --- a/libc/sysv/consts/IPV6_ROUTER_ALERT.S +++ b/libc/sysv/consts/IPV6_ROUTER_ALERT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_ROUTER_ALERT 22 0 0 0 0 0 +.syscon ipv6,IPV6_ROUTER_ALERT,22,0,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_RTHDR.S b/libc/sysv/consts/IPV6_RTHDR.S index 4791b6fa65c..b7c9fd97fcb 100644 --- a/libc/sysv/consts/IPV6_RTHDR.S +++ b/libc/sysv/consts/IPV6_RTHDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_RTHDR 57 0 51 51 51 0x20 +.syscon ipv6,IPV6_RTHDR,57,0,51,51,51,0x20 diff --git a/libc/sysv/consts/IPV6_RTHDRDSTOPTS.S b/libc/sysv/consts/IPV6_RTHDRDSTOPTS.S index bdc9ba6ca26..244efa8f312 100644 --- a/libc/sysv/consts/IPV6_RTHDRDSTOPTS.S +++ b/libc/sysv/consts/IPV6_RTHDRDSTOPTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_RTHDRDSTOPTS 55 0 35 35 35 0 +.syscon ipv6,IPV6_RTHDRDSTOPTS,55,0,35,35,35,0 diff --git a/libc/sysv/consts/IPV6_RTHDR_LOOSE.S b/libc/sysv/consts/IPV6_RTHDR_LOOSE.S index 88fe3abe406..b6cdb3b84cc 100644 --- a/libc/sysv/consts/IPV6_RTHDR_LOOSE.S +++ b/libc/sysv/consts/IPV6_RTHDR_LOOSE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_RTHDR_LOOSE 0 0 0 0 0 0 +.syscon ipv6,IPV6_RTHDR_LOOSE,0,0,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_RTHDR_STRICT.S b/libc/sysv/consts/IPV6_RTHDR_STRICT.S index 31a9e9c1208..86afa3ccfd9 100644 --- a/libc/sysv/consts/IPV6_RTHDR_STRICT.S +++ b/libc/sysv/consts/IPV6_RTHDR_STRICT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_RTHDR_STRICT 1 1 1 0 0 0 +.syscon ipv6,IPV6_RTHDR_STRICT,1,1,1,0,0,0 diff --git a/libc/sysv/consts/IPV6_RTHDR_TYPE_0.S b/libc/sysv/consts/IPV6_RTHDR_TYPE_0.S index 143771044e3..de44ee5214e 100644 --- a/libc/sysv/consts/IPV6_RTHDR_TYPE_0.S +++ b/libc/sysv/consts/IPV6_RTHDR_TYPE_0.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_RTHDR_TYPE_0 0 0 0 0 0 0 +.syscon ipv6,IPV6_RTHDR_TYPE_0,0,0,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_RXDSTOPTS.S b/libc/sysv/consts/IPV6_RXDSTOPTS.S index 7c05fc4b886..fbdd0b9b53b 100644 --- a/libc/sysv/consts/IPV6_RXDSTOPTS.S +++ b/libc/sysv/consts/IPV6_RXDSTOPTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_RXDSTOPTS 59 0 0 0 0 0 +.syscon ipv6,IPV6_RXDSTOPTS,59,0,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_RXHOPOPTS.S b/libc/sysv/consts/IPV6_RXHOPOPTS.S index 415af65c158..d9a567e0c3d 100644 --- a/libc/sysv/consts/IPV6_RXHOPOPTS.S +++ b/libc/sysv/consts/IPV6_RXHOPOPTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_RXHOPOPTS 54 0 0 0 0 0 +.syscon ipv6,IPV6_RXHOPOPTS,54,0,0,0,0,0 diff --git a/libc/sysv/consts/IPV6_TCLASS.S b/libc/sysv/consts/IPV6_TCLASS.S index b7598bc0f52..a55d48d416c 100644 --- a/libc/sysv/consts/IPV6_TCLASS.S +++ b/libc/sysv/consts/IPV6_TCLASS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_TCLASS 67 36 61 61 61 39 +.syscon ipv6,IPV6_TCLASS,67,36,61,61,61,39 diff --git a/libc/sysv/consts/IPV6_UNICAST_HOPS.S b/libc/sysv/consts/IPV6_UNICAST_HOPS.S index 20c2f706429..5bdc77b9762 100644 --- a/libc/sysv/consts/IPV6_UNICAST_HOPS.S +++ b/libc/sysv/consts/IPV6_UNICAST_HOPS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_UNICAST_HOPS 0x10 4 4 4 4 4 +.syscon ipv6,IPV6_UNICAST_HOPS,0x10,4,4,4,4,4 diff --git a/libc/sysv/consts/IPV6_V6ONLY.S b/libc/sysv/consts/IPV6_V6ONLY.S index dbd83781d0d..880ae858e9b 100644 --- a/libc/sysv/consts/IPV6_V6ONLY.S +++ b/libc/sysv/consts/IPV6_V6ONLY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_V6ONLY 26 27 27 27 27 27 +.syscon ipv6,IPV6_V6ONLY,26,27,27,27,27,27 diff --git a/libc/sysv/consts/IPV6_XFRM_POLICY.S b/libc/sysv/consts/IPV6_XFRM_POLICY.S index 6fde01e2050..42edace0ec7 100644 --- a/libc/sysv/consts/IPV6_XFRM_POLICY.S +++ b/libc/sysv/consts/IPV6_XFRM_POLICY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ipv6 IPV6_XFRM_POLICY 35 0 0 0 0 0 +.syscon ipv6,IPV6_XFRM_POLICY,35,0,0,0,0,0 diff --git a/libc/sysv/consts/IP_ADD_MEMBERSHIP.S b/libc/sysv/consts/IP_ADD_MEMBERSHIP.S index e32c385e36f..1c4eda637c2 100644 --- a/libc/sysv/consts/IP_ADD_MEMBERSHIP.S +++ b/libc/sysv/consts/IP_ADD_MEMBERSHIP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_ADD_MEMBERSHIP 35 12 12 12 12 0 +.syscon ip,IP_ADD_MEMBERSHIP,35,12,12,12,12,0 diff --git a/libc/sysv/consts/IP_ADD_SOURCE_MEMBERSHIP.S b/libc/sysv/consts/IP_ADD_SOURCE_MEMBERSHIP.S index 46764baa9a8..b7d4593efc8 100644 --- a/libc/sysv/consts/IP_ADD_SOURCE_MEMBERSHIP.S +++ b/libc/sysv/consts/IP_ADD_SOURCE_MEMBERSHIP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_ADD_SOURCE_MEMBERSHIP 39 70 70 0 0 15 +.syscon ip,IP_ADD_SOURCE_MEMBERSHIP,39,70,70,0,0,15 diff --git a/libc/sysv/consts/IP_BIND_ADDRESS_NO_PORT.S b/libc/sysv/consts/IP_BIND_ADDRESS_NO_PORT.S index 2c12adfc143..8861eb7a803 100644 --- a/libc/sysv/consts/IP_BIND_ADDRESS_NO_PORT.S +++ b/libc/sysv/consts/IP_BIND_ADDRESS_NO_PORT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_BIND_ADDRESS_NO_PORT 24 0 0 0 0 0 +.syscon ip,IP_BIND_ADDRESS_NO_PORT,24,0,0,0,0,0 diff --git a/libc/sysv/consts/IP_BLOCK_SOURCE.S b/libc/sysv/consts/IP_BLOCK_SOURCE.S index d46171aa902..1e98fdade53 100644 --- a/libc/sysv/consts/IP_BLOCK_SOURCE.S +++ b/libc/sysv/consts/IP_BLOCK_SOURCE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_BLOCK_SOURCE 38 72 72 0 0 17 +.syscon ip,IP_BLOCK_SOURCE,38,72,72,0,0,17 diff --git a/libc/sysv/consts/IP_CHECKSUM.S b/libc/sysv/consts/IP_CHECKSUM.S index d86a6148d93..787d53d3a1d 100644 --- a/libc/sysv/consts/IP_CHECKSUM.S +++ b/libc/sysv/consts/IP_CHECKSUM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_CHECKSUM 23 0 0 0 0 0 +.syscon ip,IP_CHECKSUM,23,0,0,0,0,0 diff --git a/libc/sysv/consts/IP_DEFAULT_MULTICAST_LOOP.S b/libc/sysv/consts/IP_DEFAULT_MULTICAST_LOOP.S index f64a12d0366..5188df912d5 100644 --- a/libc/sysv/consts/IP_DEFAULT_MULTICAST_LOOP.S +++ b/libc/sysv/consts/IP_DEFAULT_MULTICAST_LOOP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_DEFAULT_MULTICAST_LOOP 1 1 1 1 1 1 +.syscon ip,IP_DEFAULT_MULTICAST_LOOP,1,1,1,1,1,1 diff --git a/libc/sysv/consts/IP_DEFAULT_MULTICAST_TTL.S b/libc/sysv/consts/IP_DEFAULT_MULTICAST_TTL.S index f43ee4e9a24..01a28b1a86e 100644 --- a/libc/sysv/consts/IP_DEFAULT_MULTICAST_TTL.S +++ b/libc/sysv/consts/IP_DEFAULT_MULTICAST_TTL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_DEFAULT_MULTICAST_TTL 1 1 1 1 1 1 +.syscon ip,IP_DEFAULT_MULTICAST_TTL,1,1,1,1,1,1 diff --git a/libc/sysv/consts/IP_DROP_MEMBERSHIP.S b/libc/sysv/consts/IP_DROP_MEMBERSHIP.S index 9c301f96dfa..5074d6c4672 100644 --- a/libc/sysv/consts/IP_DROP_MEMBERSHIP.S +++ b/libc/sysv/consts/IP_DROP_MEMBERSHIP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_DROP_MEMBERSHIP 36 13 13 13 13 0 +.syscon ip,IP_DROP_MEMBERSHIP,36,13,13,13,13,0 diff --git a/libc/sysv/consts/IP_DROP_SOURCE_MEMBERSHIP.S b/libc/sysv/consts/IP_DROP_SOURCE_MEMBERSHIP.S index 93af8417afe..ca5e8ec2757 100644 --- a/libc/sysv/consts/IP_DROP_SOURCE_MEMBERSHIP.S +++ b/libc/sysv/consts/IP_DROP_SOURCE_MEMBERSHIP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_DROP_SOURCE_MEMBERSHIP 40 71 71 0 0 0x10 +.syscon ip,IP_DROP_SOURCE_MEMBERSHIP,40,71,71,0,0,0x10 diff --git a/libc/sysv/consts/IP_FREEBIND.S b/libc/sysv/consts/IP_FREEBIND.S index b67881e8e10..7aef9943816 100644 --- a/libc/sysv/consts/IP_FREEBIND.S +++ b/libc/sysv/consts/IP_FREEBIND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_FREEBIND 15 0 0 0 0 0 +.syscon ip,IP_FREEBIND,15,0,0,0,0,0 diff --git a/libc/sysv/consts/IP_HDRINCL.S b/libc/sysv/consts/IP_HDRINCL.S index 0e5d8a8c3f7..4887566c3fb 100644 --- a/libc/sysv/consts/IP_HDRINCL.S +++ b/libc/sysv/consts/IP_HDRINCL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_HDRINCL 3 2 2 2 2 2 +.syscon ip,IP_HDRINCL,3,2,2,2,2,2 diff --git a/libc/sysv/consts/IP_IPSEC_POLICY.S b/libc/sysv/consts/IP_IPSEC_POLICY.S index 85f3bf99b25..e00c5e6f9c4 100644 --- a/libc/sysv/consts/IP_IPSEC_POLICY.S +++ b/libc/sysv/consts/IP_IPSEC_POLICY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_IPSEC_POLICY 0x10 21 21 0 0 0 +.syscon ip,IP_IPSEC_POLICY,0x10,21,21,0,0,0 diff --git a/libc/sysv/consts/IP_MAX_MEMBERSHIPS.S b/libc/sysv/consts/IP_MAX_MEMBERSHIPS.S index 1590ea4ec51..e93c683276c 100644 --- a/libc/sysv/consts/IP_MAX_MEMBERSHIPS.S +++ b/libc/sysv/consts/IP_MAX_MEMBERSHIPS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_MAX_MEMBERSHIPS 20 0x0fff 0x0fff 0x0fff 0x0fff 20 +.syscon ip,IP_MAX_MEMBERSHIPS,20,0x0fff,0x0fff,0x0fff,0x0fff,20 diff --git a/libc/sysv/consts/IP_MINTTL.S b/libc/sysv/consts/IP_MINTTL.S index 855e76abc2b..f7023af14e5 100644 --- a/libc/sysv/consts/IP_MINTTL.S +++ b/libc/sysv/consts/IP_MINTTL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_MINTTL 21 0 66 0x20 0x20 0 +.syscon ip,IP_MINTTL,21,0,66,0x20,0x20,0 diff --git a/libc/sysv/consts/IP_MSFILTER.S b/libc/sysv/consts/IP_MSFILTER.S index 8464faff818..7238c4f562b 100644 --- a/libc/sysv/consts/IP_MSFILTER.S +++ b/libc/sysv/consts/IP_MSFILTER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_MSFILTER 41 74 74 0 0 0 +.syscon ip,IP_MSFILTER,41,74,74,0,0,0 diff --git a/libc/sysv/consts/IP_MTU.S b/libc/sysv/consts/IP_MTU.S index 5d37c83cbc6..baacf7bf8a0 100644 --- a/libc/sysv/consts/IP_MTU.S +++ b/libc/sysv/consts/IP_MTU.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_MTU 14 0 0 0 0 73 +.syscon ip,IP_MTU,14,0,0,0,0,73 diff --git a/libc/sysv/consts/IP_MTU_DISCOVER.S b/libc/sysv/consts/IP_MTU_DISCOVER.S index 3d24c4df865..a4f823a7a76 100644 --- a/libc/sysv/consts/IP_MTU_DISCOVER.S +++ b/libc/sysv/consts/IP_MTU_DISCOVER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_MTU_DISCOVER 10 0 0 0 0 71 +.syscon ip,IP_MTU_DISCOVER,10,0,0,0,0,71 diff --git a/libc/sysv/consts/IP_MULTICAST_ALL.S b/libc/sysv/consts/IP_MULTICAST_ALL.S index 8fd26482439..177ee146851 100644 --- a/libc/sysv/consts/IP_MULTICAST_ALL.S +++ b/libc/sysv/consts/IP_MULTICAST_ALL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_MULTICAST_ALL 49 0 0 0 0 0 +.syscon ip,IP_MULTICAST_ALL,49,0,0,0,0,0 diff --git a/libc/sysv/consts/IP_MULTICAST_IF.S b/libc/sysv/consts/IP_MULTICAST_IF.S index de9f54f848c..18c2a311eae 100644 --- a/libc/sysv/consts/IP_MULTICAST_IF.S +++ b/libc/sysv/consts/IP_MULTICAST_IF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_MULTICAST_IF 0x20 9 9 9 9 0 +.syscon ip,IP_MULTICAST_IF,0x20,9,9,9,9,0 diff --git a/libc/sysv/consts/IP_MULTICAST_LOOP.S b/libc/sysv/consts/IP_MULTICAST_LOOP.S index 7b5b74b13a9..4351340ebd9 100644 --- a/libc/sysv/consts/IP_MULTICAST_LOOP.S +++ b/libc/sysv/consts/IP_MULTICAST_LOOP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_MULTICAST_LOOP 34 11 11 11 11 0 +.syscon ip,IP_MULTICAST_LOOP,34,11,11,11,11,0 diff --git a/libc/sysv/consts/IP_MULTICAST_TTL.S b/libc/sysv/consts/IP_MULTICAST_TTL.S index bf55c7fb326..89265694430 100644 --- a/libc/sysv/consts/IP_MULTICAST_TTL.S +++ b/libc/sysv/consts/IP_MULTICAST_TTL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_MULTICAST_TTL 33 10 10 10 10 0 +.syscon ip,IP_MULTICAST_TTL,33,10,10,10,10,0 diff --git a/libc/sysv/consts/IP_NODEFRAG.S b/libc/sysv/consts/IP_NODEFRAG.S index 11952a146ec..266aa57f698 100644 --- a/libc/sysv/consts/IP_NODEFRAG.S +++ b/libc/sysv/consts/IP_NODEFRAG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_NODEFRAG 22 0 0 0 0 0 +.syscon ip,IP_NODEFRAG,22,0,0,0,0,0 diff --git a/libc/sysv/consts/IP_OPTIONS.S b/libc/sysv/consts/IP_OPTIONS.S index 6011ba56e54..8e87c6e157f 100644 --- a/libc/sysv/consts/IP_OPTIONS.S +++ b/libc/sysv/consts/IP_OPTIONS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_OPTIONS 4 1 1 1 1 1 +.syscon ip,IP_OPTIONS,4,1,1,1,1,1 diff --git a/libc/sysv/consts/IP_ORIGDSTADDR.S b/libc/sysv/consts/IP_ORIGDSTADDR.S index 0410db66928..5003ef499d4 100644 --- a/libc/sysv/consts/IP_ORIGDSTADDR.S +++ b/libc/sysv/consts/IP_ORIGDSTADDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_ORIGDSTADDR 20 0 27 0 0 0 +.syscon ip,IP_ORIGDSTADDR,20,0,27,0,0,0 diff --git a/libc/sysv/consts/IP_PASSSEC.S b/libc/sysv/consts/IP_PASSSEC.S index a8e10ecb1d8..aeb79e3c2a9 100644 --- a/libc/sysv/consts/IP_PASSSEC.S +++ b/libc/sysv/consts/IP_PASSSEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_PASSSEC 18 0 0 0 0 0 +.syscon ip,IP_PASSSEC,18,0,0,0,0,0 diff --git a/libc/sysv/consts/IP_PKTINFO.S b/libc/sysv/consts/IP_PKTINFO.S index 1c23f586265..bd9c335fabc 100644 --- a/libc/sysv/consts/IP_PKTINFO.S +++ b/libc/sysv/consts/IP_PKTINFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_PKTINFO 8 26 0 0 0 19 +.syscon ip,IP_PKTINFO,8,26,0,0,0,19 diff --git a/libc/sysv/consts/IP_PKTOPTIONS.S b/libc/sysv/consts/IP_PKTOPTIONS.S index 6ff8b23cb32..f1b0d4bfc94 100644 --- a/libc/sysv/consts/IP_PKTOPTIONS.S +++ b/libc/sysv/consts/IP_PKTOPTIONS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_PKTOPTIONS 9 0 0 0 0 0 +.syscon ip,IP_PKTOPTIONS,9,0,0,0,0,0 diff --git a/libc/sysv/consts/IP_PMTUDISC.S b/libc/sysv/consts/IP_PMTUDISC.S index 4850e8392c0..7d653953d2a 100644 --- a/libc/sysv/consts/IP_PMTUDISC.S +++ b/libc/sysv/consts/IP_PMTUDISC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_PMTUDISC 10 0 0 0 0 0 +.syscon ip,IP_PMTUDISC,10,0,0,0,0,0 diff --git a/libc/sysv/consts/IP_PMTUDISC_DO.S b/libc/sysv/consts/IP_PMTUDISC_DO.S index ab767f1cdca..14165b9d38d 100644 --- a/libc/sysv/consts/IP_PMTUDISC_DO.S +++ b/libc/sysv/consts/IP_PMTUDISC_DO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_PMTUDISC_DO 2 0 0 0 0 0 +.syscon ip,IP_PMTUDISC_DO,2,0,0,0,0,0 diff --git a/libc/sysv/consts/IP_PMTUDISC_DONT.S b/libc/sysv/consts/IP_PMTUDISC_DONT.S index a533b85a5c1..2bb7db46d09 100644 --- a/libc/sysv/consts/IP_PMTUDISC_DONT.S +++ b/libc/sysv/consts/IP_PMTUDISC_DONT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_PMTUDISC_DONT 0 0 0 0 0 0 +.syscon ip,IP_PMTUDISC_DONT,0,0,0,0,0,0 diff --git a/libc/sysv/consts/IP_PMTUDISC_INTERFACE.S b/libc/sysv/consts/IP_PMTUDISC_INTERFACE.S index a08dae23a5f..922a4493737 100644 --- a/libc/sysv/consts/IP_PMTUDISC_INTERFACE.S +++ b/libc/sysv/consts/IP_PMTUDISC_INTERFACE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_PMTUDISC_INTERFACE 4 0 0 0 0 0 +.syscon ip,IP_PMTUDISC_INTERFACE,4,0,0,0,0,0 diff --git a/libc/sysv/consts/IP_PMTUDISC_OMIT.S b/libc/sysv/consts/IP_PMTUDISC_OMIT.S index 587cb7431e1..c22bb1ee58c 100644 --- a/libc/sysv/consts/IP_PMTUDISC_OMIT.S +++ b/libc/sysv/consts/IP_PMTUDISC_OMIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_PMTUDISC_OMIT 5 0 0 0 0 0 +.syscon ip,IP_PMTUDISC_OMIT,5,0,0,0,0,0 diff --git a/libc/sysv/consts/IP_PMTUDISC_PROBE.S b/libc/sysv/consts/IP_PMTUDISC_PROBE.S index b3e010796f2..6dd5a49dd50 100644 --- a/libc/sysv/consts/IP_PMTUDISC_PROBE.S +++ b/libc/sysv/consts/IP_PMTUDISC_PROBE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_PMTUDISC_PROBE 3 0 0 0 0 0 +.syscon ip,IP_PMTUDISC_PROBE,3,0,0,0,0,0 diff --git a/libc/sysv/consts/IP_PMTUDISC_WANT.S b/libc/sysv/consts/IP_PMTUDISC_WANT.S index d5e44d79d6a..42dd746b821 100644 --- a/libc/sysv/consts/IP_PMTUDISC_WANT.S +++ b/libc/sysv/consts/IP_PMTUDISC_WANT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_PMTUDISC_WANT 1 0 0 0 0 0 +.syscon ip,IP_PMTUDISC_WANT,1,0,0,0,0,0 diff --git a/libc/sysv/consts/IP_RECVERR.S b/libc/sysv/consts/IP_RECVERR.S index 742e3d42809..77d8c78ccc6 100644 --- a/libc/sysv/consts/IP_RECVERR.S +++ b/libc/sysv/consts/IP_RECVERR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_RECVERR 11 0 0 0 0 75 +.syscon ip,IP_RECVERR,11,0,0,0,0,75 diff --git a/libc/sysv/consts/IP_RECVOPTS.S b/libc/sysv/consts/IP_RECVOPTS.S index 7a9eaee1059..a6f1bbb9988 100644 --- a/libc/sysv/consts/IP_RECVOPTS.S +++ b/libc/sysv/consts/IP_RECVOPTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_RECVOPTS 6 5 5 5 5 0 +.syscon ip,IP_RECVOPTS,6,5,5,5,5,0 diff --git a/libc/sysv/consts/IP_RECVORIGDSTADDR.S b/libc/sysv/consts/IP_RECVORIGDSTADDR.S index 0526ceba936..bea20fa2260 100644 --- a/libc/sysv/consts/IP_RECVORIGDSTADDR.S +++ b/libc/sysv/consts/IP_RECVORIGDSTADDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_RECVORIGDSTADDR 20 0 27 0 0 0 +.syscon ip,IP_RECVORIGDSTADDR,20,0,27,0,0,0 diff --git a/libc/sysv/consts/IP_RECVRETOPTS.S b/libc/sysv/consts/IP_RECVRETOPTS.S index b4695393c2c..c11ff4db206 100644 --- a/libc/sysv/consts/IP_RECVRETOPTS.S +++ b/libc/sysv/consts/IP_RECVRETOPTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_RECVRETOPTS 7 6 6 6 6 0 +.syscon ip,IP_RECVRETOPTS,7,6,6,6,6,0 diff --git a/libc/sysv/consts/IP_RECVTOS.S b/libc/sysv/consts/IP_RECVTOS.S index 1b206d921bb..edd78a03bf9 100644 --- a/libc/sysv/consts/IP_RECVTOS.S +++ b/libc/sysv/consts/IP_RECVTOS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_RECVTOS 13 0 68 0 0 40 +.syscon ip,IP_RECVTOS,13,0,68,0,0,40 diff --git a/libc/sysv/consts/IP_RECVTTL.S b/libc/sysv/consts/IP_RECVTTL.S index 559f7baead4..5dd534cf7aa 100644 --- a/libc/sysv/consts/IP_RECVTTL.S +++ b/libc/sysv/consts/IP_RECVTTL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_RECVTTL 12 24 65 31 31 21 +.syscon ip,IP_RECVTTL,12,24,65,31,31,21 diff --git a/libc/sysv/consts/IP_RETOPTS.S b/libc/sysv/consts/IP_RETOPTS.S index 30166020ccd..de4ce9feb47 100644 --- a/libc/sysv/consts/IP_RETOPTS.S +++ b/libc/sysv/consts/IP_RETOPTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_RETOPTS 7 8 8 8 8 0 +.syscon ip,IP_RETOPTS,7,8,8,8,8,0 diff --git a/libc/sysv/consts/IP_ROUTER_ALERT.S b/libc/sysv/consts/IP_ROUTER_ALERT.S index 91d413257c4..37c0b1ab6a8 100644 --- a/libc/sysv/consts/IP_ROUTER_ALERT.S +++ b/libc/sysv/consts/IP_ROUTER_ALERT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_ROUTER_ALERT 5 0 0 0 0 0 +.syscon ip,IP_ROUTER_ALERT,5,0,0,0,0,0 diff --git a/libc/sysv/consts/IP_TOS.S b/libc/sysv/consts/IP_TOS.S index e2075199f49..73838ba03fc 100644 --- a/libc/sysv/consts/IP_TOS.S +++ b/libc/sysv/consts/IP_TOS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_TOS 1 3 3 3 3 8 +.syscon ip,IP_TOS,1,3,3,3,3,8 diff --git a/libc/sysv/consts/IP_TRANSPARENT.S b/libc/sysv/consts/IP_TRANSPARENT.S index a48c227cac1..93e635e8352 100644 --- a/libc/sysv/consts/IP_TRANSPARENT.S +++ b/libc/sysv/consts/IP_TRANSPARENT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_TRANSPARENT 19 0 0 0 0 0 +.syscon ip,IP_TRANSPARENT,19,0,0,0,0,0 diff --git a/libc/sysv/consts/IP_TTL.S b/libc/sysv/consts/IP_TTL.S index 752ba710988..764786e927b 100644 --- a/libc/sysv/consts/IP_TTL.S +++ b/libc/sysv/consts/IP_TTL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_TTL 2 4 4 4 4 0 +.syscon ip,IP_TTL,2,4,4,4,4,0 diff --git a/libc/sysv/consts/IP_UNBLOCK_SOURCE.S b/libc/sysv/consts/IP_UNBLOCK_SOURCE.S index 5d005f4b81c..a2f8360a02b 100644 --- a/libc/sysv/consts/IP_UNBLOCK_SOURCE.S +++ b/libc/sysv/consts/IP_UNBLOCK_SOURCE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_UNBLOCK_SOURCE 37 73 73 0 0 18 +.syscon ip,IP_UNBLOCK_SOURCE,37,73,73,0,0,18 diff --git a/libc/sysv/consts/IP_UNICAST_IF.S b/libc/sysv/consts/IP_UNICAST_IF.S index fb9e5ff79ae..5aa36d95c45 100644 --- a/libc/sysv/consts/IP_UNICAST_IF.S +++ b/libc/sysv/consts/IP_UNICAST_IF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_UNICAST_IF 50 0 0 0 0 31 +.syscon ip,IP_UNICAST_IF,50,0,0,0,0,31 diff --git a/libc/sysv/consts/IP_XFRM_POLICY.S b/libc/sysv/consts/IP_XFRM_POLICY.S index dbb3f545930..e0b926ef8f1 100644 --- a/libc/sysv/consts/IP_XFRM_POLICY.S +++ b/libc/sysv/consts/IP_XFRM_POLICY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ip IP_XFRM_POLICY 17 0 0 0 0 0 +.syscon ip,IP_XFRM_POLICY,17,0,0,0,0,0 diff --git a/libc/sysv/consts/ISIG.S b/libc/sysv/consts/ISIG.S index 143cd86f9e0..febf9f55e40 100644 --- a/libc/sysv/consts/ISIG.S +++ b/libc/sysv/consts/ISIG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios ISIG 0b0000000000000001 0b0000000010000000 0b0000000010000000 0b0000000010000000 0b0000000010000000 0b0000000000000001 +.syscon termios,ISIG,0b0000000000000001,0b0000000010000000,0b0000000010000000,0b0000000010000000,0b0000000010000000,0b0000000000000001 diff --git a/libc/sysv/consts/ISTRIP.S b/libc/sysv/consts/ISTRIP.S index 615c6fe2be3..8a87bb56a09 100644 --- a/libc/sysv/consts/ISTRIP.S +++ b/libc/sysv/consts/ISTRIP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios ISTRIP 0b0000000000100000 0b0000000000100000 0b0000000000100000 0b0000000000100000 0b0000000000100000 0b0000000000100000 +.syscon termios,ISTRIP,0b0000000000100000,0b0000000000100000,0b0000000000100000,0b0000000000100000,0b0000000000100000,0b0000000000100000 diff --git a/libc/sysv/consts/ITIMER_PROF.S b/libc/sysv/consts/ITIMER_PROF.S index 7b067d13869..99ce09cc854 100644 --- a/libc/sysv/consts/ITIMER_PROF.S +++ b/libc/sysv/consts/ITIMER_PROF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ITIMER_PROF 2 2 2 2 2 2 +.syscon misc,ITIMER_PROF,2,2,2,2,2,2 diff --git a/libc/sysv/consts/ITIMER_REAL.S b/libc/sysv/consts/ITIMER_REAL.S index 48e169a3d6d..9c0b1cb1e69 100644 --- a/libc/sysv/consts/ITIMER_REAL.S +++ b/libc/sysv/consts/ITIMER_REAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ITIMER_REAL 0 0 0 0 0 0 +.syscon misc,ITIMER_REAL,0,0,0,0,0,0 diff --git a/libc/sysv/consts/ITIMER_VIRTUAL.S b/libc/sysv/consts/ITIMER_VIRTUAL.S index a6983f529ee..2ae5f5708ea 100644 --- a/libc/sysv/consts/ITIMER_VIRTUAL.S +++ b/libc/sysv/consts/ITIMER_VIRTUAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ITIMER_VIRTUAL 1 1 1 1 1 1 +.syscon misc,ITIMER_VIRTUAL,1,1,1,1,1,1 diff --git a/libc/sysv/consts/IUCLC.S b/libc/sysv/consts/IUCLC.S index 1168ea79aeb..d6e17f9c3e1 100644 --- a/libc/sysv/consts/IUCLC.S +++ b/libc/sysv/consts/IUCLC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios IUCLC 0b0000001000000000 0 0 0b0001000000000000 0b0001000000000000 0b0000001000000000 +.syscon termios,IUCLC,0b0000001000000000,0,0,0b0001000000000000,0b0001000000000000,0b0000001000000000 diff --git a/libc/sysv/consts/IUTF8.S b/libc/sysv/consts/IUTF8.S index fcba0edc27d..105ba279b9c 100644 --- a/libc/sysv/consts/IUTF8.S +++ b/libc/sysv/consts/IUTF8.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios IUTF8 0b0100000000000000 0b0100000000000000 0 0 0 0b0100000000000000 +.syscon termios,IUTF8,0b0100000000000000,0b0100000000000000,0,0,0,0b0100000000000000 diff --git a/libc/sysv/consts/IXANY.S b/libc/sysv/consts/IXANY.S index b0d3180e6ab..4d6be74d15d 100644 --- a/libc/sysv/consts/IXANY.S +++ b/libc/sysv/consts/IXANY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios IXANY 0b0000100000000000 0b0000100000000000 0b0000100000000000 0b0000100000000000 0b0000100000000000 0b0000100000000000 +.syscon termios,IXANY,0b0000100000000000,0b0000100000000000,0b0000100000000000,0b0000100000000000,0b0000100000000000,0b0000100000000000 diff --git a/libc/sysv/consts/IXOFF.S b/libc/sysv/consts/IXOFF.S index c353fb4c4d6..a609da9cb1e 100644 --- a/libc/sysv/consts/IXOFF.S +++ b/libc/sysv/consts/IXOFF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios IXOFF 0b0001000000000000 0b0000010000000000 0b0000010000000000 0b0000010000000000 0b0000010000000000 0b0001000000000000 +.syscon termios,IXOFF,0b0001000000000000,0b0000010000000000,0b0000010000000000,0b0000010000000000,0b0000010000000000,0b0001000000000000 diff --git a/libc/sysv/consts/IXON.S b/libc/sysv/consts/IXON.S index 741a3bf1fc2..1d4d212844d 100644 --- a/libc/sysv/consts/IXON.S +++ b/libc/sysv/consts/IXON.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios IXON 0b0000010000000000 0b0000001000000000 0b0000001000000000 0b0000001000000000 0b0000001000000000 0b0000010000000000 +.syscon termios,IXON,0b0000010000000000,0b0000001000000000,0b0000001000000000,0b0000001000000000,0b0000001000000000,0b0000010000000000 diff --git a/libc/sysv/consts/LC_ALL.S b/libc/sysv/consts/LC_ALL.S index 53428493be3..804edb2020e 100644 --- a/libc/sysv/consts/LC_ALL.S +++ b/libc/sysv/consts/LC_ALL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LC_ALL 6 0 0 0 0 0 +.syscon misc,LC_ALL,6,0,0,0,0,0 diff --git a/libc/sysv/consts/LC_ALL_MASK.S b/libc/sysv/consts/LC_ALL_MASK.S index ed1e77fb45b..1b3c8ab60b1 100644 --- a/libc/sysv/consts/LC_ALL_MASK.S +++ b/libc/sysv/consts/LC_ALL_MASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LC_ALL_MASK 0x1fbf 0 63 126 126 0 +.syscon misc,LC_ALL_MASK,0x1fbf,0,63,126,126,0 diff --git a/libc/sysv/consts/LC_COLLATE.S b/libc/sysv/consts/LC_COLLATE.S index dc0e10a62bf..f6d5d5b046d 100644 --- a/libc/sysv/consts/LC_COLLATE.S +++ b/libc/sysv/consts/LC_COLLATE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LC_COLLATE 3 1 1 1 1 0 +.syscon misc,LC_COLLATE,3,1,1,1,1,0 diff --git a/libc/sysv/consts/LC_COLLATE_MASK.S b/libc/sysv/consts/LC_COLLATE_MASK.S index 7880c808985..efd3567a1a5 100644 --- a/libc/sysv/consts/LC_COLLATE_MASK.S +++ b/libc/sysv/consts/LC_COLLATE_MASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LC_COLLATE_MASK 8 0 1 2 2 0 +.syscon misc,LC_COLLATE_MASK,8,0,1,2,2,0 diff --git a/libc/sysv/consts/LC_CTYPE.S b/libc/sysv/consts/LC_CTYPE.S index 96d2c967a07..dbfba4315dc 100644 --- a/libc/sysv/consts/LC_CTYPE.S +++ b/libc/sysv/consts/LC_CTYPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LC_CTYPE 0 2 2 2 2 0 +.syscon misc,LC_CTYPE,0,2,2,2,2,0 diff --git a/libc/sysv/consts/LC_CTYPE_MASK.S b/libc/sysv/consts/LC_CTYPE_MASK.S index 27ff47ff3b9..103e9dc84fd 100644 --- a/libc/sysv/consts/LC_CTYPE_MASK.S +++ b/libc/sysv/consts/LC_CTYPE_MASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LC_CTYPE_MASK 1 0 2 4 4 0 +.syscon misc,LC_CTYPE_MASK,1,0,2,4,4,0 diff --git a/libc/sysv/consts/LC_MESSAGES.S b/libc/sysv/consts/LC_MESSAGES.S index 125941b7f45..63589de4049 100644 --- a/libc/sysv/consts/LC_MESSAGES.S +++ b/libc/sysv/consts/LC_MESSAGES.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LC_MESSAGES 5 6 6 6 6 0 +.syscon misc,LC_MESSAGES,5,6,6,6,6,0 diff --git a/libc/sysv/consts/LC_MESSAGES_MASK.S b/libc/sysv/consts/LC_MESSAGES_MASK.S index ef963379928..7c05dde2a77 100644 --- a/libc/sysv/consts/LC_MESSAGES_MASK.S +++ b/libc/sysv/consts/LC_MESSAGES_MASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LC_MESSAGES_MASK 0x20 0 0x20 0x40 0x40 0 +.syscon misc,LC_MESSAGES_MASK,0x20,0,0x20,0x40,0x40,0 diff --git a/libc/sysv/consts/LC_MONETARY.S b/libc/sysv/consts/LC_MONETARY.S index c0f55dd1eb6..9caafd5c502 100644 --- a/libc/sysv/consts/LC_MONETARY.S +++ b/libc/sysv/consts/LC_MONETARY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LC_MONETARY 4 3 3 3 3 0 +.syscon misc,LC_MONETARY,4,3,3,3,3,0 diff --git a/libc/sysv/consts/LC_MONETARY_MASK.S b/libc/sysv/consts/LC_MONETARY_MASK.S index 1660620267b..fe5538871de 100644 --- a/libc/sysv/consts/LC_MONETARY_MASK.S +++ b/libc/sysv/consts/LC_MONETARY_MASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LC_MONETARY_MASK 0x10 0 4 8 8 0 +.syscon misc,LC_MONETARY_MASK,0x10,0,4,8,8,0 diff --git a/libc/sysv/consts/LC_NUMERIC.S b/libc/sysv/consts/LC_NUMERIC.S index 79b0164c049..2fee615778c 100644 --- a/libc/sysv/consts/LC_NUMERIC.S +++ b/libc/sysv/consts/LC_NUMERIC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LC_NUMERIC 1 4 4 4 4 0 +.syscon misc,LC_NUMERIC,1,4,4,4,4,0 diff --git a/libc/sysv/consts/LC_NUMERIC_MASK.S b/libc/sysv/consts/LC_NUMERIC_MASK.S index 045ab10928d..581d79f6fbd 100644 --- a/libc/sysv/consts/LC_NUMERIC_MASK.S +++ b/libc/sysv/consts/LC_NUMERIC_MASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LC_NUMERIC_MASK 2 0 8 0x10 0x10 0 +.syscon misc,LC_NUMERIC_MASK,2,0,8,0x10,0x10,0 diff --git a/libc/sysv/consts/LC_TIME.S b/libc/sysv/consts/LC_TIME.S index 798b03ab9e1..35fd3785960 100644 --- a/libc/sysv/consts/LC_TIME.S +++ b/libc/sysv/consts/LC_TIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LC_TIME 2 5 5 5 5 0 +.syscon misc,LC_TIME,2,5,5,5,5,0 diff --git a/libc/sysv/consts/LC_TIME_MASK.S b/libc/sysv/consts/LC_TIME_MASK.S index b7cfe900ef1..79ae691b32f 100644 --- a/libc/sysv/consts/LC_TIME_MASK.S +++ b/libc/sysv/consts/LC_TIME_MASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LC_TIME_MASK 4 0 0x10 0x20 0x20 0 +.syscon misc,LC_TIME_MASK,4,0,0x10,0x20,0x20,0 diff --git a/libc/sysv/consts/LINE_MAX.S b/libc/sysv/consts/LINE_MAX.S index 9fcec1eae36..558735c587a 100644 --- a/libc/sysv/consts/LINE_MAX.S +++ b/libc/sysv/consts/LINE_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LINE_MAX 0x0800 0x0800 0x0800 0x0800 0x0800 0 +.syscon misc,LINE_MAX,0x0800,0x0800,0x0800,0x0800,0x0800,0 diff --git a/libc/sysv/consts/LINKED_CMD_COMPLETE.S b/libc/sysv/consts/LINKED_CMD_COMPLETE.S index c7a8747217d..9aca8bc9b9a 100644 --- a/libc/sysv/consts/LINKED_CMD_COMPLETE.S +++ b/libc/sysv/consts/LINKED_CMD_COMPLETE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LINKED_CMD_COMPLETE 10 0 0 0 0 0 +.syscon misc,LINKED_CMD_COMPLETE,10,0,0,0,0,0 diff --git a/libc/sysv/consts/LINKED_FLG_CMD_COMPLETE.S b/libc/sysv/consts/LINKED_FLG_CMD_COMPLETE.S index 8189479fdba..ca81cc6af7f 100644 --- a/libc/sysv/consts/LINKED_FLG_CMD_COMPLETE.S +++ b/libc/sysv/consts/LINKED_FLG_CMD_COMPLETE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LINKED_FLG_CMD_COMPLETE 11 0 0 0 0 0 +.syscon misc,LINKED_FLG_CMD_COMPLETE,11,0,0,0,0,0 diff --git a/libc/sysv/consts/LIO_NOP.S b/libc/sysv/consts/LIO_NOP.S index ebac7e49e6c..19d8a9caad3 100644 --- a/libc/sysv/consts/LIO_NOP.S +++ b/libc/sysv/consts/LIO_NOP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LIO_NOP 2 0 0 0 0 0 +.syscon misc,LIO_NOP,2,0,0,0,0,0 diff --git a/libc/sysv/consts/LIO_NOWAIT.S b/libc/sysv/consts/LIO_NOWAIT.S index 7190969cc72..c5704071fe1 100644 --- a/libc/sysv/consts/LIO_NOWAIT.S +++ b/libc/sysv/consts/LIO_NOWAIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LIO_NOWAIT 1 1 0 0 0 0 +.syscon misc,LIO_NOWAIT,1,1,0,0,0,0 diff --git a/libc/sysv/consts/LIO_READ.S b/libc/sysv/consts/LIO_READ.S index 2b2a2505435..b88e3e72569 100644 --- a/libc/sysv/consts/LIO_READ.S +++ b/libc/sysv/consts/LIO_READ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LIO_READ 0 1 2 0 0 0 +.syscon misc,LIO_READ,0,1,2,0,0,0 diff --git a/libc/sysv/consts/LIO_WAIT.S b/libc/sysv/consts/LIO_WAIT.S index c3f7f99e3fd..65e7b011379 100644 --- a/libc/sysv/consts/LIO_WAIT.S +++ b/libc/sysv/consts/LIO_WAIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LIO_WAIT 0 2 1 0 0 0 +.syscon misc,LIO_WAIT,0,2,1,0,0,0 diff --git a/libc/sysv/consts/LIO_WRITE.S b/libc/sysv/consts/LIO_WRITE.S index f8d9000fc9b..43898a3c853 100644 --- a/libc/sysv/consts/LIO_WRITE.S +++ b/libc/sysv/consts/LIO_WRITE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LIO_WRITE 1 2 1 0 0 0 +.syscon misc,LIO_WRITE,1,2,1,0,0,0 diff --git a/libc/sysv/consts/LITTLE_ENDIAN.S b/libc/sysv/consts/LITTLE_ENDIAN.S index 2340100e623..0999effaa45 100644 --- a/libc/sysv/consts/LITTLE_ENDIAN.S +++ b/libc/sysv/consts/LITTLE_ENDIAN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LITTLE_ENDIAN 0x04d2 0x04d2 0x04d2 0x04d2 0x04d2 0 +.syscon misc,LITTLE_ENDIAN,0x04d2,0x04d2,0x04d2,0x04d2,0x04d2,0 diff --git a/libc/sysv/consts/LNKTYPE.S b/libc/sysv/consts/LNKTYPE.S index 266faaa8eaa..3acc859ad71 100644 --- a/libc/sysv/consts/LNKTYPE.S +++ b/libc/sysv/consts/LNKTYPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LNKTYPE 49 49 49 49 49 0 +.syscon misc,LNKTYPE,49,49,49,49,49,0 diff --git a/libc/sysv/consts/LOCK_EX.S b/libc/sysv/consts/LOCK_EX.S index 895405c0a09..5a1edb61445 100644 --- a/libc/sysv/consts/LOCK_EX.S +++ b/libc/sysv/consts/LOCK_EX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon lock LOCK_EX 2 2 2 2 2 2 +.syscon lock,LOCK_EX,2,2,2,2,2,2 diff --git a/libc/sysv/consts/LOCK_NB.S b/libc/sysv/consts/LOCK_NB.S index b0b521c43de..fd38ac29bb8 100644 --- a/libc/sysv/consts/LOCK_NB.S +++ b/libc/sysv/consts/LOCK_NB.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon lock LOCK_NB 4 4 4 4 4 1 +.syscon lock,LOCK_NB,4,4,4,4,4,1 diff --git a/libc/sysv/consts/LOCK_SH.S b/libc/sysv/consts/LOCK_SH.S index c3f615910a4..04519a67dc6 100644 --- a/libc/sysv/consts/LOCK_SH.S +++ b/libc/sysv/consts/LOCK_SH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon lock LOCK_SH 1 1 1 1 1 0 +.syscon lock,LOCK_SH,1,1,1,1,1,0 diff --git a/libc/sysv/consts/LOCK_UN.S b/libc/sysv/consts/LOCK_UN.S index abc6961f2b7..ac43f42fd35 100644 --- a/libc/sysv/consts/LOCK_UN.S +++ b/libc/sysv/consts/LOCK_UN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon lock LOCK_UN 8 8 8 8 8 8 +.syscon lock,LOCK_UN,8,8,8,8,8,8 diff --git a/libc/sysv/consts/LOCK_UNLOCK_CACHE.S b/libc/sysv/consts/LOCK_UNLOCK_CACHE.S index ec7373cf152..b9210afafb5 100644 --- a/libc/sysv/consts/LOCK_UNLOCK_CACHE.S +++ b/libc/sysv/consts/LOCK_UNLOCK_CACHE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon lock LOCK_UNLOCK_CACHE 54 0 0 0 0 0 +.syscon lock,LOCK_UNLOCK_CACHE,54,0,0,0,0,0 diff --git a/libc/sysv/consts/LOGIN_NAME_MAX.S b/libc/sysv/consts/LOGIN_NAME_MAX.S index 8550c54b1b1..6bc4513420c 100644 --- a/libc/sysv/consts/LOGIN_NAME_MAX.S +++ b/libc/sysv/consts/LOGIN_NAME_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LOGIN_NAME_MAX 0x0100 0 0 0x20 0x20 0 +.syscon misc,LOGIN_NAME_MAX,0x0100,0,0,0x20,0x20,0 diff --git a/libc/sysv/consts/LOGIN_PROCESS.S b/libc/sysv/consts/LOGIN_PROCESS.S index 00052ba1ef0..95e6dc22484 100644 --- a/libc/sysv/consts/LOGIN_PROCESS.S +++ b/libc/sysv/consts/LOGIN_PROCESS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc LOGIN_PROCESS 6 6 6 0 0 0 +.syscon misc,LOGIN_PROCESS,6,6,6,0,0,0 diff --git a/libc/sysv/consts/LOG_ALERT.S b/libc/sysv/consts/LOG_ALERT.S index 6a8b64c9b63..a4a4a373377 100644 --- a/libc/sysv/consts/LOG_ALERT.S +++ b/libc/sysv/consts/LOG_ALERT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_ALERT 1 1 1 1 1 0 +.syscon log,LOG_ALERT,1,1,1,1,1,0 diff --git a/libc/sysv/consts/LOG_AUTH.S b/libc/sysv/consts/LOG_AUTH.S index 1acbc36a930..e49b1c34897 100644 --- a/libc/sysv/consts/LOG_AUTH.S +++ b/libc/sysv/consts/LOG_AUTH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_AUTH 0x20 0x20 0x20 0x20 0x20 0 +.syscon log,LOG_AUTH,0x20,0x20,0x20,0x20,0x20,0 diff --git a/libc/sysv/consts/LOG_CONS.S b/libc/sysv/consts/LOG_CONS.S index 60f00b059bc..9c18366e5d2 100644 --- a/libc/sysv/consts/LOG_CONS.S +++ b/libc/sysv/consts/LOG_CONS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_CONS 2 2 2 2 2 0 +.syscon log,LOG_CONS,2,2,2,2,2,0 diff --git a/libc/sysv/consts/LOG_CRIT.S b/libc/sysv/consts/LOG_CRIT.S index 947089b820b..f788b32b071 100644 --- a/libc/sysv/consts/LOG_CRIT.S +++ b/libc/sysv/consts/LOG_CRIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_CRIT 2 2 2 2 2 0 +.syscon log,LOG_CRIT,2,2,2,2,2,0 diff --git a/libc/sysv/consts/LOG_CRON.S b/libc/sysv/consts/LOG_CRON.S index 9016c40620a..a7811f5c6bb 100644 --- a/libc/sysv/consts/LOG_CRON.S +++ b/libc/sysv/consts/LOG_CRON.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_CRON 72 72 72 72 72 0 +.syscon log,LOG_CRON,72,72,72,72,72,0 diff --git a/libc/sysv/consts/LOG_DAEMON.S b/libc/sysv/consts/LOG_DAEMON.S index d59ae292757..d6455e6ba2a 100644 --- a/libc/sysv/consts/LOG_DAEMON.S +++ b/libc/sysv/consts/LOG_DAEMON.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_DAEMON 24 24 24 24 24 0 +.syscon log,LOG_DAEMON,24,24,24,24,24,0 diff --git a/libc/sysv/consts/LOG_DEBUG.S b/libc/sysv/consts/LOG_DEBUG.S index 11e689d3f88..e7be4c545b4 100644 --- a/libc/sysv/consts/LOG_DEBUG.S +++ b/libc/sysv/consts/LOG_DEBUG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_DEBUG 7 7 7 7 7 0 +.syscon log,LOG_DEBUG,7,7,7,7,7,0 diff --git a/libc/sysv/consts/LOG_EMERG.S b/libc/sysv/consts/LOG_EMERG.S index 22b1b3bef6e..48aa6fd423c 100644 --- a/libc/sysv/consts/LOG_EMERG.S +++ b/libc/sysv/consts/LOG_EMERG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_EMERG 0 0 0 0 0 0 +.syscon log,LOG_EMERG,0,0,0,0,0,0 diff --git a/libc/sysv/consts/LOG_ERR.S b/libc/sysv/consts/LOG_ERR.S index 6471d792c89..cf04dcfd623 100644 --- a/libc/sysv/consts/LOG_ERR.S +++ b/libc/sysv/consts/LOG_ERR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_ERR 3 3 3 3 3 0 +.syscon log,LOG_ERR,3,3,3,3,3,0 diff --git a/libc/sysv/consts/LOG_FACMASK.S b/libc/sysv/consts/LOG_FACMASK.S index eadf036ca28..93e626784e1 100644 --- a/libc/sysv/consts/LOG_FACMASK.S +++ b/libc/sysv/consts/LOG_FACMASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_FACMASK 0x03f8 0x03f8 0x03f8 0x03f8 0x03f8 0 +.syscon log,LOG_FACMASK,0x03f8,0x03f8,0x03f8,0x03f8,0x03f8,0 diff --git a/libc/sysv/consts/LOG_INFO.S b/libc/sysv/consts/LOG_INFO.S index 412bc5666ab..01e72877793 100644 --- a/libc/sysv/consts/LOG_INFO.S +++ b/libc/sysv/consts/LOG_INFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_INFO 6 6 6 6 6 0 +.syscon log,LOG_INFO,6,6,6,6,6,0 diff --git a/libc/sysv/consts/LOG_KERN.S b/libc/sysv/consts/LOG_KERN.S index 1b53da7ee56..20c97fe3406 100644 --- a/libc/sysv/consts/LOG_KERN.S +++ b/libc/sysv/consts/LOG_KERN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_KERN 0 0 0 0 0 0 +.syscon log,LOG_KERN,0,0,0,0,0,0 diff --git a/libc/sysv/consts/LOG_LOCAL0.S b/libc/sysv/consts/LOG_LOCAL0.S index 04ee4dbb1cc..55234ca24f7 100644 --- a/libc/sysv/consts/LOG_LOCAL0.S +++ b/libc/sysv/consts/LOG_LOCAL0.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_LOCAL0 0x80 0x80 0x80 0x80 0x80 0 +.syscon log,LOG_LOCAL0,0x80,0x80,0x80,0x80,0x80,0 diff --git a/libc/sysv/consts/LOG_LOCAL1.S b/libc/sysv/consts/LOG_LOCAL1.S index c04025694d2..85a14fe64e9 100644 --- a/libc/sysv/consts/LOG_LOCAL1.S +++ b/libc/sysv/consts/LOG_LOCAL1.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_LOCAL1 136 136 136 136 136 0 +.syscon log,LOG_LOCAL1,136,136,136,136,136,0 diff --git a/libc/sysv/consts/LOG_LOCAL2.S b/libc/sysv/consts/LOG_LOCAL2.S index dc09271d4bf..217f0802371 100644 --- a/libc/sysv/consts/LOG_LOCAL2.S +++ b/libc/sysv/consts/LOG_LOCAL2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_LOCAL2 144 144 144 144 144 0 +.syscon log,LOG_LOCAL2,144,144,144,144,144,0 diff --git a/libc/sysv/consts/LOG_LOCAL3.S b/libc/sysv/consts/LOG_LOCAL3.S index 972f9f1308a..ed6b8cea91d 100644 --- a/libc/sysv/consts/LOG_LOCAL3.S +++ b/libc/sysv/consts/LOG_LOCAL3.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_LOCAL3 152 152 152 152 152 0 +.syscon log,LOG_LOCAL3,152,152,152,152,152,0 diff --git a/libc/sysv/consts/LOG_LOCAL4.S b/libc/sysv/consts/LOG_LOCAL4.S index 275afba5f06..dcd671a8d33 100644 --- a/libc/sysv/consts/LOG_LOCAL4.S +++ b/libc/sysv/consts/LOG_LOCAL4.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_LOCAL4 160 160 160 160 160 0 +.syscon log,LOG_LOCAL4,160,160,160,160,160,0 diff --git a/libc/sysv/consts/LOG_LOCAL5.S b/libc/sysv/consts/LOG_LOCAL5.S index c391a504470..92be42478c1 100644 --- a/libc/sysv/consts/LOG_LOCAL5.S +++ b/libc/sysv/consts/LOG_LOCAL5.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_LOCAL5 168 168 168 168 168 0 +.syscon log,LOG_LOCAL5,168,168,168,168,168,0 diff --git a/libc/sysv/consts/LOG_LOCAL6.S b/libc/sysv/consts/LOG_LOCAL6.S index ecdad3ba30d..5ce637a543a 100644 --- a/libc/sysv/consts/LOG_LOCAL6.S +++ b/libc/sysv/consts/LOG_LOCAL6.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_LOCAL6 176 176 176 176 176 0 +.syscon log,LOG_LOCAL6,176,176,176,176,176,0 diff --git a/libc/sysv/consts/LOG_LOCAL7.S b/libc/sysv/consts/LOG_LOCAL7.S index bc197bbe716..873c32177a9 100644 --- a/libc/sysv/consts/LOG_LOCAL7.S +++ b/libc/sysv/consts/LOG_LOCAL7.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_LOCAL7 184 184 184 184 184 0 +.syscon log,LOG_LOCAL7,184,184,184,184,184,0 diff --git a/libc/sysv/consts/LOG_LPR.S b/libc/sysv/consts/LOG_LPR.S index 13dd1ca8ffa..d0bc3c5da6b 100644 --- a/libc/sysv/consts/LOG_LPR.S +++ b/libc/sysv/consts/LOG_LPR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_LPR 48 48 48 48 48 0 +.syscon log,LOG_LPR,48,48,48,48,48,0 diff --git a/libc/sysv/consts/LOG_MAIL.S b/libc/sysv/consts/LOG_MAIL.S index ad426807d1b..a3ab000f91e 100644 --- a/libc/sysv/consts/LOG_MAIL.S +++ b/libc/sysv/consts/LOG_MAIL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_MAIL 0x10 0x10 0x10 0x10 0x10 0 +.syscon log,LOG_MAIL,0x10,0x10,0x10,0x10,0x10,0 diff --git a/libc/sysv/consts/LOG_NDELAY.S b/libc/sysv/consts/LOG_NDELAY.S index 3336ae76b33..36505a8bc76 100644 --- a/libc/sysv/consts/LOG_NDELAY.S +++ b/libc/sysv/consts/LOG_NDELAY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_NDELAY 8 8 8 8 8 0 +.syscon log,LOG_NDELAY,8,8,8,8,8,0 diff --git a/libc/sysv/consts/LOG_NEWS.S b/libc/sysv/consts/LOG_NEWS.S index abb3a64cafe..7d72d8e9667 100644 --- a/libc/sysv/consts/LOG_NEWS.S +++ b/libc/sysv/consts/LOG_NEWS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_NEWS 56 56 56 56 56 0 +.syscon log,LOG_NEWS,56,56,56,56,56,0 diff --git a/libc/sysv/consts/LOG_NFACILITIES.S b/libc/sysv/consts/LOG_NFACILITIES.S index 2755cb400af..0d69a603a17 100644 --- a/libc/sysv/consts/LOG_NFACILITIES.S +++ b/libc/sysv/consts/LOG_NFACILITIES.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_NFACILITIES 24 25 24 24 24 0 +.syscon log,LOG_NFACILITIES,24,25,24,24,24,0 diff --git a/libc/sysv/consts/LOG_NOTICE.S b/libc/sysv/consts/LOG_NOTICE.S index 46b494f9f4f..de0fd31530b 100644 --- a/libc/sysv/consts/LOG_NOTICE.S +++ b/libc/sysv/consts/LOG_NOTICE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_NOTICE 5 5 5 5 5 0 +.syscon log,LOG_NOTICE,5,5,5,5,5,0 diff --git a/libc/sysv/consts/LOG_NOWAIT.S b/libc/sysv/consts/LOG_NOWAIT.S index 24876a1ca30..cfe22f1fed9 100644 --- a/libc/sysv/consts/LOG_NOWAIT.S +++ b/libc/sysv/consts/LOG_NOWAIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_NOWAIT 0x10 0x10 0x10 0x10 0x10 0 +.syscon log,LOG_NOWAIT,0x10,0x10,0x10,0x10,0x10,0 diff --git a/libc/sysv/consts/LOG_ODELAY.S b/libc/sysv/consts/LOG_ODELAY.S index fbfcccca619..acec796f7ba 100644 --- a/libc/sysv/consts/LOG_ODELAY.S +++ b/libc/sysv/consts/LOG_ODELAY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_ODELAY 4 4 4 4 4 0 +.syscon log,LOG_ODELAY,4,4,4,4,4,0 diff --git a/libc/sysv/consts/LOG_PERROR.S b/libc/sysv/consts/LOG_PERROR.S index dcf46eb216f..03229c0c621 100644 --- a/libc/sysv/consts/LOG_PERROR.S +++ b/libc/sysv/consts/LOG_PERROR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_PERROR 0x20 0x20 0x20 0x20 0x20 0 +.syscon log,LOG_PERROR,0x20,0x20,0x20,0x20,0x20,0 diff --git a/libc/sysv/consts/LOG_PID.S b/libc/sysv/consts/LOG_PID.S index 2d578dc854a..54f06008d23 100644 --- a/libc/sysv/consts/LOG_PID.S +++ b/libc/sysv/consts/LOG_PID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_PID 1 1 1 1 1 0 +.syscon log,LOG_PID,1,1,1,1,1,0 diff --git a/libc/sysv/consts/LOG_PRIMASK.S b/libc/sysv/consts/LOG_PRIMASK.S index 0d450461ec0..2ec561fba05 100644 --- a/libc/sysv/consts/LOG_PRIMASK.S +++ b/libc/sysv/consts/LOG_PRIMASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_PRIMASK 7 7 7 7 7 0 +.syscon log,LOG_PRIMASK,7,7,7,7,7,0 diff --git a/libc/sysv/consts/LOG_SELECT.S b/libc/sysv/consts/LOG_SELECT.S index 8e8a230042e..431f1f2c27e 100644 --- a/libc/sysv/consts/LOG_SELECT.S +++ b/libc/sysv/consts/LOG_SELECT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_SELECT 76 0 0 0 0 0 +.syscon log,LOG_SELECT,76,0,0,0,0,0 diff --git a/libc/sysv/consts/LOG_SENSE.S b/libc/sysv/consts/LOG_SENSE.S index 59daeff2ecc..a48c8e947a4 100644 --- a/libc/sysv/consts/LOG_SENSE.S +++ b/libc/sysv/consts/LOG_SENSE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_SENSE 77 0 0 0 0 0 +.syscon log,LOG_SENSE,77,0,0,0,0,0 diff --git a/libc/sysv/consts/LOG_SYSLOG.S b/libc/sysv/consts/LOG_SYSLOG.S index 614a233e807..35943f5b005 100644 --- a/libc/sysv/consts/LOG_SYSLOG.S +++ b/libc/sysv/consts/LOG_SYSLOG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_SYSLOG 40 40 40 40 40 0 +.syscon log,LOG_SYSLOG,40,40,40,40,40,0 diff --git a/libc/sysv/consts/LOG_USER.S b/libc/sysv/consts/LOG_USER.S index 90b9036ca3d..aaa208107e7 100644 --- a/libc/sysv/consts/LOG_USER.S +++ b/libc/sysv/consts/LOG_USER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_USER 8 8 8 8 8 0 +.syscon log,LOG_USER,8,8,8,8,8,0 diff --git a/libc/sysv/consts/LOG_UUCP.S b/libc/sysv/consts/LOG_UUCP.S index 313064bb644..458a242d811 100644 --- a/libc/sysv/consts/LOG_UUCP.S +++ b/libc/sysv/consts/LOG_UUCP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_UUCP 0x40 0x40 0x40 0x40 0x40 0 +.syscon log,LOG_UUCP,0x40,0x40,0x40,0x40,0x40,0 diff --git a/libc/sysv/consts/LOG_WARNING.S b/libc/sysv/consts/LOG_WARNING.S index 51a2eccabd6..de8d3c15e91 100644 --- a/libc/sysv/consts/LOG_WARNING.S +++ b/libc/sysv/consts/LOG_WARNING.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon log LOG_WARNING 4 4 4 4 4 0 +.syscon log,LOG_WARNING,4,4,4,4,4,0 diff --git a/libc/sysv/consts/L_INCR.S b/libc/sysv/consts/L_INCR.S index b7d8910a568..fa3ca679761 100644 --- a/libc/sysv/consts/L_INCR.S +++ b/libc/sysv/consts/L_INCR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc L_INCR 1 1 1 1 1 0 +.syscon misc,L_INCR,1,1,1,1,1,0 diff --git a/libc/sysv/consts/L_SET.S b/libc/sysv/consts/L_SET.S index 8caf83374cc..d27c0c714f7 100644 --- a/libc/sysv/consts/L_SET.S +++ b/libc/sysv/consts/L_SET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc L_SET 0 0 0 0 0 0 +.syscon misc,L_SET,0,0,0,0,0,0 diff --git a/libc/sysv/consts/L_XTND.S b/libc/sysv/consts/L_XTND.S index 62174ede939..ffe82d908ad 100644 --- a/libc/sysv/consts/L_XTND.S +++ b/libc/sysv/consts/L_XTND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc L_XTND 2 2 2 2 2 0 +.syscon misc,L_XTND,2,2,2,2,2,0 diff --git a/libc/sysv/consts/MADV_DODUMP.S b/libc/sysv/consts/MADV_DODUMP.S index f4d37df79d9..646221a86da 100644 --- a/libc/sysv/consts/MADV_DODUMP.S +++ b/libc/sysv/consts/MADV_DODUMP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon madv MADV_DODUMP 17 0 0 0 0 0 +.syscon madv,MADV_DODUMP,17,0,0,0,0,0 diff --git a/libc/sysv/consts/MADV_DOFORK.S b/libc/sysv/consts/MADV_DOFORK.S index 33d6975e485..ed787cfc252 100644 --- a/libc/sysv/consts/MADV_DOFORK.S +++ b/libc/sysv/consts/MADV_DOFORK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon madv MADV_DOFORK 11 0 0 0 0 0 +.syscon madv,MADV_DOFORK,11,0,0,0,0,0 diff --git a/libc/sysv/consts/MADV_DONTDUMP.S b/libc/sysv/consts/MADV_DONTDUMP.S index bb5f9c1a566..c24e42a02a6 100644 --- a/libc/sysv/consts/MADV_DONTDUMP.S +++ b/libc/sysv/consts/MADV_DONTDUMP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon madv MADV_DONTDUMP 0x10 0 0 0 0 0 +.syscon madv,MADV_DONTDUMP,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/MADV_DONTFORK.S b/libc/sysv/consts/MADV_DONTFORK.S index 850e2dc52e0..ee1535ff644 100644 --- a/libc/sysv/consts/MADV_DONTFORK.S +++ b/libc/sysv/consts/MADV_DONTFORK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon madv MADV_DONTFORK 10 0 0 0 0 0 +.syscon madv,MADV_DONTFORK,10,0,0,0,0,0 diff --git a/libc/sysv/consts/MADV_DONTNEED.S b/libc/sysv/consts/MADV_DONTNEED.S index ea5d2157dca..72ce36e4d14 100644 --- a/libc/sysv/consts/MADV_DONTNEED.S +++ b/libc/sysv/consts/MADV_DONTNEED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon madv MADV_DONTNEED 4 4 4 4 4 0 +.syscon madv,MADV_DONTNEED,4,4,4,4,4,0 diff --git a/libc/sysv/consts/MADV_FREE.S b/libc/sysv/consts/MADV_FREE.S index 6694050b1e7..70bcb56e069 100644 --- a/libc/sysv/consts/MADV_FREE.S +++ b/libc/sysv/consts/MADV_FREE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon madv MADV_FREE 8 5 5 6 6 8 +.syscon madv,MADV_FREE,8,5,5,6,6,8 diff --git a/libc/sysv/consts/MADV_HUGEPAGE.S b/libc/sysv/consts/MADV_HUGEPAGE.S index f66588b809b..7d42c5da0bb 100644 --- a/libc/sysv/consts/MADV_HUGEPAGE.S +++ b/libc/sysv/consts/MADV_HUGEPAGE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon madv MADV_HUGEPAGE 14 0 0 0 0 0 +.syscon madv,MADV_HUGEPAGE,14,0,0,0,0,0 diff --git a/libc/sysv/consts/MADV_HWPOISON.S b/libc/sysv/consts/MADV_HWPOISON.S index 399eda224ce..85ed358466d 100644 --- a/libc/sysv/consts/MADV_HWPOISON.S +++ b/libc/sysv/consts/MADV_HWPOISON.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon madv MADV_HWPOISON 100 0 0 0 0 0 +.syscon madv,MADV_HWPOISON,100,0,0,0,0,0 diff --git a/libc/sysv/consts/MADV_MERGEABLE.S b/libc/sysv/consts/MADV_MERGEABLE.S index 9169f71f696..65bf29223f5 100644 --- a/libc/sysv/consts/MADV_MERGEABLE.S +++ b/libc/sysv/consts/MADV_MERGEABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon madv MADV_MERGEABLE 12 0 0 0 0 0 +.syscon madv,MADV_MERGEABLE,12,0,0,0,0,0 diff --git a/libc/sysv/consts/MADV_NOHUGEPAGE.S b/libc/sysv/consts/MADV_NOHUGEPAGE.S index 6be2eaac35e..d56f1574517 100644 --- a/libc/sysv/consts/MADV_NOHUGEPAGE.S +++ b/libc/sysv/consts/MADV_NOHUGEPAGE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon madv MADV_NOHUGEPAGE 15 0 0 0 0 0 +.syscon madv,MADV_NOHUGEPAGE,15,0,0,0,0,0 diff --git a/libc/sysv/consts/MADV_NORMAL.S b/libc/sysv/consts/MADV_NORMAL.S index 7be5ade6d81..ec8f1ef00a8 100644 --- a/libc/sysv/consts/MADV_NORMAL.S +++ b/libc/sysv/consts/MADV_NORMAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon madv MADV_NORMAL 0 0 0 0 0 0x00000080 +.syscon madv,MADV_NORMAL,0,0,0,0,0,0x00000080 diff --git a/libc/sysv/consts/MADV_RANDOM.S b/libc/sysv/consts/MADV_RANDOM.S index defbb30e9bd..dfeafff6fc3 100644 --- a/libc/sysv/consts/MADV_RANDOM.S +++ b/libc/sysv/consts/MADV_RANDOM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon madv MADV_RANDOM 1 1 1 1 1 0x10000000 +.syscon madv,MADV_RANDOM,1,1,1,1,1,0x10000000 diff --git a/libc/sysv/consts/MADV_REMOVE.S b/libc/sysv/consts/MADV_REMOVE.S index c2c3e163e91..ea2398627f9 100644 --- a/libc/sysv/consts/MADV_REMOVE.S +++ b/libc/sysv/consts/MADV_REMOVE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon madv MADV_REMOVE 9 0 0 0 0 0 +.syscon madv,MADV_REMOVE,9,0,0,0,0,0 diff --git a/libc/sysv/consts/MADV_SEQUENTIAL.S b/libc/sysv/consts/MADV_SEQUENTIAL.S index 53a958b5b53..b40e06f262e 100644 --- a/libc/sysv/consts/MADV_SEQUENTIAL.S +++ b/libc/sysv/consts/MADV_SEQUENTIAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon madv MADV_SEQUENTIAL 2 2 2 2 2 0x8000000 +.syscon madv,MADV_SEQUENTIAL,2,2,2,2,2,0x8000000 diff --git a/libc/sysv/consts/MADV_UNMERGEABLE.S b/libc/sysv/consts/MADV_UNMERGEABLE.S index 61c7b8f7d0d..2704aabe7be 100644 --- a/libc/sysv/consts/MADV_UNMERGEABLE.S +++ b/libc/sysv/consts/MADV_UNMERGEABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon madv MADV_UNMERGEABLE 13 0 0 0 0 0 +.syscon madv,MADV_UNMERGEABLE,13,0,0,0,0,0 diff --git a/libc/sysv/consts/MADV_WILLNEED.S b/libc/sysv/consts/MADV_WILLNEED.S index 22eb99628a3..9c09e7708dd 100644 --- a/libc/sysv/consts/MADV_WILLNEED.S +++ b/libc/sysv/consts/MADV_WILLNEED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon madv MADV_WILLNEED 3 3 3 3 3 3 +.syscon madv,MADV_WILLNEED,3,3,3,3,3,3 diff --git a/libc/sysv/consts/MAP_32BIT.S b/libc/sysv/consts/MAP_32BIT.S index 37c9bd0d6fb..69d1006da76 100644 --- a/libc/sysv/consts/MAP_32BIT.S +++ b/libc/sysv/consts/MAP_32BIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat MAP_32BIT 0x40 0 0x080000 0 0 0 +.syscon compat,MAP_32BIT,0x40,0,0x080000,0,0,0 diff --git a/libc/sysv/consts/MAP_ANON.S b/libc/sysv/consts/MAP_ANON.S index 43783bc1f6c..9b6ef77dd7a 100644 --- a/libc/sysv/consts/MAP_ANON.S +++ b/libc/sysv/consts/MAP_ANON.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat MAP_ANON 0x20 0x1000 0x1000 0x1000 0x1000 0x20 +.syscon compat,MAP_ANON,0x20,0x1000,0x1000,0x1000,0x1000,0x20 diff --git a/libc/sysv/consts/MAP_ANONYMOUS.S b/libc/sysv/consts/MAP_ANONYMOUS.S index fe181407da1..6872f306a8e 100644 --- a/libc/sysv/consts/MAP_ANONYMOUS.S +++ b/libc/sysv/consts/MAP_ANONYMOUS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mmap MAP_ANONYMOUS 0x20 0x1000 0x1000 0x1000 0x1000 0x20 +.syscon mmap,MAP_ANONYMOUS,0x20,0x1000,0x1000,0x1000,0x1000,0x20 diff --git a/libc/sysv/consts/MAP_CONCEAL.S b/libc/sysv/consts/MAP_CONCEAL.S index 4a5f890634b..8b4b4987552 100644 --- a/libc/sysv/consts/MAP_CONCEAL.S +++ b/libc/sysv/consts/MAP_CONCEAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mmap MAP_CONCEAL 0 0 0x20000 0x8000 0x8000 0 +.syscon mmap,MAP_CONCEAL,0,0,0x20000,0x8000,0x8000,0 diff --git a/libc/sysv/consts/MAP_DENYWRITE.S b/libc/sysv/consts/MAP_DENYWRITE.S index 2cd06c9ca9a..98efad2ec10 100644 --- a/libc/sysv/consts/MAP_DENYWRITE.S +++ b/libc/sysv/consts/MAP_DENYWRITE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat MAP_DENYWRITE 0x0800 0 0 0 0 0 +.syscon compat,MAP_DENYWRITE,0x0800,0,0,0,0,0 diff --git a/libc/sysv/consts/MAP_EXECUTABLE.S b/libc/sysv/consts/MAP_EXECUTABLE.S index 09518027d93..e2efd0d2603 100644 --- a/libc/sysv/consts/MAP_EXECUTABLE.S +++ b/libc/sysv/consts/MAP_EXECUTABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat MAP_EXECUTABLE 0x1000 0 0 0 0 0 +.syscon compat,MAP_EXECUTABLE,0x1000,0,0,0,0,0 diff --git a/libc/sysv/consts/MAP_FILE.S b/libc/sysv/consts/MAP_FILE.S index 6949fc29b24..13a1fe32c5a 100644 --- a/libc/sysv/consts/MAP_FILE.S +++ b/libc/sysv/consts/MAP_FILE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat MAP_FILE 0 0 0 0 0 0 +.syscon compat,MAP_FILE,0,0,0,0,0,0 diff --git a/libc/sysv/consts/MAP_FIXED.S b/libc/sysv/consts/MAP_FIXED.S index 7cf6a9d524e..e47ad4a5dfc 100644 --- a/libc/sysv/consts/MAP_FIXED.S +++ b/libc/sysv/consts/MAP_FIXED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mmap MAP_FIXED 0x10 0x10 0x10 0x10 0x10 0x10 +.syscon mmap,MAP_FIXED,0x10,0x10,0x10,0x10,0x10,0x10 diff --git a/libc/sysv/consts/MAP_GROWSDOWN.S b/libc/sysv/consts/MAP_GROWSDOWN.S index eb1f76cb91e..e7fc9358329 100644 --- a/libc/sysv/consts/MAP_GROWSDOWN.S +++ b/libc/sysv/consts/MAP_GROWSDOWN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mmap MAP_GROWSDOWN 0x0100 0 0x0400 0x4000 0x4000 0x100000 +.syscon mmap,MAP_GROWSDOWN,0x0100,0,0x0400,0x4000,0x4000,0x100000 diff --git a/libc/sysv/consts/MAP_HUGETLB.S b/libc/sysv/consts/MAP_HUGETLB.S index ff7173cdd44..3d65c0afcac 100644 --- a/libc/sysv/consts/MAP_HUGETLB.S +++ b/libc/sysv/consts/MAP_HUGETLB.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mmap MAP_HUGETLB 0x040000 0 0 0 0 0x80000000 +.syscon mmap,MAP_HUGETLB,0x040000,0,0,0,0,0x80000000 diff --git a/libc/sysv/consts/MAP_HUGE_MASK.S b/libc/sysv/consts/MAP_HUGE_MASK.S index ef11d4a1652..fdbaf59d12b 100644 --- a/libc/sysv/consts/MAP_HUGE_MASK.S +++ b/libc/sysv/consts/MAP_HUGE_MASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mmap MAP_HUGE_MASK 63 0 0 0 0 0 +.syscon mmap,MAP_HUGE_MASK,63,0,0,0,0,0 diff --git a/libc/sysv/consts/MAP_HUGE_SHIFT.S b/libc/sysv/consts/MAP_HUGE_SHIFT.S index 1bece9efae5..48db68c5421 100644 --- a/libc/sysv/consts/MAP_HUGE_SHIFT.S +++ b/libc/sysv/consts/MAP_HUGE_SHIFT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mmap MAP_HUGE_SHIFT 26 0 0 0 0 0 +.syscon mmap,MAP_HUGE_SHIFT,26,0,0,0,0,0 diff --git a/libc/sysv/consts/MAP_LOCKED.S b/libc/sysv/consts/MAP_LOCKED.S index 1d8dd7e7d1c..1674c49d019 100644 --- a/libc/sysv/consts/MAP_LOCKED.S +++ b/libc/sysv/consts/MAP_LOCKED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mmap MAP_LOCKED 0x2000 0 0 0 0 0 +.syscon mmap,MAP_LOCKED,0x2000,0,0,0,0,0 diff --git a/libc/sysv/consts/MAP_NOCORE.S b/libc/sysv/consts/MAP_NOCORE.S index ee1f230157c..90c2c1f4444 100644 --- a/libc/sysv/consts/MAP_NOCORE.S +++ b/libc/sysv/consts/MAP_NOCORE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat MAP_NOCORE 0 0 0x20000 0x8000 0x8000 0 +.syscon compat,MAP_NOCORE,0,0,0x20000,0x8000,0x8000,0 diff --git a/libc/sysv/consts/MAP_NONBLOCK.S b/libc/sysv/consts/MAP_NONBLOCK.S index 752dac31bfc..24604c007ff 100644 --- a/libc/sysv/consts/MAP_NONBLOCK.S +++ b/libc/sysv/consts/MAP_NONBLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mmap MAP_NONBLOCK 0x10000 0 0 0 0 0 +.syscon mmap,MAP_NONBLOCK,0x10000,0,0,0,0,0 diff --git a/libc/sysv/consts/MAP_NORESERVE.S b/libc/sysv/consts/MAP_NORESERVE.S index 8bcf46fe967..2f0e391c11c 100644 --- a/libc/sysv/consts/MAP_NORESERVE.S +++ b/libc/sysv/consts/MAP_NORESERVE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mmap MAP_NORESERVE 0x4000 0x40 0 0 64 0 +.syscon mmap,MAP_NORESERVE,0x4000,0x40,0,0,64,0 diff --git a/libc/sysv/consts/MAP_POPULATE.S b/libc/sysv/consts/MAP_POPULATE.S index 848cc2e077f..bc5e79c69c3 100644 --- a/libc/sysv/consts/MAP_POPULATE.S +++ b/libc/sysv/consts/MAP_POPULATE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mmap MAP_POPULATE 0x8000 0 0 0 0 0 +.syscon mmap,MAP_POPULATE,0x8000,0,0,0,0,0 diff --git a/libc/sysv/consts/MAP_PRIVATE.S b/libc/sysv/consts/MAP_PRIVATE.S index 4985215852a..81c74f873de 100644 --- a/libc/sysv/consts/MAP_PRIVATE.S +++ b/libc/sysv/consts/MAP_PRIVATE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mmap MAP_PRIVATE 2 2 2 2 2 2 +.syscon mmap,MAP_PRIVATE,2,2,2,2,2,2 diff --git a/libc/sysv/consts/MAP_SHARED.S b/libc/sysv/consts/MAP_SHARED.S index 4ab05548136..16bba1f9ee9 100644 --- a/libc/sysv/consts/MAP_SHARED.S +++ b/libc/sysv/consts/MAP_SHARED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mmap MAP_SHARED 1 1 1 1 1 1 +.syscon mmap,MAP_SHARED,1,1,1,1,1,1 diff --git a/libc/sysv/consts/MAP_STACK.S b/libc/sysv/consts/MAP_STACK.S index 73b7015ea45..1eff99c7339 100644 --- a/libc/sysv/consts/MAP_STACK.S +++ b/libc/sysv/consts/MAP_STACK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat MAP_STACK 0x0100 0 0x0400 0x4000 0x2000 0x100000 +.syscon compat,MAP_STACK,0x0100,0,0x0400,0x4000,0x2000,0x100000 diff --git a/libc/sysv/consts/MAP_TYPE.S b/libc/sysv/consts/MAP_TYPE.S index b080acc9b5b..8b2daa23b91 100644 --- a/libc/sysv/consts/MAP_TYPE.S +++ b/libc/sysv/consts/MAP_TYPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mmap MAP_TYPE 15 0 0 0 0 0 +.syscon mmap,MAP_TYPE,15,0,0,0,0,0 diff --git a/libc/sysv/consts/MATH_ERREXCEPT.S b/libc/sysv/consts/MATH_ERREXCEPT.S index 0b4f79d7b0d..be334efa547 100644 --- a/libc/sysv/consts/MATH_ERREXCEPT.S +++ b/libc/sysv/consts/MATH_ERREXCEPT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MATH_ERREXCEPT 2 2 2 2 2 0 +.syscon misc,MATH_ERREXCEPT,2,2,2,2,2,0 diff --git a/libc/sysv/consts/MATH_ERRNO.S b/libc/sysv/consts/MATH_ERRNO.S index 1b5ecfbb25b..6d7d067d241 100644 --- a/libc/sysv/consts/MATH_ERRNO.S +++ b/libc/sysv/consts/MATH_ERRNO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MATH_ERRNO 1 1 1 1 1 0 +.syscon misc,MATH_ERRNO,1,1,1,1,1,0 diff --git a/libc/sysv/consts/MAXHOSTNAMELEN.S b/libc/sysv/consts/MAXHOSTNAMELEN.S index 1d63bbbac1a..b1d9d337374 100644 --- a/libc/sysv/consts/MAXHOSTNAMELEN.S +++ b/libc/sysv/consts/MAXHOSTNAMELEN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MAXHOSTNAMELEN 0x40 0x0100 0x0100 0x0100 0x0100 0 +.syscon misc,MAXHOSTNAMELEN,0x40,0x0100,0x0100,0x0100,0x0100,0 diff --git a/libc/sysv/consts/MAXNAMLEN.S b/libc/sysv/consts/MAXNAMLEN.S index ba6f31ea556..136c5bbf553 100644 --- a/libc/sysv/consts/MAXNAMLEN.S +++ b/libc/sysv/consts/MAXNAMLEN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MAXNAMLEN 255 255 255 255 255 0 +.syscon misc,MAXNAMLEN,255,255,255,255,255,0 diff --git a/libc/sysv/consts/MAXPATHLEN.S b/libc/sysv/consts/MAXPATHLEN.S index 942a86724fd..dcb569a090a 100644 --- a/libc/sysv/consts/MAXPATHLEN.S +++ b/libc/sysv/consts/MAXPATHLEN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MAXPATHLEN 255 255 255 255 255 255 +.syscon misc,MAXPATHLEN,255,255,255,255,255,255 diff --git a/libc/sysv/consts/MAXQUOTAS.S b/libc/sysv/consts/MAXQUOTAS.S index 4fb34650a5e..dbcdf533ce9 100644 --- a/libc/sysv/consts/MAXQUOTAS.S +++ b/libc/sysv/consts/MAXQUOTAS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MAXQUOTAS 2 2 2 2 2 0 +.syscon misc,MAXQUOTAS,2,2,2,2,2,0 diff --git a/libc/sysv/consts/MAXSYMLINKS.S b/libc/sysv/consts/MAXSYMLINKS.S index 45e57cfd057..40b39c9abf7 100644 --- a/libc/sysv/consts/MAXSYMLINKS.S +++ b/libc/sysv/consts/MAXSYMLINKS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MAXSYMLINKS 20 0x20 0x20 0x20 0x20 0 +.syscon misc,MAXSYMLINKS,20,0x20,0x20,0x20,0x20,0 diff --git a/libc/sysv/consts/MAX_DQ_TIME.S b/libc/sysv/consts/MAX_DQ_TIME.S index 3ee6bad3440..230c6af5cec 100644 --- a/libc/sysv/consts/MAX_DQ_TIME.S +++ b/libc/sysv/consts/MAX_DQ_TIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MAX_DQ_TIME 0x093a80 0x093a80 0x093a80 0x093a80 0x093a80 0 +.syscon misc,MAX_DQ_TIME,0x093a80,0x093a80,0x093a80,0x093a80,0x093a80,0 diff --git a/libc/sysv/consts/MAX_HANDLE_SZ.S b/libc/sysv/consts/MAX_HANDLE_SZ.S index d31b007f920..54a1eebc8c5 100644 --- a/libc/sysv/consts/MAX_HANDLE_SZ.S +++ b/libc/sysv/consts/MAX_HANDLE_SZ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MAX_HANDLE_SZ 0x80 0 0 0 0 0 +.syscon misc,MAX_HANDLE_SZ,0x80,0,0,0,0,0 diff --git a/libc/sysv/consts/MAX_IQ_TIME.S b/libc/sysv/consts/MAX_IQ_TIME.S index 5ccf039507b..0e9d4b84884 100644 --- a/libc/sysv/consts/MAX_IQ_TIME.S +++ b/libc/sysv/consts/MAX_IQ_TIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MAX_IQ_TIME 0x093a80 0x093a80 0x093a80 0x093a80 0x093a80 0 +.syscon misc,MAX_IQ_TIME,0x093a80,0x093a80,0x093a80,0x093a80,0x093a80,0 diff --git a/libc/sysv/consts/MCAST_BLOCK_SOURCE.S b/libc/sysv/consts/MCAST_BLOCK_SOURCE.S index f00c4d3cc2f..4457f24a963 100644 --- a/libc/sysv/consts/MCAST_BLOCK_SOURCE.S +++ b/libc/sysv/consts/MCAST_BLOCK_SOURCE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MCAST_BLOCK_SOURCE 43 84 84 0 0 43 +.syscon misc,MCAST_BLOCK_SOURCE,43,84,84,0,0,43 diff --git a/libc/sysv/consts/MCAST_EXCLUDE.S b/libc/sysv/consts/MCAST_EXCLUDE.S index 72c8e17afbb..c16b67f0dbd 100644 --- a/libc/sysv/consts/MCAST_EXCLUDE.S +++ b/libc/sysv/consts/MCAST_EXCLUDE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MCAST_EXCLUDE 0 2 2 0 0 0 +.syscon misc,MCAST_EXCLUDE,0,2,2,0,0,0 diff --git a/libc/sysv/consts/MCAST_INCLUDE.S b/libc/sysv/consts/MCAST_INCLUDE.S index ac25e956bfa..36365cd561d 100644 --- a/libc/sysv/consts/MCAST_INCLUDE.S +++ b/libc/sysv/consts/MCAST_INCLUDE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MCAST_INCLUDE 1 1 1 0 0 0 +.syscon misc,MCAST_INCLUDE,1,1,1,0,0,0 diff --git a/libc/sysv/consts/MCAST_JOIN_GROUP.S b/libc/sysv/consts/MCAST_JOIN_GROUP.S index 8865c61516c..2b4818977a0 100644 --- a/libc/sysv/consts/MCAST_JOIN_GROUP.S +++ b/libc/sysv/consts/MCAST_JOIN_GROUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MCAST_JOIN_GROUP 42 80 80 0 0 41 +.syscon misc,MCAST_JOIN_GROUP,42,80,80,0,0,41 diff --git a/libc/sysv/consts/MCAST_JOIN_SOURCE_GROUP.S b/libc/sysv/consts/MCAST_JOIN_SOURCE_GROUP.S index 2d3b368e21e..eb9693e3b37 100644 --- a/libc/sysv/consts/MCAST_JOIN_SOURCE_GROUP.S +++ b/libc/sysv/consts/MCAST_JOIN_SOURCE_GROUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MCAST_JOIN_SOURCE_GROUP 46 82 82 0 0 45 +.syscon misc,MCAST_JOIN_SOURCE_GROUP,46,82,82,0,0,45 diff --git a/libc/sysv/consts/MCAST_LEAVE_GROUP.S b/libc/sysv/consts/MCAST_LEAVE_GROUP.S index 1cc94f56bf3..e189c2e533d 100644 --- a/libc/sysv/consts/MCAST_LEAVE_GROUP.S +++ b/libc/sysv/consts/MCAST_LEAVE_GROUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MCAST_LEAVE_GROUP 45 81 81 0 0 42 +.syscon misc,MCAST_LEAVE_GROUP,45,81,81,0,0,42 diff --git a/libc/sysv/consts/MCAST_LEAVE_SOURCE_GROUP.S b/libc/sysv/consts/MCAST_LEAVE_SOURCE_GROUP.S index ff1426eb191..ee439ae385f 100644 --- a/libc/sysv/consts/MCAST_LEAVE_SOURCE_GROUP.S +++ b/libc/sysv/consts/MCAST_LEAVE_SOURCE_GROUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MCAST_LEAVE_SOURCE_GROUP 47 83 83 0 0 46 +.syscon misc,MCAST_LEAVE_SOURCE_GROUP,47,83,83,0,0,46 diff --git a/libc/sysv/consts/MCAST_MSFILTER.S b/libc/sysv/consts/MCAST_MSFILTER.S index 46ed6520037..9f4ee261080 100644 --- a/libc/sysv/consts/MCAST_MSFILTER.S +++ b/libc/sysv/consts/MCAST_MSFILTER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MCAST_MSFILTER 48 0 0 0 0 0 +.syscon misc,MCAST_MSFILTER,48,0,0,0,0,0 diff --git a/libc/sysv/consts/MCAST_UNBLOCK_SOURCE.S b/libc/sysv/consts/MCAST_UNBLOCK_SOURCE.S index 014efbc14d4..c92072d822f 100644 --- a/libc/sysv/consts/MCAST_UNBLOCK_SOURCE.S +++ b/libc/sysv/consts/MCAST_UNBLOCK_SOURCE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MCAST_UNBLOCK_SOURCE 44 85 85 0 0 44 +.syscon misc,MCAST_UNBLOCK_SOURCE,44,85,85,0,0,44 diff --git a/libc/sysv/consts/MCL_CURRENT.S b/libc/sysv/consts/MCL_CURRENT.S index 01dc9bfb21b..2a79ade8eba 100644 --- a/libc/sysv/consts/MCL_CURRENT.S +++ b/libc/sysv/consts/MCL_CURRENT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mlock MCL_CURRENT 1 1 1 1 1 0 +.syscon mlock,MCL_CURRENT,1,1,1,1,1,0 diff --git a/libc/sysv/consts/MCL_FUTURE.S b/libc/sysv/consts/MCL_FUTURE.S index 9c3c97dbacf..8bc51f881ae 100644 --- a/libc/sysv/consts/MCL_FUTURE.S +++ b/libc/sysv/consts/MCL_FUTURE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mlock MCL_FUTURE 2 2 2 2 2 0 +.syscon mlock,MCL_FUTURE,2,2,2,2,2,0 diff --git a/libc/sysv/consts/MCL_ONFAULT.S b/libc/sysv/consts/MCL_ONFAULT.S index 0ad8fd85a15..b30b3b87133 100644 --- a/libc/sysv/consts/MCL_ONFAULT.S +++ b/libc/sysv/consts/MCL_ONFAULT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mlock MCL_ONFAULT 4 0 0 0 0 0 +.syscon mlock,MCL_ONFAULT,4,0,0,0,0,0 diff --git a/libc/sysv/consts/MEDIUM_ERROR.S b/libc/sysv/consts/MEDIUM_ERROR.S index ededb755227..774dba1ee28 100644 --- a/libc/sysv/consts/MEDIUM_ERROR.S +++ b/libc/sysv/consts/MEDIUM_ERROR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MEDIUM_ERROR 3 0 0 0 0 0 +.syscon misc,MEDIUM_ERROR,3,0,0,0,0,0 diff --git a/libc/sysv/consts/MEDIUM_SCAN.S b/libc/sysv/consts/MEDIUM_SCAN.S index e3081be7f5c..858c6a1d16a 100644 --- a/libc/sysv/consts/MEDIUM_SCAN.S +++ b/libc/sysv/consts/MEDIUM_SCAN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MEDIUM_SCAN 56 0 0 0 0 0 +.syscon misc,MEDIUM_SCAN,56,0,0,0,0,0 diff --git a/libc/sysv/consts/MESSAGE_REJECT.S b/libc/sysv/consts/MESSAGE_REJECT.S index af512526d4a..f4fddc8fcce 100644 --- a/libc/sysv/consts/MESSAGE_REJECT.S +++ b/libc/sysv/consts/MESSAGE_REJECT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MESSAGE_REJECT 7 0 0 0 0 0 +.syscon misc,MESSAGE_REJECT,7,0,0,0,0,0 diff --git a/libc/sysv/consts/MFD_ALLOW_SEALING.S b/libc/sysv/consts/MFD_ALLOW_SEALING.S index ad9caf3001f..b1ab94f563d 100644 --- a/libc/sysv/consts/MFD_ALLOW_SEALING.S +++ b/libc/sysv/consts/MFD_ALLOW_SEALING.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon memfd MFD_ALLOW_SEALING 2 0 0 0 0 0 +.syscon memfd,MFD_ALLOW_SEALING,2,0,0,0,0,0 diff --git a/libc/sysv/consts/MFD_CLOEXEC.S b/libc/sysv/consts/MFD_CLOEXEC.S index 4d55f7f38b0..cc293d84c40 100644 --- a/libc/sysv/consts/MFD_CLOEXEC.S +++ b/libc/sysv/consts/MFD_CLOEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon memfd MFD_CLOEXEC 1 0 0 0 0 0 +.syscon memfd,MFD_CLOEXEC,1,0,0,0,0,0 diff --git a/libc/sysv/consts/MINSIGSTKSZ.S b/libc/sysv/consts/MINSIGSTKSZ.S index 6c18bf44ef4..a5c500930c5 100644 --- a/libc/sysv/consts/MINSIGSTKSZ.S +++ b/libc/sysv/consts/MINSIGSTKSZ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MINSIGSTKSZ 0x0800 0x8000 0x0800 0x3000 0x2000 0 +.syscon misc,MINSIGSTKSZ,0x0800,0x8000,0x0800,0x3000,0x2000,0 diff --git a/libc/sysv/consts/MISCOMPARE.S b/libc/sysv/consts/MISCOMPARE.S index ae106110d02..a72b51a7080 100644 --- a/libc/sysv/consts/MISCOMPARE.S +++ b/libc/sysv/consts/MISCOMPARE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MISCOMPARE 14 0 0 0 0 0 +.syscon misc,MISCOMPARE,14,0,0,0,0,0 diff --git a/libc/sysv/consts/MLD_LISTENER_QUERY.S b/libc/sysv/consts/MLD_LISTENER_QUERY.S index 40a132f29ae..0e45255c255 100644 --- a/libc/sysv/consts/MLD_LISTENER_QUERY.S +++ b/libc/sysv/consts/MLD_LISTENER_QUERY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MLD_LISTENER_QUERY 130 130 130 130 130 0 +.syscon misc,MLD_LISTENER_QUERY,130,130,130,130,130,0 diff --git a/libc/sysv/consts/MLD_LISTENER_REDUCTION.S b/libc/sysv/consts/MLD_LISTENER_REDUCTION.S index 4227e59d92d..a1b4633a30e 100644 --- a/libc/sysv/consts/MLD_LISTENER_REDUCTION.S +++ b/libc/sysv/consts/MLD_LISTENER_REDUCTION.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MLD_LISTENER_REDUCTION 132 132 132 0 0 0 +.syscon misc,MLD_LISTENER_REDUCTION,132,132,132,0,0,0 diff --git a/libc/sysv/consts/MLD_LISTENER_REPORT.S b/libc/sysv/consts/MLD_LISTENER_REPORT.S index e4b40f02af1..3f7e4cced8b 100644 --- a/libc/sysv/consts/MLD_LISTENER_REPORT.S +++ b/libc/sysv/consts/MLD_LISTENER_REPORT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MLD_LISTENER_REPORT 131 131 131 131 131 0 +.syscon misc,MLD_LISTENER_REPORT,131,131,131,131,131,0 diff --git a/libc/sysv/consts/MMAP_PAGE_ZERO.S b/libc/sysv/consts/MMAP_PAGE_ZERO.S index 91cbad2710d..897e1e74ec9 100644 --- a/libc/sysv/consts/MMAP_PAGE_ZERO.S +++ b/libc/sysv/consts/MMAP_PAGE_ZERO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon prsnlty MMAP_PAGE_ZERO 0x0100000 -1 -1 -1 -1 -1 +.syscon prsnlty,MMAP_PAGE_ZERO,0x0100000,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/MNT_DETACH.S b/libc/sysv/consts/MNT_DETACH.S index 6092be4f639..97e2606beca 100644 --- a/libc/sysv/consts/MNT_DETACH.S +++ b/libc/sysv/consts/MNT_DETACH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MNT_DETACH 2 0 0 0 0 0 +.syscon misc,MNT_DETACH,2,0,0,0,0,0 diff --git a/libc/sysv/consts/MNT_EXPIRE.S b/libc/sysv/consts/MNT_EXPIRE.S index ec88c4da102..0b984b11148 100644 --- a/libc/sysv/consts/MNT_EXPIRE.S +++ b/libc/sysv/consts/MNT_EXPIRE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MNT_EXPIRE 4 0 0 0 0 0 +.syscon misc,MNT_EXPIRE,4,0,0,0,0,0 diff --git a/libc/sysv/consts/MNT_FORCE.S b/libc/sysv/consts/MNT_FORCE.S index 8425f1e7aff..eaa6679b6df 100644 --- a/libc/sysv/consts/MNT_FORCE.S +++ b/libc/sysv/consts/MNT_FORCE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MNT_FORCE 1 0x080000 0 0x080000 0x080000 0 +.syscon misc,MNT_FORCE,1,0x080000,0,0x080000,0x080000,0 diff --git a/libc/sysv/consts/MODE_B.S b/libc/sysv/consts/MODE_B.S index 20fdbf389eb..7385006b9e9 100644 --- a/libc/sysv/consts/MODE_B.S +++ b/libc/sysv/consts/MODE_B.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MODE_B 2 2 2 2 2 0 +.syscon misc,MODE_B,2,2,2,2,2,0 diff --git a/libc/sysv/consts/MODE_C.S b/libc/sysv/consts/MODE_C.S index 4ff04065080..8b01e205d99 100644 --- a/libc/sysv/consts/MODE_C.S +++ b/libc/sysv/consts/MODE_C.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MODE_C 3 3 3 3 3 0 +.syscon misc,MODE_C,3,3,3,3,3,0 diff --git a/libc/sysv/consts/MODE_S.S b/libc/sysv/consts/MODE_S.S index 8cbe6227537..80a10d82553 100644 --- a/libc/sysv/consts/MODE_S.S +++ b/libc/sysv/consts/MODE_S.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MODE_S 1 1 1 1 1 0 +.syscon misc,MODE_S,1,1,1,1,1,0 diff --git a/libc/sysv/consts/MODE_SELECT.S b/libc/sysv/consts/MODE_SELECT.S index f5da314035f..3521ec2b330 100644 --- a/libc/sysv/consts/MODE_SELECT.S +++ b/libc/sysv/consts/MODE_SELECT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MODE_SELECT 21 0 0 0 0 0 +.syscon misc,MODE_SELECT,21,0,0,0,0,0 diff --git a/libc/sysv/consts/MODE_SELECT_10.S b/libc/sysv/consts/MODE_SELECT_10.S index a1ff342e0d7..72200e6c60a 100644 --- a/libc/sysv/consts/MODE_SELECT_10.S +++ b/libc/sysv/consts/MODE_SELECT_10.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MODE_SELECT_10 85 0 0 0 0 0 +.syscon misc,MODE_SELECT_10,85,0,0,0,0,0 diff --git a/libc/sysv/consts/MODE_SENSE.S b/libc/sysv/consts/MODE_SENSE.S index 78da2af2634..40108da526f 100644 --- a/libc/sysv/consts/MODE_SENSE.S +++ b/libc/sysv/consts/MODE_SENSE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MODE_SENSE 26 0 0 0 0 0 +.syscon misc,MODE_SENSE,26,0,0,0,0,0 diff --git a/libc/sysv/consts/MODE_SENSE_10.S b/libc/sysv/consts/MODE_SENSE_10.S index 4040db27db8..ca1fd682b41 100644 --- a/libc/sysv/consts/MODE_SENSE_10.S +++ b/libc/sysv/consts/MODE_SENSE_10.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MODE_SENSE_10 90 0 0 0 0 0 +.syscon misc,MODE_SENSE_10,90,0,0,0,0,0 diff --git a/libc/sysv/consts/MOVE_MEDIUM.S b/libc/sysv/consts/MOVE_MEDIUM.S index 77d25b5597d..57a8a932a0b 100644 --- a/libc/sysv/consts/MOVE_MEDIUM.S +++ b/libc/sysv/consts/MOVE_MEDIUM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MOVE_MEDIUM 165 0 0 0 0 0 +.syscon misc,MOVE_MEDIUM,165,0,0,0,0,0 diff --git a/libc/sysv/consts/MQ_PRIO_MAX.S b/libc/sysv/consts/MQ_PRIO_MAX.S index 9d1521089d0..aad6c50ed5f 100644 --- a/libc/sysv/consts/MQ_PRIO_MAX.S +++ b/libc/sysv/consts/MQ_PRIO_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MQ_PRIO_MAX 0x8000 0 0x40 0 0 0 +.syscon misc,MQ_PRIO_MAX,0x8000,0,0x40,0,0,0 diff --git a/libc/sysv/consts/MREMAP_FIXED.S b/libc/sysv/consts/MREMAP_FIXED.S index aed58e10962..1728f93b201 100644 --- a/libc/sysv/consts/MREMAP_FIXED.S +++ b/libc/sysv/consts/MREMAP_FIXED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mremap MREMAP_FIXED 2 2 2 2 2 2 +.syscon mremap,MREMAP_FIXED,2,2,2,2,2,2 diff --git a/libc/sysv/consts/MREMAP_MAYMOVE.S b/libc/sysv/consts/MREMAP_MAYMOVE.S index be2562b4460..dff45ee3c77 100644 --- a/libc/sysv/consts/MREMAP_MAYMOVE.S +++ b/libc/sysv/consts/MREMAP_MAYMOVE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mremap MREMAP_MAYMOVE 1 1 1 1 1 1 +.syscon mremap,MREMAP_MAYMOVE,1,1,1,1,1,1 diff --git a/libc/sysv/consts/MSG_BATCH.S b/libc/sysv/consts/MSG_BATCH.S index 59cbfbbf40b..86323c445b4 100644 --- a/libc/sysv/consts/MSG_BATCH.S +++ b/libc/sysv/consts/MSG_BATCH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_BATCH 0x040000 0 0 0 0 0 +.syscon msg,MSG_BATCH,0x040000,0,0,0,0,0 diff --git a/libc/sysv/consts/MSG_CMSG_CLOEXEC.S b/libc/sysv/consts/MSG_CMSG_CLOEXEC.S index 1340baf8851..31b22502af6 100644 --- a/libc/sysv/consts/MSG_CMSG_CLOEXEC.S +++ b/libc/sysv/consts/MSG_CMSG_CLOEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_CMSG_CLOEXEC 0x40000000 0 0x040000 0x0800 0x0800 0 +.syscon msg,MSG_CMSG_CLOEXEC,0x40000000,0,0x040000,0x0800,0x0800,0 diff --git a/libc/sysv/consts/MSG_CONFIRM.S b/libc/sysv/consts/MSG_CONFIRM.S index f573a320b35..330cb58b590 100644 --- a/libc/sysv/consts/MSG_CONFIRM.S +++ b/libc/sysv/consts/MSG_CONFIRM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_CONFIRM 0x0800 0 0 0 0 0 +.syscon msg,MSG_CONFIRM,0x0800,0,0,0,0,0 diff --git a/libc/sysv/consts/MSG_CTRUNC.S b/libc/sysv/consts/MSG_CTRUNC.S index 133721f2e3b..d3228af5879 100644 --- a/libc/sysv/consts/MSG_CTRUNC.S +++ b/libc/sysv/consts/MSG_CTRUNC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_CTRUNC 8 0x20 0x20 0x20 0x20 0x0200 +.syscon msg,MSG_CTRUNC,8,0x20,0x20,0x20,0x20,0x0200 diff --git a/libc/sysv/consts/MSG_DONTROUTE.S b/libc/sysv/consts/MSG_DONTROUTE.S index 516c073de8a..8cfe5e61764 100644 --- a/libc/sysv/consts/MSG_DONTROUTE.S +++ b/libc/sysv/consts/MSG_DONTROUTE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_DONTROUTE 4 4 4 4 4 4 +.syscon msg,MSG_DONTROUTE,4,4,4,4,4,4 diff --git a/libc/sysv/consts/MSG_DONTWAIT.S b/libc/sysv/consts/MSG_DONTWAIT.S index 7b83ac4e7a5..0b82ea02ed6 100644 --- a/libc/sysv/consts/MSG_DONTWAIT.S +++ b/libc/sysv/consts/MSG_DONTWAIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_DONTWAIT 0x40 0x80 0x80 0x80 0x80 0 +.syscon msg,MSG_DONTWAIT,0x40,0x80,0x80,0x80,0x80,0 diff --git a/libc/sysv/consts/MSG_EOR.S b/libc/sysv/consts/MSG_EOR.S index 4ff9a1e0a05..0ff8a544231 100644 --- a/libc/sysv/consts/MSG_EOR.S +++ b/libc/sysv/consts/MSG_EOR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_EOR 0x80 8 8 8 8 0 +.syscon msg,MSG_EOR,0x80,8,8,8,8,0 diff --git a/libc/sysv/consts/MSG_ERRQUEUE.S b/libc/sysv/consts/MSG_ERRQUEUE.S index dcd5c2c31c9..c3df9de4fad 100644 --- a/libc/sysv/consts/MSG_ERRQUEUE.S +++ b/libc/sysv/consts/MSG_ERRQUEUE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_ERRQUEUE 0x2000 0 0 0 0 0x1000 +.syscon msg,MSG_ERRQUEUE,0x2000,0,0,0,0,0x1000 diff --git a/libc/sysv/consts/MSG_EXCEPT.S b/libc/sysv/consts/MSG_EXCEPT.S index 16f6ccbc8c7..0f54f2e0359 100644 --- a/libc/sysv/consts/MSG_EXCEPT.S +++ b/libc/sysv/consts/MSG_EXCEPT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_EXCEPT 0x2000 0 0 0 0 0 +.syscon msg,MSG_EXCEPT,0x2000,0,0,0,0,0 diff --git a/libc/sysv/consts/MSG_FASTOPEN.S b/libc/sysv/consts/MSG_FASTOPEN.S index 289b20c3c82..1710c272895 100644 --- a/libc/sysv/consts/MSG_FASTOPEN.S +++ b/libc/sysv/consts/MSG_FASTOPEN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_FASTOPEN 0x20000000 0 0 0 0 0 +.syscon msg,MSG_FASTOPEN,0x20000000,0,0,0,0,0 diff --git a/libc/sysv/consts/MSG_FIN.S b/libc/sysv/consts/MSG_FIN.S index d2e25a1151d..3b36ebc8b1c 100644 --- a/libc/sysv/consts/MSG_FIN.S +++ b/libc/sysv/consts/MSG_FIN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_FIN 0x0200 0 0 0 0 0 +.syscon msg,MSG_FIN,0x0200,0,0,0,0,0 diff --git a/libc/sysv/consts/MSG_INFO.S b/libc/sysv/consts/MSG_INFO.S index 9434158590b..31e865fbe17 100644 --- a/libc/sysv/consts/MSG_INFO.S +++ b/libc/sysv/consts/MSG_INFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_INFO 12 0 0 0 0 0 +.syscon msg,MSG_INFO,12,0,0,0,0,0 diff --git a/libc/sysv/consts/MSG_MORE.S b/libc/sysv/consts/MSG_MORE.S index 521fd95bcd3..a52d3284947 100644 --- a/libc/sysv/consts/MSG_MORE.S +++ b/libc/sysv/consts/MSG_MORE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_MORE 0x8000 0 0 0 0 0 +.syscon msg,MSG_MORE,0x8000,0,0,0,0,0 diff --git a/libc/sysv/consts/MSG_NOERROR.S b/libc/sysv/consts/MSG_NOERROR.S index be556aa168f..55899e81fe1 100644 --- a/libc/sysv/consts/MSG_NOERROR.S +++ b/libc/sysv/consts/MSG_NOERROR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_NOERROR 0x1000 0x1000 0x1000 0x1000 0x1000 0 +.syscon msg,MSG_NOERROR,0x1000,0x1000,0x1000,0x1000,0x1000,0 diff --git a/libc/sysv/consts/MSG_NOSIGNAL.S b/libc/sysv/consts/MSG_NOSIGNAL.S index b881f593662..449aa81e48f 100644 --- a/libc/sysv/consts/MSG_NOSIGNAL.S +++ b/libc/sysv/consts/MSG_NOSIGNAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_NOSIGNAL 0x4000 0 0x020000 0x0400 0x0400 0 +.syscon msg,MSG_NOSIGNAL,0x4000,0,0x020000,0x0400,0x0400,0 diff --git a/libc/sysv/consts/MSG_OOB.S b/libc/sysv/consts/MSG_OOB.S index 4069a6b8bcd..ae704f42557 100644 --- a/libc/sysv/consts/MSG_OOB.S +++ b/libc/sysv/consts/MSG_OOB.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_OOB 1 1 1 1 1 1 +.syscon msg,MSG_OOB,1,1,1,1,1,1 diff --git a/libc/sysv/consts/MSG_PARITY_ERROR.S b/libc/sysv/consts/MSG_PARITY_ERROR.S index 2fb549b7f45..f1fc82e3f1e 100644 --- a/libc/sysv/consts/MSG_PARITY_ERROR.S +++ b/libc/sysv/consts/MSG_PARITY_ERROR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_PARITY_ERROR 9 0 0 0 0 0 +.syscon msg,MSG_PARITY_ERROR,9,0,0,0,0,0 diff --git a/libc/sysv/consts/MSG_PEEK.S b/libc/sysv/consts/MSG_PEEK.S index 96c1c2ba566..f1a3ba251d6 100644 --- a/libc/sysv/consts/MSG_PEEK.S +++ b/libc/sysv/consts/MSG_PEEK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_PEEK 2 2 2 2 2 2 +.syscon msg,MSG_PEEK,2,2,2,2,2,2 diff --git a/libc/sysv/consts/MSG_PROXY.S b/libc/sysv/consts/MSG_PROXY.S index 202e23114e7..7257517562c 100644 --- a/libc/sysv/consts/MSG_PROXY.S +++ b/libc/sysv/consts/MSG_PROXY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_PROXY 0x10 0 0 0 0 0 +.syscon msg,MSG_PROXY,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/MSG_RST.S b/libc/sysv/consts/MSG_RST.S index 0732a036a6c..a383395253e 100644 --- a/libc/sysv/consts/MSG_RST.S +++ b/libc/sysv/consts/MSG_RST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_RST 0x1000 0 0 0 0 0 +.syscon msg,MSG_RST,0x1000,0,0,0,0,0 diff --git a/libc/sysv/consts/MSG_STAT.S b/libc/sysv/consts/MSG_STAT.S index 92a4ce4b339..50e5a0b4de2 100644 --- a/libc/sysv/consts/MSG_STAT.S +++ b/libc/sysv/consts/MSG_STAT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_STAT 11 0 0 0 0 0 +.syscon msg,MSG_STAT,11,0,0,0,0,0 diff --git a/libc/sysv/consts/MSG_SYN.S b/libc/sysv/consts/MSG_SYN.S index 925a8290e07..1c893db708d 100644 --- a/libc/sysv/consts/MSG_SYN.S +++ b/libc/sysv/consts/MSG_SYN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_SYN 0x0400 0 0 0 0 0 +.syscon msg,MSG_SYN,0x0400,0,0,0,0,0 diff --git a/libc/sysv/consts/MSG_TRUNC.S b/libc/sysv/consts/MSG_TRUNC.S index 116112c910c..80818d9523c 100644 --- a/libc/sysv/consts/MSG_TRUNC.S +++ b/libc/sysv/consts/MSG_TRUNC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_TRUNC 0x20 0x10 0x10 0x10 0x10 0x0100 +.syscon msg,MSG_TRUNC,0x20,0x10,0x10,0x10,0x10,0x0100 diff --git a/libc/sysv/consts/MSG_WAITALL.S b/libc/sysv/consts/MSG_WAITALL.S index 028ccb05e68..d6eb1b7ab3f 100644 --- a/libc/sysv/consts/MSG_WAITALL.S +++ b/libc/sysv/consts/MSG_WAITALL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_WAITALL 0x0100 0x40 0x40 0x40 0x40 8 +.syscon msg,MSG_WAITALL,0x0100,0x40,0x40,0x40,0x40,8 diff --git a/libc/sysv/consts/MSG_WAITFORONE.S b/libc/sysv/consts/MSG_WAITFORONE.S index fc5a8d1e64c..8efc2c230cf 100644 --- a/libc/sysv/consts/MSG_WAITFORONE.S +++ b/libc/sysv/consts/MSG_WAITFORONE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon msg MSG_WAITFORONE 0x010000 0 0x080000 0 0x2000 0 +.syscon msg,MSG_WAITFORONE,0x010000,0,0x080000,0,0x2000,0 diff --git a/libc/sysv/consts/MS_ACTIVE.S b/libc/sysv/consts/MS_ACTIVE.S index 9edd521e03c..fe69447c18d 100644 --- a/libc/sysv/consts/MS_ACTIVE.S +++ b/libc/sysv/consts/MS_ACTIVE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_ACTIVE 0x40000000 0 0 0 0 0 +.syscon mount,MS_ACTIVE,0x40000000,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_ASYNC.S b/libc/sysv/consts/MS_ASYNC.S index 9db6bb66f52..ff0ec98c01d 100644 --- a/libc/sysv/consts/MS_ASYNC.S +++ b/libc/sysv/consts/MS_ASYNC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ms MS_ASYNC 1 1 1 1 1 1 +.syscon ms,MS_ASYNC,1,1,1,1,1,1 diff --git a/libc/sysv/consts/MS_BIND.S b/libc/sysv/consts/MS_BIND.S index e81111ccc45..8e7d020ef30 100644 --- a/libc/sysv/consts/MS_BIND.S +++ b/libc/sysv/consts/MS_BIND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_BIND 0x1000 0 0 0 0 0 +.syscon mount,MS_BIND,0x1000,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_DIRSYNC.S b/libc/sysv/consts/MS_DIRSYNC.S index dfe93a1891c..f9c37f4f876 100644 --- a/libc/sysv/consts/MS_DIRSYNC.S +++ b/libc/sysv/consts/MS_DIRSYNC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_DIRSYNC 0x80 0 0 0 0 0 +.syscon mount,MS_DIRSYNC,0x80,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_INVALIDATE.S b/libc/sysv/consts/MS_INVALIDATE.S index b16f071e334..fc2fc01a7d2 100644 --- a/libc/sysv/consts/MS_INVALIDATE.S +++ b/libc/sysv/consts/MS_INVALIDATE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ms MS_INVALIDATE 2 2 2 4 2 0 +.syscon ms,MS_INVALIDATE,2,2,2,4,2,0 diff --git a/libc/sysv/consts/MS_I_VERSION.S b/libc/sysv/consts/MS_I_VERSION.S index 330711b43e3..5ef36431838 100644 --- a/libc/sysv/consts/MS_I_VERSION.S +++ b/libc/sysv/consts/MS_I_VERSION.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_I_VERSION 0x800000 0 0 0 0 0 +.syscon mount,MS_I_VERSION,0x800000,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_KERNMOUNT.S b/libc/sysv/consts/MS_KERNMOUNT.S index 1de706a3d4d..55ffadeb288 100644 --- a/libc/sysv/consts/MS_KERNMOUNT.S +++ b/libc/sysv/consts/MS_KERNMOUNT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_KERNMOUNT 0x400000 0 0 0 0 0 +.syscon mount,MS_KERNMOUNT,0x400000,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_LAZYTIME.S b/libc/sysv/consts/MS_LAZYTIME.S index a2cd7b615aa..3648887fdcb 100644 --- a/libc/sysv/consts/MS_LAZYTIME.S +++ b/libc/sysv/consts/MS_LAZYTIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_LAZYTIME 0x02000000 0 0 0 0 0 +.syscon mount,MS_LAZYTIME,0x02000000,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_MANDLOCK.S b/libc/sysv/consts/MS_MANDLOCK.S index 62712a1d3fd..7b873647435 100644 --- a/libc/sysv/consts/MS_MANDLOCK.S +++ b/libc/sysv/consts/MS_MANDLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_MANDLOCK 0x40 0 0 0 0 0 +.syscon mount,MS_MANDLOCK,0x40,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_MGC_MSK.S b/libc/sysv/consts/MS_MGC_MSK.S index 519ebbd14b2..73a19e58d34 100644 --- a/libc/sysv/consts/MS_MGC_MSK.S +++ b/libc/sysv/consts/MS_MGC_MSK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_MGC_MSK 0xffff0000 0 0 0 0 0 +.syscon mount,MS_MGC_MSK,0xffff0000,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_MGC_VAL.S b/libc/sysv/consts/MS_MGC_VAL.S index 9f498c7c23d..ed0844bf9fc 100644 --- a/libc/sysv/consts/MS_MGC_VAL.S +++ b/libc/sysv/consts/MS_MGC_VAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_MGC_VAL 0xc0ed0000 0 0 0 0 0 +.syscon mount,MS_MGC_VAL,0xc0ed0000,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_MOVE.S b/libc/sysv/consts/MS_MOVE.S index ecdcdcb346c..4bd85fcf8a3 100644 --- a/libc/sysv/consts/MS_MOVE.S +++ b/libc/sysv/consts/MS_MOVE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_MOVE 0x2000 0 0 0 0 0 +.syscon mount,MS_MOVE,0x2000,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_NOATIME.S b/libc/sysv/consts/MS_NOATIME.S index 04cf0d34430..039f521eb06 100644 --- a/libc/sysv/consts/MS_NOATIME.S +++ b/libc/sysv/consts/MS_NOATIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_NOATIME 0x0400 0 0 0 0 0 +.syscon mount,MS_NOATIME,0x0400,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_NODEV.S b/libc/sysv/consts/MS_NODEV.S index 079f4e66c47..9a3603bad3f 100644 --- a/libc/sysv/consts/MS_NODEV.S +++ b/libc/sysv/consts/MS_NODEV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_NODEV 4 0 0 0 0 0 +.syscon mount,MS_NODEV,4,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_NODIRATIME.S b/libc/sysv/consts/MS_NODIRATIME.S index ee7fba17a4e..ee5aba233f3 100644 --- a/libc/sysv/consts/MS_NODIRATIME.S +++ b/libc/sysv/consts/MS_NODIRATIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_NODIRATIME 0x0800 0 0 0 0 0 +.syscon mount,MS_NODIRATIME,0x0800,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_NOEXEC.S b/libc/sysv/consts/MS_NOEXEC.S index c9918e56244..7548693598b 100644 --- a/libc/sysv/consts/MS_NOEXEC.S +++ b/libc/sysv/consts/MS_NOEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_NOEXEC 8 0 0 0 0 0 +.syscon mount,MS_NOEXEC,8,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_NOSUID.S b/libc/sysv/consts/MS_NOSUID.S index 06f1d58220c..fc3c73faf10 100644 --- a/libc/sysv/consts/MS_NOSUID.S +++ b/libc/sysv/consts/MS_NOSUID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_NOSUID 2 0 0 0 0 0 +.syscon mount,MS_NOSUID,2,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_NOUSER.S b/libc/sysv/consts/MS_NOUSER.S index 01121193b92..e6da20356b2 100644 --- a/libc/sysv/consts/MS_NOUSER.S +++ b/libc/sysv/consts/MS_NOUSER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_NOUSER -2147483648 0 0 0 0 0 +.syscon mount,MS_NOUSER,-2147483648,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_POSIXACL.S b/libc/sysv/consts/MS_POSIXACL.S index a58017de082..e2640c92f63 100644 --- a/libc/sysv/consts/MS_POSIXACL.S +++ b/libc/sysv/consts/MS_POSIXACL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_POSIXACL 0x010000 0 0 0 0 0 +.syscon mount,MS_POSIXACL,0x010000,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_PRIVATE.S b/libc/sysv/consts/MS_PRIVATE.S index 32351fb7ec0..545448b1482 100644 --- a/libc/sysv/consts/MS_PRIVATE.S +++ b/libc/sysv/consts/MS_PRIVATE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_PRIVATE 0x040000 0 0 0 0 0 +.syscon mount,MS_PRIVATE,0x040000,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_RDONLY.S b/libc/sysv/consts/MS_RDONLY.S index 3d9850861a5..f54a70c6c9d 100644 --- a/libc/sysv/consts/MS_RDONLY.S +++ b/libc/sysv/consts/MS_RDONLY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_RDONLY 1 0 0 0 0 0 +.syscon mount,MS_RDONLY,1,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_REC.S b/libc/sysv/consts/MS_REC.S index 174853b0e2b..86c13ef0e0f 100644 --- a/libc/sysv/consts/MS_REC.S +++ b/libc/sysv/consts/MS_REC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_REC 0x4000 0 0 0 0 0 +.syscon mount,MS_REC,0x4000,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_RELATIME.S b/libc/sysv/consts/MS_RELATIME.S index df8a20d2112..1547006ee9c 100644 --- a/libc/sysv/consts/MS_RELATIME.S +++ b/libc/sysv/consts/MS_RELATIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_RELATIME 0x200000 0 0 0 0 0 +.syscon mount,MS_RELATIME,0x200000,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_REMOUNT.S b/libc/sysv/consts/MS_REMOUNT.S index e2f1b6d0915..72ad2f5afcd 100644 --- a/libc/sysv/consts/MS_REMOUNT.S +++ b/libc/sysv/consts/MS_REMOUNT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_REMOUNT 0x20 0 0 0 0 0 +.syscon mount,MS_REMOUNT,0x20,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_RMT_MASK.S b/libc/sysv/consts/MS_RMT_MASK.S index 32c440c1c87..035e40b18eb 100644 --- a/libc/sysv/consts/MS_RMT_MASK.S +++ b/libc/sysv/consts/MS_RMT_MASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_RMT_MASK 0x02800051 0 0 0 0 0 +.syscon mount,MS_RMT_MASK,0x02800051,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_SHARED.S b/libc/sysv/consts/MS_SHARED.S index 17e40c8934d..0c0cdd0a363 100644 --- a/libc/sysv/consts/MS_SHARED.S +++ b/libc/sysv/consts/MS_SHARED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_SHARED 0x100000 0 0 0 0 0 +.syscon mount,MS_SHARED,0x100000,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_SILENT.S b/libc/sysv/consts/MS_SILENT.S index 3ac03d24c08..7c2511f45c8 100644 --- a/libc/sysv/consts/MS_SILENT.S +++ b/libc/sysv/consts/MS_SILENT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_SILENT 0x8000 0 0 0 0 0 +.syscon mount,MS_SILENT,0x8000,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_SLAVE.S b/libc/sysv/consts/MS_SLAVE.S index 62b3b1ea212..a69463caa81 100644 --- a/libc/sysv/consts/MS_SLAVE.S +++ b/libc/sysv/consts/MS_SLAVE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_SLAVE 0x080000 0 0 0 0 0 +.syscon mount,MS_SLAVE,0x080000,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_STRICTATIME.S b/libc/sysv/consts/MS_STRICTATIME.S index deb952c2fa6..fdf1da5d70f 100644 --- a/libc/sysv/consts/MS_STRICTATIME.S +++ b/libc/sysv/consts/MS_STRICTATIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_STRICTATIME 0x01000000 0 0 0 0 0 +.syscon mount,MS_STRICTATIME,0x01000000,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_SYNC.S b/libc/sysv/consts/MS_SYNC.S index 0d8bbf2509e..1141b89a2f6 100644 --- a/libc/sysv/consts/MS_SYNC.S +++ b/libc/sysv/consts/MS_SYNC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ms MS_SYNC 4 16 0 2 4 4 +.syscon ms,MS_SYNC,4,16,0,2,4,4 diff --git a/libc/sysv/consts/MS_SYNCHRONOUS.S b/libc/sysv/consts/MS_SYNCHRONOUS.S index 3f62fb6ed40..686e04fa134 100644 --- a/libc/sysv/consts/MS_SYNCHRONOUS.S +++ b/libc/sysv/consts/MS_SYNCHRONOUS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_SYNCHRONOUS 0x10 0 0 0 0 0 +.syscon mount,MS_SYNCHRONOUS,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/MS_UNBINDABLE.S b/libc/sysv/consts/MS_UNBINDABLE.S index 8691ca5644a..b347b45513c 100644 --- a/libc/sysv/consts/MS_UNBINDABLE.S +++ b/libc/sysv/consts/MS_UNBINDABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mount MS_UNBINDABLE 0x020000 0 0 0 0 0 +.syscon mount,MS_UNBINDABLE,0x020000,0,0,0,0,0 diff --git a/libc/sysv/consts/MTCOMPRESSION.S b/libc/sysv/consts/MTCOMPRESSION.S index 15e683ab9fc..1a814496b7a 100644 --- a/libc/sysv/consts/MTCOMPRESSION.S +++ b/libc/sysv/consts/MTCOMPRESSION.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MTCOMPRESSION 0x20 0 0 0 0 0 +.syscon misc,MTCOMPRESSION,0x20,0,0,0,0,0 diff --git a/libc/sysv/consts/MTERASE.S b/libc/sysv/consts/MTERASE.S index 28433810f7d..a347daba899 100644 --- a/libc/sysv/consts/MTERASE.S +++ b/libc/sysv/consts/MTERASE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MTERASE 13 0 12 9 9 0 +.syscon misc,MTERASE,13,0,12,9,9,0 diff --git a/libc/sysv/consts/MTFSFM.S b/libc/sysv/consts/MTFSFM.S index b6e5678fdb9..7880c068121 100644 --- a/libc/sysv/consts/MTFSFM.S +++ b/libc/sysv/consts/MTFSFM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MTFSFM 11 0 0 0 0 0 +.syscon misc,MTFSFM,11,0,0,0,0,0 diff --git a/libc/sysv/consts/MTLOAD.S b/libc/sysv/consts/MTLOAD.S index 1b036a993af..d1583229c5c 100644 --- a/libc/sysv/consts/MTLOAD.S +++ b/libc/sysv/consts/MTLOAD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MTLOAD 30 0 19 0 0 0 +.syscon misc,MTLOAD,30,0,19,0,0,0 diff --git a/libc/sysv/consts/MTLOCK.S b/libc/sysv/consts/MTLOCK.S index 888939b8eb8..396fc0ecab7 100644 --- a/libc/sysv/consts/MTLOCK.S +++ b/libc/sysv/consts/MTLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MTLOCK 28 0 0 0 0 0 +.syscon misc,MTLOCK,28,0,0,0,0,0 diff --git a/libc/sysv/consts/MTMKPART.S b/libc/sysv/consts/MTMKPART.S index 1837397c5a8..1fc64f720a4 100644 --- a/libc/sysv/consts/MTMKPART.S +++ b/libc/sysv/consts/MTMKPART.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MTMKPART 34 0 0 0 0 0 +.syscon misc,MTMKPART,34,0,0,0,0,0 diff --git a/libc/sysv/consts/MTRAS1.S b/libc/sysv/consts/MTRAS1.S index c5ca8cd0b8e..a662fdbb8aa 100644 --- a/libc/sysv/consts/MTRAS1.S +++ b/libc/sysv/consts/MTRAS1.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MTRAS1 14 0 0 0 0 0 +.syscon misc,MTRAS1,14,0,0,0,0,0 diff --git a/libc/sysv/consts/MTRAS3.S b/libc/sysv/consts/MTRAS3.S index 6b0c0cb3c44..206e548a76e 100644 --- a/libc/sysv/consts/MTRAS3.S +++ b/libc/sysv/consts/MTRAS3.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MTRAS3 0x10 0 0 0 0 0 +.syscon misc,MTRAS3,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/MTRESET.S b/libc/sysv/consts/MTRESET.S index d00a1144c97..4fa8ac91c09 100644 --- a/libc/sysv/consts/MTRESET.S +++ b/libc/sysv/consts/MTRESET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MTRESET 0 0 0 0 0 0 +.syscon misc,MTRESET,0,0,0,0,0,0 diff --git a/libc/sysv/consts/MTRETEN.S b/libc/sysv/consts/MTRETEN.S index fd54a76218d..70226a0353d 100644 --- a/libc/sysv/consts/MTRETEN.S +++ b/libc/sysv/consts/MTRETEN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MTRETEN 9 0 0 8 8 0 +.syscon misc,MTRETEN,9,0,0,8,8,0 diff --git a/libc/sysv/consts/MTSETBLK.S b/libc/sysv/consts/MTSETBLK.S index 1a85a5ee7cb..34d6794264e 100644 --- a/libc/sysv/consts/MTSETBLK.S +++ b/libc/sysv/consts/MTSETBLK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MTSETBLK 20 0 0 0 0 0 +.syscon misc,MTSETBLK,20,0,0,0,0,0 diff --git a/libc/sysv/consts/MTSETDENSITY.S b/libc/sysv/consts/MTSETDENSITY.S index aab7ca0fc96..a887eb2ec00 100644 --- a/libc/sysv/consts/MTSETDENSITY.S +++ b/libc/sysv/consts/MTSETDENSITY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MTSETDENSITY 21 0 0 0 0 0 +.syscon misc,MTSETDENSITY,21,0,0,0,0,0 diff --git a/libc/sysv/consts/MTSETDRVBUFFER.S b/libc/sysv/consts/MTSETDRVBUFFER.S index da074cf6453..1d2342bc456 100644 --- a/libc/sysv/consts/MTSETDRVBUFFER.S +++ b/libc/sysv/consts/MTSETDRVBUFFER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MTSETDRVBUFFER 24 0 0 0 0 0 +.syscon misc,MTSETDRVBUFFER,24,0,0,0,0,0 diff --git a/libc/sysv/consts/MTSETPART.S b/libc/sysv/consts/MTSETPART.S index fb7ea29a056..276172486a7 100644 --- a/libc/sysv/consts/MTSETPART.S +++ b/libc/sysv/consts/MTSETPART.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MTSETPART 33 0 0 0 0 0 +.syscon misc,MTSETPART,33,0,0,0,0,0 diff --git a/libc/sysv/consts/MTUNLOAD.S b/libc/sysv/consts/MTUNLOAD.S index b604cc357c7..3bca9a290e9 100644 --- a/libc/sysv/consts/MTUNLOAD.S +++ b/libc/sysv/consts/MTUNLOAD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MTUNLOAD 31 0 0 0 0 0 +.syscon misc,MTUNLOAD,31,0,0,0,0,0 diff --git a/libc/sysv/consts/MTUNLOCK.S b/libc/sysv/consts/MTUNLOCK.S index 4e20ebecb06..b9defed0ff5 100644 --- a/libc/sysv/consts/MTUNLOCK.S +++ b/libc/sysv/consts/MTUNLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MTUNLOCK 29 0 0 0 0 0 +.syscon misc,MTUNLOCK,29,0,0,0,0,0 diff --git a/libc/sysv/consts/MT_ST_CAN_PARTITIONS.S b/libc/sysv/consts/MT_ST_CAN_PARTITIONS.S index f84d6b7b1b1..bfec3499137 100644 --- a/libc/sysv/consts/MT_ST_CAN_PARTITIONS.S +++ b/libc/sysv/consts/MT_ST_CAN_PARTITIONS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MT_ST_CAN_PARTITIONS 0x0400 0 0 0 0 0 +.syscon misc,MT_ST_CAN_PARTITIONS,0x0400,0,0,0,0,0 diff --git a/libc/sysv/consts/MT_ST_HPLOADER_OFFSET.S b/libc/sysv/consts/MT_ST_HPLOADER_OFFSET.S index a2e2f91444e..b7799006285 100644 --- a/libc/sysv/consts/MT_ST_HPLOADER_OFFSET.S +++ b/libc/sysv/consts/MT_ST_HPLOADER_OFFSET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MT_ST_HPLOADER_OFFSET 0x2710 0 0 0 0 0 +.syscon misc,MT_ST_HPLOADER_OFFSET,0x2710,0,0,0,0,0 diff --git a/libc/sysv/consts/MT_ST_SCSI2LOGICAL.S b/libc/sysv/consts/MT_ST_SCSI2LOGICAL.S index abefd344bff..6dfdfa0e511 100644 --- a/libc/sysv/consts/MT_ST_SCSI2LOGICAL.S +++ b/libc/sysv/consts/MT_ST_SCSI2LOGICAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc MT_ST_SCSI2LOGICAL 0x0800 0 0 0 0 0 +.syscon misc,MT_ST_SCSI2LOGICAL,0x0800,0,0,0,0,0 diff --git a/libc/sysv/consts/NBBY.S b/libc/sysv/consts/NBBY.S index f372173a07e..375fc53b779 100644 --- a/libc/sysv/consts/NBBY.S +++ b/libc/sysv/consts/NBBY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NBBY 8 8 8 8 8 0 +.syscon misc,NBBY,8,8,8,8,8,0 diff --git a/libc/sysv/consts/NCARGS.S b/libc/sysv/consts/NCARGS.S index aaf1845f3b5..e4d176f23fb 100644 --- a/libc/sysv/consts/NCARGS.S +++ b/libc/sysv/consts/NCARGS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NCARGS 0x020000 0x040000 0x040000 0x040000 0x040000 0 +.syscon misc,NCARGS,0x020000,0x040000,0x040000,0x040000,0x040000,0 diff --git a/libc/sysv/consts/NCCS.S b/libc/sysv/consts/NCCS.S index 8b018a64803..95c3953b003 100644 --- a/libc/sysv/consts/NCCS.S +++ b/libc/sysv/consts/NCCS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios NCCS 32 32 32 32 20 32 +.syscon termios,NCCS,32,32,32,32,20,32 diff --git a/libc/sysv/consts/ND_NA_FLAG_OVERRIDE.S b/libc/sysv/consts/ND_NA_FLAG_OVERRIDE.S index a6f69111eaa..31100452c1f 100644 --- a/libc/sysv/consts/ND_NA_FLAG_OVERRIDE.S +++ b/libc/sysv/consts/ND_NA_FLAG_OVERRIDE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nd ND_NA_FLAG_OVERRIDE 0x20 0x20 0x20 0x20 0x20 0x20000000 +.syscon nd,ND_NA_FLAG_OVERRIDE,0x20,0x20,0x20,0x20,0x20,0x20000000 diff --git a/libc/sysv/consts/ND_NA_FLAG_ROUTER.S b/libc/sysv/consts/ND_NA_FLAG_ROUTER.S index 5816bd04c96..9e3b2386cab 100644 --- a/libc/sysv/consts/ND_NA_FLAG_ROUTER.S +++ b/libc/sysv/consts/ND_NA_FLAG_ROUTER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nd ND_NA_FLAG_ROUTER 0x80 0x80 0x80 0x80 0x80 0x80000000 +.syscon nd,ND_NA_FLAG_ROUTER,0x80,0x80,0x80,0x80,0x80,0x80000000 diff --git a/libc/sysv/consts/ND_NA_FLAG_SOLICITED.S b/libc/sysv/consts/ND_NA_FLAG_SOLICITED.S index 38c0afed1af..a269ca43209 100644 --- a/libc/sysv/consts/ND_NA_FLAG_SOLICITED.S +++ b/libc/sysv/consts/ND_NA_FLAG_SOLICITED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nd ND_NA_FLAG_SOLICITED 0x40 0x40 0x40 0x40 0x40 0x40000000 +.syscon nd,ND_NA_FLAG_SOLICITED,0x40,0x40,0x40,0x40,0x40,0x40000000 diff --git a/libc/sysv/consts/ND_NEIGHBOR_ADVERT.S b/libc/sysv/consts/ND_NEIGHBOR_ADVERT.S index 9615c0ee842..ea844d6fb83 100644 --- a/libc/sysv/consts/ND_NEIGHBOR_ADVERT.S +++ b/libc/sysv/consts/ND_NEIGHBOR_ADVERT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nd ND_NEIGHBOR_ADVERT 136 136 136 136 136 0 +.syscon nd,ND_NEIGHBOR_ADVERT,136,136,136,136,136,0 diff --git a/libc/sysv/consts/ND_NEIGHBOR_SOLICIT.S b/libc/sysv/consts/ND_NEIGHBOR_SOLICIT.S index 6a792b85b24..6e9cf9967c4 100644 --- a/libc/sysv/consts/ND_NEIGHBOR_SOLICIT.S +++ b/libc/sysv/consts/ND_NEIGHBOR_SOLICIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nd ND_NEIGHBOR_SOLICIT 135 135 135 135 135 0 +.syscon nd,ND_NEIGHBOR_SOLICIT,135,135,135,135,135,0 diff --git a/libc/sysv/consts/ND_RA_FLAG_HOME_AGENT.S b/libc/sysv/consts/ND_RA_FLAG_HOME_AGENT.S index 91f088a72a6..b5474435a26 100644 --- a/libc/sysv/consts/ND_RA_FLAG_HOME_AGENT.S +++ b/libc/sysv/consts/ND_RA_FLAG_HOME_AGENT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nd ND_RA_FLAG_HOME_AGENT 0x20 0 0 0 0 0x20 +.syscon nd,ND_RA_FLAG_HOME_AGENT,0x20,0,0,0,0,0x20 diff --git a/libc/sysv/consts/ND_RA_FLAG_MANAGED.S b/libc/sysv/consts/ND_RA_FLAG_MANAGED.S index 31576463d0b..f82c394a807 100644 --- a/libc/sysv/consts/ND_RA_FLAG_MANAGED.S +++ b/libc/sysv/consts/ND_RA_FLAG_MANAGED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nd ND_RA_FLAG_MANAGED 0x80 0x80 0x80 0x80 0x80 0x80 +.syscon nd,ND_RA_FLAG_MANAGED,0x80,0x80,0x80,0x80,0x80,0x80 diff --git a/libc/sysv/consts/ND_RA_FLAG_OTHER.S b/libc/sysv/consts/ND_RA_FLAG_OTHER.S index 5cfef3511c8..9b6c68a3bd1 100644 --- a/libc/sysv/consts/ND_RA_FLAG_OTHER.S +++ b/libc/sysv/consts/ND_RA_FLAG_OTHER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nd ND_RA_FLAG_OTHER 0x40 0x40 0x40 0x40 0x40 0x40 +.syscon nd,ND_RA_FLAG_OTHER,0x40,0x40,0x40,0x40,0x40,0x40 diff --git a/libc/sysv/consts/ND_REDIRECT.S b/libc/sysv/consts/ND_REDIRECT.S index a1cfde67dde..4644874e1ca 100644 --- a/libc/sysv/consts/ND_REDIRECT.S +++ b/libc/sysv/consts/ND_REDIRECT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nd ND_REDIRECT 137 137 137 137 137 0 +.syscon nd,ND_REDIRECT,137,137,137,137,137,0 diff --git a/libc/sysv/consts/ND_ROUTER_ADVERT.S b/libc/sysv/consts/ND_ROUTER_ADVERT.S index 0bb476353b0..4ac749441bf 100644 --- a/libc/sysv/consts/ND_ROUTER_ADVERT.S +++ b/libc/sysv/consts/ND_ROUTER_ADVERT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nd ND_ROUTER_ADVERT 134 134 134 134 134 0 +.syscon nd,ND_ROUTER_ADVERT,134,134,134,134,134,0 diff --git a/libc/sysv/consts/ND_ROUTER_SOLICIT.S b/libc/sysv/consts/ND_ROUTER_SOLICIT.S index 83108564512..9b619ccec6b 100644 --- a/libc/sysv/consts/ND_ROUTER_SOLICIT.S +++ b/libc/sysv/consts/ND_ROUTER_SOLICIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nd ND_ROUTER_SOLICIT 133 133 133 133 133 0 +.syscon nd,ND_ROUTER_SOLICIT,133,133,133,133,133,0 diff --git a/libc/sysv/consts/NETGRAPHDISC.S b/libc/sysv/consts/NETGRAPHDISC.S index b4431e5253e..71fb4f79a88 100644 --- a/libc/sysv/consts/NETGRAPHDISC.S +++ b/libc/sysv/consts/NETGRAPHDISC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios NETGRAPHDISC 0 0 0x6 0 0 -1 +.syscon termios,NETGRAPHDISC,0,0,0x6,0,0,-1 diff --git a/libc/sysv/consts/NEW_TIME.S b/libc/sysv/consts/NEW_TIME.S index 16430bc248f..36e1479058d 100644 --- a/libc/sysv/consts/NEW_TIME.S +++ b/libc/sysv/consts/NEW_TIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NEW_TIME 3 4 3 0 0 0 +.syscon misc,NEW_TIME,3,4,3,0,0,0 diff --git a/libc/sysv/consts/NFDBITS.S b/libc/sysv/consts/NFDBITS.S index 29db8ac746b..09c290bc774 100644 --- a/libc/sysv/consts/NFDBITS.S +++ b/libc/sysv/consts/NFDBITS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NFDBITS 0x40 0x20 0x40 0x20 0x20 0 +.syscon misc,NFDBITS,0x40,0x20,0x40,0x20,0x20,0 diff --git a/libc/sysv/consts/NGREG.S b/libc/sysv/consts/NGREG.S index 2277fdadd1d..4fcc715da4c 100644 --- a/libc/sysv/consts/NGREG.S +++ b/libc/sysv/consts/NGREG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NGREG 23 0 0 0 0 0 +.syscon misc,NGREG,23,0,0,0,0,0 diff --git a/libc/sysv/consts/NGROUPS.S b/libc/sysv/consts/NGROUPS.S index 95006ebd957..49d27302ffc 100644 --- a/libc/sysv/consts/NGROUPS.S +++ b/libc/sysv/consts/NGROUPS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NGROUPS 0x010000 0x10 0x0400 0x10 0x10 0 +.syscon misc,NGROUPS,0x010000,0x10,0x0400,0x10,0x10,0 diff --git a/libc/sysv/consts/NGROUPS_MAX.S b/libc/sysv/consts/NGROUPS_MAX.S index 7833206d0d8..e1eccd19e06 100644 --- a/libc/sysv/consts/NGROUPS_MAX.S +++ b/libc/sysv/consts/NGROUPS_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NGROUPS_MAX 0x010000 0x10 0x03ff 0x10 0x10 0 +.syscon misc,NGROUPS_MAX,0x010000,0x10,0x03ff,0x10,0x10,0 diff --git a/libc/sysv/consts/NI_DGRAM.S b/libc/sysv/consts/NI_DGRAM.S index 2f0ef06b92a..a1c84b41d71 100644 --- a/libc/sysv/consts/NI_DGRAM.S +++ b/libc/sysv/consts/NI_DGRAM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NI_DGRAM 0x10 0x10 0x10 0x10 0x10 0x10 +.syscon misc,NI_DGRAM,0x10,0x10,0x10,0x10,0x10,0x10 diff --git a/libc/sysv/consts/NI_MAXHOST.S b/libc/sysv/consts/NI_MAXHOST.S index 5b7a61c2f79..b42aeb6b6b0 100644 --- a/libc/sysv/consts/NI_MAXHOST.S +++ b/libc/sysv/consts/NI_MAXHOST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NI_MAXHOST 0x0401 0x0401 0x0401 0x0100 0x0100 0x0401 +.syscon misc,NI_MAXHOST,0x0401,0x0401,0x0401,0x0100,0x0100,0x0401 diff --git a/libc/sysv/consts/NI_MAXSERV.S b/libc/sysv/consts/NI_MAXSERV.S index 08c2bfefbe7..2308db4f3a4 100644 --- a/libc/sysv/consts/NI_MAXSERV.S +++ b/libc/sysv/consts/NI_MAXSERV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NI_MAXSERV 0x20 0x20 0x20 0x20 0x20 0x20 +.syscon misc,NI_MAXSERV,0x20,0x20,0x20,0x20,0x20,0x20 diff --git a/libc/sysv/consts/NI_NAMEREQD.S b/libc/sysv/consts/NI_NAMEREQD.S index 53c3392dee0..e18fb32eac0 100644 --- a/libc/sysv/consts/NI_NAMEREQD.S +++ b/libc/sysv/consts/NI_NAMEREQD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NI_NAMEREQD 8 4 4 8 8 4 +.syscon misc,NI_NAMEREQD,8,4,4,8,8,4 diff --git a/libc/sysv/consts/NI_NOFQDN.S b/libc/sysv/consts/NI_NOFQDN.S index 374fb6f66cd..fa0e4451084 100644 --- a/libc/sysv/consts/NI_NOFQDN.S +++ b/libc/sysv/consts/NI_NOFQDN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NI_NOFQDN 4 1 1 4 4 1 +.syscon misc,NI_NOFQDN,4,1,1,4,4,1 diff --git a/libc/sysv/consts/NI_NUMERICHOST.S b/libc/sysv/consts/NI_NUMERICHOST.S index 97b9f80daf0..74b4af40781 100644 --- a/libc/sysv/consts/NI_NUMERICHOST.S +++ b/libc/sysv/consts/NI_NUMERICHOST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NI_NUMERICHOST 1 2 2 1 1 2 +.syscon misc,NI_NUMERICHOST,1,2,2,1,1,2 diff --git a/libc/sysv/consts/NI_NUMERICSCOPE.S b/libc/sysv/consts/NI_NUMERICSCOPE.S index 3d62370a1c5..8d7401dbd9c 100644 --- a/libc/sysv/consts/NI_NUMERICSCOPE.S +++ b/libc/sysv/consts/NI_NUMERICSCOPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NI_NUMERICSCOPE 0 0 0x20 0 0 0 +.syscon misc,NI_NUMERICSCOPE,0,0,0x20,0,0,0 diff --git a/libc/sysv/consts/NI_NUMERICSERV.S b/libc/sysv/consts/NI_NUMERICSERV.S index af3c1f52e0f..fe7711a70aa 100644 --- a/libc/sysv/consts/NI_NUMERICSERV.S +++ b/libc/sysv/consts/NI_NUMERICSERV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NI_NUMERICSERV 2 8 8 2 2 8 +.syscon misc,NI_NUMERICSERV,2,8,8,2,2,8 diff --git a/libc/sysv/consts/NL0.S b/libc/sysv/consts/NL0.S index 0412708d56d..073fa6c8d60 100644 --- a/libc/sysv/consts/NL0.S +++ b/libc/sysv/consts/NL0.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios NL0 0b0000000000000000 0b000000000000000000 0b000000000000000000 0 0 0b0000000000000000 +.syscon termios,NL0,0b0000000000000000,0b000000000000000000,0b000000000000000000,0,0,0b0000000000000000 diff --git a/libc/sysv/consts/NL1.S b/libc/sysv/consts/NL1.S index 3028a47f2b8..e63bb35cd8a 100644 --- a/libc/sysv/consts/NL1.S +++ b/libc/sysv/consts/NL1.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios NL1 0b0000000100000000 0b000000000100000000 0b000000000100000000 0 0 0b0000000100000000 +.syscon termios,NL1,0b0000000100000000,0b000000000100000000,0b000000000100000000,0,0,0b0000000100000000 diff --git a/libc/sysv/consts/NL2.S b/libc/sysv/consts/NL2.S index 82305f8cb92..8407a6aca1b 100644 --- a/libc/sysv/consts/NL2.S +++ b/libc/sysv/consts/NL2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios NL2 0 0b000000001000000000 0b000000001000000000 0 0 0 +.syscon termios,NL2,0,0b000000001000000000,0b000000001000000000,0,0,0 diff --git a/libc/sysv/consts/NL3.S b/libc/sysv/consts/NL3.S index 02d0913cdcd..1f9e92aec7b 100644 --- a/libc/sysv/consts/NL3.S +++ b/libc/sysv/consts/NL3.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios NL3 0 0b000000001100000000 0b000000001100000000 0 0 0 +.syscon termios,NL3,0,0b000000001100000000,0b000000001100000000,0,0,0 diff --git a/libc/sysv/consts/NLDLY.S b/libc/sysv/consts/NLDLY.S index cb2e7d28b01..c883c606e52 100644 --- a/libc/sysv/consts/NLDLY.S +++ b/libc/sysv/consts/NLDLY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios NLDLY 0b0000000100000000 0b000000001100000000 0b000000001100000000 0 0 0b0000000100000000 +.syscon termios,NLDLY,0b0000000100000000,0b000000001100000000,0b000000001100000000,0,0,0b0000000100000000 diff --git a/libc/sysv/consts/NL_ARGMAX.S b/libc/sysv/consts/NL_ARGMAX.S index 7bb32e76af2..8029886e837 100644 --- a/libc/sysv/consts/NL_ARGMAX.S +++ b/libc/sysv/consts/NL_ARGMAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NL_ARGMAX 0x1000 9 0x1000 9 9 0 +.syscon misc,NL_ARGMAX,0x1000,9,0x1000,9,9,0 diff --git a/libc/sysv/consts/NL_CAT_LOCALE.S b/libc/sysv/consts/NL_CAT_LOCALE.S index 35eddaf4507..b7b0b61fc2f 100644 --- a/libc/sysv/consts/NL_CAT_LOCALE.S +++ b/libc/sysv/consts/NL_CAT_LOCALE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NL_CAT_LOCALE 1 1 1 1 1 0 +.syscon misc,NL_CAT_LOCALE,1,1,1,1,1,0 diff --git a/libc/sysv/consts/NL_LANGMAX.S b/libc/sysv/consts/NL_LANGMAX.S index f63ddd1d05d..8668c98d6b0 100644 --- a/libc/sysv/consts/NL_LANGMAX.S +++ b/libc/sysv/consts/NL_LANGMAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NL_LANGMAX 0x0800 14 31 14 14 0 +.syscon misc,NL_LANGMAX,0x0800,14,31,14,14,0 diff --git a/libc/sysv/consts/NL_MSGMAX.S b/libc/sysv/consts/NL_MSGMAX.S index 5c0600dc8b4..92076b3cca5 100644 --- a/libc/sysv/consts/NL_MSGMAX.S +++ b/libc/sysv/consts/NL_MSGMAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NL_MSGMAX 0x7fffffff 0x7fff 0x7fff 0x7fff 0x7fff 0 +.syscon misc,NL_MSGMAX,0x7fffffff,0x7fff,0x7fff,0x7fff,0x7fff,0 diff --git a/libc/sysv/consts/NL_NMAX.S b/libc/sysv/consts/NL_NMAX.S index 5bc7cb68c8b..b73271b1868 100644 --- a/libc/sysv/consts/NL_NMAX.S +++ b/libc/sysv/consts/NL_NMAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NL_NMAX 0x7fffffff 1 1 0 0 0 +.syscon misc,NL_NMAX,0x7fffffff,1,1,0,0,0 diff --git a/libc/sysv/consts/NL_SETD.S b/libc/sysv/consts/NL_SETD.S index bf973256ee1..f7f8b3b79b4 100644 --- a/libc/sysv/consts/NL_SETD.S +++ b/libc/sysv/consts/NL_SETD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NL_SETD 1 1 0 1 1 0 +.syscon misc,NL_SETD,1,1,0,1,1,0 diff --git a/libc/sysv/consts/NL_SETMAX.S b/libc/sysv/consts/NL_SETMAX.S index 7739b1951c4..49b0c7d5a49 100644 --- a/libc/sysv/consts/NL_SETMAX.S +++ b/libc/sysv/consts/NL_SETMAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NL_SETMAX 0x7fffffff 255 255 255 255 0 +.syscon misc,NL_SETMAX,0x7fffffff,255,255,255,255,0 diff --git a/libc/sysv/consts/NL_TEXTMAX.S b/libc/sysv/consts/NL_TEXTMAX.S index 6dc5e5f4f7a..ae5d3959a3c 100644 --- a/libc/sysv/consts/NL_TEXTMAX.S +++ b/libc/sysv/consts/NL_TEXTMAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NL_TEXTMAX 0x7fffffff 0x0800 0x0800 255 255 0 +.syscon misc,NL_TEXTMAX,0x7fffffff,0x0800,0x0800,255,255,0 diff --git a/libc/sysv/consts/NMEADISC.S b/libc/sysv/consts/NMEADISC.S index 5943db23e9b..223733c05ca 100644 --- a/libc/sysv/consts/NMEADISC.S +++ b/libc/sysv/consts/NMEADISC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios NMEADISC 0 0 0 0x7 0x7 -1 +.syscon termios,NMEADISC,0,0,0,0x7,0x7,-1 diff --git a/libc/sysv/consts/NOEXPR.S b/libc/sysv/consts/NOEXPR.S index bdbce427631..dda607b4208 100644 --- a/libc/sysv/consts/NOEXPR.S +++ b/libc/sysv/consts/NOEXPR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NOEXPR 0x050001 53 53 49 49 0 +.syscon misc,NOEXPR,0x050001,53,53,49,49,0 diff --git a/libc/sysv/consts/NOFILE.S b/libc/sysv/consts/NOFILE.S index 289fb43a024..443b78c2956 100644 --- a/libc/sysv/consts/NOFILE.S +++ b/libc/sysv/consts/NOFILE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NOFILE 0x0100 0x0100 0x40 0x40 0x40 0 +.syscon misc,NOFILE,0x0100,0x0100,0x40,0x40,0x40,0 diff --git a/libc/sysv/consts/NOFLSH.S b/libc/sysv/consts/NOFLSH.S index 2a75f2c5022..90ad30617c6 100644 --- a/libc/sysv/consts/NOFLSH.S +++ b/libc/sysv/consts/NOFLSH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios NOFLSH 0b0000000010000000 2147483648 2147483648 2147483648 2147483648 0b0000000010000000 +.syscon termios,NOFLSH,0b0000000010000000,2147483648,2147483648,2147483648,2147483648,0b0000000010000000 diff --git a/libc/sysv/consts/NOGROUP.S b/libc/sysv/consts/NOGROUP.S index e06a1eff340..f7db809a065 100644 --- a/libc/sysv/consts/NOGROUP.S +++ b/libc/sysv/consts/NOGROUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NOGROUP -1 0xffff 0xffff 0xffff 0xffff 0 +.syscon misc,NOGROUP,-1,0xffff,0xffff,0xffff,0xffff,0 diff --git a/libc/sysv/consts/NOSTR.S b/libc/sysv/consts/NOSTR.S index c4e23dd334c..a1e9e29cd4e 100644 --- a/libc/sysv/consts/NOSTR.S +++ b/libc/sysv/consts/NOSTR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NOSTR 0x050003 55 55 48 48 0 +.syscon misc,NOSTR,0x050003,55,55,48,48,0 diff --git a/libc/sysv/consts/NO_ADDRESS.S b/libc/sysv/consts/NO_ADDRESS.S index fa772c5a2cb..09ea4576ba7 100644 --- a/libc/sysv/consts/NO_ADDRESS.S +++ b/libc/sysv/consts/NO_ADDRESS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NO_ADDRESS 4 4 4 4 4 0x2afc +.syscon misc,NO_ADDRESS,4,4,4,4,4,0x2afc diff --git a/libc/sysv/consts/NO_DATA.S b/libc/sysv/consts/NO_DATA.S index 4946bf64dc7..507c5b9429f 100644 --- a/libc/sysv/consts/NO_DATA.S +++ b/libc/sysv/consts/NO_DATA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NO_DATA 4 4 4 4 4 0x2afc +.syscon misc,NO_DATA,4,4,4,4,4,0x2afc diff --git a/libc/sysv/consts/NO_RECOVERY.S b/libc/sysv/consts/NO_RECOVERY.S index 0ed3f6f2cb4..d3fe0858ffb 100644 --- a/libc/sysv/consts/NO_RECOVERY.S +++ b/libc/sysv/consts/NO_RECOVERY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NO_RECOVERY 3 3 3 3 3 0x2afb +.syscon misc,NO_RECOVERY,3,3,3,3,3,0x2afb diff --git a/libc/sysv/consts/NO_SENSE.S b/libc/sysv/consts/NO_SENSE.S index af52f84fba5..e5f07b902de 100644 --- a/libc/sysv/consts/NO_SENSE.S +++ b/libc/sysv/consts/NO_SENSE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NO_SENSE 0 0 0 0 0 0 +.syscon misc,NO_SENSE,0,0,0,0,0,0 diff --git a/libc/sysv/consts/NR_DQHASH.S b/libc/sysv/consts/NR_DQHASH.S index 08823d26bf9..bf28514d8f6 100644 --- a/libc/sysv/consts/NR_DQHASH.S +++ b/libc/sysv/consts/NR_DQHASH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NR_DQHASH 43 0 0 0 0 0 +.syscon misc,NR_DQHASH,43,0,0,0,0,0 diff --git a/libc/sysv/consts/NR_DQUOTS.S b/libc/sysv/consts/NR_DQUOTS.S index bc33d2a6903..4c8d2039d1d 100644 --- a/libc/sysv/consts/NR_DQUOTS.S +++ b/libc/sysv/consts/NR_DQUOTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NR_DQUOTS 0x0100 0 0 0 0 0 +.syscon misc,NR_DQUOTS,0x0100,0,0,0,0,0 diff --git a/libc/sysv/consts/NS_DSA_MAX_BYTES.S b/libc/sysv/consts/NS_DSA_MAX_BYTES.S index 46965e58a48..d959e316abf 100644 --- a/libc/sysv/consts/NS_DSA_MAX_BYTES.S +++ b/libc/sysv/consts/NS_DSA_MAX_BYTES.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NS_DSA_MAX_BYTES 405 405 405 0 0 0 +.syscon misc,NS_DSA_MAX_BYTES,405,405,405,0,0,0 diff --git a/libc/sysv/consts/NS_DSA_MIN_SIZE.S b/libc/sysv/consts/NS_DSA_MIN_SIZE.S index 3e134dcf012..4b0873fc8d7 100644 --- a/libc/sysv/consts/NS_DSA_MIN_SIZE.S +++ b/libc/sysv/consts/NS_DSA_MIN_SIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NS_DSA_MIN_SIZE 213 213 213 0 0 0 +.syscon misc,NS_DSA_MIN_SIZE,213,213,213,0,0,0 diff --git a/libc/sysv/consts/NS_DSA_SIG_SIZE.S b/libc/sysv/consts/NS_DSA_SIG_SIZE.S index 47782533c11..dbc69dc744b 100644 --- a/libc/sysv/consts/NS_DSA_SIG_SIZE.S +++ b/libc/sysv/consts/NS_DSA_SIG_SIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NS_DSA_SIG_SIZE 41 41 41 0 0 0 +.syscon misc,NS_DSA_SIG_SIZE,41,41,41,0,0,0 diff --git a/libc/sysv/consts/NS_KEY_PROT_DNSSEC.S b/libc/sysv/consts/NS_KEY_PROT_DNSSEC.S index 72d01b63fda..79f3efe47be 100644 --- a/libc/sysv/consts/NS_KEY_PROT_DNSSEC.S +++ b/libc/sysv/consts/NS_KEY_PROT_DNSSEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NS_KEY_PROT_DNSSEC 3 3 3 0 0 0 +.syscon misc,NS_KEY_PROT_DNSSEC,3,3,3,0,0,0 diff --git a/libc/sysv/consts/NS_KEY_PROT_EMAIL.S b/libc/sysv/consts/NS_KEY_PROT_EMAIL.S index 8cbe06abc1e..cdb9226e9a6 100644 --- a/libc/sysv/consts/NS_KEY_PROT_EMAIL.S +++ b/libc/sysv/consts/NS_KEY_PROT_EMAIL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NS_KEY_PROT_EMAIL 2 2 2 0 0 0 +.syscon misc,NS_KEY_PROT_EMAIL,2,2,2,0,0,0 diff --git a/libc/sysv/consts/NS_KEY_PROT_IPSEC.S b/libc/sysv/consts/NS_KEY_PROT_IPSEC.S index 975657eb1ae..0258f1a65e8 100644 --- a/libc/sysv/consts/NS_KEY_PROT_IPSEC.S +++ b/libc/sysv/consts/NS_KEY_PROT_IPSEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NS_KEY_PROT_IPSEC 4 4 4 0 0 0 +.syscon misc,NS_KEY_PROT_IPSEC,4,4,4,0,0,0 diff --git a/libc/sysv/consts/NS_KEY_PROT_TLS.S b/libc/sysv/consts/NS_KEY_PROT_TLS.S index fc727f67d43..6b12b0f2f1f 100644 --- a/libc/sysv/consts/NS_KEY_PROT_TLS.S +++ b/libc/sysv/consts/NS_KEY_PROT_TLS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NS_KEY_PROT_TLS 1 1 1 0 0 0 +.syscon misc,NS_KEY_PROT_TLS,1,1,1,0,0,0 diff --git a/libc/sysv/consts/NS_KEY_RESERVED_BITMASK2.S b/libc/sysv/consts/NS_KEY_RESERVED_BITMASK2.S index 5cba1024b09..c5dc562fce6 100644 --- a/libc/sysv/consts/NS_KEY_RESERVED_BITMASK2.S +++ b/libc/sysv/consts/NS_KEY_RESERVED_BITMASK2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NS_KEY_RESERVED_BITMASK2 0xffff 0xffff 0xffff 0 0 0 +.syscon misc,NS_KEY_RESERVED_BITMASK2,0xffff,0xffff,0xffff,0,0,0 diff --git a/libc/sysv/consts/NS_NXT_MAX.S b/libc/sysv/consts/NS_NXT_MAX.S index 3e0f26a1b22..f39fc176435 100644 --- a/libc/sysv/consts/NS_NXT_MAX.S +++ b/libc/sysv/consts/NS_NXT_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NS_NXT_MAX 127 127 127 0 0 0 +.syscon misc,NS_NXT_MAX,127,127,127,0,0,0 diff --git a/libc/sysv/consts/NS_OPT_DNSSEC_OK.S b/libc/sysv/consts/NS_OPT_DNSSEC_OK.S index 026c1d434ed..abc510d46b5 100644 --- a/libc/sysv/consts/NS_OPT_DNSSEC_OK.S +++ b/libc/sysv/consts/NS_OPT_DNSSEC_OK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NS_OPT_DNSSEC_OK 0x8000 0x8000 0x8000 0 0 0 +.syscon misc,NS_OPT_DNSSEC_OK,0x8000,0x8000,0x8000,0,0,0 diff --git a/libc/sysv/consts/NS_TSIG_ERROR_FORMERR.S b/libc/sysv/consts/NS_TSIG_ERROR_FORMERR.S index 10ab38a8bd8..55b17b7d90d 100644 --- a/libc/sysv/consts/NS_TSIG_ERROR_FORMERR.S +++ b/libc/sysv/consts/NS_TSIG_ERROR_FORMERR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NS_TSIG_ERROR_FORMERR -12 -12 -12 0 0 0 +.syscon misc,NS_TSIG_ERROR_FORMERR,-12,-12,-12,0,0,0 diff --git a/libc/sysv/consts/NS_TSIG_ERROR_NO_SPACE.S b/libc/sysv/consts/NS_TSIG_ERROR_NO_SPACE.S index 26b55123bf6..f08dce74ba3 100644 --- a/libc/sysv/consts/NS_TSIG_ERROR_NO_SPACE.S +++ b/libc/sysv/consts/NS_TSIG_ERROR_NO_SPACE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NS_TSIG_ERROR_NO_SPACE -11 -11 -11 0 0 0 +.syscon misc,NS_TSIG_ERROR_NO_SPACE,-11,-11,-11,0,0,0 diff --git a/libc/sysv/consts/NS_TSIG_ERROR_NO_TSIG.S b/libc/sysv/consts/NS_TSIG_ERROR_NO_TSIG.S index d3f571e7e4a..a89012b5d13 100644 --- a/libc/sysv/consts/NS_TSIG_ERROR_NO_TSIG.S +++ b/libc/sysv/consts/NS_TSIG_ERROR_NO_TSIG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NS_TSIG_ERROR_NO_TSIG -10 -10 -10 0 0 0 +.syscon misc,NS_TSIG_ERROR_NO_TSIG,-10,-10,-10,0,0,0 diff --git a/libc/sysv/consts/NS_TSIG_FUDGE.S b/libc/sysv/consts/NS_TSIG_FUDGE.S index 5803cc3c3f4..24342c68958 100644 --- a/libc/sysv/consts/NS_TSIG_FUDGE.S +++ b/libc/sysv/consts/NS_TSIG_FUDGE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NS_TSIG_FUDGE 300 300 300 0 0 0 +.syscon misc,NS_TSIG_FUDGE,300,300,300,0,0,0 diff --git a/libc/sysv/consts/NS_TSIG_TCP_COUNT.S b/libc/sysv/consts/NS_TSIG_TCP_COUNT.S index b19e4910fe2..6ab05797580 100644 --- a/libc/sysv/consts/NS_TSIG_TCP_COUNT.S +++ b/libc/sysv/consts/NS_TSIG_TCP_COUNT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc NS_TSIG_TCP_COUNT 100 100 100 0 0 0 +.syscon misc,NS_TSIG_TCP_COUNT,100,100,100,0,0,0 diff --git a/libc/sysv/consts/NZERO.S b/libc/sysv/consts/NZERO.S index fc10f26e804..d9ac4493fce 100644 --- a/libc/sysv/consts/NZERO.S +++ b/libc/sysv/consts/NZERO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon prio NZERO 20 20 20 20 20 20 +.syscon prio,NZERO,20,20,20,20,20,20 diff --git a/libc/sysv/consts/N_6PACK.S b/libc/sysv/consts/N_6PACK.S index 867ccecc3bc..e586c77c135 100644 --- a/libc/sysv/consts/N_6PACK.S +++ b/libc/sysv/consts/N_6PACK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc N_6PACK 7 0 0 0 0 0 +.syscon misc,N_6PACK,7,0,0,0,0,0 diff --git a/libc/sysv/consts/N_AX25.S b/libc/sysv/consts/N_AX25.S index aab5a40b793..419af87ad14 100644 --- a/libc/sysv/consts/N_AX25.S +++ b/libc/sysv/consts/N_AX25.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc N_AX25 5 0 0 0 0 0 +.syscon misc,N_AX25,5,0,0,0,0,0 diff --git a/libc/sysv/consts/N_HCI.S b/libc/sysv/consts/N_HCI.S index 9e64b747a73..7ba225c8bce 100644 --- a/libc/sysv/consts/N_HCI.S +++ b/libc/sysv/consts/N_HCI.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc N_HCI 15 0 0 0 0 0 +.syscon misc,N_HCI,15,0,0,0,0,0 diff --git a/libc/sysv/consts/N_HDLC.S b/libc/sysv/consts/N_HDLC.S index 606d3dabcf3..4bfaf6faf7c 100644 --- a/libc/sysv/consts/N_HDLC.S +++ b/libc/sysv/consts/N_HDLC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc N_HDLC 13 0 0 0 0 0 +.syscon misc,N_HDLC,13,0,0,0,0,0 diff --git a/libc/sysv/consts/N_IRDA.S b/libc/sysv/consts/N_IRDA.S index eadac85fd5c..d8d0947dda4 100644 --- a/libc/sysv/consts/N_IRDA.S +++ b/libc/sysv/consts/N_IRDA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc N_IRDA 11 0 0 0 0 0 +.syscon misc,N_IRDA,11,0,0,0,0,0 diff --git a/libc/sysv/consts/N_MASC.S b/libc/sysv/consts/N_MASC.S index 954693f7e47..fce0457fb34 100644 --- a/libc/sysv/consts/N_MASC.S +++ b/libc/sysv/consts/N_MASC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc N_MASC 8 0 0 0 0 0 +.syscon misc,N_MASC,8,0,0,0,0,0 diff --git a/libc/sysv/consts/N_MOUSE.S b/libc/sysv/consts/N_MOUSE.S index 6de2cff8f10..5e36ef641ea 100644 --- a/libc/sysv/consts/N_MOUSE.S +++ b/libc/sysv/consts/N_MOUSE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc N_MOUSE 2 0 0 0 0 0 +.syscon misc,N_MOUSE,2,0,0,0,0,0 diff --git a/libc/sysv/consts/N_PPP.S b/libc/sysv/consts/N_PPP.S index 2163fecc23b..ddcc0f6a9ab 100644 --- a/libc/sysv/consts/N_PPP.S +++ b/libc/sysv/consts/N_PPP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc N_PPP 3 0 0 0 0 0 +.syscon misc,N_PPP,3,0,0,0,0,0 diff --git a/libc/sysv/consts/N_PROFIBUS_FDL.S b/libc/sysv/consts/N_PROFIBUS_FDL.S index 43f34136163..9706800809b 100644 --- a/libc/sysv/consts/N_PROFIBUS_FDL.S +++ b/libc/sysv/consts/N_PROFIBUS_FDL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc N_PROFIBUS_FDL 10 0 0 0 0 0 +.syscon misc,N_PROFIBUS_FDL,10,0,0,0,0,0 diff --git a/libc/sysv/consts/N_R3964.S b/libc/sysv/consts/N_R3964.S index 3c758e33e8f..6eddd11ee5d 100644 --- a/libc/sysv/consts/N_R3964.S +++ b/libc/sysv/consts/N_R3964.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc N_R3964 9 0 0 0 0 0 +.syscon misc,N_R3964,9,0,0,0,0,0 diff --git a/libc/sysv/consts/N_SLIP.S b/libc/sysv/consts/N_SLIP.S index 92fda124d7f..0b8e6b647d2 100644 --- a/libc/sysv/consts/N_SLIP.S +++ b/libc/sysv/consts/N_SLIP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc N_SLIP 1 0 0 0 0 0 +.syscon misc,N_SLIP,1,0,0,0,0,0 diff --git a/libc/sysv/consts/N_SMSBLOCK.S b/libc/sysv/consts/N_SMSBLOCK.S index ea152423608..e784c27ae8f 100644 --- a/libc/sysv/consts/N_SMSBLOCK.S +++ b/libc/sysv/consts/N_SMSBLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc N_SMSBLOCK 12 0 0 0 0 0 +.syscon misc,N_SMSBLOCK,12,0,0,0,0,0 diff --git a/libc/sysv/consts/N_STRIP.S b/libc/sysv/consts/N_STRIP.S index 7713be716a1..6b4e1999a98 100644 --- a/libc/sysv/consts/N_STRIP.S +++ b/libc/sysv/consts/N_STRIP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc N_STRIP 4 0 0 0 0 0 +.syscon misc,N_STRIP,4,0,0,0,0,0 diff --git a/libc/sysv/consts/N_SYNC_PPP.S b/libc/sysv/consts/N_SYNC_PPP.S index 8de107e5e8c..a6090179447 100644 --- a/libc/sysv/consts/N_SYNC_PPP.S +++ b/libc/sysv/consts/N_SYNC_PPP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc N_SYNC_PPP 14 0 0 0 0 0 +.syscon misc,N_SYNC_PPP,14,0,0,0,0,0 diff --git a/libc/sysv/consts/N_TTY.S b/libc/sysv/consts/N_TTY.S index e1539561cd9..450c124ae7b 100644 --- a/libc/sysv/consts/N_TTY.S +++ b/libc/sysv/consts/N_TTY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc N_TTY 0 0 0 0 0 0 +.syscon misc,N_TTY,0,0,0,0,0,0 diff --git a/libc/sysv/consts/N_X25.S b/libc/sysv/consts/N_X25.S index d2a79f12752..afc020603ea 100644 --- a/libc/sysv/consts/N_X25.S +++ b/libc/sysv/consts/N_X25.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc N_X25 6 0 0 0 0 0 +.syscon misc,N_X25,6,0,0,0,0,0 diff --git a/libc/sysv/consts/OCRNL.S b/libc/sysv/consts/OCRNL.S index 0bd947ecb25..0b8f1be58e7 100644 --- a/libc/sysv/consts/OCRNL.S +++ b/libc/sysv/consts/OCRNL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios OCRNL 0b0000000000001000 0b000000000000010000 0b000000000000010000 0b0000000000010000 0b0000000000010000 0b0000000000001000 +.syscon termios,OCRNL,0b0000000000001000,0b000000000000010000,0b000000000000010000,0b0000000000010000,0b0000000000010000,0b0000000000001000 diff --git a/libc/sysv/consts/OFDEL.S b/libc/sysv/consts/OFDEL.S index 80da30e4799..4906a3af16d 100644 --- a/libc/sysv/consts/OFDEL.S +++ b/libc/sysv/consts/OFDEL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios OFDEL 0b0000000010000000 0b100000000000000000 0 0 0 0b0000000010000000 +.syscon termios,OFDEL,0b0000000010000000,0b100000000000000000,0,0,0,0b0000000010000000 diff --git a/libc/sysv/consts/OFILL.S b/libc/sysv/consts/OFILL.S index 5129f41692b..ee391801beb 100644 --- a/libc/sysv/consts/OFILL.S +++ b/libc/sysv/consts/OFILL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios OFILL 0b0000000001000000 0b000000000010000000 0 0 0 0b0000000001000000 +.syscon termios,OFILL,0b0000000001000000,0b000000000010000000,0,0,0,0b0000000001000000 diff --git a/libc/sysv/consts/OLCUC.S b/libc/sysv/consts/OLCUC.S index 6e0000c8693..8122a71db4f 100644 --- a/libc/sysv/consts/OLCUC.S +++ b/libc/sysv/consts/OLCUC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios OLCUC 0b0000000000000010 0b000000000000000000 0 0b0000000000100000 0b0000000000100000 0b0000000000000010 +.syscon termios,OLCUC,0b0000000000000010,0b000000000000000000,0,0b0000000000100000,0b0000000000100000,0b0000000000000010 diff --git a/libc/sysv/consts/OLD_TIME.S b/libc/sysv/consts/OLD_TIME.S index 79f031da58b..7fc2d155e15 100644 --- a/libc/sysv/consts/OLD_TIME.S +++ b/libc/sysv/consts/OLD_TIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc OLD_TIME 4 3 2 0 0 0 +.syscon misc,OLD_TIME,4,3,2,0,0,0 diff --git a/libc/sysv/consts/ONLCR.S b/libc/sysv/consts/ONLCR.S index 2294d9d9e7d..182ca5e1189 100644 --- a/libc/sysv/consts/ONLCR.S +++ b/libc/sysv/consts/ONLCR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios ONLCR 0b0000000000000100 0b000000000000000010 0b000000000000000010 0b0000000000000010 0b0000000000000010 0b0000000000000100 +.syscon termios,ONLCR,0b0000000000000100,0b000000000000000010,0b000000000000000010,0b0000000000000010,0b0000000000000010,0b0000000000000100 diff --git a/libc/sysv/consts/ONLRET.S b/libc/sysv/consts/ONLRET.S index 9786dcc7c79..7e23c240fa4 100644 --- a/libc/sysv/consts/ONLRET.S +++ b/libc/sysv/consts/ONLRET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios ONLRET 0b0000000000100000 0b000000000001000000 0b000000000001000000 0b0000000010000000 0b0000000010000000 0b0000000000100000 +.syscon termios,ONLRET,0b0000000000100000,0b000000000001000000,0b000000000001000000,0b0000000010000000,0b0000000010000000,0b0000000000100000 diff --git a/libc/sysv/consts/ONOCR.S b/libc/sysv/consts/ONOCR.S index a4ba9f3b030..2095228f0cc 100644 --- a/libc/sysv/consts/ONOCR.S +++ b/libc/sysv/consts/ONOCR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios ONOCR 0b0000000000010000 0b000000000000100000 0b000000000000100000 0b0000000001000000 0b0000000001000000 0b0000000000010000 +.syscon termios,ONOCR,0b0000000000010000,0b000000000000100000,0b000000000000100000,0b0000000001000000,0b0000000001000000,0b0000000000010000 diff --git a/libc/sysv/consts/OPOST.S b/libc/sysv/consts/OPOST.S index fcca3ccc6be..dba9648f106 100644 --- a/libc/sysv/consts/OPOST.S +++ b/libc/sysv/consts/OPOST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios OPOST 0b0000000000000001 0b000000000000000001 0b000000000000000001 0b0000000000000001 0b0000000000000001 0b0000000000000001 +.syscon termios,OPOST,0b0000000000000001,0b000000000000000001,0b000000000000000001,0b0000000000000001,0b0000000000000001,0b0000000000000001 diff --git a/libc/sysv/consts/ORDERED_QUEUE_TAG.S b/libc/sysv/consts/ORDERED_QUEUE_TAG.S index 5073834686b..a70c7d04247 100644 --- a/libc/sysv/consts/ORDERED_QUEUE_TAG.S +++ b/libc/sysv/consts/ORDERED_QUEUE_TAG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ORDERED_QUEUE_TAG 34 0 0 0 0 0 +.syscon misc,ORDERED_QUEUE_TAG,34,0,0,0,0,0 diff --git a/libc/sysv/consts/ORIG_RAX.S b/libc/sysv/consts/ORIG_RAX.S index 83243554ba5..d9077e08072 100644 --- a/libc/sysv/consts/ORIG_RAX.S +++ b/libc/sysv/consts/ORIG_RAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ORIG_RAX 15 0 0 0 0 0 +.syscon misc,ORIG_RAX,15,0,0,0,0,0 diff --git a/libc/sysv/consts/O_ACCMODE.S b/libc/sysv/consts/O_ACCMODE.S index c9914fef745..a3fc04fc45f 100644 --- a/libc/sysv/consts/O_ACCMODE.S +++ b/libc/sysv/consts/O_ACCMODE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_ACCMODE 3 3 3 3 3 0xE0000000 +.syscon open,O_ACCMODE,3,3,3,3,3,0xE0000000 diff --git a/libc/sysv/consts/O_APPEND.S b/libc/sysv/consts/O_APPEND.S index 5b6e54ea092..11f5843fd71 100644 --- a/libc/sysv/consts/O_APPEND.S +++ b/libc/sysv/consts/O_APPEND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_APPEND 0x0400 8 8 8 8 0x00000004 +.syscon open,O_APPEND,0x0400,8,8,8,8,0x00000004 diff --git a/libc/sysv/consts/O_ASYNC.S b/libc/sysv/consts/O_ASYNC.S index 5f6227302f8..6e7067b75a7 100644 --- a/libc/sysv/consts/O_ASYNC.S +++ b/libc/sysv/consts/O_ASYNC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_ASYNC 0x2000 0x40 0x40 0x40 0x40 0 +.syscon open,O_ASYNC,0x2000,0x40,0x40,0x40,0x40,0 diff --git a/libc/sysv/consts/O_CLOEXEC.S b/libc/sysv/consts/O_CLOEXEC.S index da63f3bf3b1..828eab0686f 100644 --- a/libc/sysv/consts/O_CLOEXEC.S +++ b/libc/sysv/consts/O_CLOEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_CLOEXEC 0x080000 0x01000000 0x100000 0x010000 0x400000 0x00080000 +.syscon open,O_CLOEXEC,0x080000,0x01000000,0x100000,0x010000,0x400000,0x00080000 diff --git a/libc/sysv/consts/O_CREAT.S b/libc/sysv/consts/O_CREAT.S index 70559a5e2de..ca37ec6984c 100644 --- a/libc/sysv/consts/O_CREAT.S +++ b/libc/sysv/consts/O_CREAT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_CREAT 0x40 0x0200 0x0200 0x0200 0x0200 0x00000040 +.syscon open,O_CREAT,0x40,0x0200,0x0200,0x0200,0x0200,0x00000040 diff --git a/libc/sysv/consts/O_DIRECT.S b/libc/sysv/consts/O_DIRECT.S index 912efd66da1..65395064fe6 100644 --- a/libc/sysv/consts/O_DIRECT.S +++ b/libc/sysv/consts/O_DIRECT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_DIRECT 0x4000 0 0x010000 0 0x80000 0x00200000 +.syscon open,O_DIRECT,0x4000,0,0x010000,0,0x80000,0x00200000 diff --git a/libc/sysv/consts/O_DIRECTORY.S b/libc/sysv/consts/O_DIRECTORY.S index 1be52d2c1a4..33865aec626 100644 --- a/libc/sysv/consts/O_DIRECTORY.S +++ b/libc/sysv/consts/O_DIRECTORY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_DIRECTORY 0x010000 0x100000 0x020000 0x020000 0x200000 0x02000000 +.syscon open,O_DIRECTORY,0x010000,0x100000,0x020000,0x020000,0x200000,0x02000000 diff --git a/libc/sysv/consts/O_DSYNC.S b/libc/sysv/consts/O_DSYNC.S index 15b18b237c0..1d55d698369 100644 --- a/libc/sysv/consts/O_DSYNC.S +++ b/libc/sysv/consts/O_DSYNC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_DSYNC 0x1000 0x400000 0 0x80 0x10000 0 +.syscon open,O_DSYNC,0x1000,0x400000,0,0x80,0x10000,0 diff --git a/libc/sysv/consts/O_EXCL.S b/libc/sysv/consts/O_EXCL.S index 616a5eb8d56..3798997c8ff 100644 --- a/libc/sysv/consts/O_EXCL.S +++ b/libc/sysv/consts/O_EXCL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_EXCL 0x80 0x0800 0x0800 0x0800 0x0800 0x00000080 +.syscon open,O_EXCL,0x80,0x0800,0x0800,0x0800,0x0800,0x00000080 diff --git a/libc/sysv/consts/O_EXEC.S b/libc/sysv/consts/O_EXEC.S index e75da4e27d5..28dadbf866d 100644 --- a/libc/sysv/consts/O_EXEC.S +++ b/libc/sysv/consts/O_EXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_EXEC 0 0 0x040000 0 0x4000000 0 +.syscon open,O_EXEC,0,0,0x040000,0,0x4000000,0 diff --git a/libc/sysv/consts/O_LARGEFILE.S b/libc/sysv/consts/O_LARGEFILE.S index b32a45f6dae..bbd4495e098 100644 --- a/libc/sysv/consts/O_LARGEFILE.S +++ b/libc/sysv/consts/O_LARGEFILE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat O_LARGEFILE 0 0 0 0 0 0 +.syscon compat,O_LARGEFILE,0,0,0,0,0,0 diff --git a/libc/sysv/consts/O_NDELAY.S b/libc/sysv/consts/O_NDELAY.S index 5fa67c0a88c..4aa123055dc 100644 --- a/libc/sysv/consts/O_NDELAY.S +++ b/libc/sysv/consts/O_NDELAY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_NDELAY 0x0800 4 4 4 4 0 +.syscon open,O_NDELAY,0x0800,4,4,4,4,0 diff --git a/libc/sysv/consts/O_NOATIME.S b/libc/sysv/consts/O_NOATIME.S index d9d5a2f6e37..107d98f670d 100644 --- a/libc/sysv/consts/O_NOATIME.S +++ b/libc/sysv/consts/O_NOATIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_NOATIME 0x040000 0 0 0 0 0 +.syscon open,O_NOATIME,0x040000,0,0,0,0,0 diff --git a/libc/sysv/consts/O_NOCTTY.S b/libc/sysv/consts/O_NOCTTY.S index bdd15444f45..48e72b6f3c3 100644 --- a/libc/sysv/consts/O_NOCTTY.S +++ b/libc/sysv/consts/O_NOCTTY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_NOCTTY 0x0100 0x020000 0x8000 0x8000 0x8000 0 +.syscon open,O_NOCTTY,0x0100,0x020000,0x8000,0x8000,0x8000,0 diff --git a/libc/sysv/consts/O_NOFOLLOW.S b/libc/sysv/consts/O_NOFOLLOW.S index 3cec73a14db..242824fe168 100644 --- a/libc/sysv/consts/O_NOFOLLOW.S +++ b/libc/sysv/consts/O_NOFOLLOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_NOFOLLOW 0x020000 0x0100 0x0100 0x0100 0x0100 0 +.syscon open,O_NOFOLLOW,0x020000,0x0100,0x0100,0x0100,0x0100,0 diff --git a/libc/sysv/consts/O_NONBLOCK.S b/libc/sysv/consts/O_NONBLOCK.S index 501d01dcd72..e62c9728baf 100644 --- a/libc/sysv/consts/O_NONBLOCK.S +++ b/libc/sysv/consts/O_NONBLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_NONBLOCK 0x0800 4 4 4 4 0x00000800 +.syscon open,O_NONBLOCK,0x0800,4,4,4,4,0x00000800 diff --git a/libc/sysv/consts/O_PATH.S b/libc/sysv/consts/O_PATH.S index 4094ffddcc5..11af8d8dba7 100644 --- a/libc/sysv/consts/O_PATH.S +++ b/libc/sysv/consts/O_PATH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_PATH 0x200000 0 0 0 0 0 +.syscon open,O_PATH,0x200000,0,0,0,0,0 diff --git a/libc/sysv/consts/O_RDONLY.S b/libc/sysv/consts/O_RDONLY.S index 491fcc709d8..b239e446679 100644 --- a/libc/sysv/consts/O_RDONLY.S +++ b/libc/sysv/consts/O_RDONLY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_RDONLY 0 0 0 0 0 0xA0000000 +.syscon open,O_RDONLY,0,0,0,0,0,0xA0000000 diff --git a/libc/sysv/consts/O_RDWR.S b/libc/sysv/consts/O_RDWR.S index 8233ce50373..786c1c1383b 100644 --- a/libc/sysv/consts/O_RDWR.S +++ b/libc/sysv/consts/O_RDWR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_RDWR 2 2 2 2 2 0xE0000000 +.syscon open,O_RDWR,2,2,2,2,2,0xE0000000 diff --git a/libc/sysv/consts/O_RSYNC.S b/libc/sysv/consts/O_RSYNC.S index ae7e2b473b0..891355ee58c 100644 --- a/libc/sysv/consts/O_RSYNC.S +++ b/libc/sysv/consts/O_RSYNC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_RSYNC 0x101000 0 0 0x80 0x20000 0 +.syscon open,O_RSYNC,0x101000,0,0,0x80,0x20000,0 diff --git a/libc/sysv/consts/O_SPARSE.S b/libc/sysv/consts/O_SPARSE.S index 942e52cd16f..f135a021978 100644 --- a/libc/sysv/consts/O_SPARSE.S +++ b/libc/sysv/consts/O_SPARSE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_SPARSE 0 0 0 0 0 0x00040000 +.syscon open,O_SPARSE,0,0,0,0,0,0x00040000 diff --git a/libc/sysv/consts/O_SYNC.S b/libc/sysv/consts/O_SYNC.S index 75c0896d26d..4845b58a721 100644 --- a/libc/sysv/consts/O_SYNC.S +++ b/libc/sysv/consts/O_SYNC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_SYNC 0x101000 0x80 0x80 0x80 0x80 0 +.syscon open,O_SYNC,0x101000,0x80,0x80,0x80,0x80,0 diff --git a/libc/sysv/consts/O_TMPFILE.S b/libc/sysv/consts/O_TMPFILE.S index 5664b594fb3..628774f139e 100644 --- a/libc/sysv/consts/O_TMPFILE.S +++ b/libc/sysv/consts/O_TMPFILE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_TMPFILE 0x410000 0 0 0 0 0x04000100 +.syscon open,O_TMPFILE,0x410000,0,0,0,0,0x04000100 diff --git a/libc/sysv/consts/O_TRUNC.S b/libc/sysv/consts/O_TRUNC.S index 32c98c3e6e9..b701802f681 100644 --- a/libc/sysv/consts/O_TRUNC.S +++ b/libc/sysv/consts/O_TRUNC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_TRUNC 0x0200 0x0400 0x0400 0x0400 0x0400 0x00000200 +.syscon open,O_TRUNC,0x0200,0x0400,0x0400,0x0400,0x0400,0x00000200 diff --git a/libc/sysv/consts/O_TTY_INIT.S b/libc/sysv/consts/O_TTY_INIT.S index 5f3da0f4280..470a7568aa5 100644 --- a/libc/sysv/consts/O_TTY_INIT.S +++ b/libc/sysv/consts/O_TTY_INIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_TTY_INIT 0 0 0x080000 0 0 0 +.syscon open,O_TTY_INIT,0,0,0x080000,0,0,0 diff --git a/libc/sysv/consts/O_WRONLY.S b/libc/sysv/consts/O_WRONLY.S index 4ad507033d1..7dd4a383032 100644 --- a/libc/sysv/consts/O_WRONLY.S +++ b/libc/sysv/consts/O_WRONLY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon open O_WRONLY 1 1 1 1 1 0x40000000 +.syscon open,O_WRONLY,1,1,1,1,1,0x40000000 diff --git a/libc/sysv/consts/PARENB.S b/libc/sysv/consts/PARENB.S index 75a7adeb5cc..2a40e7dc49b 100644 --- a/libc/sysv/consts/PARENB.S +++ b/libc/sysv/consts/PARENB.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios PARENB 0x0100 0x1000 0x1000 0x1000 0x1000 0 +.syscon termios,PARENB,0x0100,0x1000,0x1000,0x1000,0x1000,0 diff --git a/libc/sysv/consts/PARMRK.S b/libc/sysv/consts/PARMRK.S index c82c63c1cff..9ad18548b43 100644 --- a/libc/sysv/consts/PARMRK.S +++ b/libc/sysv/consts/PARMRK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios PARMRK 0b0000000000001000 0b0000000000001000 0b0000000000001000 0b0000000000001000 0b0000000000001000 0b0000000000001000 +.syscon termios,PARMRK,0b0000000000001000,0b0000000000001000,0b0000000000001000,0b0000000000001000,0b0000000000001000,0b0000000000001000 diff --git a/libc/sysv/consts/PARODD.S b/libc/sysv/consts/PARODD.S index 6dbb07cd002..0ef8fff7a24 100644 --- a/libc/sysv/consts/PARODD.S +++ b/libc/sysv/consts/PARODD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios PARODD 0x0200 0x2000 0x2000 0x2000 0x2000 0 +.syscon termios,PARODD,0x0200,0x2000,0x2000,0x2000,0x2000,0 diff --git a/libc/sysv/consts/PENDIN.S b/libc/sysv/consts/PENDIN.S index d624aa3ed87..38e26bac97f 100644 --- a/libc/sysv/consts/PENDIN.S +++ b/libc/sysv/consts/PENDIN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios PENDIN 0b0100000000000000 536870912 536870912 536870912 536870912 0b0100000000000000 +.syscon termios,PENDIN,0b0100000000000000,536870912,536870912,536870912,536870912,0b0100000000000000 diff --git a/libc/sysv/consts/PERSISTENT_RESERVE_IN.S b/libc/sysv/consts/PERSISTENT_RESERVE_IN.S index 926b43afca1..9b7ba024c8c 100644 --- a/libc/sysv/consts/PERSISTENT_RESERVE_IN.S +++ b/libc/sysv/consts/PERSISTENT_RESERVE_IN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PERSISTENT_RESERVE_IN 94 0 0 0 0 0 +.syscon misc,PERSISTENT_RESERVE_IN,94,0,0,0,0,0 diff --git a/libc/sysv/consts/PERSISTENT_RESERVE_OUT.S b/libc/sysv/consts/PERSISTENT_RESERVE_OUT.S index c8e5fc57ac7..83d23636cdd 100644 --- a/libc/sysv/consts/PERSISTENT_RESERVE_OUT.S +++ b/libc/sysv/consts/PERSISTENT_RESERVE_OUT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PERSISTENT_RESERVE_OUT 95 0 0 0 0 0 +.syscon misc,PERSISTENT_RESERVE_OUT,95,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_ALG.S b/libc/sysv/consts/PF_ALG.S index f6448732559..ef018129543 100644 --- a/libc/sysv/consts/PF_ALG.S +++ b/libc/sysv/consts/PF_ALG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_ALG 38 0 0 0 0 0 +.syscon pf,PF_ALG,38,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_APPLETALK.S b/libc/sysv/consts/PF_APPLETALK.S index 3031dc5907e..b1ab510d2a7 100644 --- a/libc/sysv/consts/PF_APPLETALK.S +++ b/libc/sysv/consts/PF_APPLETALK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_APPLETALK 5 0x10 0x10 0x10 0x10 0x10 +.syscon pf,PF_APPLETALK,5,0x10,0x10,0x10,0x10,0x10 diff --git a/libc/sysv/consts/PF_ASH.S b/libc/sysv/consts/PF_ASH.S index e0421dbd2ea..79aab347b8b 100644 --- a/libc/sysv/consts/PF_ASH.S +++ b/libc/sysv/consts/PF_ASH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_ASH 18 0 0 0 0 0 +.syscon pf,PF_ASH,18,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_ATMPVC.S b/libc/sysv/consts/PF_ATMPVC.S index c32d056b279..bc818e1c52c 100644 --- a/libc/sysv/consts/PF_ATMPVC.S +++ b/libc/sysv/consts/PF_ATMPVC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_ATMPVC 8 0 0 0 0 0 +.syscon pf,PF_ATMPVC,8,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_ATMSVC.S b/libc/sysv/consts/PF_ATMSVC.S index 56ffa62fedf..1386002acb7 100644 --- a/libc/sysv/consts/PF_ATMSVC.S +++ b/libc/sysv/consts/PF_ATMSVC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_ATMSVC 20 0 0 0 0 0 +.syscon pf,PF_ATMSVC,20,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_AX25.S b/libc/sysv/consts/PF_AX25.S index e33e91d7cfb..8c94618af4d 100644 --- a/libc/sysv/consts/PF_AX25.S +++ b/libc/sysv/consts/PF_AX25.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_AX25 3 0 0 0 0 0 +.syscon pf,PF_AX25,3,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_BLUETOOTH.S b/libc/sysv/consts/PF_BLUETOOTH.S index 3bdfcb48c0a..8f8e4667dde 100644 --- a/libc/sysv/consts/PF_BLUETOOTH.S +++ b/libc/sysv/consts/PF_BLUETOOTH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_BLUETOOTH 31 0 36 0x20 0x20 0 +.syscon pf,PF_BLUETOOTH,31,0,36,0x20,0x20,0 diff --git a/libc/sysv/consts/PF_BRIDGE.S b/libc/sysv/consts/PF_BRIDGE.S index f45ab57ddb4..3d7a7bdd82b 100644 --- a/libc/sysv/consts/PF_BRIDGE.S +++ b/libc/sysv/consts/PF_BRIDGE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_BRIDGE 7 0 0 0 0 0 +.syscon pf,PF_BRIDGE,7,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_CAIF.S b/libc/sysv/consts/PF_CAIF.S index 8854abb058d..2dc2f7e461f 100644 --- a/libc/sysv/consts/PF_CAIF.S +++ b/libc/sysv/consts/PF_CAIF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_CAIF 37 0 0 0 0 0 +.syscon pf,PF_CAIF,37,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_CAN.S b/libc/sysv/consts/PF_CAN.S index a67d0398ab9..70b22e20598 100644 --- a/libc/sysv/consts/PF_CAN.S +++ b/libc/sysv/consts/PF_CAN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_CAN 29 0 0 0 0 0 +.syscon pf,PF_CAN,29,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_ECONET.S b/libc/sysv/consts/PF_ECONET.S index f9ce38b580e..a685e615ae7 100644 --- a/libc/sysv/consts/PF_ECONET.S +++ b/libc/sysv/consts/PF_ECONET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_ECONET 19 0 0 0 0 0 +.syscon pf,PF_ECONET,19,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_FILE.S b/libc/sysv/consts/PF_FILE.S index f016e55579c..8a2f63cd637 100644 --- a/libc/sysv/consts/PF_FILE.S +++ b/libc/sysv/consts/PF_FILE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_FILE 1 0 0 0 0 0 +.syscon pf,PF_FILE,1,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_IB.S b/libc/sysv/consts/PF_IB.S index 8f8174599a8..78967b904e5 100644 --- a/libc/sysv/consts/PF_IB.S +++ b/libc/sysv/consts/PF_IB.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_IB 27 0 0 0 0 0 +.syscon pf,PF_IB,27,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_IEEE802154.S b/libc/sysv/consts/PF_IEEE802154.S index f4965c4102b..8e9b484a632 100644 --- a/libc/sysv/consts/PF_IEEE802154.S +++ b/libc/sysv/consts/PF_IEEE802154.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_IEEE802154 36 0 0 0 0 0 +.syscon pf,PF_IEEE802154,36,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_INET.S b/libc/sysv/consts/PF_INET.S index 1d9ce72d8e4..057b9ec10e7 100644 --- a/libc/sysv/consts/PF_INET.S +++ b/libc/sysv/consts/PF_INET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_INET 2 2 2 2 2 0 +.syscon pf,PF_INET,2,2,2,2,2,0 diff --git a/libc/sysv/consts/PF_INET6.S b/libc/sysv/consts/PF_INET6.S index 586520f9212..2a6a5ef5a20 100644 --- a/libc/sysv/consts/PF_INET6.S +++ b/libc/sysv/consts/PF_INET6.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_INET6 10 30 28 24 24 23 +.syscon pf,PF_INET6,10,30,28,24,24,23 diff --git a/libc/sysv/consts/PF_IPX.S b/libc/sysv/consts/PF_IPX.S index c6eb8984662..4cd6edfee8e 100644 --- a/libc/sysv/consts/PF_IPX.S +++ b/libc/sysv/consts/PF_IPX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_IPX 4 23 23 23 23 0 +.syscon pf,PF_IPX,4,23,23,23,23,0 diff --git a/libc/sysv/consts/PF_IRDA.S b/libc/sysv/consts/PF_IRDA.S index bbd49c33252..9b22df5c2f5 100644 --- a/libc/sysv/consts/PF_IRDA.S +++ b/libc/sysv/consts/PF_IRDA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_IRDA 23 0 0 0 0 0 +.syscon pf,PF_IRDA,23,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_ISDN.S b/libc/sysv/consts/PF_ISDN.S index ea949f73baf..603d6a22482 100644 --- a/libc/sysv/consts/PF_ISDN.S +++ b/libc/sysv/consts/PF_ISDN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_ISDN 34 28 26 26 26 0 +.syscon pf,PF_ISDN,34,28,26,26,26,0 diff --git a/libc/sysv/consts/PF_IUCV.S b/libc/sysv/consts/PF_IUCV.S index a2d789c007b..663bc8e233c 100644 --- a/libc/sysv/consts/PF_IUCV.S +++ b/libc/sysv/consts/PF_IUCV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_IUCV 0x20 0 0 0 0 0 +.syscon pf,PF_IUCV,0x20,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_KCM.S b/libc/sysv/consts/PF_KCM.S index 31fa6177715..d87319e72fb 100644 --- a/libc/sysv/consts/PF_KCM.S +++ b/libc/sysv/consts/PF_KCM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_KCM 41 0 0 0 0 0 +.syscon pf,PF_KCM,41,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_KEY.S b/libc/sysv/consts/PF_KEY.S index 21f756f7b46..ee876d800c5 100644 --- a/libc/sysv/consts/PF_KEY.S +++ b/libc/sysv/consts/PF_KEY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_KEY 15 29 27 30 30 0 +.syscon pf,PF_KEY,15,29,27,30,30,0 diff --git a/libc/sysv/consts/PF_LLC.S b/libc/sysv/consts/PF_LLC.S index a27c4eba95d..409ccafe68d 100644 --- a/libc/sysv/consts/PF_LLC.S +++ b/libc/sysv/consts/PF_LLC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_LLC 26 0 0 0 0 0 +.syscon pf,PF_LLC,26,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_LOCAL.S b/libc/sysv/consts/PF_LOCAL.S index 849780696e8..0b77733bdae 100644 --- a/libc/sysv/consts/PF_LOCAL.S +++ b/libc/sysv/consts/PF_LOCAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_LOCAL 1 1 1 1 1 0 +.syscon pf,PF_LOCAL,1,1,1,1,1,0 diff --git a/libc/sysv/consts/PF_MAX.S b/libc/sysv/consts/PF_MAX.S index 923362e2ffc..38ec75c4e01 100644 --- a/libc/sysv/consts/PF_MAX.S +++ b/libc/sysv/consts/PF_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_MAX 42 40 42 36 36 35 +.syscon pf,PF_MAX,42,40,42,36,36,35 diff --git a/libc/sysv/consts/PF_MPLS.S b/libc/sysv/consts/PF_MPLS.S index d461a749262..f5285fa287a 100644 --- a/libc/sysv/consts/PF_MPLS.S +++ b/libc/sysv/consts/PF_MPLS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_MPLS 28 0 0 33 33 0 +.syscon pf,PF_MPLS,28,0,0,33,33,0 diff --git a/libc/sysv/consts/PF_NETBEUI.S b/libc/sysv/consts/PF_NETBEUI.S index da2bfb9d8b6..21d0bf337c7 100644 --- a/libc/sysv/consts/PF_NETBEUI.S +++ b/libc/sysv/consts/PF_NETBEUI.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_NETBEUI 13 0 0 0 0 0 +.syscon pf,PF_NETBEUI,13,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_NETLINK.S b/libc/sysv/consts/PF_NETLINK.S index 14b7abeb08f..25ea9c60283 100644 --- a/libc/sysv/consts/PF_NETLINK.S +++ b/libc/sysv/consts/PF_NETLINK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_NETLINK 0x10 0 0 0 0 0 +.syscon pf,PF_NETLINK,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_NETROM.S b/libc/sysv/consts/PF_NETROM.S index 3e4d4ddec01..9880b4c3b46 100644 --- a/libc/sysv/consts/PF_NETROM.S +++ b/libc/sysv/consts/PF_NETROM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_NETROM 6 0 0 0 0 0 +.syscon pf,PF_NETROM,6,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_NFC.S b/libc/sysv/consts/PF_NFC.S index e77f9ce0268..d2c1073b7dd 100644 --- a/libc/sysv/consts/PF_NFC.S +++ b/libc/sysv/consts/PF_NFC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_NFC 39 0 0 0 0 0 +.syscon pf,PF_NFC,39,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_PACKET.S b/libc/sysv/consts/PF_PACKET.S index e43ae0476c5..9d74e7e2b2e 100644 --- a/libc/sysv/consts/PF_PACKET.S +++ b/libc/sysv/consts/PF_PACKET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_PACKET 17 0 0 0 0 0 +.syscon pf,PF_PACKET,17,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_PHONET.S b/libc/sysv/consts/PF_PHONET.S index b6ee01a80f6..871ee9863f5 100644 --- a/libc/sysv/consts/PF_PHONET.S +++ b/libc/sysv/consts/PF_PHONET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_PHONET 35 0 0 0 0 0 +.syscon pf,PF_PHONET,35,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_PPPOX.S b/libc/sysv/consts/PF_PPPOX.S index d140fe4b1f1..50fcaae827c 100644 --- a/libc/sysv/consts/PF_PPPOX.S +++ b/libc/sysv/consts/PF_PPPOX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_PPPOX 24 0 0 0 0 0 +.syscon pf,PF_PPPOX,24,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_RDS.S b/libc/sysv/consts/PF_RDS.S index e7296e63048..37f66d8b6a9 100644 --- a/libc/sysv/consts/PF_RDS.S +++ b/libc/sysv/consts/PF_RDS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_RDS 21 0 0 0 0 0 +.syscon pf,PF_RDS,21,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_ROSE.S b/libc/sysv/consts/PF_ROSE.S index 5f7fb9860c2..7eab5b5f8fd 100644 --- a/libc/sysv/consts/PF_ROSE.S +++ b/libc/sysv/consts/PF_ROSE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_ROSE 11 0 0 0 0 0 +.syscon pf,PF_ROSE,11,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_ROUTE.S b/libc/sysv/consts/PF_ROUTE.S index bf74144c4eb..61bf9aa66fc 100644 --- a/libc/sysv/consts/PF_ROUTE.S +++ b/libc/sysv/consts/PF_ROUTE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_ROUTE 0x10 17 17 17 17 0 +.syscon pf,PF_ROUTE,0x10,17,17,17,17,0 diff --git a/libc/sysv/consts/PF_RXRPC.S b/libc/sysv/consts/PF_RXRPC.S index 8b2d8e9000c..d178297f4d6 100644 --- a/libc/sysv/consts/PF_RXRPC.S +++ b/libc/sysv/consts/PF_RXRPC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_RXRPC 33 0 0 0 0 0 +.syscon pf,PF_RXRPC,33,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_SECURITY.S b/libc/sysv/consts/PF_SECURITY.S index 27362af9e35..043f5993e4b 100644 --- a/libc/sysv/consts/PF_SECURITY.S +++ b/libc/sysv/consts/PF_SECURITY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_SECURITY 14 0 0 0 0 0 +.syscon pf,PF_SECURITY,14,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_SNA.S b/libc/sysv/consts/PF_SNA.S index f5d49d8f187..12fed4fb2fe 100644 --- a/libc/sysv/consts/PF_SNA.S +++ b/libc/sysv/consts/PF_SNA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_SNA 22 11 11 11 11 11 +.syscon pf,PF_SNA,22,11,11,11,11,11 diff --git a/libc/sysv/consts/PF_TIPC.S b/libc/sysv/consts/PF_TIPC.S index 480bf983653..f1cbab5fade 100644 --- a/libc/sysv/consts/PF_TIPC.S +++ b/libc/sysv/consts/PF_TIPC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_TIPC 30 0 0 0 0 0 +.syscon pf,PF_TIPC,30,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_UNIX.S b/libc/sysv/consts/PF_UNIX.S index 241a4de2903..bc57523b95b 100644 --- a/libc/sysv/consts/PF_UNIX.S +++ b/libc/sysv/consts/PF_UNIX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_UNIX 1 1 1 1 1 1 +.syscon pf,PF_UNIX,1,1,1,1,1,1 diff --git a/libc/sysv/consts/PF_UNSPEC.S b/libc/sysv/consts/PF_UNSPEC.S index 3efbe9deba3..abe4df8c55a 100644 --- a/libc/sysv/consts/PF_UNSPEC.S +++ b/libc/sysv/consts/PF_UNSPEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_UNSPEC 0 0 0 0 0 0 +.syscon pf,PF_UNSPEC,0,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_VSOCK.S b/libc/sysv/consts/PF_VSOCK.S index 043f963a7f7..8649196ee12 100644 --- a/libc/sysv/consts/PF_VSOCK.S +++ b/libc/sysv/consts/PF_VSOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_VSOCK 40 0 0 0 0 0 +.syscon pf,PF_VSOCK,40,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_WANPIPE.S b/libc/sysv/consts/PF_WANPIPE.S index ad97ab900f0..0828fa360e8 100644 --- a/libc/sysv/consts/PF_WANPIPE.S +++ b/libc/sysv/consts/PF_WANPIPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_WANPIPE 25 0 0 0 0 0 +.syscon pf,PF_WANPIPE,25,0,0,0,0,0 diff --git a/libc/sysv/consts/PF_X25.S b/libc/sysv/consts/PF_X25.S index 16e90fca821..e8223ce83b4 100644 --- a/libc/sysv/consts/PF_X25.S +++ b/libc/sysv/consts/PF_X25.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pf PF_X25 9 0 0 0 0 0 +.syscon pf,PF_X25,9,0,0,0,0,0 diff --git a/libc/sysv/consts/PIPE_BUF.S b/libc/sysv/consts/PIPE_BUF.S index 28ab24a6801..8a0b5b01c4c 100644 --- a/libc/sysv/consts/PIPE_BUF.S +++ b/libc/sysv/consts/PIPE_BUF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PIPE_BUF 0x1000 0x0200 0x0200 0x0200 0x0200 0 +.syscon misc,PIPE_BUF,0x1000,0x0200,0x0200,0x0200,0x0200,0 diff --git a/libc/sysv/consts/PM_STR.S b/libc/sysv/consts/PM_STR.S index 817e1788044..14d6cebd502 100644 --- a/libc/sysv/consts/PM_STR.S +++ b/libc/sysv/consts/PM_STR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PM_STR 0x020027 6 6 5 5 0 +.syscon misc,PM_STR,0x020027,6,6,5,5,0 diff --git a/libc/sysv/consts/POLLERR.S b/libc/sysv/consts/POLLERR.S index 77a00e5dafb..8112ce3bd4a 100644 --- a/libc/sysv/consts/POLLERR.S +++ b/libc/sysv/consts/POLLERR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon poll POLLERR 8 8 8 8 8 1 +.syscon poll,POLLERR,8,8,8,8,8,1 diff --git a/libc/sysv/consts/POLLHUP.S b/libc/sysv/consts/POLLHUP.S index 1fb0a1952e8..75f733982af 100644 --- a/libc/sysv/consts/POLLHUP.S +++ b/libc/sysv/consts/POLLHUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon poll POLLHUP 0x10 0x10 0x10 0x10 0x10 2 +.syscon poll,POLLHUP,0x10,0x10,0x10,0x10,0x10,2 diff --git a/libc/sysv/consts/POLLIN.S b/libc/sysv/consts/POLLIN.S index 4c3639ae8b5..16cc6737214 100644 --- a/libc/sysv/consts/POLLIN.S +++ b/libc/sysv/consts/POLLIN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon poll POLLIN 1 1 1 1 1 0x300 +.syscon poll,POLLIN,1,1,1,1,1,0x300 diff --git a/libc/sysv/consts/POLLNVAL.S b/libc/sysv/consts/POLLNVAL.S index c4d4b6a7db9..08d3d6d5903 100644 --- a/libc/sysv/consts/POLLNVAL.S +++ b/libc/sysv/consts/POLLNVAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon poll POLLNVAL 0x20 0x20 0x20 0x20 0x20 4 +.syscon poll,POLLNVAL,0x20,0x20,0x20,0x20,0x20,4 diff --git a/libc/sysv/consts/POLLOUT.S b/libc/sysv/consts/POLLOUT.S index 20269013b9f..b59eb9ef12c 100644 --- a/libc/sysv/consts/POLLOUT.S +++ b/libc/sysv/consts/POLLOUT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon poll POLLOUT 4 4 4 4 4 0x10 +.syscon poll,POLLOUT,4,4,4,4,4,0x10 diff --git a/libc/sysv/consts/POLLPRI.S b/libc/sysv/consts/POLLPRI.S index 8acf57f56d1..2c43c862f1a 100644 --- a/libc/sysv/consts/POLLPRI.S +++ b/libc/sysv/consts/POLLPRI.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon poll POLLPRI 2 2 2 2 2 0x0400 +.syscon poll,POLLPRI,2,2,2,2,2,0x0400 diff --git a/libc/sysv/consts/POLLRDBAND.S b/libc/sysv/consts/POLLRDBAND.S index 0ea9a124e2e..b5053c13104 100644 --- a/libc/sysv/consts/POLLRDBAND.S +++ b/libc/sysv/consts/POLLRDBAND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon poll POLLRDBAND 0x80 0x80 0x80 0x80 0x80 0x0200 +.syscon poll,POLLRDBAND,0x80,0x80,0x80,0x80,0x80,0x0200 diff --git a/libc/sysv/consts/POLLRDHUP.S b/libc/sysv/consts/POLLRDHUP.S index 0d7192d7844..b13bb90cc98 100644 --- a/libc/sysv/consts/POLLRDHUP.S +++ b/libc/sysv/consts/POLLRDHUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon poll POLLRDHUP 0x2000 0x10 0x10 0x10 0x10 2 +.syscon poll,POLLRDHUP,0x2000,0x10,0x10,0x10,0x10,2 diff --git a/libc/sysv/consts/POLLRDNORM.S b/libc/sysv/consts/POLLRDNORM.S index 93eb073547e..ee79646bc30 100644 --- a/libc/sysv/consts/POLLRDNORM.S +++ b/libc/sysv/consts/POLLRDNORM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon poll POLLRDNORM 0x40 0x40 0x40 0x40 0x40 0x0100 +.syscon poll,POLLRDNORM,0x40,0x40,0x40,0x40,0x40,0x0100 diff --git a/libc/sysv/consts/POLLWRBAND.S b/libc/sysv/consts/POLLWRBAND.S index a3c8170b17c..6701748cb18 100644 --- a/libc/sysv/consts/POLLWRBAND.S +++ b/libc/sysv/consts/POLLWRBAND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon poll POLLWRBAND 0x0200 0x0100 0x0100 0x0100 0x0100 0x20 +.syscon poll,POLLWRBAND,0x0200,0x0100,0x0100,0x0100,0x0100,0x20 diff --git a/libc/sysv/consts/POLLWRNORM.S b/libc/sysv/consts/POLLWRNORM.S index 0fd43fd986b..11d6a1202e3 100644 --- a/libc/sysv/consts/POLLWRNORM.S +++ b/libc/sysv/consts/POLLWRNORM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon poll POLLWRNORM 0x0100 4 4 4 4 0x10 +.syscon poll,POLLWRNORM,0x0100,4,4,4,4,0x10 diff --git a/libc/sysv/consts/POLL_ERR.S b/libc/sysv/consts/POLL_ERR.S index 290a8af2b48..8f6024588f7 100644 --- a/libc/sysv/consts/POLL_ERR.S +++ b/libc/sysv/consts/POLL_ERR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sigpoll POLL_ERR 4 4 4 0 0 0 +.syscon sigpoll,POLL_ERR,4,4,4,0,0,0 diff --git a/libc/sysv/consts/POLL_HUP.S b/libc/sysv/consts/POLL_HUP.S index 913c5b43647..5c4abccf519 100644 --- a/libc/sysv/consts/POLL_HUP.S +++ b/libc/sysv/consts/POLL_HUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sigpoll POLL_HUP 6 6 6 0 0 0 +.syscon sigpoll,POLL_HUP,6,6,6,0,0,0 diff --git a/libc/sysv/consts/POLL_IN.S b/libc/sysv/consts/POLL_IN.S index 4b7f75091dc..edb282b17c2 100644 --- a/libc/sysv/consts/POLL_IN.S +++ b/libc/sysv/consts/POLL_IN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sigpoll POLL_IN 1 1 1 0 0 0 +.syscon sigpoll,POLL_IN,1,1,1,0,0,0 diff --git a/libc/sysv/consts/POLL_MSG.S b/libc/sysv/consts/POLL_MSG.S index 8a13ed32f6d..326e10ceb7b 100644 --- a/libc/sysv/consts/POLL_MSG.S +++ b/libc/sysv/consts/POLL_MSG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sigpoll POLL_MSG 3 3 3 0 0 0 +.syscon sigpoll,POLL_MSG,3,3,3,0,0,0 diff --git a/libc/sysv/consts/POLL_OUT.S b/libc/sysv/consts/POLL_OUT.S index b0f20cabaac..9aede8bb9e2 100644 --- a/libc/sysv/consts/POLL_OUT.S +++ b/libc/sysv/consts/POLL_OUT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sigpoll POLL_OUT 2 2 2 0 0 0 +.syscon sigpoll,POLL_OUT,2,2,2,0,0,0 diff --git a/libc/sysv/consts/POLL_PRI.S b/libc/sysv/consts/POLL_PRI.S index 780b954cdc8..4c8e61db9bf 100644 --- a/libc/sysv/consts/POLL_PRI.S +++ b/libc/sysv/consts/POLL_PRI.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sigpoll POLL_PRI 5 5 5 0 0 0 +.syscon sigpoll,POLL_PRI,5,5,5,0,0,0 diff --git a/libc/sysv/consts/POSIX_FADV_DONTNEED.S b/libc/sysv/consts/POSIX_FADV_DONTNEED.S index 06bb4b00897..b17a2a8dc69 100644 --- a/libc/sysv/consts/POSIX_FADV_DONTNEED.S +++ b/libc/sysv/consts/POSIX_FADV_DONTNEED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat POSIX_FADV_DONTNEED 4 0 4 4 4 0 +.syscon compat,POSIX_FADV_DONTNEED,4,0,4,4,4,0 diff --git a/libc/sysv/consts/POSIX_FADV_NOREUSE.S b/libc/sysv/consts/POSIX_FADV_NOREUSE.S index b2b49736ff2..7b1286148c6 100644 --- a/libc/sysv/consts/POSIX_FADV_NOREUSE.S +++ b/libc/sysv/consts/POSIX_FADV_NOREUSE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon fadv POSIX_FADV_NOREUSE 5 0 5 0 5 0 +.syscon fadv,POSIX_FADV_NOREUSE,5,0,5,0,5,0 diff --git a/libc/sysv/consts/POSIX_FADV_NORMAL.S b/libc/sysv/consts/POSIX_FADV_NORMAL.S index 16b90d0a45d..02d3dc2b506 100644 --- a/libc/sysv/consts/POSIX_FADV_NORMAL.S +++ b/libc/sysv/consts/POSIX_FADV_NORMAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat POSIX_FADV_NORMAL 0 0 0 0 0 0x00000080 +.syscon compat,POSIX_FADV_NORMAL,0,0,0,0,0,0x00000080 diff --git a/libc/sysv/consts/POSIX_FADV_RANDOM.S b/libc/sysv/consts/POSIX_FADV_RANDOM.S index e7650595ae1..1666daa39f7 100644 --- a/libc/sysv/consts/POSIX_FADV_RANDOM.S +++ b/libc/sysv/consts/POSIX_FADV_RANDOM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat POSIX_FADV_RANDOM 1 0 1 1 1 0x10000000 +.syscon compat,POSIX_FADV_RANDOM,1,0,1,1,1,0x10000000 diff --git a/libc/sysv/consts/POSIX_FADV_SEQUENTIAL.S b/libc/sysv/consts/POSIX_FADV_SEQUENTIAL.S index 71b95229c57..1f6b110529f 100644 --- a/libc/sysv/consts/POSIX_FADV_SEQUENTIAL.S +++ b/libc/sysv/consts/POSIX_FADV_SEQUENTIAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat POSIX_FADV_SEQUENTIAL 2 0 2 2 2 0x8000000 +.syscon compat,POSIX_FADV_SEQUENTIAL,2,0,2,2,2,0x8000000 diff --git a/libc/sysv/consts/POSIX_FADV_WILLNEED.S b/libc/sysv/consts/POSIX_FADV_WILLNEED.S index 5c50a429737..e8f60969de9 100644 --- a/libc/sysv/consts/POSIX_FADV_WILLNEED.S +++ b/libc/sysv/consts/POSIX_FADV_WILLNEED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat POSIX_FADV_WILLNEED 3 0 3 3 3 3 +.syscon compat,POSIX_FADV_WILLNEED,3,0,3,3,3,3 diff --git a/libc/sysv/consts/POSIX_MADV_DONTNEED.S b/libc/sysv/consts/POSIX_MADV_DONTNEED.S index 900037bd7cf..52f0f9ab664 100644 --- a/libc/sysv/consts/POSIX_MADV_DONTNEED.S +++ b/libc/sysv/consts/POSIX_MADV_DONTNEED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat POSIX_MADV_DONTNEED 4 4 4 4 4 0 +.syscon compat,POSIX_MADV_DONTNEED,4,4,4,4,4,0 diff --git a/libc/sysv/consts/POSIX_MADV_NORMAL.S b/libc/sysv/consts/POSIX_MADV_NORMAL.S index 7157dc37d0b..eaf9dba1c3d 100644 --- a/libc/sysv/consts/POSIX_MADV_NORMAL.S +++ b/libc/sysv/consts/POSIX_MADV_NORMAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat POSIX_MADV_NORMAL 0 0 0 0 0 0x00000080 +.syscon compat,POSIX_MADV_NORMAL,0,0,0,0,0,0x00000080 diff --git a/libc/sysv/consts/POSIX_MADV_RANDOM.S b/libc/sysv/consts/POSIX_MADV_RANDOM.S index 6ddaeee19ac..b1b800e012d 100644 --- a/libc/sysv/consts/POSIX_MADV_RANDOM.S +++ b/libc/sysv/consts/POSIX_MADV_RANDOM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat POSIX_MADV_RANDOM 1 1 1 1 1 0x10000000 +.syscon compat,POSIX_MADV_RANDOM,1,1,1,1,1,0x10000000 diff --git a/libc/sysv/consts/POSIX_MADV_SEQUENTIAL.S b/libc/sysv/consts/POSIX_MADV_SEQUENTIAL.S index bc17c9878ba..6aa32f454a5 100644 --- a/libc/sysv/consts/POSIX_MADV_SEQUENTIAL.S +++ b/libc/sysv/consts/POSIX_MADV_SEQUENTIAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat POSIX_MADV_SEQUENTIAL 2 2 2 2 2 0x8000000 +.syscon compat,POSIX_MADV_SEQUENTIAL,2,2,2,2,2,0x8000000 diff --git a/libc/sysv/consts/POSIX_MADV_WILLNEED.S b/libc/sysv/consts/POSIX_MADV_WILLNEED.S index 031e0411aaa..0aafef2394b 100644 --- a/libc/sysv/consts/POSIX_MADV_WILLNEED.S +++ b/libc/sysv/consts/POSIX_MADV_WILLNEED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat POSIX_MADV_WILLNEED 3 3 3 3 3 3 +.syscon compat,POSIX_MADV_WILLNEED,3,3,3,3,3,3 diff --git a/libc/sysv/consts/PPPDISC.S b/libc/sysv/consts/PPPDISC.S index d64b6682b3e..314548a967f 100644 --- a/libc/sysv/consts/PPPDISC.S +++ b/libc/sysv/consts/PPPDISC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios PPPDISC 0 0x5 0x5 0x5 0x5 -1 +.syscon termios,PPPDISC,0,0x5,0x5,0x5,0x5,-1 diff --git a/libc/sysv/consts/PRELIM.S b/libc/sysv/consts/PRELIM.S index 3cdffe27bc3..f073ab6f2a3 100644 --- a/libc/sysv/consts/PRELIM.S +++ b/libc/sysv/consts/PRELIM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PRELIM 1 1 1 1 1 0 +.syscon misc,PRELIM,1,1,1,1,1,0 diff --git a/libc/sysv/consts/PRE_FETCH.S b/libc/sysv/consts/PRE_FETCH.S index fa301f88652..7d19c4cfea3 100644 --- a/libc/sysv/consts/PRE_FETCH.S +++ b/libc/sysv/consts/PRE_FETCH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PRE_FETCH 52 0 0 0 0 0 +.syscon misc,PRE_FETCH,52,0,0,0,0,0 diff --git a/libc/sysv/consts/PRIO_MAX.S b/libc/sysv/consts/PRIO_MAX.S index 701143e0f75..ff08d7123a0 100644 --- a/libc/sysv/consts/PRIO_MAX.S +++ b/libc/sysv/consts/PRIO_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon prio PRIO_MAX 20 20 20 20 20 20 +.syscon prio,PRIO_MAX,20,20,20,20,20,20 diff --git a/libc/sysv/consts/PRIO_MIN.S b/libc/sysv/consts/PRIO_MIN.S index ff5e921a410..1bf80920332 100644 --- a/libc/sysv/consts/PRIO_MIN.S +++ b/libc/sysv/consts/PRIO_MIN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon prio PRIO_MIN -20 -20 -20 -20 -20 -20 +.syscon prio,PRIO_MIN,-20,-20,-20,-20,-20,-20 diff --git a/libc/sysv/consts/PRIO_PGRP.S b/libc/sysv/consts/PRIO_PGRP.S index b4b12df2847..99eef0c59b5 100644 --- a/libc/sysv/consts/PRIO_PGRP.S +++ b/libc/sysv/consts/PRIO_PGRP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon prio PRIO_PGRP 1 1 1 1 1 1 +.syscon prio,PRIO_PGRP,1,1,1,1,1,1 diff --git a/libc/sysv/consts/PRIO_PROCESS.S b/libc/sysv/consts/PRIO_PROCESS.S index 81b6ae391c9..ef83509d70b 100644 --- a/libc/sysv/consts/PRIO_PROCESS.S +++ b/libc/sysv/consts/PRIO_PROCESS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon prio PRIO_PROCESS 0 0 0 0 0 0 +.syscon prio,PRIO_PROCESS,0,0,0,0,0,0 diff --git a/libc/sysv/consts/PRIO_USER.S b/libc/sysv/consts/PRIO_USER.S index 2992ca4f819..de09cd9e0ed 100644 --- a/libc/sysv/consts/PRIO_USER.S +++ b/libc/sysv/consts/PRIO_USER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon prio PRIO_USER 2 2 2 2 2 2 +.syscon prio,PRIO_USER,2,2,2,2,2,2 diff --git a/libc/sysv/consts/PROT_EXEC.S b/libc/sysv/consts/PROT_EXEC.S index d388639478b..0d1dd0fdf4b 100644 --- a/libc/sysv/consts/PROT_EXEC.S +++ b/libc/sysv/consts/PROT_EXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mprot PROT_EXEC 4 4 4 4 4 4 +.syscon mprot,PROT_EXEC,4,4,4,4,4,4 diff --git a/libc/sysv/consts/PROT_GROWSDOWN.S b/libc/sysv/consts/PROT_GROWSDOWN.S index c0f7d8f4e16..36c5a220b0d 100644 --- a/libc/sysv/consts/PROT_GROWSDOWN.S +++ b/libc/sysv/consts/PROT_GROWSDOWN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mprot PROT_GROWSDOWN 0x01000000 0 0 0 0 0 +.syscon mprot,PROT_GROWSDOWN,0x01000000,0,0,0,0,0 diff --git a/libc/sysv/consts/PROT_GROWSUP.S b/libc/sysv/consts/PROT_GROWSUP.S index 9a1f37a48a7..6cc1b32df51 100644 --- a/libc/sysv/consts/PROT_GROWSUP.S +++ b/libc/sysv/consts/PROT_GROWSUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mprot PROT_GROWSUP 0x02000000 0 0 0 0 0 +.syscon mprot,PROT_GROWSUP,0x02000000,0,0,0,0,0 diff --git a/libc/sysv/consts/PROT_NONE.S b/libc/sysv/consts/PROT_NONE.S index 96c7b4a2677..62e7deafc77 100644 --- a/libc/sysv/consts/PROT_NONE.S +++ b/libc/sysv/consts/PROT_NONE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mprot PROT_NONE 0 0 0 0 0 0 +.syscon mprot,PROT_NONE,0,0,0,0,0,0 diff --git a/libc/sysv/consts/PROT_READ.S b/libc/sysv/consts/PROT_READ.S index efebfea1bf2..d895f7bee07 100644 --- a/libc/sysv/consts/PROT_READ.S +++ b/libc/sysv/consts/PROT_READ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mprot PROT_READ 1 1 1 1 1 1 +.syscon mprot,PROT_READ,1,1,1,1,1,1 diff --git a/libc/sysv/consts/PROT_WRITE.S b/libc/sysv/consts/PROT_WRITE.S index e822e17d907..a1be641a39c 100644 --- a/libc/sysv/consts/PROT_WRITE.S +++ b/libc/sysv/consts/PROT_WRITE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon mprot PROT_WRITE 2 2 2 2 2 2 +.syscon mprot,PROT_WRITE,2,2,2,2,2,2 diff --git a/libc/sysv/consts/PR_CAPBSET_DROP.S b/libc/sysv/consts/PR_CAPBSET_DROP.S index 6d5a67273a0..4b686464e97 100644 --- a/libc/sysv/consts/PR_CAPBSET_DROP.S +++ b/libc/sysv/consts/PR_CAPBSET_DROP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_CAPBSET_DROP 24 0 0 0 0 0 +.syscon pr,PR_CAPBSET_DROP,24,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_CAPBSET_READ.S b/libc/sysv/consts/PR_CAPBSET_READ.S index 1e754095f25..fa534ace950 100644 --- a/libc/sysv/consts/PR_CAPBSET_READ.S +++ b/libc/sysv/consts/PR_CAPBSET_READ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_CAPBSET_READ 23 0 0 0 0 0 +.syscon pr,PR_CAPBSET_READ,23,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_CAP_AMBIENT.S b/libc/sysv/consts/PR_CAP_AMBIENT.S index b573a8bda8e..efd1a03af75 100644 --- a/libc/sysv/consts/PR_CAP_AMBIENT.S +++ b/libc/sysv/consts/PR_CAP_AMBIENT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_CAP_AMBIENT 47 0 0 0 0 0 +.syscon pr,PR_CAP_AMBIENT,47,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_CAP_AMBIENT_CLEAR_ALL.S b/libc/sysv/consts/PR_CAP_AMBIENT_CLEAR_ALL.S index 7b502b86df4..294bf1d8afa 100644 --- a/libc/sysv/consts/PR_CAP_AMBIENT_CLEAR_ALL.S +++ b/libc/sysv/consts/PR_CAP_AMBIENT_CLEAR_ALL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_CAP_AMBIENT_CLEAR_ALL 4 0 0 0 0 0 +.syscon pr,PR_CAP_AMBIENT_CLEAR_ALL,4,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_CAP_AMBIENT_IS_SET.S b/libc/sysv/consts/PR_CAP_AMBIENT_IS_SET.S index 437c32ab61d..2e13f345428 100644 --- a/libc/sysv/consts/PR_CAP_AMBIENT_IS_SET.S +++ b/libc/sysv/consts/PR_CAP_AMBIENT_IS_SET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_CAP_AMBIENT_IS_SET 1 0 0 0 0 0 +.syscon pr,PR_CAP_AMBIENT_IS_SET,1,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_CAP_AMBIENT_LOWER.S b/libc/sysv/consts/PR_CAP_AMBIENT_LOWER.S index 7b0d058885d..cd3cbb4e37c 100644 --- a/libc/sysv/consts/PR_CAP_AMBIENT_LOWER.S +++ b/libc/sysv/consts/PR_CAP_AMBIENT_LOWER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_CAP_AMBIENT_LOWER 3 0 0 0 0 0 +.syscon pr,PR_CAP_AMBIENT_LOWER,3,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_CAP_AMBIENT_RAISE.S b/libc/sysv/consts/PR_CAP_AMBIENT_RAISE.S index 0e1f32d4670..da3d27819a5 100644 --- a/libc/sysv/consts/PR_CAP_AMBIENT_RAISE.S +++ b/libc/sysv/consts/PR_CAP_AMBIENT_RAISE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_CAP_AMBIENT_RAISE 2 0 0 0 0 0 +.syscon pr,PR_CAP_AMBIENT_RAISE,2,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_ENDIAN_BIG.S b/libc/sysv/consts/PR_ENDIAN_BIG.S index 270409dfb19..83b211d7791 100644 --- a/libc/sysv/consts/PR_ENDIAN_BIG.S +++ b/libc/sysv/consts/PR_ENDIAN_BIG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_ENDIAN_BIG 0 0 0 0 0 0 +.syscon pr,PR_ENDIAN_BIG,0,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_ENDIAN_LITTLE.S b/libc/sysv/consts/PR_ENDIAN_LITTLE.S index e199ff1174f..b9b4dbd13be 100644 --- a/libc/sysv/consts/PR_ENDIAN_LITTLE.S +++ b/libc/sysv/consts/PR_ENDIAN_LITTLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_ENDIAN_LITTLE 1 0 0 0 0 0 +.syscon pr,PR_ENDIAN_LITTLE,1,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_ENDIAN_PPC_LITTLE.S b/libc/sysv/consts/PR_ENDIAN_PPC_LITTLE.S index 4b9a842e4ae..7fd4aa1889b 100644 --- a/libc/sysv/consts/PR_ENDIAN_PPC_LITTLE.S +++ b/libc/sysv/consts/PR_ENDIAN_PPC_LITTLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_ENDIAN_PPC_LITTLE 2 0 0 0 0 0 +.syscon pr,PR_ENDIAN_PPC_LITTLE,2,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_FPEMU_NOPRINT.S b/libc/sysv/consts/PR_FPEMU_NOPRINT.S index 3ba2fa5a98b..10925eb6dff 100644 --- a/libc/sysv/consts/PR_FPEMU_NOPRINT.S +++ b/libc/sysv/consts/PR_FPEMU_NOPRINT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_FPEMU_NOPRINT 1 0 0 0 0 0 +.syscon pr,PR_FPEMU_NOPRINT,1,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_FPEMU_SIGFPE.S b/libc/sysv/consts/PR_FPEMU_SIGFPE.S index b88294e2363..4cbb4616400 100644 --- a/libc/sysv/consts/PR_FPEMU_SIGFPE.S +++ b/libc/sysv/consts/PR_FPEMU_SIGFPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_FPEMU_SIGFPE 2 0 0 0 0 0 +.syscon pr,PR_FPEMU_SIGFPE,2,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_FP_EXC_ASYNC.S b/libc/sysv/consts/PR_FP_EXC_ASYNC.S index 7a2414b9034..f36d72396ac 100644 --- a/libc/sysv/consts/PR_FP_EXC_ASYNC.S +++ b/libc/sysv/consts/PR_FP_EXC_ASYNC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_FP_EXC_ASYNC 2 0 0 0 0 0 +.syscon pr,PR_FP_EXC_ASYNC,2,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_FP_EXC_DISABLED.S b/libc/sysv/consts/PR_FP_EXC_DISABLED.S index 6ad447ea626..8cc774685c1 100644 --- a/libc/sysv/consts/PR_FP_EXC_DISABLED.S +++ b/libc/sysv/consts/PR_FP_EXC_DISABLED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_FP_EXC_DISABLED 0 0 0 0 0 0 +.syscon pr,PR_FP_EXC_DISABLED,0,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_FP_EXC_DIV.S b/libc/sysv/consts/PR_FP_EXC_DIV.S index b4c2a9819ca..fc8ad75b10a 100644 --- a/libc/sysv/consts/PR_FP_EXC_DIV.S +++ b/libc/sysv/consts/PR_FP_EXC_DIV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_FP_EXC_DIV 0x010000 0 0 0 0 0 +.syscon pr,PR_FP_EXC_DIV,0x010000,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_FP_EXC_INV.S b/libc/sysv/consts/PR_FP_EXC_INV.S index e11b8392a9e..85475ca11cf 100644 --- a/libc/sysv/consts/PR_FP_EXC_INV.S +++ b/libc/sysv/consts/PR_FP_EXC_INV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_FP_EXC_INV 0x100000 0 0 0 0 0 +.syscon pr,PR_FP_EXC_INV,0x100000,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_FP_EXC_NONRECOV.S b/libc/sysv/consts/PR_FP_EXC_NONRECOV.S index c874d2867f5..f57d78bdf41 100644 --- a/libc/sysv/consts/PR_FP_EXC_NONRECOV.S +++ b/libc/sysv/consts/PR_FP_EXC_NONRECOV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_FP_EXC_NONRECOV 1 0 0 0 0 0 +.syscon pr,PR_FP_EXC_NONRECOV,1,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_FP_EXC_OVF.S b/libc/sysv/consts/PR_FP_EXC_OVF.S index 0b6c183588a..07ff9ac8d77 100644 --- a/libc/sysv/consts/PR_FP_EXC_OVF.S +++ b/libc/sysv/consts/PR_FP_EXC_OVF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_FP_EXC_OVF 0x020000 0 0 0 0 0 +.syscon pr,PR_FP_EXC_OVF,0x020000,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_FP_EXC_PRECISE.S b/libc/sysv/consts/PR_FP_EXC_PRECISE.S index 21f3f55bb28..f55e2600b0e 100644 --- a/libc/sysv/consts/PR_FP_EXC_PRECISE.S +++ b/libc/sysv/consts/PR_FP_EXC_PRECISE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_FP_EXC_PRECISE 3 0 0 0 0 0 +.syscon pr,PR_FP_EXC_PRECISE,3,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_FP_EXC_RES.S b/libc/sysv/consts/PR_FP_EXC_RES.S index f16fd878457..234428b05f3 100644 --- a/libc/sysv/consts/PR_FP_EXC_RES.S +++ b/libc/sysv/consts/PR_FP_EXC_RES.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_FP_EXC_RES 0x080000 0 0 0 0 0 +.syscon pr,PR_FP_EXC_RES,0x080000,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_FP_EXC_SW_ENABLE.S b/libc/sysv/consts/PR_FP_EXC_SW_ENABLE.S index a7a3bfa12c0..7ac6c8101e1 100644 --- a/libc/sysv/consts/PR_FP_EXC_SW_ENABLE.S +++ b/libc/sysv/consts/PR_FP_EXC_SW_ENABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_FP_EXC_SW_ENABLE 0x80 0 0 0 0 0 +.syscon pr,PR_FP_EXC_SW_ENABLE,0x80,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_FP_EXC_UND.S b/libc/sysv/consts/PR_FP_EXC_UND.S index 52ef23c50ad..ba05501cadf 100644 --- a/libc/sysv/consts/PR_FP_EXC_UND.S +++ b/libc/sysv/consts/PR_FP_EXC_UND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_FP_EXC_UND 0x040000 0 0 0 0 0 +.syscon pr,PR_FP_EXC_UND,0x040000,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_FP_MODE_FR.S b/libc/sysv/consts/PR_FP_MODE_FR.S index 4a0efc248aa..8948def133b 100644 --- a/libc/sysv/consts/PR_FP_MODE_FR.S +++ b/libc/sysv/consts/PR_FP_MODE_FR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_FP_MODE_FR 1 0 0 0 0 0 +.syscon pr,PR_FP_MODE_FR,1,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_FP_MODE_FRE.S b/libc/sysv/consts/PR_FP_MODE_FRE.S index ed4c031470b..03f89460ccf 100644 --- a/libc/sysv/consts/PR_FP_MODE_FRE.S +++ b/libc/sysv/consts/PR_FP_MODE_FRE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_FP_MODE_FRE 2 0 0 0 0 0 +.syscon pr,PR_FP_MODE_FRE,2,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_GET_CHILD_SUBREAPER.S b/libc/sysv/consts/PR_GET_CHILD_SUBREAPER.S index 2c95aba2ae3..ad1aeec26b9 100644 --- a/libc/sysv/consts/PR_GET_CHILD_SUBREAPER.S +++ b/libc/sysv/consts/PR_GET_CHILD_SUBREAPER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_GET_CHILD_SUBREAPER 37 0 0 0 0 0 +.syscon pr,PR_GET_CHILD_SUBREAPER,37,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_GET_DUMPABLE.S b/libc/sysv/consts/PR_GET_DUMPABLE.S index 2aa4264837a..e1dd69fdb8f 100644 --- a/libc/sysv/consts/PR_GET_DUMPABLE.S +++ b/libc/sysv/consts/PR_GET_DUMPABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_GET_DUMPABLE 3 0 0 0 0 0 +.syscon pr,PR_GET_DUMPABLE,3,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_GET_ENDIAN.S b/libc/sysv/consts/PR_GET_ENDIAN.S index 85092579ed0..8d2f955820f 100644 --- a/libc/sysv/consts/PR_GET_ENDIAN.S +++ b/libc/sysv/consts/PR_GET_ENDIAN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_GET_ENDIAN 19 0 0 0 0 0 +.syscon pr,PR_GET_ENDIAN,19,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_GET_FPEMU.S b/libc/sysv/consts/PR_GET_FPEMU.S index b822a654b0f..df847914a4b 100644 --- a/libc/sysv/consts/PR_GET_FPEMU.S +++ b/libc/sysv/consts/PR_GET_FPEMU.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_GET_FPEMU 9 0 0 0 0 0 +.syscon pr,PR_GET_FPEMU,9,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_GET_FPEXC.S b/libc/sysv/consts/PR_GET_FPEXC.S index d69b7ef248f..1e2caa8f982 100644 --- a/libc/sysv/consts/PR_GET_FPEXC.S +++ b/libc/sysv/consts/PR_GET_FPEXC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_GET_FPEXC 11 0 0 0 0 0 +.syscon pr,PR_GET_FPEXC,11,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_GET_FP_MODE.S b/libc/sysv/consts/PR_GET_FP_MODE.S index ec51e884522..07252f7df0c 100644 --- a/libc/sysv/consts/PR_GET_FP_MODE.S +++ b/libc/sysv/consts/PR_GET_FP_MODE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_GET_FP_MODE 46 0 0 0 0 0 +.syscon pr,PR_GET_FP_MODE,46,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_GET_KEEPCAPS.S b/libc/sysv/consts/PR_GET_KEEPCAPS.S index 2f537f54516..cf71ee7fb9e 100644 --- a/libc/sysv/consts/PR_GET_KEEPCAPS.S +++ b/libc/sysv/consts/PR_GET_KEEPCAPS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_GET_KEEPCAPS 7 0 0 0 0 0 +.syscon pr,PR_GET_KEEPCAPS,7,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_GET_NAME.S b/libc/sysv/consts/PR_GET_NAME.S index 38622aac004..ef59878354e 100644 --- a/libc/sysv/consts/PR_GET_NAME.S +++ b/libc/sysv/consts/PR_GET_NAME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_GET_NAME 0x10 0 0 0 0 0 +.syscon pr,PR_GET_NAME,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_GET_NO_NEW_PRIVS.S b/libc/sysv/consts/PR_GET_NO_NEW_PRIVS.S index 907aadf2670..17ace056780 100644 --- a/libc/sysv/consts/PR_GET_NO_NEW_PRIVS.S +++ b/libc/sysv/consts/PR_GET_NO_NEW_PRIVS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_GET_NO_NEW_PRIVS 39 0 0 0 0 0 +.syscon pr,PR_GET_NO_NEW_PRIVS,39,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_GET_PDEATHSIG.S b/libc/sysv/consts/PR_GET_PDEATHSIG.S index bd9cf1de549..6b0883ef345 100644 --- a/libc/sysv/consts/PR_GET_PDEATHSIG.S +++ b/libc/sysv/consts/PR_GET_PDEATHSIG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_GET_PDEATHSIG 2 0 0 0 0 0 +.syscon pr,PR_GET_PDEATHSIG,2,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_GET_SECCOMP.S b/libc/sysv/consts/PR_GET_SECCOMP.S index ac0c1349107..5a49f97de9b 100644 --- a/libc/sysv/consts/PR_GET_SECCOMP.S +++ b/libc/sysv/consts/PR_GET_SECCOMP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_GET_SECCOMP 21 0 0 0 0 0 +.syscon pr,PR_GET_SECCOMP,21,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_GET_SECUREBITS.S b/libc/sysv/consts/PR_GET_SECUREBITS.S index 31b00cc9a95..061ece0aefd 100644 --- a/libc/sysv/consts/PR_GET_SECUREBITS.S +++ b/libc/sysv/consts/PR_GET_SECUREBITS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_GET_SECUREBITS 27 0 0 0 0 0 +.syscon pr,PR_GET_SECUREBITS,27,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_GET_SPECULATION_CTRL.S b/libc/sysv/consts/PR_GET_SPECULATION_CTRL.S index 47ee50069f8..fbc620150c0 100644 --- a/libc/sysv/consts/PR_GET_SPECULATION_CTRL.S +++ b/libc/sysv/consts/PR_GET_SPECULATION_CTRL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_GET_SPECULATION_CTRL 52 0 0 0 0 0 +.syscon pr,PR_GET_SPECULATION_CTRL,52,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_GET_THP_DISABLE.S b/libc/sysv/consts/PR_GET_THP_DISABLE.S index 734b9791cc2..14fbf6d2398 100644 --- a/libc/sysv/consts/PR_GET_THP_DISABLE.S +++ b/libc/sysv/consts/PR_GET_THP_DISABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_GET_THP_DISABLE 42 0 0 0 0 0 +.syscon pr,PR_GET_THP_DISABLE,42,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_GET_TID_ADDRESS.S b/libc/sysv/consts/PR_GET_TID_ADDRESS.S index 00bd6db8b3f..31f35d2851c 100644 --- a/libc/sysv/consts/PR_GET_TID_ADDRESS.S +++ b/libc/sysv/consts/PR_GET_TID_ADDRESS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_GET_TID_ADDRESS 40 0 0 0 0 0 +.syscon pr,PR_GET_TID_ADDRESS,40,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_GET_TIMERSLACK.S b/libc/sysv/consts/PR_GET_TIMERSLACK.S index 147f5bb7d10..b713ba6ca8c 100644 --- a/libc/sysv/consts/PR_GET_TIMERSLACK.S +++ b/libc/sysv/consts/PR_GET_TIMERSLACK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_GET_TIMERSLACK 30 0 0 0 0 0 +.syscon pr,PR_GET_TIMERSLACK,30,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_GET_TIMING.S b/libc/sysv/consts/PR_GET_TIMING.S index 5d093b44005..6de7b07b431 100644 --- a/libc/sysv/consts/PR_GET_TIMING.S +++ b/libc/sysv/consts/PR_GET_TIMING.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_GET_TIMING 13 0 0 0 0 0 +.syscon pr,PR_GET_TIMING,13,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_GET_TSC.S b/libc/sysv/consts/PR_GET_TSC.S index c39b4d7e1c6..93ec93d88da 100644 --- a/libc/sysv/consts/PR_GET_TSC.S +++ b/libc/sysv/consts/PR_GET_TSC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_GET_TSC 25 0 0 0 0 0 +.syscon pr,PR_GET_TSC,25,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_GET_UNALIGN.S b/libc/sysv/consts/PR_GET_UNALIGN.S index e9a47ece570..cfd961d096e 100644 --- a/libc/sysv/consts/PR_GET_UNALIGN.S +++ b/libc/sysv/consts/PR_GET_UNALIGN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_GET_UNALIGN 5 0 0 0 0 0 +.syscon pr,PR_GET_UNALIGN,5,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_MCE_KILL.S b/libc/sysv/consts/PR_MCE_KILL.S index faf033c0545..15c958ea3a0 100644 --- a/libc/sysv/consts/PR_MCE_KILL.S +++ b/libc/sysv/consts/PR_MCE_KILL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_MCE_KILL 33 0 0 0 0 0 +.syscon pr,PR_MCE_KILL,33,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_MCE_KILL_CLEAR.S b/libc/sysv/consts/PR_MCE_KILL_CLEAR.S index d5ec589c96f..bb9f4c94a39 100644 --- a/libc/sysv/consts/PR_MCE_KILL_CLEAR.S +++ b/libc/sysv/consts/PR_MCE_KILL_CLEAR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_MCE_KILL_CLEAR 0 0 0 0 0 0 +.syscon pr,PR_MCE_KILL_CLEAR,0,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_MCE_KILL_DEFAULT.S b/libc/sysv/consts/PR_MCE_KILL_DEFAULT.S index 60a15e3f044..73971366146 100644 --- a/libc/sysv/consts/PR_MCE_KILL_DEFAULT.S +++ b/libc/sysv/consts/PR_MCE_KILL_DEFAULT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_MCE_KILL_DEFAULT 2 0 0 0 0 0 +.syscon pr,PR_MCE_KILL_DEFAULT,2,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_MCE_KILL_EARLY.S b/libc/sysv/consts/PR_MCE_KILL_EARLY.S index 23bbadd4217..155ddb9a9fc 100644 --- a/libc/sysv/consts/PR_MCE_KILL_EARLY.S +++ b/libc/sysv/consts/PR_MCE_KILL_EARLY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_MCE_KILL_EARLY 1 0 0 0 0 0 +.syscon pr,PR_MCE_KILL_EARLY,1,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_MCE_KILL_GET.S b/libc/sysv/consts/PR_MCE_KILL_GET.S index 53abd89e063..e5a7a3234df 100644 --- a/libc/sysv/consts/PR_MCE_KILL_GET.S +++ b/libc/sysv/consts/PR_MCE_KILL_GET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_MCE_KILL_GET 34 0 0 0 0 0 +.syscon pr,PR_MCE_KILL_GET,34,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_MCE_KILL_LATE.S b/libc/sysv/consts/PR_MCE_KILL_LATE.S index c09ba8a2fc4..36b6c0ff788 100644 --- a/libc/sysv/consts/PR_MCE_KILL_LATE.S +++ b/libc/sysv/consts/PR_MCE_KILL_LATE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_MCE_KILL_LATE 0 0 0 0 0 0 +.syscon pr,PR_MCE_KILL_LATE,0,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_MCE_KILL_SET.S b/libc/sysv/consts/PR_MCE_KILL_SET.S index afa5a07b283..3956109cc06 100644 --- a/libc/sysv/consts/PR_MCE_KILL_SET.S +++ b/libc/sysv/consts/PR_MCE_KILL_SET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_MCE_KILL_SET 1 0 0 0 0 0 +.syscon pr,PR_MCE_KILL_SET,1,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_MPX_DISABLE_MANAGEMENT.S b/libc/sysv/consts/PR_MPX_DISABLE_MANAGEMENT.S index 89a0a8d4fa0..aa70185a857 100644 --- a/libc/sysv/consts/PR_MPX_DISABLE_MANAGEMENT.S +++ b/libc/sysv/consts/PR_MPX_DISABLE_MANAGEMENT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_MPX_DISABLE_MANAGEMENT 44 0 0 0 0 0 +.syscon pr,PR_MPX_DISABLE_MANAGEMENT,44,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_MPX_ENABLE_MANAGEMENT.S b/libc/sysv/consts/PR_MPX_ENABLE_MANAGEMENT.S index c37a1298755..40a829d6b6e 100644 --- a/libc/sysv/consts/PR_MPX_ENABLE_MANAGEMENT.S +++ b/libc/sysv/consts/PR_MPX_ENABLE_MANAGEMENT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_MPX_ENABLE_MANAGEMENT 43 0 0 0 0 0 +.syscon pr,PR_MPX_ENABLE_MANAGEMENT,43,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_CHILD_SUBREAPER.S b/libc/sysv/consts/PR_SET_CHILD_SUBREAPER.S index 3382785dadd..1db02010c7c 100644 --- a/libc/sysv/consts/PR_SET_CHILD_SUBREAPER.S +++ b/libc/sysv/consts/PR_SET_CHILD_SUBREAPER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_CHILD_SUBREAPER 36 0 0 0 0 0 +.syscon pr,PR_SET_CHILD_SUBREAPER,36,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_DUMPABLE.S b/libc/sysv/consts/PR_SET_DUMPABLE.S index 76402848afe..ce11a6fa141 100644 --- a/libc/sysv/consts/PR_SET_DUMPABLE.S +++ b/libc/sysv/consts/PR_SET_DUMPABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_DUMPABLE 4 0 0 0 0 0 +.syscon pr,PR_SET_DUMPABLE,4,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_ENDIAN.S b/libc/sysv/consts/PR_SET_ENDIAN.S index 9beb2486c81..6c0721fdee8 100644 --- a/libc/sysv/consts/PR_SET_ENDIAN.S +++ b/libc/sysv/consts/PR_SET_ENDIAN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_ENDIAN 20 0 0 0 0 0 +.syscon pr,PR_SET_ENDIAN,20,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_FPEMU.S b/libc/sysv/consts/PR_SET_FPEMU.S index 219e8ff5048..553118d9d04 100644 --- a/libc/sysv/consts/PR_SET_FPEMU.S +++ b/libc/sysv/consts/PR_SET_FPEMU.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_FPEMU 10 0 0 0 0 0 +.syscon pr,PR_SET_FPEMU,10,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_FPEXC.S b/libc/sysv/consts/PR_SET_FPEXC.S index 8a714b70205..9286d05820d 100644 --- a/libc/sysv/consts/PR_SET_FPEXC.S +++ b/libc/sysv/consts/PR_SET_FPEXC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_FPEXC 12 0 0 0 0 0 +.syscon pr,PR_SET_FPEXC,12,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_FP_MODE.S b/libc/sysv/consts/PR_SET_FP_MODE.S index 5670b8566a5..c0e0a9633f9 100644 --- a/libc/sysv/consts/PR_SET_FP_MODE.S +++ b/libc/sysv/consts/PR_SET_FP_MODE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_FP_MODE 45 0 0 0 0 0 +.syscon pr,PR_SET_FP_MODE,45,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_KEEPCAPS.S b/libc/sysv/consts/PR_SET_KEEPCAPS.S index f8593b7075d..ee5e15f322d 100644 --- a/libc/sysv/consts/PR_SET_KEEPCAPS.S +++ b/libc/sysv/consts/PR_SET_KEEPCAPS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_KEEPCAPS 8 0 0 0 0 0 +.syscon pr,PR_SET_KEEPCAPS,8,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_MM.S b/libc/sysv/consts/PR_SET_MM.S index a03f2d10dee..459d4e9e2ce 100644 --- a/libc/sysv/consts/PR_SET_MM.S +++ b/libc/sysv/consts/PR_SET_MM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_MM 35 0 0 0 0 0 +.syscon pr,PR_SET_MM,35,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_MM_ARG_END.S b/libc/sysv/consts/PR_SET_MM_ARG_END.S index 05171ac5dc7..4bc2ebe7a36 100644 --- a/libc/sysv/consts/PR_SET_MM_ARG_END.S +++ b/libc/sysv/consts/PR_SET_MM_ARG_END.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_MM_ARG_END 9 0 0 0 0 0 +.syscon pr,PR_SET_MM_ARG_END,9,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_MM_ARG_START.S b/libc/sysv/consts/PR_SET_MM_ARG_START.S index d727be2b640..fd6f32a8a29 100644 --- a/libc/sysv/consts/PR_SET_MM_ARG_START.S +++ b/libc/sysv/consts/PR_SET_MM_ARG_START.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_MM_ARG_START 8 0 0 0 0 0 +.syscon pr,PR_SET_MM_ARG_START,8,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_MM_AUXV.S b/libc/sysv/consts/PR_SET_MM_AUXV.S index e665415825e..7f0d3726ed0 100644 --- a/libc/sysv/consts/PR_SET_MM_AUXV.S +++ b/libc/sysv/consts/PR_SET_MM_AUXV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_MM_AUXV 12 0 0 0 0 0 +.syscon pr,PR_SET_MM_AUXV,12,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_MM_BRK.S b/libc/sysv/consts/PR_SET_MM_BRK.S index 0a4a1ad90b5..bf84d9aff5f 100644 --- a/libc/sysv/consts/PR_SET_MM_BRK.S +++ b/libc/sysv/consts/PR_SET_MM_BRK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_MM_BRK 7 0 0 0 0 0 +.syscon pr,PR_SET_MM_BRK,7,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_MM_END_CODE.S b/libc/sysv/consts/PR_SET_MM_END_CODE.S index 98eea49e5d9..39311d76779 100644 --- a/libc/sysv/consts/PR_SET_MM_END_CODE.S +++ b/libc/sysv/consts/PR_SET_MM_END_CODE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_MM_END_CODE 2 0 0 0 0 0 +.syscon pr,PR_SET_MM_END_CODE,2,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_MM_END_DATA.S b/libc/sysv/consts/PR_SET_MM_END_DATA.S index 08d7677e760..e8b856808b9 100644 --- a/libc/sysv/consts/PR_SET_MM_END_DATA.S +++ b/libc/sysv/consts/PR_SET_MM_END_DATA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_MM_END_DATA 4 0 0 0 0 0 +.syscon pr,PR_SET_MM_END_DATA,4,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_MM_ENV_END.S b/libc/sysv/consts/PR_SET_MM_ENV_END.S index fa4e64790ca..f23384115a4 100644 --- a/libc/sysv/consts/PR_SET_MM_ENV_END.S +++ b/libc/sysv/consts/PR_SET_MM_ENV_END.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_MM_ENV_END 11 0 0 0 0 0 +.syscon pr,PR_SET_MM_ENV_END,11,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_MM_ENV_START.S b/libc/sysv/consts/PR_SET_MM_ENV_START.S index de4ccd6a2cb..dbc7f89caff 100644 --- a/libc/sysv/consts/PR_SET_MM_ENV_START.S +++ b/libc/sysv/consts/PR_SET_MM_ENV_START.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_MM_ENV_START 10 0 0 0 0 0 +.syscon pr,PR_SET_MM_ENV_START,10,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_MM_EXE_FILE.S b/libc/sysv/consts/PR_SET_MM_EXE_FILE.S index cf2dffb3c28..b36a437a430 100644 --- a/libc/sysv/consts/PR_SET_MM_EXE_FILE.S +++ b/libc/sysv/consts/PR_SET_MM_EXE_FILE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_MM_EXE_FILE 13 0 0 0 0 0 +.syscon pr,PR_SET_MM_EXE_FILE,13,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_MM_MAP.S b/libc/sysv/consts/PR_SET_MM_MAP.S index d689821e873..9ecc3c1984b 100644 --- a/libc/sysv/consts/PR_SET_MM_MAP.S +++ b/libc/sysv/consts/PR_SET_MM_MAP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_MM_MAP 14 0 0 0 0 0 +.syscon pr,PR_SET_MM_MAP,14,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_MM_MAP_SIZE.S b/libc/sysv/consts/PR_SET_MM_MAP_SIZE.S index cfc48dcea48..d4a75586325 100644 --- a/libc/sysv/consts/PR_SET_MM_MAP_SIZE.S +++ b/libc/sysv/consts/PR_SET_MM_MAP_SIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_MM_MAP_SIZE 15 0 0 0 0 0 +.syscon pr,PR_SET_MM_MAP_SIZE,15,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_MM_START_BRK.S b/libc/sysv/consts/PR_SET_MM_START_BRK.S index 311fd0ba6f2..424305ca121 100644 --- a/libc/sysv/consts/PR_SET_MM_START_BRK.S +++ b/libc/sysv/consts/PR_SET_MM_START_BRK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_MM_START_BRK 6 0 0 0 0 0 +.syscon pr,PR_SET_MM_START_BRK,6,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_MM_START_CODE.S b/libc/sysv/consts/PR_SET_MM_START_CODE.S index 2a914f44061..92f18baf1c0 100644 --- a/libc/sysv/consts/PR_SET_MM_START_CODE.S +++ b/libc/sysv/consts/PR_SET_MM_START_CODE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_MM_START_CODE 1 0 0 0 0 0 +.syscon pr,PR_SET_MM_START_CODE,1,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_MM_START_DATA.S b/libc/sysv/consts/PR_SET_MM_START_DATA.S index a5b8c93695f..4707471184b 100644 --- a/libc/sysv/consts/PR_SET_MM_START_DATA.S +++ b/libc/sysv/consts/PR_SET_MM_START_DATA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_MM_START_DATA 3 0 0 0 0 0 +.syscon pr,PR_SET_MM_START_DATA,3,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_MM_START_STACK.S b/libc/sysv/consts/PR_SET_MM_START_STACK.S index 3d8d89e1c8a..5488e02e712 100644 --- a/libc/sysv/consts/PR_SET_MM_START_STACK.S +++ b/libc/sysv/consts/PR_SET_MM_START_STACK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_MM_START_STACK 5 0 0 0 0 0 +.syscon pr,PR_SET_MM_START_STACK,5,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_NAME.S b/libc/sysv/consts/PR_SET_NAME.S index 6fe5f205603..f8db3d48918 100644 --- a/libc/sysv/consts/PR_SET_NAME.S +++ b/libc/sysv/consts/PR_SET_NAME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_NAME 15 0 0 0 0 0 +.syscon pr,PR_SET_NAME,15,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_NO_NEW_PRIVS.S b/libc/sysv/consts/PR_SET_NO_NEW_PRIVS.S index bfc35cd59c2..8d17b8295b6 100644 --- a/libc/sysv/consts/PR_SET_NO_NEW_PRIVS.S +++ b/libc/sysv/consts/PR_SET_NO_NEW_PRIVS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_NO_NEW_PRIVS 38 0 0 0 0 0 +.syscon pr,PR_SET_NO_NEW_PRIVS,38,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_PDEATHSIG.S b/libc/sysv/consts/PR_SET_PDEATHSIG.S index 5f2d39542b0..3eeb2d91d4d 100644 --- a/libc/sysv/consts/PR_SET_PDEATHSIG.S +++ b/libc/sysv/consts/PR_SET_PDEATHSIG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_PDEATHSIG 1 0 0 0 0 0 +.syscon pr,PR_SET_PDEATHSIG,1,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_PTRACER.S b/libc/sysv/consts/PR_SET_PTRACER.S index f17be89fcc6..afdb5374fb3 100644 --- a/libc/sysv/consts/PR_SET_PTRACER.S +++ b/libc/sysv/consts/PR_SET_PTRACER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_PTRACER 0x59616d61 0 0 0 0 0 +.syscon pr,PR_SET_PTRACER,0x59616d61,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_PTRACER_ANY.S b/libc/sysv/consts/PR_SET_PTRACER_ANY.S index 0fbdeca29ae..d955036a14a 100644 --- a/libc/sysv/consts/PR_SET_PTRACER_ANY.S +++ b/libc/sysv/consts/PR_SET_PTRACER_ANY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_PTRACER_ANY -1 0 0 0 0 0 +.syscon pr,PR_SET_PTRACER_ANY,-1,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_SECCOMP.S b/libc/sysv/consts/PR_SET_SECCOMP.S index 185d12b1bf6..6cd99bf0356 100644 --- a/libc/sysv/consts/PR_SET_SECCOMP.S +++ b/libc/sysv/consts/PR_SET_SECCOMP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_SECCOMP 22 0 0 0 0 0 +.syscon pr,PR_SET_SECCOMP,22,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_SECUREBITS.S b/libc/sysv/consts/PR_SET_SECUREBITS.S index 467ac7cce5b..dedc7fa5723 100644 --- a/libc/sysv/consts/PR_SET_SECUREBITS.S +++ b/libc/sysv/consts/PR_SET_SECUREBITS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_SECUREBITS 28 0 0 0 0 0 +.syscon pr,PR_SET_SECUREBITS,28,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_SPECULATION_CTRL.S b/libc/sysv/consts/PR_SET_SPECULATION_CTRL.S index 47418321101..068eadfcd89 100644 --- a/libc/sysv/consts/PR_SET_SPECULATION_CTRL.S +++ b/libc/sysv/consts/PR_SET_SPECULATION_CTRL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_SPECULATION_CTRL 53 0 0 0 0 0 +.syscon pr,PR_SET_SPECULATION_CTRL,53,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_THP_DISABLE.S b/libc/sysv/consts/PR_SET_THP_DISABLE.S index 3d64299b0cf..5ac7f0af258 100644 --- a/libc/sysv/consts/PR_SET_THP_DISABLE.S +++ b/libc/sysv/consts/PR_SET_THP_DISABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_THP_DISABLE 41 0 0 0 0 0 +.syscon pr,PR_SET_THP_DISABLE,41,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_TIMERSLACK.S b/libc/sysv/consts/PR_SET_TIMERSLACK.S index 6d623a62a58..fb71778636c 100644 --- a/libc/sysv/consts/PR_SET_TIMERSLACK.S +++ b/libc/sysv/consts/PR_SET_TIMERSLACK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_TIMERSLACK 29 0 0 0 0 0 +.syscon pr,PR_SET_TIMERSLACK,29,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_TIMING.S b/libc/sysv/consts/PR_SET_TIMING.S index 49705a64c5d..fee4162b1ab 100644 --- a/libc/sysv/consts/PR_SET_TIMING.S +++ b/libc/sysv/consts/PR_SET_TIMING.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_TIMING 14 0 0 0 0 0 +.syscon pr,PR_SET_TIMING,14,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_TSC.S b/libc/sysv/consts/PR_SET_TSC.S index 45ffa6d1c4b..3facbf5c0d3 100644 --- a/libc/sysv/consts/PR_SET_TSC.S +++ b/libc/sysv/consts/PR_SET_TSC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_TSC 26 0 0 0 0 0 +.syscon pr,PR_SET_TSC,26,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SET_UNALIGN.S b/libc/sysv/consts/PR_SET_UNALIGN.S index b961019acaa..c5f5f0fc7c8 100644 --- a/libc/sysv/consts/PR_SET_UNALIGN.S +++ b/libc/sysv/consts/PR_SET_UNALIGN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SET_UNALIGN 6 0 0 0 0 0 +.syscon pr,PR_SET_UNALIGN,6,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SPEC_DISABLE.S b/libc/sysv/consts/PR_SPEC_DISABLE.S index bf12a6dfd39..02ed8d3abf9 100644 --- a/libc/sysv/consts/PR_SPEC_DISABLE.S +++ b/libc/sysv/consts/PR_SPEC_DISABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SPEC_DISABLE 4 0 0 0 0 0 +.syscon pr,PR_SPEC_DISABLE,4,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SPEC_ENABLE.S b/libc/sysv/consts/PR_SPEC_ENABLE.S index bf7f900b124..dc0756fd986 100644 --- a/libc/sysv/consts/PR_SPEC_ENABLE.S +++ b/libc/sysv/consts/PR_SPEC_ENABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SPEC_ENABLE 2 0 0 0 0 0 +.syscon pr,PR_SPEC_ENABLE,2,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SPEC_FORCE_DISABLE.S b/libc/sysv/consts/PR_SPEC_FORCE_DISABLE.S index a468c34fc30..a610707ac3a 100644 --- a/libc/sysv/consts/PR_SPEC_FORCE_DISABLE.S +++ b/libc/sysv/consts/PR_SPEC_FORCE_DISABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SPEC_FORCE_DISABLE 8 0 0 0 0 0 +.syscon pr,PR_SPEC_FORCE_DISABLE,8,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SPEC_NOT_AFFECTED.S b/libc/sysv/consts/PR_SPEC_NOT_AFFECTED.S index 3dab208a904..d848f40a42e 100644 --- a/libc/sysv/consts/PR_SPEC_NOT_AFFECTED.S +++ b/libc/sysv/consts/PR_SPEC_NOT_AFFECTED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SPEC_NOT_AFFECTED 0 0 0 0 0 0 +.syscon pr,PR_SPEC_NOT_AFFECTED,0,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SPEC_PRCTL.S b/libc/sysv/consts/PR_SPEC_PRCTL.S index 639d444f96d..abb92d3fbba 100644 --- a/libc/sysv/consts/PR_SPEC_PRCTL.S +++ b/libc/sysv/consts/PR_SPEC_PRCTL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SPEC_PRCTL 1 0 0 0 0 0 +.syscon pr,PR_SPEC_PRCTL,1,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_SPEC_STORE_BYPASS.S b/libc/sysv/consts/PR_SPEC_STORE_BYPASS.S index 4a8363f62a3..07bf3f3642c 100644 --- a/libc/sysv/consts/PR_SPEC_STORE_BYPASS.S +++ b/libc/sysv/consts/PR_SPEC_STORE_BYPASS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_SPEC_STORE_BYPASS 0 0 0 0 0 0 +.syscon pr,PR_SPEC_STORE_BYPASS,0,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_TASK_PERF_EVENTS_DISABLE.S b/libc/sysv/consts/PR_TASK_PERF_EVENTS_DISABLE.S index 7635dccc068..8a8d0657e9f 100644 --- a/libc/sysv/consts/PR_TASK_PERF_EVENTS_DISABLE.S +++ b/libc/sysv/consts/PR_TASK_PERF_EVENTS_DISABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_TASK_PERF_EVENTS_DISABLE 31 0 0 0 0 0 +.syscon pr,PR_TASK_PERF_EVENTS_DISABLE,31,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_TASK_PERF_EVENTS_ENABLE.S b/libc/sysv/consts/PR_TASK_PERF_EVENTS_ENABLE.S index c094d47005e..c44f7ba4d49 100644 --- a/libc/sysv/consts/PR_TASK_PERF_EVENTS_ENABLE.S +++ b/libc/sysv/consts/PR_TASK_PERF_EVENTS_ENABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_TASK_PERF_EVENTS_ENABLE 0x20 0 0 0 0 0 +.syscon pr,PR_TASK_PERF_EVENTS_ENABLE,0x20,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_TIMING_STATISTICAL.S b/libc/sysv/consts/PR_TIMING_STATISTICAL.S index f814d562329..287a2a6d8ec 100644 --- a/libc/sysv/consts/PR_TIMING_STATISTICAL.S +++ b/libc/sysv/consts/PR_TIMING_STATISTICAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_TIMING_STATISTICAL 0 0 0 0 0 0 +.syscon pr,PR_TIMING_STATISTICAL,0,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_TIMING_TIMESTAMP.S b/libc/sysv/consts/PR_TIMING_TIMESTAMP.S index 3abcc56002e..e44d31a2113 100644 --- a/libc/sysv/consts/PR_TIMING_TIMESTAMP.S +++ b/libc/sysv/consts/PR_TIMING_TIMESTAMP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_TIMING_TIMESTAMP 1 0 0 0 0 0 +.syscon pr,PR_TIMING_TIMESTAMP,1,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_TSC_ENABLE.S b/libc/sysv/consts/PR_TSC_ENABLE.S index 4d2a2350487..3ac5b3c401e 100644 --- a/libc/sysv/consts/PR_TSC_ENABLE.S +++ b/libc/sysv/consts/PR_TSC_ENABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_TSC_ENABLE 1 0 0 0 0 0 +.syscon pr,PR_TSC_ENABLE,1,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_TSC_SIGSEGV.S b/libc/sysv/consts/PR_TSC_SIGSEGV.S index 065c77f0734..c189af59e84 100644 --- a/libc/sysv/consts/PR_TSC_SIGSEGV.S +++ b/libc/sysv/consts/PR_TSC_SIGSEGV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_TSC_SIGSEGV 2 0 0 0 0 0 +.syscon pr,PR_TSC_SIGSEGV,2,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_UNALIGN_NOPRINT.S b/libc/sysv/consts/PR_UNALIGN_NOPRINT.S index aadff085974..da14fbf25c6 100644 --- a/libc/sysv/consts/PR_UNALIGN_NOPRINT.S +++ b/libc/sysv/consts/PR_UNALIGN_NOPRINT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_UNALIGN_NOPRINT 1 0 0 0 0 0 +.syscon pr,PR_UNALIGN_NOPRINT,1,0,0,0,0,0 diff --git a/libc/sysv/consts/PR_UNALIGN_SIGBUS.S b/libc/sysv/consts/PR_UNALIGN_SIGBUS.S index 5b0f824b826..3e05888ff01 100644 --- a/libc/sysv/consts/PR_UNALIGN_SIGBUS.S +++ b/libc/sysv/consts/PR_UNALIGN_SIGBUS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pr PR_UNALIGN_SIGBUS 2 0 0 0 0 0 +.syscon pr,PR_UNALIGN_SIGBUS,2,0,0,0,0,0 diff --git a/libc/sysv/consts/PTHREAD_BARRIER_SERIAL_THREAD.S b/libc/sysv/consts/PTHREAD_BARRIER_SERIAL_THREAD.S index c54a2b228fb..f67a3f1b199 100644 --- a/libc/sysv/consts/PTHREAD_BARRIER_SERIAL_THREAD.S +++ b/libc/sysv/consts/PTHREAD_BARRIER_SERIAL_THREAD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_BARRIER_SERIAL_THREAD -1 0 -1 -1 -1 0 +.syscon misc,PTHREAD_BARRIER_SERIAL_THREAD,-1,0,-1,-1,-1,0 diff --git a/libc/sysv/consts/PTHREAD_CANCEL_ASYNCHRONOUS.S b/libc/sysv/consts/PTHREAD_CANCEL_ASYNCHRONOUS.S index d2d75b0acfc..5b17c407cc7 100644 --- a/libc/sysv/consts/PTHREAD_CANCEL_ASYNCHRONOUS.S +++ b/libc/sysv/consts/PTHREAD_CANCEL_ASYNCHRONOUS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_CANCEL_ASYNCHRONOUS 1 0 2 2 2 0 +.syscon misc,PTHREAD_CANCEL_ASYNCHRONOUS,1,0,2,2,2,0 diff --git a/libc/sysv/consts/PTHREAD_CANCEL_DEFERRED.S b/libc/sysv/consts/PTHREAD_CANCEL_DEFERRED.S index 3b87095d874..4b9377263cf 100644 --- a/libc/sysv/consts/PTHREAD_CANCEL_DEFERRED.S +++ b/libc/sysv/consts/PTHREAD_CANCEL_DEFERRED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_CANCEL_DEFERRED 0 2 0 0 0 0 +.syscon misc,PTHREAD_CANCEL_DEFERRED,0,2,0,0,0,0 diff --git a/libc/sysv/consts/PTHREAD_CANCEL_DISABLE.S b/libc/sysv/consts/PTHREAD_CANCEL_DISABLE.S index d34df2edd57..ab090e4f5e7 100644 --- a/libc/sysv/consts/PTHREAD_CANCEL_DISABLE.S +++ b/libc/sysv/consts/PTHREAD_CANCEL_DISABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_CANCEL_DISABLE 1 0 1 1 1 0 +.syscon misc,PTHREAD_CANCEL_DISABLE,1,0,1,1,1,0 diff --git a/libc/sysv/consts/PTHREAD_CANCEL_ENABLE.S b/libc/sysv/consts/PTHREAD_CANCEL_ENABLE.S index 37cd9ac3178..c38d1778db6 100644 --- a/libc/sysv/consts/PTHREAD_CANCEL_ENABLE.S +++ b/libc/sysv/consts/PTHREAD_CANCEL_ENABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_CANCEL_ENABLE 0 1 0 0 0 0 +.syscon misc,PTHREAD_CANCEL_ENABLE,0,1,0,0,0,0 diff --git a/libc/sysv/consts/PTHREAD_CREATE_DETACHED.S b/libc/sysv/consts/PTHREAD_CREATE_DETACHED.S index 06905361e68..0c83a7e79c0 100644 --- a/libc/sysv/consts/PTHREAD_CREATE_DETACHED.S +++ b/libc/sysv/consts/PTHREAD_CREATE_DETACHED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_CREATE_DETACHED 1 2 1 1 1 0 +.syscon misc,PTHREAD_CREATE_DETACHED,1,2,1,1,1,0 diff --git a/libc/sysv/consts/PTHREAD_CREATE_JOINABLE.S b/libc/sysv/consts/PTHREAD_CREATE_JOINABLE.S index 5fe14580724..e7498b24ec5 100644 --- a/libc/sysv/consts/PTHREAD_CREATE_JOINABLE.S +++ b/libc/sysv/consts/PTHREAD_CREATE_JOINABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_CREATE_JOINABLE 0 1 0 0 0 0 +.syscon misc,PTHREAD_CREATE_JOINABLE,0,1,0,0,0,0 diff --git a/libc/sysv/consts/PTHREAD_DESTRUCTOR_ITERATIONS.S b/libc/sysv/consts/PTHREAD_DESTRUCTOR_ITERATIONS.S index 0a08cbacad9..47c4d50a842 100644 --- a/libc/sysv/consts/PTHREAD_DESTRUCTOR_ITERATIONS.S +++ b/libc/sysv/consts/PTHREAD_DESTRUCTOR_ITERATIONS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_DESTRUCTOR_ITERATIONS 4 4 4 4 4 0 +.syscon misc,PTHREAD_DESTRUCTOR_ITERATIONS,4,4,4,4,4,0 diff --git a/libc/sysv/consts/PTHREAD_EXPLICIT_SCHED.S b/libc/sysv/consts/PTHREAD_EXPLICIT_SCHED.S index f8a3db8cdf3..55f4f19b032 100644 --- a/libc/sysv/consts/PTHREAD_EXPLICIT_SCHED.S +++ b/libc/sysv/consts/PTHREAD_EXPLICIT_SCHED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_EXPLICIT_SCHED 1 2 0 0 0 0 +.syscon misc,PTHREAD_EXPLICIT_SCHED,1,2,0,0,0,0 diff --git a/libc/sysv/consts/PTHREAD_INHERIT_SCHED.S b/libc/sysv/consts/PTHREAD_INHERIT_SCHED.S index ffadcab9a81..b141776179a 100644 --- a/libc/sysv/consts/PTHREAD_INHERIT_SCHED.S +++ b/libc/sysv/consts/PTHREAD_INHERIT_SCHED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_INHERIT_SCHED 0 1 4 4 4 0 +.syscon misc,PTHREAD_INHERIT_SCHED,0,1,4,4,4,0 diff --git a/libc/sysv/consts/PTHREAD_KEYS_MAX.S b/libc/sysv/consts/PTHREAD_KEYS_MAX.S index 392a20390c6..8ede0fc8fff 100644 --- a/libc/sysv/consts/PTHREAD_KEYS_MAX.S +++ b/libc/sysv/consts/PTHREAD_KEYS_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_KEYS_MAX 0x0400 0x0200 0x0100 0x0100 0x0100 0 +.syscon misc,PTHREAD_KEYS_MAX,0x0400,0x0200,0x0100,0x0100,0x0100,0 diff --git a/libc/sysv/consts/PTHREAD_MUTEX_DEFAULT.S b/libc/sysv/consts/PTHREAD_MUTEX_DEFAULT.S index b2d426608b9..f4dd0a2db42 100644 --- a/libc/sysv/consts/PTHREAD_MUTEX_DEFAULT.S +++ b/libc/sysv/consts/PTHREAD_MUTEX_DEFAULT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_MUTEX_DEFAULT 0 0 1 4 4 0 +.syscon misc,PTHREAD_MUTEX_DEFAULT,0,0,1,4,4,0 diff --git a/libc/sysv/consts/PTHREAD_MUTEX_ERRORCHECK.S b/libc/sysv/consts/PTHREAD_MUTEX_ERRORCHECK.S index dfde0a325f9..4f41faf042c 100644 --- a/libc/sysv/consts/PTHREAD_MUTEX_ERRORCHECK.S +++ b/libc/sysv/consts/PTHREAD_MUTEX_ERRORCHECK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_MUTEX_ERRORCHECK 0 1 0 1 1 0 +.syscon misc,PTHREAD_MUTEX_ERRORCHECK,0,1,0,1,1,0 diff --git a/libc/sysv/consts/PTHREAD_MUTEX_NORMAL.S b/libc/sysv/consts/PTHREAD_MUTEX_NORMAL.S index a6579292dc7..4c6431cb607 100644 --- a/libc/sysv/consts/PTHREAD_MUTEX_NORMAL.S +++ b/libc/sysv/consts/PTHREAD_MUTEX_NORMAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_MUTEX_NORMAL 0 0 0 3 3 0 +.syscon misc,PTHREAD_MUTEX_NORMAL,0,0,0,3,3,0 diff --git a/libc/sysv/consts/PTHREAD_MUTEX_RECURSIVE.S b/libc/sysv/consts/PTHREAD_MUTEX_RECURSIVE.S index 3f6200c852a..b9277386046 100644 --- a/libc/sysv/consts/PTHREAD_MUTEX_RECURSIVE.S +++ b/libc/sysv/consts/PTHREAD_MUTEX_RECURSIVE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_MUTEX_RECURSIVE 0 2 0 2 2 0 +.syscon misc,PTHREAD_MUTEX_RECURSIVE,0,2,0,2,2,0 diff --git a/libc/sysv/consts/PTHREAD_MUTEX_ROBUST.S b/libc/sysv/consts/PTHREAD_MUTEX_ROBUST.S index 2f8a5ba4619..8f5ad859a9d 100644 --- a/libc/sysv/consts/PTHREAD_MUTEX_ROBUST.S +++ b/libc/sysv/consts/PTHREAD_MUTEX_ROBUST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_MUTEX_ROBUST 0 0 1 0 0 0 +.syscon misc,PTHREAD_MUTEX_ROBUST,0,0,1,0,0,0 diff --git a/libc/sysv/consts/PTHREAD_MUTEX_STALLED.S b/libc/sysv/consts/PTHREAD_MUTEX_STALLED.S index 719316806a2..6060879738a 100644 --- a/libc/sysv/consts/PTHREAD_MUTEX_STALLED.S +++ b/libc/sysv/consts/PTHREAD_MUTEX_STALLED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_MUTEX_STALLED 0 0 0 0 0 0 +.syscon misc,PTHREAD_MUTEX_STALLED,0,0,0,0,0,0 diff --git a/libc/sysv/consts/PTHREAD_PRIO_INHERIT.S b/libc/sysv/consts/PTHREAD_PRIO_INHERIT.S index 716efd8ec3f..488f01fb45a 100644 --- a/libc/sysv/consts/PTHREAD_PRIO_INHERIT.S +++ b/libc/sysv/consts/PTHREAD_PRIO_INHERIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_PRIO_INHERIT 0 1 1 1 1 0 +.syscon misc,PTHREAD_PRIO_INHERIT,0,1,1,1,1,0 diff --git a/libc/sysv/consts/PTHREAD_PRIO_NONE.S b/libc/sysv/consts/PTHREAD_PRIO_NONE.S index abd221b3c0c..3431c1e8833 100644 --- a/libc/sysv/consts/PTHREAD_PRIO_NONE.S +++ b/libc/sysv/consts/PTHREAD_PRIO_NONE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_PRIO_NONE 0 0 0 0 0 0 +.syscon misc,PTHREAD_PRIO_NONE,0,0,0,0,0,0 diff --git a/libc/sysv/consts/PTHREAD_PRIO_PROTECT.S b/libc/sysv/consts/PTHREAD_PRIO_PROTECT.S index 1fbaeefe34e..9ce2c81cf79 100644 --- a/libc/sysv/consts/PTHREAD_PRIO_PROTECT.S +++ b/libc/sysv/consts/PTHREAD_PRIO_PROTECT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_PRIO_PROTECT 0 2 2 2 2 0 +.syscon misc,PTHREAD_PRIO_PROTECT,0,2,2,2,2,0 diff --git a/libc/sysv/consts/PTHREAD_PROCESS_PRIVATE.S b/libc/sysv/consts/PTHREAD_PROCESS_PRIVATE.S index 5396685cec5..f9d71e1d243 100644 --- a/libc/sysv/consts/PTHREAD_PROCESS_PRIVATE.S +++ b/libc/sysv/consts/PTHREAD_PROCESS_PRIVATE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_PROCESS_PRIVATE 0 2 0 0 0 0 +.syscon misc,PTHREAD_PROCESS_PRIVATE,0,2,0,0,0,0 diff --git a/libc/sysv/consts/PTHREAD_PROCESS_SHARED.S b/libc/sysv/consts/PTHREAD_PROCESS_SHARED.S index 261d97b8f74..b1d40da34b0 100644 --- a/libc/sysv/consts/PTHREAD_PROCESS_SHARED.S +++ b/libc/sysv/consts/PTHREAD_PROCESS_SHARED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_PROCESS_SHARED 1 1 1 1 1 0 +.syscon misc,PTHREAD_PROCESS_SHARED,1,1,1,1,1,0 diff --git a/libc/sysv/consts/PTHREAD_SCOPE_PROCESS.S b/libc/sysv/consts/PTHREAD_SCOPE_PROCESS.S index b3b9744aec6..d240adf0e6b 100644 --- a/libc/sysv/consts/PTHREAD_SCOPE_PROCESS.S +++ b/libc/sysv/consts/PTHREAD_SCOPE_PROCESS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_SCOPE_PROCESS 1 2 0 0 0 0 +.syscon misc,PTHREAD_SCOPE_PROCESS,1,2,0,0,0,0 diff --git a/libc/sysv/consts/PTHREAD_SCOPE_SYSTEM.S b/libc/sysv/consts/PTHREAD_SCOPE_SYSTEM.S index ed85447e538..30238cab92d 100644 --- a/libc/sysv/consts/PTHREAD_SCOPE_SYSTEM.S +++ b/libc/sysv/consts/PTHREAD_SCOPE_SYSTEM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_SCOPE_SYSTEM 0 1 2 2 2 0 +.syscon misc,PTHREAD_SCOPE_SYSTEM,0,1,2,2,2,0 diff --git a/libc/sysv/consts/PTHREAD_STACK_MIN.S b/libc/sysv/consts/PTHREAD_STACK_MIN.S index f36ed2a1f7f..891bf11baa7 100644 --- a/libc/sysv/consts/PTHREAD_STACK_MIN.S +++ b/libc/sysv/consts/PTHREAD_STACK_MIN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc PTHREAD_STACK_MIN 0x4000 0x2000 0x0800 0x1000 0x1000 0 +.syscon misc,PTHREAD_STACK_MIN,0x4000,0x2000,0x0800,0x1000,0x1000,0 diff --git a/libc/sysv/consts/PTMGET.S b/libc/sysv/consts/PTMGET.S index 68e821201bc..747952d1eef 100644 --- a/libc/sysv/consts/PTMGET.S +++ b/libc/sysv/consts/PTMGET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pty PTMGET 0 0 0 0x40287401 0x40287401 -1 +.syscon pty,PTMGET,0,0,0,0x40287401,0x40287401,-1 diff --git a/libc/sysv/consts/PTRACE_ATTACH.S b/libc/sysv/consts/PTRACE_ATTACH.S index 7e7c71b67a3..3d58d592c37 100644 --- a/libc/sysv/consts/PTRACE_ATTACH.S +++ b/libc/sysv/consts/PTRACE_ATTACH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_ATTACH 16 10 10 9 -1 -1 +.syscon ptrace,PTRACE_ATTACH,16,10,10,9,-1,-1 diff --git a/libc/sysv/consts/PTRACE_CONT.S b/libc/sysv/consts/PTRACE_CONT.S index 38a5d17c420..6c46df60229 100644 --- a/libc/sysv/consts/PTRACE_CONT.S +++ b/libc/sysv/consts/PTRACE_CONT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_CONT 7 7 7 7 -1 -1 +.syscon ptrace,PTRACE_CONT,7,7,7,7,-1,-1 diff --git a/libc/sysv/consts/PTRACE_DETACH.S b/libc/sysv/consts/PTRACE_DETACH.S index 46520516062..d51d4f335a7 100644 --- a/libc/sysv/consts/PTRACE_DETACH.S +++ b/libc/sysv/consts/PTRACE_DETACH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_DETACH 17 11 11 10 -1 -1 +.syscon ptrace,PTRACE_DETACH,17,11,11,10,-1,-1 diff --git a/libc/sysv/consts/PTRACE_EVENT_CLONE.S b/libc/sysv/consts/PTRACE_EVENT_CLONE.S index 3aa46ed3e2e..3a2727fd714 100644 --- a/libc/sysv/consts/PTRACE_EVENT_CLONE.S +++ b/libc/sysv/consts/PTRACE_EVENT_CLONE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_EVENT_CLONE 3 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_EVENT_CLONE,3,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_EVENT_EXEC.S b/libc/sysv/consts/PTRACE_EVENT_EXEC.S index f8ebbda694f..60724a9490c 100644 --- a/libc/sysv/consts/PTRACE_EVENT_EXEC.S +++ b/libc/sysv/consts/PTRACE_EVENT_EXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_EVENT_EXEC 4 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_EVENT_EXEC,4,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_EVENT_EXIT.S b/libc/sysv/consts/PTRACE_EVENT_EXIT.S index c199fd012d2..cec84ed0551 100644 --- a/libc/sysv/consts/PTRACE_EVENT_EXIT.S +++ b/libc/sysv/consts/PTRACE_EVENT_EXIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_EVENT_EXIT 6 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_EVENT_EXIT,6,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_EVENT_FORK.S b/libc/sysv/consts/PTRACE_EVENT_FORK.S index 709cd3be872..f638b353f1b 100644 --- a/libc/sysv/consts/PTRACE_EVENT_FORK.S +++ b/libc/sysv/consts/PTRACE_EVENT_FORK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_EVENT_FORK 1 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_EVENT_FORK,1,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_EVENT_VFORK.S b/libc/sysv/consts/PTRACE_EVENT_VFORK.S index 5f19c650845..c04f14def41 100644 --- a/libc/sysv/consts/PTRACE_EVENT_VFORK.S +++ b/libc/sysv/consts/PTRACE_EVENT_VFORK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_EVENT_VFORK 2 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_EVENT_VFORK,2,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_EVENT_VFORK_DONE.S b/libc/sysv/consts/PTRACE_EVENT_VFORK_DONE.S index 1a015e601be..af7ba0e879b 100644 --- a/libc/sysv/consts/PTRACE_EVENT_VFORK_DONE.S +++ b/libc/sysv/consts/PTRACE_EVENT_VFORK_DONE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_EVENT_VFORK_DONE 5 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_EVENT_VFORK_DONE,5,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_GETEVENTMSG.S b/libc/sysv/consts/PTRACE_GETEVENTMSG.S index e5d023af014..5bf00d1a629 100644 --- a/libc/sysv/consts/PTRACE_GETEVENTMSG.S +++ b/libc/sysv/consts/PTRACE_GETEVENTMSG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_GETEVENTMSG 0x4201 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_GETEVENTMSG,0x4201,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_GETFPREGS.S b/libc/sysv/consts/PTRACE_GETFPREGS.S index 37a806afb9f..553d4414d1c 100644 --- a/libc/sysv/consts/PTRACE_GETFPREGS.S +++ b/libc/sysv/consts/PTRACE_GETFPREGS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_GETFPREGS 14 -1 35 35 -1 -1 +.syscon ptrace,PTRACE_GETFPREGS,14,-1,35,35,-1,-1 diff --git a/libc/sysv/consts/PTRACE_GETFPXREGS.S b/libc/sysv/consts/PTRACE_GETFPXREGS.S index ce1534e109c..1104438bab4 100644 --- a/libc/sysv/consts/PTRACE_GETFPXREGS.S +++ b/libc/sysv/consts/PTRACE_GETFPXREGS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_GETFPXREGS 18 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_GETFPXREGS,18,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_GETREGS.S b/libc/sysv/consts/PTRACE_GETREGS.S index 0144e6b7307..caa4f587227 100644 --- a/libc/sysv/consts/PTRACE_GETREGS.S +++ b/libc/sysv/consts/PTRACE_GETREGS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_GETREGS 12 -1 33 33 -1 -1 +.syscon ptrace,PTRACE_GETREGS,12,-1,33,33,-1,-1 diff --git a/libc/sysv/consts/PTRACE_GETREGSET.S b/libc/sysv/consts/PTRACE_GETREGSET.S index 5f6943c4842..6ee5f920d88 100644 --- a/libc/sysv/consts/PTRACE_GETREGSET.S +++ b/libc/sysv/consts/PTRACE_GETREGSET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_GETREGSET 0x4204 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_GETREGSET,0x4204,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_GETSIGINFO.S b/libc/sysv/consts/PTRACE_GETSIGINFO.S index a8ec46ab523..82e0cddc572 100644 --- a/libc/sysv/consts/PTRACE_GETSIGINFO.S +++ b/libc/sysv/consts/PTRACE_GETSIGINFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_GETSIGINFO 0x4202 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_GETSIGINFO,0x4202,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_GETSIGMASK.S b/libc/sysv/consts/PTRACE_GETSIGMASK.S index 5c4e370ec71..05843fdae33 100644 --- a/libc/sysv/consts/PTRACE_GETSIGMASK.S +++ b/libc/sysv/consts/PTRACE_GETSIGMASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_GETSIGMASK 0x420a -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_GETSIGMASK,0x420a,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_INTERRUPT.S b/libc/sysv/consts/PTRACE_INTERRUPT.S index 2402830ab90..ba19ae8bf16 100644 --- a/libc/sysv/consts/PTRACE_INTERRUPT.S +++ b/libc/sysv/consts/PTRACE_INTERRUPT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_INTERRUPT 0x4207 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_INTERRUPT,0x4207,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_KILL.S b/libc/sysv/consts/PTRACE_KILL.S index 33d746913f0..bcecfa61d7d 100644 --- a/libc/sysv/consts/PTRACE_KILL.S +++ b/libc/sysv/consts/PTRACE_KILL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_KILL 8 8 8 8 -1 -1 +.syscon ptrace,PTRACE_KILL,8,8,8,8,-1,-1 diff --git a/libc/sysv/consts/PTRACE_LISTEN.S b/libc/sysv/consts/PTRACE_LISTEN.S index e36586bd85b..2711ed3b018 100644 --- a/libc/sysv/consts/PTRACE_LISTEN.S +++ b/libc/sysv/consts/PTRACE_LISTEN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_LISTEN 0x4208 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_LISTEN,0x4208,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_O_MASK.S b/libc/sysv/consts/PTRACE_O_MASK.S index 51e15bda903..ff86504c2a4 100644 --- a/libc/sysv/consts/PTRACE_O_MASK.S +++ b/libc/sysv/consts/PTRACE_O_MASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_O_MASK 0x007f -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_O_MASK,0x007f,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_O_TRACECLONE.S b/libc/sysv/consts/PTRACE_O_TRACECLONE.S index 8d31755ef26..8dc5f9dd61a 100644 --- a/libc/sysv/consts/PTRACE_O_TRACECLONE.S +++ b/libc/sysv/consts/PTRACE_O_TRACECLONE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_O_TRACECLONE 0x0008 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_O_TRACECLONE,0x0008,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_O_TRACEEXEC.S b/libc/sysv/consts/PTRACE_O_TRACEEXEC.S index 138ed921924..9c6d66dfe63 100644 --- a/libc/sysv/consts/PTRACE_O_TRACEEXEC.S +++ b/libc/sysv/consts/PTRACE_O_TRACEEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_O_TRACEEXEC 0x0010 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_O_TRACEEXEC,0x0010,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_O_TRACEEXIT.S b/libc/sysv/consts/PTRACE_O_TRACEEXIT.S index b80fd663448..5e09ef54c2f 100644 --- a/libc/sysv/consts/PTRACE_O_TRACEEXIT.S +++ b/libc/sysv/consts/PTRACE_O_TRACEEXIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_O_TRACEEXIT 0x0040 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_O_TRACEEXIT,0x0040,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_O_TRACEFORK.S b/libc/sysv/consts/PTRACE_O_TRACEFORK.S index 895adba9c7b..45f46d52885 100644 --- a/libc/sysv/consts/PTRACE_O_TRACEFORK.S +++ b/libc/sysv/consts/PTRACE_O_TRACEFORK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_O_TRACEFORK 0x0002 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_O_TRACEFORK,0x0002,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_O_TRACESYSGOOD.S b/libc/sysv/consts/PTRACE_O_TRACESYSGOOD.S index bc5353a8db6..52969878390 100644 --- a/libc/sysv/consts/PTRACE_O_TRACESYSGOOD.S +++ b/libc/sysv/consts/PTRACE_O_TRACESYSGOOD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_O_TRACESYSGOOD 0x0001 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_O_TRACESYSGOOD,0x0001,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_O_TRACEVFORK.S b/libc/sysv/consts/PTRACE_O_TRACEVFORK.S index cc32ec49f7f..9ddba0fb58b 100644 --- a/libc/sysv/consts/PTRACE_O_TRACEVFORK.S +++ b/libc/sysv/consts/PTRACE_O_TRACEVFORK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_O_TRACEVFORK 0x0004 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_O_TRACEVFORK,0x0004,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_O_TRACEVFORKDONE.S b/libc/sysv/consts/PTRACE_O_TRACEVFORKDONE.S index 7ee40765df1..28a75f59e5a 100644 --- a/libc/sysv/consts/PTRACE_O_TRACEVFORKDONE.S +++ b/libc/sysv/consts/PTRACE_O_TRACEVFORKDONE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_O_TRACEVFORKDONE 0x0020 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_O_TRACEVFORKDONE,0x0020,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_PEEKDATA.S b/libc/sysv/consts/PTRACE_PEEKDATA.S index d8896b79bfe..53bfb25f472 100644 --- a/libc/sysv/consts/PTRACE_PEEKDATA.S +++ b/libc/sysv/consts/PTRACE_PEEKDATA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_PEEKDATA 2 2 2 2 -1 -1 +.syscon ptrace,PTRACE_PEEKDATA,2,2,2,2,-1,-1 diff --git a/libc/sysv/consts/PTRACE_PEEKSIGINFO.S b/libc/sysv/consts/PTRACE_PEEKSIGINFO.S index 6e275cf1fc2..5c4c713cfd6 100644 --- a/libc/sysv/consts/PTRACE_PEEKSIGINFO.S +++ b/libc/sysv/consts/PTRACE_PEEKSIGINFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_PEEKSIGINFO 0x4209 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_PEEKSIGINFO,0x4209,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_PEEKTEXT.S b/libc/sysv/consts/PTRACE_PEEKTEXT.S index 98c14a4e224..7bf85778ddc 100644 --- a/libc/sysv/consts/PTRACE_PEEKTEXT.S +++ b/libc/sysv/consts/PTRACE_PEEKTEXT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_PEEKTEXT 1 1 1 1 -1 -1 +.syscon ptrace,PTRACE_PEEKTEXT,1,1,1,1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_PEEKUSER.S b/libc/sysv/consts/PTRACE_PEEKUSER.S index a77c256601b..0eb51cce01e 100644 --- a/libc/sysv/consts/PTRACE_PEEKUSER.S +++ b/libc/sysv/consts/PTRACE_PEEKUSER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_PEEKUSER 3 3 -1 -1 -1 -1 +.syscon ptrace,PTRACE_PEEKUSER,3,3,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_POKEDATA.S b/libc/sysv/consts/PTRACE_POKEDATA.S index d0800256fd4..8a3ab76d4ae 100644 --- a/libc/sysv/consts/PTRACE_POKEDATA.S +++ b/libc/sysv/consts/PTRACE_POKEDATA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_POKEDATA 5 5 5 5 -1 -1 +.syscon ptrace,PTRACE_POKEDATA,5,5,5,5,-1,-1 diff --git a/libc/sysv/consts/PTRACE_POKETEXT.S b/libc/sysv/consts/PTRACE_POKETEXT.S index 87670c94bb1..6b51b623b7e 100644 --- a/libc/sysv/consts/PTRACE_POKETEXT.S +++ b/libc/sysv/consts/PTRACE_POKETEXT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_POKETEXT 4 4 4 4 -1 -1 +.syscon ptrace,PTRACE_POKETEXT,4,4,4,4,-1,-1 diff --git a/libc/sysv/consts/PTRACE_POKEUSER.S b/libc/sysv/consts/PTRACE_POKEUSER.S index 1bc3f4f22e7..a4553d5e4a3 100644 --- a/libc/sysv/consts/PTRACE_POKEUSER.S +++ b/libc/sysv/consts/PTRACE_POKEUSER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_POKEUSER 6 6 -1 -1 -1 -1 +.syscon ptrace,PTRACE_POKEUSER,6,6,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_SECCOMP_GET_FILTER.S b/libc/sysv/consts/PTRACE_SECCOMP_GET_FILTER.S index 21f14cd4ca8..f9da9874f92 100644 --- a/libc/sysv/consts/PTRACE_SECCOMP_GET_FILTER.S +++ b/libc/sysv/consts/PTRACE_SECCOMP_GET_FILTER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_SECCOMP_GET_FILTER 0x420c -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_SECCOMP_GET_FILTER,0x420c,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_SEIZE.S b/libc/sysv/consts/PTRACE_SEIZE.S index d02c5367bbe..95729dcf0c9 100644 --- a/libc/sysv/consts/PTRACE_SEIZE.S +++ b/libc/sysv/consts/PTRACE_SEIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_SEIZE 0x4206 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_SEIZE,0x4206,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_SETFPREGS.S b/libc/sysv/consts/PTRACE_SETFPREGS.S index cb9fe1fc1eb..0a2be284ca0 100644 --- a/libc/sysv/consts/PTRACE_SETFPREGS.S +++ b/libc/sysv/consts/PTRACE_SETFPREGS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_SETFPREGS 15 -1 36 36 -1 -1 +.syscon ptrace,PTRACE_SETFPREGS,15,-1,36,36,-1,-1 diff --git a/libc/sysv/consts/PTRACE_SETFPXREGS.S b/libc/sysv/consts/PTRACE_SETFPXREGS.S index 5713925ddac..fd2489c2b65 100644 --- a/libc/sysv/consts/PTRACE_SETFPXREGS.S +++ b/libc/sysv/consts/PTRACE_SETFPXREGS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_SETFPXREGS 19 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_SETFPXREGS,19,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_SETOPTIONS.S b/libc/sysv/consts/PTRACE_SETOPTIONS.S index 3e050455c4d..845e4e15cb9 100644 --- a/libc/sysv/consts/PTRACE_SETOPTIONS.S +++ b/libc/sysv/consts/PTRACE_SETOPTIONS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_SETOPTIONS 0x4200 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_SETOPTIONS,0x4200,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_SETREGS.S b/libc/sysv/consts/PTRACE_SETREGS.S index 70283a539bd..9dba245d070 100644 --- a/libc/sysv/consts/PTRACE_SETREGS.S +++ b/libc/sysv/consts/PTRACE_SETREGS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_SETREGS 13 -1 34 34 -1 -1 +.syscon ptrace,PTRACE_SETREGS,13,-1,34,34,-1,-1 diff --git a/libc/sysv/consts/PTRACE_SETREGSET.S b/libc/sysv/consts/PTRACE_SETREGSET.S index 52ccc4ef1ed..e0302ba9670 100644 --- a/libc/sysv/consts/PTRACE_SETREGSET.S +++ b/libc/sysv/consts/PTRACE_SETREGSET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_SETREGSET 0x4205 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_SETREGSET,0x4205,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_SETSIGINFO.S b/libc/sysv/consts/PTRACE_SETSIGINFO.S index 492b47e7c14..9df405cc6b5 100644 --- a/libc/sysv/consts/PTRACE_SETSIGINFO.S +++ b/libc/sysv/consts/PTRACE_SETSIGINFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_SETSIGINFO 0x4203 -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_SETSIGINFO,0x4203,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_SETSIGMASK.S b/libc/sysv/consts/PTRACE_SETSIGMASK.S index 108e5114be7..155f0e74b99 100644 --- a/libc/sysv/consts/PTRACE_SETSIGMASK.S +++ b/libc/sysv/consts/PTRACE_SETSIGMASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_SETSIGMASK 0x420b -1 -1 -1 -1 -1 +.syscon ptrace,PTRACE_SETSIGMASK,0x420b,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_SINGLESTEP.S b/libc/sysv/consts/PTRACE_SINGLESTEP.S index b60f692489e..aaf5419a1f9 100644 --- a/libc/sysv/consts/PTRACE_SINGLESTEP.S +++ b/libc/sysv/consts/PTRACE_SINGLESTEP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_SINGLESTEP 9 9 9 32 -1 -1 +.syscon ptrace,PTRACE_SINGLESTEP,9,9,9,32,-1,-1 diff --git a/libc/sysv/consts/PTRACE_SYSCALL.S b/libc/sysv/consts/PTRACE_SYSCALL.S index 4e7349e9fbc..c9ddab87f4d 100644 --- a/libc/sysv/consts/PTRACE_SYSCALL.S +++ b/libc/sysv/consts/PTRACE_SYSCALL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_SYSCALL 24 -1 22 -1 -1 -1 +.syscon ptrace,PTRACE_SYSCALL,24,-1,22,-1,-1,-1 diff --git a/libc/sysv/consts/PTRACE_TRACEME.S b/libc/sysv/consts/PTRACE_TRACEME.S index c60bb9c3bfe..f5f92ea2848 100644 --- a/libc/sysv/consts/PTRACE_TRACEME.S +++ b/libc/sysv/consts/PTRACE_TRACEME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ptrace PTRACE_TRACEME 0 0 0 0 -1 -1 +.syscon ptrace,PTRACE_TRACEME,0,0,0,0,-1,-1 diff --git a/libc/sysv/consts/QUEUE_FULL.S b/libc/sysv/consts/QUEUE_FULL.S index 23336047bcb..42cf5b0468e 100644 --- a/libc/sysv/consts/QUEUE_FULL.S +++ b/libc/sysv/consts/QUEUE_FULL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc QUEUE_FULL 20 0 0 0 0 0 +.syscon misc,QUEUE_FULL,20,0,0,0,0,0 diff --git a/libc/sysv/consts/Q_GETFMT.S b/libc/sysv/consts/Q_GETFMT.S index e90ef317703..826985d8363 100644 --- a/libc/sysv/consts/Q_GETFMT.S +++ b/libc/sysv/consts/Q_GETFMT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc Q_GETFMT 0x800004 0 0 0 0 0 +.syscon misc,Q_GETFMT,0x800004,0,0,0,0,0 diff --git a/libc/sysv/consts/Q_GETINFO.S b/libc/sysv/consts/Q_GETINFO.S index c25799b963b..c4f7a25b809 100644 --- a/libc/sysv/consts/Q_GETINFO.S +++ b/libc/sysv/consts/Q_GETINFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc Q_GETINFO 0x800005 0 0 0 0 0 +.syscon misc,Q_GETINFO,0x800005,0,0,0,0,0 diff --git a/libc/sysv/consts/Q_GETQUOTA.S b/libc/sysv/consts/Q_GETQUOTA.S index 129043d4a32..a6eaa379c6b 100644 --- a/libc/sysv/consts/Q_GETQUOTA.S +++ b/libc/sysv/consts/Q_GETQUOTA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc Q_GETQUOTA 0x800007 768 0x0700 768 768 0 +.syscon misc,Q_GETQUOTA,0x800007,768,0x0700,768,768,0 diff --git a/libc/sysv/consts/Q_QUOTAOFF.S b/libc/sysv/consts/Q_QUOTAOFF.S index 28deaca5db3..309c70dbc19 100644 --- a/libc/sysv/consts/Q_QUOTAOFF.S +++ b/libc/sysv/consts/Q_QUOTAOFF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc Q_QUOTAOFF 0x800003 0x0200 0x0200 0x0200 0x0200 0 +.syscon misc,Q_QUOTAOFF,0x800003,0x0200,0x0200,0x0200,0x0200,0 diff --git a/libc/sysv/consts/Q_QUOTAON.S b/libc/sysv/consts/Q_QUOTAON.S index f3d9a249f86..a92d965d883 100644 --- a/libc/sysv/consts/Q_QUOTAON.S +++ b/libc/sysv/consts/Q_QUOTAON.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc Q_QUOTAON 0x800002 0x0100 0x0100 0x0100 0x0100 0 +.syscon misc,Q_QUOTAON,0x800002,0x0100,0x0100,0x0100,0x0100,0 diff --git a/libc/sysv/consts/Q_SETINFO.S b/libc/sysv/consts/Q_SETINFO.S index 4dc235c2683..580238c6212 100644 --- a/libc/sysv/consts/Q_SETINFO.S +++ b/libc/sysv/consts/Q_SETINFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc Q_SETINFO 0x800006 0 0 0 0 0 +.syscon misc,Q_SETINFO,0x800006,0,0,0,0,0 diff --git a/libc/sysv/consts/Q_SETQUOTA.S b/libc/sysv/consts/Q_SETQUOTA.S index a627c339568..2ce625db123 100644 --- a/libc/sysv/consts/Q_SETQUOTA.S +++ b/libc/sysv/consts/Q_SETQUOTA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc Q_SETQUOTA 0x800008 0x0400 0x0800 0x0400 0x0400 0 +.syscon misc,Q_SETQUOTA,0x800008,0x0400,0x0800,0x0400,0x0400,0 diff --git a/libc/sysv/consts/Q_SYNC.S b/libc/sysv/consts/Q_SYNC.S index 6391cdd532b..4a435c8be10 100644 --- a/libc/sysv/consts/Q_SYNC.S +++ b/libc/sysv/consts/Q_SYNC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc Q_SYNC 0x800001 0x0600 0x0600 0x0600 0x0600 0 +.syscon misc,Q_SYNC,0x800001,0x0600,0x0600,0x0600,0x0600,0 diff --git a/libc/sysv/consts/RADIXCHAR.S b/libc/sysv/consts/RADIXCHAR.S index 56755d8b51c..a907fd1fcff 100644 --- a/libc/sysv/consts/RADIXCHAR.S +++ b/libc/sysv/consts/RADIXCHAR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RADIXCHAR 0x010000 50 50 44 44 0 +.syscon misc,RADIXCHAR,0x010000,50,50,44,44,0 diff --git a/libc/sysv/consts/RB_AUTOBOOT.S b/libc/sysv/consts/RB_AUTOBOOT.S index f812548ef4e..29dbe20aa95 100644 --- a/libc/sysv/consts/RB_AUTOBOOT.S +++ b/libc/sysv/consts/RB_AUTOBOOT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RB_AUTOBOOT 0x01234567 0 0 0 0 0 +.syscon misc,RB_AUTOBOOT,0x01234567,0,0,0,0,0 diff --git a/libc/sysv/consts/RB_DISABLE_CAD.S b/libc/sysv/consts/RB_DISABLE_CAD.S index e88fd5a06a6..7807279aeef 100644 --- a/libc/sysv/consts/RB_DISABLE_CAD.S +++ b/libc/sysv/consts/RB_DISABLE_CAD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RB_DISABLE_CAD 0 0 0 0 0 0 +.syscon misc,RB_DISABLE_CAD,0,0,0,0,0,0 diff --git a/libc/sysv/consts/RB_ENABLE_CAD.S b/libc/sysv/consts/RB_ENABLE_CAD.S index d726b278795..46a6c23c9fb 100644 --- a/libc/sysv/consts/RB_ENABLE_CAD.S +++ b/libc/sysv/consts/RB_ENABLE_CAD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RB_ENABLE_CAD 0x89abcdef 0 0 0 0 0 +.syscon misc,RB_ENABLE_CAD,0x89abcdef,0,0,0,0,0 diff --git a/libc/sysv/consts/RB_HALT_SYSTEM.S b/libc/sysv/consts/RB_HALT_SYSTEM.S index 963f7b1f3fa..f2308270634 100644 --- a/libc/sysv/consts/RB_HALT_SYSTEM.S +++ b/libc/sysv/consts/RB_HALT_SYSTEM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RB_HALT_SYSTEM 0xcdef0123 0 0 0 0 0 +.syscon misc,RB_HALT_SYSTEM,0xcdef0123,0,0,0,0,0 diff --git a/libc/sysv/consts/RB_KEXEC.S b/libc/sysv/consts/RB_KEXEC.S index a3689c6fed3..c71f12c01fd 100644 --- a/libc/sysv/consts/RB_KEXEC.S +++ b/libc/sysv/consts/RB_KEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RB_KEXEC 0x45584543 0 0 0 0 0 +.syscon misc,RB_KEXEC,0x45584543,0,0,0,0,0 diff --git a/libc/sysv/consts/RB_POWER_OFF.S b/libc/sysv/consts/RB_POWER_OFF.S index 195ceccb14a..bebb4826604 100644 --- a/libc/sysv/consts/RB_POWER_OFF.S +++ b/libc/sysv/consts/RB_POWER_OFF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RB_POWER_OFF 0x4321fedc 0 0 0 0 0 +.syscon misc,RB_POWER_OFF,0x4321fedc,0,0,0,0,0 diff --git a/libc/sysv/consts/RB_SW_SUSPEND.S b/libc/sysv/consts/RB_SW_SUSPEND.S index 6976f08f1cf..92555f7a0f9 100644 --- a/libc/sysv/consts/RB_SW_SUSPEND.S +++ b/libc/sysv/consts/RB_SW_SUSPEND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RB_SW_SUSPEND 0xd000fce2 0 0 0 0 0 +.syscon misc,RB_SW_SUSPEND,0xd000fce2,0,0,0,0,0 diff --git a/libc/sysv/consts/READ_10.S b/libc/sysv/consts/READ_10.S index d9951b81d6f..0fb0766ccd7 100644 --- a/libc/sysv/consts/READ_10.S +++ b/libc/sysv/consts/READ_10.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc READ_10 40 0 0 0 0 0 +.syscon misc,READ_10,40,0,0,0,0,0 diff --git a/libc/sysv/consts/READ_12.S b/libc/sysv/consts/READ_12.S index c4d88b8f104..fa76a110c5f 100644 --- a/libc/sysv/consts/READ_12.S +++ b/libc/sysv/consts/READ_12.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc READ_12 168 0 0 0 0 0 +.syscon misc,READ_12,168,0,0,0,0,0 diff --git a/libc/sysv/consts/READ_6.S b/libc/sysv/consts/READ_6.S index c980031ad78..6651219bcc0 100644 --- a/libc/sysv/consts/READ_6.S +++ b/libc/sysv/consts/READ_6.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc READ_6 8 0 0 0 0 0 +.syscon misc,READ_6,8,0,0,0,0,0 diff --git a/libc/sysv/consts/READ_BLOCK_LIMITS.S b/libc/sysv/consts/READ_BLOCK_LIMITS.S index 2b253e97aba..7a3404c480b 100644 --- a/libc/sysv/consts/READ_BLOCK_LIMITS.S +++ b/libc/sysv/consts/READ_BLOCK_LIMITS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc READ_BLOCK_LIMITS 5 0 0 0 0 0 +.syscon misc,READ_BLOCK_LIMITS,5,0,0,0,0,0 diff --git a/libc/sysv/consts/READ_BUFFER.S b/libc/sysv/consts/READ_BUFFER.S index 0d609782146..98b75d65968 100644 --- a/libc/sysv/consts/READ_BUFFER.S +++ b/libc/sysv/consts/READ_BUFFER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc READ_BUFFER 60 0 0 0 0 0 +.syscon misc,READ_BUFFER,60,0,0,0,0,0 diff --git a/libc/sysv/consts/READ_CAPACITY.S b/libc/sysv/consts/READ_CAPACITY.S index ef0cf4c7e73..93c58e317a6 100644 --- a/libc/sysv/consts/READ_CAPACITY.S +++ b/libc/sysv/consts/READ_CAPACITY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc READ_CAPACITY 37 0 0 0 0 0 +.syscon misc,READ_CAPACITY,37,0,0,0,0,0 diff --git a/libc/sysv/consts/READ_DEFECT_DATA.S b/libc/sysv/consts/READ_DEFECT_DATA.S index 47fab4a200b..e24c8202e3b 100644 --- a/libc/sysv/consts/READ_DEFECT_DATA.S +++ b/libc/sysv/consts/READ_DEFECT_DATA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc READ_DEFECT_DATA 55 0 0 0 0 0 +.syscon misc,READ_DEFECT_DATA,55,0,0,0,0,0 diff --git a/libc/sysv/consts/READ_ELEMENT_STATUS.S b/libc/sysv/consts/READ_ELEMENT_STATUS.S index 735a1747fa1..68c3368e1ce 100644 --- a/libc/sysv/consts/READ_ELEMENT_STATUS.S +++ b/libc/sysv/consts/READ_ELEMENT_STATUS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc READ_ELEMENT_STATUS 184 0 0 0 0 0 +.syscon misc,READ_ELEMENT_STATUS,184,0,0,0,0,0 diff --git a/libc/sysv/consts/READ_IMPLIES_EXEC.S b/libc/sysv/consts/READ_IMPLIES_EXEC.S index 4f9d10f7ef9..d815efa1281 100644 --- a/libc/sysv/consts/READ_IMPLIES_EXEC.S +++ b/libc/sysv/consts/READ_IMPLIES_EXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon prsnlty READ_IMPLIES_EXEC 0x0400000 -1 -1 -1 -1 -1 +.syscon prsnlty,READ_IMPLIES_EXEC,0x0400000,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/READ_LONG.S b/libc/sysv/consts/READ_LONG.S index bd79a72c88f..f5f595aace5 100644 --- a/libc/sysv/consts/READ_LONG.S +++ b/libc/sysv/consts/READ_LONG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc READ_LONG 62 0 0 0 0 0 +.syscon misc,READ_LONG,62,0,0,0,0,0 diff --git a/libc/sysv/consts/READ_POSITION.S b/libc/sysv/consts/READ_POSITION.S index 16f66dc6068..eb4477af990 100644 --- a/libc/sysv/consts/READ_POSITION.S +++ b/libc/sysv/consts/READ_POSITION.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc READ_POSITION 52 0 0 0 0 0 +.syscon misc,READ_POSITION,52,0,0,0,0,0 diff --git a/libc/sysv/consts/READ_REVERSE.S b/libc/sysv/consts/READ_REVERSE.S index 71184b7be71..6d3c641ef5b 100644 --- a/libc/sysv/consts/READ_REVERSE.S +++ b/libc/sysv/consts/READ_REVERSE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc READ_REVERSE 15 0 0 0 0 0 +.syscon misc,READ_REVERSE,15,0,0,0,0,0 diff --git a/libc/sysv/consts/READ_TOC.S b/libc/sysv/consts/READ_TOC.S index 313d69a14d8..ae5e483a40d 100644 --- a/libc/sysv/consts/READ_TOC.S +++ b/libc/sysv/consts/READ_TOC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc READ_TOC 67 0 0 0 0 0 +.syscon misc,READ_TOC,67,0,0,0,0,0 diff --git a/libc/sysv/consts/REASSIGN_BLOCKS.S b/libc/sysv/consts/REASSIGN_BLOCKS.S index fd1e3343c38..d5e0381956b 100644 --- a/libc/sysv/consts/REASSIGN_BLOCKS.S +++ b/libc/sysv/consts/REASSIGN_BLOCKS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc REASSIGN_BLOCKS 7 0 0 0 0 0 +.syscon misc,REASSIGN_BLOCKS,7,0,0,0,0,0 diff --git a/libc/sysv/consts/RECEIVE_DIAGNOSTIC.S b/libc/sysv/consts/RECEIVE_DIAGNOSTIC.S index 19b620265f6..4b1010d978e 100644 --- a/libc/sysv/consts/RECEIVE_DIAGNOSTIC.S +++ b/libc/sysv/consts/RECEIVE_DIAGNOSTIC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RECEIVE_DIAGNOSTIC 28 0 0 0 0 0 +.syscon misc,RECEIVE_DIAGNOSTIC,28,0,0,0,0,0 diff --git a/libc/sysv/consts/RECOVERED_ERROR.S b/libc/sysv/consts/RECOVERED_ERROR.S index 4bfda965ff2..3774f5f991f 100644 --- a/libc/sysv/consts/RECOVERED_ERROR.S +++ b/libc/sysv/consts/RECOVERED_ERROR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RECOVERED_ERROR 1 0 0 0 0 0 +.syscon misc,RECOVERED_ERROR,1,0,0,0,0,0 diff --git a/libc/sysv/consts/RECOVER_BUFFERED_DATA.S b/libc/sysv/consts/RECOVER_BUFFERED_DATA.S index 680cb92d932..71f6556228b 100644 --- a/libc/sysv/consts/RECOVER_BUFFERED_DATA.S +++ b/libc/sysv/consts/RECOVER_BUFFERED_DATA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RECOVER_BUFFERED_DATA 20 0 0 0 0 0 +.syscon misc,RECOVER_BUFFERED_DATA,20,0,0,0,0,0 diff --git a/libc/sysv/consts/REC_EOF.S b/libc/sysv/consts/REC_EOF.S index c3b71c90f4f..5cd919e3d7f 100644 --- a/libc/sysv/consts/REC_EOF.S +++ b/libc/sysv/consts/REC_EOF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc REC_EOF 2 2 2 2 2 0 +.syscon misc,REC_EOF,2,2,2,2,2,0 diff --git a/libc/sysv/consts/REC_EOR.S b/libc/sysv/consts/REC_EOR.S index 56a14f0fb91..5e8f87bc501 100644 --- a/libc/sysv/consts/REC_EOR.S +++ b/libc/sysv/consts/REC_EOR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc REC_EOR 1 1 1 1 1 0 +.syscon misc,REC_EOR,1,1,1,1,1,0 diff --git a/libc/sysv/consts/REC_ESC.S b/libc/sysv/consts/REC_ESC.S index 1dfb859f8e5..0cbab97f07e 100644 --- a/libc/sysv/consts/REC_ESC.S +++ b/libc/sysv/consts/REC_ESC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc REC_ESC -1 -1 -1 -1 -1 0 +.syscon misc,REC_ESC,-1,-1,-1,-1,-1,0 diff --git a/libc/sysv/consts/REGTYPE.S b/libc/sysv/consts/REGTYPE.S index 3689a3faa8b..dad58991ec3 100644 --- a/libc/sysv/consts/REGTYPE.S +++ b/libc/sysv/consts/REGTYPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc REGTYPE 48 48 48 48 48 0 +.syscon misc,REGTYPE,48,48,48,48,48,0 diff --git a/libc/sysv/consts/RELEASE_RECOVERY.S b/libc/sysv/consts/RELEASE_RECOVERY.S index 719a2736926..21d4260dfb6 100644 --- a/libc/sysv/consts/RELEASE_RECOVERY.S +++ b/libc/sysv/consts/RELEASE_RECOVERY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RELEASE_RECOVERY 0x10 0 0 0 0 0 +.syscon misc,RELEASE_RECOVERY,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/REQUEST_SENSE.S b/libc/sysv/consts/REQUEST_SENSE.S index 024d42eb1cf..4fc3784d013 100644 --- a/libc/sysv/consts/REQUEST_SENSE.S +++ b/libc/sysv/consts/REQUEST_SENSE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc REQUEST_SENSE 3 0 0 0 0 0 +.syscon misc,REQUEST_SENSE,3,0,0,0,0,0 diff --git a/libc/sysv/consts/RESERVATION_CONFLICT.S b/libc/sysv/consts/RESERVATION_CONFLICT.S index bd123f0b953..acccfac4623 100644 --- a/libc/sysv/consts/RESERVATION_CONFLICT.S +++ b/libc/sysv/consts/RESERVATION_CONFLICT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RESERVATION_CONFLICT 12 0 0 0 0 0 +.syscon misc,RESERVATION_CONFLICT,12,0,0,0,0,0 diff --git a/libc/sysv/consts/RESERVE.S b/libc/sysv/consts/RESERVE.S index 7c07af37bfb..d95570005c8 100644 --- a/libc/sysv/consts/RESERVE.S +++ b/libc/sysv/consts/RESERVE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RESERVE 22 0 0 0 0 0 +.syscon misc,RESERVE,22,0,0,0,0,0 diff --git a/libc/sysv/consts/RESERVE_10.S b/libc/sysv/consts/RESERVE_10.S index f99237b5f8c..57b9042331a 100644 --- a/libc/sysv/consts/RESERVE_10.S +++ b/libc/sysv/consts/RESERVE_10.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RESERVE_10 86 0 0 0 0 0 +.syscon misc,RESERVE_10,86,0,0,0,0,0 diff --git a/libc/sysv/consts/RESTORE_POINTERS.S b/libc/sysv/consts/RESTORE_POINTERS.S index 55d94e273d1..70c931be4b8 100644 --- a/libc/sysv/consts/RESTORE_POINTERS.S +++ b/libc/sysv/consts/RESTORE_POINTERS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RESTORE_POINTERS 3 0 0 0 0 0 +.syscon misc,RESTORE_POINTERS,3,0,0,0,0,0 diff --git a/libc/sysv/consts/RES_PRF_CLASS.S b/libc/sysv/consts/RES_PRF_CLASS.S index 4be78cc1d30..4ae3321367d 100644 --- a/libc/sysv/consts/RES_PRF_CLASS.S +++ b/libc/sysv/consts/RES_PRF_CLASS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RES_PRF_CLASS 4 4 4 4 4 0 +.syscon misc,RES_PRF_CLASS,4,4,4,4,4,0 diff --git a/libc/sysv/consts/REZERO_UNIT.S b/libc/sysv/consts/REZERO_UNIT.S index 640ef1d1179..45834ce1352 100644 --- a/libc/sysv/consts/REZERO_UNIT.S +++ b/libc/sysv/consts/REZERO_UNIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc REZERO_UNIT 1 0 0 0 0 0 +.syscon misc,REZERO_UNIT,1,0,0,0,0,0 diff --git a/libc/sysv/consts/RE_DUP_MAX.S b/libc/sysv/consts/RE_DUP_MAX.S index e73528b058e..3a8dd0ef41c 100644 --- a/libc/sysv/consts/RE_DUP_MAX.S +++ b/libc/sysv/consts/RE_DUP_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RE_DUP_MAX 0x7fff 255 255 255 255 0 +.syscon misc,RE_DUP_MAX,0x7fff,255,255,255,255,0 diff --git a/libc/sysv/consts/RHF_GUARANTEE_START_INIT.S b/libc/sysv/consts/RHF_GUARANTEE_START_INIT.S index 9a43e079b49..08e8dcea6e9 100644 --- a/libc/sysv/consts/RHF_GUARANTEE_START_INIT.S +++ b/libc/sysv/consts/RHF_GUARANTEE_START_INIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RHF_GUARANTEE_START_INIT 0x80 0 0 0 0 0 +.syscon misc,RHF_GUARANTEE_START_INIT,0x80,0,0,0,0,0 diff --git a/libc/sysv/consts/RHF_NO_LIBRARY_REPLACEMENT.S b/libc/sysv/consts/RHF_NO_LIBRARY_REPLACEMENT.S index f6387b88e54..08a9014dadd 100644 --- a/libc/sysv/consts/RHF_NO_LIBRARY_REPLACEMENT.S +++ b/libc/sysv/consts/RHF_NO_LIBRARY_REPLACEMENT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RHF_NO_LIBRARY_REPLACEMENT 4 0 0 0 0 0 +.syscon misc,RHF_NO_LIBRARY_REPLACEMENT,4,0,0,0,0,0 diff --git a/libc/sysv/consts/RLIMIT_AS.S b/libc/sysv/consts/RLIMIT_AS.S index 71c8b80d5c3..d27982e3d9d 100644 --- a/libc/sysv/consts/RLIMIT_AS.S +++ b/libc/sysv/consts/RLIMIT_AS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon rlim RLIMIT_AS 9 5 10 -1 -1 -1 +.syscon rlim,RLIMIT_AS,9,5,10,-1,-1,-1 diff --git a/libc/sysv/consts/RLIMIT_CORE.S b/libc/sysv/consts/RLIMIT_CORE.S index d91f4c92e65..41f091cd460 100644 --- a/libc/sysv/consts/RLIMIT_CORE.S +++ b/libc/sysv/consts/RLIMIT_CORE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon rlim RLIMIT_CORE 4 4 4 4 4 -1 +.syscon rlim,RLIMIT_CORE,4,4,4,4,4,-1 diff --git a/libc/sysv/consts/RLIMIT_CPU.S b/libc/sysv/consts/RLIMIT_CPU.S index 6ba1e1e8a35..443956892f0 100644 --- a/libc/sysv/consts/RLIMIT_CPU.S +++ b/libc/sysv/consts/RLIMIT_CPU.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon rlim RLIMIT_CPU 0 0 0 0 0 -1 +.syscon rlim,RLIMIT_CPU,0,0,0,0,0,-1 diff --git a/libc/sysv/consts/RLIMIT_DATA.S b/libc/sysv/consts/RLIMIT_DATA.S index 4a1f288504e..6d3a5c5004e 100644 --- a/libc/sysv/consts/RLIMIT_DATA.S +++ b/libc/sysv/consts/RLIMIT_DATA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon rlim RLIMIT_DATA 2 2 2 2 2 -1 +.syscon rlim,RLIMIT_DATA,2,2,2,2,2,-1 diff --git a/libc/sysv/consts/RLIMIT_FSIZE.S b/libc/sysv/consts/RLIMIT_FSIZE.S index 890e3789623..952775710a2 100644 --- a/libc/sysv/consts/RLIMIT_FSIZE.S +++ b/libc/sysv/consts/RLIMIT_FSIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon rlim RLIMIT_FSIZE 1 1 1 1 1 -1 +.syscon rlim,RLIMIT_FSIZE,1,1,1,1,1,-1 diff --git a/libc/sysv/consts/RLIMIT_LOCKS.S b/libc/sysv/consts/RLIMIT_LOCKS.S index 506131032eb..6509ca7a4db 100644 --- a/libc/sysv/consts/RLIMIT_LOCKS.S +++ b/libc/sysv/consts/RLIMIT_LOCKS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon rlim RLIMIT_LOCKS 10 -1 -1 -1 -1 -1 +.syscon rlim,RLIMIT_LOCKS,10,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/RLIMIT_MEMLOCK.S b/libc/sysv/consts/RLIMIT_MEMLOCK.S index e70970addf6..ca91eb79b16 100644 --- a/libc/sysv/consts/RLIMIT_MEMLOCK.S +++ b/libc/sysv/consts/RLIMIT_MEMLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon rlim RLIMIT_MEMLOCK 8 6 6 6 6 -1 +.syscon rlim,RLIMIT_MEMLOCK,8,6,6,6,6,-1 diff --git a/libc/sysv/consts/RLIMIT_MSGQUEUE.S b/libc/sysv/consts/RLIMIT_MSGQUEUE.S index 7db9eadf250..a78d0193831 100644 --- a/libc/sysv/consts/RLIMIT_MSGQUEUE.S +++ b/libc/sysv/consts/RLIMIT_MSGQUEUE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon rlim RLIMIT_MSGQUEUE 12 -1 -1 -1 -1 -1 +.syscon rlim,RLIMIT_MSGQUEUE,12,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/RLIMIT_NICE.S b/libc/sysv/consts/RLIMIT_NICE.S index 7837343c454..6661f05fc62 100644 --- a/libc/sysv/consts/RLIMIT_NICE.S +++ b/libc/sysv/consts/RLIMIT_NICE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon rlim RLIMIT_NICE 13 -1 -1 -1 -1 -1 +.syscon rlim,RLIMIT_NICE,13,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/RLIMIT_NLIMITS.S b/libc/sysv/consts/RLIMIT_NLIMITS.S index 37b93c175f5..a211fa3f68f 100644 --- a/libc/sysv/consts/RLIMIT_NLIMITS.S +++ b/libc/sysv/consts/RLIMIT_NLIMITS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon rlim RLIMIT_NLIMITS 16 -1 -1 -1 -1 -1 +.syscon rlim,RLIMIT_NLIMITS,16,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/RLIMIT_NOFILE.S b/libc/sysv/consts/RLIMIT_NOFILE.S index f51bb226547..6a8fc69451a 100644 --- a/libc/sysv/consts/RLIMIT_NOFILE.S +++ b/libc/sysv/consts/RLIMIT_NOFILE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon rlim RLIMIT_NOFILE 7 8 8 8 8 -1 +.syscon rlim,RLIMIT_NOFILE,7,8,8,8,8,-1 diff --git a/libc/sysv/consts/RLIMIT_NPROC.S b/libc/sysv/consts/RLIMIT_NPROC.S index c2177367bea..9bf4f44d87b 100644 --- a/libc/sysv/consts/RLIMIT_NPROC.S +++ b/libc/sysv/consts/RLIMIT_NPROC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon rlim RLIMIT_NPROC 6 7 7 7 7 -1 +.syscon rlim,RLIMIT_NPROC,6,7,7,7,7,-1 diff --git a/libc/sysv/consts/RLIMIT_RSS.S b/libc/sysv/consts/RLIMIT_RSS.S index 3d832e2ebc4..0b4577ea5c3 100644 --- a/libc/sysv/consts/RLIMIT_RSS.S +++ b/libc/sysv/consts/RLIMIT_RSS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon rlim RLIMIT_RSS 5 5 5 5 5 -1 +.syscon rlim,RLIMIT_RSS,5,5,5,5,5,-1 diff --git a/libc/sysv/consts/RLIMIT_RTPRIO.S b/libc/sysv/consts/RLIMIT_RTPRIO.S index 13452991cf8..0fe37625bb6 100644 --- a/libc/sysv/consts/RLIMIT_RTPRIO.S +++ b/libc/sysv/consts/RLIMIT_RTPRIO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon rlim RLIMIT_RTPRIO 14 -1 -1 -1 -1 -1 +.syscon rlim,RLIMIT_RTPRIO,14,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/RLIMIT_SIGPENDING.S b/libc/sysv/consts/RLIMIT_SIGPENDING.S index 238449781a1..bbfe23a3d66 100644 --- a/libc/sysv/consts/RLIMIT_SIGPENDING.S +++ b/libc/sysv/consts/RLIMIT_SIGPENDING.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon rlim RLIMIT_SIGPENDING 11 -1 -1 -1 -1 -1 +.syscon rlim,RLIMIT_SIGPENDING,11,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/RLIMIT_STACK.S b/libc/sysv/consts/RLIMIT_STACK.S index c9feb3789a4..49aef8b8266 100644 --- a/libc/sysv/consts/RLIMIT_STACK.S +++ b/libc/sysv/consts/RLIMIT_STACK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon rlim RLIMIT_STACK 3 3 3 3 3 -1 +.syscon rlim,RLIMIT_STACK,3,3,3,3,3,-1 diff --git a/libc/sysv/consts/RLIM_INFINITY.S b/libc/sysv/consts/RLIM_INFINITY.S index 026a64400ba..9f0fbfef5d8 100644 --- a/libc/sysv/consts/RLIM_INFINITY.S +++ b/libc/sysv/consts/RLIM_INFINITY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RLIM_INFINITY -1 0 0x7fffffffffffffff 0 0 0 +.syscon misc,RLIM_INFINITY,-1,0,0x7fffffffffffffff,0,0,0 diff --git a/libc/sysv/consts/RLIM_NLIMITS.S b/libc/sysv/consts/RLIM_NLIMITS.S index 8fe2266b62b..6de03aefe6e 100644 --- a/libc/sysv/consts/RLIM_NLIMITS.S +++ b/libc/sysv/consts/RLIM_NLIMITS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RLIM_NLIMITS 0x10 9 15 9 9 0 +.syscon misc,RLIM_NLIMITS,0x10,9,15,9,9,0 diff --git a/libc/sysv/consts/RLIM_SAVED_CUR.S b/libc/sysv/consts/RLIM_SAVED_CUR.S index ab5a5aae467..be886de01d8 100644 --- a/libc/sysv/consts/RLIM_SAVED_CUR.S +++ b/libc/sysv/consts/RLIM_SAVED_CUR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RLIM_SAVED_CUR -1 0 0x7fffffffffffffff 0 0 0 +.syscon misc,RLIM_SAVED_CUR,-1,0,0x7fffffffffffffff,0,0,0 diff --git a/libc/sysv/consts/RLIM_SAVED_MAX.S b/libc/sysv/consts/RLIM_SAVED_MAX.S index 3a28f48e515..312626bed51 100644 --- a/libc/sysv/consts/RLIM_SAVED_MAX.S +++ b/libc/sysv/consts/RLIM_SAVED_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RLIM_SAVED_MAX -1 0 0x7fffffffffffffff 0 0 0 +.syscon misc,RLIM_SAVED_MAX,-1,0,0x7fffffffffffffff,0,0,0 diff --git a/libc/sysv/consts/RPM_PCO_ADD.S b/libc/sysv/consts/RPM_PCO_ADD.S index 4993e55554e..aa11369ea88 100644 --- a/libc/sysv/consts/RPM_PCO_ADD.S +++ b/libc/sysv/consts/RPM_PCO_ADD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RPM_PCO_ADD 1 1 1 1 1 0 +.syscon misc,RPM_PCO_ADD,1,1,1,1,1,0 diff --git a/libc/sysv/consts/RPM_PCO_CHANGE.S b/libc/sysv/consts/RPM_PCO_CHANGE.S index 0a2fe903887..96ec892cb56 100644 --- a/libc/sysv/consts/RPM_PCO_CHANGE.S +++ b/libc/sysv/consts/RPM_PCO_CHANGE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RPM_PCO_CHANGE 2 2 2 2 2 0 +.syscon misc,RPM_PCO_CHANGE,2,2,2,2,2,0 diff --git a/libc/sysv/consts/RPM_PCO_SETGLOBAL.S b/libc/sysv/consts/RPM_PCO_SETGLOBAL.S index 1ebe53f9ce5..013dcf39ebe 100644 --- a/libc/sysv/consts/RPM_PCO_SETGLOBAL.S +++ b/libc/sysv/consts/RPM_PCO_SETGLOBAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RPM_PCO_SETGLOBAL 3 3 3 3 3 0 +.syscon misc,RPM_PCO_SETGLOBAL,3,3,3,3,3,0 diff --git a/libc/sysv/consts/RRQ.S b/libc/sysv/consts/RRQ.S index 7a8faa501a8..20d6b362182 100644 --- a/libc/sysv/consts/RRQ.S +++ b/libc/sysv/consts/RRQ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RRQ 1 1 1 1 1 0 +.syscon misc,RRQ,1,1,1,1,1,0 diff --git a/libc/sysv/consts/RTCF_DOREDIRECT.S b/libc/sysv/consts/RTCF_DOREDIRECT.S index ec8072870f7..0fdcdb0f579 100644 --- a/libc/sysv/consts/RTCF_DOREDIRECT.S +++ b/libc/sysv/consts/RTCF_DOREDIRECT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RTCF_DOREDIRECT 0x01000000 0 0 0 0 0 +.syscon misc,RTCF_DOREDIRECT,0x01000000,0,0,0,0,0 diff --git a/libc/sysv/consts/RTF_NOFORWARD.S b/libc/sysv/consts/RTF_NOFORWARD.S index 8b4ddbfb20f..f5eea9cbd99 100644 --- a/libc/sysv/consts/RTF_NOFORWARD.S +++ b/libc/sysv/consts/RTF_NOFORWARD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RTF_NOFORWARD 0x1000 0 0 0 0 0 +.syscon misc,RTF_NOFORWARD,0x1000,0,0,0,0,0 diff --git a/libc/sysv/consts/RTF_NOPMTUDISC.S b/libc/sysv/consts/RTF_NOPMTUDISC.S index 18fb2768fa3..f1ae66d7922 100644 --- a/libc/sysv/consts/RTF_NOPMTUDISC.S +++ b/libc/sysv/consts/RTF_NOPMTUDISC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RTF_NOPMTUDISC 0x4000 0 0 0 0 0 +.syscon misc,RTF_NOPMTUDISC,0x4000,0,0,0,0,0 diff --git a/libc/sysv/consts/RTLD_DI_LINKMAP.S b/libc/sysv/consts/RTLD_DI_LINKMAP.S index 1107c3b2a80..35d14679489 100644 --- a/libc/sysv/consts/RTLD_DI_LINKMAP.S +++ b/libc/sysv/consts/RTLD_DI_LINKMAP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RTLD_DI_LINKMAP 0 0 2 0 0 0 +.syscon misc,RTLD_DI_LINKMAP,0,0,2,0,0,0 diff --git a/libc/sysv/consts/RTLD_GLOBAL.S b/libc/sysv/consts/RTLD_GLOBAL.S index 3c5ca387f77..625652d8688 100644 --- a/libc/sysv/consts/RTLD_GLOBAL.S +++ b/libc/sysv/consts/RTLD_GLOBAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RTLD_GLOBAL 0x0100 8 0x0100 0x0100 0x0100 0 +.syscon misc,RTLD_GLOBAL,0x0100,8,0x0100,0x0100,0x0100,0 diff --git a/libc/sysv/consts/RTLD_LAZY.S b/libc/sysv/consts/RTLD_LAZY.S index 76f1a557561..30e1aa8ee36 100644 --- a/libc/sysv/consts/RTLD_LAZY.S +++ b/libc/sysv/consts/RTLD_LAZY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RTLD_LAZY 1 1 1 1 1 0 +.syscon misc,RTLD_LAZY,1,1,1,1,1,0 diff --git a/libc/sysv/consts/RTLD_LOCAL.S b/libc/sysv/consts/RTLD_LOCAL.S index 8e040467f5e..1da9abd6d2c 100644 --- a/libc/sysv/consts/RTLD_LOCAL.S +++ b/libc/sysv/consts/RTLD_LOCAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RTLD_LOCAL 0 4 0 0 0 0 +.syscon misc,RTLD_LOCAL,0,4,0,0,0,0 diff --git a/libc/sysv/consts/RTLD_NODELETE.S b/libc/sysv/consts/RTLD_NODELETE.S index 8b722e2e154..1c7095570ef 100644 --- a/libc/sysv/consts/RTLD_NODELETE.S +++ b/libc/sysv/consts/RTLD_NODELETE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RTLD_NODELETE 0x1000 0x80 0x1000 0 0 0 +.syscon misc,RTLD_NODELETE,0x1000,0x80,0x1000,0,0,0 diff --git a/libc/sysv/consts/RTLD_NOLOAD.S b/libc/sysv/consts/RTLD_NOLOAD.S index 8c31ba8037f..9fc709f94fa 100644 --- a/libc/sysv/consts/RTLD_NOLOAD.S +++ b/libc/sysv/consts/RTLD_NOLOAD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RTLD_NOLOAD 4 0x10 0x2000 0 0 0 +.syscon misc,RTLD_NOLOAD,4,0x10,0x2000,0,0,0 diff --git a/libc/sysv/consts/RTLD_NOW.S b/libc/sysv/consts/RTLD_NOW.S index d4b4222673f..d45fb1fe01a 100644 --- a/libc/sysv/consts/RTLD_NOW.S +++ b/libc/sysv/consts/RTLD_NOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RTLD_NOW 2 2 2 2 2 0 +.syscon misc,RTLD_NOW,2,2,2,2,2,0 diff --git a/libc/sysv/consts/RUN_LVL.S b/libc/sysv/consts/RUN_LVL.S index ab205c0bd06..16e842e6840 100644 --- a/libc/sysv/consts/RUN_LVL.S +++ b/libc/sysv/consts/RUN_LVL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc RUN_LVL 1 1 0 0 0 0 +.syscon misc,RUN_LVL,1,1,0,0,0,0 diff --git a/libc/sysv/consts/RUSAGE_CHILDREN.S b/libc/sysv/consts/RUSAGE_CHILDREN.S index 15ee41fc8ce..b3d527e3613 100644 --- a/libc/sysv/consts/RUSAGE_CHILDREN.S +++ b/libc/sysv/consts/RUSAGE_CHILDREN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon rusage RUSAGE_CHILDREN -1 -1 -1 -1 -1 99 +.syscon rusage,RUSAGE_CHILDREN,-1,-1,-1,-1,-1,99 diff --git a/libc/sysv/consts/RUSAGE_SELF.S b/libc/sysv/consts/RUSAGE_SELF.S index 926f20e14dd..cac04cb05c3 100644 --- a/libc/sysv/consts/RUSAGE_SELF.S +++ b/libc/sysv/consts/RUSAGE_SELF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon rusage RUSAGE_SELF 0 0 0 0 0 0 +.syscon rusage,RUSAGE_SELF,0,0,0,0,0,0 diff --git a/libc/sysv/consts/RUSAGE_THREAD.S b/libc/sysv/consts/RUSAGE_THREAD.S index 026581f6023..5f00bd43791 100644 --- a/libc/sysv/consts/RUSAGE_THREAD.S +++ b/libc/sysv/consts/RUSAGE_THREAD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon rusage RUSAGE_THREAD 1 99 1 1 1 1 +.syscon rusage,RUSAGE_THREAD,1,99,1,1,1,1 diff --git a/libc/sysv/consts/R_OK.S b/libc/sysv/consts/R_OK.S index 3f6dd304982..c22b2e41bd6 100644 --- a/libc/sysv/consts/R_OK.S +++ b/libc/sysv/consts/R_OK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon access R_OK 4 4 4 4 4 0x80000000 +.syscon access,R_OK,4,4,4,4,4,0x80000000 diff --git a/libc/sysv/consts/SARMAG.S b/libc/sysv/consts/SARMAG.S index 890a5eeb293..f7ebb2eb081 100644 --- a/libc/sysv/consts/SARMAG.S +++ b/libc/sysv/consts/SARMAG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SARMAG 8 8 8 8 8 0 +.syscon misc,SARMAG,8,8,8,8,8,0 diff --git a/libc/sysv/consts/SAVE_POINTERS.S b/libc/sysv/consts/SAVE_POINTERS.S index ec0ff413c35..9bb07f1045d 100644 --- a/libc/sysv/consts/SAVE_POINTERS.S +++ b/libc/sysv/consts/SAVE_POINTERS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SAVE_POINTERS 2 0 0 0 0 0 +.syscon misc,SAVE_POINTERS,2,0,0,0,0,0 diff --git a/libc/sysv/consts/SA_NOCLDSTOP.S b/libc/sysv/consts/SA_NOCLDSTOP.S index a857a8faa87..b31167ec4d2 100644 --- a/libc/sysv/consts/SA_NOCLDSTOP.S +++ b/libc/sysv/consts/SA_NOCLDSTOP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sigact SA_NOCLDSTOP 1 8 8 8 8 0 +.syscon sigact,SA_NOCLDSTOP,1,8,8,8,8,0 diff --git a/libc/sysv/consts/SA_NOCLDWAIT.S b/libc/sysv/consts/SA_NOCLDWAIT.S index f40faeffc3c..71708bee53c 100644 --- a/libc/sysv/consts/SA_NOCLDWAIT.S +++ b/libc/sysv/consts/SA_NOCLDWAIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sigact SA_NOCLDWAIT 2 0x20 0x20 0x20 0x20 0 +.syscon sigact,SA_NOCLDWAIT,2,0x20,0x20,0x20,0x20,0 diff --git a/libc/sysv/consts/SA_NODEFER.S b/libc/sysv/consts/SA_NODEFER.S index b71d4dad1dc..e6da9b8d5e5 100644 --- a/libc/sysv/consts/SA_NODEFER.S +++ b/libc/sysv/consts/SA_NODEFER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sigact SA_NODEFER 0x40000000 0x10 0x10 0x10 0x10 0 +.syscon sigact,SA_NODEFER,0x40000000,0x10,0x10,0x10,0x10,0 diff --git a/libc/sysv/consts/SA_NOMASK.S b/libc/sysv/consts/SA_NOMASK.S index beddd2fb018..f3ebc2b4cda 100644 --- a/libc/sysv/consts/SA_NOMASK.S +++ b/libc/sysv/consts/SA_NOMASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sigact SA_NOMASK 0x40000000 0x10 0x10 0x10 0x10 0 +.syscon sigact,SA_NOMASK,0x40000000,0x10,0x10,0x10,0x10,0 diff --git a/libc/sysv/consts/SA_ONESHOT.S b/libc/sysv/consts/SA_ONESHOT.S index 531defa8eba..b408be2c050 100644 --- a/libc/sysv/consts/SA_ONESHOT.S +++ b/libc/sysv/consts/SA_ONESHOT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sigact SA_ONESHOT 0x80000000 0 0 0 0 0 +.syscon sigact,SA_ONESHOT,0x80000000,0,0,0,0,0 diff --git a/libc/sysv/consts/SA_ONSTACK.S b/libc/sysv/consts/SA_ONSTACK.S index 928cc1a03ab..7c461f57b73 100644 --- a/libc/sysv/consts/SA_ONSTACK.S +++ b/libc/sysv/consts/SA_ONSTACK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sigact SA_ONSTACK 0x08000000 1 1 1 1 0 +.syscon sigact,SA_ONSTACK,0x08000000,1,1,1,1,0 diff --git a/libc/sysv/consts/SA_RESETHAND.S b/libc/sysv/consts/SA_RESETHAND.S index e6806b97b55..9c697d4a8e7 100644 --- a/libc/sysv/consts/SA_RESETHAND.S +++ b/libc/sysv/consts/SA_RESETHAND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sigact SA_RESETHAND 0x80000000 4 4 4 4 0 +.syscon sigact,SA_RESETHAND,0x80000000,4,4,4,4,0 diff --git a/libc/sysv/consts/SA_RESTART.S b/libc/sysv/consts/SA_RESTART.S index 66a02088c40..0f36b4a4975 100644 --- a/libc/sysv/consts/SA_RESTART.S +++ b/libc/sysv/consts/SA_RESTART.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sigact SA_RESTART 0x10000000 2 2 2 2 0 +.syscon sigact,SA_RESTART,0x10000000,2,2,2,2,0 diff --git a/libc/sysv/consts/SA_RESTORER.S b/libc/sysv/consts/SA_RESTORER.S index 796f33c8554..7f94919807c 100644 --- a/libc/sysv/consts/SA_RESTORER.S +++ b/libc/sysv/consts/SA_RESTORER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sigact SA_RESTORER 0x04000000 0 0 0 0 0 +.syscon sigact,SA_RESTORER,0x04000000,0,0,0,0,0 diff --git a/libc/sysv/consts/SA_SIGINFO.S b/libc/sysv/consts/SA_SIGINFO.S index df015955311..4f1b53071a0 100644 --- a/libc/sysv/consts/SA_SIGINFO.S +++ b/libc/sysv/consts/SA_SIGINFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sigact SA_SIGINFO 4 0x40 0x40 0x40 0x40 0 +.syscon sigact,SA_SIGINFO,4,0x40,0x40,0x40,0x40,0 diff --git a/libc/sysv/consts/SCHED_BATCH.S b/libc/sysv/consts/SCHED_BATCH.S index 028a8ad5ee4..f9ef31c0b6a 100644 --- a/libc/sysv/consts/SCHED_BATCH.S +++ b/libc/sysv/consts/SCHED_BATCH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCHED_BATCH 3 0 0 0 0 0 +.syscon misc,SCHED_BATCH,3,0,0,0,0,0 diff --git a/libc/sysv/consts/SCHED_FIFO.S b/libc/sysv/consts/SCHED_FIFO.S index 0866b4ca622..f7d8024d28e 100644 --- a/libc/sysv/consts/SCHED_FIFO.S +++ b/libc/sysv/consts/SCHED_FIFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCHED_FIFO 1 4 1 1 1 0 +.syscon misc,SCHED_FIFO,1,4,1,1,1,0 diff --git a/libc/sysv/consts/SCHED_IDLE.S b/libc/sysv/consts/SCHED_IDLE.S index 88c3645d798..77270d5de9d 100644 --- a/libc/sysv/consts/SCHED_IDLE.S +++ b/libc/sysv/consts/SCHED_IDLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCHED_IDLE 5 0 0 0 0 0 +.syscon misc,SCHED_IDLE,5,0,0,0,0,0 diff --git a/libc/sysv/consts/SCHED_OTHER.S b/libc/sysv/consts/SCHED_OTHER.S index 16a596bf7f8..5c8e791a048 100644 --- a/libc/sysv/consts/SCHED_OTHER.S +++ b/libc/sysv/consts/SCHED_OTHER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCHED_OTHER 0 1 2 2 2 0 +.syscon misc,SCHED_OTHER,0,1,2,2,2,0 diff --git a/libc/sysv/consts/SCHED_RESET_ON_FORK.S b/libc/sysv/consts/SCHED_RESET_ON_FORK.S index 9516eb68e55..a18a6245ded 100644 --- a/libc/sysv/consts/SCHED_RESET_ON_FORK.S +++ b/libc/sysv/consts/SCHED_RESET_ON_FORK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCHED_RESET_ON_FORK 0x40000000 0 0 0 0 0 +.syscon misc,SCHED_RESET_ON_FORK,0x40000000,0,0,0,0,0 diff --git a/libc/sysv/consts/SCHED_RR.S b/libc/sysv/consts/SCHED_RR.S index 01385aa9275..fd79b4e8069 100644 --- a/libc/sysv/consts/SCHED_RR.S +++ b/libc/sysv/consts/SCHED_RR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCHED_RR 2 2 3 3 3 0 +.syscon misc,SCHED_RR,2,2,3,3,3,0 diff --git a/libc/sysv/consts/SCM_CREDENTIALS.S b/libc/sysv/consts/SCM_CREDENTIALS.S index e85aad285c4..be0d0550fbe 100644 --- a/libc/sysv/consts/SCM_CREDENTIALS.S +++ b/libc/sysv/consts/SCM_CREDENTIALS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCM_CREDENTIALS 2 0 0 0 0 0 +.syscon misc,SCM_CREDENTIALS,2,0,0,0,0,0 diff --git a/libc/sysv/consts/SCM_RIGHTS.S b/libc/sysv/consts/SCM_RIGHTS.S index d3e8a604ddc..ced24d0b559 100644 --- a/libc/sysv/consts/SCM_RIGHTS.S +++ b/libc/sysv/consts/SCM_RIGHTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCM_RIGHTS 1 1 1 1 1 0 +.syscon misc,SCM_RIGHTS,1,1,1,1,1,0 diff --git a/libc/sysv/consts/SCM_TIMESTAMP.S b/libc/sysv/consts/SCM_TIMESTAMP.S index c44379399e3..02a2f013fd6 100644 --- a/libc/sysv/consts/SCM_TIMESTAMP.S +++ b/libc/sysv/consts/SCM_TIMESTAMP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCM_TIMESTAMP 29 2 2 4 8 0 +.syscon misc,SCM_TIMESTAMP,29,2,2,4,8,0 diff --git a/libc/sysv/consts/SCM_TIMESTAMPING.S b/libc/sysv/consts/SCM_TIMESTAMPING.S index 327e17541c7..c2639f80578 100644 --- a/libc/sysv/consts/SCM_TIMESTAMPING.S +++ b/libc/sysv/consts/SCM_TIMESTAMPING.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCM_TIMESTAMPING 37 0 0 0 0 0 +.syscon misc,SCM_TIMESTAMPING,37,0,0,0,0,0 diff --git a/libc/sysv/consts/SCM_TIMESTAMPNS.S b/libc/sysv/consts/SCM_TIMESTAMPNS.S index ba4d632fee8..29bde0dc6c4 100644 --- a/libc/sysv/consts/SCM_TIMESTAMPNS.S +++ b/libc/sysv/consts/SCM_TIMESTAMPNS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCM_TIMESTAMPNS 35 0 0 0 0 0 +.syscon misc,SCM_TIMESTAMPNS,35,0,0,0,0,0 diff --git a/libc/sysv/consts/SCM_WIFI_STATUS.S b/libc/sysv/consts/SCM_WIFI_STATUS.S index 088525c397d..f8911bcd19b 100644 --- a/libc/sysv/consts/SCM_WIFI_STATUS.S +++ b/libc/sysv/consts/SCM_WIFI_STATUS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCM_WIFI_STATUS 41 0 0 0 0 0 +.syscon misc,SCM_WIFI_STATUS,41,0,0,0,0,0 diff --git a/libc/sysv/consts/SCSI_IOCTL_BENCHMARK_COMMAND.S b/libc/sysv/consts/SCSI_IOCTL_BENCHMARK_COMMAND.S index 6833a189c61..3676f654994 100644 --- a/libc/sysv/consts/SCSI_IOCTL_BENCHMARK_COMMAND.S +++ b/libc/sysv/consts/SCSI_IOCTL_BENCHMARK_COMMAND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCSI_IOCTL_BENCHMARK_COMMAND 3 0 0 0 0 0 +.syscon misc,SCSI_IOCTL_BENCHMARK_COMMAND,3,0,0,0,0,0 diff --git a/libc/sysv/consts/SCSI_IOCTL_DOORLOCK.S b/libc/sysv/consts/SCSI_IOCTL_DOORLOCK.S index 32dc8d4f2a6..d799cb12575 100644 --- a/libc/sysv/consts/SCSI_IOCTL_DOORLOCK.S +++ b/libc/sysv/consts/SCSI_IOCTL_DOORLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCSI_IOCTL_DOORLOCK 0x5380 0 0 0 0 0 +.syscon misc,SCSI_IOCTL_DOORLOCK,0x5380,0,0,0,0,0 diff --git a/libc/sysv/consts/SCSI_IOCTL_DOORUNLOCK.S b/libc/sysv/consts/SCSI_IOCTL_DOORUNLOCK.S index a5f804cd001..3454dcad01a 100644 --- a/libc/sysv/consts/SCSI_IOCTL_DOORUNLOCK.S +++ b/libc/sysv/consts/SCSI_IOCTL_DOORUNLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCSI_IOCTL_DOORUNLOCK 0x5381 0 0 0 0 0 +.syscon misc,SCSI_IOCTL_DOORUNLOCK,0x5381,0,0,0,0,0 diff --git a/libc/sysv/consts/SCSI_IOCTL_GET_BUS_NUMBER.S b/libc/sysv/consts/SCSI_IOCTL_GET_BUS_NUMBER.S index c5558b732eb..470b22e2221 100644 --- a/libc/sysv/consts/SCSI_IOCTL_GET_BUS_NUMBER.S +++ b/libc/sysv/consts/SCSI_IOCTL_GET_BUS_NUMBER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCSI_IOCTL_GET_BUS_NUMBER 0x5386 0 0 0 0 0 +.syscon misc,SCSI_IOCTL_GET_BUS_NUMBER,0x5386,0,0,0,0,0 diff --git a/libc/sysv/consts/SCSI_IOCTL_GET_IDLUN.S b/libc/sysv/consts/SCSI_IOCTL_GET_IDLUN.S index e23ed0979c7..ddf20bd626b 100644 --- a/libc/sysv/consts/SCSI_IOCTL_GET_IDLUN.S +++ b/libc/sysv/consts/SCSI_IOCTL_GET_IDLUN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCSI_IOCTL_GET_IDLUN 0x5382 0 0 0 0 0 +.syscon misc,SCSI_IOCTL_GET_IDLUN,0x5382,0,0,0,0,0 diff --git a/libc/sysv/consts/SCSI_IOCTL_PROBE_HOST.S b/libc/sysv/consts/SCSI_IOCTL_PROBE_HOST.S index aec2089f6bb..cddb4487d65 100644 --- a/libc/sysv/consts/SCSI_IOCTL_PROBE_HOST.S +++ b/libc/sysv/consts/SCSI_IOCTL_PROBE_HOST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCSI_IOCTL_PROBE_HOST 0x5385 0 0 0 0 0 +.syscon misc,SCSI_IOCTL_PROBE_HOST,0x5385,0,0,0,0,0 diff --git a/libc/sysv/consts/SCSI_IOCTL_SEND_COMMAND.S b/libc/sysv/consts/SCSI_IOCTL_SEND_COMMAND.S index 4c44f17ea1b..5c87b94e616 100644 --- a/libc/sysv/consts/SCSI_IOCTL_SEND_COMMAND.S +++ b/libc/sysv/consts/SCSI_IOCTL_SEND_COMMAND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCSI_IOCTL_SEND_COMMAND 1 0 0 0 0 0 +.syscon misc,SCSI_IOCTL_SEND_COMMAND,1,0,0,0,0,0 diff --git a/libc/sysv/consts/SCSI_IOCTL_START_UNIT.S b/libc/sysv/consts/SCSI_IOCTL_START_UNIT.S index a69a6815801..48f5002dd3b 100644 --- a/libc/sysv/consts/SCSI_IOCTL_START_UNIT.S +++ b/libc/sysv/consts/SCSI_IOCTL_START_UNIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCSI_IOCTL_START_UNIT 5 0 0 0 0 0 +.syscon misc,SCSI_IOCTL_START_UNIT,5,0,0,0,0,0 diff --git a/libc/sysv/consts/SCSI_IOCTL_STOP_UNIT.S b/libc/sysv/consts/SCSI_IOCTL_STOP_UNIT.S index 7cb93ba64bf..cd516713a64 100644 --- a/libc/sysv/consts/SCSI_IOCTL_STOP_UNIT.S +++ b/libc/sysv/consts/SCSI_IOCTL_STOP_UNIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCSI_IOCTL_STOP_UNIT 6 0 0 0 0 0 +.syscon misc,SCSI_IOCTL_STOP_UNIT,6,0,0,0,0,0 diff --git a/libc/sysv/consts/SCSI_IOCTL_SYNC.S b/libc/sysv/consts/SCSI_IOCTL_SYNC.S index eb40ffac2eb..bfc87375ed2 100644 --- a/libc/sysv/consts/SCSI_IOCTL_SYNC.S +++ b/libc/sysv/consts/SCSI_IOCTL_SYNC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCSI_IOCTL_SYNC 4 0 0 0 0 0 +.syscon misc,SCSI_IOCTL_SYNC,4,0,0,0,0,0 diff --git a/libc/sysv/consts/SCSI_IOCTL_TAGGED_DISABLE.S b/libc/sysv/consts/SCSI_IOCTL_TAGGED_DISABLE.S index c6c40571694..5058c16dab9 100644 --- a/libc/sysv/consts/SCSI_IOCTL_TAGGED_DISABLE.S +++ b/libc/sysv/consts/SCSI_IOCTL_TAGGED_DISABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCSI_IOCTL_TAGGED_DISABLE 0x5384 0 0 0 0 0 +.syscon misc,SCSI_IOCTL_TAGGED_DISABLE,0x5384,0,0,0,0,0 diff --git a/libc/sysv/consts/SCSI_IOCTL_TAGGED_ENABLE.S b/libc/sysv/consts/SCSI_IOCTL_TAGGED_ENABLE.S index a35c345b76f..a91bf1959b3 100644 --- a/libc/sysv/consts/SCSI_IOCTL_TAGGED_ENABLE.S +++ b/libc/sysv/consts/SCSI_IOCTL_TAGGED_ENABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCSI_IOCTL_TAGGED_ENABLE 0x5383 0 0 0 0 0 +.syscon misc,SCSI_IOCTL_TAGGED_ENABLE,0x5383,0,0,0,0,0 diff --git a/libc/sysv/consts/SCSI_IOCTL_TEST_UNIT_READY.S b/libc/sysv/consts/SCSI_IOCTL_TEST_UNIT_READY.S index 7da42a32567..739647d14d7 100644 --- a/libc/sysv/consts/SCSI_IOCTL_TEST_UNIT_READY.S +++ b/libc/sysv/consts/SCSI_IOCTL_TEST_UNIT_READY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SCSI_IOCTL_TEST_UNIT_READY 2 0 0 0 0 0 +.syscon misc,SCSI_IOCTL_TEST_UNIT_READY,2,0,0,0,0,0 diff --git a/libc/sysv/consts/SEARCH_EQUAL.S b/libc/sysv/consts/SEARCH_EQUAL.S index 7e4eb9830f8..38f85063bc1 100644 --- a/libc/sysv/consts/SEARCH_EQUAL.S +++ b/libc/sysv/consts/SEARCH_EQUAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SEARCH_EQUAL 49 0 0 0 0 0 +.syscon misc,SEARCH_EQUAL,49,0,0,0,0,0 diff --git a/libc/sysv/consts/SEARCH_EQUAL_12.S b/libc/sysv/consts/SEARCH_EQUAL_12.S index f6d1134094b..b3f997d7699 100644 --- a/libc/sysv/consts/SEARCH_EQUAL_12.S +++ b/libc/sysv/consts/SEARCH_EQUAL_12.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SEARCH_EQUAL_12 177 0 0 0 0 0 +.syscon misc,SEARCH_EQUAL_12,177,0,0,0,0,0 diff --git a/libc/sysv/consts/SEARCH_HIGH.S b/libc/sysv/consts/SEARCH_HIGH.S index b915f9e0ae0..f3d70378aba 100644 --- a/libc/sysv/consts/SEARCH_HIGH.S +++ b/libc/sysv/consts/SEARCH_HIGH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SEARCH_HIGH 48 0 0 0 0 0 +.syscon misc,SEARCH_HIGH,48,0,0,0,0,0 diff --git a/libc/sysv/consts/SEARCH_HIGH_12.S b/libc/sysv/consts/SEARCH_HIGH_12.S index 83a623e9bc4..5dbc3b7a703 100644 --- a/libc/sysv/consts/SEARCH_HIGH_12.S +++ b/libc/sysv/consts/SEARCH_HIGH_12.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SEARCH_HIGH_12 176 0 0 0 0 0 +.syscon misc,SEARCH_HIGH_12,176,0,0,0,0,0 diff --git a/libc/sysv/consts/SEARCH_LOW.S b/libc/sysv/consts/SEARCH_LOW.S index 57240e33d21..ae56781ec17 100644 --- a/libc/sysv/consts/SEARCH_LOW.S +++ b/libc/sysv/consts/SEARCH_LOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SEARCH_LOW 50 0 0 0 0 0 +.syscon misc,SEARCH_LOW,50,0,0,0,0,0 diff --git a/libc/sysv/consts/SEARCH_LOW_12.S b/libc/sysv/consts/SEARCH_LOW_12.S index edda838a3a3..328efd3ed95 100644 --- a/libc/sysv/consts/SEARCH_LOW_12.S +++ b/libc/sysv/consts/SEARCH_LOW_12.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SEARCH_LOW_12 178 0 0 0 0 0 +.syscon misc,SEARCH_LOW_12,178,0,0,0,0,0 diff --git a/libc/sysv/consts/SEGSIZE.S b/libc/sysv/consts/SEGSIZE.S index 55a6220bb2c..4576d347592 100644 --- a/libc/sysv/consts/SEGSIZE.S +++ b/libc/sysv/consts/SEGSIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SEGSIZE 0x0200 0x0200 0x0200 0x0200 0x0200 0 +.syscon misc,SEGSIZE,0x0200,0x0200,0x0200,0x0200,0x0200,0 diff --git a/libc/sysv/consts/SEGV_ACCERR.S b/libc/sysv/consts/SEGV_ACCERR.S index 6c2802f2aff..cc37aade6d2 100644 --- a/libc/sysv/consts/SEGV_ACCERR.S +++ b/libc/sysv/consts/SEGV_ACCERR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SEGV_ACCERR 2 2 2 2 2 0 +.syscon misc,SEGV_ACCERR,2,2,2,2,2,0 diff --git a/libc/sysv/consts/SEGV_MAPERR.S b/libc/sysv/consts/SEGV_MAPERR.S index a18bab76801..f6025fdd45e 100644 --- a/libc/sysv/consts/SEGV_MAPERR.S +++ b/libc/sysv/consts/SEGV_MAPERR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SEGV_MAPERR 1 1 1 1 1 0 +.syscon misc,SEGV_MAPERR,1,1,1,1,1,0 diff --git a/libc/sysv/consts/SEM_INFO.S b/libc/sysv/consts/SEM_INFO.S index 4b679dbef9c..505d5ac41fe 100644 --- a/libc/sysv/consts/SEM_INFO.S +++ b/libc/sysv/consts/SEM_INFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SEM_INFO 19 0 11 0 0 0 +.syscon misc,SEM_INFO,19,0,11,0,0,0 diff --git a/libc/sysv/consts/SEM_STAT.S b/libc/sysv/consts/SEM_STAT.S index 59e6a60175b..f56d78dfbbb 100644 --- a/libc/sysv/consts/SEM_STAT.S +++ b/libc/sysv/consts/SEM_STAT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SEM_STAT 18 0 10 0 0 0 +.syscon misc,SEM_STAT,18,0,10,0,0,0 diff --git a/libc/sysv/consts/SEM_VALUE_MAX.S b/libc/sysv/consts/SEM_VALUE_MAX.S index 648e71ce45c..392e908ea50 100644 --- a/libc/sysv/consts/SEM_VALUE_MAX.S +++ b/libc/sysv/consts/SEM_VALUE_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SEM_VALUE_MAX 0x7fffffff 0x7fff 0x7fffffff 0xffffffff 0xffffffff 0 +.syscon misc,SEM_VALUE_MAX,0x7fffffff,0x7fff,0x7fffffff,0xffffffff,0xffffffff,0 diff --git a/libc/sysv/consts/SEND_DIAGNOSTIC.S b/libc/sysv/consts/SEND_DIAGNOSTIC.S index 5a86cdebb9d..75b1021704e 100644 --- a/libc/sysv/consts/SEND_DIAGNOSTIC.S +++ b/libc/sysv/consts/SEND_DIAGNOSTIC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SEND_DIAGNOSTIC 29 0 0 0 0 0 +.syscon misc,SEND_DIAGNOSTIC,29,0,0,0,0,0 diff --git a/libc/sysv/consts/SEND_VOLUME_TAG.S b/libc/sysv/consts/SEND_VOLUME_TAG.S index 4fdb6f799a4..bc950863849 100644 --- a/libc/sysv/consts/SEND_VOLUME_TAG.S +++ b/libc/sysv/consts/SEND_VOLUME_TAG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SEND_VOLUME_TAG 182 0 0 0 0 0 +.syscon misc,SEND_VOLUME_TAG,182,0,0,0,0,0 diff --git a/libc/sysv/consts/SET_LIMITS.S b/libc/sysv/consts/SET_LIMITS.S index 27f88b3cf64..2868b058642 100644 --- a/libc/sysv/consts/SET_LIMITS.S +++ b/libc/sysv/consts/SET_LIMITS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SET_LIMITS 51 0 0 0 0 0 +.syscon misc,SET_LIMITS,51,0,0,0,0,0 diff --git a/libc/sysv/consts/SET_WINDOW.S b/libc/sysv/consts/SET_WINDOW.S index a96b585971f..e72e092f11d 100644 --- a/libc/sysv/consts/SET_WINDOW.S +++ b/libc/sysv/consts/SET_WINDOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SET_WINDOW 36 0 0 0 0 0 +.syscon misc,SET_WINDOW,36,0,0,0,0,0 diff --git a/libc/sysv/consts/SFD_CLOEXEC.S b/libc/sysv/consts/SFD_CLOEXEC.S index 7567cdc5ec8..1c566d061ae 100644 --- a/libc/sysv/consts/SFD_CLOEXEC.S +++ b/libc/sysv/consts/SFD_CLOEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SFD_CLOEXEC 0x080000 0 0 0 0 0 +.syscon misc,SFD_CLOEXEC,0x080000,0,0,0,0,0 diff --git a/libc/sysv/consts/SFD_NONBLOCK.S b/libc/sysv/consts/SFD_NONBLOCK.S index 968dcae6670..b9ec139999a 100644 --- a/libc/sysv/consts/SFD_NONBLOCK.S +++ b/libc/sysv/consts/SFD_NONBLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SFD_NONBLOCK 0x0800 0 0 0 0 0 +.syscon misc,SFD_NONBLOCK,0x0800,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_BIG_BUFF.S b/libc/sysv/consts/SG_BIG_BUFF.S index eb22b405025..f198866a96f 100644 --- a/libc/sysv/consts/SG_BIG_BUFF.S +++ b/libc/sysv/consts/SG_BIG_BUFF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_BIG_BUFF 0x8000 0 0 0 0 0 +.syscon sg,SG_BIG_BUFF,0x8000,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_DEFAULT_RETRIES.S b/libc/sysv/consts/SG_DEFAULT_RETRIES.S index 59baa0d9694..7914dfae64a 100644 --- a/libc/sysv/consts/SG_DEFAULT_RETRIES.S +++ b/libc/sysv/consts/SG_DEFAULT_RETRIES.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_DEFAULT_RETRIES 1 0 0 0 0 0 +.syscon sg,SG_DEFAULT_RETRIES,1,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_DEFAULT_TIMEOUT.S b/libc/sysv/consts/SG_DEFAULT_TIMEOUT.S index 4e30f5663e3..c356cb4dce5 100644 --- a/libc/sysv/consts/SG_DEFAULT_TIMEOUT.S +++ b/libc/sysv/consts/SG_DEFAULT_TIMEOUT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_DEFAULT_TIMEOUT 0x1770 0 0 0 0 0 +.syscon sg,SG_DEFAULT_TIMEOUT,0x1770,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_DEF_COMMAND_Q.S b/libc/sysv/consts/SG_DEF_COMMAND_Q.S index 77451748090..d7d57c500bc 100644 --- a/libc/sysv/consts/SG_DEF_COMMAND_Q.S +++ b/libc/sysv/consts/SG_DEF_COMMAND_Q.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_DEF_COMMAND_Q 0 0 0 0 0 0 +.syscon sg,SG_DEF_COMMAND_Q,0,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_DEF_FORCE_LOW_DMA.S b/libc/sysv/consts/SG_DEF_FORCE_LOW_DMA.S index 6b27bc64f0f..d54248e2274 100644 --- a/libc/sysv/consts/SG_DEF_FORCE_LOW_DMA.S +++ b/libc/sysv/consts/SG_DEF_FORCE_LOW_DMA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_DEF_FORCE_LOW_DMA 0 0 0 0 0 0 +.syscon sg,SG_DEF_FORCE_LOW_DMA,0,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_DEF_FORCE_PACK_ID.S b/libc/sysv/consts/SG_DEF_FORCE_PACK_ID.S index 987f5bf7d87..b54a9999767 100644 --- a/libc/sysv/consts/SG_DEF_FORCE_PACK_ID.S +++ b/libc/sysv/consts/SG_DEF_FORCE_PACK_ID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_DEF_FORCE_PACK_ID 0 0 0 0 0 0 +.syscon sg,SG_DEF_FORCE_PACK_ID,0,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_DEF_KEEP_ORPHAN.S b/libc/sysv/consts/SG_DEF_KEEP_ORPHAN.S index 4d2b204a0d7..008812e4dfe 100644 --- a/libc/sysv/consts/SG_DEF_KEEP_ORPHAN.S +++ b/libc/sysv/consts/SG_DEF_KEEP_ORPHAN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_DEF_KEEP_ORPHAN 0 0 0 0 0 0 +.syscon sg,SG_DEF_KEEP_ORPHAN,0,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_DEF_RESERVED_SIZE.S b/libc/sysv/consts/SG_DEF_RESERVED_SIZE.S index fd068b392c2..f006d775500 100644 --- a/libc/sysv/consts/SG_DEF_RESERVED_SIZE.S +++ b/libc/sysv/consts/SG_DEF_RESERVED_SIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_DEF_RESERVED_SIZE 0x8000 0 0 0 0 0 +.syscon sg,SG_DEF_RESERVED_SIZE,0x8000,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_DEF_UNDERRUN_FLAG.S b/libc/sysv/consts/SG_DEF_UNDERRUN_FLAG.S index c58a6a5527e..d6bee2c0297 100644 --- a/libc/sysv/consts/SG_DEF_UNDERRUN_FLAG.S +++ b/libc/sysv/consts/SG_DEF_UNDERRUN_FLAG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_DEF_UNDERRUN_FLAG 0 0 0 0 0 0 +.syscon sg,SG_DEF_UNDERRUN_FLAG,0,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_DXFER_FROM_DEV.S b/libc/sysv/consts/SG_DXFER_FROM_DEV.S index 6310cb2ab79..d56bc646fa1 100644 --- a/libc/sysv/consts/SG_DXFER_FROM_DEV.S +++ b/libc/sysv/consts/SG_DXFER_FROM_DEV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_DXFER_FROM_DEV -3 0 0 0 0 0 +.syscon sg,SG_DXFER_FROM_DEV,-3,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_DXFER_NONE.S b/libc/sysv/consts/SG_DXFER_NONE.S index 16146e97110..3b797189b1a 100644 --- a/libc/sysv/consts/SG_DXFER_NONE.S +++ b/libc/sysv/consts/SG_DXFER_NONE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_DXFER_NONE -1 0 0 0 0 0 +.syscon sg,SG_DXFER_NONE,-1,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_DXFER_TO_DEV.S b/libc/sysv/consts/SG_DXFER_TO_DEV.S index e6bb324f374..14d9b74e8cb 100644 --- a/libc/sysv/consts/SG_DXFER_TO_DEV.S +++ b/libc/sysv/consts/SG_DXFER_TO_DEV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_DXFER_TO_DEV -2 0 0 0 0 0 +.syscon sg,SG_DXFER_TO_DEV,-2,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_DXFER_TO_FROM_DEV.S b/libc/sysv/consts/SG_DXFER_TO_FROM_DEV.S index a0f0d03a6bf..1de413c21ad 100644 --- a/libc/sysv/consts/SG_DXFER_TO_FROM_DEV.S +++ b/libc/sysv/consts/SG_DXFER_TO_FROM_DEV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_DXFER_TO_FROM_DEV -4 0 0 0 0 0 +.syscon sg,SG_DXFER_TO_FROM_DEV,-4,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_EMULATED_HOST.S b/libc/sysv/consts/SG_EMULATED_HOST.S index 4c33481295e..27a12491605 100644 --- a/libc/sysv/consts/SG_EMULATED_HOST.S +++ b/libc/sysv/consts/SG_EMULATED_HOST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_EMULATED_HOST 0x2203 0 0 0 0 0 +.syscon sg,SG_EMULATED_HOST,0x2203,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_FLAG_DIRECT_IO.S b/libc/sysv/consts/SG_FLAG_DIRECT_IO.S index 8085b886190..00014849dbb 100644 --- a/libc/sysv/consts/SG_FLAG_DIRECT_IO.S +++ b/libc/sysv/consts/SG_FLAG_DIRECT_IO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_FLAG_DIRECT_IO 1 0 0 0 0 0 +.syscon sg,SG_FLAG_DIRECT_IO,1,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_FLAG_LUN_INHIBIT.S b/libc/sysv/consts/SG_FLAG_LUN_INHIBIT.S index 62466329ce1..cf3331cf687 100644 --- a/libc/sysv/consts/SG_FLAG_LUN_INHIBIT.S +++ b/libc/sysv/consts/SG_FLAG_LUN_INHIBIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_FLAG_LUN_INHIBIT 2 0 0 0 0 0 +.syscon sg,SG_FLAG_LUN_INHIBIT,2,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_FLAG_NO_DXFER.S b/libc/sysv/consts/SG_FLAG_NO_DXFER.S index c3078439b89..7c750d0b3ca 100644 --- a/libc/sysv/consts/SG_FLAG_NO_DXFER.S +++ b/libc/sysv/consts/SG_FLAG_NO_DXFER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_FLAG_NO_DXFER 0x010000 0 0 0 0 0 +.syscon sg,SG_FLAG_NO_DXFER,0x010000,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_GET_COMMAND_Q.S b/libc/sysv/consts/SG_GET_COMMAND_Q.S index 919417afd5a..256bb4af4a5 100644 --- a/libc/sysv/consts/SG_GET_COMMAND_Q.S +++ b/libc/sysv/consts/SG_GET_COMMAND_Q.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_GET_COMMAND_Q 0x2270 0 0 0 0 0 +.syscon sg,SG_GET_COMMAND_Q,0x2270,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_GET_KEEP_ORPHAN.S b/libc/sysv/consts/SG_GET_KEEP_ORPHAN.S index 1636ddfa0fa..85a401b9825 100644 --- a/libc/sysv/consts/SG_GET_KEEP_ORPHAN.S +++ b/libc/sysv/consts/SG_GET_KEEP_ORPHAN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_GET_KEEP_ORPHAN 0x2288 0 0 0 0 0 +.syscon sg,SG_GET_KEEP_ORPHAN,0x2288,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_GET_LOW_DMA.S b/libc/sysv/consts/SG_GET_LOW_DMA.S index 0c4541fd39f..2f4ea2c6a9d 100644 --- a/libc/sysv/consts/SG_GET_LOW_DMA.S +++ b/libc/sysv/consts/SG_GET_LOW_DMA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_GET_LOW_DMA 0x227a 0 0 0 0 0 +.syscon sg,SG_GET_LOW_DMA,0x227a,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_GET_NUM_WAITING.S b/libc/sysv/consts/SG_GET_NUM_WAITING.S index da7dc9717d0..1e053731e4e 100644 --- a/libc/sysv/consts/SG_GET_NUM_WAITING.S +++ b/libc/sysv/consts/SG_GET_NUM_WAITING.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_GET_NUM_WAITING 0x227d 0 0 0 0 0 +.syscon sg,SG_GET_NUM_WAITING,0x227d,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_GET_PACK_ID.S b/libc/sysv/consts/SG_GET_PACK_ID.S index 4500b0006d8..fc4d3e206fc 100644 --- a/libc/sysv/consts/SG_GET_PACK_ID.S +++ b/libc/sysv/consts/SG_GET_PACK_ID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_GET_PACK_ID 0x227c 0 0 0 0 0 +.syscon sg,SG_GET_PACK_ID,0x227c,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_GET_REQUEST_TABLE.S b/libc/sysv/consts/SG_GET_REQUEST_TABLE.S index 7c37beda41d..a6ddb2d0152 100644 --- a/libc/sysv/consts/SG_GET_REQUEST_TABLE.S +++ b/libc/sysv/consts/SG_GET_REQUEST_TABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_GET_REQUEST_TABLE 0x2286 0 0 0 0 0 +.syscon sg,SG_GET_REQUEST_TABLE,0x2286,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_GET_RESERVED_SIZE.S b/libc/sysv/consts/SG_GET_RESERVED_SIZE.S index c5b7436a2ed..8cc5b46d8d6 100644 --- a/libc/sysv/consts/SG_GET_RESERVED_SIZE.S +++ b/libc/sysv/consts/SG_GET_RESERVED_SIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_GET_RESERVED_SIZE 0x2272 0 0 0 0 0 +.syscon sg,SG_GET_RESERVED_SIZE,0x2272,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_GET_SCSI_ID.S b/libc/sysv/consts/SG_GET_SCSI_ID.S index 7e757b73661..99e338682b9 100644 --- a/libc/sysv/consts/SG_GET_SCSI_ID.S +++ b/libc/sysv/consts/SG_GET_SCSI_ID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_GET_SCSI_ID 0x2276 0 0 0 0 0 +.syscon sg,SG_GET_SCSI_ID,0x2276,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_GET_SG_TABLESIZE.S b/libc/sysv/consts/SG_GET_SG_TABLESIZE.S index d56d4256b9a..2f82def1e12 100644 --- a/libc/sysv/consts/SG_GET_SG_TABLESIZE.S +++ b/libc/sysv/consts/SG_GET_SG_TABLESIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_GET_SG_TABLESIZE 0x227f 0 0 0 0 0 +.syscon sg,SG_GET_SG_TABLESIZE,0x227f,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_GET_TIMEOUT.S b/libc/sysv/consts/SG_GET_TIMEOUT.S index 9fdb5ea514b..290c678a795 100644 --- a/libc/sysv/consts/SG_GET_TIMEOUT.S +++ b/libc/sysv/consts/SG_GET_TIMEOUT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_GET_TIMEOUT 0x2202 0 0 0 0 0 +.syscon sg,SG_GET_TIMEOUT,0x2202,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_GET_TRANSFORM.S b/libc/sysv/consts/SG_GET_TRANSFORM.S index 9f0a1496d8e..81dbb140c17 100644 --- a/libc/sysv/consts/SG_GET_TRANSFORM.S +++ b/libc/sysv/consts/SG_GET_TRANSFORM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_GET_TRANSFORM 0x2205 0 0 0 0 0 +.syscon sg,SG_GET_TRANSFORM,0x2205,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_GET_VERSION_NUM.S b/libc/sysv/consts/SG_GET_VERSION_NUM.S index c87e47ca632..c0553e51812 100644 --- a/libc/sysv/consts/SG_GET_VERSION_NUM.S +++ b/libc/sysv/consts/SG_GET_VERSION_NUM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_GET_VERSION_NUM 0x2282 0 0 0 0 0 +.syscon sg,SG_GET_VERSION_NUM,0x2282,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_INFO_CHECK.S b/libc/sysv/consts/SG_INFO_CHECK.S index 5a73698aa3a..62c53d83a9e 100644 --- a/libc/sysv/consts/SG_INFO_CHECK.S +++ b/libc/sysv/consts/SG_INFO_CHECK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_INFO_CHECK 1 0 0 0 0 0 +.syscon sg,SG_INFO_CHECK,1,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_INFO_DIRECT_IO.S b/libc/sysv/consts/SG_INFO_DIRECT_IO.S index 0d2ca251851..6e540e75d28 100644 --- a/libc/sysv/consts/SG_INFO_DIRECT_IO.S +++ b/libc/sysv/consts/SG_INFO_DIRECT_IO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_INFO_DIRECT_IO 2 0 0 0 0 0 +.syscon sg,SG_INFO_DIRECT_IO,2,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_INFO_DIRECT_IO_MASK.S b/libc/sysv/consts/SG_INFO_DIRECT_IO_MASK.S index ef649827fa7..fec81aadc6a 100644 --- a/libc/sysv/consts/SG_INFO_DIRECT_IO_MASK.S +++ b/libc/sysv/consts/SG_INFO_DIRECT_IO_MASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_INFO_DIRECT_IO_MASK 6 0 0 0 0 0 +.syscon sg,SG_INFO_DIRECT_IO_MASK,6,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_INFO_INDIRECT_IO.S b/libc/sysv/consts/SG_INFO_INDIRECT_IO.S index 61251cb34ce..57a9d22e7d1 100644 --- a/libc/sysv/consts/SG_INFO_INDIRECT_IO.S +++ b/libc/sysv/consts/SG_INFO_INDIRECT_IO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_INFO_INDIRECT_IO 0 0 0 0 0 0 +.syscon sg,SG_INFO_INDIRECT_IO,0,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_INFO_MIXED_IO.S b/libc/sysv/consts/SG_INFO_MIXED_IO.S index e7e71a35e14..9551646fb6d 100644 --- a/libc/sysv/consts/SG_INFO_MIXED_IO.S +++ b/libc/sysv/consts/SG_INFO_MIXED_IO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_INFO_MIXED_IO 4 0 0 0 0 0 +.syscon sg,SG_INFO_MIXED_IO,4,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_INFO_OK.S b/libc/sysv/consts/SG_INFO_OK.S index 26d394eb107..ff402db9342 100644 --- a/libc/sysv/consts/SG_INFO_OK.S +++ b/libc/sysv/consts/SG_INFO_OK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_INFO_OK 0 0 0 0 0 0 +.syscon sg,SG_INFO_OK,0,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_INFO_OK_MASK.S b/libc/sysv/consts/SG_INFO_OK_MASK.S index 2e527a7191f..4f21161cd86 100644 --- a/libc/sysv/consts/SG_INFO_OK_MASK.S +++ b/libc/sysv/consts/SG_INFO_OK_MASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_INFO_OK_MASK 1 0 0 0 0 0 +.syscon sg,SG_INFO_OK_MASK,1,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_IO.S b/libc/sysv/consts/SG_IO.S index 5d948265a5e..e82e17b7b4c 100644 --- a/libc/sysv/consts/SG_IO.S +++ b/libc/sysv/consts/SG_IO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_IO 0x2285 0 0 0 0 0 +.syscon sg,SG_IO,0x2285,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_MAX_QUEUE.S b/libc/sysv/consts/SG_MAX_QUEUE.S index c05cae6c56f..937a9c9cd2f 100644 --- a/libc/sysv/consts/SG_MAX_QUEUE.S +++ b/libc/sysv/consts/SG_MAX_QUEUE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_MAX_QUEUE 0x10 0 0 0 0 0 +.syscon sg,SG_MAX_QUEUE,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_MAX_SENSE.S b/libc/sysv/consts/SG_MAX_SENSE.S index 65e12af57b5..6170af0f09a 100644 --- a/libc/sysv/consts/SG_MAX_SENSE.S +++ b/libc/sysv/consts/SG_MAX_SENSE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_MAX_SENSE 0x10 0 0 0 0 0 +.syscon sg,SG_MAX_SENSE,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_NEXT_CMD_LEN.S b/libc/sysv/consts/SG_NEXT_CMD_LEN.S index 45d0073d0a3..391f9a51d64 100644 --- a/libc/sysv/consts/SG_NEXT_CMD_LEN.S +++ b/libc/sysv/consts/SG_NEXT_CMD_LEN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_NEXT_CMD_LEN 0x2283 0 0 0 0 0 +.syscon sg,SG_NEXT_CMD_LEN,0x2283,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_SCATTER_SZ.S b/libc/sysv/consts/SG_SCATTER_SZ.S index eed6727eaee..9af8d3c9982 100644 --- a/libc/sysv/consts/SG_SCATTER_SZ.S +++ b/libc/sysv/consts/SG_SCATTER_SZ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_SCATTER_SZ 0x8000 0 0 0 0 0 +.syscon sg,SG_SCATTER_SZ,0x8000,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_SCSI_RESET.S b/libc/sysv/consts/SG_SCSI_RESET.S index be44b963aac..a94c6f53588 100644 --- a/libc/sysv/consts/SG_SCSI_RESET.S +++ b/libc/sysv/consts/SG_SCSI_RESET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_SCSI_RESET 0x2284 0 0 0 0 0 +.syscon sg,SG_SCSI_RESET,0x2284,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_SCSI_RESET_BUS.S b/libc/sysv/consts/SG_SCSI_RESET_BUS.S index f8a6faae2cd..6d46e48ccdc 100644 --- a/libc/sysv/consts/SG_SCSI_RESET_BUS.S +++ b/libc/sysv/consts/SG_SCSI_RESET_BUS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_SCSI_RESET_BUS 2 0 0 0 0 0 +.syscon sg,SG_SCSI_RESET_BUS,2,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_SCSI_RESET_DEVICE.S b/libc/sysv/consts/SG_SCSI_RESET_DEVICE.S index 12837fffcf3..e4326f9018b 100644 --- a/libc/sysv/consts/SG_SCSI_RESET_DEVICE.S +++ b/libc/sysv/consts/SG_SCSI_RESET_DEVICE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_SCSI_RESET_DEVICE 1 0 0 0 0 0 +.syscon sg,SG_SCSI_RESET_DEVICE,1,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_SCSI_RESET_HOST.S b/libc/sysv/consts/SG_SCSI_RESET_HOST.S index e6f4eb72f5d..ce7ef225ff7 100644 --- a/libc/sysv/consts/SG_SCSI_RESET_HOST.S +++ b/libc/sysv/consts/SG_SCSI_RESET_HOST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_SCSI_RESET_HOST 3 0 0 0 0 0 +.syscon sg,SG_SCSI_RESET_HOST,3,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_SCSI_RESET_NOTHING.S b/libc/sysv/consts/SG_SCSI_RESET_NOTHING.S index e72fe0b975b..a7502a6ff59 100644 --- a/libc/sysv/consts/SG_SCSI_RESET_NOTHING.S +++ b/libc/sysv/consts/SG_SCSI_RESET_NOTHING.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_SCSI_RESET_NOTHING 0 0 0 0 0 0 +.syscon sg,SG_SCSI_RESET_NOTHING,0,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_SET_COMMAND_Q.S b/libc/sysv/consts/SG_SET_COMMAND_Q.S index b44df16b4dc..73ef9f11eae 100644 --- a/libc/sysv/consts/SG_SET_COMMAND_Q.S +++ b/libc/sysv/consts/SG_SET_COMMAND_Q.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_SET_COMMAND_Q 0x2271 0 0 0 0 0 +.syscon sg,SG_SET_COMMAND_Q,0x2271,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_SET_DEBUG.S b/libc/sysv/consts/SG_SET_DEBUG.S index 73b06a27ffd..df27afcf25d 100644 --- a/libc/sysv/consts/SG_SET_DEBUG.S +++ b/libc/sysv/consts/SG_SET_DEBUG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_SET_DEBUG 0x227e 0 0 0 0 0 +.syscon sg,SG_SET_DEBUG,0x227e,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_SET_FORCE_LOW_DMA.S b/libc/sysv/consts/SG_SET_FORCE_LOW_DMA.S index 83f308d98db..79b02461ab8 100644 --- a/libc/sysv/consts/SG_SET_FORCE_LOW_DMA.S +++ b/libc/sysv/consts/SG_SET_FORCE_LOW_DMA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_SET_FORCE_LOW_DMA 0x2279 0 0 0 0 0 +.syscon sg,SG_SET_FORCE_LOW_DMA,0x2279,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_SET_FORCE_PACK_ID.S b/libc/sysv/consts/SG_SET_FORCE_PACK_ID.S index 23c734e23ed..26291db4975 100644 --- a/libc/sysv/consts/SG_SET_FORCE_PACK_ID.S +++ b/libc/sysv/consts/SG_SET_FORCE_PACK_ID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_SET_FORCE_PACK_ID 0x227b 0 0 0 0 0 +.syscon sg,SG_SET_FORCE_PACK_ID,0x227b,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_SET_KEEP_ORPHAN.S b/libc/sysv/consts/SG_SET_KEEP_ORPHAN.S index a3e5aa8a681..c1883c8b076 100644 --- a/libc/sysv/consts/SG_SET_KEEP_ORPHAN.S +++ b/libc/sysv/consts/SG_SET_KEEP_ORPHAN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_SET_KEEP_ORPHAN 0x2287 0 0 0 0 0 +.syscon sg,SG_SET_KEEP_ORPHAN,0x2287,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_SET_RESERVED_SIZE.S b/libc/sysv/consts/SG_SET_RESERVED_SIZE.S index c3cf6621dc9..d4f1d5c9479 100644 --- a/libc/sysv/consts/SG_SET_RESERVED_SIZE.S +++ b/libc/sysv/consts/SG_SET_RESERVED_SIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_SET_RESERVED_SIZE 0x2275 0 0 0 0 0 +.syscon sg,SG_SET_RESERVED_SIZE,0x2275,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_SET_TIMEOUT.S b/libc/sysv/consts/SG_SET_TIMEOUT.S index 8dcfa0eb82d..ae290c559f6 100644 --- a/libc/sysv/consts/SG_SET_TIMEOUT.S +++ b/libc/sysv/consts/SG_SET_TIMEOUT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_SET_TIMEOUT 0x2201 0 0 0 0 0 +.syscon sg,SG_SET_TIMEOUT,0x2201,0,0,0,0,0 diff --git a/libc/sysv/consts/SG_SET_TRANSFORM.S b/libc/sysv/consts/SG_SET_TRANSFORM.S index a4cca30180a..9cff1509023 100644 --- a/libc/sysv/consts/SG_SET_TRANSFORM.S +++ b/libc/sysv/consts/SG_SET_TRANSFORM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sg SG_SET_TRANSFORM 0x2204 0 0 0 0 0 +.syscon sg,SG_SET_TRANSFORM,0x2204,0,0,0,0,0 diff --git a/libc/sysv/consts/SHMLBA.S b/libc/sysv/consts/SHMLBA.S index 8b13298f2dd..7f5607cdb76 100644 --- a/libc/sysv/consts/SHMLBA.S +++ b/libc/sysv/consts/SHMLBA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SHMLBA 0 0x1000 0x1000 0x1000 0x1000 0 +.syscon misc,SHMLBA,0,0x1000,0x1000,0x1000,0x1000,0 diff --git a/libc/sysv/consts/SHM_DEST.S b/libc/sysv/consts/SHM_DEST.S index c6d85560037..bf2fd057544 100644 --- a/libc/sysv/consts/SHM_DEST.S +++ b/libc/sysv/consts/SHM_DEST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon shm SHM_DEST 0x0200 0 0 0 0 0 +.syscon shm,SHM_DEST,0x0200,0,0,0,0,0 diff --git a/libc/sysv/consts/SHM_EXEC.S b/libc/sysv/consts/SHM_EXEC.S index d306e26eb6e..fd3f2d6ac8d 100644 --- a/libc/sysv/consts/SHM_EXEC.S +++ b/libc/sysv/consts/SHM_EXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon shm SHM_EXEC 0x8000 0 0 0 0 0 +.syscon shm,SHM_EXEC,0x8000,0,0,0,0,0 diff --git a/libc/sysv/consts/SHM_HUGETLB.S b/libc/sysv/consts/SHM_HUGETLB.S index 768d1baf4cd..8186fb504c7 100644 --- a/libc/sysv/consts/SHM_HUGETLB.S +++ b/libc/sysv/consts/SHM_HUGETLB.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon shm SHM_HUGETLB 0x0800 0 0 0 0 0 +.syscon shm,SHM_HUGETLB,0x0800,0,0,0,0,0 diff --git a/libc/sysv/consts/SHM_INFO.S b/libc/sysv/consts/SHM_INFO.S index 36efce23210..1a146f49179 100644 --- a/libc/sysv/consts/SHM_INFO.S +++ b/libc/sysv/consts/SHM_INFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon shm SHM_INFO 14 0 14 0 0 0 +.syscon shm,SHM_INFO,14,0,14,0,0,0 diff --git a/libc/sysv/consts/SHM_LOCK.S b/libc/sysv/consts/SHM_LOCK.S index 86e4be15bca..281526abd14 100644 --- a/libc/sysv/consts/SHM_LOCK.S +++ b/libc/sysv/consts/SHM_LOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon shm SHM_LOCK 11 0 11 3 3 0 +.syscon shm,SHM_LOCK,11,0,11,3,3,0 diff --git a/libc/sysv/consts/SHM_LOCKED.S b/libc/sysv/consts/SHM_LOCKED.S index 9244d0c9b6b..dbc2e05b0dc 100644 --- a/libc/sysv/consts/SHM_LOCKED.S +++ b/libc/sysv/consts/SHM_LOCKED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon shm SHM_LOCKED 0x0400 0 0 0 0 0 +.syscon shm,SHM_LOCKED,0x0400,0,0,0,0,0 diff --git a/libc/sysv/consts/SHM_NORESERVE.S b/libc/sysv/consts/SHM_NORESERVE.S index 97bcc7378a4..8d7602afc34 100644 --- a/libc/sysv/consts/SHM_NORESERVE.S +++ b/libc/sysv/consts/SHM_NORESERVE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon shm SHM_NORESERVE 0x1000 0 0 0 0 0 +.syscon shm,SHM_NORESERVE,0x1000,0,0,0,0,0 diff --git a/libc/sysv/consts/SHM_R.S b/libc/sysv/consts/SHM_R.S index 6debbca7ccd..fff8b231942 100644 --- a/libc/sysv/consts/SHM_R.S +++ b/libc/sysv/consts/SHM_R.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon shm SHM_R 0x0100 0x0100 0x0100 0x0100 0x0100 0 +.syscon shm,SHM_R,0x0100,0x0100,0x0100,0x0100,0x0100,0 diff --git a/libc/sysv/consts/SHM_RDONLY.S b/libc/sysv/consts/SHM_RDONLY.S index 332a0c7c34d..59af5a88639 100644 --- a/libc/sysv/consts/SHM_RDONLY.S +++ b/libc/sysv/consts/SHM_RDONLY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon shm SHM_RDONLY 0x1000 0x1000 0x1000 0x1000 0x1000 0 +.syscon shm,SHM_RDONLY,0x1000,0x1000,0x1000,0x1000,0x1000,0 diff --git a/libc/sysv/consts/SHM_REMAP.S b/libc/sysv/consts/SHM_REMAP.S index 4a7bf88b73c..886e3c719bb 100644 --- a/libc/sysv/consts/SHM_REMAP.S +++ b/libc/sysv/consts/SHM_REMAP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon shm SHM_REMAP 0x4000 0 0 0 0 0 +.syscon shm,SHM_REMAP,0x4000,0,0,0,0,0 diff --git a/libc/sysv/consts/SHM_RND.S b/libc/sysv/consts/SHM_RND.S index 203097a91d7..c5abe7ff640 100644 --- a/libc/sysv/consts/SHM_RND.S +++ b/libc/sysv/consts/SHM_RND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon shm SHM_RND 0x2000 0x2000 0x2000 0x2000 0x2000 0 +.syscon shm,SHM_RND,0x2000,0x2000,0x2000,0x2000,0x2000,0 diff --git a/libc/sysv/consts/SHM_STAT.S b/libc/sysv/consts/SHM_STAT.S index 38c7c066f6e..e6a76ece77a 100644 --- a/libc/sysv/consts/SHM_STAT.S +++ b/libc/sysv/consts/SHM_STAT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon shm SHM_STAT 13 0 13 0 0 0 +.syscon shm,SHM_STAT,13,0,13,0,0,0 diff --git a/libc/sysv/consts/SHM_UNLOCK.S b/libc/sysv/consts/SHM_UNLOCK.S index 460ca9ea008..ac65abe8298 100644 --- a/libc/sysv/consts/SHM_UNLOCK.S +++ b/libc/sysv/consts/SHM_UNLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon shm SHM_UNLOCK 12 0 12 4 4 0 +.syscon shm,SHM_UNLOCK,12,0,12,4,4,0 diff --git a/libc/sysv/consts/SHM_W.S b/libc/sysv/consts/SHM_W.S index a7b1ff21a25..85eb84c99c3 100644 --- a/libc/sysv/consts/SHM_W.S +++ b/libc/sysv/consts/SHM_W.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon shm SHM_W 0x80 0x80 0x80 0x80 0x80 0 +.syscon shm,SHM_W,0x80,0x80,0x80,0x80,0x80,0 diff --git a/libc/sysv/consts/SHORT_INODE.S b/libc/sysv/consts/SHORT_INODE.S index 0ff89734837..939490c7259 100644 --- a/libc/sysv/consts/SHORT_INODE.S +++ b/libc/sysv/consts/SHORT_INODE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon prsnlty SHORT_INODE 0x1000000 -1 -1 -1 -1 -1 +.syscon prsnlty,SHORT_INODE,0x1000000,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/SHUT_RD.S b/libc/sysv/consts/SHUT_RD.S index 4baa24810e7..457b8e9397f 100644 --- a/libc/sysv/consts/SHUT_RD.S +++ b/libc/sysv/consts/SHUT_RD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SHUT_RD 0 0 0 0 0 0 +.syscon misc,SHUT_RD,0,0,0,0,0,0 diff --git a/libc/sysv/consts/SHUT_RDWR.S b/libc/sysv/consts/SHUT_RDWR.S index f74427777e2..a7c06a1644c 100644 --- a/libc/sysv/consts/SHUT_RDWR.S +++ b/libc/sysv/consts/SHUT_RDWR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SHUT_RDWR 2 2 2 2 2 2 +.syscon misc,SHUT_RDWR,2,2,2,2,2,2 diff --git a/libc/sysv/consts/SHUT_WR.S b/libc/sysv/consts/SHUT_WR.S index 6140cb7a907..f78abc5eac1 100644 --- a/libc/sysv/consts/SHUT_WR.S +++ b/libc/sysv/consts/SHUT_WR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SHUT_WR 1 1 1 1 1 1 +.syscon misc,SHUT_WR,1,1,1,1,1,1 diff --git a/libc/sysv/consts/SIGABRT.S b/libc/sysv/consts/SIGABRT.S index d7834f55791..afaab58d7f6 100644 --- a/libc/sysv/consts/SIGABRT.S +++ b/libc/sysv/consts/SIGABRT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGABRT 6 6 6 6 6 6 +.syscon sig,SIGABRT,6,6,6,6,6,6 diff --git a/libc/sysv/consts/SIGALRM.S b/libc/sysv/consts/SIGALRM.S index 8b5256e7a74..46647d89fac 100644 --- a/libc/sysv/consts/SIGALRM.S +++ b/libc/sysv/consts/SIGALRM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGALRM 14 14 14 14 14 14 +.syscon sig,SIGALRM,14,14,14,14,14,14 diff --git a/libc/sysv/consts/SIGBUS.S b/libc/sysv/consts/SIGBUS.S index c523b660c51..e14b1332558 100644 --- a/libc/sysv/consts/SIGBUS.S +++ b/libc/sysv/consts/SIGBUS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGBUS 7 10 10 10 10 7 +.syscon sig,SIGBUS,7,10,10,10,10,7 diff --git a/libc/sysv/consts/SIGCHLD.S b/libc/sysv/consts/SIGCHLD.S index 258f2140fed..39b783ad30f 100644 --- a/libc/sysv/consts/SIGCHLD.S +++ b/libc/sysv/consts/SIGCHLD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGCHLD 17 20 20 20 20 17 +.syscon sig,SIGCHLD,17,20,20,20,20,17 diff --git a/libc/sysv/consts/SIGCONT.S b/libc/sysv/consts/SIGCONT.S index 21e27edf6d6..9cc4c42781d 100644 --- a/libc/sysv/consts/SIGCONT.S +++ b/libc/sysv/consts/SIGCONT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGCONT 18 19 19 19 19 18 +.syscon sig,SIGCONT,18,19,19,19,19,18 diff --git a/libc/sysv/consts/SIGEV_NONE.S b/libc/sysv/consts/SIGEV_NONE.S index 30946263bc4..89ab3b0a24c 100644 --- a/libc/sysv/consts/SIGEV_NONE.S +++ b/libc/sysv/consts/SIGEV_NONE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SIGEV_NONE 1 0 0 0 0 0 +.syscon misc,SIGEV_NONE,1,0,0,0,0,0 diff --git a/libc/sysv/consts/SIGEV_SIGNAL.S b/libc/sysv/consts/SIGEV_SIGNAL.S index 883401e7be7..29cd6a2870f 100644 --- a/libc/sysv/consts/SIGEV_SIGNAL.S +++ b/libc/sysv/consts/SIGEV_SIGNAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SIGEV_SIGNAL 0 1 1 0 1 0 +.syscon misc,SIGEV_SIGNAL,0,1,1,0,1,0 diff --git a/libc/sysv/consts/SIGEV_THREAD.S b/libc/sysv/consts/SIGEV_THREAD.S index 9b0fc750eae..4f1cdbcee44 100644 --- a/libc/sysv/consts/SIGEV_THREAD.S +++ b/libc/sysv/consts/SIGEV_THREAD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SIGEV_THREAD 2 3 2 0 2 0 +.syscon misc,SIGEV_THREAD,2,3,2,0,2,0 diff --git a/libc/sysv/consts/SIGFPE.S b/libc/sysv/consts/SIGFPE.S index e5ca6ca06fe..17683e1c640 100644 --- a/libc/sysv/consts/SIGFPE.S +++ b/libc/sysv/consts/SIGFPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGFPE 8 8 8 8 8 8 +.syscon sig,SIGFPE,8,8,8,8,8,8 diff --git a/libc/sysv/consts/SIGHUP.S b/libc/sysv/consts/SIGHUP.S index e78a976b309..856057a189a 100644 --- a/libc/sysv/consts/SIGHUP.S +++ b/libc/sysv/consts/SIGHUP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGHUP 1 1 1 1 1 1 +.syscon sig,SIGHUP,1,1,1,1,1,1 diff --git a/libc/sysv/consts/SIGILL.S b/libc/sysv/consts/SIGILL.S index 35b9800aef1..7f600c0a641 100644 --- a/libc/sysv/consts/SIGILL.S +++ b/libc/sysv/consts/SIGILL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGILL 4 4 4 4 4 4 +.syscon sig,SIGILL,4,4,4,4,4,4 diff --git a/libc/sysv/consts/SIGINT.S b/libc/sysv/consts/SIGINT.S index e2423d7659e..84b62c225c2 100644 --- a/libc/sysv/consts/SIGINT.S +++ b/libc/sysv/consts/SIGINT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGINT 2 2 2 2 2 2 +.syscon sig,SIGINT,2,2,2,2,2,2 diff --git a/libc/sysv/consts/SIGIO.S b/libc/sysv/consts/SIGIO.S index 3c5bb0c8fad..ad6a5cd1751 100644 --- a/libc/sysv/consts/SIGIO.S +++ b/libc/sysv/consts/SIGIO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGIO 29 23 23 23 23 29 +.syscon sig,SIGIO,29,23,23,23,23,29 diff --git a/libc/sysv/consts/SIGIOT.S b/libc/sysv/consts/SIGIOT.S index 68862675fba..b8c19047f0f 100644 --- a/libc/sysv/consts/SIGIOT.S +++ b/libc/sysv/consts/SIGIOT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGIOT 6 6 6 6 6 6 +.syscon sig,SIGIOT,6,6,6,6,6,6 diff --git a/libc/sysv/consts/SIGKILL.S b/libc/sysv/consts/SIGKILL.S index f1ffa496ce0..074d3014f93 100644 --- a/libc/sysv/consts/SIGKILL.S +++ b/libc/sysv/consts/SIGKILL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGKILL 9 9 9 9 9 9 +.syscon sig,SIGKILL,9,9,9,9,9,9 diff --git a/libc/sysv/consts/SIGPIPE.S b/libc/sysv/consts/SIGPIPE.S index 51a189d870f..af7e2add668 100644 --- a/libc/sysv/consts/SIGPIPE.S +++ b/libc/sysv/consts/SIGPIPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGPIPE 13 13 13 13 13 13 +.syscon sig,SIGPIPE,13,13,13,13,13,13 diff --git a/libc/sysv/consts/SIGPOLL.S b/libc/sysv/consts/SIGPOLL.S index b0d51d8c57a..1bdcef26a11 100644 --- a/libc/sysv/consts/SIGPOLL.S +++ b/libc/sysv/consts/SIGPOLL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGPOLL 29 0 0 0 0 29 +.syscon sig,SIGPOLL,29,0,0,0,0,29 diff --git a/libc/sysv/consts/SIGPROF.S b/libc/sysv/consts/SIGPROF.S index a5cda6f500d..00ca9728565 100644 --- a/libc/sysv/consts/SIGPROF.S +++ b/libc/sysv/consts/SIGPROF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGPROF 27 27 27 27 27 27 +.syscon sig,SIGPROF,27,27,27,27,27,27 diff --git a/libc/sysv/consts/SIGPWR.S b/libc/sysv/consts/SIGPWR.S index d545b0054cb..0adb12f326b 100644 --- a/libc/sysv/consts/SIGPWR.S +++ b/libc/sysv/consts/SIGPWR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGPWR 30 0 0 0 32 30 +.syscon sig,SIGPWR,30,0,0,0,32,30 diff --git a/libc/sysv/consts/SIGQUIT.S b/libc/sysv/consts/SIGQUIT.S index 7d09668fb42..877361abb87 100644 --- a/libc/sysv/consts/SIGQUIT.S +++ b/libc/sysv/consts/SIGQUIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGQUIT 3 3 3 3 3 3 +.syscon sig,SIGQUIT,3,3,3,3,3,3 diff --git a/libc/sysv/consts/SIGRTMAX.S b/libc/sysv/consts/SIGRTMAX.S index ead3c45716a..5f22cd0c523 100644 --- a/libc/sysv/consts/SIGRTMAX.S +++ b/libc/sysv/consts/SIGRTMAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGRTMAX 0 0 126 0 63 0 +.syscon sig,SIGRTMAX,0,0,126,0,63,0 diff --git a/libc/sysv/consts/SIGRTMIN.S b/libc/sysv/consts/SIGRTMIN.S index c72e9202a2a..4b3054bbc62 100644 --- a/libc/sysv/consts/SIGRTMIN.S +++ b/libc/sysv/consts/SIGRTMIN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGRTMIN 0 0 65 0 33 0 +.syscon sig,SIGRTMIN,0,0,65,0,33,0 diff --git a/libc/sysv/consts/SIGSEGV.S b/libc/sysv/consts/SIGSEGV.S index ce9e5e632aa..4055922df98 100644 --- a/libc/sysv/consts/SIGSEGV.S +++ b/libc/sysv/consts/SIGSEGV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGSEGV 11 11 11 11 11 11 +.syscon sig,SIGSEGV,11,11,11,11,11,11 diff --git a/libc/sysv/consts/SIGSTKFLT.S b/libc/sysv/consts/SIGSTKFLT.S index 39acf30a16a..7c26a6b7498 100644 --- a/libc/sysv/consts/SIGSTKFLT.S +++ b/libc/sysv/consts/SIGSTKFLT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGSTKFLT 0x10 0 0 0 0 0x10 +.syscon sig,SIGSTKFLT,0x10,0,0,0,0,0x10 diff --git a/libc/sysv/consts/SIGSTKSZ.S b/libc/sysv/consts/SIGSTKSZ.S index 6bbc793a8c3..652bf9c05cf 100644 --- a/libc/sysv/consts/SIGSTKSZ.S +++ b/libc/sysv/consts/SIGSTKSZ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGSTKSZ 0x2000 0x020000 0x8800 0x7000 0x7000 0x2000 +.syscon sig,SIGSTKSZ,0x2000,0x020000,0x8800,0x7000,0x7000,0x2000 diff --git a/libc/sysv/consts/SIGSTOP.S b/libc/sysv/consts/SIGSTOP.S index 290f1b04c54..85f6eaa464c 100644 --- a/libc/sysv/consts/SIGSTOP.S +++ b/libc/sysv/consts/SIGSTOP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGSTOP 19 17 17 17 17 19 +.syscon sig,SIGSTOP,19,17,17,17,17,19 diff --git a/libc/sysv/consts/SIGSYS.S b/libc/sysv/consts/SIGSYS.S index b35c268aa20..e5450011e82 100644 --- a/libc/sysv/consts/SIGSYS.S +++ b/libc/sysv/consts/SIGSYS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGSYS 31 12 12 12 12 31 +.syscon sig,SIGSYS,31,12,12,12,12,31 diff --git a/libc/sysv/consts/SIGTERM.S b/libc/sysv/consts/SIGTERM.S index 9e798e725ce..76c974606bd 100644 --- a/libc/sysv/consts/SIGTERM.S +++ b/libc/sysv/consts/SIGTERM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGTERM 15 15 15 15 15 15 +.syscon sig,SIGTERM,15,15,15,15,15,15 diff --git a/libc/sysv/consts/SIGTRAP.S b/libc/sysv/consts/SIGTRAP.S index 4e001794185..43b1d3871dc 100644 --- a/libc/sysv/consts/SIGTRAP.S +++ b/libc/sysv/consts/SIGTRAP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGTRAP 5 5 5 5 5 5 +.syscon sig,SIGTRAP,5,5,5,5,5,5 diff --git a/libc/sysv/consts/SIGTSTP.S b/libc/sysv/consts/SIGTSTP.S index af2ce1f3a94..15246a9aef6 100644 --- a/libc/sysv/consts/SIGTSTP.S +++ b/libc/sysv/consts/SIGTSTP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGTSTP 20 18 18 18 18 20 +.syscon sig,SIGTSTP,20,18,18,18,18,20 diff --git a/libc/sysv/consts/SIGTTIN.S b/libc/sysv/consts/SIGTTIN.S index 7c0209a3e9c..9508f9a059e 100644 --- a/libc/sysv/consts/SIGTTIN.S +++ b/libc/sysv/consts/SIGTTIN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGTTIN 21 21 21 21 21 21 +.syscon sig,SIGTTIN,21,21,21,21,21,21 diff --git a/libc/sysv/consts/SIGTTOU.S b/libc/sysv/consts/SIGTTOU.S index f79d3203176..d3f93647701 100644 --- a/libc/sysv/consts/SIGTTOU.S +++ b/libc/sysv/consts/SIGTTOU.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGTTOU 22 22 22 22 22 22 +.syscon sig,SIGTTOU,22,22,22,22,22,22 diff --git a/libc/sysv/consts/SIGUNUSED.S b/libc/sysv/consts/SIGUNUSED.S index 45c9400cd6e..9ef68febf84 100644 --- a/libc/sysv/consts/SIGUNUSED.S +++ b/libc/sysv/consts/SIGUNUSED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGUNUSED 31 0 0 0 0 31 +.syscon sig,SIGUNUSED,31,0,0,0,0,31 diff --git a/libc/sysv/consts/SIGURG.S b/libc/sysv/consts/SIGURG.S index 7b50dabebdb..a9c7cc2e193 100644 --- a/libc/sysv/consts/SIGURG.S +++ b/libc/sysv/consts/SIGURG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGURG 23 0x10 0x10 0x10 0x10 23 +.syscon sig,SIGURG,23,0x10,0x10,0x10,0x10,23 diff --git a/libc/sysv/consts/SIGUSR1.S b/libc/sysv/consts/SIGUSR1.S index 01c4c3d606d..6d782edc54e 100644 --- a/libc/sysv/consts/SIGUSR1.S +++ b/libc/sysv/consts/SIGUSR1.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGUSR1 10 30 30 30 30 10 +.syscon sig,SIGUSR1,10,30,30,30,30,10 diff --git a/libc/sysv/consts/SIGUSR2.S b/libc/sysv/consts/SIGUSR2.S index 729d1aa6bdd..f9495df1937 100644 --- a/libc/sysv/consts/SIGUSR2.S +++ b/libc/sysv/consts/SIGUSR2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGUSR2 12 31 31 31 31 12 +.syscon sig,SIGUSR2,12,31,31,31,31,12 diff --git a/libc/sysv/consts/SIGVTALRM.S b/libc/sysv/consts/SIGVTALRM.S index 919d91198bd..e5a6a4feb7b 100644 --- a/libc/sysv/consts/SIGVTALRM.S +++ b/libc/sysv/consts/SIGVTALRM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGVTALRM 26 26 26 26 26 26 +.syscon sig,SIGVTALRM,26,26,26,26,26,26 diff --git a/libc/sysv/consts/SIGWINCH.S b/libc/sysv/consts/SIGWINCH.S index 4022efe19ac..c28675b4dec 100644 --- a/libc/sysv/consts/SIGWINCH.S +++ b/libc/sysv/consts/SIGWINCH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGWINCH 28 28 28 28 28 28 +.syscon sig,SIGWINCH,28,28,28,28,28,28 diff --git a/libc/sysv/consts/SIGXCPU.S b/libc/sysv/consts/SIGXCPU.S index 5afca319935..ad519ed0455 100644 --- a/libc/sysv/consts/SIGXCPU.S +++ b/libc/sysv/consts/SIGXCPU.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGXCPU 24 24 24 24 24 24 +.syscon sig,SIGXCPU,24,24,24,24,24,24 diff --git a/libc/sysv/consts/SIGXFSZ.S b/libc/sysv/consts/SIGXFSZ.S index c6c7081b619..3a2f51bdf40 100644 --- a/libc/sysv/consts/SIGXFSZ.S +++ b/libc/sysv/consts/SIGXFSZ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sig SIGXFSZ 25 25 25 25 25 25 +.syscon sig,SIGXFSZ,25,25,25,25,25,25 diff --git a/libc/sysv/consts/SIG_ATOMIC_MIN.S b/libc/sysv/consts/SIG_ATOMIC_MIN.S index 4831ee44839..3f448552086 100644 --- a/libc/sysv/consts/SIG_ATOMIC_MIN.S +++ b/libc/sysv/consts/SIG_ATOMIC_MIN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SIG_ATOMIC_MIN -2147483648 -2147483648 -9223372036854775808 -2147483648 -2147483648 0 +.syscon misc,SIG_ATOMIC_MIN,-2147483648,-2147483648,-9223372036854775808,-2147483648,-2147483648,0 diff --git a/libc/sysv/consts/SIG_BLOCK.S b/libc/sysv/consts/SIG_BLOCK.S index eae73e154ef..7947540ad01 100644 --- a/libc/sysv/consts/SIG_BLOCK.S +++ b/libc/sysv/consts/SIG_BLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SIG_BLOCK 0 1 1 1 1 0 +.syscon misc,SIG_BLOCK,0,1,1,1,1,0 diff --git a/libc/sysv/consts/SIG_SETMASK.S b/libc/sysv/consts/SIG_SETMASK.S index 4bb4b265dbc..ed4ebff1e68 100644 --- a/libc/sysv/consts/SIG_SETMASK.S +++ b/libc/sysv/consts/SIG_SETMASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SIG_SETMASK 2 3 3 3 3 2 +.syscon misc,SIG_SETMASK,2,3,3,3,3,2 diff --git a/libc/sysv/consts/SIG_UNBLOCK.S b/libc/sysv/consts/SIG_UNBLOCK.S index d1397a88187..fdb3cfe3451 100644 --- a/libc/sysv/consts/SIG_UNBLOCK.S +++ b/libc/sysv/consts/SIG_UNBLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SIG_UNBLOCK 1 2 2 2 2 1 +.syscon misc,SIG_UNBLOCK,1,2,2,2,2,1 diff --git a/libc/sysv/consts/SIMPLE_QUEUE_TAG.S b/libc/sysv/consts/SIMPLE_QUEUE_TAG.S index 4fed4d58099..ebab27b7bfa 100644 --- a/libc/sysv/consts/SIMPLE_QUEUE_TAG.S +++ b/libc/sysv/consts/SIMPLE_QUEUE_TAG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SIMPLE_QUEUE_TAG 0x20 0 0 0 0 0 +.syscon misc,SIMPLE_QUEUE_TAG,0x20,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCADDDLCI.S b/libc/sysv/consts/SIOCADDDLCI.S index a0e1944dbe5..c58aa8be1df 100644 --- a/libc/sysv/consts/SIOCADDDLCI.S +++ b/libc/sysv/consts/SIOCADDDLCI.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCADDDLCI 0x8980 0 0 0 0 0 +.syscon sio,SIOCADDDLCI,0x8980,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCADDMULTI.S b/libc/sysv/consts/SIOCADDMULTI.S index fa39da4c92f..b2526190e93 100644 --- a/libc/sysv/consts/SIOCADDMULTI.S +++ b/libc/sysv/consts/SIOCADDMULTI.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCADDMULTI 0x8931 0x80206931 0x80206931 0x80206931 0x80206931 0 +.syscon sio,SIOCADDMULTI,0x8931,0x80206931,0x80206931,0x80206931,0x80206931,0 diff --git a/libc/sysv/consts/SIOCADDRT.S b/libc/sysv/consts/SIOCADDRT.S index f3ea1d91836..687ad0a927d 100644 --- a/libc/sysv/consts/SIOCADDRT.S +++ b/libc/sysv/consts/SIOCADDRT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCADDRT 0x890b 0 0 0 0 0 +.syscon sio,SIOCADDRT,0x890b,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCATMARK.S b/libc/sysv/consts/SIOCATMARK.S index b21c6fdefc8..2fdc2fb2807 100644 --- a/libc/sysv/consts/SIOCATMARK.S +++ b/libc/sysv/consts/SIOCATMARK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCATMARK 0x8905 0x40047307 0x40047307 0x40047307 0x40047307 0 +.syscon sio,SIOCATMARK,0x8905,0x40047307,0x40047307,0x40047307,0x40047307,0 diff --git a/libc/sysv/consts/SIOCDARP.S b/libc/sysv/consts/SIOCDARP.S index 3afc57fa6ec..756fd439a9b 100644 --- a/libc/sysv/consts/SIOCDARP.S +++ b/libc/sysv/consts/SIOCDARP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCDARP 0x8953 0 0 0 0 0 +.syscon sio,SIOCDARP,0x8953,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCDELDLCI.S b/libc/sysv/consts/SIOCDELDLCI.S index 658c18c1ff5..d9cde414c7f 100644 --- a/libc/sysv/consts/SIOCDELDLCI.S +++ b/libc/sysv/consts/SIOCDELDLCI.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCDELDLCI 0x8981 0 0 0 0 0 +.syscon sio,SIOCDELDLCI,0x8981,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCDELMULTI.S b/libc/sysv/consts/SIOCDELMULTI.S index bb378929744..07ea697950f 100644 --- a/libc/sysv/consts/SIOCDELMULTI.S +++ b/libc/sysv/consts/SIOCDELMULTI.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCDELMULTI 0x8932 0x80206932 0x80206932 0x80206932 0x80206932 0 +.syscon sio,SIOCDELMULTI,0x8932,0x80206932,0x80206932,0x80206932,0x80206932,0 diff --git a/libc/sysv/consts/SIOCDELRT.S b/libc/sysv/consts/SIOCDELRT.S index 57998c725df..d3b02b4c3f6 100644 --- a/libc/sysv/consts/SIOCDELRT.S +++ b/libc/sysv/consts/SIOCDELRT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCDELRT 0x890c 0 0 0 0 0 +.syscon sio,SIOCDELRT,0x890c,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCDEVPRIVATE.S b/libc/sysv/consts/SIOCDEVPRIVATE.S index c8e35631002..9167feb12c2 100644 --- a/libc/sysv/consts/SIOCDEVPRIVATE.S +++ b/libc/sysv/consts/SIOCDEVPRIVATE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCDEVPRIVATE 0x89f0 0 0 0 0 0 +.syscon sio,SIOCDEVPRIVATE,0x89f0,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCDIFADDR.S b/libc/sysv/consts/SIOCDIFADDR.S index 4bc7a78ded4..5f1eaf6d9cc 100644 --- a/libc/sysv/consts/SIOCDIFADDR.S +++ b/libc/sysv/consts/SIOCDIFADDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCDIFADDR 0x8936 0x80206919 0x80206919 0x80206919 0x80206919 0 +.syscon sio,SIOCDIFADDR,0x8936,0x80206919,0x80206919,0x80206919,0x80206919,0 diff --git a/libc/sysv/consts/SIOCDRARP.S b/libc/sysv/consts/SIOCDRARP.S index 0b264ab9eb5..735185e82cd 100644 --- a/libc/sysv/consts/SIOCDRARP.S +++ b/libc/sysv/consts/SIOCDRARP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCDRARP 0x8960 0 0 0 0 0 +.syscon sio,SIOCDRARP,0x8960,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCGARP.S b/libc/sysv/consts/SIOCGARP.S index 0e6da1319a7..7039adada6e 100644 --- a/libc/sysv/consts/SIOCGARP.S +++ b/libc/sysv/consts/SIOCGARP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGARP 0x8954 0 0 0 0 0 +.syscon sio,SIOCGARP,0x8954,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCGIFADDR.S b/libc/sysv/consts/SIOCGIFADDR.S index 780ec951467..b95b6467e42 100644 --- a/libc/sysv/consts/SIOCGIFADDR.S +++ b/libc/sysv/consts/SIOCGIFADDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGIFADDR 0x8915 0xc0206921 0xc0206921 0xc0206921 0xc0206921 0 +.syscon sio,SIOCGIFADDR,0x8915,0xc0206921,0xc0206921,0xc0206921,0xc0206921,0 diff --git a/libc/sysv/consts/SIOCGIFBR.S b/libc/sysv/consts/SIOCGIFBR.S index ff28162e45a..01140fea58e 100644 --- a/libc/sysv/consts/SIOCGIFBR.S +++ b/libc/sysv/consts/SIOCGIFBR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGIFBR 0x8940 0 0 0 0 0 +.syscon sio,SIOCGIFBR,0x8940,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCGIFBRDADDR.S b/libc/sysv/consts/SIOCGIFBRDADDR.S index e0da5d88360..51d5cd19e79 100644 --- a/libc/sysv/consts/SIOCGIFBRDADDR.S +++ b/libc/sysv/consts/SIOCGIFBRDADDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGIFBRDADDR 0x8919 0xc0206923 0xc0206923 0xc0206923 0xc0206923 0 +.syscon sio,SIOCGIFBRDADDR,0x8919,0xc0206923,0xc0206923,0xc0206923,0xc0206923,0 diff --git a/libc/sysv/consts/SIOCGIFCONF.S b/libc/sysv/consts/SIOCGIFCONF.S index 3421c2a6e82..5cccf082c45 100644 --- a/libc/sysv/consts/SIOCGIFCONF.S +++ b/libc/sysv/consts/SIOCGIFCONF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGIFCONF 0x8912 0xc00c6924 0xc0106924 0xc0106924 0xc0106924 0 +.syscon sio,SIOCGIFCONF,0x8912,0xc00c6924,0xc0106924,0xc0106924,0xc0106924,0 diff --git a/libc/sysv/consts/SIOCGIFCOUNT.S b/libc/sysv/consts/SIOCGIFCOUNT.S index 347e7063e9e..df10dc54f5f 100644 --- a/libc/sysv/consts/SIOCGIFCOUNT.S +++ b/libc/sysv/consts/SIOCGIFCOUNT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGIFCOUNT 0x8938 0 0 0 0 0 +.syscon sio,SIOCGIFCOUNT,0x8938,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCGIFDSTADDR.S b/libc/sysv/consts/SIOCGIFDSTADDR.S index f8f7dfcee38..838ea6eaacc 100644 --- a/libc/sysv/consts/SIOCGIFDSTADDR.S +++ b/libc/sysv/consts/SIOCGIFDSTADDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGIFDSTADDR 0x8917 0xc0206922 0xc0206922 0xc0206922 0xc0206922 0 +.syscon sio,SIOCGIFDSTADDR,0x8917,0xc0206922,0xc0206922,0xc0206922,0xc0206922,0 diff --git a/libc/sysv/consts/SIOCGIFENCAP.S b/libc/sysv/consts/SIOCGIFENCAP.S index 16860552c15..47d95ab01df 100644 --- a/libc/sysv/consts/SIOCGIFENCAP.S +++ b/libc/sysv/consts/SIOCGIFENCAP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGIFENCAP 0x8925 0 0 0 0 0 +.syscon sio,SIOCGIFENCAP,0x8925,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCGIFFLAGS.S b/libc/sysv/consts/SIOCGIFFLAGS.S index fae18c813e8..325835ab660 100644 --- a/libc/sysv/consts/SIOCGIFFLAGS.S +++ b/libc/sysv/consts/SIOCGIFFLAGS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGIFFLAGS 0x8913 0xc0206911 0xc0206911 0xc0206911 0xc0206911 0 +.syscon sio,SIOCGIFFLAGS,0x8913,0xc0206911,0xc0206911,0xc0206911,0xc0206911,0 diff --git a/libc/sysv/consts/SIOCGIFHWADDR.S b/libc/sysv/consts/SIOCGIFHWADDR.S index 35bf44a9985..28f680a1d23 100644 --- a/libc/sysv/consts/SIOCGIFHWADDR.S +++ b/libc/sysv/consts/SIOCGIFHWADDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGIFHWADDR 0x8927 0 0 0 0 0 +.syscon sio,SIOCGIFHWADDR,0x8927,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCGIFINDEX.S b/libc/sysv/consts/SIOCGIFINDEX.S index 29f5beefc6d..a3a6ca939a6 100644 --- a/libc/sysv/consts/SIOCGIFINDEX.S +++ b/libc/sysv/consts/SIOCGIFINDEX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGIFINDEX 0x8933 0 0xc0206920 0 0 0 +.syscon sio,SIOCGIFINDEX,0x8933,0,0xc0206920,0,0,0 diff --git a/libc/sysv/consts/SIOCGIFMAP.S b/libc/sysv/consts/SIOCGIFMAP.S index 8c7d36c4fd6..a79cba2ecd1 100644 --- a/libc/sysv/consts/SIOCGIFMAP.S +++ b/libc/sysv/consts/SIOCGIFMAP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGIFMAP 0x8970 0 0 0 0 0 +.syscon sio,SIOCGIFMAP,0x8970,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCGIFMEM.S b/libc/sysv/consts/SIOCGIFMEM.S index 72317b2a1e5..004485925e4 100644 --- a/libc/sysv/consts/SIOCGIFMEM.S +++ b/libc/sysv/consts/SIOCGIFMEM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGIFMEM 0x891f 0 0 0 0 0 +.syscon sio,SIOCGIFMEM,0x891f,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCGIFMETRIC.S b/libc/sysv/consts/SIOCGIFMETRIC.S index 056fdf66484..de819e7d06a 100644 --- a/libc/sysv/consts/SIOCGIFMETRIC.S +++ b/libc/sysv/consts/SIOCGIFMETRIC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGIFMETRIC 0x891d 0xc0206917 0xc0206917 0xc0206917 0xc0206917 0 +.syscon sio,SIOCGIFMETRIC,0x891d,0xc0206917,0xc0206917,0xc0206917,0xc0206917,0 diff --git a/libc/sysv/consts/SIOCGIFMTU.S b/libc/sysv/consts/SIOCGIFMTU.S index 81a7b58fa8d..042ee004148 100644 --- a/libc/sysv/consts/SIOCGIFMTU.S +++ b/libc/sysv/consts/SIOCGIFMTU.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGIFMTU 0x8921 0xc0206933 0xc0206933 0xc020697e 0xc020697e 0 +.syscon sio,SIOCGIFMTU,0x8921,0xc0206933,0xc0206933,0xc020697e,0xc020697e,0 diff --git a/libc/sysv/consts/SIOCGIFNAME.S b/libc/sysv/consts/SIOCGIFNAME.S index a7665480ad6..5200de7e100 100644 --- a/libc/sysv/consts/SIOCGIFNAME.S +++ b/libc/sysv/consts/SIOCGIFNAME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGIFNAME 0x8910 0 0 0 0 0 +.syscon sio,SIOCGIFNAME,0x8910,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCGIFNETMASK.S b/libc/sysv/consts/SIOCGIFNETMASK.S index 728f6ddb06c..87f3c355d66 100644 --- a/libc/sysv/consts/SIOCGIFNETMASK.S +++ b/libc/sysv/consts/SIOCGIFNETMASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGIFNETMASK 0x891b 0xc0206925 0xc0206925 0xc0206925 0xc0206925 0 +.syscon sio,SIOCGIFNETMASK,0x891b,0xc0206925,0xc0206925,0xc0206925,0xc0206925,0 diff --git a/libc/sysv/consts/SIOCGIFPFLAGS.S b/libc/sysv/consts/SIOCGIFPFLAGS.S index 4140ce55517..d88ffff9b8b 100644 --- a/libc/sysv/consts/SIOCGIFPFLAGS.S +++ b/libc/sysv/consts/SIOCGIFPFLAGS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGIFPFLAGS 0x8935 0 0 0 0 0 +.syscon sio,SIOCGIFPFLAGS,0x8935,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCGIFSLAVE.S b/libc/sysv/consts/SIOCGIFSLAVE.S index 2dbb500538e..6586b917678 100644 --- a/libc/sysv/consts/SIOCGIFSLAVE.S +++ b/libc/sysv/consts/SIOCGIFSLAVE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGIFSLAVE 0x8929 0 0 0 0 0 +.syscon sio,SIOCGIFSLAVE,0x8929,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCGIFTXQLEN.S b/libc/sysv/consts/SIOCGIFTXQLEN.S index 300f0162769..b7b9bcb926a 100644 --- a/libc/sysv/consts/SIOCGIFTXQLEN.S +++ b/libc/sysv/consts/SIOCGIFTXQLEN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGIFTXQLEN 0x8942 0 0 0 0 0 +.syscon sio,SIOCGIFTXQLEN,0x8942,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCGPGRP.S b/libc/sysv/consts/SIOCGPGRP.S index 1d8131d556a..85c3adcfee7 100644 --- a/libc/sysv/consts/SIOCGPGRP.S +++ b/libc/sysv/consts/SIOCGPGRP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGPGRP 0x8904 0x40047309 0x40047309 0x40047309 0x40047309 0 +.syscon sio,SIOCGPGRP,0x8904,0x40047309,0x40047309,0x40047309,0x40047309,0 diff --git a/libc/sysv/consts/SIOCGRARP.S b/libc/sysv/consts/SIOCGRARP.S index b074ef0f835..80d6b106ed3 100644 --- a/libc/sysv/consts/SIOCGRARP.S +++ b/libc/sysv/consts/SIOCGRARP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGRARP 0x8961 0 0 0 0 0 +.syscon sio,SIOCGRARP,0x8961,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCGSTAMP.S b/libc/sysv/consts/SIOCGSTAMP.S index 746538093be..2dc4bf6f0ed 100644 --- a/libc/sysv/consts/SIOCGSTAMP.S +++ b/libc/sysv/consts/SIOCGSTAMP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGSTAMP 0x8906 0 0 0 0 0 +.syscon sio,SIOCGSTAMP,0x8906,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCGSTAMPNS.S b/libc/sysv/consts/SIOCGSTAMPNS.S index 99cf2677949..e7f51a8065d 100644 --- a/libc/sysv/consts/SIOCGSTAMPNS.S +++ b/libc/sysv/consts/SIOCGSTAMPNS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCGSTAMPNS 0x8907 0 0 0 0 0 +.syscon sio,SIOCGSTAMPNS,0x8907,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCPROTOPRIVATE.S b/libc/sysv/consts/SIOCPROTOPRIVATE.S index 50fc5bd8c09..504c0f98f9e 100644 --- a/libc/sysv/consts/SIOCPROTOPRIVATE.S +++ b/libc/sysv/consts/SIOCPROTOPRIVATE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCPROTOPRIVATE 0x89e0 0 0 0 0 0 +.syscon sio,SIOCPROTOPRIVATE,0x89e0,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCRTMSG.S b/libc/sysv/consts/SIOCRTMSG.S index c515489c9cf..d59071de2a8 100644 --- a/libc/sysv/consts/SIOCRTMSG.S +++ b/libc/sysv/consts/SIOCRTMSG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCRTMSG 0x890d 0 0 0 0 0 +.syscon sio,SIOCRTMSG,0x890d,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCSARP.S b/libc/sysv/consts/SIOCSARP.S index b74830b8fea..758b35e497b 100644 --- a/libc/sysv/consts/SIOCSARP.S +++ b/libc/sysv/consts/SIOCSARP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSARP 0x8955 0 0 0 0 0 +.syscon sio,SIOCSARP,0x8955,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCSIFADDR.S b/libc/sysv/consts/SIOCSIFADDR.S index d5335d5b1dd..e0c7ee77458 100644 --- a/libc/sysv/consts/SIOCSIFADDR.S +++ b/libc/sysv/consts/SIOCSIFADDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSIFADDR 0x8916 0x8020690c 0x8020690c 0x8020690c 0x8020690c 0 +.syscon sio,SIOCSIFADDR,0x8916,0x8020690c,0x8020690c,0x8020690c,0x8020690c,0 diff --git a/libc/sysv/consts/SIOCSIFBR.S b/libc/sysv/consts/SIOCSIFBR.S index ad02daa18ba..8f78ade010e 100644 --- a/libc/sysv/consts/SIOCSIFBR.S +++ b/libc/sysv/consts/SIOCSIFBR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSIFBR 0x8941 0 0 0 0 0 +.syscon sio,SIOCSIFBR,0x8941,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCSIFBRDADDR.S b/libc/sysv/consts/SIOCSIFBRDADDR.S index fcfe5ea5698..1c41d59f432 100644 --- a/libc/sysv/consts/SIOCSIFBRDADDR.S +++ b/libc/sysv/consts/SIOCSIFBRDADDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSIFBRDADDR 0x891a 0x80206913 0x80206913 0x80206913 0x80206913 0 +.syscon sio,SIOCSIFBRDADDR,0x891a,0x80206913,0x80206913,0x80206913,0x80206913,0 diff --git a/libc/sysv/consts/SIOCSIFDSTADDR.S b/libc/sysv/consts/SIOCSIFDSTADDR.S index 7bdefe38178..2d25ea3c24d 100644 --- a/libc/sysv/consts/SIOCSIFDSTADDR.S +++ b/libc/sysv/consts/SIOCSIFDSTADDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSIFDSTADDR 0x8918 0x8020690e 0x8020690e 0x8020690e 0x8020690e 0 +.syscon sio,SIOCSIFDSTADDR,0x8918,0x8020690e,0x8020690e,0x8020690e,0x8020690e,0 diff --git a/libc/sysv/consts/SIOCSIFENCAP.S b/libc/sysv/consts/SIOCSIFENCAP.S index 1e336a3750a..9a2308e2c6f 100644 --- a/libc/sysv/consts/SIOCSIFENCAP.S +++ b/libc/sysv/consts/SIOCSIFENCAP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSIFENCAP 0x8926 0 0 0 0 0 +.syscon sio,SIOCSIFENCAP,0x8926,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCSIFFLAGS.S b/libc/sysv/consts/SIOCSIFFLAGS.S index c74b4b26c38..3527a8197b8 100644 --- a/libc/sysv/consts/SIOCSIFFLAGS.S +++ b/libc/sysv/consts/SIOCSIFFLAGS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSIFFLAGS 0x8914 0x80206910 0x80206910 0x80206910 0x80206910 0 +.syscon sio,SIOCSIFFLAGS,0x8914,0x80206910,0x80206910,0x80206910,0x80206910,0 diff --git a/libc/sysv/consts/SIOCSIFHWADDR.S b/libc/sysv/consts/SIOCSIFHWADDR.S index d050a877324..2916031e257 100644 --- a/libc/sysv/consts/SIOCSIFHWADDR.S +++ b/libc/sysv/consts/SIOCSIFHWADDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSIFHWADDR 0x8924 0 0 0 0 0 +.syscon sio,SIOCSIFHWADDR,0x8924,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCSIFHWBROADCAST.S b/libc/sysv/consts/SIOCSIFHWBROADCAST.S index 83b928799af..6c8b44a27fa 100644 --- a/libc/sysv/consts/SIOCSIFHWBROADCAST.S +++ b/libc/sysv/consts/SIOCSIFHWBROADCAST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSIFHWBROADCAST 0x8937 0 0 0 0 0 +.syscon sio,SIOCSIFHWBROADCAST,0x8937,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCSIFLINK.S b/libc/sysv/consts/SIOCSIFLINK.S index b2c07dc7e51..272becafb82 100644 --- a/libc/sysv/consts/SIOCSIFLINK.S +++ b/libc/sysv/consts/SIOCSIFLINK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSIFLINK 0x8911 0 0 0 0 0 +.syscon sio,SIOCSIFLINK,0x8911,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCSIFMAP.S b/libc/sysv/consts/SIOCSIFMAP.S index d4d1128a56f..83b572d2473 100644 --- a/libc/sysv/consts/SIOCSIFMAP.S +++ b/libc/sysv/consts/SIOCSIFMAP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSIFMAP 0x8971 0 0 0 0 0 +.syscon sio,SIOCSIFMAP,0x8971,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCSIFMEM.S b/libc/sysv/consts/SIOCSIFMEM.S index c0d17e2e3dd..573b3140e5e 100644 --- a/libc/sysv/consts/SIOCSIFMEM.S +++ b/libc/sysv/consts/SIOCSIFMEM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSIFMEM 0x8920 0 0 0 0 0 +.syscon sio,SIOCSIFMEM,0x8920,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCSIFMETRIC.S b/libc/sysv/consts/SIOCSIFMETRIC.S index 8095bb1ba58..e618ca38d50 100644 --- a/libc/sysv/consts/SIOCSIFMETRIC.S +++ b/libc/sysv/consts/SIOCSIFMETRIC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSIFMETRIC 0x891e 0x80206918 0x80206918 0x80206918 0x80206918 0 +.syscon sio,SIOCSIFMETRIC,0x891e,0x80206918,0x80206918,0x80206918,0x80206918,0 diff --git a/libc/sysv/consts/SIOCSIFMTU.S b/libc/sysv/consts/SIOCSIFMTU.S index 3e951be998a..587a09b06b9 100644 --- a/libc/sysv/consts/SIOCSIFMTU.S +++ b/libc/sysv/consts/SIOCSIFMTU.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSIFMTU 0x8922 0x80206934 0x80206934 0x8020697f 0x8020697f 0 +.syscon sio,SIOCSIFMTU,0x8922,0x80206934,0x80206934,0x8020697f,0x8020697f,0 diff --git a/libc/sysv/consts/SIOCSIFNAME.S b/libc/sysv/consts/SIOCSIFNAME.S index 11177ff731d..3c71dc0de6c 100644 --- a/libc/sysv/consts/SIOCSIFNAME.S +++ b/libc/sysv/consts/SIOCSIFNAME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSIFNAME 0x8923 0 0x80206928 0 0 0 +.syscon sio,SIOCSIFNAME,0x8923,0,0x80206928,0,0,0 diff --git a/libc/sysv/consts/SIOCSIFNETMASK.S b/libc/sysv/consts/SIOCSIFNETMASK.S index 7776ff8a1eb..a42cf4f866a 100644 --- a/libc/sysv/consts/SIOCSIFNETMASK.S +++ b/libc/sysv/consts/SIOCSIFNETMASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSIFNETMASK 0x891c 0x80206916 0x80206916 0x80206916 0x80206916 0 +.syscon sio,SIOCSIFNETMASK,0x891c,0x80206916,0x80206916,0x80206916,0x80206916,0 diff --git a/libc/sysv/consts/SIOCSIFPFLAGS.S b/libc/sysv/consts/SIOCSIFPFLAGS.S index 97bf5d628f9..5ca9ec28ed8 100644 --- a/libc/sysv/consts/SIOCSIFPFLAGS.S +++ b/libc/sysv/consts/SIOCSIFPFLAGS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSIFPFLAGS 0x8934 0 0 0 0 0 +.syscon sio,SIOCSIFPFLAGS,0x8934,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCSIFSLAVE.S b/libc/sysv/consts/SIOCSIFSLAVE.S index 990b8c48503..64f1f925e8d 100644 --- a/libc/sysv/consts/SIOCSIFSLAVE.S +++ b/libc/sysv/consts/SIOCSIFSLAVE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSIFSLAVE 0x8930 0 0 0 0 0 +.syscon sio,SIOCSIFSLAVE,0x8930,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCSIFTXQLEN.S b/libc/sysv/consts/SIOCSIFTXQLEN.S index 864e8dae493..714a4b54157 100644 --- a/libc/sysv/consts/SIOCSIFTXQLEN.S +++ b/libc/sysv/consts/SIOCSIFTXQLEN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSIFTXQLEN 0x8943 0 0 0 0 0 +.syscon sio,SIOCSIFTXQLEN,0x8943,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOCSPGRP.S b/libc/sysv/consts/SIOCSPGRP.S index 7f009581db9..b596a01195e 100644 --- a/libc/sysv/consts/SIOCSPGRP.S +++ b/libc/sysv/consts/SIOCSPGRP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSPGRP 0x8902 0x80047308 0x80047308 0x80047308 0x80047308 0 +.syscon sio,SIOCSPGRP,0x8902,0x80047308,0x80047308,0x80047308,0x80047308,0 diff --git a/libc/sysv/consts/SIOCSRARP.S b/libc/sysv/consts/SIOCSRARP.S index 2db98f89972..aa8f4af3e65 100644 --- a/libc/sysv/consts/SIOCSRARP.S +++ b/libc/sysv/consts/SIOCSRARP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOCSRARP 0x8962 0 0 0 0 0 +.syscon sio,SIOCSRARP,0x8962,0,0,0,0,0 diff --git a/libc/sysv/consts/SIOGIFINDEX.S b/libc/sysv/consts/SIOGIFINDEX.S index c317de406f4..993e27a70c6 100644 --- a/libc/sysv/consts/SIOGIFINDEX.S +++ b/libc/sysv/consts/SIOGIFINDEX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sio SIOGIFINDEX 0x8933 0 0 0 0 0 +.syscon sio,SIOGIFINDEX,0x8933,0,0,0,0,0 diff --git a/libc/sysv/consts/SI_ASYNCIO.S b/libc/sysv/consts/SI_ASYNCIO.S index 5f2624b7eaa..d2782fb5989 100644 --- a/libc/sysv/consts/SI_ASYNCIO.S +++ b/libc/sysv/consts/SI_ASYNCIO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SI_ASYNCIO -4 0x010004 0x010004 0 0 0 +.syscon misc,SI_ASYNCIO,-4,0x010004,0x010004,0,0,0 diff --git a/libc/sysv/consts/SI_ASYNCNL.S b/libc/sysv/consts/SI_ASYNCNL.S index ebbb294d5be..b6c9522058f 100644 --- a/libc/sysv/consts/SI_ASYNCNL.S +++ b/libc/sysv/consts/SI_ASYNCNL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SI_ASYNCNL -60 0 0 0 0 0 +.syscon misc,SI_ASYNCNL,-60,0,0,0,0,0 diff --git a/libc/sysv/consts/SI_KERNEL.S b/libc/sysv/consts/SI_KERNEL.S index 1892a44ecb9..db6a4ca4ca5 100644 --- a/libc/sysv/consts/SI_KERNEL.S +++ b/libc/sysv/consts/SI_KERNEL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SI_KERNEL 0x80 0 0x010006 0 0 0 +.syscon misc,SI_KERNEL,0x80,0,0x010006,0,0,0 diff --git a/libc/sysv/consts/SI_LOAD_SHIFT.S b/libc/sysv/consts/SI_LOAD_SHIFT.S index 81604d50927..1efc6e16119 100644 --- a/libc/sysv/consts/SI_LOAD_SHIFT.S +++ b/libc/sysv/consts/SI_LOAD_SHIFT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SI_LOAD_SHIFT 0x10 0 0 0 0 0 +.syscon misc,SI_LOAD_SHIFT,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/SI_MESGQ.S b/libc/sysv/consts/SI_MESGQ.S index 38eb2c399ee..b6e439c31b2 100644 --- a/libc/sysv/consts/SI_MESGQ.S +++ b/libc/sysv/consts/SI_MESGQ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SI_MESGQ -3 0x010005 0x010005 0 0 0 +.syscon misc,SI_MESGQ,-3,0x010005,0x010005,0,0,0 diff --git a/libc/sysv/consts/SI_QUEUE.S b/libc/sysv/consts/SI_QUEUE.S index c0b24cc7ec2..ec9ce4e0676 100644 --- a/libc/sysv/consts/SI_QUEUE.S +++ b/libc/sysv/consts/SI_QUEUE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SI_QUEUE -1 0x010002 0x010002 -2 -2 0 +.syscon misc,SI_QUEUE,-1,0x010002,0x010002,-2,-2,0 diff --git a/libc/sysv/consts/SI_SIGIO.S b/libc/sysv/consts/SI_SIGIO.S index 09dda70d374..6f9717af5a4 100644 --- a/libc/sysv/consts/SI_SIGIO.S +++ b/libc/sysv/consts/SI_SIGIO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SI_SIGIO -5 0 0 0 0 0 +.syscon misc,SI_SIGIO,-5,0,0,0,0,0 diff --git a/libc/sysv/consts/SI_TIMER.S b/libc/sysv/consts/SI_TIMER.S index 2a5c8008b51..64c46cd1a85 100644 --- a/libc/sysv/consts/SI_TIMER.S +++ b/libc/sysv/consts/SI_TIMER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SI_TIMER -2 0x010003 0x010003 -3 -3 0 +.syscon misc,SI_TIMER,-2,0x010003,0x010003,-3,-3,0 diff --git a/libc/sysv/consts/SI_TKILL.S b/libc/sysv/consts/SI_TKILL.S index 2b106c29eb7..6f59973a4c4 100644 --- a/libc/sysv/consts/SI_TKILL.S +++ b/libc/sysv/consts/SI_TKILL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SI_TKILL -6 0 0 0 0 0 +.syscon misc,SI_TKILL,-6,0,0,0,0,0 diff --git a/libc/sysv/consts/SI_USER.S b/libc/sysv/consts/SI_USER.S index 6708fabbe25..d97a740b40c 100644 --- a/libc/sysv/consts/SI_USER.S +++ b/libc/sysv/consts/SI_USER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SI_USER 0 0x010001 0x010001 0 0 0 +.syscon misc,SI_USER,0,0x010001,0x010001,0,0,0 diff --git a/libc/sysv/consts/SLIPDISC.S b/libc/sysv/consts/SLIPDISC.S index 3c65288339e..d5114c3adfc 100644 --- a/libc/sysv/consts/SLIPDISC.S +++ b/libc/sysv/consts/SLIPDISC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios SLIPDISC 0 0x4 0x4 0x4 0x4 -1 +.syscon termios,SLIPDISC,0,0x4,0x4,0x4,0x4,-1 diff --git a/libc/sysv/consts/SOCK_CLOEXEC.S b/libc/sysv/consts/SOCK_CLOEXEC.S index 15cf390bfe0..e27c5aa9a90 100644 --- a/libc/sysv/consts/SOCK_CLOEXEC.S +++ b/libc/sysv/consts/SOCK_CLOEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sock SOCK_CLOEXEC 0x080000 0x080000 0x10000000 0x8000 0x10000000 0x00080000 +.syscon sock,SOCK_CLOEXEC,0x080000,0x080000,0x10000000,0x8000,0x10000000,0x00080000 diff --git a/libc/sysv/consts/SOCK_DCCP.S b/libc/sysv/consts/SOCK_DCCP.S index 88e325742e0..81a0a03b875 100644 --- a/libc/sysv/consts/SOCK_DCCP.S +++ b/libc/sysv/consts/SOCK_DCCP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sock SOCK_DCCP 6 0 0 0 0 0 +.syscon sock,SOCK_DCCP,6,0,0,0,0,0 diff --git a/libc/sysv/consts/SOCK_DGRAM.S b/libc/sysv/consts/SOCK_DGRAM.S index 3cbff30ae5c..b34fc70773f 100644 --- a/libc/sysv/consts/SOCK_DGRAM.S +++ b/libc/sysv/consts/SOCK_DGRAM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sock SOCK_DGRAM 2 2 2 2 2 2 +.syscon sock,SOCK_DGRAM,2,2,2,2,2,2 diff --git a/libc/sysv/consts/SOCK_NONBLOCK.S b/libc/sysv/consts/SOCK_NONBLOCK.S index 7d90e12ee0e..c25bef5c867 100644 --- a/libc/sysv/consts/SOCK_NONBLOCK.S +++ b/libc/sysv/consts/SOCK_NONBLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sock SOCK_NONBLOCK 0x0800 0x0800 0x20000000 0x4000 0x20000000 0x00000800 +.syscon sock,SOCK_NONBLOCK,0x0800,0x0800,0x20000000,0x4000,0x20000000,0x00000800 diff --git a/libc/sysv/consts/SOCK_PACKET.S b/libc/sysv/consts/SOCK_PACKET.S index 7f67cc796df..f33310b6ce2 100644 --- a/libc/sysv/consts/SOCK_PACKET.S +++ b/libc/sysv/consts/SOCK_PACKET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sock SOCK_PACKET 10 0 0 0 0 0 +.syscon sock,SOCK_PACKET,10,0,0,0,0,0 diff --git a/libc/sysv/consts/SOCK_RAW.S b/libc/sysv/consts/SOCK_RAW.S index 58a9b2ac973..e93f44b58ec 100644 --- a/libc/sysv/consts/SOCK_RAW.S +++ b/libc/sysv/consts/SOCK_RAW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sock SOCK_RAW 3 3 3 3 3 3 +.syscon sock,SOCK_RAW,3,3,3,3,3,3 diff --git a/libc/sysv/consts/SOCK_RDM.S b/libc/sysv/consts/SOCK_RDM.S index d7bb17f95e9..83753a89b4b 100644 --- a/libc/sysv/consts/SOCK_RDM.S +++ b/libc/sysv/consts/SOCK_RDM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sock SOCK_RDM 4 4 4 4 4 4 +.syscon sock,SOCK_RDM,4,4,4,4,4,4 diff --git a/libc/sysv/consts/SOCK_SEQPACKET.S b/libc/sysv/consts/SOCK_SEQPACKET.S index 7097e11c3e1..046c9a6950f 100644 --- a/libc/sysv/consts/SOCK_SEQPACKET.S +++ b/libc/sysv/consts/SOCK_SEQPACKET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sock SOCK_SEQPACKET 5 5 5 5 5 5 +.syscon sock,SOCK_SEQPACKET,5,5,5,5,5,5 diff --git a/libc/sysv/consts/SOCK_STREAM.S b/libc/sysv/consts/SOCK_STREAM.S index db327b5e8e9..ef73c072423 100644 --- a/libc/sysv/consts/SOCK_STREAM.S +++ b/libc/sysv/consts/SOCK_STREAM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sock SOCK_STREAM 1 1 1 1 1 1 +.syscon sock,SOCK_STREAM,1,1,1,1,1,1 diff --git a/libc/sysv/consts/SOL_AAL.S b/libc/sysv/consts/SOL_AAL.S index 0f63dab1ca9..6b028cdb678 100644 --- a/libc/sysv/consts/SOL_AAL.S +++ b/libc/sysv/consts/SOL_AAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_AAL 265 0 0 0 0 0 +.syscon sol,SOL_AAL,265,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_ALG.S b/libc/sysv/consts/SOL_ALG.S index 5270f45d0c5..a02ae79dc3d 100644 --- a/libc/sysv/consts/SOL_ALG.S +++ b/libc/sysv/consts/SOL_ALG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_ALG 279 0 0 0 0 0 +.syscon sol,SOL_ALG,279,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_ATM.S b/libc/sysv/consts/SOL_ATM.S index 2de9e660355..7bd8b6e0407 100644 --- a/libc/sysv/consts/SOL_ATM.S +++ b/libc/sysv/consts/SOL_ATM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_ATM 264 0 0 0 0 0 +.syscon sol,SOL_ATM,264,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_BLUETOOTH.S b/libc/sysv/consts/SOL_BLUETOOTH.S index a23dd9409a9..e8fecbe028e 100644 --- a/libc/sysv/consts/SOL_BLUETOOTH.S +++ b/libc/sysv/consts/SOL_BLUETOOTH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_BLUETOOTH 274 0 0 0 0 0 +.syscon sol,SOL_BLUETOOTH,274,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_CAIF.S b/libc/sysv/consts/SOL_CAIF.S index aaf76e696ee..44578cf9eea 100644 --- a/libc/sysv/consts/SOL_CAIF.S +++ b/libc/sysv/consts/SOL_CAIF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_CAIF 278 0 0 0 0 0 +.syscon sol,SOL_CAIF,278,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_DCCP.S b/libc/sysv/consts/SOL_DCCP.S index d1af4d61d1c..182e03f7497 100644 --- a/libc/sysv/consts/SOL_DCCP.S +++ b/libc/sysv/consts/SOL_DCCP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_DCCP 269 0 0 0 0 0 +.syscon sol,SOL_DCCP,269,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_DECNET.S b/libc/sysv/consts/SOL_DECNET.S index 2f2c3f338c9..fc7d1a65017 100644 --- a/libc/sysv/consts/SOL_DECNET.S +++ b/libc/sysv/consts/SOL_DECNET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_DECNET 261 0 0 0 0 0 +.syscon sol,SOL_DECNET,261,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_ICMPV6.S b/libc/sysv/consts/SOL_ICMPV6.S index 6c65f7b50bd..3adf50b5ada 100644 --- a/libc/sysv/consts/SOL_ICMPV6.S +++ b/libc/sysv/consts/SOL_ICMPV6.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_ICMPV6 58 58 58 58 58 0 +.syscon sol,SOL_ICMPV6,58,58,58,58,58,0 diff --git a/libc/sysv/consts/SOL_IP.S b/libc/sysv/consts/SOL_IP.S index 953100a8ffb..e5842663a67 100644 --- a/libc/sysv/consts/SOL_IP.S +++ b/libc/sysv/consts/SOL_IP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_IP 0 0 0 0 0 0 +.syscon sol,SOL_IP,0,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_IPV6.S b/libc/sysv/consts/SOL_IPV6.S index 1988aecc834..9016bacc561 100644 --- a/libc/sysv/consts/SOL_IPV6.S +++ b/libc/sysv/consts/SOL_IPV6.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_IPV6 41 41 41 41 41 41 +.syscon sol,SOL_IPV6,41,41,41,41,41,41 diff --git a/libc/sysv/consts/SOL_IRDA.S b/libc/sysv/consts/SOL_IRDA.S index b0c3c699f02..0fbf285d5d2 100644 --- a/libc/sysv/consts/SOL_IRDA.S +++ b/libc/sysv/consts/SOL_IRDA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_IRDA 266 0 0 0 0 0 +.syscon sol,SOL_IRDA,266,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_IUCV.S b/libc/sysv/consts/SOL_IUCV.S index 5d08bba306b..944735b26ef 100644 --- a/libc/sysv/consts/SOL_IUCV.S +++ b/libc/sysv/consts/SOL_IUCV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_IUCV 277 0 0 0 0 0 +.syscon sol,SOL_IUCV,277,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_KCM.S b/libc/sysv/consts/SOL_KCM.S index 7232fa53c16..8cc3a6e297b 100644 --- a/libc/sysv/consts/SOL_KCM.S +++ b/libc/sysv/consts/SOL_KCM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_KCM 281 0 0 0 0 0 +.syscon sol,SOL_KCM,281,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_LLC.S b/libc/sysv/consts/SOL_LLC.S index 7909ece33b6..112614f8569 100644 --- a/libc/sysv/consts/SOL_LLC.S +++ b/libc/sysv/consts/SOL_LLC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_LLC 268 0 0 0 0 0 +.syscon sol,SOL_LLC,268,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_NETBEUI.S b/libc/sysv/consts/SOL_NETBEUI.S index f47364fbedb..3f53153f83c 100644 --- a/libc/sysv/consts/SOL_NETBEUI.S +++ b/libc/sysv/consts/SOL_NETBEUI.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_NETBEUI 267 0 0 0 0 0 +.syscon sol,SOL_NETBEUI,267,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_NETLINK.S b/libc/sysv/consts/SOL_NETLINK.S index 04969d818ba..7b1f4f18d98 100644 --- a/libc/sysv/consts/SOL_NETLINK.S +++ b/libc/sysv/consts/SOL_NETLINK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_NETLINK 270 0 0 0 0 0 +.syscon sol,SOL_NETLINK,270,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_NFC.S b/libc/sysv/consts/SOL_NFC.S index f94580d53ec..9dfe7630ed8 100644 --- a/libc/sysv/consts/SOL_NFC.S +++ b/libc/sysv/consts/SOL_NFC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_NFC 280 0 0 0 0 0 +.syscon sol,SOL_NFC,280,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_PACKET.S b/libc/sysv/consts/SOL_PACKET.S index daecc15b050..ef2a177c92e 100644 --- a/libc/sysv/consts/SOL_PACKET.S +++ b/libc/sysv/consts/SOL_PACKET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_PACKET 263 0 0 0 0 0 +.syscon sol,SOL_PACKET,263,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_PNPIPE.S b/libc/sysv/consts/SOL_PNPIPE.S index 633a320f4ca..853227f4165 100644 --- a/libc/sysv/consts/SOL_PNPIPE.S +++ b/libc/sysv/consts/SOL_PNPIPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_PNPIPE 275 0 0 0 0 0 +.syscon sol,SOL_PNPIPE,275,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_PPPOL2TP.S b/libc/sysv/consts/SOL_PPPOL2TP.S index 632b39e3d19..f25abbb2cc8 100644 --- a/libc/sysv/consts/SOL_PPPOL2TP.S +++ b/libc/sysv/consts/SOL_PPPOL2TP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_PPPOL2TP 273 0 0 0 0 0 +.syscon sol,SOL_PPPOL2TP,273,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_RAW.S b/libc/sysv/consts/SOL_RAW.S index 1356ff8be98..3699ee290df 100644 --- a/libc/sysv/consts/SOL_RAW.S +++ b/libc/sysv/consts/SOL_RAW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_RAW 255 0 0 0 0 0 +.syscon sol,SOL_RAW,255,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_RDS.S b/libc/sysv/consts/SOL_RDS.S index 89cf6bba201..e8c239ef7d2 100644 --- a/libc/sysv/consts/SOL_RDS.S +++ b/libc/sysv/consts/SOL_RDS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_RDS 276 0 0 0 0 0 +.syscon sol,SOL_RDS,276,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_RXRPC.S b/libc/sysv/consts/SOL_RXRPC.S index ec33928692a..7845a0e4de3 100644 --- a/libc/sysv/consts/SOL_RXRPC.S +++ b/libc/sysv/consts/SOL_RXRPC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_RXRPC 272 0 0 0 0 0 +.syscon sol,SOL_RXRPC,272,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_SOCKET.S b/libc/sysv/consts/SOL_SOCKET.S index b4676c25cdc..7ab8d5b49f9 100644 --- a/libc/sysv/consts/SOL_SOCKET.S +++ b/libc/sysv/consts/SOL_SOCKET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_SOCKET 1 0xffff 0xffff 0xffff 0xffff 0xffff +.syscon sol,SOL_SOCKET,1,0xffff,0xffff,0xffff,0xffff,0xffff diff --git a/libc/sysv/consts/SOL_TCP.S b/libc/sysv/consts/SOL_TCP.S index ed6fbe2c9be..3d507825bea 100644 --- a/libc/sysv/consts/SOL_TCP.S +++ b/libc/sysv/consts/SOL_TCP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_TCP 6 6 6 6 6 6 +.syscon sol,SOL_TCP,6,6,6,6,6,6 diff --git a/libc/sysv/consts/SOL_TIPC.S b/libc/sysv/consts/SOL_TIPC.S index 850c851e250..1dc0b292b7d 100644 --- a/libc/sysv/consts/SOL_TIPC.S +++ b/libc/sysv/consts/SOL_TIPC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_TIPC 271 0 0 0 0 0 +.syscon sol,SOL_TIPC,271,0,0,0,0,0 diff --git a/libc/sysv/consts/SOL_UDP.S b/libc/sysv/consts/SOL_UDP.S index 2d08e7f9d40..86c1de371be 100644 --- a/libc/sysv/consts/SOL_UDP.S +++ b/libc/sysv/consts/SOL_UDP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_UDP 17 17 17 17 17 17 +.syscon sol,SOL_UDP,17,17,17,17,17,17 diff --git a/libc/sysv/consts/SOL_X25.S b/libc/sysv/consts/SOL_X25.S index af42ac24c33..9fd891ba2c0 100644 --- a/libc/sysv/consts/SOL_X25.S +++ b/libc/sysv/consts/SOL_X25.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon sol SOL_X25 262 0 0 0 0 0 +.syscon sol,SOL_X25,262,0,0,0,0,0 diff --git a/libc/sysv/consts/SOMAXCONN.S b/libc/sysv/consts/SOMAXCONN.S index d5942295f84..c3a4eeebcb4 100644 --- a/libc/sysv/consts/SOMAXCONN.S +++ b/libc/sysv/consts/SOMAXCONN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SOMAXCONN 0x80 0x80 0x80 0x80 0x80 0x7fffffff +.syscon misc,SOMAXCONN,0x80,0x80,0x80,0x80,0x80,0x7fffffff diff --git a/libc/sysv/consts/SO_ACCEPTCONN.S b/libc/sysv/consts/SO_ACCEPTCONN.S index b15ff311bd0..16b7fd1b14f 100644 --- a/libc/sysv/consts/SO_ACCEPTCONN.S +++ b/libc/sysv/consts/SO_ACCEPTCONN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_ACCEPTCONN 30 2 2 2 2 2 +.syscon so,SO_ACCEPTCONN,30,2,2,2,2,2 diff --git a/libc/sysv/consts/SO_ATTACH_BPF.S b/libc/sysv/consts/SO_ATTACH_BPF.S index 7cb5d4e7d5b..66ec7db9f64 100644 --- a/libc/sysv/consts/SO_ATTACH_BPF.S +++ b/libc/sysv/consts/SO_ATTACH_BPF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_ATTACH_BPF 50 0 0 0 0 0 +.syscon so,SO_ATTACH_BPF,50,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_ATTACH_FILTER.S b/libc/sysv/consts/SO_ATTACH_FILTER.S index 48e641470ab..3e0d8e999ad 100644 --- a/libc/sysv/consts/SO_ATTACH_FILTER.S +++ b/libc/sysv/consts/SO_ATTACH_FILTER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_ATTACH_FILTER 26 0 0 0 0 0 +.syscon so,SO_ATTACH_FILTER,26,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_ATTACH_REUSEPORT_CBPF.S b/libc/sysv/consts/SO_ATTACH_REUSEPORT_CBPF.S index 463fe5cbb40..cce7efa3e7b 100644 --- a/libc/sysv/consts/SO_ATTACH_REUSEPORT_CBPF.S +++ b/libc/sysv/consts/SO_ATTACH_REUSEPORT_CBPF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_ATTACH_REUSEPORT_CBPF 51 0 0 0 0 0 +.syscon so,SO_ATTACH_REUSEPORT_CBPF,51,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_ATTACH_REUSEPORT_EBPF.S b/libc/sysv/consts/SO_ATTACH_REUSEPORT_EBPF.S index 9492b3770f5..560f20a2a27 100644 --- a/libc/sysv/consts/SO_ATTACH_REUSEPORT_EBPF.S +++ b/libc/sysv/consts/SO_ATTACH_REUSEPORT_EBPF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_ATTACH_REUSEPORT_EBPF 52 0 0 0 0 0 +.syscon so,SO_ATTACH_REUSEPORT_EBPF,52,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_BINDTODEVICE.S b/libc/sysv/consts/SO_BINDTODEVICE.S index aad1147d180..0c2d5fdb260 100644 --- a/libc/sysv/consts/SO_BINDTODEVICE.S +++ b/libc/sysv/consts/SO_BINDTODEVICE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_BINDTODEVICE 25 0 0 0 0 0 +.syscon so,SO_BINDTODEVICE,25,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_BPF_EXTENSIONS.S b/libc/sysv/consts/SO_BPF_EXTENSIONS.S index 3158e2ae49b..92f59b247f4 100644 --- a/libc/sysv/consts/SO_BPF_EXTENSIONS.S +++ b/libc/sysv/consts/SO_BPF_EXTENSIONS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_BPF_EXTENSIONS 48 0 0 0 0 0 +.syscon so,SO_BPF_EXTENSIONS,48,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_BROADCAST.S b/libc/sysv/consts/SO_BROADCAST.S index 3ea217225e7..0312d6f639a 100644 --- a/libc/sysv/consts/SO_BROADCAST.S +++ b/libc/sysv/consts/SO_BROADCAST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_BROADCAST 6 0x20 0x20 0x20 0x20 0x20 +.syscon so,SO_BROADCAST,6,0x20,0x20,0x20,0x20,0x20 diff --git a/libc/sysv/consts/SO_BSDCOMPAT.S b/libc/sysv/consts/SO_BSDCOMPAT.S index 298ad5daedc..3f66f007cb4 100644 --- a/libc/sysv/consts/SO_BSDCOMPAT.S +++ b/libc/sysv/consts/SO_BSDCOMPAT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_BSDCOMPAT 14 0 0 0 0 0 +.syscon so,SO_BSDCOMPAT,14,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_BUSY_POLL.S b/libc/sysv/consts/SO_BUSY_POLL.S index 34fac4f75dd..7ac9c3b2d10 100644 --- a/libc/sysv/consts/SO_BUSY_POLL.S +++ b/libc/sysv/consts/SO_BUSY_POLL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_BUSY_POLL 46 0 0 0 0 0 +.syscon so,SO_BUSY_POLL,46,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_CNX_ADVICE.S b/libc/sysv/consts/SO_CNX_ADVICE.S index 30a17e2140a..c439c58f875 100644 --- a/libc/sysv/consts/SO_CNX_ADVICE.S +++ b/libc/sysv/consts/SO_CNX_ADVICE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_CNX_ADVICE 53 0 0 0 0 0 +.syscon so,SO_CNX_ADVICE,53,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_DEBUG.S b/libc/sysv/consts/SO_DEBUG.S index 4edd8e7166d..c4174cabff9 100644 --- a/libc/sysv/consts/SO_DEBUG.S +++ b/libc/sysv/consts/SO_DEBUG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_DEBUG 1 1 1 1 1 1 +.syscon so,SO_DEBUG,1,1,1,1,1,1 diff --git a/libc/sysv/consts/SO_DETACH_BPF.S b/libc/sysv/consts/SO_DETACH_BPF.S index 762b8ced226..432dc79f5c6 100644 --- a/libc/sysv/consts/SO_DETACH_BPF.S +++ b/libc/sysv/consts/SO_DETACH_BPF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_DETACH_BPF 27 0 0 0 0 0 +.syscon so,SO_DETACH_BPF,27,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_DETACH_FILTER.S b/libc/sysv/consts/SO_DETACH_FILTER.S index 9b517cfa3c9..d976354361b 100644 --- a/libc/sysv/consts/SO_DETACH_FILTER.S +++ b/libc/sysv/consts/SO_DETACH_FILTER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_DETACH_FILTER 27 0 0 0 0 0 +.syscon so,SO_DETACH_FILTER,27,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_DOMAIN.S b/libc/sysv/consts/SO_DOMAIN.S index 11c87496811..478708db629 100644 --- a/libc/sysv/consts/SO_DOMAIN.S +++ b/libc/sysv/consts/SO_DOMAIN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_DOMAIN 39 0 0x1019 0 0 0 +.syscon so,SO_DOMAIN,39,0,0x1019,0,0,0 diff --git a/libc/sysv/consts/SO_DONTROUTE.S b/libc/sysv/consts/SO_DONTROUTE.S index 055c77e49e5..42c15413051 100644 --- a/libc/sysv/consts/SO_DONTROUTE.S +++ b/libc/sysv/consts/SO_DONTROUTE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_DONTROUTE 5 0x10 0x10 0x10 0x10 0x10 +.syscon so,SO_DONTROUTE,5,0x10,0x10,0x10,0x10,0x10 diff --git a/libc/sysv/consts/SO_ERROR.S b/libc/sysv/consts/SO_ERROR.S index b1b590635a0..826db7140c8 100644 --- a/libc/sysv/consts/SO_ERROR.S +++ b/libc/sysv/consts/SO_ERROR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_ERROR 4 0x1007 0x1007 0x1007 0x1007 0x1007 +.syscon so,SO_ERROR,4,0x1007,0x1007,0x1007,0x1007,0x1007 diff --git a/libc/sysv/consts/SO_EXCLUSIVEADDRUSE.S b/libc/sysv/consts/SO_EXCLUSIVEADDRUSE.S index b0619995932..c0026f04bba 100644 --- a/libc/sysv/consts/SO_EXCLUSIVEADDRUSE.S +++ b/libc/sysv/consts/SO_EXCLUSIVEADDRUSE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_EXCLUSIVEADDRUSE -1 -1 -1 -1 -1 0xfffffffb +.syscon so,SO_EXCLUSIVEADDRUSE,-1,-1,-1,-1,-1,0xfffffffb diff --git a/libc/sysv/consts/SO_GET_FILTER.S b/libc/sysv/consts/SO_GET_FILTER.S index dc734dc84fd..1ee199373c6 100644 --- a/libc/sysv/consts/SO_GET_FILTER.S +++ b/libc/sysv/consts/SO_GET_FILTER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_GET_FILTER 26 0 0 0 0 0 +.syscon so,SO_GET_FILTER,26,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_INCOMING_CPU.S b/libc/sysv/consts/SO_INCOMING_CPU.S index b0e06718d85..186660a9f72 100644 --- a/libc/sysv/consts/SO_INCOMING_CPU.S +++ b/libc/sysv/consts/SO_INCOMING_CPU.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_INCOMING_CPU 49 0 0 0 0 0 +.syscon so,SO_INCOMING_CPU,49,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_KEEPALIVE.S b/libc/sysv/consts/SO_KEEPALIVE.S index eb5727901d5..92c61c13bff 100644 --- a/libc/sysv/consts/SO_KEEPALIVE.S +++ b/libc/sysv/consts/SO_KEEPALIVE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_KEEPALIVE 9 8 8 8 8 8 +.syscon so,SO_KEEPALIVE,9,8,8,8,8,8 diff --git a/libc/sysv/consts/SO_LINGER.S b/libc/sysv/consts/SO_LINGER.S index 9194d407ddd..6fd0b613685 100644 --- a/libc/sysv/consts/SO_LINGER.S +++ b/libc/sysv/consts/SO_LINGER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_LINGER 13 0x80 0x80 0x80 0x80 0x80 +.syscon so,SO_LINGER,13,0x80,0x80,0x80,0x80,0x80 diff --git a/libc/sysv/consts/SO_LOCK_FILTER.S b/libc/sysv/consts/SO_LOCK_FILTER.S index f597479660b..015aa2b0d24 100644 --- a/libc/sysv/consts/SO_LOCK_FILTER.S +++ b/libc/sysv/consts/SO_LOCK_FILTER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_LOCK_FILTER 44 0 0 0 0 0 +.syscon so,SO_LOCK_FILTER,44,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_MARK.S b/libc/sysv/consts/SO_MARK.S index f0dc774eb93..c9e7f6fecb9 100644 --- a/libc/sysv/consts/SO_MARK.S +++ b/libc/sysv/consts/SO_MARK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_MARK 36 0 0 0 0 0 +.syscon so,SO_MARK,36,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_MAX_PACING_RATE.S b/libc/sysv/consts/SO_MAX_PACING_RATE.S index 6e91a36c88e..ce3ce16fe0f 100644 --- a/libc/sysv/consts/SO_MAX_PACING_RATE.S +++ b/libc/sysv/consts/SO_MAX_PACING_RATE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_MAX_PACING_RATE 47 0 0x1018 0 0 0 +.syscon so,SO_MAX_PACING_RATE,47,0,0x1018,0,0,0 diff --git a/libc/sysv/consts/SO_NOFCS.S b/libc/sysv/consts/SO_NOFCS.S index b6e2ca285df..d9652cbc2e1 100644 --- a/libc/sysv/consts/SO_NOFCS.S +++ b/libc/sysv/consts/SO_NOFCS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_NOFCS 43 0 0 0 0 0 +.syscon so,SO_NOFCS,43,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_NO_CHECK.S b/libc/sysv/consts/SO_NO_CHECK.S index f08fda8aab9..c74f482ce70 100644 --- a/libc/sysv/consts/SO_NO_CHECK.S +++ b/libc/sysv/consts/SO_NO_CHECK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_NO_CHECK 11 0 0 0 0 0 +.syscon so,SO_NO_CHECK,11,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_OOBINLINE.S b/libc/sysv/consts/SO_OOBINLINE.S index 43a9c5fbf47..c306fae8e9d 100644 --- a/libc/sysv/consts/SO_OOBINLINE.S +++ b/libc/sysv/consts/SO_OOBINLINE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_OOBINLINE 10 0x0100 0x0100 0x0100 0x0100 0x0100 +.syscon so,SO_OOBINLINE,10,0x0100,0x0100,0x0100,0x0100,0x0100 diff --git a/libc/sysv/consts/SO_PASSCRED.S b/libc/sysv/consts/SO_PASSCRED.S index c081dce1f96..19b5a79cfc7 100644 --- a/libc/sysv/consts/SO_PASSCRED.S +++ b/libc/sysv/consts/SO_PASSCRED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_PASSCRED 0x10 0 0 0 0 0 +.syscon so,SO_PASSCRED,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_PASSSEC.S b/libc/sysv/consts/SO_PASSSEC.S index b345de13cd7..f9465ff8255 100644 --- a/libc/sysv/consts/SO_PASSSEC.S +++ b/libc/sysv/consts/SO_PASSSEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_PASSSEC 34 0 0 0 0 0 +.syscon so,SO_PASSSEC,34,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_PEEK_OFF.S b/libc/sysv/consts/SO_PEEK_OFF.S index b4784729cf8..b8f7dc4f032 100644 --- a/libc/sysv/consts/SO_PEEK_OFF.S +++ b/libc/sysv/consts/SO_PEEK_OFF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_PEEK_OFF 42 0 0 0 0 0 +.syscon so,SO_PEEK_OFF,42,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_PEERCRED.S b/libc/sysv/consts/SO_PEERCRED.S index 45de589789f..1e24e33fca1 100644 --- a/libc/sysv/consts/SO_PEERCRED.S +++ b/libc/sysv/consts/SO_PEERCRED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_PEERCRED 17 0 0 0x1022 0x1022 0 +.syscon so,SO_PEERCRED,17,0,0,0x1022,0x1022,0 diff --git a/libc/sysv/consts/SO_PEERNAME.S b/libc/sysv/consts/SO_PEERNAME.S index 562097507a7..30162d8bb33 100644 --- a/libc/sysv/consts/SO_PEERNAME.S +++ b/libc/sysv/consts/SO_PEERNAME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_PEERNAME 28 0 0 0 0 0 +.syscon so,SO_PEERNAME,28,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_PEERSEC.S b/libc/sysv/consts/SO_PEERSEC.S index 18cb0b2fde6..dc9f4b95215 100644 --- a/libc/sysv/consts/SO_PEERSEC.S +++ b/libc/sysv/consts/SO_PEERSEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_PEERSEC 31 0 0 0 0 0 +.syscon so,SO_PEERSEC,31,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_PRIORITY.S b/libc/sysv/consts/SO_PRIORITY.S index 14b86b059a6..4ce468b7cf5 100644 --- a/libc/sysv/consts/SO_PRIORITY.S +++ b/libc/sysv/consts/SO_PRIORITY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_PRIORITY 12 0 0 0 0 0 +.syscon so,SO_PRIORITY,12,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_PROTOCOL.S b/libc/sysv/consts/SO_PROTOCOL.S index c51e4f7f50b..6798f1fd580 100644 --- a/libc/sysv/consts/SO_PROTOCOL.S +++ b/libc/sysv/consts/SO_PROTOCOL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_PROTOCOL 38 0 0x1016 0 0 0 +.syscon so,SO_PROTOCOL,38,0,0x1016,0,0,0 diff --git a/libc/sysv/consts/SO_RCVBUF.S b/libc/sysv/consts/SO_RCVBUF.S index aa10c08c40f..d869eba1413 100644 --- a/libc/sysv/consts/SO_RCVBUF.S +++ b/libc/sysv/consts/SO_RCVBUF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_RCVBUF 8 0x1002 0x1002 0x1002 0x1002 0x1002 +.syscon so,SO_RCVBUF,8,0x1002,0x1002,0x1002,0x1002,0x1002 diff --git a/libc/sysv/consts/SO_RCVBUFFORCE.S b/libc/sysv/consts/SO_RCVBUFFORCE.S index bd7a58cd33c..310dc0ee865 100644 --- a/libc/sysv/consts/SO_RCVBUFFORCE.S +++ b/libc/sysv/consts/SO_RCVBUFFORCE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_RCVBUFFORCE 33 0 0 0 0 0 +.syscon so,SO_RCVBUFFORCE,33,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_RCVLOWAT.S b/libc/sysv/consts/SO_RCVLOWAT.S index e65229fe11b..6dbbe2bcaaf 100644 --- a/libc/sysv/consts/SO_RCVLOWAT.S +++ b/libc/sysv/consts/SO_RCVLOWAT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_RCVLOWAT 18 0x1004 0x1004 0x1004 0x1004 0x1004 +.syscon so,SO_RCVLOWAT,18,0x1004,0x1004,0x1004,0x1004,0x1004 diff --git a/libc/sysv/consts/SO_RCVTIMEO.S b/libc/sysv/consts/SO_RCVTIMEO.S index 8f9ee70f749..ba05af74ec9 100644 --- a/libc/sysv/consts/SO_RCVTIMEO.S +++ b/libc/sysv/consts/SO_RCVTIMEO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_RCVTIMEO 20 0x1006 0x1006 0x1006 0x100c 0x1006 +.syscon so,SO_RCVTIMEO,20,0x1006,0x1006,0x1006,0x100c,0x1006 diff --git a/libc/sysv/consts/SO_REUSEADDR.S b/libc/sysv/consts/SO_REUSEADDR.S index eff03a97b9b..a344ed6eed2 100644 --- a/libc/sysv/consts/SO_REUSEADDR.S +++ b/libc/sysv/consts/SO_REUSEADDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_REUSEADDR 2 4 4 4 4 -1 +.syscon so,SO_REUSEADDR,2,4,4,4,4,-1 diff --git a/libc/sysv/consts/SO_REUSEPORT.S b/libc/sysv/consts/SO_REUSEPORT.S index 61a2f455edb..7b14df08939 100644 --- a/libc/sysv/consts/SO_REUSEPORT.S +++ b/libc/sysv/consts/SO_REUSEPORT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_REUSEPORT 15 0x0200 0x0200 0x0200 0x0200 4 +.syscon so,SO_REUSEPORT,15,0x0200,0x0200,0x0200,0x0200,4 diff --git a/libc/sysv/consts/SO_RXQ_OVFL.S b/libc/sysv/consts/SO_RXQ_OVFL.S index ed9a5d386eb..88bf44f86fb 100644 --- a/libc/sysv/consts/SO_RXQ_OVFL.S +++ b/libc/sysv/consts/SO_RXQ_OVFL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_RXQ_OVFL 40 0 0 0 0 0 +.syscon so,SO_RXQ_OVFL,40,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_SECURITY_AUTHENTICATION.S b/libc/sysv/consts/SO_SECURITY_AUTHENTICATION.S index 901ecf7c30d..74f2b05294a 100644 --- a/libc/sysv/consts/SO_SECURITY_AUTHENTICATION.S +++ b/libc/sysv/consts/SO_SECURITY_AUTHENTICATION.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_SECURITY_AUTHENTICATION 22 0 0 0 0 0 +.syscon so,SO_SECURITY_AUTHENTICATION,22,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_SECURITY_ENCRYPTION_NETWORK.S b/libc/sysv/consts/SO_SECURITY_ENCRYPTION_NETWORK.S index b790d923794..ce1e11ac23d 100644 --- a/libc/sysv/consts/SO_SECURITY_ENCRYPTION_NETWORK.S +++ b/libc/sysv/consts/SO_SECURITY_ENCRYPTION_NETWORK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_SECURITY_ENCRYPTION_NETWORK 24 0 0 0 0 0 +.syscon so,SO_SECURITY_ENCRYPTION_NETWORK,24,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_SECURITY_ENCRYPTION_TRANSPORT.S b/libc/sysv/consts/SO_SECURITY_ENCRYPTION_TRANSPORT.S index a37afc4c3ee..1cbcfc97c0d 100644 --- a/libc/sysv/consts/SO_SECURITY_ENCRYPTION_TRANSPORT.S +++ b/libc/sysv/consts/SO_SECURITY_ENCRYPTION_TRANSPORT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_SECURITY_ENCRYPTION_TRANSPORT 23 0 0 0 0 0 +.syscon so,SO_SECURITY_ENCRYPTION_TRANSPORT,23,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_SELECT_ERR_QUEUE.S b/libc/sysv/consts/SO_SELECT_ERR_QUEUE.S index 5962d2f1f7d..afa9e15e72a 100644 --- a/libc/sysv/consts/SO_SELECT_ERR_QUEUE.S +++ b/libc/sysv/consts/SO_SELECT_ERR_QUEUE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_SELECT_ERR_QUEUE 45 0 0 0 0 0 +.syscon so,SO_SELECT_ERR_QUEUE,45,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_SNDBUF.S b/libc/sysv/consts/SO_SNDBUF.S index 7de4b01e33e..dd89739832b 100644 --- a/libc/sysv/consts/SO_SNDBUF.S +++ b/libc/sysv/consts/SO_SNDBUF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_SNDBUF 7 0x1001 0x1001 0x1001 0x1001 0x1001 +.syscon so,SO_SNDBUF,7,0x1001,0x1001,0x1001,0x1001,0x1001 diff --git a/libc/sysv/consts/SO_SNDBUFFORCE.S b/libc/sysv/consts/SO_SNDBUFFORCE.S index eabeed43040..4a7450485e9 100644 --- a/libc/sysv/consts/SO_SNDBUFFORCE.S +++ b/libc/sysv/consts/SO_SNDBUFFORCE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_SNDBUFFORCE 0x20 0 0 0 0 0 +.syscon so,SO_SNDBUFFORCE,0x20,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_SNDLOWAT.S b/libc/sysv/consts/SO_SNDLOWAT.S index 14a9c4392ac..e6a06f94a2a 100644 --- a/libc/sysv/consts/SO_SNDLOWAT.S +++ b/libc/sysv/consts/SO_SNDLOWAT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_SNDLOWAT 19 0x1003 0x1003 0x1003 0x1003 0x1003 +.syscon so,SO_SNDLOWAT,19,0x1003,0x1003,0x1003,0x1003,0x1003 diff --git a/libc/sysv/consts/SO_SNDTIMEO.S b/libc/sysv/consts/SO_SNDTIMEO.S index cf5dd5efb96..fbe7f2ebb67 100644 --- a/libc/sysv/consts/SO_SNDTIMEO.S +++ b/libc/sysv/consts/SO_SNDTIMEO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_SNDTIMEO 21 0x1005 0x1005 0x1005 0x100b 0x1005 +.syscon so,SO_SNDTIMEO,21,0x1005,0x1005,0x1005,0x100b,0x1005 diff --git a/libc/sysv/consts/SO_TIMESTAMP.S b/libc/sysv/consts/SO_TIMESTAMP.S index aa19e7ac35c..c2e395206b4 100644 --- a/libc/sysv/consts/SO_TIMESTAMP.S +++ b/libc/sysv/consts/SO_TIMESTAMP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_TIMESTAMP 29 0x0400 0x0400 0x0800 0x2000 0 +.syscon so,SO_TIMESTAMP,29,0x0400,0x0400,0x0800,0x2000,0 diff --git a/libc/sysv/consts/SO_TIMESTAMPING.S b/libc/sysv/consts/SO_TIMESTAMPING.S index aaae3e395ab..ca8d4c0c3aa 100644 --- a/libc/sysv/consts/SO_TIMESTAMPING.S +++ b/libc/sysv/consts/SO_TIMESTAMPING.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_TIMESTAMPING 37 0 0 0 0 0 +.syscon so,SO_TIMESTAMPING,37,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_TIMESTAMPNS.S b/libc/sysv/consts/SO_TIMESTAMPNS.S index fcde43c57ed..c24a5ca4739 100644 --- a/libc/sysv/consts/SO_TIMESTAMPNS.S +++ b/libc/sysv/consts/SO_TIMESTAMPNS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_TIMESTAMPNS 35 0 0 0 0 0 +.syscon so,SO_TIMESTAMPNS,35,0,0,0,0,0 diff --git a/libc/sysv/consts/SO_TYPE.S b/libc/sysv/consts/SO_TYPE.S index f9d4669b31c..d17564f39a1 100644 --- a/libc/sysv/consts/SO_TYPE.S +++ b/libc/sysv/consts/SO_TYPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_TYPE 3 0x1008 0x1008 0x1008 0x1008 0x1008 +.syscon so,SO_TYPE,3,0x1008,0x1008,0x1008,0x1008,0x1008 diff --git a/libc/sysv/consts/SO_WIFI_STATUS.S b/libc/sysv/consts/SO_WIFI_STATUS.S index a79a9fb09d8..8f7c27cf30c 100644 --- a/libc/sysv/consts/SO_WIFI_STATUS.S +++ b/libc/sysv/consts/SO_WIFI_STATUS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon so SO_WIFI_STATUS 41 0 0 0 0 0 +.syscon so,SO_WIFI_STATUS,41,0,0,0,0,0 diff --git a/libc/sysv/consts/SPACE.S b/libc/sysv/consts/SPACE.S index 492ae4029ab..524d578c28e 100644 --- a/libc/sysv/consts/SPACE.S +++ b/libc/sysv/consts/SPACE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SPACE 17 0 0 0 0 0 +.syscon misc,SPACE,17,0,0,0,0,0 diff --git a/libc/sysv/consts/SPLICE_F_GIFT.S b/libc/sysv/consts/SPLICE_F_GIFT.S index ae82be5ff53..d70050cacb8 100644 --- a/libc/sysv/consts/SPLICE_F_GIFT.S +++ b/libc/sysv/consts/SPLICE_F_GIFT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon splice SPLICE_F_GIFT 8 0 0 0 0 0 +.syscon splice,SPLICE_F_GIFT,8,0,0,0,0,0 diff --git a/libc/sysv/consts/SPLICE_F_MORE.S b/libc/sysv/consts/SPLICE_F_MORE.S index b77254998c8..178b675db4f 100644 --- a/libc/sysv/consts/SPLICE_F_MORE.S +++ b/libc/sysv/consts/SPLICE_F_MORE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon splice SPLICE_F_MORE 4 0 0 0 0 0 +.syscon splice,SPLICE_F_MORE,4,0,0,0,0,0 diff --git a/libc/sysv/consts/SPLICE_F_MOVE.S b/libc/sysv/consts/SPLICE_F_MOVE.S index f1673fb39d2..17153ab5de9 100644 --- a/libc/sysv/consts/SPLICE_F_MOVE.S +++ b/libc/sysv/consts/SPLICE_F_MOVE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon splice SPLICE_F_MOVE 1 0 0 0 0 0 +.syscon splice,SPLICE_F_MOVE,1,0,0,0,0,0 diff --git a/libc/sysv/consts/SPLICE_F_NONBLOCK.S b/libc/sysv/consts/SPLICE_F_NONBLOCK.S index 5c21a5d5168..e6f8e5a5571 100644 --- a/libc/sysv/consts/SPLICE_F_NONBLOCK.S +++ b/libc/sysv/consts/SPLICE_F_NONBLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon splice SPLICE_F_NONBLOCK 2 0 0 0 0 0 +.syscon splice,SPLICE_F_NONBLOCK,2,0,0,0,0,0 diff --git a/libc/sysv/consts/SS_DISABLE.S b/libc/sysv/consts/SS_DISABLE.S index 0e6a93f052e..83042334f23 100644 --- a/libc/sysv/consts/SS_DISABLE.S +++ b/libc/sysv/consts/SS_DISABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SS_DISABLE 2 4 4 4 4 0 +.syscon misc,SS_DISABLE,2,4,4,4,4,0 diff --git a/libc/sysv/consts/SS_ONSTACK.S b/libc/sysv/consts/SS_ONSTACK.S index f1e886b3447..397c6091345 100644 --- a/libc/sysv/consts/SS_ONSTACK.S +++ b/libc/sysv/consts/SS_ONSTACK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SS_ONSTACK 1 1 1 1 1 0 +.syscon misc,SS_ONSTACK,1,1,1,1,1,0 diff --git a/libc/sysv/consts/START_STOP.S b/libc/sysv/consts/START_STOP.S index bf9acccedab..12824bea5a8 100644 --- a/libc/sysv/consts/START_STOP.S +++ b/libc/sysv/consts/START_STOP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc START_STOP 27 0 0 0 0 0 +.syscon misc,START_STOP,27,0,0,0,0,0 diff --git a/libc/sysv/consts/STATUS_MASK.S b/libc/sysv/consts/STATUS_MASK.S index 9603725a77c..85ea8426dfa 100644 --- a/libc/sysv/consts/STATUS_MASK.S +++ b/libc/sysv/consts/STATUS_MASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc STATUS_MASK 62 0 0 0 0 0 +.syscon misc,STATUS_MASK,62,0,0,0,0,0 diff --git a/libc/sysv/consts/STA_RONLY.S b/libc/sysv/consts/STA_RONLY.S index 439d66645cd..c18110c3d6f 100644 --- a/libc/sysv/consts/STA_RONLY.S +++ b/libc/sysv/consts/STA_RONLY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc STA_RONLY 0xff00 0 0xff00 0 0 0 +.syscon misc,STA_RONLY,0xff00,0,0xff00,0,0,0 diff --git a/libc/sysv/consts/STICKY_TIMEOUTS.S b/libc/sysv/consts/STICKY_TIMEOUTS.S index 70bbbd9248b..4d92843f212 100644 --- a/libc/sysv/consts/STICKY_TIMEOUTS.S +++ b/libc/sysv/consts/STICKY_TIMEOUTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon prsnlty STICKY_TIMEOUTS 0x4000000 -1 -1 -1 -1 -1 +.syscon prsnlty,STICKY_TIMEOUTS,0x4000000,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/STRIPDISC.S b/libc/sysv/consts/STRIPDISC.S index e037c91d1ac..12bbb870c39 100644 --- a/libc/sysv/consts/STRIPDISC.S +++ b/libc/sysv/consts/STRIPDISC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios STRIPDISC 0 0 0 0x6 0x6 -1 +.syscon termios,STRIPDISC,0,0,0,0x6,0x6,-1 diff --git a/libc/sysv/consts/STRU_F.S b/libc/sysv/consts/STRU_F.S index 1999da728ec..98335bc8281 100644 --- a/libc/sysv/consts/STRU_F.S +++ b/libc/sysv/consts/STRU_F.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc STRU_F 1 1 1 1 1 0 +.syscon misc,STRU_F,1,1,1,1,1,0 diff --git a/libc/sysv/consts/STRU_P.S b/libc/sysv/consts/STRU_P.S index d4f2396fa8a..fe87c8cbcdd 100644 --- a/libc/sysv/consts/STRU_P.S +++ b/libc/sysv/consts/STRU_P.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc STRU_P 3 3 3 3 3 0 +.syscon misc,STRU_P,3,3,3,3,3,0 diff --git a/libc/sysv/consts/STRU_R.S b/libc/sysv/consts/STRU_R.S index 999615e8702..be37801ec13 100644 --- a/libc/sysv/consts/STRU_R.S +++ b/libc/sysv/consts/STRU_R.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc STRU_R 2 2 2 2 2 0 +.syscon misc,STRU_R,2,2,2,2,2,0 diff --git a/libc/sysv/consts/ST_APPEND.S b/libc/sysv/consts/ST_APPEND.S index 6d88213a1aa..5cf26b7bc6f 100644 --- a/libc/sysv/consts/ST_APPEND.S +++ b/libc/sysv/consts/ST_APPEND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ST_APPEND 0x0100 0 0 0 0 0 +.syscon misc,ST_APPEND,0x0100,0,0,0,0,0 diff --git a/libc/sysv/consts/ST_IMMUTABLE.S b/libc/sysv/consts/ST_IMMUTABLE.S index 798732d2f2a..afa4f897872 100644 --- a/libc/sysv/consts/ST_IMMUTABLE.S +++ b/libc/sysv/consts/ST_IMMUTABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ST_IMMUTABLE 0x0200 0 0 0 0 0 +.syscon misc,ST_IMMUTABLE,0x0200,0,0,0,0,0 diff --git a/libc/sysv/consts/ST_MANDLOCK.S b/libc/sysv/consts/ST_MANDLOCK.S index 6eb2d7f5bf4..a45c2a3374b 100644 --- a/libc/sysv/consts/ST_MANDLOCK.S +++ b/libc/sysv/consts/ST_MANDLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ST_MANDLOCK 0x40 0 0 0 0 0 +.syscon misc,ST_MANDLOCK,0x40,0,0,0,0,0 diff --git a/libc/sysv/consts/ST_NOATIME.S b/libc/sysv/consts/ST_NOATIME.S index ae887d124fe..1c4a0aa9686 100644 --- a/libc/sysv/consts/ST_NOATIME.S +++ b/libc/sysv/consts/ST_NOATIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ST_NOATIME 0x0400 0 0 0 0 0 +.syscon misc,ST_NOATIME,0x0400,0,0,0,0,0 diff --git a/libc/sysv/consts/ST_NODEV.S b/libc/sysv/consts/ST_NODEV.S index fbd8d7680db..5afa0a969d4 100644 --- a/libc/sysv/consts/ST_NODEV.S +++ b/libc/sysv/consts/ST_NODEV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ST_NODEV 4 0 0 0 0 0 +.syscon misc,ST_NODEV,4,0,0,0,0,0 diff --git a/libc/sysv/consts/ST_NODIRATIME.S b/libc/sysv/consts/ST_NODIRATIME.S index 34fb337d72f..25e1e82fe15 100644 --- a/libc/sysv/consts/ST_NODIRATIME.S +++ b/libc/sysv/consts/ST_NODIRATIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ST_NODIRATIME 0x0800 0 0 0 0 0 +.syscon misc,ST_NODIRATIME,0x0800,0,0,0,0,0 diff --git a/libc/sysv/consts/ST_NOEXEC.S b/libc/sysv/consts/ST_NOEXEC.S index b91fc1ab3a8..a55d2b0bd50 100644 --- a/libc/sysv/consts/ST_NOEXEC.S +++ b/libc/sysv/consts/ST_NOEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ST_NOEXEC 8 0 0 0 0 0 +.syscon misc,ST_NOEXEC,8,0,0,0,0,0 diff --git a/libc/sysv/consts/ST_NOSUID.S b/libc/sysv/consts/ST_NOSUID.S index 74bbf1caa8c..e677154570f 100644 --- a/libc/sysv/consts/ST_NOSUID.S +++ b/libc/sysv/consts/ST_NOSUID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ST_NOSUID 2 2 2 2 2 0 +.syscon misc,ST_NOSUID,2,2,2,2,2,0 diff --git a/libc/sysv/consts/ST_RDONLY.S b/libc/sysv/consts/ST_RDONLY.S index e3b548061e3..31a3e1224b9 100644 --- a/libc/sysv/consts/ST_RDONLY.S +++ b/libc/sysv/consts/ST_RDONLY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ST_RDONLY 1 1 1 1 1 0 +.syscon misc,ST_RDONLY,1,1,1,1,1,0 diff --git a/libc/sysv/consts/ST_RELATIME.S b/libc/sysv/consts/ST_RELATIME.S index 9ff91970edb..91730ce251e 100644 --- a/libc/sysv/consts/ST_RELATIME.S +++ b/libc/sysv/consts/ST_RELATIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ST_RELATIME 0x1000 0 0 0 0 0 +.syscon misc,ST_RELATIME,0x1000,0,0,0,0,0 diff --git a/libc/sysv/consts/ST_SYNCHRONOUS.S b/libc/sysv/consts/ST_SYNCHRONOUS.S index 5db9e46d711..36fff28e351 100644 --- a/libc/sysv/consts/ST_SYNCHRONOUS.S +++ b/libc/sysv/consts/ST_SYNCHRONOUS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ST_SYNCHRONOUS 0x10 0 0 0 0 0 +.syscon misc,ST_SYNCHRONOUS,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/ST_WRITE.S b/libc/sysv/consts/ST_WRITE.S index 33eb89a36b6..f8a6f39f1a0 100644 --- a/libc/sysv/consts/ST_WRITE.S +++ b/libc/sysv/consts/ST_WRITE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc ST_WRITE 0x80 0 0 0 0 0 +.syscon misc,ST_WRITE,0x80,0,0,0,0,0 diff --git a/libc/sysv/consts/SUBCMDMASK.S b/libc/sysv/consts/SUBCMDMASK.S index 62bddda2c82..cd4eb73316b 100644 --- a/libc/sysv/consts/SUBCMDMASK.S +++ b/libc/sysv/consts/SUBCMDMASK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SUBCMDMASK 255 255 255 255 255 0 +.syscon misc,SUBCMDMASK,255,255,255,255,255,0 diff --git a/libc/sysv/consts/SUBCMDSHIFT.S b/libc/sysv/consts/SUBCMDSHIFT.S index c91427243c4..7b2118ade80 100644 --- a/libc/sysv/consts/SUBCMDSHIFT.S +++ b/libc/sysv/consts/SUBCMDSHIFT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SUBCMDSHIFT 8 8 8 8 8 0 +.syscon misc,SUBCMDSHIFT,8,8,8,8,8,0 diff --git a/libc/sysv/consts/SWAP_FLAG_DISCARD.S b/libc/sysv/consts/SWAP_FLAG_DISCARD.S index e2210852f65..2941ea68e8c 100644 --- a/libc/sysv/consts/SWAP_FLAG_DISCARD.S +++ b/libc/sysv/consts/SWAP_FLAG_DISCARD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SWAP_FLAG_DISCARD 0x010000 0 0 0 0 0 +.syscon misc,SWAP_FLAG_DISCARD,0x010000,0,0,0,0,0 diff --git a/libc/sysv/consts/SYMLOOP_MAX.S b/libc/sysv/consts/SYMLOOP_MAX.S index ea2f102f7d7..2906fd59a6b 100644 --- a/libc/sysv/consts/SYMLOOP_MAX.S +++ b/libc/sysv/consts/SYMLOOP_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SYMLOOP_MAX 0 0 0 0x20 0x20 0 +.syscon misc,SYMLOOP_MAX,0,0,0,0x20,0x20,0 diff --git a/libc/sysv/consts/SYMTYPE.S b/libc/sysv/consts/SYMTYPE.S index fd72dbd65c2..fdf68aa2929 100644 --- a/libc/sysv/consts/SYMTYPE.S +++ b/libc/sysv/consts/SYMTYPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SYMTYPE 50 50 50 50 50 0 +.syscon misc,SYMTYPE,50,50,50,50,50,0 diff --git a/libc/sysv/consts/SYNCHRONIZE_CACHE.S b/libc/sysv/consts/SYNCHRONIZE_CACHE.S index 8648eb802fc..20fc70ef6e6 100644 --- a/libc/sysv/consts/SYNCHRONIZE_CACHE.S +++ b/libc/sysv/consts/SYNCHRONIZE_CACHE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SYNCHRONIZE_CACHE 53 0 0 0 0 0 +.syscon misc,SYNCHRONIZE_CACHE,53,0,0,0,0,0 diff --git a/libc/sysv/consts/SYNC_FILE_RANGE_WAIT_AFTER.S b/libc/sysv/consts/SYNC_FILE_RANGE_WAIT_AFTER.S index b732ea04508..5b92109a10c 100644 --- a/libc/sysv/consts/SYNC_FILE_RANGE_WAIT_AFTER.S +++ b/libc/sysv/consts/SYNC_FILE_RANGE_WAIT_AFTER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SYNC_FILE_RANGE_WAIT_AFTER 4 0 0 0 0 0 +.syscon misc,SYNC_FILE_RANGE_WAIT_AFTER,4,0,0,0,0,0 diff --git a/libc/sysv/consts/SYNC_FILE_RANGE_WAIT_BEFORE.S b/libc/sysv/consts/SYNC_FILE_RANGE_WAIT_BEFORE.S index 7a2af2c9bcb..57a3b6606bb 100644 --- a/libc/sysv/consts/SYNC_FILE_RANGE_WAIT_BEFORE.S +++ b/libc/sysv/consts/SYNC_FILE_RANGE_WAIT_BEFORE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SYNC_FILE_RANGE_WAIT_BEFORE 1 0 0 0 0 0 +.syscon misc,SYNC_FILE_RANGE_WAIT_BEFORE,1,0,0,0,0,0 diff --git a/libc/sysv/consts/SYNC_FILE_RANGE_WRITE.S b/libc/sysv/consts/SYNC_FILE_RANGE_WRITE.S index fc43f92cfaa..47550d9bc7c 100644 --- a/libc/sysv/consts/SYNC_FILE_RANGE_WRITE.S +++ b/libc/sysv/consts/SYNC_FILE_RANGE_WRITE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc SYNC_FILE_RANGE_WRITE 2 0 0 0 0 0 +.syscon misc,SYNC_FILE_RANGE_WRITE,2,0,0,0,0,0 diff --git a/libc/sysv/consts/S_IEXEC.S b/libc/sysv/consts/S_IEXEC.S index 68afe4400fb..5e818925675 100644 --- a/libc/sysv/consts/S_IEXEC.S +++ b/libc/sysv/consts/S_IEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IEXEC 00100 00100 00100 00100 00100 00100 +.syscon stat,S_IEXEC,00100,00100,00100,00100,00100,00100 diff --git a/libc/sysv/consts/S_IFBLK.S b/libc/sysv/consts/S_IFBLK.S index e0caf2118eb..bb75920eb48 100644 --- a/libc/sysv/consts/S_IFBLK.S +++ b/libc/sysv/consts/S_IFBLK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IFBLK 0060000 0060000 0060000 0060000 0060000 0060000 +.syscon stat,S_IFBLK,0060000,0060000,0060000,0060000,0060000,0060000 diff --git a/libc/sysv/consts/S_IFCHR.S b/libc/sysv/consts/S_IFCHR.S index c883de7f838..c0184783321 100644 --- a/libc/sysv/consts/S_IFCHR.S +++ b/libc/sysv/consts/S_IFCHR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IFCHR 0020000 0020000 0020000 0020000 0020000 0020000 +.syscon stat,S_IFCHR,0020000,0020000,0020000,0020000,0020000,0020000 diff --git a/libc/sysv/consts/S_IFDIR.S b/libc/sysv/consts/S_IFDIR.S index 56486ddff94..58c96c0ded8 100644 --- a/libc/sysv/consts/S_IFDIR.S +++ b/libc/sysv/consts/S_IFDIR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IFDIR 0040000 0040000 0040000 0040000 0040000 0040000 +.syscon stat,S_IFDIR,0040000,0040000,0040000,0040000,0040000,0040000 diff --git a/libc/sysv/consts/S_IFIFO.S b/libc/sysv/consts/S_IFIFO.S index ec3ae4900a6..634433d4f34 100644 --- a/libc/sysv/consts/S_IFIFO.S +++ b/libc/sysv/consts/S_IFIFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IFIFO 0010000 0010000 0010000 0010000 0010000 0010000 +.syscon stat,S_IFIFO,0010000,0010000,0010000,0010000,0010000,0010000 diff --git a/libc/sysv/consts/S_IFLNK.S b/libc/sysv/consts/S_IFLNK.S index 8bf67853277..7f07c74989d 100644 --- a/libc/sysv/consts/S_IFLNK.S +++ b/libc/sysv/consts/S_IFLNK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IFLNK 0120000 0120000 0120000 0120000 0120000 0120000 +.syscon stat,S_IFLNK,0120000,0120000,0120000,0120000,0120000,0120000 diff --git a/libc/sysv/consts/S_IFMT.S b/libc/sysv/consts/S_IFMT.S index 2b4192c5b08..af076b5aed6 100644 --- a/libc/sysv/consts/S_IFMT.S +++ b/libc/sysv/consts/S_IFMT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IFMT 0170000 0170000 0170000 0170000 0170000 0170000 +.syscon stat,S_IFMT,0170000,0170000,0170000,0170000,0170000,0170000 diff --git a/libc/sysv/consts/S_IFREG.S b/libc/sysv/consts/S_IFREG.S index 68562cd5b16..8c859e78cf8 100644 --- a/libc/sysv/consts/S_IFREG.S +++ b/libc/sysv/consts/S_IFREG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IFREG 0100000 0100000 0100000 0100000 0100000 0100000 +.syscon stat,S_IFREG,0100000,0100000,0100000,0100000,0100000,0100000 diff --git a/libc/sysv/consts/S_IFSOCK.S b/libc/sysv/consts/S_IFSOCK.S index c7ac7f9c0a3..3cc80067ea4 100644 --- a/libc/sysv/consts/S_IFSOCK.S +++ b/libc/sysv/consts/S_IFSOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IFSOCK 0140000 0140000 0140000 0140000 0140000 0140000 +.syscon stat,S_IFSOCK,0140000,0140000,0140000,0140000,0140000,0140000 diff --git a/libc/sysv/consts/S_IREAD.S b/libc/sysv/consts/S_IREAD.S index de1a9023210..d42eeedffa9 100644 --- a/libc/sysv/consts/S_IREAD.S +++ b/libc/sysv/consts/S_IREAD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IREAD 00400 00400 00400 00400 00400 00400 +.syscon stat,S_IREAD,00400,00400,00400,00400,00400,00400 diff --git a/libc/sysv/consts/S_IRGRP.S b/libc/sysv/consts/S_IRGRP.S index a143ccbc84e..d29b91cae63 100644 --- a/libc/sysv/consts/S_IRGRP.S +++ b/libc/sysv/consts/S_IRGRP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IRGRP 00040 00040 00040 00040 00040 00040 +.syscon stat,S_IRGRP,00040,00040,00040,00040,00040,00040 diff --git a/libc/sysv/consts/S_IROTH.S b/libc/sysv/consts/S_IROTH.S index 49fcd7bddcf..1492a931bce 100644 --- a/libc/sysv/consts/S_IROTH.S +++ b/libc/sysv/consts/S_IROTH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IROTH 00004 00004 00004 00004 00004 00004 +.syscon stat,S_IROTH,00004,00004,00004,00004,00004,00004 diff --git a/libc/sysv/consts/S_IRUSR.S b/libc/sysv/consts/S_IRUSR.S index 3254ab278c2..69802c4cfa4 100644 --- a/libc/sysv/consts/S_IRUSR.S +++ b/libc/sysv/consts/S_IRUSR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IRUSR 00400 00400 00400 00400 00400 00400 +.syscon stat,S_IRUSR,00400,00400,00400,00400,00400,00400 diff --git a/libc/sysv/consts/S_IRWXG.S b/libc/sysv/consts/S_IRWXG.S index 9695b8bdef8..dd2f6f75511 100644 --- a/libc/sysv/consts/S_IRWXG.S +++ b/libc/sysv/consts/S_IRWXG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IRWXG 00070 00070 00070 00070 00070 00070 +.syscon stat,S_IRWXG,00070,00070,00070,00070,00070,00070 diff --git a/libc/sysv/consts/S_IRWXO.S b/libc/sysv/consts/S_IRWXO.S index a8cccc0ba2a..17fb95261b7 100644 --- a/libc/sysv/consts/S_IRWXO.S +++ b/libc/sysv/consts/S_IRWXO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IRWXO 00007 00007 00007 00007 00007 00007 +.syscon stat,S_IRWXO,00007,00007,00007,00007,00007,00007 diff --git a/libc/sysv/consts/S_IRWXU.S b/libc/sysv/consts/S_IRWXU.S index 5d6a95a3182..3be366d685f 100644 --- a/libc/sysv/consts/S_IRWXU.S +++ b/libc/sysv/consts/S_IRWXU.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IRWXU 00700 00700 00700 00700 00700 00700 +.syscon stat,S_IRWXU,00700,00700,00700,00700,00700,00700 diff --git a/libc/sysv/consts/S_ISGID.S b/libc/sysv/consts/S_ISGID.S index a537adf4cd5..3b5294408db 100644 --- a/libc/sysv/consts/S_ISGID.S +++ b/libc/sysv/consts/S_ISGID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_ISGID 02000 02000 02000 02000 02000 02000 +.syscon stat,S_ISGID,02000,02000,02000,02000,02000,02000 diff --git a/libc/sysv/consts/S_ISUID.S b/libc/sysv/consts/S_ISUID.S index 07414724c05..7967994842c 100644 --- a/libc/sysv/consts/S_ISUID.S +++ b/libc/sysv/consts/S_ISUID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_ISUID 04000 04000 04000 04000 04000 04000 +.syscon stat,S_ISUID,04000,04000,04000,04000,04000,04000 diff --git a/libc/sysv/consts/S_ISVTX.S b/libc/sysv/consts/S_ISVTX.S index 59496b1647a..5f1251d1c5c 100644 --- a/libc/sysv/consts/S_ISVTX.S +++ b/libc/sysv/consts/S_ISVTX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_ISVTX 01000 01000 01000 01000 01000 01000 +.syscon stat,S_ISVTX,01000,01000,01000,01000,01000,01000 diff --git a/libc/sysv/consts/S_IWGRP.S b/libc/sysv/consts/S_IWGRP.S index bd2ec5505bb..22defc1eb81 100644 --- a/libc/sysv/consts/S_IWGRP.S +++ b/libc/sysv/consts/S_IWGRP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IWGRP 00020 00020 00020 00020 00020 00020 +.syscon stat,S_IWGRP,00020,00020,00020,00020,00020,00020 diff --git a/libc/sysv/consts/S_IWOTH.S b/libc/sysv/consts/S_IWOTH.S index 16f72d3ed15..c760e0098cb 100644 --- a/libc/sysv/consts/S_IWOTH.S +++ b/libc/sysv/consts/S_IWOTH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IWOTH 00002 00002 00002 00002 00002 00002 +.syscon stat,S_IWOTH,00002,00002,00002,00002,00002,00002 diff --git a/libc/sysv/consts/S_IWRITE.S b/libc/sysv/consts/S_IWRITE.S index 40083227bbe..9663e1a6fd5 100644 --- a/libc/sysv/consts/S_IWRITE.S +++ b/libc/sysv/consts/S_IWRITE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IWRITE 00200 00200 00200 00200 00200 00200 +.syscon stat,S_IWRITE,00200,00200,00200,00200,00200,00200 diff --git a/libc/sysv/consts/S_IWUSR.S b/libc/sysv/consts/S_IWUSR.S index efd37a05284..e6493ff0ba7 100644 --- a/libc/sysv/consts/S_IWUSR.S +++ b/libc/sysv/consts/S_IWUSR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IWUSR 00200 00200 00200 00200 00200 00200 +.syscon stat,S_IWUSR,00200,00200,00200,00200,00200,00200 diff --git a/libc/sysv/consts/S_IXGRP.S b/libc/sysv/consts/S_IXGRP.S index 08a05f7b279..9db4c424be4 100644 --- a/libc/sysv/consts/S_IXGRP.S +++ b/libc/sysv/consts/S_IXGRP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IXGRP 00010 00010 00010 00010 00010 00010 +.syscon stat,S_IXGRP,00010,00010,00010,00010,00010,00010 diff --git a/libc/sysv/consts/S_IXOTH.S b/libc/sysv/consts/S_IXOTH.S index 5bb0e7dabc5..74329aeeff2 100644 --- a/libc/sysv/consts/S_IXOTH.S +++ b/libc/sysv/consts/S_IXOTH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IXOTH 00001 00001 00001 00001 00001 00001 +.syscon stat,S_IXOTH,00001,00001,00001,00001,00001,00001 diff --git a/libc/sysv/consts/S_IXUSR.S b/libc/sysv/consts/S_IXUSR.S index 73acb67d356..d91c1152547 100644 --- a/libc/sysv/consts/S_IXUSR.S +++ b/libc/sysv/consts/S_IXUSR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon stat S_IXUSR 00100 00100 00100 00100 00100 00100 +.syscon stat,S_IXUSR,00100,00100,00100,00100,00100,00100 diff --git a/libc/sysv/consts/TAB0.S b/libc/sysv/consts/TAB0.S index 63fbd0000ca..a7ef5756b93 100644 --- a/libc/sysv/consts/TAB0.S +++ b/libc/sysv/consts/TAB0.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TAB0 0b0000000000000000 0b000000000000000000 0b000000000000000000 0 0 0b0000000000000000 +.syscon termios,TAB0,0b0000000000000000,0b000000000000000000,0b000000000000000000,0,0,0b0000000000000000 diff --git a/libc/sysv/consts/TAB1.S b/libc/sysv/consts/TAB1.S index acb6b556a5d..313a37ee577 100644 --- a/libc/sysv/consts/TAB1.S +++ b/libc/sysv/consts/TAB1.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TAB1 0b0000100000000000 0b000000010000000000 0b000000010000000000 0 0 0b0000100000000000 +.syscon termios,TAB1,0b0000100000000000,0b000000010000000000,0b000000010000000000,0,0,0b0000100000000000 diff --git a/libc/sysv/consts/TAB2.S b/libc/sysv/consts/TAB2.S index 207a9959d3b..cdb7413955f 100644 --- a/libc/sysv/consts/TAB2.S +++ b/libc/sysv/consts/TAB2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TAB2 0b0001000000000000 0b000000100000000000 0b000000100000000000 0 0 0b0001000000000000 +.syscon termios,TAB2,0b0001000000000000,0b000000100000000000,0b000000100000000000,0,0,0b0001000000000000 diff --git a/libc/sysv/consts/TAB3.S b/libc/sysv/consts/TAB3.S index 66be6e7c8d0..62041474667 100644 --- a/libc/sysv/consts/TAB3.S +++ b/libc/sysv/consts/TAB3.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TAB3 0b0001100000000000 0b000000000000000100 0b000000000000000100 0 0 0b0001100000000000 +.syscon termios,TAB3,0b0001100000000000,0b000000000000000100,0b000000000000000100,0,0,0b0001100000000000 diff --git a/libc/sysv/consts/TABDLY.S b/libc/sysv/consts/TABDLY.S index 22ccd2a8894..9155dbea8a8 100644 --- a/libc/sysv/consts/TABDLY.S +++ b/libc/sysv/consts/TABDLY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TABDLY 0b0001100000000000 0b000000110000000100 0b000000000000000100 0 0 0b0001100000000000 +.syscon termios,TABDLY,0b0001100000000000,0b000000110000000100,0b000000000000000100,0,0,0b0001100000000000 diff --git a/libc/sysv/consts/TABLDISC.S b/libc/sysv/consts/TABLDISC.S index 589464cbe5e..bc2f07e01bd 100644 --- a/libc/sysv/consts/TABLDISC.S +++ b/libc/sysv/consts/TABLDISC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TABLDISC 0 0x3 0 0x3 0x3 -1 +.syscon termios,TABLDISC,0,0x3,0,0x3,0x3,-1 diff --git a/libc/sysv/consts/TCFLSH.S b/libc/sysv/consts/TCFLSH.S index 8c9a1b29d29..af83feb9af5 100644 --- a/libc/sysv/consts/TCFLSH.S +++ b/libc/sysv/consts/TCFLSH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TCFLSH 0x540b 0 0 0 0 0 +.syscon misc,TCFLSH,0x540b,0,0,0,0,0 diff --git a/libc/sysv/consts/TCGETS.S b/libc/sysv/consts/TCGETS.S index 9c9abc86bd9..1283973337f 100644 --- a/libc/sysv/consts/TCGETS.S +++ b/libc/sysv/consts/TCGETS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TCGETS 0x5401 0x40487413 0x402c7413 0x402c7413 0x402c7413 -1 +.syscon termios,TCGETS,0x5401,0x40487413,0x402c7413,0x402c7413,0x402c7413,-1 diff --git a/libc/sysv/consts/TCIFLUSH.S b/libc/sysv/consts/TCIFLUSH.S index 01f93e5f40b..5acc423f209 100644 --- a/libc/sysv/consts/TCIFLUSH.S +++ b/libc/sysv/consts/TCIFLUSH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TCIFLUSH 0 1 1 1 1 0 +.syscon misc,TCIFLUSH,0,1,1,1,1,0 diff --git a/libc/sysv/consts/TCIOFF.S b/libc/sysv/consts/TCIOFF.S index cc59905124f..58f8bd649d4 100644 --- a/libc/sysv/consts/TCIOFF.S +++ b/libc/sysv/consts/TCIOFF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TCIOFF 2 3 3 3 3 0 +.syscon misc,TCIOFF,2,3,3,3,3,0 diff --git a/libc/sysv/consts/TCIOFLUSH.S b/libc/sysv/consts/TCIOFLUSH.S index d1024427c71..a62678a3720 100644 --- a/libc/sysv/consts/TCIOFLUSH.S +++ b/libc/sysv/consts/TCIOFLUSH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TCIOFLUSH 2 3 3 3 3 0 +.syscon misc,TCIOFLUSH,2,3,3,3,3,0 diff --git a/libc/sysv/consts/TCION.S b/libc/sysv/consts/TCION.S index 52b267809b2..b8e5f2d7228 100644 --- a/libc/sysv/consts/TCION.S +++ b/libc/sysv/consts/TCION.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TCION 3 4 4 4 4 0 +.syscon misc,TCION,3,4,4,4,4,0 diff --git a/libc/sysv/consts/TCOFLUSH.S b/libc/sysv/consts/TCOFLUSH.S index f0e150c8d68..717e0ad829f 100644 --- a/libc/sysv/consts/TCOFLUSH.S +++ b/libc/sysv/consts/TCOFLUSH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TCOFLUSH 1 2 2 2 2 0 +.syscon misc,TCOFLUSH,1,2,2,2,2,0 diff --git a/libc/sysv/consts/TCOOFF.S b/libc/sysv/consts/TCOOFF.S index c248b869f80..6a35619a0fe 100644 --- a/libc/sysv/consts/TCOOFF.S +++ b/libc/sysv/consts/TCOOFF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TCOOFF 0 1 1 1 1 0 +.syscon misc,TCOOFF,0,1,1,1,1,0 diff --git a/libc/sysv/consts/TCOON.S b/libc/sysv/consts/TCOON.S index da3eb97b14a..01b15fc94c2 100644 --- a/libc/sysv/consts/TCOON.S +++ b/libc/sysv/consts/TCOON.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TCOON 1 2 2 2 2 0 +.syscon misc,TCOON,1,2,2,2,2,0 diff --git a/libc/sysv/consts/TCPOLEN_MAXSEG.S b/libc/sysv/consts/TCPOLEN_MAXSEG.S index 349a09e93d3..c5b7e3b4a9e 100644 --- a/libc/sysv/consts/TCPOLEN_MAXSEG.S +++ b/libc/sysv/consts/TCPOLEN_MAXSEG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TCPOLEN_MAXSEG 4 4 4 4 4 0 +.syscon misc,TCPOLEN_MAXSEG,4,4,4,4,4,0 diff --git a/libc/sysv/consts/TCPOLEN_SACK_PERMITTED.S b/libc/sysv/consts/TCPOLEN_SACK_PERMITTED.S index b94e976d6eb..66c9b9044f8 100644 --- a/libc/sysv/consts/TCPOLEN_SACK_PERMITTED.S +++ b/libc/sysv/consts/TCPOLEN_SACK_PERMITTED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TCPOLEN_SACK_PERMITTED 2 2 2 2 2 0 +.syscon misc,TCPOLEN_SACK_PERMITTED,2,2,2,2,2,0 diff --git a/libc/sysv/consts/TCPOLEN_TIMESTAMP.S b/libc/sysv/consts/TCPOLEN_TIMESTAMP.S index 34ed00e905f..b34f8972534 100644 --- a/libc/sysv/consts/TCPOLEN_TIMESTAMP.S +++ b/libc/sysv/consts/TCPOLEN_TIMESTAMP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TCPOLEN_TIMESTAMP 10 10 10 10 10 0 +.syscon misc,TCPOLEN_TIMESTAMP,10,10,10,10,10,0 diff --git a/libc/sysv/consts/TCPOLEN_WINDOW.S b/libc/sysv/consts/TCPOLEN_WINDOW.S index 82a3e37111d..f99ddcdf048 100644 --- a/libc/sysv/consts/TCPOLEN_WINDOW.S +++ b/libc/sysv/consts/TCPOLEN_WINDOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TCPOLEN_WINDOW 3 3 3 3 3 0 +.syscon misc,TCPOLEN_WINDOW,3,3,3,3,3,0 diff --git a/libc/sysv/consts/TCPOPT_EOL.S b/libc/sysv/consts/TCPOPT_EOL.S index 73f1de45dde..e493e1f3c9c 100644 --- a/libc/sysv/consts/TCPOPT_EOL.S +++ b/libc/sysv/consts/TCPOPT_EOL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TCPOPT_EOL 0 0 0 0 0 0 +.syscon misc,TCPOPT_EOL,0,0,0,0,0,0 diff --git a/libc/sysv/consts/TCPOPT_MAXSEG.S b/libc/sysv/consts/TCPOPT_MAXSEG.S index 810012c3822..53791eecae4 100644 --- a/libc/sysv/consts/TCPOPT_MAXSEG.S +++ b/libc/sysv/consts/TCPOPT_MAXSEG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TCPOPT_MAXSEG 2 2 2 2 2 0 +.syscon misc,TCPOPT_MAXSEG,2,2,2,2,2,0 diff --git a/libc/sysv/consts/TCPOPT_NOP.S b/libc/sysv/consts/TCPOPT_NOP.S index 4ffda07c5f7..2341664ae72 100644 --- a/libc/sysv/consts/TCPOPT_NOP.S +++ b/libc/sysv/consts/TCPOPT_NOP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TCPOPT_NOP 1 1 1 1 1 0 +.syscon misc,TCPOPT_NOP,1,1,1,1,1,0 diff --git a/libc/sysv/consts/TCPOPT_SACK.S b/libc/sysv/consts/TCPOPT_SACK.S index f6166795dc0..8072cd61200 100644 --- a/libc/sysv/consts/TCPOPT_SACK.S +++ b/libc/sysv/consts/TCPOPT_SACK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TCPOPT_SACK 5 5 5 5 5 0 +.syscon misc,TCPOPT_SACK,5,5,5,5,5,0 diff --git a/libc/sysv/consts/TCPOPT_SACK_PERMITTED.S b/libc/sysv/consts/TCPOPT_SACK_PERMITTED.S index 02e98fc854d..0fd954d7dca 100644 --- a/libc/sysv/consts/TCPOPT_SACK_PERMITTED.S +++ b/libc/sysv/consts/TCPOPT_SACK_PERMITTED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TCPOPT_SACK_PERMITTED 4 4 4 4 4 0 +.syscon misc,TCPOPT_SACK_PERMITTED,4,4,4,4,4,0 diff --git a/libc/sysv/consts/TCPOPT_TIMESTAMP.S b/libc/sysv/consts/TCPOPT_TIMESTAMP.S index 46cebacb387..de78bcf2dbe 100644 --- a/libc/sysv/consts/TCPOPT_TIMESTAMP.S +++ b/libc/sysv/consts/TCPOPT_TIMESTAMP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TCPOPT_TIMESTAMP 8 8 8 8 8 0 +.syscon misc,TCPOPT_TIMESTAMP,8,8,8,8,8,0 diff --git a/libc/sysv/consts/TCPOPT_WINDOW.S b/libc/sysv/consts/TCPOPT_WINDOW.S index a04022cfa32..53362465c68 100644 --- a/libc/sysv/consts/TCPOPT_WINDOW.S +++ b/libc/sysv/consts/TCPOPT_WINDOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TCPOPT_WINDOW 3 3 3 3 3 0 +.syscon misc,TCPOPT_WINDOW,3,3,3,3,3,0 diff --git a/libc/sysv/consts/TCP_CC_INFO.S b/libc/sysv/consts/TCP_CC_INFO.S index 1edc459472c..9c9e9bc68f0 100644 --- a/libc/sysv/consts/TCP_CC_INFO.S +++ b/libc/sysv/consts/TCP_CC_INFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_CC_INFO 26 0 0 0 0 0 +.syscon tcp,TCP_CC_INFO,26,0,0,0,0,0 diff --git a/libc/sysv/consts/TCP_CONGESTION.S b/libc/sysv/consts/TCP_CONGESTION.S index 381abe10c94..84cd5a4d14c 100644 --- a/libc/sysv/consts/TCP_CONGESTION.S +++ b/libc/sysv/consts/TCP_CONGESTION.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_CONGESTION 13 0 0x40 0 0 0 +.syscon tcp,TCP_CONGESTION,13,0,0x40,0,0,0 diff --git a/libc/sysv/consts/TCP_COOKIE_TRANSACTIONS.S b/libc/sysv/consts/TCP_COOKIE_TRANSACTIONS.S index 03c3a9aa190..c36f1a3d144 100644 --- a/libc/sysv/consts/TCP_COOKIE_TRANSACTIONS.S +++ b/libc/sysv/consts/TCP_COOKIE_TRANSACTIONS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_COOKIE_TRANSACTIONS 15 0 0 0 0 0 +.syscon tcp,TCP_COOKIE_TRANSACTIONS,15,0,0,0,0,0 diff --git a/libc/sysv/consts/TCP_CORK.S b/libc/sysv/consts/TCP_CORK.S index 46670a34661..4417f680c9b 100644 --- a/libc/sysv/consts/TCP_CORK.S +++ b/libc/sysv/consts/TCP_CORK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_CORK 3 0 0 0 0 0 +.syscon tcp,TCP_CORK,3,0,0,0,0,0 diff --git a/libc/sysv/consts/TCP_DEFER_ACCEPT.S b/libc/sysv/consts/TCP_DEFER_ACCEPT.S index cfa9beb50cf..d3d84ea39cd 100644 --- a/libc/sysv/consts/TCP_DEFER_ACCEPT.S +++ b/libc/sysv/consts/TCP_DEFER_ACCEPT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_DEFER_ACCEPT 9 0 0 0 0 0 +.syscon tcp,TCP_DEFER_ACCEPT,9,0,0,0,0,0 diff --git a/libc/sysv/consts/TCP_FASTOPEN.S b/libc/sysv/consts/TCP_FASTOPEN.S index 0db3ae52251..952b696e2d2 100644 --- a/libc/sysv/consts/TCP_FASTOPEN.S +++ b/libc/sysv/consts/TCP_FASTOPEN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_FASTOPEN 23 261 0x0401 0 0 15 +.syscon tcp,TCP_FASTOPEN,23,261,0x0401,0,0,15 diff --git a/libc/sysv/consts/TCP_INFO.S b/libc/sysv/consts/TCP_INFO.S index 6ec82f30281..c0b172dfd7b 100644 --- a/libc/sysv/consts/TCP_INFO.S +++ b/libc/sysv/consts/TCP_INFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_INFO 11 0 0x20 0 0 0 +.syscon tcp,TCP_INFO,11,0,0x20,0,0,0 diff --git a/libc/sysv/consts/TCP_KEEPCNT.S b/libc/sysv/consts/TCP_KEEPCNT.S index 30fe0e31235..007b3fbfcf8 100644 --- a/libc/sysv/consts/TCP_KEEPCNT.S +++ b/libc/sysv/consts/TCP_KEEPCNT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_KEEPCNT 6 0x102 0x400 0 0 0 +.syscon tcp,TCP_KEEPCNT,6,0x102,0x400,0,0,0 diff --git a/libc/sysv/consts/TCP_KEEPIDLE.S b/libc/sysv/consts/TCP_KEEPIDLE.S index 1eff01d9f25..567b0763076 100644 --- a/libc/sysv/consts/TCP_KEEPIDLE.S +++ b/libc/sysv/consts/TCP_KEEPIDLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_KEEPIDLE 4 0 0x100 0 0 0 +.syscon tcp,TCP_KEEPIDLE,4,0,0x100,0,0,0 diff --git a/libc/sysv/consts/TCP_KEEPINTVL.S b/libc/sysv/consts/TCP_KEEPINTVL.S index ef02a91eb5f..9896d8a4bec 100644 --- a/libc/sysv/consts/TCP_KEEPINTVL.S +++ b/libc/sysv/consts/TCP_KEEPINTVL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_KEEPINTVL 5 0x101 0x200 0 0 0 +.syscon tcp,TCP_KEEPINTVL,5,0x101,0x200,0,0,0 diff --git a/libc/sysv/consts/TCP_LINGER2.S b/libc/sysv/consts/TCP_LINGER2.S index d31f776e197..2616e3ff234 100644 --- a/libc/sysv/consts/TCP_LINGER2.S +++ b/libc/sysv/consts/TCP_LINGER2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_LINGER2 8 0 0 0 0 0 +.syscon tcp,TCP_LINGER2,8,0,0,0,0,0 diff --git a/libc/sysv/consts/TCP_MAXSEG.S b/libc/sysv/consts/TCP_MAXSEG.S index 1479989af85..535bb79ee30 100644 --- a/libc/sysv/consts/TCP_MAXSEG.S +++ b/libc/sysv/consts/TCP_MAXSEG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_MAXSEG 2 2 2 2 2 0 +.syscon tcp,TCP_MAXSEG,2,2,2,2,2,0 diff --git a/libc/sysv/consts/TCP_MD5SIG.S b/libc/sysv/consts/TCP_MD5SIG.S index b07def50099..ef90a99fbee 100644 --- a/libc/sysv/consts/TCP_MD5SIG.S +++ b/libc/sysv/consts/TCP_MD5SIG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_MD5SIG 14 0 0x10 4 4 0 +.syscon tcp,TCP_MD5SIG,14,0,0x10,4,4,0 diff --git a/libc/sysv/consts/TCP_MD5SIG_MAXKEYLEN.S b/libc/sysv/consts/TCP_MD5SIG_MAXKEYLEN.S index 539341d91ee..020bb46dbb6 100644 --- a/libc/sysv/consts/TCP_MD5SIG_MAXKEYLEN.S +++ b/libc/sysv/consts/TCP_MD5SIG_MAXKEYLEN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_MD5SIG_MAXKEYLEN 80 0 0 0 0 0 +.syscon tcp,TCP_MD5SIG_MAXKEYLEN,80,0,0,0,0,0 diff --git a/libc/sysv/consts/TCP_NODELAY.S b/libc/sysv/consts/TCP_NODELAY.S index 39ed7369715..d58ce7626b0 100644 --- a/libc/sysv/consts/TCP_NODELAY.S +++ b/libc/sysv/consts/TCP_NODELAY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_NODELAY 1 1 1 1 1 1 +.syscon tcp,TCP_NODELAY,1,1,1,1,1,1 diff --git a/libc/sysv/consts/TCP_NOTSENT_LOWAT.S b/libc/sysv/consts/TCP_NOTSENT_LOWAT.S index f82da54b538..9dd38608337 100644 --- a/libc/sysv/consts/TCP_NOTSENT_LOWAT.S +++ b/libc/sysv/consts/TCP_NOTSENT_LOWAT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_NOTSENT_LOWAT 25 513 0 0 0 0 +.syscon tcp,TCP_NOTSENT_LOWAT,25,513,0,0,0,0 diff --git a/libc/sysv/consts/TCP_QUEUE_SEQ.S b/libc/sysv/consts/TCP_QUEUE_SEQ.S index 9e5ec43aa6f..cf20077ef13 100644 --- a/libc/sysv/consts/TCP_QUEUE_SEQ.S +++ b/libc/sysv/consts/TCP_QUEUE_SEQ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_QUEUE_SEQ 21 0 0 0 0 0 +.syscon tcp,TCP_QUEUE_SEQ,21,0,0,0,0,0 diff --git a/libc/sysv/consts/TCP_QUICKACK.S b/libc/sysv/consts/TCP_QUICKACK.S index bafb8af7f1e..e0a8aede76b 100644 --- a/libc/sysv/consts/TCP_QUICKACK.S +++ b/libc/sysv/consts/TCP_QUICKACK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_QUICKACK 12 0 0 0 0 0 +.syscon tcp,TCP_QUICKACK,12,0,0,0,0,0 diff --git a/libc/sysv/consts/TCP_REPAIR.S b/libc/sysv/consts/TCP_REPAIR.S index cfd71652303..ba8d9b3e79c 100644 --- a/libc/sysv/consts/TCP_REPAIR.S +++ b/libc/sysv/consts/TCP_REPAIR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_REPAIR 19 0 0 0 0 0 +.syscon tcp,TCP_REPAIR,19,0,0,0,0,0 diff --git a/libc/sysv/consts/TCP_REPAIR_OPTIONS.S b/libc/sysv/consts/TCP_REPAIR_OPTIONS.S index a0eda8cb964..b21f2fe6f2b 100644 --- a/libc/sysv/consts/TCP_REPAIR_OPTIONS.S +++ b/libc/sysv/consts/TCP_REPAIR_OPTIONS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_REPAIR_OPTIONS 22 0 0 0 0 0 +.syscon tcp,TCP_REPAIR_OPTIONS,22,0,0,0,0,0 diff --git a/libc/sysv/consts/TCP_REPAIR_QUEUE.S b/libc/sysv/consts/TCP_REPAIR_QUEUE.S index 239fab394bb..09a5e8a6840 100644 --- a/libc/sysv/consts/TCP_REPAIR_QUEUE.S +++ b/libc/sysv/consts/TCP_REPAIR_QUEUE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_REPAIR_QUEUE 20 0 0 0 0 0 +.syscon tcp,TCP_REPAIR_QUEUE,20,0,0,0,0,0 diff --git a/libc/sysv/consts/TCP_SAVED_SYN.S b/libc/sysv/consts/TCP_SAVED_SYN.S index 6642a65c5bf..1823c960450 100644 --- a/libc/sysv/consts/TCP_SAVED_SYN.S +++ b/libc/sysv/consts/TCP_SAVED_SYN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_SAVED_SYN 28 0 0 0 0 0 +.syscon tcp,TCP_SAVED_SYN,28,0,0,0,0,0 diff --git a/libc/sysv/consts/TCP_SAVE_SYN.S b/libc/sysv/consts/TCP_SAVE_SYN.S index ddcf45f21e8..dc3686e9f31 100644 --- a/libc/sysv/consts/TCP_SAVE_SYN.S +++ b/libc/sysv/consts/TCP_SAVE_SYN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_SAVE_SYN 27 0 0 0 0 0 +.syscon tcp,TCP_SAVE_SYN,27,0,0,0,0,0 diff --git a/libc/sysv/consts/TCP_SYNCNT.S b/libc/sysv/consts/TCP_SYNCNT.S index 9ae76d0f3b8..650f57ec03a 100644 --- a/libc/sysv/consts/TCP_SYNCNT.S +++ b/libc/sysv/consts/TCP_SYNCNT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_SYNCNT 7 0 0 0 0 0 +.syscon tcp,TCP_SYNCNT,7,0,0,0,0,0 diff --git a/libc/sysv/consts/TCP_THIN_DUPACK.S b/libc/sysv/consts/TCP_THIN_DUPACK.S index e452736390f..3b5f1daa00a 100644 --- a/libc/sysv/consts/TCP_THIN_DUPACK.S +++ b/libc/sysv/consts/TCP_THIN_DUPACK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_THIN_DUPACK 17 0 0 0 0 0 +.syscon tcp,TCP_THIN_DUPACK,17,0,0,0,0,0 diff --git a/libc/sysv/consts/TCP_THIN_LINEAR_TIMEOUTS.S b/libc/sysv/consts/TCP_THIN_LINEAR_TIMEOUTS.S index 1d7c3ee02ce..dac1ec99aad 100644 --- a/libc/sysv/consts/TCP_THIN_LINEAR_TIMEOUTS.S +++ b/libc/sysv/consts/TCP_THIN_LINEAR_TIMEOUTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_THIN_LINEAR_TIMEOUTS 16 0 0 0 0 0 +.syscon tcp,TCP_THIN_LINEAR_TIMEOUTS,16,0,0,0,0,0 diff --git a/libc/sysv/consts/TCP_TIMESTAMP.S b/libc/sysv/consts/TCP_TIMESTAMP.S index 3f17f198c31..0421ae602b5 100644 --- a/libc/sysv/consts/TCP_TIMESTAMP.S +++ b/libc/sysv/consts/TCP_TIMESTAMP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_TIMESTAMP 24 0 0 0 0 0 +.syscon tcp,TCP_TIMESTAMP,24,0,0,0,0,0 diff --git a/libc/sysv/consts/TCP_USER_TIMEOUT.S b/libc/sysv/consts/TCP_USER_TIMEOUT.S index d16b6db257b..a5f513e12b7 100644 --- a/libc/sysv/consts/TCP_USER_TIMEOUT.S +++ b/libc/sysv/consts/TCP_USER_TIMEOUT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_USER_TIMEOUT 18 0 0 0 0 0 +.syscon tcp,TCP_USER_TIMEOUT,18,0,0,0,0,0 diff --git a/libc/sysv/consts/TCP_WINDOW_CLAMP.S b/libc/sysv/consts/TCP_WINDOW_CLAMP.S index f3a56898999..0b45e0d258d 100644 --- a/libc/sysv/consts/TCP_WINDOW_CLAMP.S +++ b/libc/sysv/consts/TCP_WINDOW_CLAMP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon tcp TCP_WINDOW_CLAMP 10 0 0 0 0 0 +.syscon tcp,TCP_WINDOW_CLAMP,10,0,0,0,0,0 diff --git a/libc/sysv/consts/TCSADRAIN.S b/libc/sysv/consts/TCSADRAIN.S index 6d237a3fbb8..610e7f8d2f2 100644 --- a/libc/sysv/consts/TCSADRAIN.S +++ b/libc/sysv/consts/TCSADRAIN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TCSADRAIN 1 1 1 1 1 1 +.syscon termios,TCSADRAIN,1,1,1,1,1,1 diff --git a/libc/sysv/consts/TCSAFLUSH.S b/libc/sysv/consts/TCSAFLUSH.S index e4f7627d530..361536ba610 100644 --- a/libc/sysv/consts/TCSAFLUSH.S +++ b/libc/sysv/consts/TCSAFLUSH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TCSAFLUSH 2 2 2 2 2 2 +.syscon termios,TCSAFLUSH,2,2,2,2,2,2 diff --git a/libc/sysv/consts/TCSANOW.S b/libc/sysv/consts/TCSANOW.S index 7bb4aeac6c8..32ca3e52613 100644 --- a/libc/sysv/consts/TCSANOW.S +++ b/libc/sysv/consts/TCSANOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TCSANOW 0 0 0 0 0 0 +.syscon termios,TCSANOW,0,0,0,0,0,0 diff --git a/libc/sysv/consts/TCSETS.S b/libc/sysv/consts/TCSETS.S index 46f64be4103..c9b831c542d 100644 --- a/libc/sysv/consts/TCSETS.S +++ b/libc/sysv/consts/TCSETS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TCSETS 0x5402 0x80487414 0x802c7414 0x802c7414 0x802c7414 0x5402 +.syscon termios,TCSETS,0x5402,0x80487414,0x802c7414,0x802c7414,0x802c7414,0x5402 diff --git a/libc/sysv/consts/TCSETSF.S b/libc/sysv/consts/TCSETSF.S index 0d153636050..59b21440dfe 100644 --- a/libc/sysv/consts/TCSETSF.S +++ b/libc/sysv/consts/TCSETSF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TCSETSF 0x5404 0x80487416 0x802c7416 0x802c7416 0x802c7416 0x5404 +.syscon termios,TCSETSF,0x5404,0x80487416,0x802c7416,0x802c7416,0x802c7416,0x5404 diff --git a/libc/sysv/consts/TCSETSW.S b/libc/sysv/consts/TCSETSW.S index 3389db0cc9e..10075be5f5e 100644 --- a/libc/sysv/consts/TCSETSW.S +++ b/libc/sysv/consts/TCSETSW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TCSETSW 0x5403 0x80487415 0x802c7415 0x802c7415 0x802c7415 0x5403 +.syscon termios,TCSETSW,0x5403,0x80487415,0x802c7415,0x802c7415,0x802c7415,0x5403 diff --git a/libc/sysv/consts/TELOPT_NAOL.S b/libc/sysv/consts/TELOPT_NAOL.S index 8ac771de423..bd44776b65c 100644 --- a/libc/sysv/consts/TELOPT_NAOL.S +++ b/libc/sysv/consts/TELOPT_NAOL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TELOPT_NAOL 8 8 8 8 8 0 +.syscon misc,TELOPT_NAOL,8,8,8,8,8,0 diff --git a/libc/sysv/consts/TELOPT_NAOP.S b/libc/sysv/consts/TELOPT_NAOP.S index c6b6ada605a..7f5ef0dbd32 100644 --- a/libc/sysv/consts/TELOPT_NAOP.S +++ b/libc/sysv/consts/TELOPT_NAOP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TELOPT_NAOP 9 9 9 9 9 0 +.syscon misc,TELOPT_NAOP,9,9,9,9,9,0 diff --git a/libc/sysv/consts/TELOPT_NEW_ENVIRON.S b/libc/sysv/consts/TELOPT_NEW_ENVIRON.S index 85aaa778b4b..92f2cdd587b 100644 --- a/libc/sysv/consts/TELOPT_NEW_ENVIRON.S +++ b/libc/sysv/consts/TELOPT_NEW_ENVIRON.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TELOPT_NEW_ENVIRON 39 39 39 39 39 0 +.syscon misc,TELOPT_NEW_ENVIRON,39,39,39,39,39,0 diff --git a/libc/sysv/consts/TELOPT_OLD_ENVIRON.S b/libc/sysv/consts/TELOPT_OLD_ENVIRON.S index 44aca2f02ec..e65db7a5cb8 100644 --- a/libc/sysv/consts/TELOPT_OLD_ENVIRON.S +++ b/libc/sysv/consts/TELOPT_OLD_ENVIRON.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TELOPT_OLD_ENVIRON 36 36 36 36 36 0 +.syscon misc,TELOPT_OLD_ENVIRON,36,36,36,36,36,0 diff --git a/libc/sysv/consts/TEST_UNIT_READY.S b/libc/sysv/consts/TEST_UNIT_READY.S index 776db56a716..da289e6ab6e 100644 --- a/libc/sysv/consts/TEST_UNIT_READY.S +++ b/libc/sysv/consts/TEST_UNIT_READY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TEST_UNIT_READY 0 0 0 0 0 0 +.syscon misc,TEST_UNIT_READY,0,0,0,0,0,0 diff --git a/libc/sysv/consts/TFD_CLOEXEC.S b/libc/sysv/consts/TFD_CLOEXEC.S index 710aa7bc7b9..7d3c9b071bc 100644 --- a/libc/sysv/consts/TFD_CLOEXEC.S +++ b/libc/sysv/consts/TFD_CLOEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TFD_CLOEXEC 0x080000 0 0 0 0 0 +.syscon misc,TFD_CLOEXEC,0x080000,0,0,0,0,0 diff --git a/libc/sysv/consts/TFD_NONBLOCK.S b/libc/sysv/consts/TFD_NONBLOCK.S index 80ed7deaa81..747f0e5aa2c 100644 --- a/libc/sysv/consts/TFD_NONBLOCK.S +++ b/libc/sysv/consts/TFD_NONBLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TFD_NONBLOCK 0x0800 0 0 0 0 0 +.syscon misc,TFD_NONBLOCK,0x0800,0,0,0,0,0 diff --git a/libc/sysv/consts/TFD_TIMER_ABSTIME.S b/libc/sysv/consts/TFD_TIMER_ABSTIME.S index 31c9f7ecc46..074d0f4b62c 100644 --- a/libc/sysv/consts/TFD_TIMER_ABSTIME.S +++ b/libc/sysv/consts/TFD_TIMER_ABSTIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TFD_TIMER_ABSTIME 1 0 0 0 0 0 +.syscon misc,TFD_TIMER_ABSTIME,1,0,0,0,0,0 diff --git a/libc/sysv/consts/TGEXEC.S b/libc/sysv/consts/TGEXEC.S index 3c28d262e80..0015135ba16 100644 --- a/libc/sysv/consts/TGEXEC.S +++ b/libc/sysv/consts/TGEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TGEXEC 8 8 8 8 8 0 +.syscon misc,TGEXEC,8,8,8,8,8,0 diff --git a/libc/sysv/consts/TGREAD.S b/libc/sysv/consts/TGREAD.S index 6b810d80010..00856e3c71f 100644 --- a/libc/sysv/consts/TGREAD.S +++ b/libc/sysv/consts/TGREAD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TGREAD 0x20 0x20 0x20 0x20 0x20 0 +.syscon misc,TGREAD,0x20,0x20,0x20,0x20,0x20,0 diff --git a/libc/sysv/consts/TGWRITE.S b/libc/sysv/consts/TGWRITE.S index bcffb2a4fc1..c662de0a2de 100644 --- a/libc/sysv/consts/TGWRITE.S +++ b/libc/sysv/consts/TGWRITE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TGWRITE 0x10 0x10 0x10 0x10 0x10 0 +.syscon misc,TGWRITE,0x10,0x10,0x10,0x10,0x10,0 diff --git a/libc/sysv/consts/THOUSEP.S b/libc/sysv/consts/THOUSEP.S index 1bf28a9c5f1..61ba68536a9 100644 --- a/libc/sysv/consts/THOUSEP.S +++ b/libc/sysv/consts/THOUSEP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc THOUSEP 0x010001 51 51 45 45 0 +.syscon misc,THOUSEP,0x010001,51,51,45,45,0 diff --git a/libc/sysv/consts/TH_ACK.S b/libc/sysv/consts/TH_ACK.S index f3e5038c62c..1847e2d1638 100644 --- a/libc/sysv/consts/TH_ACK.S +++ b/libc/sysv/consts/TH_ACK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TH_ACK 16 16 16 16 16 16 +.syscon misc,TH_ACK,16,16,16,16,16,16 diff --git a/libc/sysv/consts/TH_FIN.S b/libc/sysv/consts/TH_FIN.S index 9a996f630f6..9a6cf38a230 100644 --- a/libc/sysv/consts/TH_FIN.S +++ b/libc/sysv/consts/TH_FIN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TH_FIN 1 1 1 1 1 1 +.syscon misc,TH_FIN,1,1,1,1,1,1 diff --git a/libc/sysv/consts/TH_PUSH.S b/libc/sysv/consts/TH_PUSH.S index 8bfa20d4d3d..574fe9a028e 100644 --- a/libc/sysv/consts/TH_PUSH.S +++ b/libc/sysv/consts/TH_PUSH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TH_PUSH 8 8 8 8 8 0 +.syscon misc,TH_PUSH,8,8,8,8,8,0 diff --git a/libc/sysv/consts/TH_RST.S b/libc/sysv/consts/TH_RST.S index 0c82e7d8941..f6a1a676108 100644 --- a/libc/sysv/consts/TH_RST.S +++ b/libc/sysv/consts/TH_RST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TH_RST 4 4 4 4 4 4 +.syscon misc,TH_RST,4,4,4,4,4,4 diff --git a/libc/sysv/consts/TH_SYN.S b/libc/sysv/consts/TH_SYN.S index fc9b1c4762d..fc133046d97 100644 --- a/libc/sysv/consts/TH_SYN.S +++ b/libc/sysv/consts/TH_SYN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TH_SYN 2 2 2 2 2 2 +.syscon misc,TH_SYN,2,2,2,2,2,2 diff --git a/libc/sysv/consts/TH_URG.S b/libc/sysv/consts/TH_URG.S index 3f983978f58..35cead2cb83 100644 --- a/libc/sysv/consts/TH_URG.S +++ b/libc/sysv/consts/TH_URG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TH_URG 32 32 32 32 32 32 +.syscon misc,TH_URG,32,32,32,32,32,32 diff --git a/libc/sysv/consts/TIMER_ABSTIME.S b/libc/sysv/consts/TIMER_ABSTIME.S index dbccae10298..cf291d5f186 100644 --- a/libc/sysv/consts/TIMER_ABSTIME.S +++ b/libc/sysv/consts/TIMER_ABSTIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TIMER_ABSTIME 1 0 1 1 1 0 +.syscon misc,TIMER_ABSTIME,1,0,1,1,1,0 diff --git a/libc/sysv/consts/TIME_UTC.S b/libc/sysv/consts/TIME_UTC.S index c7e37297598..c7432d5c697 100644 --- a/libc/sysv/consts/TIME_UTC.S +++ b/libc/sysv/consts/TIME_UTC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TIME_UTC 1 0 1 0 0 0 +.syscon misc,TIME_UTC,1,0,1,0,0,0 diff --git a/libc/sysv/consts/TIOCCBRK.S b/libc/sysv/consts/TIOCCBRK.S index f44f07981c0..187045c157f 100644 --- a/libc/sysv/consts/TIOCCBRK.S +++ b/libc/sysv/consts/TIOCCBRK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCCBRK 0x5428 0x2000747a 0x2000747a 0x2000747a 0x2000747a -1 +.syscon termios,TIOCCBRK,0x5428,0x2000747a,0x2000747a,0x2000747a,0x2000747a,-1 diff --git a/libc/sysv/consts/TIOCCDTR.S b/libc/sysv/consts/TIOCCDTR.S index 71ab1134885..63cc879981c 100644 --- a/libc/sysv/consts/TIOCCDTR.S +++ b/libc/sysv/consts/TIOCCDTR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCCDTR 0 0x20007478 0x20007478 0x20007478 0x20007478 -1 +.syscon termios,TIOCCDTR,0,0x20007478,0x20007478,0x20007478,0x20007478,-1 diff --git a/libc/sysv/consts/TIOCCHKVERAUTH.S b/libc/sysv/consts/TIOCCHKVERAUTH.S index 03504023677..a31c37db4b5 100644 --- a/libc/sysv/consts/TIOCCHKVERAUTH.S +++ b/libc/sysv/consts/TIOCCHKVERAUTH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCCHKVERAUTH 0 0 0 0x2000741e 0x2000741e -1 +.syscon termios,TIOCCHKVERAUTH,0,0,0,0x2000741e,0x2000741e,-1 diff --git a/libc/sysv/consts/TIOCCONS.S b/libc/sysv/consts/TIOCCONS.S index 6a55a6262ad..f8614a30f11 100644 --- a/libc/sysv/consts/TIOCCONS.S +++ b/libc/sysv/consts/TIOCCONS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCCONS 0x541d 0x80047462 0x80047462 0x80047462 0x80047462 -1 +.syscon termios,TIOCCONS,0x541d,0x80047462,0x80047462,0x80047462,0x80047462,-1 diff --git a/libc/sysv/consts/TIOCDRAIN.S b/libc/sysv/consts/TIOCDRAIN.S index b965f8269d9..2b3c4d27ee1 100644 --- a/libc/sysv/consts/TIOCDRAIN.S +++ b/libc/sysv/consts/TIOCDRAIN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCDRAIN 0 0x2000745e 0x2000745e 0x2000745e 0x2000745e -1 +.syscon termios,TIOCDRAIN,0,0x2000745e,0x2000745e,0x2000745e,0x2000745e,-1 diff --git a/libc/sysv/consts/TIOCEXT.S b/libc/sysv/consts/TIOCEXT.S index 02da80a44b0..abfee4b6a6f 100644 --- a/libc/sysv/consts/TIOCEXT.S +++ b/libc/sysv/consts/TIOCEXT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCEXT 0 0x80047460 0x80047460 0x80047460 0x80047460 -1 +.syscon termios,TIOCEXT,0,0x80047460,0x80047460,0x80047460,0x80047460,-1 diff --git a/libc/sysv/consts/TIOCFLAG_CLOCAL.S b/libc/sysv/consts/TIOCFLAG_CLOCAL.S index 0ea863a9ad2..6ba0790d9db 100644 --- a/libc/sysv/consts/TIOCFLAG_CLOCAL.S +++ b/libc/sysv/consts/TIOCFLAG_CLOCAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCFLAG_CLOCAL 0 0 0 0x2 0x2 -1 +.syscon termios,TIOCFLAG_CLOCAL,0,0,0,0x2,0x2,-1 diff --git a/libc/sysv/consts/TIOCFLAG_MDMBUF.S b/libc/sysv/consts/TIOCFLAG_MDMBUF.S index 2f4997e367f..487aee1e64a 100644 --- a/libc/sysv/consts/TIOCFLAG_MDMBUF.S +++ b/libc/sysv/consts/TIOCFLAG_MDMBUF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCFLAG_MDMBUF 0 0 0 0x8 0x8 -1 +.syscon termios,TIOCFLAG_MDMBUF,0,0,0,0x8,0x8,-1 diff --git a/libc/sysv/consts/TIOCFLAG_PPS.S b/libc/sysv/consts/TIOCFLAG_PPS.S index 6d7074a6eb1..1430b5952bf 100644 --- a/libc/sysv/consts/TIOCFLAG_PPS.S +++ b/libc/sysv/consts/TIOCFLAG_PPS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCFLAG_PPS 0 0 0 0x10 0x10 -1 +.syscon termios,TIOCFLAG_PPS,0,0,0,0x10,0x10,-1 diff --git a/libc/sysv/consts/TIOCFLAG_SOFTCAR.S b/libc/sysv/consts/TIOCFLAG_SOFTCAR.S index c1ffdb434b0..da7037ed402 100644 --- a/libc/sysv/consts/TIOCFLAG_SOFTCAR.S +++ b/libc/sysv/consts/TIOCFLAG_SOFTCAR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCFLAG_SOFTCAR 0 0 0 0x1 0x1 -1 +.syscon termios,TIOCFLAG_SOFTCAR,0,0,0,0x1,0x1,-1 diff --git a/libc/sysv/consts/TIOCFLUSH.S b/libc/sysv/consts/TIOCFLUSH.S index cfbad0deb79..f73920f39d7 100644 --- a/libc/sysv/consts/TIOCFLUSH.S +++ b/libc/sysv/consts/TIOCFLUSH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCFLUSH 0 0x80047410 0x80047410 0x80047410 0x80047410 -1 +.syscon termios,TIOCFLUSH,0,0x80047410,0x80047410,0x80047410,0x80047410,-1 diff --git a/libc/sysv/consts/TIOCGDRAINWAIT.S b/libc/sysv/consts/TIOCGDRAINWAIT.S index ea5ddbe3295..e2b5503ceda 100644 --- a/libc/sysv/consts/TIOCGDRAINWAIT.S +++ b/libc/sysv/consts/TIOCGDRAINWAIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCGDRAINWAIT 0 0x40047456 0x40047456 0 0 -1 +.syscon termios,TIOCGDRAINWAIT,0,0x40047456,0x40047456,0,0,-1 diff --git a/libc/sysv/consts/TIOCGETA.S b/libc/sysv/consts/TIOCGETA.S index 7bca7fb33f5..6ad9c33adcc 100644 --- a/libc/sysv/consts/TIOCGETA.S +++ b/libc/sysv/consts/TIOCGETA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat TIOCGETA 0x5401 0x40487413 0x402c7413 0x402c7413 0x402c7413 -1 +.syscon compat,TIOCGETA,0x5401,0x40487413,0x402c7413,0x402c7413,0x402c7413,-1 diff --git a/libc/sysv/consts/TIOCGETD.S b/libc/sysv/consts/TIOCGETD.S index bf0bdda8190..978b8c2d612 100644 --- a/libc/sysv/consts/TIOCGETD.S +++ b/libc/sysv/consts/TIOCGETD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCGETD 0x5424 0x4004741a 0x4004741a 0x4004741a 0x4004741a -1 +.syscon termios,TIOCGETD,0x5424,0x4004741a,0x4004741a,0x4004741a,0x4004741a,-1 diff --git a/libc/sysv/consts/TIOCGFLAGS.S b/libc/sysv/consts/TIOCGFLAGS.S index ec8dc789cc6..7980a80f99a 100644 --- a/libc/sysv/consts/TIOCGFLAGS.S +++ b/libc/sysv/consts/TIOCGFLAGS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCGFLAGS 0 0 0 0x4004745d 0x4004745d -1 +.syscon termios,TIOCGFLAGS,0,0,0,0x4004745d,0x4004745d,-1 diff --git a/libc/sysv/consts/TIOCGPGRP.S b/libc/sysv/consts/TIOCGPGRP.S index d62dda04248..5dcfc578538 100644 --- a/libc/sysv/consts/TIOCGPGRP.S +++ b/libc/sysv/consts/TIOCGPGRP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCGPGRP 0x540f 0x40047477 0x40047477 0x40047477 0x40047477 -1 +.syscon termios,TIOCGPGRP,0x540f,0x40047477,0x40047477,0x40047477,0x40047477,-1 diff --git a/libc/sysv/consts/TIOCGPTN.S b/libc/sysv/consts/TIOCGPTN.S index 66eb051db12..d3ade0142b1 100644 --- a/libc/sysv/consts/TIOCGPTN.S +++ b/libc/sysv/consts/TIOCGPTN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCGPTN 0x80045430 0 0x4004740f 0 0 -1 +.syscon termios,TIOCGPTN,0x80045430,0,0x4004740f,0,0,-1 diff --git a/libc/sysv/consts/TIOCGSID.S b/libc/sysv/consts/TIOCGSID.S index 78e030d50ef..dcc4f271764 100644 --- a/libc/sysv/consts/TIOCGSID.S +++ b/libc/sysv/consts/TIOCGSID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCGSID 0x5429 0 0x40047463 0x40047463 0x40047463 -1 +.syscon termios,TIOCGSID,0x5429,0,0x40047463,0x40047463,0x40047463,-1 diff --git a/libc/sysv/consts/TIOCGTSTAMP.S b/libc/sysv/consts/TIOCGTSTAMP.S index be9513c7d12..2e2a7bbb043 100644 --- a/libc/sysv/consts/TIOCGTSTAMP.S +++ b/libc/sysv/consts/TIOCGTSTAMP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCGTSTAMP 0 0 0 0x4010745b 0x4010745b -1 +.syscon termios,TIOCGTSTAMP,0,0,0,0x4010745b,0x4010745b,-1 diff --git a/libc/sysv/consts/TIOCGWINSZ.S b/libc/sysv/consts/TIOCGWINSZ.S index 1c07ac633ce..7a1d41b7a3d 100644 --- a/libc/sysv/consts/TIOCGWINSZ.S +++ b/libc/sysv/consts/TIOCGWINSZ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCGWINSZ 0x5413 1074295912 1074295912 1074295912 1074295912 0x5413 +.syscon termios,TIOCGWINSZ,0x5413,1074295912,1074295912,1074295912,1074295912,0x5413 diff --git a/libc/sysv/consts/TIOCINQ.S b/libc/sysv/consts/TIOCINQ.S index ae011bcde82..c7175195ebd 100644 --- a/libc/sysv/consts/TIOCINQ.S +++ b/libc/sysv/consts/TIOCINQ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon ioctl TIOCINQ 0x541b 0x4004667f 0x4004667f 0x4004667f 0x4004667f 0x4004667f +.syscon ioctl,TIOCINQ,0x541b,0x4004667f,0x4004667f,0x4004667f,0x4004667f,0x4004667f diff --git a/libc/sysv/consts/TIOCMBIC.S b/libc/sysv/consts/TIOCMBIC.S index d98271f35b5..43aa15d1a21 100644 --- a/libc/sysv/consts/TIOCMBIC.S +++ b/libc/sysv/consts/TIOCMBIC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon modem TIOCMBIC 0x5417 0x8004746b 0x8004746b 0x8004746b 0x8004746b -1 +.syscon modem,TIOCMBIC,0x5417,0x8004746b,0x8004746b,0x8004746b,0x8004746b,-1 diff --git a/libc/sysv/consts/TIOCMBIS.S b/libc/sysv/consts/TIOCMBIS.S index 3e9ebea4625..adf823ad508 100644 --- a/libc/sysv/consts/TIOCMBIS.S +++ b/libc/sysv/consts/TIOCMBIS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon modem TIOCMBIS 0x5416 0x8004746c 0x8004746c 0x8004746c 0x8004746c -1 +.syscon modem,TIOCMBIS,0x5416,0x8004746c,0x8004746c,0x8004746c,0x8004746c,-1 diff --git a/libc/sysv/consts/TIOCMGET.S b/libc/sysv/consts/TIOCMGET.S index 70740110a09..fcb691a017e 100644 --- a/libc/sysv/consts/TIOCMGET.S +++ b/libc/sysv/consts/TIOCMGET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon modem TIOCMGET 0x5415 0x4004746a 0x4004746a 0x4004746a 0x4004746a -1 +.syscon modem,TIOCMGET,0x5415,0x4004746a,0x4004746a,0x4004746a,0x4004746a,-1 diff --git a/libc/sysv/consts/TIOCMODG.S b/libc/sysv/consts/TIOCMODG.S index e570e82ee3d..b1fdef4c51b 100644 --- a/libc/sysv/consts/TIOCMODG.S +++ b/libc/sysv/consts/TIOCMODG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon modem TIOCMODG 0 0x40047403 0 0x4004746a 0x4004746a -1 +.syscon modem,TIOCMODG,0,0x40047403,0,0x4004746a,0x4004746a,-1 diff --git a/libc/sysv/consts/TIOCMODS.S b/libc/sysv/consts/TIOCMODS.S index 4bb7c89e210..687623fddb1 100644 --- a/libc/sysv/consts/TIOCMODS.S +++ b/libc/sysv/consts/TIOCMODS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon modem TIOCMODS 0 0x80047404 0 0x8004746d 0x8004746d -1 +.syscon modem,TIOCMODS,0,0x80047404,0,0x8004746d,0x8004746d,-1 diff --git a/libc/sysv/consts/TIOCMSDTRWAIT.S b/libc/sysv/consts/TIOCMSDTRWAIT.S index 319b725a3f2..3cbe885c8b4 100644 --- a/libc/sysv/consts/TIOCMSDTRWAIT.S +++ b/libc/sysv/consts/TIOCMSDTRWAIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon modem TIOCMSDTRWAIT 0 0x8004745b 0x8004745b 0 0 -1 +.syscon modem,TIOCMSDTRWAIT,0,0x8004745b,0x8004745b,0,0,-1 diff --git a/libc/sysv/consts/TIOCMSET.S b/libc/sysv/consts/TIOCMSET.S index 70ece3f2469..d870fd9b84b 100644 --- a/libc/sysv/consts/TIOCMSET.S +++ b/libc/sysv/consts/TIOCMSET.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon modem TIOCMSET 0x5418 0x8004746d 0x8004746d 0x8004746d 0x8004746d -1 +.syscon modem,TIOCMSET,0x5418,0x8004746d,0x8004746d,0x8004746d,0x8004746d,-1 diff --git a/libc/sysv/consts/TIOCM_CAR.S b/libc/sysv/consts/TIOCM_CAR.S index 3db70918840..39f3cb7c663 100644 --- a/libc/sysv/consts/TIOCM_CAR.S +++ b/libc/sysv/consts/TIOCM_CAR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon modem TIOCM_CAR 0b0000000001000000 0b0000000001000000 0b0000000001000000 0b0000000001000000 0b0000000001000000 0b0000000001000000 +.syscon modem,TIOCM_CAR,0b0000000001000000,0b0000000001000000,0b0000000001000000,0b0000000001000000,0b0000000001000000,0b0000000001000000 diff --git a/libc/sysv/consts/TIOCM_CD.S b/libc/sysv/consts/TIOCM_CD.S index 277189fd0cf..c66594f8334 100644 --- a/libc/sysv/consts/TIOCM_CD.S +++ b/libc/sysv/consts/TIOCM_CD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon modem TIOCM_CD 0b0000000001000000 0b0000000001000000 0b0000000001000000 0b0000000001000000 0b0000000001000000 0b0000000001000000 +.syscon modem,TIOCM_CD,0b0000000001000000,0b0000000001000000,0b0000000001000000,0b0000000001000000,0b0000000001000000,0b0000000001000000 diff --git a/libc/sysv/consts/TIOCM_CTS.S b/libc/sysv/consts/TIOCM_CTS.S index 8fc20c5ee48..09cd3139b45 100644 --- a/libc/sysv/consts/TIOCM_CTS.S +++ b/libc/sysv/consts/TIOCM_CTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon modem TIOCM_CTS 0b0000000000100000 0b0000000000100000 0b0000000000100000 0b0000000000100000 0b0000000000100000 0b0000000000100000 +.syscon modem,TIOCM_CTS,0b0000000000100000,0b0000000000100000,0b0000000000100000,0b0000000000100000,0b0000000000100000,0b0000000000100000 diff --git a/libc/sysv/consts/TIOCM_DCD.S b/libc/sysv/consts/TIOCM_DCD.S index b76a33629ab..8957b4e6505 100644 --- a/libc/sysv/consts/TIOCM_DCD.S +++ b/libc/sysv/consts/TIOCM_DCD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon modem TIOCM_DCD 0 0 0x40 0 0 -1 +.syscon modem,TIOCM_DCD,0,0,0x40,0,0,-1 diff --git a/libc/sysv/consts/TIOCM_DSR.S b/libc/sysv/consts/TIOCM_DSR.S index b9403d76da6..35235972f65 100644 --- a/libc/sysv/consts/TIOCM_DSR.S +++ b/libc/sysv/consts/TIOCM_DSR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon modem TIOCM_DSR 0b0000000100000000 0b0000000100000000 0b0000000100000000 0b0000000100000000 0b0000000100000000 0b0000000100000000 +.syscon modem,TIOCM_DSR,0b0000000100000000,0b0000000100000000,0b0000000100000000,0b0000000100000000,0b0000000100000000,0b0000000100000000 diff --git a/libc/sysv/consts/TIOCM_DTR.S b/libc/sysv/consts/TIOCM_DTR.S index dec025a6cb0..75bc0fbbc41 100644 --- a/libc/sysv/consts/TIOCM_DTR.S +++ b/libc/sysv/consts/TIOCM_DTR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon modem TIOCM_DTR 0b0000000000000010 0b0000000000000010 0b0000000000000010 0b0000000000000010 0b0000000000000010 0b0000000000000010 +.syscon modem,TIOCM_DTR,0b0000000000000010,0b0000000000000010,0b0000000000000010,0b0000000000000010,0b0000000000000010,0b0000000000000010 diff --git a/libc/sysv/consts/TIOCM_LE.S b/libc/sysv/consts/TIOCM_LE.S index 949b5bc2dae..5b8cfd93145 100644 --- a/libc/sysv/consts/TIOCM_LE.S +++ b/libc/sysv/consts/TIOCM_LE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon modem TIOCM_LE 0b0000000000000001 0b0000000000000001 0b0000000000000001 0b0000000000000001 0b0000000000000001 0b0000000000000001 +.syscon modem,TIOCM_LE,0b0000000000000001,0b0000000000000001,0b0000000000000001,0b0000000000000001,0b0000000000000001,0b0000000000000001 diff --git a/libc/sysv/consts/TIOCM_RI.S b/libc/sysv/consts/TIOCM_RI.S index 88e0503829e..aeb1788caa9 100644 --- a/libc/sysv/consts/TIOCM_RI.S +++ b/libc/sysv/consts/TIOCM_RI.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon modem TIOCM_RI 0b0000000010000000 0b0000000010000000 0b0000000010000000 0b0000000010000000 0b0000000010000000 0b0000000010000000 +.syscon modem,TIOCM_RI,0b0000000010000000,0b0000000010000000,0b0000000010000000,0b0000000010000000,0b0000000010000000,0b0000000010000000 diff --git a/libc/sysv/consts/TIOCM_RNG.S b/libc/sysv/consts/TIOCM_RNG.S index 430cdf87e96..37fc184e3e8 100644 --- a/libc/sysv/consts/TIOCM_RNG.S +++ b/libc/sysv/consts/TIOCM_RNG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon modem TIOCM_RNG 0b0000000010000000 0b0000000010000000 0b0000000010000000 0b0000000010000000 0b0000000010000000 0b0000000010000000 +.syscon modem,TIOCM_RNG,0b0000000010000000,0b0000000010000000,0b0000000010000000,0b0000000010000000,0b0000000010000000,0b0000000010000000 diff --git a/libc/sysv/consts/TIOCM_RTS.S b/libc/sysv/consts/TIOCM_RTS.S index 213f884b2e0..eabffb22bdb 100644 --- a/libc/sysv/consts/TIOCM_RTS.S +++ b/libc/sysv/consts/TIOCM_RTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon modem TIOCM_RTS 0b0000000000000100 0b0000000000000100 0b0000000000000100 0b0000000000000100 0b0000000000000100 0b0000000000000100 +.syscon modem,TIOCM_RTS,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000000100,0b0000000000000100 diff --git a/libc/sysv/consts/TIOCM_SR.S b/libc/sysv/consts/TIOCM_SR.S index 7b1eee5f508..d1a0c50b52f 100644 --- a/libc/sysv/consts/TIOCM_SR.S +++ b/libc/sysv/consts/TIOCM_SR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon modem TIOCM_SR 0b0000000000010000 0b0000000000010000 0b0000000000010000 0b0000000000010000 0b0000000000010000 0b0000000000010000 +.syscon modem,TIOCM_SR,0b0000000000010000,0b0000000000010000,0b0000000000010000,0b0000000000010000,0b0000000000010000,0b0000000000010000 diff --git a/libc/sysv/consts/TIOCM_ST.S b/libc/sysv/consts/TIOCM_ST.S index 3876be46fcb..b4063d0c65e 100644 --- a/libc/sysv/consts/TIOCM_ST.S +++ b/libc/sysv/consts/TIOCM_ST.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon modem TIOCM_ST 0b0000000000001000 0b0000000000001000 0b0000000000001000 0b0000000000001000 0b0000000000001000 0b0000000000001000 +.syscon modem,TIOCM_ST,0b0000000000001000,0b0000000000001000,0b0000000000001000,0b0000000000001000,0b0000000000001000,0b0000000000001000 diff --git a/libc/sysv/consts/TIOCNOTTY.S b/libc/sysv/consts/TIOCNOTTY.S index 5f39f2fe1d7..3161bb489a0 100644 --- a/libc/sysv/consts/TIOCNOTTY.S +++ b/libc/sysv/consts/TIOCNOTTY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCNOTTY 0x5422 0x20007471 0x20007471 0x20007471 0x20007471 -1 +.syscon termios,TIOCNOTTY,0x5422,0x20007471,0x20007471,0x20007471,0x20007471,-1 diff --git a/libc/sysv/consts/TIOCNXCL.S b/libc/sysv/consts/TIOCNXCL.S index a93dfbfb998..e02b5072922 100644 --- a/libc/sysv/consts/TIOCNXCL.S +++ b/libc/sysv/consts/TIOCNXCL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCNXCL 0x540d 0x2000740e 0x2000740e 0x2000740e 0x2000740e -1 +.syscon termios,TIOCNXCL,0x540d,0x2000740e,0x2000740e,0x2000740e,0x2000740e,-1 diff --git a/libc/sysv/consts/TIOCOUTQ.S b/libc/sysv/consts/TIOCOUTQ.S index 8ee049a69f9..8b550a2ba13 100644 --- a/libc/sysv/consts/TIOCOUTQ.S +++ b/libc/sysv/consts/TIOCOUTQ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCOUTQ 0x5411 0x40047473 0x40047473 0x40047473 0x40047473 -1 +.syscon termios,TIOCOUTQ,0x5411,0x40047473,0x40047473,0x40047473,0x40047473,-1 diff --git a/libc/sysv/consts/TIOCPKT.S b/libc/sysv/consts/TIOCPKT.S index d6c100a5b80..3e48ebe9273 100644 --- a/libc/sysv/consts/TIOCPKT.S +++ b/libc/sysv/consts/TIOCPKT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pty TIOCPKT 0x5420 0x80047470 0x80047470 0x80047470 0x80047470 -1 +.syscon pty,TIOCPKT,0x5420,0x80047470,0x80047470,0x80047470,0x80047470,-1 diff --git a/libc/sysv/consts/TIOCPKT_DATA.S b/libc/sysv/consts/TIOCPKT_DATA.S index 3883d6f343a..4e78960e6d0 100644 --- a/libc/sysv/consts/TIOCPKT_DATA.S +++ b/libc/sysv/consts/TIOCPKT_DATA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pty TIOCPKT_DATA 0 0 0 0 0 0 +.syscon pty,TIOCPKT_DATA,0,0,0,0,0,0 diff --git a/libc/sysv/consts/TIOCPKT_DOSTOP.S b/libc/sysv/consts/TIOCPKT_DOSTOP.S index 09ade245cae..15e8494f4d6 100644 --- a/libc/sysv/consts/TIOCPKT_DOSTOP.S +++ b/libc/sysv/consts/TIOCPKT_DOSTOP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pty TIOCPKT_DOSTOP 32 32 32 32 32 32 +.syscon pty,TIOCPKT_DOSTOP,32,32,32,32,32,32 diff --git a/libc/sysv/consts/TIOCPKT_FLUSHREAD.S b/libc/sysv/consts/TIOCPKT_FLUSHREAD.S index 45af69bdd96..2479e77276a 100644 --- a/libc/sysv/consts/TIOCPKT_FLUSHREAD.S +++ b/libc/sysv/consts/TIOCPKT_FLUSHREAD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pty TIOCPKT_FLUSHREAD 1 1 1 1 1 1 +.syscon pty,TIOCPKT_FLUSHREAD,1,1,1,1,1,1 diff --git a/libc/sysv/consts/TIOCPKT_FLUSHWRITE.S b/libc/sysv/consts/TIOCPKT_FLUSHWRITE.S index 41b6b20b43c..f9097502d39 100644 --- a/libc/sysv/consts/TIOCPKT_FLUSHWRITE.S +++ b/libc/sysv/consts/TIOCPKT_FLUSHWRITE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pty TIOCPKT_FLUSHWRITE 2 2 2 2 2 2 +.syscon pty,TIOCPKT_FLUSHWRITE,2,2,2,2,2,2 diff --git a/libc/sysv/consts/TIOCPKT_IOCTL.S b/libc/sysv/consts/TIOCPKT_IOCTL.S index 2223f0de7d2..ba289ded057 100644 --- a/libc/sysv/consts/TIOCPKT_IOCTL.S +++ b/libc/sysv/consts/TIOCPKT_IOCTL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pty TIOCPKT_IOCTL 64 64 64 64 64 64 +.syscon pty,TIOCPKT_IOCTL,64,64,64,64,64,64 diff --git a/libc/sysv/consts/TIOCPKT_NOSTOP.S b/libc/sysv/consts/TIOCPKT_NOSTOP.S index e8152e6a1c6..2527ca60678 100644 --- a/libc/sysv/consts/TIOCPKT_NOSTOP.S +++ b/libc/sysv/consts/TIOCPKT_NOSTOP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pty TIOCPKT_NOSTOP 16 16 16 16 16 16 +.syscon pty,TIOCPKT_NOSTOP,16,16,16,16,16,16 diff --git a/libc/sysv/consts/TIOCPKT_START.S b/libc/sysv/consts/TIOCPKT_START.S index 8441eb4de55..9179a09c65c 100644 --- a/libc/sysv/consts/TIOCPKT_START.S +++ b/libc/sysv/consts/TIOCPKT_START.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pty TIOCPKT_START 8 8 8 8 8 8 +.syscon pty,TIOCPKT_START,8,8,8,8,8,8 diff --git a/libc/sysv/consts/TIOCPKT_STOP.S b/libc/sysv/consts/TIOCPKT_STOP.S index e91b2815d43..720dae15e23 100644 --- a/libc/sysv/consts/TIOCPKT_STOP.S +++ b/libc/sysv/consts/TIOCPKT_STOP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pty TIOCPKT_STOP 4 4 4 4 4 4 +.syscon pty,TIOCPKT_STOP,4,4,4,4,4,4 diff --git a/libc/sysv/consts/TIOCPTMASTER.S b/libc/sysv/consts/TIOCPTMASTER.S index f5110748cdf..392522238d0 100644 --- a/libc/sysv/consts/TIOCPTMASTER.S +++ b/libc/sysv/consts/TIOCPTMASTER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCPTMASTER 0 0 0x2000741c 0 0 -1 +.syscon termios,TIOCPTMASTER,0,0,0x2000741c,0,0,-1 diff --git a/libc/sysv/consts/TIOCREMOTE.S b/libc/sysv/consts/TIOCREMOTE.S index 58e71add31d..2c335f2ceff 100644 --- a/libc/sysv/consts/TIOCREMOTE.S +++ b/libc/sysv/consts/TIOCREMOTE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCREMOTE 0 0x80047469 0 0x80047469 0x80047469 -1 +.syscon termios,TIOCREMOTE,0,0x80047469,0,0x80047469,0x80047469,-1 diff --git a/libc/sysv/consts/TIOCSBRK.S b/libc/sysv/consts/TIOCSBRK.S index 97769fee17e..e5d7feeb6d9 100644 --- a/libc/sysv/consts/TIOCSBRK.S +++ b/libc/sysv/consts/TIOCSBRK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCSBRK 0x5427 0x2000747b 0x2000747b 0x2000747b 0x2000747b -1 +.syscon termios,TIOCSBRK,0x5427,0x2000747b,0x2000747b,0x2000747b,0x2000747b,-1 diff --git a/libc/sysv/consts/TIOCSCTTY.S b/libc/sysv/consts/TIOCSCTTY.S index 3ab8f62ea2f..0ce898b9ed3 100644 --- a/libc/sysv/consts/TIOCSCTTY.S +++ b/libc/sysv/consts/TIOCSCTTY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCSCTTY 0x540e 0x20007461 0x20007461 0x20007461 0x20007461 -1 +.syscon termios,TIOCSCTTY,0x540e,0x20007461,0x20007461,0x20007461,0x20007461,-1 diff --git a/libc/sysv/consts/TIOCSDRAINWAIT.S b/libc/sysv/consts/TIOCSDRAINWAIT.S index 2f61b414667..b6709f43af0 100644 --- a/libc/sysv/consts/TIOCSDRAINWAIT.S +++ b/libc/sysv/consts/TIOCSDRAINWAIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCSDRAINWAIT 0 0x80047457 0x80047457 0 0 -1 +.syscon termios,TIOCSDRAINWAIT,0,0x80047457,0x80047457,0,0,-1 diff --git a/libc/sysv/consts/TIOCSDTR.S b/libc/sysv/consts/TIOCSDTR.S index f6d80cbc87f..9e73926a84a 100644 --- a/libc/sysv/consts/TIOCSDTR.S +++ b/libc/sysv/consts/TIOCSDTR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCSDTR 0 0x20007479 0x20007479 0x20007479 0x20007479 -1 +.syscon termios,TIOCSDTR,0,0x20007479,0x20007479,0x20007479,0x20007479,-1 diff --git a/libc/sysv/consts/TIOCSERGETLSR.S b/libc/sysv/consts/TIOCSERGETLSR.S index 27c8b1b5d15..b531d225249 100644 --- a/libc/sysv/consts/TIOCSERGETLSR.S +++ b/libc/sysv/consts/TIOCSERGETLSR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCSERGETLSR 0x5459 0 0 0 0 0 +.syscon termios,TIOCSERGETLSR,0x5459,0,0,0,0,0 diff --git a/libc/sysv/consts/TIOCSERGETMULTI.S b/libc/sysv/consts/TIOCSERGETMULTI.S index a6f8b8138a5..db733d41d14 100644 --- a/libc/sysv/consts/TIOCSERGETMULTI.S +++ b/libc/sysv/consts/TIOCSERGETMULTI.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCSERGETMULTI 0x545a 0 0 0 0 0 +.syscon termios,TIOCSERGETMULTI,0x545a,0,0,0,0,0 diff --git a/libc/sysv/consts/TIOCSERSETMULTI.S b/libc/sysv/consts/TIOCSERSETMULTI.S index f0fb9fda15b..f298ae7b946 100644 --- a/libc/sysv/consts/TIOCSERSETMULTI.S +++ b/libc/sysv/consts/TIOCSERSETMULTI.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCSERSETMULTI 0x545b 0 0 0 0 0 +.syscon termios,TIOCSERSETMULTI,0x545b,0,0,0,0,0 diff --git a/libc/sysv/consts/TIOCSER_TEMT.S b/libc/sysv/consts/TIOCSER_TEMT.S index b2b3d83b5a7..e41b3d11ac1 100644 --- a/libc/sysv/consts/TIOCSER_TEMT.S +++ b/libc/sysv/consts/TIOCSER_TEMT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCSER_TEMT 1 0 0 0 0 0 +.syscon termios,TIOCSER_TEMT,1,0,0,0,0,0 diff --git a/libc/sysv/consts/TIOCSETA.S b/libc/sysv/consts/TIOCSETA.S index 2230cd3ba01..74234998492 100644 --- a/libc/sysv/consts/TIOCSETA.S +++ b/libc/sysv/consts/TIOCSETA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat TIOCSETA 0x5402 0x80487414 0x802c7414 0x802c7414 0x802c7414 0x5402 +.syscon compat,TIOCSETA,0x5402,0x80487414,0x802c7414,0x802c7414,0x802c7414,0x5402 diff --git a/libc/sysv/consts/TIOCSETAF.S b/libc/sysv/consts/TIOCSETAF.S index 9b1fa9c571f..210cbef02e0 100644 --- a/libc/sysv/consts/TIOCSETAF.S +++ b/libc/sysv/consts/TIOCSETAF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat TIOCSETAF 0x5404 0x80487416 0x802c7416 0x802c7416 0x802c7416 0x5402 +.syscon compat,TIOCSETAF,0x5404,0x80487416,0x802c7416,0x802c7416,0x802c7416,0x5402 diff --git a/libc/sysv/consts/TIOCSETAW.S b/libc/sysv/consts/TIOCSETAW.S index 66882a07bd9..9c0e5a06d17 100644 --- a/libc/sysv/consts/TIOCSETAW.S +++ b/libc/sysv/consts/TIOCSETAW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon compat TIOCSETAW 0x5403 0x80487415 0x802c7415 0x802c7415 0x802c7415 0x5403 +.syscon compat,TIOCSETAW,0x5403,0x80487415,0x802c7415,0x802c7415,0x802c7415,0x5403 diff --git a/libc/sysv/consts/TIOCSETD.S b/libc/sysv/consts/TIOCSETD.S index a577c714283..34a220e9a2f 100644 --- a/libc/sysv/consts/TIOCSETD.S +++ b/libc/sysv/consts/TIOCSETD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCSETD 0x5423 0x8004741b 0x8004741b 0x8004741b 0x8004741b -1 +.syscon termios,TIOCSETD,0x5423,0x8004741b,0x8004741b,0x8004741b,0x8004741b,-1 diff --git a/libc/sysv/consts/TIOCSETVERAUTH.S b/libc/sysv/consts/TIOCSETVERAUTH.S index d4e373de059..3d6359ea420 100644 --- a/libc/sysv/consts/TIOCSETVERAUTH.S +++ b/libc/sysv/consts/TIOCSETVERAUTH.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCSETVERAUTH 0 0 0 0x8004741c 0x8004741c -1 +.syscon termios,TIOCSETVERAUTH,0,0,0,0x8004741c,0x8004741c,-1 diff --git a/libc/sysv/consts/TIOCSFLAGS.S b/libc/sysv/consts/TIOCSFLAGS.S index 3a4c327414a..3c9b0d66991 100644 --- a/libc/sysv/consts/TIOCSFLAGS.S +++ b/libc/sysv/consts/TIOCSFLAGS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCSFLAGS 0 0 0 0x8004745c 0x8004745c -1 +.syscon termios,TIOCSFLAGS,0,0,0,0x8004745c,0x8004745c,-1 diff --git a/libc/sysv/consts/TIOCSIG.S b/libc/sysv/consts/TIOCSIG.S index ce1bc82ca77..8a2bb487609 100644 --- a/libc/sysv/consts/TIOCSIG.S +++ b/libc/sysv/consts/TIOCSIG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCSIG 0x40045436 0x2000745f 0x2004745f 0x8004745f 0x8004745f -1 +.syscon termios,TIOCSIG,0x40045436,0x2000745f,0x2004745f,0x8004745f,0x8004745f,-1 diff --git a/libc/sysv/consts/TIOCSPGRP.S b/libc/sysv/consts/TIOCSPGRP.S index 2de51472c1c..6f25f2e6c12 100644 --- a/libc/sysv/consts/TIOCSPGRP.S +++ b/libc/sysv/consts/TIOCSPGRP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCSPGRP 0x5410 0x80047476 0x80047476 0x80047476 0x80047476 -1 +.syscon termios,TIOCSPGRP,0x5410,0x80047476,0x80047476,0x80047476,0x80047476,-1 diff --git a/libc/sysv/consts/TIOCSPTLCK.S b/libc/sysv/consts/TIOCSPTLCK.S index 3afe9f3f4ca..f780e2c0b9e 100644 --- a/libc/sysv/consts/TIOCSPTLCK.S +++ b/libc/sysv/consts/TIOCSPTLCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon pty TIOCSPTLCK 0x40045431 0 0 0 0 -1 +.syscon pty,TIOCSPTLCK,0x40045431,0,0,0,0,-1 diff --git a/libc/sysv/consts/TIOCSTART.S b/libc/sysv/consts/TIOCSTART.S index f4d598506ac..50d8897777b 100644 --- a/libc/sysv/consts/TIOCSTART.S +++ b/libc/sysv/consts/TIOCSTART.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCSTART 0 0x2000746e 0x2000746e 0x2000746e 0x2000746e -1 +.syscon termios,TIOCSTART,0,0x2000746e,0x2000746e,0x2000746e,0x2000746e,-1 diff --git a/libc/sysv/consts/TIOCSTAT.S b/libc/sysv/consts/TIOCSTAT.S index 2f3ee538701..dece2c4de34 100644 --- a/libc/sysv/consts/TIOCSTAT.S +++ b/libc/sysv/consts/TIOCSTAT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCSTAT 0 0x20007465 0x20007465 0x20007465 0x20007465 -1 +.syscon termios,TIOCSTAT,0,0x20007465,0x20007465,0x20007465,0x20007465,-1 diff --git a/libc/sysv/consts/TIOCSTI.S b/libc/sysv/consts/TIOCSTI.S index 630d5d04255..3b44545fd62 100644 --- a/libc/sysv/consts/TIOCSTI.S +++ b/libc/sysv/consts/TIOCSTI.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCSTI 0x5412 0x80017472 0x80017472 0 0 -1 +.syscon termios,TIOCSTI,0x5412,0x80017472,0x80017472,0,0,-1 diff --git a/libc/sysv/consts/TIOCSTSTAMP.S b/libc/sysv/consts/TIOCSTSTAMP.S index 2d2ae026837..644e4ae7eb3 100644 --- a/libc/sysv/consts/TIOCSTSTAMP.S +++ b/libc/sysv/consts/TIOCSTSTAMP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCSTSTAMP 0 0 0 0x8008745a 0x8008745a -1 +.syscon termios,TIOCSTSTAMP,0,0,0,0x8008745a,0x8008745a,-1 diff --git a/libc/sysv/consts/TIOCSWINSZ.S b/libc/sysv/consts/TIOCSWINSZ.S index beb7e402d43..f2e991feac2 100644 --- a/libc/sysv/consts/TIOCSWINSZ.S +++ b/libc/sysv/consts/TIOCSWINSZ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCSWINSZ 0x5414 0x80087467 0x80087467 0x80087467 0x80087467 0x5414 +.syscon termios,TIOCSWINSZ,0x5414,0x80087467,0x80087467,0x80087467,0x80087467,0x5414 diff --git a/libc/sysv/consts/TIOCTIMESTAMP.S b/libc/sysv/consts/TIOCTIMESTAMP.S index 4d86848ed97..f5346b8ffe5 100644 --- a/libc/sysv/consts/TIOCTIMESTAMP.S +++ b/libc/sysv/consts/TIOCTIMESTAMP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCTIMESTAMP 0 0x40107459 0x40107459 0 0 -1 +.syscon termios,TIOCTIMESTAMP,0,0x40107459,0x40107459,0,0,-1 diff --git a/libc/sysv/consts/TIOCUCNTL_CBRK.S b/libc/sysv/consts/TIOCUCNTL_CBRK.S index 9d3685b5d54..af867c3194e 100644 --- a/libc/sysv/consts/TIOCUCNTL_CBRK.S +++ b/libc/sysv/consts/TIOCUCNTL_CBRK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TIOCUCNTL_CBRK 0 0 0 0x7a 0x7a -1 +.syscon termios,TIOCUCNTL_CBRK,0,0,0,0x7a,0x7a,-1 diff --git a/libc/sysv/consts/TMAGLEN.S b/libc/sysv/consts/TMAGLEN.S index 63c28133b2c..ead8a2b8b98 100644 --- a/libc/sysv/consts/TMAGLEN.S +++ b/libc/sysv/consts/TMAGLEN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TMAGLEN 6 6 6 6 6 0 +.syscon misc,TMAGLEN,6,6,6,6,6,0 diff --git a/libc/sysv/consts/TMP_MAX.S b/libc/sysv/consts/TMP_MAX.S index eb1590d859b..16664f24a6e 100644 --- a/libc/sysv/consts/TMP_MAX.S +++ b/libc/sysv/consts/TMP_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TMP_MAX 0x03a2f8 0x1269ae40 0x1269ae40 0x7fffffff 0x7fffffff 0 +.syscon misc,TMP_MAX,0x03a2f8,0x1269ae40,0x1269ae40,0x7fffffff,0x7fffffff,0 diff --git a/libc/sysv/consts/TOEXEC.S b/libc/sysv/consts/TOEXEC.S index c24be680a90..6c0e05a56e6 100644 --- a/libc/sysv/consts/TOEXEC.S +++ b/libc/sysv/consts/TOEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TOEXEC 1 1 1 1 1 0 +.syscon misc,TOEXEC,1,1,1,1,1,0 diff --git a/libc/sysv/consts/TOREAD.S b/libc/sysv/consts/TOREAD.S index f32a56006ca..c4742eff107 100644 --- a/libc/sysv/consts/TOREAD.S +++ b/libc/sysv/consts/TOREAD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TOREAD 4 4 4 4 4 0 +.syscon misc,TOREAD,4,4,4,4,4,0 diff --git a/libc/sysv/consts/TOSTOP.S b/libc/sysv/consts/TOSTOP.S index e02ba557281..8d15dfd5179 100644 --- a/libc/sysv/consts/TOSTOP.S +++ b/libc/sysv/consts/TOSTOP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TOSTOP 0b0000000100000000 4194304 4194304 4194304 4194304 0b0000000100000000 +.syscon termios,TOSTOP,0b0000000100000000,4194304,4194304,4194304,4194304,0b0000000100000000 diff --git a/libc/sysv/consts/TOWRITE.S b/libc/sysv/consts/TOWRITE.S index 66402e3140c..f143ab26433 100644 --- a/libc/sysv/consts/TOWRITE.S +++ b/libc/sysv/consts/TOWRITE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TOWRITE 2 2 2 2 2 0 +.syscon misc,TOWRITE,2,2,2,2,2,0 diff --git a/libc/sysv/consts/TRANSIENT.S b/libc/sysv/consts/TRANSIENT.S index acb784be744..9ee572b7e0d 100644 --- a/libc/sysv/consts/TRANSIENT.S +++ b/libc/sysv/consts/TRANSIENT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TRANSIENT 4 4 4 4 4 0 +.syscon misc,TRANSIENT,4,4,4,4,4,0 diff --git a/libc/sysv/consts/TRAP_BRKPT.S b/libc/sysv/consts/TRAP_BRKPT.S index 00af9a9ec79..3dc73994e79 100644 --- a/libc/sysv/consts/TRAP_BRKPT.S +++ b/libc/sysv/consts/TRAP_BRKPT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TRAP_BRKPT 1 1 1 1 1 0 +.syscon misc,TRAP_BRKPT,1,1,1,1,1,0 diff --git a/libc/sysv/consts/TRAP_TRACE.S b/libc/sysv/consts/TRAP_TRACE.S index 6b0f4cf1325..a2b0c356c24 100644 --- a/libc/sysv/consts/TRAP_TRACE.S +++ b/libc/sysv/consts/TRAP_TRACE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TRAP_TRACE 2 2 2 2 2 0 +.syscon misc,TRAP_TRACE,2,2,2,2,2,0 diff --git a/libc/sysv/consts/TRY_AGAIN.S b/libc/sysv/consts/TRY_AGAIN.S index 92d8f7c8029..d11f8332504 100644 --- a/libc/sysv/consts/TRY_AGAIN.S +++ b/libc/sysv/consts/TRY_AGAIN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TRY_AGAIN 2 2 2 2 2 0x2afa +.syscon misc,TRY_AGAIN,2,2,2,2,2,0x2afa diff --git a/libc/sysv/consts/TSGID.S b/libc/sysv/consts/TSGID.S index 979fcbfa104..8070a480416 100644 --- a/libc/sysv/consts/TSGID.S +++ b/libc/sysv/consts/TSGID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TSGID 0x0400 0x0400 0x0400 0x0400 0x0400 0 +.syscon misc,TSGID,0x0400,0x0400,0x0400,0x0400,0x0400,0 diff --git a/libc/sysv/consts/TSS_DTOR_ITERATIONS.S b/libc/sysv/consts/TSS_DTOR_ITERATIONS.S index e562ca6709f..180b58fce20 100644 --- a/libc/sysv/consts/TSS_DTOR_ITERATIONS.S +++ b/libc/sysv/consts/TSS_DTOR_ITERATIONS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TSS_DTOR_ITERATIONS 0 0 4 0 0 0 +.syscon misc,TSS_DTOR_ITERATIONS,0,0,4,0,0,0 diff --git a/libc/sysv/consts/TSUID.S b/libc/sysv/consts/TSUID.S index 3bfb4079bac..c9679239f1b 100644 --- a/libc/sysv/consts/TSUID.S +++ b/libc/sysv/consts/TSUID.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TSUID 0x0800 0x0800 0x0800 0x0800 0x0800 0 +.syscon misc,TSUID,0x0800,0x0800,0x0800,0x0800,0x0800,0 diff --git a/libc/sysv/consts/TSVTX.S b/libc/sysv/consts/TSVTX.S index 2aac6a89ccb..83499bd5cf2 100644 --- a/libc/sysv/consts/TSVTX.S +++ b/libc/sysv/consts/TSVTX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TSVTX 0x0200 0x0200 0x0200 0x0200 0x0200 0 +.syscon misc,TSVTX,0x0200,0x0200,0x0200,0x0200,0x0200,0 diff --git a/libc/sysv/consts/TTYDEF_CFLAG.S b/libc/sysv/consts/TTYDEF_CFLAG.S index 4f8afb8c69d..37bcbb77699 100644 --- a/libc/sysv/consts/TTYDEF_CFLAG.S +++ b/libc/sysv/consts/TTYDEF_CFLAG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TTYDEF_CFLAG 0x05a0 0x4b00 0x4b00 0x4b00 0x4b00 0 +.syscon misc,TTYDEF_CFLAG,0x05a0,0x4b00,0x4b00,0x4b00,0x4b00,0 diff --git a/libc/sysv/consts/TTYDEF_IFLAG.S b/libc/sysv/consts/TTYDEF_IFLAG.S index 801cd09a773..0da11c57acb 100644 --- a/libc/sysv/consts/TTYDEF_IFLAG.S +++ b/libc/sysv/consts/TTYDEF_IFLAG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TTYDEF_IFLAG 0x2d22 0x2b02 0x2b02 0x2b02 0x2b02 0 +.syscon misc,TTYDEF_IFLAG,0x2d22,0x2b02,0x2b02,0x2b02,0x2b02,0 diff --git a/libc/sysv/consts/TTYDEF_LFLAG.S b/libc/sysv/consts/TTYDEF_LFLAG.S index d736a4073ae..810b01077d1 100644 --- a/libc/sysv/consts/TTYDEF_LFLAG.S +++ b/libc/sysv/consts/TTYDEF_LFLAG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TTYDEF_LFLAG 0x8a1b 0x05cb 0x05cb 0x05cb 0x05cb 0 +.syscon misc,TTYDEF_LFLAG,0x8a1b,0x05cb,0x05cb,0x05cb,0x05cb,0 diff --git a/libc/sysv/consts/TTYDEF_OFLAG.S b/libc/sysv/consts/TTYDEF_OFLAG.S index 1a0791ff2bd..a08454fc1fd 100644 --- a/libc/sysv/consts/TTYDEF_OFLAG.S +++ b/libc/sysv/consts/TTYDEF_OFLAG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TTYDEF_OFLAG 0x1805 3 3 7 7 0 +.syscon misc,TTYDEF_OFLAG,0x1805,3,3,7,7,0 diff --git a/libc/sysv/consts/TTYDEF_SPEED.S b/libc/sysv/consts/TTYDEF_SPEED.S index 83eddad0a8a..fdf4626fbb2 100644 --- a/libc/sysv/consts/TTYDEF_SPEED.S +++ b/libc/sysv/consts/TTYDEF_SPEED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TTYDEF_SPEED 13 0x2580 0x2580 0x2580 0x2580 0 +.syscon misc,TTYDEF_SPEED,13,0x2580,0x2580,0x2580,0x2580,0 diff --git a/libc/sysv/consts/TTYDISC.S b/libc/sysv/consts/TTYDISC.S index b66cdc74047..de8c05ec963 100644 --- a/libc/sysv/consts/TTYDISC.S +++ b/libc/sysv/consts/TTYDISC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios TTYDISC 0 0 0 0 0 -1 +.syscon termios,TTYDISC,0,0,0,0,0,-1 diff --git a/libc/sysv/consts/TTY_NAME_MAX.S b/libc/sysv/consts/TTY_NAME_MAX.S index 436cc439b06..01ff94da59e 100644 --- a/libc/sysv/consts/TTY_NAME_MAX.S +++ b/libc/sysv/consts/TTY_NAME_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TTY_NAME_MAX 0x20 0 0 260 260 0 +.syscon misc,TTY_NAME_MAX,0x20,0,0,260,260,0 diff --git a/libc/sysv/consts/TUEXEC.S b/libc/sysv/consts/TUEXEC.S index 91272703980..f5e390d38c5 100644 --- a/libc/sysv/consts/TUEXEC.S +++ b/libc/sysv/consts/TUEXEC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TUEXEC 0x40 0x40 0x40 0x40 0x40 0 +.syscon misc,TUEXEC,0x40,0x40,0x40,0x40,0x40,0 diff --git a/libc/sysv/consts/TUREAD.S b/libc/sysv/consts/TUREAD.S index e087a953112..08769aa4b35 100644 --- a/libc/sysv/consts/TUREAD.S +++ b/libc/sysv/consts/TUREAD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TUREAD 0x0100 0x0100 0x0100 0x0100 0x0100 0 +.syscon misc,TUREAD,0x0100,0x0100,0x0100,0x0100,0x0100,0 diff --git a/libc/sysv/consts/TUWRITE.S b/libc/sysv/consts/TUWRITE.S index eb32093bcea..763d03b25ea 100644 --- a/libc/sysv/consts/TUWRITE.S +++ b/libc/sysv/consts/TUWRITE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TUWRITE 0x80 0x80 0x80 0x80 0x80 0 +.syscon misc,TUWRITE,0x80,0x80,0x80,0x80,0x80,0 diff --git a/libc/sysv/consts/TVERSLEN.S b/libc/sysv/consts/TVERSLEN.S index 2e0cf044b38..c9e15640a86 100644 --- a/libc/sysv/consts/TVERSLEN.S +++ b/libc/sysv/consts/TVERSLEN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TVERSLEN 2 2 2 2 2 0 +.syscon misc,TVERSLEN,2,2,2,2,2,0 diff --git a/libc/sysv/consts/TYPE_A.S b/libc/sysv/consts/TYPE_A.S index 1a021411dc0..df50ff62880 100644 --- a/libc/sysv/consts/TYPE_A.S +++ b/libc/sysv/consts/TYPE_A.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TYPE_A 1 1 1 1 1 0 +.syscon misc,TYPE_A,1,1,1,1,1,0 diff --git a/libc/sysv/consts/TYPE_DISK.S b/libc/sysv/consts/TYPE_DISK.S index 53dab593bb2..ba2a4649b39 100644 --- a/libc/sysv/consts/TYPE_DISK.S +++ b/libc/sysv/consts/TYPE_DISK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TYPE_DISK 0 0 0 0 0 0 +.syscon misc,TYPE_DISK,0,0,0,0,0,0 diff --git a/libc/sysv/consts/TYPE_E.S b/libc/sysv/consts/TYPE_E.S index 2be443cc45f..a9018c9c2ae 100644 --- a/libc/sysv/consts/TYPE_E.S +++ b/libc/sysv/consts/TYPE_E.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TYPE_E 2 2 2 2 2 0 +.syscon misc,TYPE_E,2,2,2,2,2,0 diff --git a/libc/sysv/consts/TYPE_ENCLOSURE.S b/libc/sysv/consts/TYPE_ENCLOSURE.S index e769a82f2f8..3c59b394457 100644 --- a/libc/sysv/consts/TYPE_ENCLOSURE.S +++ b/libc/sysv/consts/TYPE_ENCLOSURE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TYPE_ENCLOSURE 13 0 0 0 0 0 +.syscon misc,TYPE_ENCLOSURE,13,0,0,0,0,0 diff --git a/libc/sysv/consts/TYPE_I.S b/libc/sysv/consts/TYPE_I.S index 82d226e7497..6fd4786c73a 100644 --- a/libc/sysv/consts/TYPE_I.S +++ b/libc/sysv/consts/TYPE_I.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TYPE_I 3 3 3 3 3 0 +.syscon misc,TYPE_I,3,3,3,3,3,0 diff --git a/libc/sysv/consts/TYPE_L.S b/libc/sysv/consts/TYPE_L.S index cdda4e50b73..1a643b83498 100644 --- a/libc/sysv/consts/TYPE_L.S +++ b/libc/sysv/consts/TYPE_L.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TYPE_L 4 4 4 4 4 0 +.syscon misc,TYPE_L,4,4,4,4,4,0 diff --git a/libc/sysv/consts/TYPE_MEDIUM_CHANGER.S b/libc/sysv/consts/TYPE_MEDIUM_CHANGER.S index d66c104efd5..222603dec92 100644 --- a/libc/sysv/consts/TYPE_MEDIUM_CHANGER.S +++ b/libc/sysv/consts/TYPE_MEDIUM_CHANGER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TYPE_MEDIUM_CHANGER 8 0 0 0 0 0 +.syscon misc,TYPE_MEDIUM_CHANGER,8,0,0,0,0,0 diff --git a/libc/sysv/consts/TYPE_MOD.S b/libc/sysv/consts/TYPE_MOD.S index c53c54196a3..7ff91041be2 100644 --- a/libc/sysv/consts/TYPE_MOD.S +++ b/libc/sysv/consts/TYPE_MOD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TYPE_MOD 7 0 0 0 0 0 +.syscon misc,TYPE_MOD,7,0,0,0,0,0 diff --git a/libc/sysv/consts/TYPE_NO_LUN.S b/libc/sysv/consts/TYPE_NO_LUN.S index c3691ab344b..4e718987504 100644 --- a/libc/sysv/consts/TYPE_NO_LUN.S +++ b/libc/sysv/consts/TYPE_NO_LUN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TYPE_NO_LUN 127 0 0 0 0 0 +.syscon misc,TYPE_NO_LUN,127,0,0,0,0,0 diff --git a/libc/sysv/consts/TYPE_PROCESSOR.S b/libc/sysv/consts/TYPE_PROCESSOR.S index 736991994c0..8179037612f 100644 --- a/libc/sysv/consts/TYPE_PROCESSOR.S +++ b/libc/sysv/consts/TYPE_PROCESSOR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TYPE_PROCESSOR 3 0 0 0 0 0 +.syscon misc,TYPE_PROCESSOR,3,0,0,0,0,0 diff --git a/libc/sysv/consts/TYPE_ROM.S b/libc/sysv/consts/TYPE_ROM.S index 4d50f112aa4..46fdb704750 100644 --- a/libc/sysv/consts/TYPE_ROM.S +++ b/libc/sysv/consts/TYPE_ROM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TYPE_ROM 5 0 0 0 0 0 +.syscon misc,TYPE_ROM,5,0,0,0,0,0 diff --git a/libc/sysv/consts/TYPE_SCANNER.S b/libc/sysv/consts/TYPE_SCANNER.S index 80387d02082..24c2db3da7b 100644 --- a/libc/sysv/consts/TYPE_SCANNER.S +++ b/libc/sysv/consts/TYPE_SCANNER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TYPE_SCANNER 6 0 0 0 0 0 +.syscon misc,TYPE_SCANNER,6,0,0,0,0,0 diff --git a/libc/sysv/consts/TYPE_TAPE.S b/libc/sysv/consts/TYPE_TAPE.S index 0a122251a26..0e140b7aa96 100644 --- a/libc/sysv/consts/TYPE_TAPE.S +++ b/libc/sysv/consts/TYPE_TAPE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TYPE_TAPE 1 0 0 0 0 0 +.syscon misc,TYPE_TAPE,1,0,0,0,0,0 diff --git a/libc/sysv/consts/TYPE_WORM.S b/libc/sysv/consts/TYPE_WORM.S index c9e7c7e1e73..448601bd48d 100644 --- a/libc/sysv/consts/TYPE_WORM.S +++ b/libc/sysv/consts/TYPE_WORM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc TYPE_WORM 4 0 0 0 0 0 +.syscon misc,TYPE_WORM,4,0,0,0,0,0 diff --git a/libc/sysv/consts/T_FMT.S b/libc/sysv/consts/T_FMT.S index 353fa00b648..6774046c2ac 100644 --- a/libc/sysv/consts/T_FMT.S +++ b/libc/sysv/consts/T_FMT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc T_FMT 0x02002a 3 3 2 2 0 +.syscon misc,T_FMT,0x02002a,3,3,2,2,0 diff --git a/libc/sysv/consts/T_FMT_AMPM.S b/libc/sysv/consts/T_FMT_AMPM.S index e1467ad3ef5..c68f67d3d9d 100644 --- a/libc/sysv/consts/T_FMT_AMPM.S +++ b/libc/sysv/consts/T_FMT_AMPM.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc T_FMT_AMPM 0x02002b 4 4 3 3 0 +.syscon misc,T_FMT_AMPM,0x02002b,4,4,3,3,0 diff --git a/libc/sysv/consts/UDP_ENCAP_ESPINUDP_NON_IKE.S b/libc/sysv/consts/UDP_ENCAP_ESPINUDP_NON_IKE.S index 7346a9e124e..0022bee012d 100644 --- a/libc/sysv/consts/UDP_ENCAP_ESPINUDP_NON_IKE.S +++ b/libc/sysv/consts/UDP_ENCAP_ESPINUDP_NON_IKE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc UDP_ENCAP_ESPINUDP_NON_IKE 1 0 1 0 0 0 +.syscon misc,UDP_ENCAP_ESPINUDP_NON_IKE,1,0,1,0,0,0 diff --git a/libc/sysv/consts/UDP_NO_CHECK6_RX.S b/libc/sysv/consts/UDP_NO_CHECK6_RX.S index 4f30c6cd6f4..f2e297c776e 100644 --- a/libc/sysv/consts/UDP_NO_CHECK6_RX.S +++ b/libc/sysv/consts/UDP_NO_CHECK6_RX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc UDP_NO_CHECK6_RX 102 0 0 0 0 0 +.syscon misc,UDP_NO_CHECK6_RX,102,0,0,0,0,0 diff --git a/libc/sysv/consts/UDP_NO_CHECK6_TX.S b/libc/sysv/consts/UDP_NO_CHECK6_TX.S index 778bebaf643..13c095e629d 100644 --- a/libc/sysv/consts/UDP_NO_CHECK6_TX.S +++ b/libc/sysv/consts/UDP_NO_CHECK6_TX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc UDP_NO_CHECK6_TX 101 0 0 0 0 0 +.syscon misc,UDP_NO_CHECK6_TX,101,0,0,0,0,0 diff --git a/libc/sysv/consts/UIO_MAXIOV.S b/libc/sysv/consts/UIO_MAXIOV.S index 3dde6620d1c..fc2eb9409a8 100644 --- a/libc/sysv/consts/UIO_MAXIOV.S +++ b/libc/sysv/consts/UIO_MAXIOV.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc UIO_MAXIOV 0x0400 0 0 0x0400 0x0400 0 +.syscon misc,UIO_MAXIOV,0x0400,0,0,0x0400,0x0400,0 diff --git a/libc/sysv/consts/UL_GETFSIZE.S b/libc/sysv/consts/UL_GETFSIZE.S index 04369389061..6ea04ed90c9 100644 --- a/libc/sysv/consts/UL_GETFSIZE.S +++ b/libc/sysv/consts/UL_GETFSIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc UL_GETFSIZE 1 1 1 0 0 0 +.syscon misc,UL_GETFSIZE,1,1,1,0,0,0 diff --git a/libc/sysv/consts/UL_SETFSIZE.S b/libc/sysv/consts/UL_SETFSIZE.S index 0d99d5b63c8..3a35789c8c2 100644 --- a/libc/sysv/consts/UL_SETFSIZE.S +++ b/libc/sysv/consts/UL_SETFSIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc UL_SETFSIZE 2 2 2 0 0 0 +.syscon misc,UL_SETFSIZE,2,2,2,0,0,0 diff --git a/libc/sysv/consts/UMOUNT_NOFOLLOW.S b/libc/sysv/consts/UMOUNT_NOFOLLOW.S index 3b88f34f5eb..6db545ab1bc 100644 --- a/libc/sysv/consts/UMOUNT_NOFOLLOW.S +++ b/libc/sysv/consts/UMOUNT_NOFOLLOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc UMOUNT_NOFOLLOW 8 0 0 0 0 0 +.syscon misc,UMOUNT_NOFOLLOW,8,0,0,0,0,0 diff --git a/libc/sysv/consts/UNAME26.S b/libc/sysv/consts/UNAME26.S index 88edc1ac92b..79e7aa59078 100644 --- a/libc/sysv/consts/UNAME26.S +++ b/libc/sysv/consts/UNAME26.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon prsnlty UNAME26 0x0020000 -1 -1 -1 -1 -1 +.syscon prsnlty,UNAME26,0x0020000,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/UNIT_ATTENTION.S b/libc/sysv/consts/UNIT_ATTENTION.S index 47823d54510..d6f8ca82b0e 100644 --- a/libc/sysv/consts/UNIT_ATTENTION.S +++ b/libc/sysv/consts/UNIT_ATTENTION.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc UNIT_ATTENTION 6 0 0 0 0 0 +.syscon misc,UNIT_ATTENTION,6,0,0,0,0,0 diff --git a/libc/sysv/consts/UPDATE_BLOCK.S b/libc/sysv/consts/UPDATE_BLOCK.S index cb0ac44226a..abae66afdf0 100644 --- a/libc/sysv/consts/UPDATE_BLOCK.S +++ b/libc/sysv/consts/UPDATE_BLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc UPDATE_BLOCK 61 0 0 0 0 0 +.syscon misc,UPDATE_BLOCK,61,0,0,0,0,0 diff --git a/libc/sysv/consts/USER_PROCESS.S b/libc/sysv/consts/USER_PROCESS.S index ef48f70373f..5e019c91f39 100644 --- a/libc/sysv/consts/USER_PROCESS.S +++ b/libc/sysv/consts/USER_PROCESS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc USER_PROCESS 7 7 4 0 0 0 +.syscon misc,USER_PROCESS,7,7,4,0,0,0 diff --git a/libc/sysv/consts/USRQUOTA.S b/libc/sysv/consts/USRQUOTA.S index 6e06e54d19e..d875929a956 100644 --- a/libc/sysv/consts/USRQUOTA.S +++ b/libc/sysv/consts/USRQUOTA.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc USRQUOTA 0 0 0 0 0 0 +.syscon misc,USRQUOTA,0,0,0,0,0,0 diff --git a/libc/sysv/consts/UTIME_NOW.S b/libc/sysv/consts/UTIME_NOW.S index 0b621ad388d..2c05b683bbd 100644 --- a/libc/sysv/consts/UTIME_NOW.S +++ b/libc/sysv/consts/UTIME_NOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon utime UTIME_NOW 0x3fffffff 0x3fffffff -1 -2 0x3fffffff -2 +.syscon utime,UTIME_NOW,0x3fffffff,0x3fffffff,-1,-2,0x3fffffff,-2 diff --git a/libc/sysv/consts/UTIME_OMIT.S b/libc/sysv/consts/UTIME_OMIT.S index b5f1ec7d750..437de70f8f3 100644 --- a/libc/sysv/consts/UTIME_OMIT.S +++ b/libc/sysv/consts/UTIME_OMIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon utime UTIME_OMIT 0x3ffffffe 0x3ffffffe -2 -1 0x3ffffffe -1 +.syscon utime,UTIME_OMIT,0x3ffffffe,0x3ffffffe,-2,-1,0x3ffffffe,-1 diff --git a/libc/sysv/consts/UT_HOSTSIZE.S b/libc/sysv/consts/UT_HOSTSIZE.S index afedca2d62d..b53bad13402 100644 --- a/libc/sysv/consts/UT_HOSTSIZE.S +++ b/libc/sysv/consts/UT_HOSTSIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc UT_HOSTSIZE 0x0100 0x10 0 0x0100 0x0100 0 +.syscon misc,UT_HOSTSIZE,0x0100,0x10,0,0x0100,0x0100,0 diff --git a/libc/sysv/consts/UT_LINESIZE.S b/libc/sysv/consts/UT_LINESIZE.S index d8967ce8fbf..86c4b86544a 100644 --- a/libc/sysv/consts/UT_LINESIZE.S +++ b/libc/sysv/consts/UT_LINESIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc UT_LINESIZE 0x20 8 0 8 8 0 +.syscon misc,UT_LINESIZE,0x20,8,0,8,8,0 diff --git a/libc/sysv/consts/UT_NAMESIZE.S b/libc/sysv/consts/UT_NAMESIZE.S index d97d136c550..986bc8ae8e2 100644 --- a/libc/sysv/consts/UT_NAMESIZE.S +++ b/libc/sysv/consts/UT_NAMESIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc UT_NAMESIZE 0x20 8 0 0x20 0x20 0 +.syscon misc,UT_NAMESIZE,0x20,8,0,0x20,0x20,0 diff --git a/libc/sysv/consts/VDISCARD.S b/libc/sysv/consts/VDISCARD.S index 70048b73fbd..80bc08ec6e5 100644 --- a/libc/sysv/consts/VDISCARD.S +++ b/libc/sysv/consts/VDISCARD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VDISCARD 13 15 15 15 15 0 +.syscon termios,VDISCARD,13,15,15,15,15,0 diff --git a/libc/sysv/consts/VEOF.S b/libc/sysv/consts/VEOF.S index c308448c677..e16b8b39a6e 100644 --- a/libc/sysv/consts/VEOF.S +++ b/libc/sysv/consts/VEOF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VEOF 4 0 0 0 0 0 +.syscon termios,VEOF,4,0,0,0,0,0 diff --git a/libc/sysv/consts/VEOL.S b/libc/sysv/consts/VEOL.S index 79406b8f4d7..b8ffcd9c46f 100644 --- a/libc/sysv/consts/VEOL.S +++ b/libc/sysv/consts/VEOL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VEOL 11 1 1 1 1 0 +.syscon termios,VEOL,11,1,1,1,1,0 diff --git a/libc/sysv/consts/VEOL2.S b/libc/sysv/consts/VEOL2.S index 47be80dff9a..45d92df76f9 100644 --- a/libc/sysv/consts/VEOL2.S +++ b/libc/sysv/consts/VEOL2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VEOL2 16 2 2 2 2 0 +.syscon termios,VEOL2,16,2,2,2,2,0 diff --git a/libc/sysv/consts/VERASE.S b/libc/sysv/consts/VERASE.S index 3ebdea9f7a7..4a46cfbbf44 100644 --- a/libc/sysv/consts/VERASE.S +++ b/libc/sysv/consts/VERASE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VERASE 2 3 3 3 3 0 +.syscon termios,VERASE,2,3,3,3,3,0 diff --git a/libc/sysv/consts/VERIFY.S b/libc/sysv/consts/VERIFY.S index d21f8404a28..359e928eb47 100644 --- a/libc/sysv/consts/VERIFY.S +++ b/libc/sysv/consts/VERIFY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VERIFY 47 0 0 0 0 0 +.syscon termios,VERIFY,47,0,0,0,0,0 diff --git a/libc/sysv/consts/VINTR.S b/libc/sysv/consts/VINTR.S index ba0b4c7a137..19c83ce5985 100644 --- a/libc/sysv/consts/VINTR.S +++ b/libc/sysv/consts/VINTR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VINTR 0 8 8 8 8 0 +.syscon termios,VINTR,0,8,8,8,8,0 diff --git a/libc/sysv/consts/VKILL.S b/libc/sysv/consts/VKILL.S index 74b97666479..df4a0711a02 100644 --- a/libc/sysv/consts/VKILL.S +++ b/libc/sysv/consts/VKILL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VKILL 3 5 5 5 5 0 +.syscon termios,VKILL,3,5,5,5,5,0 diff --git a/libc/sysv/consts/VLNEXT.S b/libc/sysv/consts/VLNEXT.S index 2e0250bf82f..0730836c3fd 100644 --- a/libc/sysv/consts/VLNEXT.S +++ b/libc/sysv/consts/VLNEXT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VLNEXT 15 14 14 14 14 0 +.syscon termios,VLNEXT,15,14,14,14,14,0 diff --git a/libc/sysv/consts/VMIN.S b/libc/sysv/consts/VMIN.S index bb128d189a5..d9d30bdf746 100644 --- a/libc/sysv/consts/VMIN.S +++ b/libc/sysv/consts/VMIN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VMIN 6 16 16 16 16 0 +.syscon termios,VMIN,6,16,16,16,16,0 diff --git a/libc/sysv/consts/VOLUME_OVERFLOW.S b/libc/sysv/consts/VOLUME_OVERFLOW.S index 1df410a2093..77bb60f77a0 100644 --- a/libc/sysv/consts/VOLUME_OVERFLOW.S +++ b/libc/sysv/consts/VOLUME_OVERFLOW.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc VOLUME_OVERFLOW 13 0 0 0 0 0 +.syscon misc,VOLUME_OVERFLOW,13,0,0,0,0,0 diff --git a/libc/sysv/consts/VQUIT.S b/libc/sysv/consts/VQUIT.S index 2d28b91d177..8473b263d25 100644 --- a/libc/sysv/consts/VQUIT.S +++ b/libc/sysv/consts/VQUIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VQUIT 1 9 9 9 9 0 +.syscon termios,VQUIT,1,9,9,9,9,0 diff --git a/libc/sysv/consts/VREPRINT.S b/libc/sysv/consts/VREPRINT.S index 67520e9b571..2661bab5d7d 100644 --- a/libc/sysv/consts/VREPRINT.S +++ b/libc/sysv/consts/VREPRINT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VREPRINT 12 6 6 6 6 0 +.syscon termios,VREPRINT,12,6,6,6,6,0 diff --git a/libc/sysv/consts/VSTART.S b/libc/sysv/consts/VSTART.S index 445f45ebfdf..238769c9871 100644 --- a/libc/sysv/consts/VSTART.S +++ b/libc/sysv/consts/VSTART.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VSTART 8 12 12 12 12 0 +.syscon termios,VSTART,8,12,12,12,12,0 diff --git a/libc/sysv/consts/VSTOP.S b/libc/sysv/consts/VSTOP.S index 1a331e2a8e3..e0c6aae4526 100644 --- a/libc/sysv/consts/VSTOP.S +++ b/libc/sysv/consts/VSTOP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VSTOP 9 13 13 13 13 0 +.syscon termios,VSTOP,9,13,13,13,13,0 diff --git a/libc/sysv/consts/VSUSP.S b/libc/sysv/consts/VSUSP.S index 695930259c9..fc47e724092 100644 --- a/libc/sysv/consts/VSUSP.S +++ b/libc/sysv/consts/VSUSP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VSUSP 10 10 10 10 10 0 +.syscon termios,VSUSP,10,10,10,10,10,0 diff --git a/libc/sysv/consts/VSWTC.S b/libc/sysv/consts/VSWTC.S index f1d7c87759f..37647e00278 100644 --- a/libc/sysv/consts/VSWTC.S +++ b/libc/sysv/consts/VSWTC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VSWTC 7 0 0 0 0 0 +.syscon termios,VSWTC,7,0,0,0,0,0 diff --git a/libc/sysv/consts/VT0.S b/libc/sysv/consts/VT0.S index 1e16c1963f6..ac93dc5529c 100644 --- a/libc/sysv/consts/VT0.S +++ b/libc/sysv/consts/VT0.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VT0 0b0000000000000000 0b000000000000000000 0b000000000000000000 0 0 0b0000000000000000 +.syscon termios,VT0,0b0000000000000000,0b000000000000000000,0b000000000000000000,0,0,0b0000000000000000 diff --git a/libc/sysv/consts/VT1.S b/libc/sysv/consts/VT1.S index c7d5876f835..514ebf2dd46 100644 --- a/libc/sysv/consts/VT1.S +++ b/libc/sysv/consts/VT1.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VT1 0b0100000000000000 0b010000000000000000 0b010000000000000000 0 0 0b0100000000000000 +.syscon termios,VT1,0b0100000000000000,0b010000000000000000,0b010000000000000000,0,0,0b0100000000000000 diff --git a/libc/sysv/consts/VTDLY.S b/libc/sysv/consts/VTDLY.S index e69b7587d8e..47b721b82f4 100644 --- a/libc/sysv/consts/VTDLY.S +++ b/libc/sysv/consts/VTDLY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VTDLY 0b0100000000000000 0b010000000000000000 0b010000000000000000 0 0 0b0100000000000000 +.syscon termios,VTDLY,0b0100000000000000,0b010000000000000000,0b010000000000000000,0,0,0b0100000000000000 diff --git a/libc/sysv/consts/VTIME.S b/libc/sysv/consts/VTIME.S index 2988136980a..dcee705cbbc 100644 --- a/libc/sysv/consts/VTIME.S +++ b/libc/sysv/consts/VTIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VTIME 5 17 17 17 17 0 +.syscon termios,VTIME,5,17,17,17,17,0 diff --git a/libc/sysv/consts/VWERASE.S b/libc/sysv/consts/VWERASE.S index 22ee8d38890..10e4bd98518 100644 --- a/libc/sysv/consts/VWERASE.S +++ b/libc/sysv/consts/VWERASE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios VWERASE 14 4 4 4 4 0 +.syscon termios,VWERASE,14,4,4,4,4,0 diff --git a/libc/sysv/consts/WCONTINUED.S b/libc/sysv/consts/WCONTINUED.S index 38e6ceedd6e..5832c3d7c32 100644 --- a/libc/sysv/consts/WCONTINUED.S +++ b/libc/sysv/consts/WCONTINUED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon waitpid WCONTINUED 8 0x10 4 8 16 0 +.syscon waitpid,WCONTINUED,8,0x10,4,8,16,0 diff --git a/libc/sysv/consts/WEOF.S b/libc/sysv/consts/WEOF.S index e7fa08da601..84c1f5a93a4 100644 --- a/libc/sysv/consts/WEOF.S +++ b/libc/sysv/consts/WEOF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WEOF 0xffffffff -1 -1 -1 -1 -1 +.syscon misc,WEOF,0xffffffff,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/WEXITED.S b/libc/sysv/consts/WEXITED.S index 987251014ce..3ee58914c69 100644 --- a/libc/sysv/consts/WEXITED.S +++ b/libc/sysv/consts/WEXITED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon waitid WEXITED 4 4 0x10 0 32 0 +.syscon waitid,WEXITED,4,4,0x10,0,32,0 diff --git a/libc/sysv/consts/WHOLE_SECONDS.S b/libc/sysv/consts/WHOLE_SECONDS.S index 0218592a4c3..a8c03cd582c 100644 --- a/libc/sysv/consts/WHOLE_SECONDS.S +++ b/libc/sysv/consts/WHOLE_SECONDS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon prsnlty WHOLE_SECONDS 0x2000000 -1 -1 -1 -1 -1 +.syscon prsnlty,WHOLE_SECONDS,0x2000000,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/WNOHANG.S b/libc/sysv/consts/WNOHANG.S index 86d776b8f2f..61d13e3366a 100644 --- a/libc/sysv/consts/WNOHANG.S +++ b/libc/sysv/consts/WNOHANG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon waitpid WNOHANG 1 1 1 1 1 0 +.syscon waitpid,WNOHANG,1,1,1,1,1,0 diff --git a/libc/sysv/consts/WNOWAIT.S b/libc/sysv/consts/WNOWAIT.S index ae58e76f336..8d2dd244306 100644 --- a/libc/sysv/consts/WNOWAIT.S +++ b/libc/sysv/consts/WNOWAIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon waitid WNOWAIT 0x01000000 0x20 8 0 0x10000 0 +.syscon waitid,WNOWAIT,0x01000000,0x20,8,0,0x10000,0 diff --git a/libc/sysv/consts/WORD_BIT.S b/libc/sysv/consts/WORD_BIT.S index 6dd45b9d938..fb0f2a6ffe3 100644 --- a/libc/sysv/consts/WORD_BIT.S +++ b/libc/sysv/consts/WORD_BIT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WORD_BIT 0x20 0x20 0x20 0x20 0x20 0 +.syscon misc,WORD_BIT,0x20,0x20,0x20,0x20,0x20,0 diff --git a/libc/sysv/consts/WRDE_APPEND.S b/libc/sysv/consts/WRDE_APPEND.S index 40521fcb19a..8a43c85f232 100644 --- a/libc/sysv/consts/WRDE_APPEND.S +++ b/libc/sysv/consts/WRDE_APPEND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRDE_APPEND 0 1 1 0 0 0 +.syscon misc,WRDE_APPEND,0,1,1,0,0,0 diff --git a/libc/sysv/consts/WRDE_BADCHAR.S b/libc/sysv/consts/WRDE_BADCHAR.S index c6c0e7e33de..1ce240649e0 100644 --- a/libc/sysv/consts/WRDE_BADCHAR.S +++ b/libc/sysv/consts/WRDE_BADCHAR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRDE_BADCHAR 0 1 1 0 0 0 +.syscon misc,WRDE_BADCHAR,0,1,1,0,0,0 diff --git a/libc/sysv/consts/WRDE_BADVAL.S b/libc/sysv/consts/WRDE_BADVAL.S index 15e26cd9c2f..de0603e6cee 100644 --- a/libc/sysv/consts/WRDE_BADVAL.S +++ b/libc/sysv/consts/WRDE_BADVAL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRDE_BADVAL 0 2 2 0 0 0 +.syscon misc,WRDE_BADVAL,0,2,2,0,0,0 diff --git a/libc/sysv/consts/WRDE_CMDSUB.S b/libc/sysv/consts/WRDE_CMDSUB.S index af295094972..2262f71801b 100644 --- a/libc/sysv/consts/WRDE_CMDSUB.S +++ b/libc/sysv/consts/WRDE_CMDSUB.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRDE_CMDSUB 0 3 3 0 0 0 +.syscon misc,WRDE_CMDSUB,0,3,3,0,0,0 diff --git a/libc/sysv/consts/WRDE_DOOFFS.S b/libc/sysv/consts/WRDE_DOOFFS.S index 6cb8f79a871..78ff571758a 100644 --- a/libc/sysv/consts/WRDE_DOOFFS.S +++ b/libc/sysv/consts/WRDE_DOOFFS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRDE_DOOFFS 0 2 2 0 0 0 +.syscon misc,WRDE_DOOFFS,0,2,2,0,0,0 diff --git a/libc/sysv/consts/WRDE_NOCMD.S b/libc/sysv/consts/WRDE_NOCMD.S index a4d950befc2..a99dfb40fd0 100644 --- a/libc/sysv/consts/WRDE_NOCMD.S +++ b/libc/sysv/consts/WRDE_NOCMD.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRDE_NOCMD 0 4 4 0 0 0 +.syscon misc,WRDE_NOCMD,0,4,4,0,0,0 diff --git a/libc/sysv/consts/WRDE_NOSPACE.S b/libc/sysv/consts/WRDE_NOSPACE.S index 0f4b88d1c9f..0d33221c707 100644 --- a/libc/sysv/consts/WRDE_NOSPACE.S +++ b/libc/sysv/consts/WRDE_NOSPACE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRDE_NOSPACE 0 4 4 0 0 0 +.syscon misc,WRDE_NOSPACE,0,4,4,0,0,0 diff --git a/libc/sysv/consts/WRDE_NOSYS.S b/libc/sysv/consts/WRDE_NOSYS.S index f155dffeee7..3196a5bdff5 100644 --- a/libc/sysv/consts/WRDE_NOSYS.S +++ b/libc/sysv/consts/WRDE_NOSYS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRDE_NOSYS 0 5 5 0 0 0 +.syscon misc,WRDE_NOSYS,0,5,5,0,0,0 diff --git a/libc/sysv/consts/WRDE_REUSE.S b/libc/sysv/consts/WRDE_REUSE.S index b0e86e03020..178784fd127 100644 --- a/libc/sysv/consts/WRDE_REUSE.S +++ b/libc/sysv/consts/WRDE_REUSE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRDE_REUSE 0 8 8 0 0 0 +.syscon misc,WRDE_REUSE,0,8,8,0,0,0 diff --git a/libc/sysv/consts/WRDE_SHOWERR.S b/libc/sysv/consts/WRDE_SHOWERR.S index 42dc1529f3d..a1884676d33 100644 --- a/libc/sysv/consts/WRDE_SHOWERR.S +++ b/libc/sysv/consts/WRDE_SHOWERR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRDE_SHOWERR 0 0x10 0x10 0 0 0 +.syscon misc,WRDE_SHOWERR,0,0x10,0x10,0,0,0 diff --git a/libc/sysv/consts/WRDE_SYNTAX.S b/libc/sysv/consts/WRDE_SYNTAX.S index f01e21cf879..dfc6c59b559 100644 --- a/libc/sysv/consts/WRDE_SYNTAX.S +++ b/libc/sysv/consts/WRDE_SYNTAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRDE_SYNTAX 0 6 6 0 0 0 +.syscon misc,WRDE_SYNTAX,0,6,6,0,0,0 diff --git a/libc/sysv/consts/WRDE_UNDEF.S b/libc/sysv/consts/WRDE_UNDEF.S index 2898679bbfa..2834fa9f520 100644 --- a/libc/sysv/consts/WRDE_UNDEF.S +++ b/libc/sysv/consts/WRDE_UNDEF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRDE_UNDEF 0 0x20 0x20 0 0 0 +.syscon misc,WRDE_UNDEF,0,0x20,0x20,0,0,0 diff --git a/libc/sysv/consts/WRITE_10.S b/libc/sysv/consts/WRITE_10.S index 57ea1486a14..a8a41395915 100644 --- a/libc/sysv/consts/WRITE_10.S +++ b/libc/sysv/consts/WRITE_10.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRITE_10 42 0 0 0 0 0 +.syscon misc,WRITE_10,42,0,0,0,0,0 diff --git a/libc/sysv/consts/WRITE_12.S b/libc/sysv/consts/WRITE_12.S index 57198f88a84..4a601fe9ce9 100644 --- a/libc/sysv/consts/WRITE_12.S +++ b/libc/sysv/consts/WRITE_12.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRITE_12 170 0 0 0 0 0 +.syscon misc,WRITE_12,170,0,0,0,0,0 diff --git a/libc/sysv/consts/WRITE_6.S b/libc/sysv/consts/WRITE_6.S index 9de6a995eac..ec8a380f0f4 100644 --- a/libc/sysv/consts/WRITE_6.S +++ b/libc/sysv/consts/WRITE_6.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRITE_6 10 0 0 0 0 0 +.syscon misc,WRITE_6,10,0,0,0,0,0 diff --git a/libc/sysv/consts/WRITE_BUFFER.S b/libc/sysv/consts/WRITE_BUFFER.S index 0b9e6bf6fd3..08269023357 100644 --- a/libc/sysv/consts/WRITE_BUFFER.S +++ b/libc/sysv/consts/WRITE_BUFFER.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRITE_BUFFER 59 0 0 0 0 0 +.syscon misc,WRITE_BUFFER,59,0,0,0,0,0 diff --git a/libc/sysv/consts/WRITE_FILEMARKS.S b/libc/sysv/consts/WRITE_FILEMARKS.S index 53629bdce4c..dd55e6e6986 100644 --- a/libc/sysv/consts/WRITE_FILEMARKS.S +++ b/libc/sysv/consts/WRITE_FILEMARKS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRITE_FILEMARKS 0x10 0 0 0 0 0 +.syscon misc,WRITE_FILEMARKS,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/WRITE_LONG.S b/libc/sysv/consts/WRITE_LONG.S index fe4f2905ef9..42917846819 100644 --- a/libc/sysv/consts/WRITE_LONG.S +++ b/libc/sysv/consts/WRITE_LONG.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRITE_LONG 63 0 0 0 0 0 +.syscon misc,WRITE_LONG,63,0,0,0,0,0 diff --git a/libc/sysv/consts/WRITE_LONG_2.S b/libc/sysv/consts/WRITE_LONG_2.S index ac71c71fbdc..016c7f948ee 100644 --- a/libc/sysv/consts/WRITE_LONG_2.S +++ b/libc/sysv/consts/WRITE_LONG_2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRITE_LONG_2 234 0 0 0 0 0 +.syscon misc,WRITE_LONG_2,234,0,0,0,0,0 diff --git a/libc/sysv/consts/WRITE_SAME.S b/libc/sysv/consts/WRITE_SAME.S index 349547a3881..7ed5916b921 100644 --- a/libc/sysv/consts/WRITE_SAME.S +++ b/libc/sysv/consts/WRITE_SAME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRITE_SAME 65 0 0 0 0 0 +.syscon misc,WRITE_SAME,65,0,0,0,0,0 diff --git a/libc/sysv/consts/WRITE_VERIFY.S b/libc/sysv/consts/WRITE_VERIFY.S index 36a2f2e04fc..d06004a3160 100644 --- a/libc/sysv/consts/WRITE_VERIFY.S +++ b/libc/sysv/consts/WRITE_VERIFY.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRITE_VERIFY 46 0 0 0 0 0 +.syscon misc,WRITE_VERIFY,46,0,0,0,0,0 diff --git a/libc/sysv/consts/WRITE_VERIFY_12.S b/libc/sysv/consts/WRITE_VERIFY_12.S index 091a769d03c..8b350e2a269 100644 --- a/libc/sysv/consts/WRITE_VERIFY_12.S +++ b/libc/sysv/consts/WRITE_VERIFY_12.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRITE_VERIFY_12 174 0 0 0 0 0 +.syscon misc,WRITE_VERIFY_12,174,0,0,0,0,0 diff --git a/libc/sysv/consts/WRQ.S b/libc/sysv/consts/WRQ.S index ca3576ad088..507992bb7e4 100644 --- a/libc/sysv/consts/WRQ.S +++ b/libc/sysv/consts/WRQ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc WRQ 2 2 2 2 2 0 +.syscon misc,WRQ,2,2,2,2,2,0 diff --git a/libc/sysv/consts/WSTOPPED.S b/libc/sysv/consts/WSTOPPED.S index 8a214967ab9..8d44e55ceff 100644 --- a/libc/sysv/consts/WSTOPPED.S +++ b/libc/sysv/consts/WSTOPPED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon waitid WSTOPPED 2 8 2 0 2 0 +.syscon waitid,WSTOPPED,2,8,2,0,2,0 diff --git a/libc/sysv/consts/WUNTRACED.S b/libc/sysv/consts/WUNTRACED.S index ec978e9f24a..fbadaa94c6a 100644 --- a/libc/sysv/consts/WUNTRACED.S +++ b/libc/sysv/consts/WUNTRACED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon waitpid WUNTRACED 2 2 2 2 2 0 +.syscon waitpid,WUNTRACED,2,2,2,2,2,0 diff --git a/libc/sysv/consts/W_OK.S b/libc/sysv/consts/W_OK.S index 1bd44f9bbdd..ff52a5a5b53 100644 --- a/libc/sysv/consts/W_OK.S +++ b/libc/sysv/consts/W_OK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon access W_OK 2 2 2 2 2 0x40000000 +.syscon access,W_OK,2,2,2,2,2,0x40000000 diff --git a/libc/sysv/consts/XATTR_CREATE.S b/libc/sysv/consts/XATTR_CREATE.S index 29e55f6b088..4255d57259c 100644 --- a/libc/sysv/consts/XATTR_CREATE.S +++ b/libc/sysv/consts/XATTR_CREATE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc XATTR_CREATE 1 2 0 0 0 0 +.syscon misc,XATTR_CREATE,1,2,0,0,0,0 diff --git a/libc/sysv/consts/XATTR_REPLACE.S b/libc/sysv/consts/XATTR_REPLACE.S index 53b32cea3e0..22573517167 100644 --- a/libc/sysv/consts/XATTR_REPLACE.S +++ b/libc/sysv/consts/XATTR_REPLACE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc XATTR_REPLACE 2 4 0 0 0 0 +.syscon misc,XATTR_REPLACE,2,4,0,0,0,0 diff --git a/libc/sysv/consts/XCASE.S b/libc/sysv/consts/XCASE.S index bba95c2dc9f..307c411e731 100644 --- a/libc/sysv/consts/XCASE.S +++ b/libc/sysv/consts/XCASE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios XCASE 0b0000000000000100 0 0 16777216 16777216 0b0000000000000100 +.syscon termios,XCASE,0b0000000000000100,0,0,16777216,16777216,0b0000000000000100 diff --git a/libc/sysv/consts/XTABS.S b/libc/sysv/consts/XTABS.S index c9e75d2db17..f0b7db658a8 100644 --- a/libc/sysv/consts/XTABS.S +++ b/libc/sysv/consts/XTABS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon termios XTABS 0b0001100000000000 0b000000000000000000 0b000000110000000000 0 0 0b0001100000000000 +.syscon termios,XTABS,0b0001100000000000,0b000000000000000000,0b000000110000000000,0,0,0b0001100000000000 diff --git a/libc/sysv/consts/X_OK.S b/libc/sysv/consts/X_OK.S index 63580a29e37..6a9d2c7f966 100644 --- a/libc/sysv/consts/X_OK.S +++ b/libc/sysv/consts/X_OK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon access X_OK 1 1 1 1 1 0xa0000000 +.syscon access,X_OK,1,1,1,1,1,0xa0000000 diff --git a/libc/sysv/consts/YESEXPR.S b/libc/sysv/consts/YESEXPR.S index 86d1265877a..66a9e6510d1 100644 --- a/libc/sysv/consts/YESEXPR.S +++ b/libc/sysv/consts/YESEXPR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc YESEXPR 0x050000 52 52 47 47 0 +.syscon misc,YESEXPR,0x050000,52,52,47,47,0 diff --git a/libc/sysv/consts/YESSTR.S b/libc/sysv/consts/YESSTR.S index 268be69b014..0735ede4b40 100644 --- a/libc/sysv/consts/YESSTR.S +++ b/libc/sysv/consts/YESSTR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc YESSTR 0x050002 54 54 46 46 0 +.syscon misc,YESSTR,0x050002,54,54,46,46,0 diff --git a/libc/sysv/consts/_IOC_NONE.S b/libc/sysv/consts/_IOC_NONE.S index d61df5a345a..45d0eb170a5 100644 --- a/libc/sysv/consts/_IOC_NONE.S +++ b/libc/sysv/consts/_IOC_NONE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _IOC_NONE 0 0 0 0 0 0 +.syscon misc,_IOC_NONE,0,0,0,0,0,0 diff --git a/libc/sysv/consts/_IOC_READ.S b/libc/sysv/consts/_IOC_READ.S index 478560d401f..ba41d4d28dd 100644 --- a/libc/sysv/consts/_IOC_READ.S +++ b/libc/sysv/consts/_IOC_READ.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _IOC_READ 2 0 0 0 0 0 +.syscon misc,_IOC_READ,2,0,0,0,0,0 diff --git a/libc/sysv/consts/_IOC_WRITE.S b/libc/sysv/consts/_IOC_WRITE.S index 60ce9382e29..ff3ef6d7021 100644 --- a/libc/sysv/consts/_IOC_WRITE.S +++ b/libc/sysv/consts/_IOC_WRITE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _IOC_WRITE 1 0 0 0 0 0 +.syscon misc,_IOC_WRITE,1,0,0,0,0,0 diff --git a/libc/sysv/consts/_LINUX_QUOTA_VERSION.S b/libc/sysv/consts/_LINUX_QUOTA_VERSION.S index 02b2c132ead..fa1700a250f 100644 --- a/libc/sysv/consts/_LINUX_QUOTA_VERSION.S +++ b/libc/sysv/consts/_LINUX_QUOTA_VERSION.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _LINUX_QUOTA_VERSION 2 0 0 0 0 0 +.syscon misc,_LINUX_QUOTA_VERSION,2,0,0,0,0,0 diff --git a/libc/sysv/consts/_POSIX2_BC_BASE_MAX.S b/libc/sysv/consts/_POSIX2_BC_BASE_MAX.S index dc5c76d7e42..d9def8b3a14 100644 --- a/libc/sysv/consts/_POSIX2_BC_BASE_MAX.S +++ b/libc/sysv/consts/_POSIX2_BC_BASE_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _POSIX2_BC_BASE_MAX 99 99 99 99 99 0 +.syscon misc,_POSIX2_BC_BASE_MAX,99,99,99,99,99,0 diff --git a/libc/sysv/consts/_POSIX2_BC_DIM_MAX.S b/libc/sysv/consts/_POSIX2_BC_DIM_MAX.S index 7eeb85eb114..c998bf8eefa 100644 --- a/libc/sysv/consts/_POSIX2_BC_DIM_MAX.S +++ b/libc/sysv/consts/_POSIX2_BC_DIM_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _POSIX2_BC_DIM_MAX 0x0800 0x0800 0x0800 0x0800 0x0800 0 +.syscon misc,_POSIX2_BC_DIM_MAX,0x0800,0x0800,0x0800,0x0800,0x0800,0 diff --git a/libc/sysv/consts/_POSIX2_BC_SCALE_MAX.S b/libc/sysv/consts/_POSIX2_BC_SCALE_MAX.S index e1f20237254..b72e2963d6d 100644 --- a/libc/sysv/consts/_POSIX2_BC_SCALE_MAX.S +++ b/libc/sysv/consts/_POSIX2_BC_SCALE_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _POSIX2_BC_SCALE_MAX 99 99 99 99 99 0 +.syscon misc,_POSIX2_BC_SCALE_MAX,99,99,99,99,99,0 diff --git a/libc/sysv/consts/_POSIX2_BC_STRING_MAX.S b/libc/sysv/consts/_POSIX2_BC_STRING_MAX.S index b2c85785a15..f4ea24f4ec9 100644 --- a/libc/sysv/consts/_POSIX2_BC_STRING_MAX.S +++ b/libc/sysv/consts/_POSIX2_BC_STRING_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _POSIX2_BC_STRING_MAX 0x03e8 0x03e8 0x03e8 0x03e8 0x03e8 0 +.syscon misc,_POSIX2_BC_STRING_MAX,0x03e8,0x03e8,0x03e8,0x03e8,0x03e8,0 diff --git a/libc/sysv/consts/_POSIX2_CHARCLASS_NAME_MAX.S b/libc/sysv/consts/_POSIX2_CHARCLASS_NAME_MAX.S index 76a92b5cc82..596985ba590 100644 --- a/libc/sysv/consts/_POSIX2_CHARCLASS_NAME_MAX.S +++ b/libc/sysv/consts/_POSIX2_CHARCLASS_NAME_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _POSIX2_CHARCLASS_NAME_MAX 14 14 14 14 14 0 +.syscon misc,_POSIX2_CHARCLASS_NAME_MAX,14,14,14,14,14,0 diff --git a/libc/sysv/consts/_POSIX2_COLL_WEIGHTS_MAX.S b/libc/sysv/consts/_POSIX2_COLL_WEIGHTS_MAX.S index ec56467518a..b6f3057e56e 100644 --- a/libc/sysv/consts/_POSIX2_COLL_WEIGHTS_MAX.S +++ b/libc/sysv/consts/_POSIX2_COLL_WEIGHTS_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _POSIX2_COLL_WEIGHTS_MAX 2 2 2 2 2 0 +.syscon misc,_POSIX2_COLL_WEIGHTS_MAX,2,2,2,2,2,0 diff --git a/libc/sysv/consts/_POSIX2_C_BIND.S b/libc/sysv/consts/_POSIX2_C_BIND.S index 5905a9534c4..93adee85b51 100644 --- a/libc/sysv/consts/_POSIX2_C_BIND.S +++ b/libc/sysv/consts/_POSIX2_C_BIND.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _POSIX2_C_BIND 0x031069 0x030db0 0x030db0 0x030db0 0x030db0 0 +.syscon misc,_POSIX2_C_BIND,0x031069,0x030db0,0x030db0,0x030db0,0x030db0,0 diff --git a/libc/sysv/consts/_POSIX2_EXPR_NEST_MAX.S b/libc/sysv/consts/_POSIX2_EXPR_NEST_MAX.S index 5470775a99b..238faf31c89 100644 --- a/libc/sysv/consts/_POSIX2_EXPR_NEST_MAX.S +++ b/libc/sysv/consts/_POSIX2_EXPR_NEST_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _POSIX2_EXPR_NEST_MAX 0x20 0x20 0x20 0x20 0x20 0 +.syscon misc,_POSIX2_EXPR_NEST_MAX,0x20,0x20,0x20,0x20,0x20,0 diff --git a/libc/sysv/consts/_POSIX2_LINE_MAX.S b/libc/sysv/consts/_POSIX2_LINE_MAX.S index 6df6af89f1c..53324180d07 100644 --- a/libc/sysv/consts/_POSIX2_LINE_MAX.S +++ b/libc/sysv/consts/_POSIX2_LINE_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _POSIX2_LINE_MAX 0x0800 0x0800 0x0800 0x0800 0x0800 0 +.syscon misc,_POSIX2_LINE_MAX,0x0800,0x0800,0x0800,0x0800,0x0800,0 diff --git a/libc/sysv/consts/_POSIX2_RE_DUP_MAX.S b/libc/sysv/consts/_POSIX2_RE_DUP_MAX.S index 43489908201..c03fc5b6d79 100644 --- a/libc/sysv/consts/_POSIX2_RE_DUP_MAX.S +++ b/libc/sysv/consts/_POSIX2_RE_DUP_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _POSIX2_RE_DUP_MAX 255 255 255 255 255 0 +.syscon misc,_POSIX2_RE_DUP_MAX,255,255,255,255,255,0 diff --git a/libc/sysv/consts/_POSIX2_VERSION.S b/libc/sysv/consts/_POSIX2_VERSION.S index 2f5b51b1701..ef440fb3655 100644 --- a/libc/sysv/consts/_POSIX2_VERSION.S +++ b/libc/sysv/consts/_POSIX2_VERSION.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _POSIX2_VERSION 0x031069 0x030db0 0x030a2c 0x031069 0x031069 0 +.syscon misc,_POSIX2_VERSION,0x031069,0x030db0,0x030a2c,0x031069,0x031069,0 diff --git a/libc/sysv/consts/_POSIX_ADVISORY_INFO.S b/libc/sysv/consts/_POSIX_ADVISORY_INFO.S index da907064ced..c2737a52b6f 100644 --- a/libc/sysv/consts/_POSIX_ADVISORY_INFO.S +++ b/libc/sysv/consts/_POSIX_ADVISORY_INFO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_ADVISORY_INFO 0x031069 -1 0x030db0 -1 -1 0 +.syscon posix,_POSIX_ADVISORY_INFO,0x031069,-1,0x030db0,-1,-1,0 diff --git a/libc/sysv/consts/_POSIX_AIO_LISTIO_MAX.S b/libc/sysv/consts/_POSIX_AIO_LISTIO_MAX.S index 5e4a63d024d..38fc0e03198 100644 --- a/libc/sysv/consts/_POSIX_AIO_LISTIO_MAX.S +++ b/libc/sysv/consts/_POSIX_AIO_LISTIO_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_AIO_LISTIO_MAX 2 2 2 0 0 0 +.syscon posix,_POSIX_AIO_LISTIO_MAX,2,2,2,0,0,0 diff --git a/libc/sysv/consts/_POSIX_AIO_MAX.S b/libc/sysv/consts/_POSIX_AIO_MAX.S index 788dee07840..e342f6a7c26 100644 --- a/libc/sysv/consts/_POSIX_AIO_MAX.S +++ b/libc/sysv/consts/_POSIX_AIO_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_AIO_MAX 1 1 1 0 0 0 +.syscon posix,_POSIX_AIO_MAX,1,1,1,0,0,0 diff --git a/libc/sysv/consts/_POSIX_ARG_MAX.S b/libc/sysv/consts/_POSIX_ARG_MAX.S index 9a7add6669a..315cf621ca6 100644 --- a/libc/sysv/consts/_POSIX_ARG_MAX.S +++ b/libc/sysv/consts/_POSIX_ARG_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_ARG_MAX 0x1000 0x1000 0x1000 0x1000 0x1000 0 +.syscon posix,_POSIX_ARG_MAX,0x1000,0x1000,0x1000,0x1000,0x1000,0 diff --git a/libc/sysv/consts/_POSIX_ASYNCHRONOUS_IO.S b/libc/sysv/consts/_POSIX_ASYNCHRONOUS_IO.S index a8c87514537..4de9f3bbd28 100644 --- a/libc/sysv/consts/_POSIX_ASYNCHRONOUS_IO.S +++ b/libc/sysv/consts/_POSIX_ASYNCHRONOUS_IO.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_ASYNCHRONOUS_IO 0x031069 -1 0x030db0 -1 -1 0 +.syscon posix,_POSIX_ASYNCHRONOUS_IO,0x031069,-1,0x030db0,-1,-1,0 diff --git a/libc/sysv/consts/_POSIX_BARRIERS.S b/libc/sysv/consts/_POSIX_BARRIERS.S index 20bf101f4b2..8fbeb0fac1a 100644 --- a/libc/sysv/consts/_POSIX_BARRIERS.S +++ b/libc/sysv/consts/_POSIX_BARRIERS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_BARRIERS 0x031069 -1 0x030db0 0x030db0 0x030db0 0 +.syscon posix,_POSIX_BARRIERS,0x031069,-1,0x030db0,0x030db0,0x030db0,0 diff --git a/libc/sysv/consts/_POSIX_CHILD_MAX.S b/libc/sysv/consts/_POSIX_CHILD_MAX.S index ec6fc289abf..3495a2ca004 100644 --- a/libc/sysv/consts/_POSIX_CHILD_MAX.S +++ b/libc/sysv/consts/_POSIX_CHILD_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_CHILD_MAX 25 25 25 25 25 0 +.syscon posix,_POSIX_CHILD_MAX,25,25,25,25,25,0 diff --git a/libc/sysv/consts/_POSIX_CHOWN_RESTRICTED.S b/libc/sysv/consts/_POSIX_CHOWN_RESTRICTED.S index 9977e32ba11..4ff35272a58 100644 --- a/libc/sysv/consts/_POSIX_CHOWN_RESTRICTED.S +++ b/libc/sysv/consts/_POSIX_CHOWN_RESTRICTED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_CHOWN_RESTRICTED 0 0x030db0 1 1 1 0 +.syscon posix,_POSIX_CHOWN_RESTRICTED,0,0x030db0,1,1,1,0 diff --git a/libc/sysv/consts/_POSIX_CLOCKRES_MIN.S b/libc/sysv/consts/_POSIX_CLOCKRES_MIN.S index f54c6c16355..3bd0857d543 100644 --- a/libc/sysv/consts/_POSIX_CLOCKRES_MIN.S +++ b/libc/sysv/consts/_POSIX_CLOCKRES_MIN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_CLOCKRES_MIN 0x01312d00 0 0x01312d00 0x01312d00 0x01312d00 0 +.syscon posix,_POSIX_CLOCKRES_MIN,0x01312d00,0,0x01312d00,0x01312d00,0x01312d00,0 diff --git a/libc/sysv/consts/_POSIX_CLOCK_SELECTION.S b/libc/sysv/consts/_POSIX_CLOCK_SELECTION.S index 8c7de1627ff..c6894a9533f 100644 --- a/libc/sysv/consts/_POSIX_CLOCK_SELECTION.S +++ b/libc/sysv/consts/_POSIX_CLOCK_SELECTION.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_CLOCK_SELECTION 0x031069 -1 -1 -1 -1 0 +.syscon posix,_POSIX_CLOCK_SELECTION,0x031069,-1,-1,-1,-1,0 diff --git a/libc/sysv/consts/_POSIX_CPUTIME.S b/libc/sysv/consts/_POSIX_CPUTIME.S index 6c9581e9094..8be5a812d4f 100644 --- a/libc/sysv/consts/_POSIX_CPUTIME.S +++ b/libc/sysv/consts/_POSIX_CPUTIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_CPUTIME 0 -1 0x030db0 0x031069 0x031069 0 +.syscon posix,_POSIX_CPUTIME,0,-1,0x030db0,0x031069,0x031069,0 diff --git a/libc/sysv/consts/_POSIX_DELAYTIMER_MAX.S b/libc/sysv/consts/_POSIX_DELAYTIMER_MAX.S index 6ba672e383d..847687eeae4 100644 --- a/libc/sysv/consts/_POSIX_DELAYTIMER_MAX.S +++ b/libc/sysv/consts/_POSIX_DELAYTIMER_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_DELAYTIMER_MAX 0x20 0x20 0x20 0 0 0 +.syscon posix,_POSIX_DELAYTIMER_MAX,0x20,0x20,0x20,0,0,0 diff --git a/libc/sysv/consts/_POSIX_FSYNC.S b/libc/sysv/consts/_POSIX_FSYNC.S index b92c7f5eec0..98734a4609f 100644 --- a/libc/sysv/consts/_POSIX_FSYNC.S +++ b/libc/sysv/consts/_POSIX_FSYNC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_FSYNC 0x031069 0x030db0 0x030db0 0x030db0 0x030db0 0 +.syscon posix,_POSIX_FSYNC,0x031069,0x030db0,0x030db0,0x030db0,0x030db0,0 diff --git a/libc/sysv/consts/_POSIX_HOST_NAME_MAX.S b/libc/sysv/consts/_POSIX_HOST_NAME_MAX.S index 49e99fa0ecf..cdd32150de2 100644 --- a/libc/sysv/consts/_POSIX_HOST_NAME_MAX.S +++ b/libc/sysv/consts/_POSIX_HOST_NAME_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_HOST_NAME_MAX 255 255 255 255 255 0 +.syscon posix,_POSIX_HOST_NAME_MAX,255,255,255,255,255,0 diff --git a/libc/sysv/consts/_POSIX_IPV6.S b/libc/sysv/consts/_POSIX_IPV6.S index 240b3ad2ba2..b77770aabbd 100644 --- a/libc/sysv/consts/_POSIX_IPV6.S +++ b/libc/sysv/consts/_POSIX_IPV6.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_IPV6 0x031069 0x030db0 0 0 0 0 +.syscon posix,_POSIX_IPV6,0x031069,0x030db0,0,0,0,0 diff --git a/libc/sysv/consts/_POSIX_JOB_CONTROL.S b/libc/sysv/consts/_POSIX_JOB_CONTROL.S index 0f1e68e63a1..6075f5486e2 100644 --- a/libc/sysv/consts/_POSIX_JOB_CONTROL.S +++ b/libc/sysv/consts/_POSIX_JOB_CONTROL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_JOB_CONTROL 1 0x030db0 1 1 1 0 +.syscon posix,_POSIX_JOB_CONTROL,1,0x030db0,1,1,1,0 diff --git a/libc/sysv/consts/_POSIX_LINK_MAX.S b/libc/sysv/consts/_POSIX_LINK_MAX.S index 7de61dc63fd..b4e062ba049 100644 --- a/libc/sysv/consts/_POSIX_LINK_MAX.S +++ b/libc/sysv/consts/_POSIX_LINK_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_LINK_MAX 8 8 8 8 8 0 +.syscon posix,_POSIX_LINK_MAX,8,8,8,8,8,0 diff --git a/libc/sysv/consts/_POSIX_LOGIN_NAME_MAX.S b/libc/sysv/consts/_POSIX_LOGIN_NAME_MAX.S index 4cb9accb720..deb4123ba00 100644 --- a/libc/sysv/consts/_POSIX_LOGIN_NAME_MAX.S +++ b/libc/sysv/consts/_POSIX_LOGIN_NAME_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_LOGIN_NAME_MAX 9 9 9 9 9 0 +.syscon posix,_POSIX_LOGIN_NAME_MAX,9,9,9,9,9,0 diff --git a/libc/sysv/consts/_POSIX_MAPPED_FILES.S b/libc/sysv/consts/_POSIX_MAPPED_FILES.S index 93b37c373ba..20e7b821cf4 100644 --- a/libc/sysv/consts/_POSIX_MAPPED_FILES.S +++ b/libc/sysv/consts/_POSIX_MAPPED_FILES.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_MAPPED_FILES 0x031069 0x030db0 0x030db0 0x030db0 0x030db0 0 +.syscon posix,_POSIX_MAPPED_FILES,0x031069,0x030db0,0x030db0,0x030db0,0x030db0,0 diff --git a/libc/sysv/consts/_POSIX_MAX_CANON.S b/libc/sysv/consts/_POSIX_MAX_CANON.S index 4700289e69f..1abaa320335 100644 --- a/libc/sysv/consts/_POSIX_MAX_CANON.S +++ b/libc/sysv/consts/_POSIX_MAX_CANON.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_MAX_CANON 255 255 255 255 255 0 +.syscon posix,_POSIX_MAX_CANON,255,255,255,255,255,0 diff --git a/libc/sysv/consts/_POSIX_MAX_INPUT.S b/libc/sysv/consts/_POSIX_MAX_INPUT.S index 3ad39dd4f77..cecc9f5a780 100644 --- a/libc/sysv/consts/_POSIX_MAX_INPUT.S +++ b/libc/sysv/consts/_POSIX_MAX_INPUT.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_MAX_INPUT 255 255 255 255 255 0 +.syscon posix,_POSIX_MAX_INPUT,255,255,255,255,255,0 diff --git a/libc/sysv/consts/_POSIX_MEMLOCK.S b/libc/sysv/consts/_POSIX_MEMLOCK.S index 6ae84d2ede0..351263a05cf 100644 --- a/libc/sysv/consts/_POSIX_MEMLOCK.S +++ b/libc/sysv/consts/_POSIX_MEMLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_MEMLOCK 0x031069 -1 -1 0x030db0 0x030db0 0 +.syscon posix,_POSIX_MEMLOCK,0x031069,-1,-1,0x030db0,0x030db0,0 diff --git a/libc/sysv/consts/_POSIX_MEMLOCK_RANGE.S b/libc/sysv/consts/_POSIX_MEMLOCK_RANGE.S index 7c64d8a5e6c..5dbf7e4e61d 100644 --- a/libc/sysv/consts/_POSIX_MEMLOCK_RANGE.S +++ b/libc/sysv/consts/_POSIX_MEMLOCK_RANGE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_MEMLOCK_RANGE 0x031069 -1 0x030db0 0x030db0 0x030db0 0 +.syscon posix,_POSIX_MEMLOCK_RANGE,0x031069,-1,0x030db0,0x030db0,0x030db0,0 diff --git a/libc/sysv/consts/_POSIX_MEMORY_PROTECTION.S b/libc/sysv/consts/_POSIX_MEMORY_PROTECTION.S index 8b28acff63b..12a14fdbd26 100644 --- a/libc/sysv/consts/_POSIX_MEMORY_PROTECTION.S +++ b/libc/sysv/consts/_POSIX_MEMORY_PROTECTION.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_MEMORY_PROTECTION 0x031069 0x030db0 0x030db0 0x030db0 0x030db0 0 +.syscon posix,_POSIX_MEMORY_PROTECTION,0x031069,0x030db0,0x030db0,0x030db0,0x030db0,0 diff --git a/libc/sysv/consts/_POSIX_MESSAGE_PASSING.S b/libc/sysv/consts/_POSIX_MESSAGE_PASSING.S index 0bae704d74f..d5d78467244 100644 --- a/libc/sysv/consts/_POSIX_MESSAGE_PASSING.S +++ b/libc/sysv/consts/_POSIX_MESSAGE_PASSING.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_MESSAGE_PASSING 0x031069 -1 0x030db0 -1 -1 0 +.syscon posix,_POSIX_MESSAGE_PASSING,0x031069,-1,0x030db0,-1,-1,0 diff --git a/libc/sysv/consts/_POSIX_MONOTONIC_CLOCK.S b/libc/sysv/consts/_POSIX_MONOTONIC_CLOCK.S index 133497f49e1..06db4eb3588 100644 --- a/libc/sysv/consts/_POSIX_MONOTONIC_CLOCK.S +++ b/libc/sysv/consts/_POSIX_MONOTONIC_CLOCK.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_MONOTONIC_CLOCK 0 -1 0x030db0 0x030db0 0x030db0 0 +.syscon posix,_POSIX_MONOTONIC_CLOCK,0,-1,0x030db0,0x030db0,0x030db0,0 diff --git a/libc/sysv/consts/_POSIX_MQ_OPEN_MAX.S b/libc/sysv/consts/_POSIX_MQ_OPEN_MAX.S index d6f8275cae9..0ea3ac38e29 100644 --- a/libc/sysv/consts/_POSIX_MQ_OPEN_MAX.S +++ b/libc/sysv/consts/_POSIX_MQ_OPEN_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_MQ_OPEN_MAX 8 8 8 0 0 0 +.syscon posix,_POSIX_MQ_OPEN_MAX,8,8,8,0,0,0 diff --git a/libc/sysv/consts/_POSIX_MQ_PRIO_MAX.S b/libc/sysv/consts/_POSIX_MQ_PRIO_MAX.S index 97f8c3619e9..36272de45c1 100644 --- a/libc/sysv/consts/_POSIX_MQ_PRIO_MAX.S +++ b/libc/sysv/consts/_POSIX_MQ_PRIO_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_MQ_PRIO_MAX 0x20 0x20 0x20 0 0 0 +.syscon posix,_POSIX_MQ_PRIO_MAX,0x20,0x20,0x20,0,0,0 diff --git a/libc/sysv/consts/_POSIX_NAME_MAX.S b/libc/sysv/consts/_POSIX_NAME_MAX.S index 3d377d97ab3..a7a828bb7e6 100644 --- a/libc/sysv/consts/_POSIX_NAME_MAX.S +++ b/libc/sysv/consts/_POSIX_NAME_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_NAME_MAX 14 14 14 14 14 14 +.syscon posix,_POSIX_NAME_MAX,14,14,14,14,14,14 diff --git a/libc/sysv/consts/_POSIX_NGROUPS_MAX.S b/libc/sysv/consts/_POSIX_NGROUPS_MAX.S index 2c8b8b0c073..7ba077af6b2 100644 --- a/libc/sysv/consts/_POSIX_NGROUPS_MAX.S +++ b/libc/sysv/consts/_POSIX_NGROUPS_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_NGROUPS_MAX 8 8 8 8 8 0 +.syscon posix,_POSIX_NGROUPS_MAX,8,8,8,8,8,0 diff --git a/libc/sysv/consts/_POSIX_NO_TRUNC.S b/libc/sysv/consts/_POSIX_NO_TRUNC.S index 89d35aa637b..9971eb2d72b 100644 --- a/libc/sysv/consts/_POSIX_NO_TRUNC.S +++ b/libc/sysv/consts/_POSIX_NO_TRUNC.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_NO_TRUNC 1 0x030db0 1 1 1 0 +.syscon posix,_POSIX_NO_TRUNC,1,0x030db0,1,1,1,0 diff --git a/libc/sysv/consts/_POSIX_OPEN_MAX.S b/libc/sysv/consts/_POSIX_OPEN_MAX.S index 9102786a7ad..6c9468640b0 100644 --- a/libc/sysv/consts/_POSIX_OPEN_MAX.S +++ b/libc/sysv/consts/_POSIX_OPEN_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_OPEN_MAX 20 20 20 20 20 20 +.syscon posix,_POSIX_OPEN_MAX,20,20,20,20,20,20 diff --git a/libc/sysv/consts/_POSIX_PATH_MAX.S b/libc/sysv/consts/_POSIX_PATH_MAX.S index 7cc299c0478..909d3c2c79e 100644 --- a/libc/sysv/consts/_POSIX_PATH_MAX.S +++ b/libc/sysv/consts/_POSIX_PATH_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_PATH_MAX 255 255 255 255 255 255 +.syscon posix,_POSIX_PATH_MAX,255,255,255,255,255,255 diff --git a/libc/sysv/consts/_POSIX_PIPE_BUF.S b/libc/sysv/consts/_POSIX_PIPE_BUF.S index 016f478c65d..c831974fe55 100644 --- a/libc/sysv/consts/_POSIX_PIPE_BUF.S +++ b/libc/sysv/consts/_POSIX_PIPE_BUF.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_PIPE_BUF 0x0200 0x0200 0x0200 0x0200 0x0200 0 +.syscon posix,_POSIX_PIPE_BUF,0x0200,0x0200,0x0200,0x0200,0x0200,0 diff --git a/libc/sysv/consts/_POSIX_RAW_SOCKETS.S b/libc/sysv/consts/_POSIX_RAW_SOCKETS.S index 2ada3b9bf64..9f4fc94b1b2 100644 --- a/libc/sysv/consts/_POSIX_RAW_SOCKETS.S +++ b/libc/sysv/consts/_POSIX_RAW_SOCKETS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_RAW_SOCKETS 0x031069 -1 0x030db0 0x030db0 0x030db0 0 +.syscon posix,_POSIX_RAW_SOCKETS,0x031069,-1,0x030db0,0x030db0,0x030db0,0 diff --git a/libc/sysv/consts/_POSIX_READER_WRITER_LOCKS.S b/libc/sysv/consts/_POSIX_READER_WRITER_LOCKS.S index 938ff0c178c..a1a4cc1c793 100644 --- a/libc/sysv/consts/_POSIX_READER_WRITER_LOCKS.S +++ b/libc/sysv/consts/_POSIX_READER_WRITER_LOCKS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_READER_WRITER_LOCKS 0x031069 0x030db0 0x030db0 0x030db0 0x030db0 0 +.syscon posix,_POSIX_READER_WRITER_LOCKS,0x031069,0x030db0,0x030db0,0x030db0,0x030db0,0 diff --git a/libc/sysv/consts/_POSIX_REALTIME_SIGNALS.S b/libc/sysv/consts/_POSIX_REALTIME_SIGNALS.S index f5a07ed5118..be894edb545 100644 --- a/libc/sysv/consts/_POSIX_REALTIME_SIGNALS.S +++ b/libc/sysv/consts/_POSIX_REALTIME_SIGNALS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_REALTIME_SIGNALS 0x031069 -1 0x030db0 -1 -1 0 +.syscon posix,_POSIX_REALTIME_SIGNALS,0x031069,-1,0x030db0,-1,-1,0 diff --git a/libc/sysv/consts/_POSIX_REGEXP.S b/libc/sysv/consts/_POSIX_REGEXP.S index 206f52b2742..ce4e547680b 100644 --- a/libc/sysv/consts/_POSIX_REGEXP.S +++ b/libc/sysv/consts/_POSIX_REGEXP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_REGEXP 1 0x030db0 1 1 1 0 +.syscon posix,_POSIX_REGEXP,1,0x030db0,1,1,1,0 diff --git a/libc/sysv/consts/_POSIX_RE_DUP_MAX.S b/libc/sysv/consts/_POSIX_RE_DUP_MAX.S index 3da1bfc30ce..bfb673a0435 100644 --- a/libc/sysv/consts/_POSIX_RE_DUP_MAX.S +++ b/libc/sysv/consts/_POSIX_RE_DUP_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_RE_DUP_MAX 255 255 255 255 255 0 +.syscon posix,_POSIX_RE_DUP_MAX,255,255,255,255,255,0 diff --git a/libc/sysv/consts/_POSIX_RTSIG_MAX.S b/libc/sysv/consts/_POSIX_RTSIG_MAX.S index 2f447dc30e7..2241f715a42 100644 --- a/libc/sysv/consts/_POSIX_RTSIG_MAX.S +++ b/libc/sysv/consts/_POSIX_RTSIG_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_RTSIG_MAX 8 8 8 0 0 0 +.syscon posix,_POSIX_RTSIG_MAX,8,8,8,0,0,0 diff --git a/libc/sysv/consts/_POSIX_SAVED_IDS.S b/libc/sysv/consts/_POSIX_SAVED_IDS.S index 3493c198cb5..82fffc4ea82 100644 --- a/libc/sysv/consts/_POSIX_SAVED_IDS.S +++ b/libc/sysv/consts/_POSIX_SAVED_IDS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_SAVED_IDS 1 0x030db0 0 1 1 0 +.syscon posix,_POSIX_SAVED_IDS,1,0x030db0,0,1,1,0 diff --git a/libc/sysv/consts/_POSIX_SEMAPHORES.S b/libc/sysv/consts/_POSIX_SEMAPHORES.S index 09eb2c24a24..de3e8eaad35 100644 --- a/libc/sysv/consts/_POSIX_SEMAPHORES.S +++ b/libc/sysv/consts/_POSIX_SEMAPHORES.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_SEMAPHORES 0x031069 -1 0x030db0 0x030db0 0x030db0 0 +.syscon posix,_POSIX_SEMAPHORES,0x031069,-1,0x030db0,0x030db0,0x030db0,0 diff --git a/libc/sysv/consts/_POSIX_SEM_NSEMS_MAX.S b/libc/sysv/consts/_POSIX_SEM_NSEMS_MAX.S index b34394ea311..e9effe5eef8 100644 --- a/libc/sysv/consts/_POSIX_SEM_NSEMS_MAX.S +++ b/libc/sysv/consts/_POSIX_SEM_NSEMS_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_SEM_NSEMS_MAX 0x0100 0x0100 0x0100 0x0100 0x0100 0 +.syscon posix,_POSIX_SEM_NSEMS_MAX,0x0100,0x0100,0x0100,0x0100,0x0100,0 diff --git a/libc/sysv/consts/_POSIX_SEM_VALUE_MAX.S b/libc/sysv/consts/_POSIX_SEM_VALUE_MAX.S index b9c6eca2910..763e10aff45 100644 --- a/libc/sysv/consts/_POSIX_SEM_VALUE_MAX.S +++ b/libc/sysv/consts/_POSIX_SEM_VALUE_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_SEM_VALUE_MAX 0x7fff 0x7fff 0x7fff 0x7fff 0x7fff 0 +.syscon posix,_POSIX_SEM_VALUE_MAX,0x7fff,0x7fff,0x7fff,0x7fff,0x7fff,0 diff --git a/libc/sysv/consts/_POSIX_SHARED_MEMORY_OBJECTS.S b/libc/sysv/consts/_POSIX_SHARED_MEMORY_OBJECTS.S index 36d4267dbfe..a775360c014 100644 --- a/libc/sysv/consts/_POSIX_SHARED_MEMORY_OBJECTS.S +++ b/libc/sysv/consts/_POSIX_SHARED_MEMORY_OBJECTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_SHARED_MEMORY_OBJECTS 0x031069 -1 0x030db0 0x031069 0x031069 0 +.syscon posix,_POSIX_SHARED_MEMORY_OBJECTS,0x031069,-1,0x030db0,0x031069,0x031069,0 diff --git a/libc/sysv/consts/_POSIX_SHELL.S b/libc/sysv/consts/_POSIX_SHELL.S index b07ca3ebe19..ea364b705a0 100644 --- a/libc/sysv/consts/_POSIX_SHELL.S +++ b/libc/sysv/consts/_POSIX_SHELL.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_SHELL 1 0x030db0 1 1 1 0 +.syscon posix,_POSIX_SHELL,1,0x030db0,1,1,1,0 diff --git a/libc/sysv/consts/_POSIX_SIGQUEUE_MAX.S b/libc/sysv/consts/_POSIX_SIGQUEUE_MAX.S index 48c632a17e9..b6e88a5ee88 100644 --- a/libc/sysv/consts/_POSIX_SIGQUEUE_MAX.S +++ b/libc/sysv/consts/_POSIX_SIGQUEUE_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_SIGQUEUE_MAX 0x20 0x20 0x20 0 0 0 +.syscon posix,_POSIX_SIGQUEUE_MAX,0x20,0x20,0x20,0,0,0 diff --git a/libc/sysv/consts/_POSIX_SPAWN.S b/libc/sysv/consts/_POSIX_SPAWN.S index d5ea41586e2..5cc922cef14 100644 --- a/libc/sysv/consts/_POSIX_SPAWN.S +++ b/libc/sysv/consts/_POSIX_SPAWN.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_SPAWN 0x031069 -1 0x030db0 0x030db0 0x030db0 0 +.syscon posix,_POSIX_SPAWN,0x031069,-1,0x030db0,0x030db0,0x030db0,0 diff --git a/libc/sysv/consts/_POSIX_SPIN_LOCKS.S b/libc/sysv/consts/_POSIX_SPIN_LOCKS.S index ce70719d4c5..3da50e838bc 100644 --- a/libc/sysv/consts/_POSIX_SPIN_LOCKS.S +++ b/libc/sysv/consts/_POSIX_SPIN_LOCKS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_SPIN_LOCKS 0x031069 -1 0x030db0 0x030db0 0x030db0 0 +.syscon posix,_POSIX_SPIN_LOCKS,0x031069,-1,0x030db0,0x030db0,0x030db0,0 diff --git a/libc/sysv/consts/_POSIX_SSIZE_MAX.S b/libc/sysv/consts/_POSIX_SSIZE_MAX.S index 798f8751e05..e06159affcc 100644 --- a/libc/sysv/consts/_POSIX_SSIZE_MAX.S +++ b/libc/sysv/consts/_POSIX_SSIZE_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_SSIZE_MAX 0x7fff 0x7fff 0x7fff 0x7fff 0x7fff 0 +.syscon posix,_POSIX_SSIZE_MAX,0x7fff,0x7fff,0x7fff,0x7fff,0x7fff,0 diff --git a/libc/sysv/consts/_POSIX_SS_REPL_MAX.S b/libc/sysv/consts/_POSIX_SS_REPL_MAX.S index 8c7ff77d7c7..3776e47a77b 100644 --- a/libc/sysv/consts/_POSIX_SS_REPL_MAX.S +++ b/libc/sysv/consts/_POSIX_SS_REPL_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_SS_REPL_MAX 0 4 4 0 0 0 +.syscon posix,_POSIX_SS_REPL_MAX,0,4,4,0,0,0 diff --git a/libc/sysv/consts/_POSIX_STREAM_MAX.S b/libc/sysv/consts/_POSIX_STREAM_MAX.S index 3d8362991cb..4067e637bf8 100644 --- a/libc/sysv/consts/_POSIX_STREAM_MAX.S +++ b/libc/sysv/consts/_POSIX_STREAM_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_STREAM_MAX 8 8 8 8 8 0 +.syscon posix,_POSIX_STREAM_MAX,8,8,8,8,8,0 diff --git a/libc/sysv/consts/_POSIX_SYMLINK_MAX.S b/libc/sysv/consts/_POSIX_SYMLINK_MAX.S index 6d8330a3cd9..ca36778c40d 100644 --- a/libc/sysv/consts/_POSIX_SYMLINK_MAX.S +++ b/libc/sysv/consts/_POSIX_SYMLINK_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_SYMLINK_MAX 255 255 255 255 255 0 +.syscon posix,_POSIX_SYMLINK_MAX,255,255,255,255,255,0 diff --git a/libc/sysv/consts/_POSIX_SYMLOOP_MAX.S b/libc/sysv/consts/_POSIX_SYMLOOP_MAX.S index 3713fd85b2e..981d87de799 100644 --- a/libc/sysv/consts/_POSIX_SYMLOOP_MAX.S +++ b/libc/sysv/consts/_POSIX_SYMLOOP_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_SYMLOOP_MAX 8 8 8 8 8 0 +.syscon posix,_POSIX_SYMLOOP_MAX,8,8,8,8,8,0 diff --git a/libc/sysv/consts/_POSIX_THREADS.S b/libc/sysv/consts/_POSIX_THREADS.S index 99b54c5f9fe..8198becab39 100644 --- a/libc/sysv/consts/_POSIX_THREADS.S +++ b/libc/sysv/consts/_POSIX_THREADS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_THREADS 0x031069 0x030db0 0x030db0 0x030db0 0x030db0 0 +.syscon posix,_POSIX_THREADS,0x031069,0x030db0,0x030db0,0x030db0,0x030db0,0 diff --git a/libc/sysv/consts/_POSIX_THREAD_ATTR_STACKADDR.S b/libc/sysv/consts/_POSIX_THREAD_ATTR_STACKADDR.S index 54634a523ab..fc4fc44006d 100644 --- a/libc/sysv/consts/_POSIX_THREAD_ATTR_STACKADDR.S +++ b/libc/sysv/consts/_POSIX_THREAD_ATTR_STACKADDR.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_THREAD_ATTR_STACKADDR 0x031069 0x030db0 0x030db0 0x030db0 0x030db0 0 +.syscon posix,_POSIX_THREAD_ATTR_STACKADDR,0x031069,0x030db0,0x030db0,0x030db0,0x030db0,0 diff --git a/libc/sysv/consts/_POSIX_THREAD_ATTR_STACKSIZE.S b/libc/sysv/consts/_POSIX_THREAD_ATTR_STACKSIZE.S index 6847d6cd7e9..7fec49e4538 100644 --- a/libc/sysv/consts/_POSIX_THREAD_ATTR_STACKSIZE.S +++ b/libc/sysv/consts/_POSIX_THREAD_ATTR_STACKSIZE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_THREAD_ATTR_STACKSIZE 0x031069 0x030db0 0x030db0 0x030db0 0x030db0 0 +.syscon posix,_POSIX_THREAD_ATTR_STACKSIZE,0x031069,0x030db0,0x030db0,0x030db0,0x030db0,0 diff --git a/libc/sysv/consts/_POSIX_THREAD_CPUTIME.S b/libc/sysv/consts/_POSIX_THREAD_CPUTIME.S index a2bcf68efc4..1ceab7a7e2a 100644 --- a/libc/sysv/consts/_POSIX_THREAD_CPUTIME.S +++ b/libc/sysv/consts/_POSIX_THREAD_CPUTIME.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_THREAD_CPUTIME 0 -1 0x030db0 0x031069 0x031069 0 +.syscon posix,_POSIX_THREAD_CPUTIME,0,-1,0x030db0,0x031069,0x031069,0 diff --git a/libc/sysv/consts/_POSIX_THREAD_DESTRUCTOR_ITERATIONS.S b/libc/sysv/consts/_POSIX_THREAD_DESTRUCTOR_ITERATIONS.S index d9303971b8c..cfb21f89a9a 100644 --- a/libc/sysv/consts/_POSIX_THREAD_DESTRUCTOR_ITERATIONS.S +++ b/libc/sysv/consts/_POSIX_THREAD_DESTRUCTOR_ITERATIONS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_THREAD_DESTRUCTOR_ITERATIONS 4 4 4 4 4 0 +.syscon posix,_POSIX_THREAD_DESTRUCTOR_ITERATIONS,4,4,4,4,4,0 diff --git a/libc/sysv/consts/_POSIX_THREAD_KEYS_MAX.S b/libc/sysv/consts/_POSIX_THREAD_KEYS_MAX.S index cdbc7507f6b..f63502d079c 100644 --- a/libc/sysv/consts/_POSIX_THREAD_KEYS_MAX.S +++ b/libc/sysv/consts/_POSIX_THREAD_KEYS_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_THREAD_KEYS_MAX 0x80 0x80 0x80 0x80 0x80 0 +.syscon posix,_POSIX_THREAD_KEYS_MAX,0x80,0x80,0x80,0x80,0x80,0 diff --git a/libc/sysv/consts/_POSIX_THREAD_PRIORITY_SCHEDULING.S b/libc/sysv/consts/_POSIX_THREAD_PRIORITY_SCHEDULING.S index f91c4915ef5..ce2a15df8a5 100644 --- a/libc/sysv/consts/_POSIX_THREAD_PRIORITY_SCHEDULING.S +++ b/libc/sysv/consts/_POSIX_THREAD_PRIORITY_SCHEDULING.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_THREAD_PRIORITY_SCHEDULING 0x031069 -1 0x030db0 -1 -1 0 +.syscon posix,_POSIX_THREAD_PRIORITY_SCHEDULING,0x031069,-1,0x030db0,-1,-1,0 diff --git a/libc/sysv/consts/_POSIX_THREAD_PROCESS_SHARED.S b/libc/sysv/consts/_POSIX_THREAD_PROCESS_SHARED.S index 45293ac24aa..f79252755d4 100644 --- a/libc/sysv/consts/_POSIX_THREAD_PROCESS_SHARED.S +++ b/libc/sysv/consts/_POSIX_THREAD_PROCESS_SHARED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_THREAD_PROCESS_SHARED 0x031069 0x030db0 0x030db0 -1 -1 0 +.syscon posix,_POSIX_THREAD_PROCESS_SHARED,0x031069,0x030db0,0x030db0,-1,-1,0 diff --git a/libc/sysv/consts/_POSIX_THREAD_SAFE_FUNCTIONS.S b/libc/sysv/consts/_POSIX_THREAD_SAFE_FUNCTIONS.S index d9dd49d6ec9..e1d5d06fe85 100644 --- a/libc/sysv/consts/_POSIX_THREAD_SAFE_FUNCTIONS.S +++ b/libc/sysv/consts/_POSIX_THREAD_SAFE_FUNCTIONS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_THREAD_SAFE_FUNCTIONS 0x031069 0x030db0 -1 0x030db0 0x030db0 0 +.syscon posix,_POSIX_THREAD_SAFE_FUNCTIONS,0x031069,0x030db0,-1,0x030db0,0x030db0,0 diff --git a/libc/sysv/consts/_POSIX_THREAD_THREADS_MAX.S b/libc/sysv/consts/_POSIX_THREAD_THREADS_MAX.S index a22ae7c99d0..2fcdce6edce 100644 --- a/libc/sysv/consts/_POSIX_THREAD_THREADS_MAX.S +++ b/libc/sysv/consts/_POSIX_THREAD_THREADS_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_THREAD_THREADS_MAX 0x40 0x40 0x40 4 4 0 +.syscon posix,_POSIX_THREAD_THREADS_MAX,0x40,0x40,0x40,4,4,0 diff --git a/libc/sysv/consts/_POSIX_TIMEOUTS.S b/libc/sysv/consts/_POSIX_TIMEOUTS.S index 45b1d22f093..dddedfeddd7 100644 --- a/libc/sysv/consts/_POSIX_TIMEOUTS.S +++ b/libc/sysv/consts/_POSIX_TIMEOUTS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_TIMEOUTS 0x031069 -1 0x030db0 0x030db0 0x030db0 0 +.syscon posix,_POSIX_TIMEOUTS,0x031069,-1,0x030db0,0x030db0,0x030db0,0 diff --git a/libc/sysv/consts/_POSIX_TIMERS.S b/libc/sysv/consts/_POSIX_TIMERS.S index 394cbe58848..7f4c8ebed94 100644 --- a/libc/sysv/consts/_POSIX_TIMERS.S +++ b/libc/sysv/consts/_POSIX_TIMERS.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_TIMERS 0x031069 -1 0x030db0 -1 -1 0 +.syscon posix,_POSIX_TIMERS,0x031069,-1,0x030db0,-1,-1,0 diff --git a/libc/sysv/consts/_POSIX_TIMER_MAX.S b/libc/sysv/consts/_POSIX_TIMER_MAX.S index 5e5cdf87f94..d7d3b711162 100644 --- a/libc/sysv/consts/_POSIX_TIMER_MAX.S +++ b/libc/sysv/consts/_POSIX_TIMER_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_TIMER_MAX 0x20 0x20 0x20 0 0 0 +.syscon posix,_POSIX_TIMER_MAX,0x20,0x20,0x20,0,0,0 diff --git a/libc/sysv/consts/_POSIX_TRACE_EVENT_NAME_MAX.S b/libc/sysv/consts/_POSIX_TRACE_EVENT_NAME_MAX.S index 845564a90ac..56c6f2efbc6 100644 --- a/libc/sysv/consts/_POSIX_TRACE_EVENT_NAME_MAX.S +++ b/libc/sysv/consts/_POSIX_TRACE_EVENT_NAME_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_TRACE_EVENT_NAME_MAX 0 30 30 0 0 0 +.syscon posix,_POSIX_TRACE_EVENT_NAME_MAX,0,30,30,0,0,0 diff --git a/libc/sysv/consts/_POSIX_TRACE_NAME_MAX.S b/libc/sysv/consts/_POSIX_TRACE_NAME_MAX.S index 7c36e9807bb..c576681b8e1 100644 --- a/libc/sysv/consts/_POSIX_TRACE_NAME_MAX.S +++ b/libc/sysv/consts/_POSIX_TRACE_NAME_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_TRACE_NAME_MAX 0 8 8 0 0 0 +.syscon posix,_POSIX_TRACE_NAME_MAX,0,8,8,0,0,0 diff --git a/libc/sysv/consts/_POSIX_TRACE_SYS_MAX.S b/libc/sysv/consts/_POSIX_TRACE_SYS_MAX.S index 80bc90f8665..6a3a9624941 100644 --- a/libc/sysv/consts/_POSIX_TRACE_SYS_MAX.S +++ b/libc/sysv/consts/_POSIX_TRACE_SYS_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_TRACE_SYS_MAX 0 8 8 0 0 0 +.syscon posix,_POSIX_TRACE_SYS_MAX,0,8,8,0,0,0 diff --git a/libc/sysv/consts/_POSIX_TRACE_USER_EVENT_MAX.S b/libc/sysv/consts/_POSIX_TRACE_USER_EVENT_MAX.S index a34b36201ee..3beba770ff1 100644 --- a/libc/sysv/consts/_POSIX_TRACE_USER_EVENT_MAX.S +++ b/libc/sysv/consts/_POSIX_TRACE_USER_EVENT_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_TRACE_USER_EVENT_MAX 0 0x20 0x20 0 0 0 +.syscon posix,_POSIX_TRACE_USER_EVENT_MAX,0,0x20,0x20,0,0,0 diff --git a/libc/sysv/consts/_POSIX_TTY_NAME_MAX.S b/libc/sysv/consts/_POSIX_TTY_NAME_MAX.S index 50402fd73c4..900f1b86e9b 100644 --- a/libc/sysv/consts/_POSIX_TTY_NAME_MAX.S +++ b/libc/sysv/consts/_POSIX_TTY_NAME_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_TTY_NAME_MAX 9 9 9 9 9 0 +.syscon posix,_POSIX_TTY_NAME_MAX,9,9,9,9,9,0 diff --git a/libc/sysv/consts/_POSIX_TZNAME_MAX.S b/libc/sysv/consts/_POSIX_TZNAME_MAX.S index 33416a78c36..0ce6a6993a9 100644 --- a/libc/sysv/consts/_POSIX_TZNAME_MAX.S +++ b/libc/sysv/consts/_POSIX_TZNAME_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_TZNAME_MAX 6 6 6 6 6 0 +.syscon posix,_POSIX_TZNAME_MAX,6,6,6,6,6,0 diff --git a/libc/sysv/consts/_POSIX_V6_LP64_OFF64.S b/libc/sysv/consts/_POSIX_V6_LP64_OFF64.S index 3b04f153606..3a3c260f47b 100644 --- a/libc/sysv/consts/_POSIX_V6_LP64_OFF64.S +++ b/libc/sysv/consts/_POSIX_V6_LP64_OFF64.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_V6_LP64_OFF64 1 1 0 0 0 0 +.syscon posix,_POSIX_V6_LP64_OFF64,1,1,0,0,0,0 diff --git a/libc/sysv/consts/_POSIX_V7_LP64_OFF64.S b/libc/sysv/consts/_POSIX_V7_LP64_OFF64.S index 0ce4cbd3e0c..351dd64b49c 100644 --- a/libc/sysv/consts/_POSIX_V7_LP64_OFF64.S +++ b/libc/sysv/consts/_POSIX_V7_LP64_OFF64.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_V7_LP64_OFF64 1 1 0 0 0 0 +.syscon posix,_POSIX_V7_LP64_OFF64,1,1,0,0,0,0 diff --git a/libc/sysv/consts/_POSIX_VDISABLE.S b/libc/sysv/consts/_POSIX_VDISABLE.S index dee6ff9f254..b12b3062304 100644 --- a/libc/sysv/consts/_POSIX_VDISABLE.S +++ b/libc/sysv/consts/_POSIX_VDISABLE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_VDISABLE 0 255 255 255 255 0 +.syscon posix,_POSIX_VDISABLE,0,255,255,255,255,0 diff --git a/libc/sysv/consts/_POSIX_VERSION.S b/libc/sysv/consts/_POSIX_VERSION.S index 7e0d5bfccff..34fb98fd9b2 100644 --- a/libc/sysv/consts/_POSIX_VERSION.S +++ b/libc/sysv/consts/_POSIX_VERSION.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon posix _POSIX_VERSION 0x031069 0x030db0 0x030db0 0x031069 0x031069 0 +.syscon posix,_POSIX_VERSION,0x031069,0x030db0,0x030db0,0x031069,0x031069,0 diff --git a/libc/sysv/consts/_SEM_SEMUN_UNDEFINED.S b/libc/sysv/consts/_SEM_SEMUN_UNDEFINED.S index 0f3e6fa53f2..aa810b9ba32 100644 --- a/libc/sysv/consts/_SEM_SEMUN_UNDEFINED.S +++ b/libc/sysv/consts/_SEM_SEMUN_UNDEFINED.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _SEM_SEMUN_UNDEFINED 1 0 0 0 0 0 +.syscon misc,_SEM_SEMUN_UNDEFINED,1,0,0,0,0,0 diff --git a/libc/sysv/consts/_XOPEN_ENH_I18N.S b/libc/sysv/consts/_XOPEN_ENH_I18N.S index ee708acf3b0..4deccb3d285 100644 --- a/libc/sysv/consts/_XOPEN_ENH_I18N.S +++ b/libc/sysv/consts/_XOPEN_ENH_I18N.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _XOPEN_ENH_I18N 1 1 -1 -1 -1 0 +.syscon misc,_XOPEN_ENH_I18N,1,1,-1,-1,-1,0 diff --git a/libc/sysv/consts/_XOPEN_IOV_MAX.S b/libc/sysv/consts/_XOPEN_IOV_MAX.S index c1d3bd81931..8917cb87a37 100644 --- a/libc/sysv/consts/_XOPEN_IOV_MAX.S +++ b/libc/sysv/consts/_XOPEN_IOV_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _XOPEN_IOV_MAX 0x10 0x10 0x10 0x10 0x10 0 +.syscon misc,_XOPEN_IOV_MAX,0x10,0x10,0x10,0x10,0x10,0 diff --git a/libc/sysv/consts/_XOPEN_NAME_MAX.S b/libc/sysv/consts/_XOPEN_NAME_MAX.S index a325bbf2521..22882802763 100644 --- a/libc/sysv/consts/_XOPEN_NAME_MAX.S +++ b/libc/sysv/consts/_XOPEN_NAME_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _XOPEN_NAME_MAX 63 63 63 63 63 63 +.syscon misc,_XOPEN_NAME_MAX,63,63,63,63,63,63 diff --git a/libc/sysv/consts/_XOPEN_PATH_MAX.S b/libc/sysv/consts/_XOPEN_PATH_MAX.S index be5ee715db6..2a1180087b5 100644 --- a/libc/sysv/consts/_XOPEN_PATH_MAX.S +++ b/libc/sysv/consts/_XOPEN_PATH_MAX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _XOPEN_PATH_MAX 255 255 255 255 255 255 +.syscon misc,_XOPEN_PATH_MAX,255,255,255,255,255,255 diff --git a/libc/sysv/consts/_XOPEN_SOURCE.S b/libc/sysv/consts/_XOPEN_SOURCE.S index b1d2b7bea8e..aac415294f7 100644 --- a/libc/sysv/consts/_XOPEN_SOURCE.S +++ b/libc/sysv/consts/_XOPEN_SOURCE.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _XOPEN_SOURCE 700 0 0 0 0 0 +.syscon misc,_XOPEN_SOURCE,700,0,0,0,0,0 diff --git a/libc/sysv/consts/_XOPEN_UNIX.S b/libc/sysv/consts/_XOPEN_UNIX.S index 97db92488dd..892da559b58 100644 --- a/libc/sysv/consts/_XOPEN_UNIX.S +++ b/libc/sysv/consts/_XOPEN_UNIX.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _XOPEN_UNIX 1 1 -1 -1 -1 0 +.syscon misc,_XOPEN_UNIX,1,1,-1,-1,-1,0 diff --git a/libc/sysv/consts/_XOPEN_VERSION.S b/libc/sysv/consts/_XOPEN_VERSION.S index d59657f4c94..20a5261e03e 100644 --- a/libc/sysv/consts/_XOPEN_VERSION.S +++ b/libc/sysv/consts/_XOPEN_VERSION.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon misc _XOPEN_VERSION 700 600 0 0 0 0 +.syscon misc,_XOPEN_VERSION,700,600,0,0,0,0 diff --git a/libc/sysv/consts/__NR___mac_syscall.S b/libc/sysv/consts/__NR___mac_syscall.S index 3e1ebc23a61..f4556b0ae1a 100644 --- a/libc/sysv/consts/__NR___mac_syscall.S +++ b/libc/sysv/consts/__NR___mac_syscall.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR___mac_syscall -1 0x200017d -1 -1 -1 -1 +.syscon nr,__NR___mac_syscall,-1,0x200017d,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR___sysctl.S b/libc/sysv/consts/__NR___sysctl.S index a6461565127..6ee547394b0 100644 --- a/libc/sysv/consts/__NR___sysctl.S +++ b/libc/sysv/consts/__NR___sysctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR___sysctl -1 -1 0x00ca -1 -1 -1 +.syscon nr,__NR___sysctl,-1,-1,0x00ca,-1,-1,-1 diff --git a/libc/sysv/consts/__NR__sysctl.S b/libc/sysv/consts/__NR__sysctl.S index fa79f6ec877..06e731f8fc8 100644 --- a/libc/sysv/consts/__NR__sysctl.S +++ b/libc/sysv/consts/__NR__sysctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR__sysctl 0x009c -1 -1 -1 -1 -1 +.syscon nr,__NR__sysctl,0x009c,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR__umtx_op.S b/libc/sysv/consts/__NR__umtx_op.S index 9904a6ba701..de5bf7e4b9c 100644 --- a/libc/sysv/consts/__NR__umtx_op.S +++ b/libc/sysv/consts/__NR__umtx_op.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR__umtx_op -1 -1 0x01c6 -1 -1 -1 +.syscon nr,__NR__umtx_op,-1,-1,0x01c6,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_abort2.S b/libc/sysv/consts/__NR_abort2.S index 8f3c501e308..038b2e74b68 100644 --- a/libc/sysv/consts/__NR_abort2.S +++ b/libc/sysv/consts/__NR_abort2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_abort2 -1 -1 0x01cf -1 -1 -1 +.syscon nr,__NR_abort2,-1,-1,0x01cf,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_abort_with_payload.S b/libc/sysv/consts/__NR_abort_with_payload.S index 15ec974e1a9..45b0785bbdc 100644 --- a/libc/sysv/consts/__NR_abort_with_payload.S +++ b/libc/sysv/consts/__NR_abort_with_payload.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_abort_with_payload -1 0x2000209 -1 -1 -1 -1 +.syscon nr,__NR_abort_with_payload,-1,0x2000209,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_accept.S b/libc/sysv/consts/__NR_accept.S index 65759e14e1b..edf086a60e1 100644 --- a/libc/sysv/consts/__NR_accept.S +++ b/libc/sysv/consts/__NR_accept.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_accept 0x002b 0x200001e 0x0063 0x001e 0x01e -1 +.syscon nr,__NR_accept,0x002b,0x200001e,0x0063,0x001e,0x01e,-1 diff --git a/libc/sysv/consts/__NR_accept4.S b/libc/sysv/consts/__NR_accept4.S index db7cc48b014..4bec4cf3c55 100644 --- a/libc/sysv/consts/__NR_accept4.S +++ b/libc/sysv/consts/__NR_accept4.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_accept4 0x0120 -1 0x021d 0x005d -1 -1 +.syscon nr,__NR_accept4,0x0120,-1,0x021d,0x005d,-1,-1 diff --git a/libc/sysv/consts/__NR_accept_nocancel.S b/libc/sysv/consts/__NR_accept_nocancel.S index 9bf5c771c9a..878c42d9249 100644 --- a/libc/sysv/consts/__NR_accept_nocancel.S +++ b/libc/sysv/consts/__NR_accept_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_accept_nocancel -1 0x2000194 -1 -1 -1 -1 +.syscon nr,__NR_accept_nocancel,-1,0x2000194,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_access.S b/libc/sysv/consts/__NR_access.S index 487e01bbc1c..e5c4ef527ea 100644 --- a/libc/sysv/consts/__NR_access.S +++ b/libc/sysv/consts/__NR_access.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_access 0x0015 0x2000021 0x0021 0x0021 0x021 -1 +.syscon nr,__NR_access,0x0015,0x2000021,0x0021,0x0021,0x021,-1 diff --git a/libc/sysv/consts/__NR_access_extended.S b/libc/sysv/consts/__NR_access_extended.S index a50882adb98..669b118ca72 100644 --- a/libc/sysv/consts/__NR_access_extended.S +++ b/libc/sysv/consts/__NR_access_extended.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_access_extended -1 0x200011c -1 -1 -1 -1 +.syscon nr,__NR_access_extended,-1,0x200011c,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_acct.S b/libc/sysv/consts/__NR_acct.S index fa8f72647d0..13ac8604df5 100644 --- a/libc/sysv/consts/__NR_acct.S +++ b/libc/sysv/consts/__NR_acct.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_acct 0x00a3 0x2000033 0x0033 0x0033 0x033 -1 +.syscon nr,__NR_acct,0x00a3,0x2000033,0x0033,0x0033,0x033,-1 diff --git a/libc/sysv/consts/__NR_acl_aclcheck_fd.S b/libc/sysv/consts/__NR_acl_aclcheck_fd.S index cae25446726..bf356a51474 100644 --- a/libc/sysv/consts/__NR_acl_aclcheck_fd.S +++ b/libc/sysv/consts/__NR_acl_aclcheck_fd.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_acl_aclcheck_fd -1 -1 0x0162 -1 -1 -1 +.syscon nr,__NR_acl_aclcheck_fd,-1,-1,0x0162,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_acl_aclcheck_file.S b/libc/sysv/consts/__NR_acl_aclcheck_file.S index 5e19c8cff49..e61b200613d 100644 --- a/libc/sysv/consts/__NR_acl_aclcheck_file.S +++ b/libc/sysv/consts/__NR_acl_aclcheck_file.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_acl_aclcheck_file -1 -1 0x0161 -1 -1 -1 +.syscon nr,__NR_acl_aclcheck_file,-1,-1,0x0161,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_acl_aclcheck_link.S b/libc/sysv/consts/__NR_acl_aclcheck_link.S index cb8e0412d19..fa74946037d 100644 --- a/libc/sysv/consts/__NR_acl_aclcheck_link.S +++ b/libc/sysv/consts/__NR_acl_aclcheck_link.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_acl_aclcheck_link -1 -1 0x01ac -1 -1 -1 +.syscon nr,__NR_acl_aclcheck_link,-1,-1,0x01ac,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_acl_delete_fd.S b/libc/sysv/consts/__NR_acl_delete_fd.S index 2b7d90ca250..d1fbf9e2f5a 100644 --- a/libc/sysv/consts/__NR_acl_delete_fd.S +++ b/libc/sysv/consts/__NR_acl_delete_fd.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_acl_delete_fd -1 -1 0x0160 -1 -1 -1 +.syscon nr,__NR_acl_delete_fd,-1,-1,0x0160,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_acl_delete_file.S b/libc/sysv/consts/__NR_acl_delete_file.S index cf996260515..3570a492682 100644 --- a/libc/sysv/consts/__NR_acl_delete_file.S +++ b/libc/sysv/consts/__NR_acl_delete_file.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_acl_delete_file -1 -1 0x015f -1 -1 -1 +.syscon nr,__NR_acl_delete_file,-1,-1,0x015f,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_acl_delete_link.S b/libc/sysv/consts/__NR_acl_delete_link.S index 782b9945b63..a4b431f47d4 100644 --- a/libc/sysv/consts/__NR_acl_delete_link.S +++ b/libc/sysv/consts/__NR_acl_delete_link.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_acl_delete_link -1 -1 0x01ab -1 -1 -1 +.syscon nr,__NR_acl_delete_link,-1,-1,0x01ab,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_acl_get_fd.S b/libc/sysv/consts/__NR_acl_get_fd.S index 701f711ad72..28ff8104e70 100644 --- a/libc/sysv/consts/__NR_acl_get_fd.S +++ b/libc/sysv/consts/__NR_acl_get_fd.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_acl_get_fd -1 -1 0x015d -1 -1 -1 +.syscon nr,__NR_acl_get_fd,-1,-1,0x015d,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_acl_get_file.S b/libc/sysv/consts/__NR_acl_get_file.S index 4ed2659ba3a..deca9e4fd11 100644 --- a/libc/sysv/consts/__NR_acl_get_file.S +++ b/libc/sysv/consts/__NR_acl_get_file.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_acl_get_file -1 -1 0x015b -1 -1 -1 +.syscon nr,__NR_acl_get_file,-1,-1,0x015b,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_acl_get_link.S b/libc/sysv/consts/__NR_acl_get_link.S index 5f74f6da153..af7559c331f 100644 --- a/libc/sysv/consts/__NR_acl_get_link.S +++ b/libc/sysv/consts/__NR_acl_get_link.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_acl_get_link -1 -1 0x01a9 -1 -1 -1 +.syscon nr,__NR_acl_get_link,-1,-1,0x01a9,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_acl_set_fd.S b/libc/sysv/consts/__NR_acl_set_fd.S index 99f6a628759..8a62c051dc9 100644 --- a/libc/sysv/consts/__NR_acl_set_fd.S +++ b/libc/sysv/consts/__NR_acl_set_fd.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_acl_set_fd -1 -1 0x015e -1 -1 -1 +.syscon nr,__NR_acl_set_fd,-1,-1,0x015e,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_acl_set_file.S b/libc/sysv/consts/__NR_acl_set_file.S index 32f81e36802..a91bdd29cd9 100644 --- a/libc/sysv/consts/__NR_acl_set_file.S +++ b/libc/sysv/consts/__NR_acl_set_file.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_acl_set_file -1 -1 0x015c -1 -1 -1 +.syscon nr,__NR_acl_set_file,-1,-1,0x015c,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_acl_set_link.S b/libc/sysv/consts/__NR_acl_set_link.S index 2edb9148447..f25e32e9a11 100644 --- a/libc/sysv/consts/__NR_acl_set_link.S +++ b/libc/sysv/consts/__NR_acl_set_link.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_acl_set_link -1 -1 0x01aa -1 -1 -1 +.syscon nr,__NR_acl_set_link,-1,-1,0x01aa,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_add_key.S b/libc/sysv/consts/__NR_add_key.S index cda42057851..8ae5fdb93ad 100644 --- a/libc/sysv/consts/__NR_add_key.S +++ b/libc/sysv/consts/__NR_add_key.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_add_key 0x00f8 -1 -1 -1 -1 -1 +.syscon nr,__NR_add_key,0x00f8,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_adjfreq.S b/libc/sysv/consts/__NR_adjfreq.S index 3a2a0d890b0..f976683b37c 100644 --- a/libc/sysv/consts/__NR_adjfreq.S +++ b/libc/sysv/consts/__NR_adjfreq.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_adjfreq -1 -1 -1 0x0131 -1 -1 +.syscon nr,__NR_adjfreq,-1,-1,-1,0x0131,-1,-1 diff --git a/libc/sysv/consts/__NR_adjtime.S b/libc/sysv/consts/__NR_adjtime.S index 9ef9b6cd874..e6c35496877 100644 --- a/libc/sysv/consts/__NR_adjtime.S +++ b/libc/sysv/consts/__NR_adjtime.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_adjtime -1 0x200008c 0x008c 0x008c 0x1a5 -1 +.syscon nr,__NR_adjtime,-1,0x200008c,0x008c,0x008c,0x1a5,-1 diff --git a/libc/sysv/consts/__NR_adjtimex.S b/libc/sysv/consts/__NR_adjtimex.S index 4b5956acd45..ce03868bb4b 100644 --- a/libc/sysv/consts/__NR_adjtimex.S +++ b/libc/sysv/consts/__NR_adjtimex.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_adjtimex 0x009f -1 -1 -1 -1 -1 +.syscon nr,__NR_adjtimex,0x009f,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_afs3_syscall.S b/libc/sysv/consts/__NR_afs3_syscall.S index 1759ddcd59a..11ea36998a0 100644 --- a/libc/sysv/consts/__NR_afs3_syscall.S +++ b/libc/sysv/consts/__NR_afs3_syscall.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_afs3_syscall -1 -1 0x0179 -1 -1 -1 +.syscon nr,__NR_afs3_syscall,-1,-1,0x0179,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_aio_cancel.S b/libc/sysv/consts/__NR_aio_cancel.S index bbcde80358c..b18091fb647 100644 --- a/libc/sysv/consts/__NR_aio_cancel.S +++ b/libc/sysv/consts/__NR_aio_cancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_aio_cancel -1 0x200013c 0x013c -1 0x18f -1 +.syscon nr,__NR_aio_cancel,-1,0x200013c,0x013c,-1,0x18f,-1 diff --git a/libc/sysv/consts/__NR_aio_error.S b/libc/sysv/consts/__NR_aio_error.S index 1a00af1e938..1344dfe3e96 100644 --- a/libc/sysv/consts/__NR_aio_error.S +++ b/libc/sysv/consts/__NR_aio_error.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_aio_error -1 0x200013d 0x013d -1 0x190 -1 +.syscon nr,__NR_aio_error,-1,0x200013d,0x013d,-1,0x190,-1 diff --git a/libc/sysv/consts/__NR_aio_fsync.S b/libc/sysv/consts/__NR_aio_fsync.S index ebc62213d46..f059a03e002 100644 --- a/libc/sysv/consts/__NR_aio_fsync.S +++ b/libc/sysv/consts/__NR_aio_fsync.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_aio_fsync -1 0x2000139 0x01d1 -1 0x191 -1 +.syscon nr,__NR_aio_fsync,-1,0x2000139,0x01d1,-1,0x191,-1 diff --git a/libc/sysv/consts/__NR_aio_mlock.S b/libc/sysv/consts/__NR_aio_mlock.S index cf2b6d7ed23..e428fd52ab3 100644 --- a/libc/sysv/consts/__NR_aio_mlock.S +++ b/libc/sysv/consts/__NR_aio_mlock.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_aio_mlock -1 -1 0x021f -1 -1 -1 +.syscon nr,__NR_aio_mlock,-1,-1,0x021f,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_aio_read.S b/libc/sysv/consts/__NR_aio_read.S index 394d5536c7b..bf98f372c41 100644 --- a/libc/sysv/consts/__NR_aio_read.S +++ b/libc/sysv/consts/__NR_aio_read.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_aio_read -1 0x200013e 0x013e -1 0x192 -1 +.syscon nr,__NR_aio_read,-1,0x200013e,0x013e,-1,0x192,-1 diff --git a/libc/sysv/consts/__NR_aio_return.S b/libc/sysv/consts/__NR_aio_return.S index 0842d2df5d7..d7a75935a93 100644 --- a/libc/sysv/consts/__NR_aio_return.S +++ b/libc/sysv/consts/__NR_aio_return.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_aio_return -1 0x200013a 0x013a -1 0x193 -1 +.syscon nr,__NR_aio_return,-1,0x200013a,0x013a,-1,0x193,-1 diff --git a/libc/sysv/consts/__NR_aio_suspend.S b/libc/sysv/consts/__NR_aio_suspend.S index 38b11f5e36f..d28f356ff3d 100644 --- a/libc/sysv/consts/__NR_aio_suspend.S +++ b/libc/sysv/consts/__NR_aio_suspend.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_aio_suspend -1 0x200013b 0x013b -1 0x1b6 -1 +.syscon nr,__NR_aio_suspend,-1,0x200013b,0x013b,-1,0x1b6,-1 diff --git a/libc/sysv/consts/__NR_aio_suspend_nocancel.S b/libc/sysv/consts/__NR_aio_suspend_nocancel.S index 3cfe950a120..ff7d753e529 100644 --- a/libc/sysv/consts/__NR_aio_suspend_nocancel.S +++ b/libc/sysv/consts/__NR_aio_suspend_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_aio_suspend_nocancel -1 0x20001a5 -1 -1 -1 -1 +.syscon nr,__NR_aio_suspend_nocancel,-1,0x20001a5,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_aio_waitcomplete.S b/libc/sysv/consts/__NR_aio_waitcomplete.S index 1c54c173329..354ae243c24 100644 --- a/libc/sysv/consts/__NR_aio_waitcomplete.S +++ b/libc/sysv/consts/__NR_aio_waitcomplete.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_aio_waitcomplete -1 -1 0x0167 -1 -1 -1 +.syscon nr,__NR_aio_waitcomplete,-1,-1,0x0167,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_aio_write.S b/libc/sysv/consts/__NR_aio_write.S index 3079767b0d2..7f387496c2d 100644 --- a/libc/sysv/consts/__NR_aio_write.S +++ b/libc/sysv/consts/__NR_aio_write.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_aio_write -1 0x200013f 0x013f -1 0x195 -1 +.syscon nr,__NR_aio_write,-1,0x200013f,0x013f,-1,0x195,-1 diff --git a/libc/sysv/consts/__NR_alarm.S b/libc/sysv/consts/__NR_alarm.S index 44f76ebd37c..f0780077587 100644 --- a/libc/sysv/consts/__NR_alarm.S +++ b/libc/sysv/consts/__NR_alarm.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_alarm 0x0025 -1 -1 -1 -1 -1 +.syscon nr,__NR_alarm,0x0025,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_arch_prctl.S b/libc/sysv/consts/__NR_arch_prctl.S index dfaf26419cc..c3efe3d23cf 100644 --- a/libc/sysv/consts/__NR_arch_prctl.S +++ b/libc/sysv/consts/__NR_arch_prctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_arch_prctl 0x009e -1 0x00a5 0x00a5 -1 -1 +.syscon nr,__NR_arch_prctl,0x009e,-1,0x00a5,0x00a5,-1,-1 diff --git a/libc/sysv/consts/__NR_audit.S b/libc/sysv/consts/__NR_audit.S index 07347785858..6ec6c9629b7 100644 --- a/libc/sysv/consts/__NR_audit.S +++ b/libc/sysv/consts/__NR_audit.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_audit -1 0x200015e 0x01bd -1 -1 -1 +.syscon nr,__NR_audit,-1,0x200015e,0x01bd,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_audit_session_join.S b/libc/sysv/consts/__NR_audit_session_join.S index b6232629fed..910207a03ea 100644 --- a/libc/sysv/consts/__NR_audit_session_join.S +++ b/libc/sysv/consts/__NR_audit_session_join.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_audit_session_join -1 0x20001ad -1 -1 -1 -1 +.syscon nr,__NR_audit_session_join,-1,0x20001ad,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_audit_session_port.S b/libc/sysv/consts/__NR_audit_session_port.S index bbe930f819a..71aa97ec6e4 100644 --- a/libc/sysv/consts/__NR_audit_session_port.S +++ b/libc/sysv/consts/__NR_audit_session_port.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_audit_session_port -1 0x20001b0 -1 -1 -1 -1 +.syscon nr,__NR_audit_session_port,-1,0x20001b0,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_audit_session_self.S b/libc/sysv/consts/__NR_audit_session_self.S index f29be32b02a..c14460898b7 100644 --- a/libc/sysv/consts/__NR_audit_session_self.S +++ b/libc/sysv/consts/__NR_audit_session_self.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_audit_session_self -1 0x20001ac -1 -1 -1 -1 +.syscon nr,__NR_audit_session_self,-1,0x20001ac,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_auditctl.S b/libc/sysv/consts/__NR_auditctl.S index e8b284c135e..41c5180fe21 100644 --- a/libc/sysv/consts/__NR_auditctl.S +++ b/libc/sysv/consts/__NR_auditctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_auditctl -1 0x2000167 0x01c5 -1 -1 -1 +.syscon nr,__NR_auditctl,-1,0x2000167,0x01c5,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_auditon.S b/libc/sysv/consts/__NR_auditon.S index 25ff90d107a..62302e86489 100644 --- a/libc/sysv/consts/__NR_auditon.S +++ b/libc/sysv/consts/__NR_auditon.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_auditon -1 0x200015f 0x01be -1 -1 -1 +.syscon nr,__NR_auditon,-1,0x200015f,0x01be,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_bind.S b/libc/sysv/consts/__NR_bind.S index 7f8539d569a..abe889c95cb 100644 --- a/libc/sysv/consts/__NR_bind.S +++ b/libc/sysv/consts/__NR_bind.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_bind 0x0031 0x2000068 0x0068 0x0068 0x068 -1 +.syscon nr,__NR_bind,0x0031,0x2000068,0x0068,0x0068,0x068,-1 diff --git a/libc/sysv/consts/__NR_bindat.S b/libc/sysv/consts/__NR_bindat.S index ccee15a8523..3cc62e316c1 100644 --- a/libc/sysv/consts/__NR_bindat.S +++ b/libc/sysv/consts/__NR_bindat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_bindat -1 -1 0x021a -1 -1 -1 +.syscon nr,__NR_bindat,-1,-1,0x021a,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_bpf.S b/libc/sysv/consts/__NR_bpf.S index acc1205d392..fc8b9e87e48 100644 --- a/libc/sysv/consts/__NR_bpf.S +++ b/libc/sysv/consts/__NR_bpf.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_bpf 0x0141 -1 -1 -1 -1 -1 +.syscon nr,__NR_bpf,0x0141,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_break.S b/libc/sysv/consts/__NR_break.S index 40dce922c35..dad07bd7777 100644 --- a/libc/sysv/consts/__NR_break.S +++ b/libc/sysv/consts/__NR_break.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_break -1 -1 0x0011 -1 -1 -1 +.syscon nr,__NR_break,-1,-1,0x0011,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_bsdthread_create.S b/libc/sysv/consts/__NR_bsdthread_create.S index 1121357083d..87dc70a6520 100644 --- a/libc/sysv/consts/__NR_bsdthread_create.S +++ b/libc/sysv/consts/__NR_bsdthread_create.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_bsdthread_create -1 0x2000168 -1 -1 -1 -1 +.syscon nr,__NR_bsdthread_create,-1,0x2000168,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_bsdthread_ctl.S b/libc/sysv/consts/__NR_bsdthread_ctl.S index 6f1d0175259..6ff723c4b56 100644 --- a/libc/sysv/consts/__NR_bsdthread_ctl.S +++ b/libc/sysv/consts/__NR_bsdthread_ctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_bsdthread_ctl -1 0x20001de -1 -1 -1 -1 +.syscon nr,__NR_bsdthread_ctl,-1,0x20001de,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_bsdthread_register.S b/libc/sysv/consts/__NR_bsdthread_register.S index 4b3664856bd..4f1eab62bb1 100644 --- a/libc/sysv/consts/__NR_bsdthread_register.S +++ b/libc/sysv/consts/__NR_bsdthread_register.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_bsdthread_register -1 0x200016e -1 -1 -1 -1 +.syscon nr,__NR_bsdthread_register,-1,0x200016e,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_bsdthread_terminate.S b/libc/sysv/consts/__NR_bsdthread_terminate.S index c3bc4748be7..17b218dcbe1 100644 --- a/libc/sysv/consts/__NR_bsdthread_terminate.S +++ b/libc/sysv/consts/__NR_bsdthread_terminate.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_bsdthread_terminate -1 0x2000169 -1 -1 -1 -1 +.syscon nr,__NR_bsdthread_terminate,-1,0x2000169,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_cap_enter.S b/libc/sysv/consts/__NR_cap_enter.S index 732f5972173..4c13cf7867d 100644 --- a/libc/sysv/consts/__NR_cap_enter.S +++ b/libc/sysv/consts/__NR_cap_enter.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_cap_enter -1 -1 0x0204 -1 -1 -1 +.syscon nr,__NR_cap_enter,-1,-1,0x0204,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_cap_fcntls_get.S b/libc/sysv/consts/__NR_cap_fcntls_get.S index 2a80cc7b1ee..facbf0ed4d0 100644 --- a/libc/sysv/consts/__NR_cap_fcntls_get.S +++ b/libc/sysv/consts/__NR_cap_fcntls_get.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_cap_fcntls_get -1 -1 0x0219 -1 -1 -1 +.syscon nr,__NR_cap_fcntls_get,-1,-1,0x0219,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_cap_fcntls_limit.S b/libc/sysv/consts/__NR_cap_fcntls_limit.S index 1f382525c19..477fdacac4e 100644 --- a/libc/sysv/consts/__NR_cap_fcntls_limit.S +++ b/libc/sysv/consts/__NR_cap_fcntls_limit.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_cap_fcntls_limit -1 -1 0x0218 -1 -1 -1 +.syscon nr,__NR_cap_fcntls_limit,-1,-1,0x0218,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_cap_getmode.S b/libc/sysv/consts/__NR_cap_getmode.S index ed90b3af563..49f838f5054 100644 --- a/libc/sysv/consts/__NR_cap_getmode.S +++ b/libc/sysv/consts/__NR_cap_getmode.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_cap_getmode -1 -1 0x0205 -1 -1 -1 +.syscon nr,__NR_cap_getmode,-1,-1,0x0205,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_cap_ioctls_get.S b/libc/sysv/consts/__NR_cap_ioctls_get.S index 8ed3dceaa35..4c7873ebc49 100644 --- a/libc/sysv/consts/__NR_cap_ioctls_get.S +++ b/libc/sysv/consts/__NR_cap_ioctls_get.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_cap_ioctls_get -1 -1 0x0217 -1 -1 -1 +.syscon nr,__NR_cap_ioctls_get,-1,-1,0x0217,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_cap_ioctls_limit.S b/libc/sysv/consts/__NR_cap_ioctls_limit.S index eeffb78981a..85adf17dbed 100644 --- a/libc/sysv/consts/__NR_cap_ioctls_limit.S +++ b/libc/sysv/consts/__NR_cap_ioctls_limit.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_cap_ioctls_limit -1 -1 0x0216 -1 -1 -1 +.syscon nr,__NR_cap_ioctls_limit,-1,-1,0x0216,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_cap_rights_get.S b/libc/sysv/consts/__NR_cap_rights_get.S index 81b93e8562e..56a79181585 100644 --- a/libc/sysv/consts/__NR_cap_rights_get.S +++ b/libc/sysv/consts/__NR_cap_rights_get.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_cap_rights_get -1 -1 0x0203 -1 -1 -1 +.syscon nr,__NR_cap_rights_get,-1,-1,0x0203,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_cap_rights_limit.S b/libc/sysv/consts/__NR_cap_rights_limit.S index 3d8b44f7ab2..e4a7f526559 100644 --- a/libc/sysv/consts/__NR_cap_rights_limit.S +++ b/libc/sysv/consts/__NR_cap_rights_limit.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_cap_rights_limit -1 -1 0x0215 -1 -1 -1 +.syscon nr,__NR_cap_rights_limit,-1,-1,0x0215,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_capget.S b/libc/sysv/consts/__NR_capget.S index 87d68659a44..44080be1c23 100644 --- a/libc/sysv/consts/__NR_capget.S +++ b/libc/sysv/consts/__NR_capget.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_capget 0x007d -1 -1 -1 -1 -1 +.syscon nr,__NR_capget,0x007d,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_capset.S b/libc/sysv/consts/__NR_capset.S index 1a1d09c9b92..db1ed701bf2 100644 --- a/libc/sysv/consts/__NR_capset.S +++ b/libc/sysv/consts/__NR_capset.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_capset 0x007e -1 -1 -1 -1 -1 +.syscon nr,__NR_capset,0x007e,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_change_fdguard_np.S b/libc/sysv/consts/__NR_change_fdguard_np.S index f3a488d86fe..cedc96735b0 100644 --- a/libc/sysv/consts/__NR_change_fdguard_np.S +++ b/libc/sysv/consts/__NR_change_fdguard_np.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_change_fdguard_np -1 0x20001bc -1 -1 -1 -1 +.syscon nr,__NR_change_fdguard_np,-1,0x20001bc,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_chdir.S b/libc/sysv/consts/__NR_chdir.S index b24d3f4e39c..f996b9a1c30 100644 --- a/libc/sysv/consts/__NR_chdir.S +++ b/libc/sysv/consts/__NR_chdir.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_chdir 0x0050 0x200000c 0x000c 0x000c 0x00c -1 +.syscon nr,__NR_chdir,0x0050,0x200000c,0x000c,0x000c,0x00c,-1 diff --git a/libc/sysv/consts/__NR_chflags.S b/libc/sysv/consts/__NR_chflags.S index ebdfe5b287f..175a0a9d2d0 100644 --- a/libc/sysv/consts/__NR_chflags.S +++ b/libc/sysv/consts/__NR_chflags.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_chflags -1 0x2000022 0x0022 0x0022 0x022 -1 +.syscon nr,__NR_chflags,-1,0x2000022,0x0022,0x0022,0x022,-1 diff --git a/libc/sysv/consts/__NR_chflagsat.S b/libc/sysv/consts/__NR_chflagsat.S index 40a07bcae98..b9c339d4829 100644 --- a/libc/sysv/consts/__NR_chflagsat.S +++ b/libc/sysv/consts/__NR_chflagsat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_chflagsat -1 -1 0x021c 0x006b -1 -1 +.syscon nr,__NR_chflagsat,-1,-1,0x021c,0x006b,-1,-1 diff --git a/libc/sysv/consts/__NR_chmod.S b/libc/sysv/consts/__NR_chmod.S index 7b580ec9d70..8c5d95ba504 100644 --- a/libc/sysv/consts/__NR_chmod.S +++ b/libc/sysv/consts/__NR_chmod.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_chmod 0x005a 0x200000f 0x000f 0x000f 0x00f -1 +.syscon nr,__NR_chmod,0x005a,0x200000f,0x000f,0x000f,0x00f,-1 diff --git a/libc/sysv/consts/__NR_chmod_extended.S b/libc/sysv/consts/__NR_chmod_extended.S index 30f35ebece5..b81228dcb47 100644 --- a/libc/sysv/consts/__NR_chmod_extended.S +++ b/libc/sysv/consts/__NR_chmod_extended.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_chmod_extended -1 0x200011a -1 -1 -1 -1 +.syscon nr,__NR_chmod_extended,-1,0x200011a,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_chown.S b/libc/sysv/consts/__NR_chown.S index 244f7f18169..25268110be7 100644 --- a/libc/sysv/consts/__NR_chown.S +++ b/libc/sysv/consts/__NR_chown.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_chown 0x005c 0x2000010 0x0010 0x0010 0x010 -1 +.syscon nr,__NR_chown,0x005c,0x2000010,0x0010,0x0010,0x010,-1 diff --git a/libc/sysv/consts/__NR_chroot.S b/libc/sysv/consts/__NR_chroot.S index db9dba84d33..f08bc0b4c39 100644 --- a/libc/sysv/consts/__NR_chroot.S +++ b/libc/sysv/consts/__NR_chroot.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_chroot 0x00a1 0x200003d 0x003d 0x003d 0x03d -1 +.syscon nr,__NR_chroot,0x00a1,0x200003d,0x003d,0x003d,0x03d,-1 diff --git a/libc/sysv/consts/__NR_clock_adjtime.S b/libc/sysv/consts/__NR_clock_adjtime.S index e8a77b97f06..e38cc2cff0e 100644 --- a/libc/sysv/consts/__NR_clock_adjtime.S +++ b/libc/sysv/consts/__NR_clock_adjtime.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_clock_adjtime 0x0131 -1 -1 -1 -1 -1 +.syscon nr,__NR_clock_adjtime,0x0131,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_clock_getcpuclockid2.S b/libc/sysv/consts/__NR_clock_getcpuclockid2.S index 2dc0d34d5ab..5ff29951044 100644 --- a/libc/sysv/consts/__NR_clock_getcpuclockid2.S +++ b/libc/sysv/consts/__NR_clock_getcpuclockid2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_clock_getcpuclockid2 -1 -1 0x00f7 -1 0x1e2 -1 +.syscon nr,__NR_clock_getcpuclockid2,-1,-1,0x00f7,-1,0x1e2,-1 diff --git a/libc/sysv/consts/__NR_clock_getres.S b/libc/sysv/consts/__NR_clock_getres.S index 8faed6401cc..3ad36aa374b 100644 --- a/libc/sysv/consts/__NR_clock_getres.S +++ b/libc/sysv/consts/__NR_clock_getres.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_clock_getres 0x00e5 -1 0x00ea 0x0059 0x1ad -1 +.syscon nr,__NR_clock_getres,0x00e5,-1,0x00ea,0x0059,0x1ad,-1 diff --git a/libc/sysv/consts/__NR_clock_gettime.S b/libc/sysv/consts/__NR_clock_gettime.S index b1216a618c4..0c2d0da0369 100644 --- a/libc/sysv/consts/__NR_clock_gettime.S +++ b/libc/sysv/consts/__NR_clock_gettime.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_clock_gettime 0x00e4 -1 0x00e8 0x0057 0x1ab -1 +.syscon nr,__NR_clock_gettime,0x00e4,-1,0x00e8,0x0057,0x1ab,-1 diff --git a/libc/sysv/consts/__NR_clock_nanosleep.S b/libc/sysv/consts/__NR_clock_nanosleep.S index af0ed729960..a94e878e542 100644 --- a/libc/sysv/consts/__NR_clock_nanosleep.S +++ b/libc/sysv/consts/__NR_clock_nanosleep.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_clock_nanosleep 0x00e6 -1 0x00f4 -1 -1 -1 +.syscon nr,__NR_clock_nanosleep,0x00e6,-1,0x00f4,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_clock_settime.S b/libc/sysv/consts/__NR_clock_settime.S index 6f3620b70b4..77022f88887 100644 --- a/libc/sysv/consts/__NR_clock_settime.S +++ b/libc/sysv/consts/__NR_clock_settime.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_clock_settime 0x00e3 -1 0x00e9 0x0058 0x1ac -1 +.syscon nr,__NR_clock_settime,0x00e3,-1,0x00e9,0x0058,0x1ac,-1 diff --git a/libc/sysv/consts/__NR_clone.S b/libc/sysv/consts/__NR_clone.S index 5089552dd8d..86ef7aaf195 100644 --- a/libc/sysv/consts/__NR_clone.S +++ b/libc/sysv/consts/__NR_clone.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_clone 0x0038 -1 -1 -1 -1 -1 +.syscon nr,__NR_clone,0x0038,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_clonefileat.S b/libc/sysv/consts/__NR_clonefileat.S index 4e76772e76d..3d5c4e24a4d 100644 --- a/libc/sysv/consts/__NR_clonefileat.S +++ b/libc/sysv/consts/__NR_clonefileat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_clonefileat -1 0x20001ce -1 -1 -1 -1 +.syscon nr,__NR_clonefileat,-1,0x20001ce,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_close.S b/libc/sysv/consts/__NR_close.S index adc5c7bcf26..640d65af6ff 100644 --- a/libc/sysv/consts/__NR_close.S +++ b/libc/sysv/consts/__NR_close.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_close 0x0003 0x2000006 0x0006 0x0006 0x006 -1 +.syscon nr,__NR_close,0x0003,0x2000006,0x0006,0x0006,0x006,-1 diff --git a/libc/sysv/consts/__NR_close_nocancel.S b/libc/sysv/consts/__NR_close_nocancel.S index 3165816d97c..0e277b36142 100644 --- a/libc/sysv/consts/__NR_close_nocancel.S +++ b/libc/sysv/consts/__NR_close_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_close_nocancel -1 0x200018f -1 -1 -1 -1 +.syscon nr,__NR_close_nocancel,-1,0x200018f,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_closefrom.S b/libc/sysv/consts/__NR_closefrom.S index ab2be33d15c..2c5c712fb8a 100644 --- a/libc/sysv/consts/__NR_closefrom.S +++ b/libc/sysv/consts/__NR_closefrom.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_closefrom -1 -1 0x01fd 0x011f -1 -1 +.syscon nr,__NR_closefrom,-1,-1,0x01fd,0x011f,-1,-1 diff --git a/libc/sysv/consts/__NR_coalition.S b/libc/sysv/consts/__NR_coalition.S index dd178cac478..7fdc99f6136 100644 --- a/libc/sysv/consts/__NR_coalition.S +++ b/libc/sysv/consts/__NR_coalition.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_coalition -1 0x20001ca -1 -1 -1 -1 +.syscon nr,__NR_coalition,-1,0x20001ca,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_coalition_info.S b/libc/sysv/consts/__NR_coalition_info.S index 32f2e6a19f9..f45e0e6b6dd 100644 --- a/libc/sysv/consts/__NR_coalition_info.S +++ b/libc/sysv/consts/__NR_coalition_info.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_coalition_info -1 0x20001cb -1 -1 -1 -1 +.syscon nr,__NR_coalition_info,-1,0x20001cb,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_connect.S b/libc/sysv/consts/__NR_connect.S index 59f26267f70..35926d31198 100644 --- a/libc/sysv/consts/__NR_connect.S +++ b/libc/sysv/consts/__NR_connect.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_connect 0x002a 0x2000062 0x0062 0x0062 0x062 -1 +.syscon nr,__NR_connect,0x002a,0x2000062,0x0062,0x0062,0x062,-1 diff --git a/libc/sysv/consts/__NR_connect_nocancel.S b/libc/sysv/consts/__NR_connect_nocancel.S index 283447048e6..91f124c92dd 100644 --- a/libc/sysv/consts/__NR_connect_nocancel.S +++ b/libc/sysv/consts/__NR_connect_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_connect_nocancel -1 0x2000199 -1 -1 -1 -1 +.syscon nr,__NR_connect_nocancel,-1,0x2000199,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_connectat.S b/libc/sysv/consts/__NR_connectat.S index da7f14aa3be..2dadd571cf1 100644 --- a/libc/sysv/consts/__NR_connectat.S +++ b/libc/sysv/consts/__NR_connectat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_connectat -1 -1 0x021b -1 -1 -1 +.syscon nr,__NR_connectat,-1,-1,0x021b,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_connectx.S b/libc/sysv/consts/__NR_connectx.S index 447fb5422f9..46b9ba1b686 100644 --- a/libc/sysv/consts/__NR_connectx.S +++ b/libc/sysv/consts/__NR_connectx.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_connectx -1 0x20001bf -1 -1 -1 -1 +.syscon nr,__NR_connectx,-1,0x20001bf,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_copy_file_range.S b/libc/sysv/consts/__NR_copy_file_range.S index 5d837f70d36..dbbfd6b96ec 100644 --- a/libc/sysv/consts/__NR_copy_file_range.S +++ b/libc/sysv/consts/__NR_copy_file_range.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_copy_file_range 0x0146 -1 -1 -1 -1 -1 +.syscon nr,__NR_copy_file_range,0x0146,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_copyfile.S b/libc/sysv/consts/__NR_copyfile.S index c17f09fe748..d421d020564 100644 --- a/libc/sysv/consts/__NR_copyfile.S +++ b/libc/sysv/consts/__NR_copyfile.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_copyfile -1 0x20000e3 -1 -1 -1 -1 +.syscon nr,__NR_copyfile,-1,0x20000e3,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_cpuset.S b/libc/sysv/consts/__NR_cpuset.S index 58dac0d100c..0c5d1f88656 100644 --- a/libc/sysv/consts/__NR_cpuset.S +++ b/libc/sysv/consts/__NR_cpuset.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_cpuset -1 -1 0x01e4 -1 -1 -1 +.syscon nr,__NR_cpuset,-1,-1,0x01e4,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_cpuset_getaffinity.S b/libc/sysv/consts/__NR_cpuset_getaffinity.S index 1f78b202d1a..1fc8f0728d8 100644 --- a/libc/sysv/consts/__NR_cpuset_getaffinity.S +++ b/libc/sysv/consts/__NR_cpuset_getaffinity.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_cpuset_getaffinity -1 -1 0x01e7 -1 -1 -1 +.syscon nr,__NR_cpuset_getaffinity,-1,-1,0x01e7,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_cpuset_getdomain.S b/libc/sysv/consts/__NR_cpuset_getdomain.S index ebd95194e1c..9b58ae8ce43 100644 --- a/libc/sysv/consts/__NR_cpuset_getdomain.S +++ b/libc/sysv/consts/__NR_cpuset_getdomain.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_cpuset_getdomain -1 -1 0x0231 -1 -1 -1 +.syscon nr,__NR_cpuset_getdomain,-1,-1,0x0231,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_cpuset_getid.S b/libc/sysv/consts/__NR_cpuset_getid.S index b3a1b2fd0ca..44681553a0e 100644 --- a/libc/sysv/consts/__NR_cpuset_getid.S +++ b/libc/sysv/consts/__NR_cpuset_getid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_cpuset_getid -1 -1 0x01e6 -1 -1 -1 +.syscon nr,__NR_cpuset_getid,-1,-1,0x01e6,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_cpuset_setaffinity.S b/libc/sysv/consts/__NR_cpuset_setaffinity.S index 203d6282933..f2c34deb417 100644 --- a/libc/sysv/consts/__NR_cpuset_setaffinity.S +++ b/libc/sysv/consts/__NR_cpuset_setaffinity.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_cpuset_setaffinity -1 -1 0x01e8 -1 -1 -1 +.syscon nr,__NR_cpuset_setaffinity,-1,-1,0x01e8,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_cpuset_setdomain.S b/libc/sysv/consts/__NR_cpuset_setdomain.S index b02349af946..701abf09096 100644 --- a/libc/sysv/consts/__NR_cpuset_setdomain.S +++ b/libc/sysv/consts/__NR_cpuset_setdomain.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_cpuset_setdomain -1 -1 0x0232 -1 -1 -1 +.syscon nr,__NR_cpuset_setdomain,-1,-1,0x0232,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_cpuset_setid.S b/libc/sysv/consts/__NR_cpuset_setid.S index 66f609462d0..9b284a5ba8e 100644 --- a/libc/sysv/consts/__NR_cpuset_setid.S +++ b/libc/sysv/consts/__NR_cpuset_setid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_cpuset_setid -1 -1 0x01e5 -1 -1 -1 +.syscon nr,__NR_cpuset_setid,-1,-1,0x01e5,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_creat.S b/libc/sysv/consts/__NR_creat.S index cc9219560e9..ccd6b03c2ab 100644 --- a/libc/sysv/consts/__NR_creat.S +++ b/libc/sysv/consts/__NR_creat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_creat 0x0055 -1 0x0008 -1 -1 -1 +.syscon nr,__NR_creat,0x0055,-1,0x0008,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_csops.S b/libc/sysv/consts/__NR_csops.S index 87e106363c6..3e0b74c065f 100644 --- a/libc/sysv/consts/__NR_csops.S +++ b/libc/sysv/consts/__NR_csops.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_csops -1 0x20000a9 -1 -1 -1 -1 +.syscon nr,__NR_csops,-1,0x20000a9,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_csops_audittoken.S b/libc/sysv/consts/__NR_csops_audittoken.S index f7527876083..85cd7a7866d 100644 --- a/libc/sysv/consts/__NR_csops_audittoken.S +++ b/libc/sysv/consts/__NR_csops_audittoken.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_csops_audittoken -1 0x20000aa -1 -1 -1 -1 +.syscon nr,__NR_csops_audittoken,-1,0x20000aa,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_csrctl.S b/libc/sysv/consts/__NR_csrctl.S index 27e7a60daf4..1dcecb6cc8a 100644 --- a/libc/sysv/consts/__NR_csrctl.S +++ b/libc/sysv/consts/__NR_csrctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_csrctl -1 0x20001e3 -1 -1 -1 -1 +.syscon nr,__NR_csrctl,-1,0x20001e3,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_delete.S b/libc/sysv/consts/__NR_delete.S index 5b8e58f9133..47fe88a4d35 100644 --- a/libc/sysv/consts/__NR_delete.S +++ b/libc/sysv/consts/__NR_delete.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_delete -1 0x20000e2 -1 -1 -1 -1 +.syscon nr,__NR_delete,-1,0x20000e2,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_delete_module.S b/libc/sysv/consts/__NR_delete_module.S index b5718651d44..40e25cf3eb2 100644 --- a/libc/sysv/consts/__NR_delete_module.S +++ b/libc/sysv/consts/__NR_delete_module.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_delete_module 0x00b0 -1 -1 -1 -1 -1 +.syscon nr,__NR_delete_module,0x00b0,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_disable_threadsignal.S b/libc/sysv/consts/__NR_disable_threadsignal.S index 55afa010754..b397671c2cf 100644 --- a/libc/sysv/consts/__NR_disable_threadsignal.S +++ b/libc/sysv/consts/__NR_disable_threadsignal.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_disable_threadsignal -1 0x200014b -1 -1 -1 -1 +.syscon nr,__NR_disable_threadsignal,-1,0x200014b,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_disconnectx.S b/libc/sysv/consts/__NR_disconnectx.S index 7f7387564d8..978e60374c1 100644 --- a/libc/sysv/consts/__NR_disconnectx.S +++ b/libc/sysv/consts/__NR_disconnectx.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_disconnectx -1 0x20001c0 -1 -1 -1 -1 +.syscon nr,__NR_disconnectx,-1,0x20001c0,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_dup.S b/libc/sysv/consts/__NR_dup.S index 6ea710de5e3..9304871a16f 100644 --- a/libc/sysv/consts/__NR_dup.S +++ b/libc/sysv/consts/__NR_dup.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_dup 0x0020 0x2000029 0x0029 0x0029 0x029 -1 +.syscon nr,__NR_dup,0x0020,0x2000029,0x0029,0x0029,0x029,-1 diff --git a/libc/sysv/consts/__NR_dup2.S b/libc/sysv/consts/__NR_dup2.S index 63d6036dae2..f43fe63b717 100644 --- a/libc/sysv/consts/__NR_dup2.S +++ b/libc/sysv/consts/__NR_dup2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_dup2 0x0021 0x200005a 0x005a 0x005a 0x05a -1 +.syscon nr,__NR_dup2,0x0021,0x200005a,0x005a,0x005a,0x05a,-1 diff --git a/libc/sysv/consts/__NR_dup3.S b/libc/sysv/consts/__NR_dup3.S index 632cde9db9a..3603621cfaf 100644 --- a/libc/sysv/consts/__NR_dup3.S +++ b/libc/sysv/consts/__NR_dup3.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_dup3 0x0124 -1 -1 0x0066 0x1c6 -1 +.syscon nr,__NR_dup3,0x0124,-1,-1,0x0066,0x1c6,-1 diff --git a/libc/sysv/consts/__NR_eaccess.S b/libc/sysv/consts/__NR_eaccess.S index b29a61c3077..f08bb69d316 100644 --- a/libc/sysv/consts/__NR_eaccess.S +++ b/libc/sysv/consts/__NR_eaccess.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_eaccess -1 -1 0x0178 -1 -1 -1 +.syscon nr,__NR_eaccess,-1,-1,0x0178,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_epoll_create.S b/libc/sysv/consts/__NR_epoll_create.S index 6fa000492e5..256fad86980 100644 --- a/libc/sysv/consts/__NR_epoll_create.S +++ b/libc/sysv/consts/__NR_epoll_create.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_epoll_create 0x00d5 -1 -1 -1 -1 -1 +.syscon nr,__NR_epoll_create,0x00d5,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_epoll_create1.S b/libc/sysv/consts/__NR_epoll_create1.S index 737a9fcda59..ae3a092d3b1 100644 --- a/libc/sysv/consts/__NR_epoll_create1.S +++ b/libc/sysv/consts/__NR_epoll_create1.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_epoll_create1 0x0123 -1 -1 -1 -1 -1 +.syscon nr,__NR_epoll_create1,0x0123,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_epoll_ctl.S b/libc/sysv/consts/__NR_epoll_ctl.S index 880b50d12fb..a759bd1eb3f 100644 --- a/libc/sysv/consts/__NR_epoll_ctl.S +++ b/libc/sysv/consts/__NR_epoll_ctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_epoll_ctl 0x00e9 -1 -1 -1 -1 -1 +.syscon nr,__NR_epoll_ctl,0x00e9,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_epoll_pwait.S b/libc/sysv/consts/__NR_epoll_pwait.S index c85c7f22bb4..ccd8e454d73 100644 --- a/libc/sysv/consts/__NR_epoll_pwait.S +++ b/libc/sysv/consts/__NR_epoll_pwait.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_epoll_pwait 0x0119 -1 -1 -1 -1 -1 +.syscon nr,__NR_epoll_pwait,0x0119,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_epoll_wait.S b/libc/sysv/consts/__NR_epoll_wait.S index 44bd76c0ae6..02b259f1c0e 100644 --- a/libc/sysv/consts/__NR_epoll_wait.S +++ b/libc/sysv/consts/__NR_epoll_wait.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_epoll_wait 0x00e8 -1 -1 -1 -1 -1 +.syscon nr,__NR_epoll_wait,0x00e8,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_eventfd.S b/libc/sysv/consts/__NR_eventfd.S index 3e00ca65ef1..7b76b9a816b 100644 --- a/libc/sysv/consts/__NR_eventfd.S +++ b/libc/sysv/consts/__NR_eventfd.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_eventfd 0x011c -1 -1 -1 -1 -1 +.syscon nr,__NR_eventfd,0x011c,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_eventfd2.S b/libc/sysv/consts/__NR_eventfd2.S index 1c2a905b453..04f5038c3c6 100644 --- a/libc/sysv/consts/__NR_eventfd2.S +++ b/libc/sysv/consts/__NR_eventfd2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_eventfd2 0x0122 -1 -1 -1 -1 -1 +.syscon nr,__NR_eventfd2,0x0122,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_exchangedata.S b/libc/sysv/consts/__NR_exchangedata.S index 62ab4c1b836..d1d57504769 100644 --- a/libc/sysv/consts/__NR_exchangedata.S +++ b/libc/sysv/consts/__NR_exchangedata.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_exchangedata -1 0x20000df -1 -1 -1 -1 +.syscon nr,__NR_exchangedata,-1,0x20000df,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_execve.S b/libc/sysv/consts/__NR_execve.S index 0a9d667ba0b..cb9ff66b396 100644 --- a/libc/sysv/consts/__NR_execve.S +++ b/libc/sysv/consts/__NR_execve.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_execve 0x003b 0x200003b 0x003b 0x003b 0x03b -1 +.syscon nr,__NR_execve,0x003b,0x200003b,0x003b,0x003b,0x03b,-1 diff --git a/libc/sysv/consts/__NR_execveat.S b/libc/sysv/consts/__NR_execveat.S index 0b6e4fd1a51..ca108acb914 100644 --- a/libc/sysv/consts/__NR_execveat.S +++ b/libc/sysv/consts/__NR_execveat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_execveat 0x0142 -1 -1 -1 -1 -1 +.syscon nr,__NR_execveat,0x0142,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_exit.S b/libc/sysv/consts/__NR_exit.S index f0ab4224385..f020f0a3a98 100644 --- a/libc/sysv/consts/__NR_exit.S +++ b/libc/sysv/consts/__NR_exit.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_exit 0x003c 0x2000001 0x0001 0x0001 0x001 -1 +.syscon nr,__NR_exit,0x003c,0x2000001,0x0001,0x0001,0x001,-1 diff --git a/libc/sysv/consts/__NR_exit_group.S b/libc/sysv/consts/__NR_exit_group.S index f836b51d9f4..af4d5893494 100644 --- a/libc/sysv/consts/__NR_exit_group.S +++ b/libc/sysv/consts/__NR_exit_group.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_exit_group 0x00e7 0x2000001 0x0001 0x0001 0x001 -1 +.syscon nr,__NR_exit_group,0x00e7,0x2000001,0x0001,0x0001,0x001,-1 diff --git a/libc/sysv/consts/__NR_extattr_delete_fd.S b/libc/sysv/consts/__NR_extattr_delete_fd.S index 37841af85a4..665e372bc32 100644 --- a/libc/sysv/consts/__NR_extattr_delete_fd.S +++ b/libc/sysv/consts/__NR_extattr_delete_fd.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_extattr_delete_fd -1 -1 0x0175 -1 0x16e -1 +.syscon nr,__NR_extattr_delete_fd,-1,-1,0x0175,-1,0x16e,-1 diff --git a/libc/sysv/consts/__NR_extattr_delete_file.S b/libc/sysv/consts/__NR_extattr_delete_file.S index 240ced8051d..0899d506a35 100644 --- a/libc/sysv/consts/__NR_extattr_delete_file.S +++ b/libc/sysv/consts/__NR_extattr_delete_file.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_extattr_delete_file -1 -1 0x0166 -1 0x16b -1 +.syscon nr,__NR_extattr_delete_file,-1,-1,0x0166,-1,0x16b,-1 diff --git a/libc/sysv/consts/__NR_extattr_delete_link.S b/libc/sysv/consts/__NR_extattr_delete_link.S index 9c13eccb29f..afa465e8a6e 100644 --- a/libc/sysv/consts/__NR_extattr_delete_link.S +++ b/libc/sysv/consts/__NR_extattr_delete_link.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_extattr_delete_link -1 -1 0x019e -1 0x171 -1 +.syscon nr,__NR_extattr_delete_link,-1,-1,0x019e,-1,0x171,-1 diff --git a/libc/sysv/consts/__NR_extattr_get_fd.S b/libc/sysv/consts/__NR_extattr_get_fd.S index b2d75409735..f0805fc7d89 100644 --- a/libc/sysv/consts/__NR_extattr_get_fd.S +++ b/libc/sysv/consts/__NR_extattr_get_fd.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_extattr_get_fd -1 -1 0x0174 -1 0x16d -1 +.syscon nr,__NR_extattr_get_fd,-1,-1,0x0174,-1,0x16d,-1 diff --git a/libc/sysv/consts/__NR_extattr_get_file.S b/libc/sysv/consts/__NR_extattr_get_file.S index 7182255cda2..2b5fc368247 100644 --- a/libc/sysv/consts/__NR_extattr_get_file.S +++ b/libc/sysv/consts/__NR_extattr_get_file.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_extattr_get_file -1 -1 0x0165 -1 0x16a -1 +.syscon nr,__NR_extattr_get_file,-1,-1,0x0165,-1,0x16a,-1 diff --git a/libc/sysv/consts/__NR_extattr_get_link.S b/libc/sysv/consts/__NR_extattr_get_link.S index d63680772b6..cff5bb7f62d 100644 --- a/libc/sysv/consts/__NR_extattr_get_link.S +++ b/libc/sysv/consts/__NR_extattr_get_link.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_extattr_get_link -1 -1 0x019d -1 0x170 -1 +.syscon nr,__NR_extattr_get_link,-1,-1,0x019d,-1,0x170,-1 diff --git a/libc/sysv/consts/__NR_extattr_list_fd.S b/libc/sysv/consts/__NR_extattr_list_fd.S index b94fb011a70..0c9d608b71f 100644 --- a/libc/sysv/consts/__NR_extattr_list_fd.S +++ b/libc/sysv/consts/__NR_extattr_list_fd.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_extattr_list_fd -1 -1 0x01b5 -1 0x172 -1 +.syscon nr,__NR_extattr_list_fd,-1,-1,0x01b5,-1,0x172,-1 diff --git a/libc/sysv/consts/__NR_extattr_list_file.S b/libc/sysv/consts/__NR_extattr_list_file.S index 45e17d9e59e..1c8567efb2a 100644 --- a/libc/sysv/consts/__NR_extattr_list_file.S +++ b/libc/sysv/consts/__NR_extattr_list_file.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_extattr_list_file -1 -1 0x01b6 -1 0x173 -1 +.syscon nr,__NR_extattr_list_file,-1,-1,0x01b6,-1,0x173,-1 diff --git a/libc/sysv/consts/__NR_extattr_list_link.S b/libc/sysv/consts/__NR_extattr_list_link.S index b2f495bcb7a..26c3bf6fa5e 100644 --- a/libc/sysv/consts/__NR_extattr_list_link.S +++ b/libc/sysv/consts/__NR_extattr_list_link.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_extattr_list_link -1 -1 0x01b7 -1 0x174 -1 +.syscon nr,__NR_extattr_list_link,-1,-1,0x01b7,-1,0x174,-1 diff --git a/libc/sysv/consts/__NR_extattr_set_fd.S b/libc/sysv/consts/__NR_extattr_set_fd.S index 824349857f8..e9320ee8abb 100644 --- a/libc/sysv/consts/__NR_extattr_set_fd.S +++ b/libc/sysv/consts/__NR_extattr_set_fd.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_extattr_set_fd -1 -1 0x0173 -1 0x16c -1 +.syscon nr,__NR_extattr_set_fd,-1,-1,0x0173,-1,0x16c,-1 diff --git a/libc/sysv/consts/__NR_extattr_set_file.S b/libc/sysv/consts/__NR_extattr_set_file.S index 396fa047ed8..449d13ea987 100644 --- a/libc/sysv/consts/__NR_extattr_set_file.S +++ b/libc/sysv/consts/__NR_extattr_set_file.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_extattr_set_file -1 -1 0x0164 -1 0x169 -1 +.syscon nr,__NR_extattr_set_file,-1,-1,0x0164,-1,0x169,-1 diff --git a/libc/sysv/consts/__NR_extattr_set_link.S b/libc/sysv/consts/__NR_extattr_set_link.S index ffc1274855e..d49efd0c5db 100644 --- a/libc/sysv/consts/__NR_extattr_set_link.S +++ b/libc/sysv/consts/__NR_extattr_set_link.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_extattr_set_link -1 -1 0x019c -1 0x16f -1 +.syscon nr,__NR_extattr_set_link,-1,-1,0x019c,-1,0x16f,-1 diff --git a/libc/sysv/consts/__NR_extattrctl.S b/libc/sysv/consts/__NR_extattrctl.S index 68d1e3e5bbc..c65eb575d4d 100644 --- a/libc/sysv/consts/__NR_extattrctl.S +++ b/libc/sysv/consts/__NR_extattrctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_extattrctl -1 -1 0x0163 -1 0x168 -1 +.syscon nr,__NR_extattrctl,-1,-1,0x0163,-1,0x168,-1 diff --git a/libc/sysv/consts/__NR_faccessat.S b/libc/sysv/consts/__NR_faccessat.S index 8ec367c58bb..25f9abc494f 100644 --- a/libc/sysv/consts/__NR_faccessat.S +++ b/libc/sysv/consts/__NR_faccessat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_faccessat 0x010d 0x20001d2 0x01e9 0x0139 0x1ce -1 +.syscon nr,__NR_faccessat,0x010d,0x20001d2,0x01e9,0x0139,0x1ce,-1 diff --git a/libc/sysv/consts/__NR_fadvise.S b/libc/sysv/consts/__NR_fadvise.S index ab32978f651..884faff3061 100644 --- a/libc/sysv/consts/__NR_fadvise.S +++ b/libc/sysv/consts/__NR_fadvise.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fadvise 0x00dd -1 0x0213 -1 -1 -1 +.syscon nr,__NR_fadvise,0x00dd,-1,0x0213,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_fallocate.S b/libc/sysv/consts/__NR_fallocate.S index e669f25a6a0..f3ae9aabee2 100644 --- a/libc/sysv/consts/__NR_fallocate.S +++ b/libc/sysv/consts/__NR_fallocate.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fallocate 0x011d -1 -1 -1 -1 -1 +.syscon nr,__NR_fallocate,0x011d,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_fanotify_init.S b/libc/sysv/consts/__NR_fanotify_init.S index 4eddecbd513..e27e26661d8 100644 --- a/libc/sysv/consts/__NR_fanotify_init.S +++ b/libc/sysv/consts/__NR_fanotify_init.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fanotify_init 0x012c -1 -1 -1 -1 -1 +.syscon nr,__NR_fanotify_init,0x012c,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_fanotify_mark.S b/libc/sysv/consts/__NR_fanotify_mark.S index a0a572d4d12..d7a1f577d2b 100644 --- a/libc/sysv/consts/__NR_fanotify_mark.S +++ b/libc/sysv/consts/__NR_fanotify_mark.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fanotify_mark 0x012d -1 -1 -1 -1 -1 +.syscon nr,__NR_fanotify_mark,0x012d,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_fchdir.S b/libc/sysv/consts/__NR_fchdir.S index 028b4f8db49..996e55cc955 100644 --- a/libc/sysv/consts/__NR_fchdir.S +++ b/libc/sysv/consts/__NR_fchdir.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fchdir 0x0051 0x200000d 0x000d 0x000d 0x00d -1 +.syscon nr,__NR_fchdir,0x0051,0x200000d,0x000d,0x000d,0x00d,-1 diff --git a/libc/sysv/consts/__NR_fchflags.S b/libc/sysv/consts/__NR_fchflags.S index 40595d57ca7..32ba1d5adcb 100644 --- a/libc/sysv/consts/__NR_fchflags.S +++ b/libc/sysv/consts/__NR_fchflags.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fchflags -1 0x2000023 0x0023 0x0023 0x023 -1 +.syscon nr,__NR_fchflags,-1,0x2000023,0x0023,0x0023,0x023,-1 diff --git a/libc/sysv/consts/__NR_fchmod.S b/libc/sysv/consts/__NR_fchmod.S index 8b2c0df0cb3..ffe7b4ef2f7 100644 --- a/libc/sysv/consts/__NR_fchmod.S +++ b/libc/sysv/consts/__NR_fchmod.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fchmod 0x005b 0x200007c 0x007c 0x007c 0x07c -1 +.syscon nr,__NR_fchmod,0x005b,0x200007c,0x007c,0x007c,0x07c,-1 diff --git a/libc/sysv/consts/__NR_fchmod_extended.S b/libc/sysv/consts/__NR_fchmod_extended.S index 1a63cf74d00..f784f2b8cef 100644 --- a/libc/sysv/consts/__NR_fchmod_extended.S +++ b/libc/sysv/consts/__NR_fchmod_extended.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fchmod_extended -1 0x200011b -1 -1 -1 -1 +.syscon nr,__NR_fchmod_extended,-1,0x200011b,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_fchmodat.S b/libc/sysv/consts/__NR_fchmodat.S index c65181603ef..10a82b3bcda 100644 --- a/libc/sysv/consts/__NR_fchmodat.S +++ b/libc/sysv/consts/__NR_fchmodat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fchmodat 0x010c 0x20001d3 0x01ea 0x013a 0x1cf -1 +.syscon nr,__NR_fchmodat,0x010c,0x20001d3,0x01ea,0x013a,0x1cf,-1 diff --git a/libc/sysv/consts/__NR_fchown.S b/libc/sysv/consts/__NR_fchown.S index 67071775b5a..7743df635ce 100644 --- a/libc/sysv/consts/__NR_fchown.S +++ b/libc/sysv/consts/__NR_fchown.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fchown 0x005d 0x200007b 0x007b 0x007b 0x07b -1 +.syscon nr,__NR_fchown,0x005d,0x200007b,0x007b,0x007b,0x07b,-1 diff --git a/libc/sysv/consts/__NR_fchownat.S b/libc/sysv/consts/__NR_fchownat.S index 539d3a59705..83553362f92 100644 --- a/libc/sysv/consts/__NR_fchownat.S +++ b/libc/sysv/consts/__NR_fchownat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fchownat 0x0104 0x20001d4 0x01eb 0x013b 0x1d0 -1 +.syscon nr,__NR_fchownat,0x0104,0x20001d4,0x01eb,0x013b,0x1d0,-1 diff --git a/libc/sysv/consts/__NR_fclonefileat.S b/libc/sysv/consts/__NR_fclonefileat.S index 46da1d38e62..adb04e0bdba 100644 --- a/libc/sysv/consts/__NR_fclonefileat.S +++ b/libc/sysv/consts/__NR_fclonefileat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fclonefileat -1 0x2000205 -1 -1 -1 -1 +.syscon nr,__NR_fclonefileat,-1,0x2000205,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_fcntl.S b/libc/sysv/consts/__NR_fcntl.S index d627677ca68..7954ccdef2a 100644 --- a/libc/sysv/consts/__NR_fcntl.S +++ b/libc/sysv/consts/__NR_fcntl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fcntl 0x0048 0x200005c 0x005c 0x005c 0x05c -1 +.syscon nr,__NR_fcntl,0x0048,0x200005c,0x005c,0x005c,0x05c,-1 diff --git a/libc/sysv/consts/__NR_fcntl_nocancel.S b/libc/sysv/consts/__NR_fcntl_nocancel.S index 8f5b8c5e8bb..3d13a6bca8f 100644 --- a/libc/sysv/consts/__NR_fcntl_nocancel.S +++ b/libc/sysv/consts/__NR_fcntl_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fcntl_nocancel -1 0x2000196 -1 -1 -1 -1 +.syscon nr,__NR_fcntl_nocancel,-1,0x2000196,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_fdatasync.S b/libc/sysv/consts/__NR_fdatasync.S index 5f890e75f59..5c529298fa4 100644 --- a/libc/sysv/consts/__NR_fdatasync.S +++ b/libc/sysv/consts/__NR_fdatasync.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fdatasync 0x004b 0x20000bb 0x0226 0x005f 0x0f1 -1 +.syscon nr,__NR_fdatasync,0x004b,0x20000bb,0x0226,0x005f,0x0f1,-1 diff --git a/libc/sysv/consts/__NR_fexecve.S b/libc/sysv/consts/__NR_fexecve.S index ad5ea543a29..72e7095983f 100644 --- a/libc/sysv/consts/__NR_fexecve.S +++ b/libc/sysv/consts/__NR_fexecve.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fexecve -1 -1 0x01ec -1 0x1d1 -1 +.syscon nr,__NR_fexecve,-1,-1,0x01ec,-1,0x1d1,-1 diff --git a/libc/sysv/consts/__NR_ffclock_getcounter.S b/libc/sysv/consts/__NR_ffclock_getcounter.S index dad04d9e3e0..8c294aceba6 100644 --- a/libc/sysv/consts/__NR_ffclock_getcounter.S +++ b/libc/sysv/consts/__NR_ffclock_getcounter.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ffclock_getcounter -1 -1 0x00f1 -1 -1 -1 +.syscon nr,__NR_ffclock_getcounter,-1,-1,0x00f1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ffclock_getestimate.S b/libc/sysv/consts/__NR_ffclock_getestimate.S index 240050fb001..7079dbbc0ca 100644 --- a/libc/sysv/consts/__NR_ffclock_getestimate.S +++ b/libc/sysv/consts/__NR_ffclock_getestimate.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ffclock_getestimate -1 -1 0x00f3 -1 -1 -1 +.syscon nr,__NR_ffclock_getestimate,-1,-1,0x00f3,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ffclock_setestimate.S b/libc/sysv/consts/__NR_ffclock_setestimate.S index b18977c4b47..3506c75bf99 100644 --- a/libc/sysv/consts/__NR_ffclock_setestimate.S +++ b/libc/sysv/consts/__NR_ffclock_setestimate.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ffclock_setestimate -1 -1 0x00f2 -1 -1 -1 +.syscon nr,__NR_ffclock_setestimate,-1,-1,0x00f2,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ffsctl.S b/libc/sysv/consts/__NR_ffsctl.S index 088ee4cff79..1926f09ade2 100644 --- a/libc/sysv/consts/__NR_ffsctl.S +++ b/libc/sysv/consts/__NR_ffsctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ffsctl -1 0x20000f5 -1 -1 -1 -1 +.syscon nr,__NR_ffsctl,-1,0x20000f5,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_fgetattrlist.S b/libc/sysv/consts/__NR_fgetattrlist.S index bc3051ae118..81ef6aa1b82 100644 --- a/libc/sysv/consts/__NR_fgetattrlist.S +++ b/libc/sysv/consts/__NR_fgetattrlist.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fgetattrlist -1 0x20000e4 -1 -1 -1 -1 +.syscon nr,__NR_fgetattrlist,-1,0x20000e4,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_fgetxattr.S b/libc/sysv/consts/__NR_fgetxattr.S index da69f791b22..9099bf4df97 100644 --- a/libc/sysv/consts/__NR_fgetxattr.S +++ b/libc/sysv/consts/__NR_fgetxattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fgetxattr 0x00c1 0x20000eb -1 -1 0x17c -1 +.syscon nr,__NR_fgetxattr,0x00c1,0x20000eb,-1,-1,0x17c,-1 diff --git a/libc/sysv/consts/__NR_fhlink.S b/libc/sysv/consts/__NR_fhlink.S index 7277a24c735..b7b1a4012ad 100644 --- a/libc/sysv/consts/__NR_fhlink.S +++ b/libc/sysv/consts/__NR_fhlink.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fhlink -1 -1 0x0235 -1 -1 -1 +.syscon nr,__NR_fhlink,-1,-1,0x0235,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_fhlinkat.S b/libc/sysv/consts/__NR_fhlinkat.S index a39d84a759e..cd3ef99645d 100644 --- a/libc/sysv/consts/__NR_fhlinkat.S +++ b/libc/sysv/consts/__NR_fhlinkat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fhlinkat -1 -1 0x0236 -1 -1 -1 +.syscon nr,__NR_fhlinkat,-1,-1,0x0236,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_fhopen.S b/libc/sysv/consts/__NR_fhopen.S index a56dfbaef2d..538efa31904 100644 --- a/libc/sysv/consts/__NR_fhopen.S +++ b/libc/sysv/consts/__NR_fhopen.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fhopen -1 0x20000f8 0x012a 0x0108 0x18c -1 +.syscon nr,__NR_fhopen,-1,0x20000f8,0x012a,0x0108,0x18c,-1 diff --git a/libc/sysv/consts/__NR_fhreadlink.S b/libc/sysv/consts/__NR_fhreadlink.S index ff1ca750f03..ff6f4037bdd 100644 --- a/libc/sysv/consts/__NR_fhreadlink.S +++ b/libc/sysv/consts/__NR_fhreadlink.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fhreadlink -1 -1 0x0237 -1 -1 -1 +.syscon nr,__NR_fhreadlink,-1,-1,0x0237,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_fhstat.S b/libc/sysv/consts/__NR_fhstat.S index 28a82437ac0..00a848e56bc 100644 --- a/libc/sysv/consts/__NR_fhstat.S +++ b/libc/sysv/consts/__NR_fhstat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fhstat -1 -1 0x0229 0x0126 0x1c3 -1 +.syscon nr,__NR_fhstat,-1,-1,0x0229,0x0126,0x1c3,-1 diff --git a/libc/sysv/consts/__NR_fhstatfs.S b/libc/sysv/consts/__NR_fhstatfs.S index 9253d11cb96..9c2efb6d612 100644 --- a/libc/sysv/consts/__NR_fhstatfs.S +++ b/libc/sysv/consts/__NR_fhstatfs.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fhstatfs -1 -1 0x022e 0x0041 -1 -1 +.syscon nr,__NR_fhstatfs,-1,-1,0x022e,0x0041,-1,-1 diff --git a/libc/sysv/consts/__NR_fileport_makefd.S b/libc/sysv/consts/__NR_fileport_makefd.S index 713366437f9..3c86d91ade2 100644 --- a/libc/sysv/consts/__NR_fileport_makefd.S +++ b/libc/sysv/consts/__NR_fileport_makefd.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fileport_makefd -1 0x20001af -1 -1 -1 -1 +.syscon nr,__NR_fileport_makefd,-1,0x20001af,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_fileport_makeport.S b/libc/sysv/consts/__NR_fileport_makeport.S index 49b548e7429..72f31a9d8ee 100644 --- a/libc/sysv/consts/__NR_fileport_makeport.S +++ b/libc/sysv/consts/__NR_fileport_makeport.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fileport_makeport -1 0x20001ae -1 -1 -1 -1 +.syscon nr,__NR_fileport_makeport,-1,0x20001ae,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_finit_module.S b/libc/sysv/consts/__NR_finit_module.S index 0f4c2626c33..10cc1fe76de 100644 --- a/libc/sysv/consts/__NR_finit_module.S +++ b/libc/sysv/consts/__NR_finit_module.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_finit_module 0x0139 -1 -1 -1 -1 -1 +.syscon nr,__NR_finit_module,0x0139,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_flistxattr.S b/libc/sysv/consts/__NR_flistxattr.S index ea9bf009645..381b9eabfeb 100644 --- a/libc/sysv/consts/__NR_flistxattr.S +++ b/libc/sysv/consts/__NR_flistxattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_flistxattr 0x00c4 0x20000f1 -1 -1 0x17f -1 +.syscon nr,__NR_flistxattr,0x00c4,0x20000f1,-1,-1,0x17f,-1 diff --git a/libc/sysv/consts/__NR_flock.S b/libc/sysv/consts/__NR_flock.S index 67a97ac9dc8..c03e27fb326 100644 --- a/libc/sysv/consts/__NR_flock.S +++ b/libc/sysv/consts/__NR_flock.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_flock 0x0049 0x2000083 0x0083 0x0083 0x083 -1 +.syscon nr,__NR_flock,0x0049,0x2000083,0x0083,0x0083,0x083,-1 diff --git a/libc/sysv/consts/__NR_fmount.S b/libc/sysv/consts/__NR_fmount.S index 6114b188e1a..49afd0f402f 100644 --- a/libc/sysv/consts/__NR_fmount.S +++ b/libc/sysv/consts/__NR_fmount.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fmount -1 0x200020e -1 -1 -1 -1 +.syscon nr,__NR_fmount,-1,0x200020e,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_fork.S b/libc/sysv/consts/__NR_fork.S index 268ca49c499..e8487f63012 100644 --- a/libc/sysv/consts/__NR_fork.S +++ b/libc/sysv/consts/__NR_fork.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fork 0x0039 0x2000002 0x0002 0x0002 0x002 -1 +.syscon nr,__NR_fork,0x0039,0x2000002,0x0002,0x0002,0x002,-1 diff --git a/libc/sysv/consts/__NR_fpathconf.S b/libc/sysv/consts/__NR_fpathconf.S index b7b14376402..d2c6118b1f1 100644 --- a/libc/sysv/consts/__NR_fpathconf.S +++ b/libc/sysv/consts/__NR_fpathconf.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fpathconf -1 0x20000c0 0x00c0 0x00c0 0x0c0 -1 +.syscon nr,__NR_fpathconf,-1,0x20000c0,0x00c0,0x00c0,0x0c0,-1 diff --git a/libc/sysv/consts/__NR_fremovexattr.S b/libc/sysv/consts/__NR_fremovexattr.S index cb685487802..3915ecbaac4 100644 --- a/libc/sysv/consts/__NR_fremovexattr.S +++ b/libc/sysv/consts/__NR_fremovexattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fremovexattr 0x00c7 0x20000ef -1 -1 0x182 -1 +.syscon nr,__NR_fremovexattr,0x00c7,0x20000ef,-1,-1,0x182,-1 diff --git a/libc/sysv/consts/__NR_fs_snapshot.S b/libc/sysv/consts/__NR_fs_snapshot.S index 46617452ec9..a42b5bbc278 100644 --- a/libc/sysv/consts/__NR_fs_snapshot.S +++ b/libc/sysv/consts/__NR_fs_snapshot.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fs_snapshot -1 0x2000206 -1 -1 -1 -1 +.syscon nr,__NR_fs_snapshot,-1,0x2000206,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_fsctl.S b/libc/sysv/consts/__NR_fsctl.S index 70e43e8038f..6bed6dffadf 100644 --- a/libc/sysv/consts/__NR_fsctl.S +++ b/libc/sysv/consts/__NR_fsctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fsctl -1 0x20000f2 -1 -1 -1 -1 +.syscon nr,__NR_fsctl,-1,0x20000f2,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_fsetattrlist.S b/libc/sysv/consts/__NR_fsetattrlist.S index 8c0e591bec5..c949d678437 100644 --- a/libc/sysv/consts/__NR_fsetattrlist.S +++ b/libc/sysv/consts/__NR_fsetattrlist.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fsetattrlist -1 0x20000e5 -1 -1 -1 -1 +.syscon nr,__NR_fsetattrlist,-1,0x20000e5,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_fsetxattr.S b/libc/sysv/consts/__NR_fsetxattr.S index a45124f3e33..413af33bdf2 100644 --- a/libc/sysv/consts/__NR_fsetxattr.S +++ b/libc/sysv/consts/__NR_fsetxattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fsetxattr 0x00be 0x20000ed -1 -1 0x179 -1 +.syscon nr,__NR_fsetxattr,0x00be,0x20000ed,-1,-1,0x179,-1 diff --git a/libc/sysv/consts/__NR_fstat.S b/libc/sysv/consts/__NR_fstat.S index f5ba117b492..ed2c783a347 100644 --- a/libc/sysv/consts/__NR_fstat.S +++ b/libc/sysv/consts/__NR_fstat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fstat 0x0005 0x2000153 0x0227 0x0035 0x1b8 -1 +.syscon nr,__NR_fstat,0x0005,0x2000153,0x0227,0x0035,0x1b8,-1 diff --git a/libc/sysv/consts/__NR_fstat_extended.S b/libc/sysv/consts/__NR_fstat_extended.S index bdbb2f80edd..2740593ecb3 100644 --- a/libc/sysv/consts/__NR_fstat_extended.S +++ b/libc/sysv/consts/__NR_fstat_extended.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fstat_extended -1 0x2000119 -1 -1 -1 -1 +.syscon nr,__NR_fstat_extended,-1,0x2000119,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_fstatat.S b/libc/sysv/consts/__NR_fstatat.S index 5cf2a450fbe..04bb86e88a4 100644 --- a/libc/sysv/consts/__NR_fstatat.S +++ b/libc/sysv/consts/__NR_fstatat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fstatat 0x0106 0x20001d6 0x0228 0x002a 0x1d2 -1 +.syscon nr,__NR_fstatat,0x0106,0x20001d6,0x0228,0x002a,0x1d2,-1 diff --git a/libc/sysv/consts/__NR_fstatfs.S b/libc/sysv/consts/__NR_fstatfs.S index e76c736d432..bb9ba72d468 100644 --- a/libc/sysv/consts/__NR_fstatfs.S +++ b/libc/sysv/consts/__NR_fstatfs.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fstatfs 0x008a 0x200015a 0x022c 0x0040 -1 -1 +.syscon nr,__NR_fstatfs,0x008a,0x200015a,0x022c,0x0040,-1,-1 diff --git a/libc/sysv/consts/__NR_fsync.S b/libc/sysv/consts/__NR_fsync.S index dfe9459b176..31d39f288b6 100644 --- a/libc/sysv/consts/__NR_fsync.S +++ b/libc/sysv/consts/__NR_fsync.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fsync 0x004a 0x200005f 0x005f 0x005f 0x05f -1 +.syscon nr,__NR_fsync,0x004a,0x200005f,0x005f,0x005f,0x05f,-1 diff --git a/libc/sysv/consts/__NR_fsync_nocancel.S b/libc/sysv/consts/__NR_fsync_nocancel.S index fc441950f34..eae8c55733c 100644 --- a/libc/sysv/consts/__NR_fsync_nocancel.S +++ b/libc/sysv/consts/__NR_fsync_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_fsync_nocancel -1 0x2000198 -1 -1 -1 -1 +.syscon nr,__NR_fsync_nocancel,-1,0x2000198,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ftruncate.S b/libc/sysv/consts/__NR_ftruncate.S index 09d79cb3464..fbbf0fff5f8 100644 --- a/libc/sysv/consts/__NR_ftruncate.S +++ b/libc/sysv/consts/__NR_ftruncate.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ftruncate 0x004d 0x20000c9 0x01e0 0x00c9 0x0c9 -1 +.syscon nr,__NR_ftruncate,0x004d,0x20000c9,0x01e0,0x00c9,0x0c9,-1 diff --git a/libc/sysv/consts/__NR_futex.S b/libc/sysv/consts/__NR_futex.S index b54804b1b6f..6a5f3cee3fb 100644 --- a/libc/sysv/consts/__NR_futex.S +++ b/libc/sysv/consts/__NR_futex.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_futex 0x00ca -1 -1 0x0053 -1 -1 +.syscon nr,__NR_futex,0x00ca,-1,-1,0x0053,-1,-1 diff --git a/libc/sysv/consts/__NR_futimens.S b/libc/sysv/consts/__NR_futimens.S index 9196b6a8b5b..a161fd618d9 100644 --- a/libc/sysv/consts/__NR_futimens.S +++ b/libc/sysv/consts/__NR_futimens.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_futimens -1 -1 0x0222 0x0055 0x1d8 -1 +.syscon nr,__NR_futimens,-1,-1,0x0222,0x0055,0x1d8,-1 diff --git a/libc/sysv/consts/__NR_futimes.S b/libc/sysv/consts/__NR_futimes.S index 28ca693ff1a..93ae0fa0286 100644 --- a/libc/sysv/consts/__NR_futimes.S +++ b/libc/sysv/consts/__NR_futimes.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_futimes -1 0x200008b 0x00ce 0x004d 0x1a7 -1 +.syscon nr,__NR_futimes,-1,0x200008b,0x00ce,0x004d,0x1a7,-1 diff --git a/libc/sysv/consts/__NR_futimesat.S b/libc/sysv/consts/__NR_futimesat.S index 17a6517e06b..4e1062ae526 100644 --- a/libc/sysv/consts/__NR_futimesat.S +++ b/libc/sysv/consts/__NR_futimesat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_futimesat 0x0105 -1 0x01ee -1 -1 -1 +.syscon nr,__NR_futimesat,0x0105,-1,0x01ee,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_get_mempolicy.S b/libc/sysv/consts/__NR_get_mempolicy.S index f1d16183984..866d60a70ad 100644 --- a/libc/sysv/consts/__NR_get_mempolicy.S +++ b/libc/sysv/consts/__NR_get_mempolicy.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_get_mempolicy 0x00ef -1 -1 -1 -1 -1 +.syscon nr,__NR_get_mempolicy,0x00ef,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_get_robust_list.S b/libc/sysv/consts/__NR_get_robust_list.S index 97ae50abdbc..d27d873b684 100644 --- a/libc/sysv/consts/__NR_get_robust_list.S +++ b/libc/sysv/consts/__NR_get_robust_list.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_get_robust_list 0x0112 -1 -1 -1 -1 -1 +.syscon nr,__NR_get_robust_list,0x0112,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_get_tcb.S b/libc/sysv/consts/__NR_get_tcb.S index 3ad0822a272..7469d659312 100644 --- a/libc/sysv/consts/__NR_get_tcb.S +++ b/libc/sysv/consts/__NR_get_tcb.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_get_tcb -1 -1 -1 0x014a -1 -1 +.syscon nr,__NR_get_tcb,-1,-1,-1,0x014a,-1,-1 diff --git a/libc/sysv/consts/__NR_getattrlist.S b/libc/sysv/consts/__NR_getattrlist.S index 96c698cbf25..83cca076dcf 100644 --- a/libc/sysv/consts/__NR_getattrlist.S +++ b/libc/sysv/consts/__NR_getattrlist.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getattrlist -1 0x20000dc -1 -1 -1 -1 +.syscon nr,__NR_getattrlist,-1,0x20000dc,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_getattrlistat.S b/libc/sysv/consts/__NR_getattrlistat.S index cb077e6d893..12ed3375ea0 100644 --- a/libc/sysv/consts/__NR_getattrlistat.S +++ b/libc/sysv/consts/__NR_getattrlistat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getattrlistat -1 0x20001dc -1 -1 -1 -1 +.syscon nr,__NR_getattrlistat,-1,0x20001dc,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_getattrlistbulk.S b/libc/sysv/consts/__NR_getattrlistbulk.S index 193c8c5f172..c9e98477396 100644 --- a/libc/sysv/consts/__NR_getattrlistbulk.S +++ b/libc/sysv/consts/__NR_getattrlistbulk.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getattrlistbulk -1 0x20001cd -1 -1 -1 -1 +.syscon nr,__NR_getattrlistbulk,-1,0x20001cd,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_getaudit.S b/libc/sysv/consts/__NR_getaudit.S index c2b18adfb14..34a28ce5ca1 100644 --- a/libc/sysv/consts/__NR_getaudit.S +++ b/libc/sysv/consts/__NR_getaudit.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getaudit -1 -1 0x01c1 -1 -1 -1 +.syscon nr,__NR_getaudit,-1,-1,0x01c1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_getaudit_addr.S b/libc/sysv/consts/__NR_getaudit_addr.S index 62bde913631..f90f516347a 100644 --- a/libc/sysv/consts/__NR_getaudit_addr.S +++ b/libc/sysv/consts/__NR_getaudit_addr.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getaudit_addr -1 0x2000165 0x01c3 -1 -1 -1 +.syscon nr,__NR_getaudit_addr,-1,0x2000165,0x01c3,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_getauid.S b/libc/sysv/consts/__NR_getauid.S index 445119434e2..c4bd0d9ebef 100644 --- a/libc/sysv/consts/__NR_getauid.S +++ b/libc/sysv/consts/__NR_getauid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getauid -1 0x2000161 0x01bf -1 -1 -1 +.syscon nr,__NR_getauid,-1,0x2000161,0x01bf,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_getcontext.S b/libc/sysv/consts/__NR_getcontext.S index 34e5e523719..e983a9af031 100644 --- a/libc/sysv/consts/__NR_getcontext.S +++ b/libc/sysv/consts/__NR_getcontext.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getcontext -1 -1 0x01a5 -1 0x133 -1 +.syscon nr,__NR_getcontext,-1,-1,0x01a5,-1,0x133,-1 diff --git a/libc/sysv/consts/__NR_getcpu.S b/libc/sysv/consts/__NR_getcpu.S index 0c2a6d3e8a3..62e30659008 100644 --- a/libc/sysv/consts/__NR_getcpu.S +++ b/libc/sysv/consts/__NR_getcpu.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getcpu 0x0135 -1 -1 -1 -1 -1 +.syscon nr,__NR_getcpu,0x0135,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_getcwd.S b/libc/sysv/consts/__NR_getcwd.S index b6bc6165151..c3489068c93 100644 --- a/libc/sysv/consts/__NR_getcwd.S +++ b/libc/sysv/consts/__NR_getcwd.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getcwd 0x004f -1 0x0146 0x0130 0x128 -1 +.syscon nr,__NR_getcwd,0x004f,-1,0x0146,0x0130,0x128,-1 diff --git a/libc/sysv/consts/__NR_getdents.S b/libc/sysv/consts/__NR_getdents.S index fd9e1611114..9115953e9d2 100644 --- a/libc/sysv/consts/__NR_getdents.S +++ b/libc/sysv/consts/__NR_getdents.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getdents 0x00d9 -1 0x0110 0x0063 0x186 -1 +.syscon nr,__NR_getdents,0x00d9,-1,0x0110,0x0063,0x186,-1 diff --git a/libc/sysv/consts/__NR_getdirentries.S b/libc/sysv/consts/__NR_getdirentries.S index 41e4c63f42b..cd5d831f9d3 100644 --- a/libc/sysv/consts/__NR_getdirentries.S +++ b/libc/sysv/consts/__NR_getdirentries.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getdirentries -1 0x2000158 0x022a -1 -1 -1 +.syscon nr,__NR_getdirentries,-1,0x2000158,0x022a,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_getdirentriesattr.S b/libc/sysv/consts/__NR_getdirentriesattr.S index 7fcf7848d3a..c9289066c63 100644 --- a/libc/sysv/consts/__NR_getdirentriesattr.S +++ b/libc/sysv/consts/__NR_getdirentriesattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getdirentriesattr -1 0x20000de -1 -1 -1 -1 +.syscon nr,__NR_getdirentriesattr,-1,0x20000de,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_getdtablecount.S b/libc/sysv/consts/__NR_getdtablecount.S index 79f5fc2b238..609aac85ed7 100644 --- a/libc/sysv/consts/__NR_getdtablecount.S +++ b/libc/sysv/consts/__NR_getdtablecount.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getdtablecount -1 -1 -1 0x0012 -1 -1 +.syscon nr,__NR_getdtablecount,-1,-1,-1,0x0012,-1,-1 diff --git a/libc/sysv/consts/__NR_getdtablesize.S b/libc/sysv/consts/__NR_getdtablesize.S index 9ce9300b5b9..6f79f19985c 100644 --- a/libc/sysv/consts/__NR_getdtablesize.S +++ b/libc/sysv/consts/__NR_getdtablesize.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getdtablesize -1 0x2000059 0x0059 -1 -1 -1 +.syscon nr,__NR_getdtablesize,-1,0x2000059,0x0059,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_getegid.S b/libc/sysv/consts/__NR_getegid.S index 1a11e3b1cfc..faa9f08154d 100644 --- a/libc/sysv/consts/__NR_getegid.S +++ b/libc/sysv/consts/__NR_getegid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getegid 0x006c 0x200002b 0x002b 0x002b -1 -1 +.syscon nr,__NR_getegid,0x006c,0x200002b,0x002b,0x002b,-1,-1 diff --git a/libc/sysv/consts/__NR_geteuid.S b/libc/sysv/consts/__NR_geteuid.S index 0afea1eb18e..8c096a5d3fc 100644 --- a/libc/sysv/consts/__NR_geteuid.S +++ b/libc/sysv/consts/__NR_geteuid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_geteuid 0x006b 0x2000019 0x0019 0x0019 -1 -1 +.syscon nr,__NR_geteuid,0x006b,0x2000019,0x0019,0x0019,-1,-1 diff --git a/libc/sysv/consts/__NR_getfh.S b/libc/sysv/consts/__NR_getfh.S index ee9a72eb6c2..6ca31d854ae 100644 --- a/libc/sysv/consts/__NR_getfh.S +++ b/libc/sysv/consts/__NR_getfh.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getfh -1 0x20000a1 0x00a1 0x00a1 0x18b -1 +.syscon nr,__NR_getfh,-1,0x20000a1,0x00a1,0x00a1,0x18b,-1 diff --git a/libc/sysv/consts/__NR_getfhat.S b/libc/sysv/consts/__NR_getfhat.S index 54b5fe1da21..531fb059126 100644 --- a/libc/sysv/consts/__NR_getfhat.S +++ b/libc/sysv/consts/__NR_getfhat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getfhat -1 -1 0x0234 -1 -1 -1 +.syscon nr,__NR_getfhat,-1,-1,0x0234,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_getfsstat.S b/libc/sysv/consts/__NR_getfsstat.S index 1fccd07abb9..4f38063c054 100644 --- a/libc/sysv/consts/__NR_getfsstat.S +++ b/libc/sysv/consts/__NR_getfsstat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getfsstat -1 0x200015b 0x022d 0x003e -1 -1 +.syscon nr,__NR_getfsstat,-1,0x200015b,0x022d,0x003e,-1,-1 diff --git a/libc/sysv/consts/__NR_getgid.S b/libc/sysv/consts/__NR_getgid.S index 941d8b635f2..0fc5498ef83 100644 --- a/libc/sysv/consts/__NR_getgid.S +++ b/libc/sysv/consts/__NR_getgid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getgid 0x0068 0x200002f 0x002f 0x002f 0x02f -1 +.syscon nr,__NR_getgid,0x0068,0x200002f,0x002f,0x002f,0x02f,-1 diff --git a/libc/sysv/consts/__NR_getgroups.S b/libc/sysv/consts/__NR_getgroups.S index b3b311e7a55..e27853b3a69 100644 --- a/libc/sysv/consts/__NR_getgroups.S +++ b/libc/sysv/consts/__NR_getgroups.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getgroups 0x0073 0x200004f 0x004f 0x004f 0x04f -1 +.syscon nr,__NR_getgroups,0x0073,0x200004f,0x004f,0x004f,0x04f,-1 diff --git a/libc/sysv/consts/__NR_gethostid.S b/libc/sysv/consts/__NR_gethostid.S index c25d904a115..242233c51ef 100644 --- a/libc/sysv/consts/__NR_gethostid.S +++ b/libc/sysv/consts/__NR_gethostid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_gethostid -1 -1 0x008e -1 -1 -1 +.syscon nr,__NR_gethostid,-1,-1,0x008e,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_gethostuuid.S b/libc/sysv/consts/__NR_gethostuuid.S index 5e573876efb..753211fa535 100644 --- a/libc/sysv/consts/__NR_gethostuuid.S +++ b/libc/sysv/consts/__NR_gethostuuid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_gethostuuid -1 0x200008e -1 -1 -1 -1 +.syscon nr,__NR_gethostuuid,-1,0x200008e,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_getitimer.S b/libc/sysv/consts/__NR_getitimer.S index 5ba78d3fc96..cb0dfef7165 100644 --- a/libc/sysv/consts/__NR_getitimer.S +++ b/libc/sysv/consts/__NR_getitimer.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getitimer 0x0024 0x2000056 0x0056 0x0046 0x1aa -1 +.syscon nr,__NR_getitimer,0x0024,0x2000056,0x0056,0x0046,0x1aa,-1 diff --git a/libc/sysv/consts/__NR_getkerninfo.S b/libc/sysv/consts/__NR_getkerninfo.S index 5c1c463470a..2d33909f026 100644 --- a/libc/sysv/consts/__NR_getkerninfo.S +++ b/libc/sysv/consts/__NR_getkerninfo.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getkerninfo -1 -1 0x003f -1 -1 -1 +.syscon nr,__NR_getkerninfo,-1,-1,0x003f,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_getlogin.S b/libc/sysv/consts/__NR_getlogin.S index 70892234059..1d953fa4c7e 100644 --- a/libc/sysv/consts/__NR_getlogin.S +++ b/libc/sysv/consts/__NR_getlogin.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getlogin -1 0x2000031 0x0031 -1 -1 -1 +.syscon nr,__NR_getlogin,-1,0x2000031,0x0031,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_getlogin_r.S b/libc/sysv/consts/__NR_getlogin_r.S index ee9036ce49e..9ae7caa0393 100644 --- a/libc/sysv/consts/__NR_getlogin_r.S +++ b/libc/sysv/consts/__NR_getlogin_r.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getlogin_r -1 -1 -1 0x008d -1 -1 +.syscon nr,__NR_getlogin_r,-1,-1,-1,0x008d,-1,-1 diff --git a/libc/sysv/consts/__NR_getloginclass.S b/libc/sysv/consts/__NR_getloginclass.S index b6cbe84d827..9c9c725e5b0 100644 --- a/libc/sysv/consts/__NR_getloginclass.S +++ b/libc/sysv/consts/__NR_getloginclass.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getloginclass -1 -1 0x020b -1 -1 -1 +.syscon nr,__NR_getloginclass,-1,-1,0x020b,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_getpagesize.S b/libc/sysv/consts/__NR_getpagesize.S index 696d9654c5d..c269c5ef2f7 100644 --- a/libc/sysv/consts/__NR_getpagesize.S +++ b/libc/sysv/consts/__NR_getpagesize.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getpagesize -1 -1 0x0040 -1 -1 -1 +.syscon nr,__NR_getpagesize,-1,-1,0x0040,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_getpeername.S b/libc/sysv/consts/__NR_getpeername.S index 6b619c3c82c..c1a194b1115 100644 --- a/libc/sysv/consts/__NR_getpeername.S +++ b/libc/sysv/consts/__NR_getpeername.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getpeername 0x0034 0x200001f 0x008d 0x001f 0x01f -1 +.syscon nr,__NR_getpeername,0x0034,0x200001f,0x008d,0x001f,0x01f,-1 diff --git a/libc/sysv/consts/__NR_getpgid.S b/libc/sysv/consts/__NR_getpgid.S index da6ef8afd32..9708aac1180 100644 --- a/libc/sysv/consts/__NR_getpgid.S +++ b/libc/sysv/consts/__NR_getpgid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getpgid 0x0079 0x2000097 0x00cf 0x00cf 0x0cf -1 +.syscon nr,__NR_getpgid,0x0079,0x2000097,0x00cf,0x00cf,0x0cf,-1 diff --git a/libc/sysv/consts/__NR_getpgrp.S b/libc/sysv/consts/__NR_getpgrp.S index 6802e625be2..b7ff4dc8251 100644 --- a/libc/sysv/consts/__NR_getpgrp.S +++ b/libc/sysv/consts/__NR_getpgrp.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getpgrp 0x006f 0x2000051 0x0051 0x0051 0x051 -1 +.syscon nr,__NR_getpgrp,0x006f,0x2000051,0x0051,0x0051,0x051,-1 diff --git a/libc/sysv/consts/__NR_getpid.S b/libc/sysv/consts/__NR_getpid.S index b089c2b3411..bf6b2de1519 100644 --- a/libc/sysv/consts/__NR_getpid.S +++ b/libc/sysv/consts/__NR_getpid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getpid 0x0027 0x2000014 0x0014 0x0014 0x014 -1 +.syscon nr,__NR_getpid,0x0027,0x2000014,0x0014,0x0014,0x014,-1 diff --git a/libc/sysv/consts/__NR_getppid.S b/libc/sysv/consts/__NR_getppid.S index 360f3bb7908..bbfac3ee101 100644 --- a/libc/sysv/consts/__NR_getppid.S +++ b/libc/sysv/consts/__NR_getppid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getppid 0x006e 0x2000027 0x0027 0x0027 -1 -1 +.syscon nr,__NR_getppid,0x006e,0x2000027,0x0027,0x0027,-1,-1 diff --git a/libc/sysv/consts/__NR_getpriority.S b/libc/sysv/consts/__NR_getpriority.S index 43b887b6de1..1530e33f325 100644 --- a/libc/sysv/consts/__NR_getpriority.S +++ b/libc/sysv/consts/__NR_getpriority.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getpriority 0x008c 0x2000064 0x0064 0x0064 0x064 -1 +.syscon nr,__NR_getpriority,0x008c,0x2000064,0x0064,0x0064,0x064,-1 diff --git a/libc/sysv/consts/__NR_getrandom.S b/libc/sysv/consts/__NR_getrandom.S index 4aaf38a8442..b34bac23382 100644 --- a/libc/sysv/consts/__NR_getrandom.S +++ b/libc/sysv/consts/__NR_getrandom.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getrandom 0x013e 0x20001f4 0x0233 0x0007 0x05b -1 +.syscon nr,__NR_getrandom,0x013e,0x20001f4,0x0233,0x0007,0x05b,-1 diff --git a/libc/sysv/consts/__NR_getresgid.S b/libc/sysv/consts/__NR_getresgid.S index e64f7a40637..113685fbb13 100644 --- a/libc/sysv/consts/__NR_getresgid.S +++ b/libc/sysv/consts/__NR_getresgid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getresgid 0x0078 -1 0x0169 0x011b -1 -1 +.syscon nr,__NR_getresgid,0x0078,-1,0x0169,0x011b,-1,-1 diff --git a/libc/sysv/consts/__NR_getresuid.S b/libc/sysv/consts/__NR_getresuid.S index fdcdd5e1b06..2b15b027edc 100644 --- a/libc/sysv/consts/__NR_getresuid.S +++ b/libc/sysv/consts/__NR_getresuid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getresuid 0x0076 -1 0x0168 0x0119 -1 -1 +.syscon nr,__NR_getresuid,0x0076,-1,0x0168,0x0119,-1,-1 diff --git a/libc/sysv/consts/__NR_getrlimit.S b/libc/sysv/consts/__NR_getrlimit.S index 0621a3ab2de..67f26fcb7d9 100644 --- a/libc/sysv/consts/__NR_getrlimit.S +++ b/libc/sysv/consts/__NR_getrlimit.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getrlimit 0x0061 0x20000c2 0x00c2 0x00c2 0x0c2 -1 +.syscon nr,__NR_getrlimit,0x0061,0x20000c2,0x00c2,0x00c2,0x0c2,-1 diff --git a/libc/sysv/consts/__NR_getrtable.S b/libc/sysv/consts/__NR_getrtable.S index 6ebb393b73b..c4162babf76 100644 --- a/libc/sysv/consts/__NR_getrtable.S +++ b/libc/sysv/consts/__NR_getrtable.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getrtable -1 -1 -1 0x0137 -1 -1 +.syscon nr,__NR_getrtable,-1,-1,-1,0x0137,-1,-1 diff --git a/libc/sysv/consts/__NR_getrusage.S b/libc/sysv/consts/__NR_getrusage.S index a6dd24cf53c..8a3f0c70e51 100644 --- a/libc/sysv/consts/__NR_getrusage.S +++ b/libc/sysv/consts/__NR_getrusage.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getrusage 0x0062 0x2000075 0x0075 0x0013 0x1bd -1 +.syscon nr,__NR_getrusage,0x0062,0x2000075,0x0075,0x0013,0x1bd,-1 diff --git a/libc/sysv/consts/__NR_getsgroups.S b/libc/sysv/consts/__NR_getsgroups.S index 1fc41af7678..762a8fefa01 100644 --- a/libc/sysv/consts/__NR_getsgroups.S +++ b/libc/sysv/consts/__NR_getsgroups.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getsgroups -1 0x2000120 -1 -1 -1 -1 +.syscon nr,__NR_getsgroups,-1,0x2000120,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_getsid.S b/libc/sysv/consts/__NR_getsid.S index 6a60278b5b1..a80d1224d3f 100644 --- a/libc/sysv/consts/__NR_getsid.S +++ b/libc/sysv/consts/__NR_getsid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getsid 0x007c 0x2000136 0x0136 0x00ff 0x11e -1 +.syscon nr,__NR_getsid,0x007c,0x2000136,0x0136,0x00ff,0x11e,-1 diff --git a/libc/sysv/consts/__NR_getsockname.S b/libc/sysv/consts/__NR_getsockname.S index 0afb77ee9fc..ea1bb7a6206 100644 --- a/libc/sysv/consts/__NR_getsockname.S +++ b/libc/sysv/consts/__NR_getsockname.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getsockname 0x0033 0x2000020 0x0020 0x0020 0x020 -1 +.syscon nr,__NR_getsockname,0x0033,0x2000020,0x0020,0x0020,0x020,-1 diff --git a/libc/sysv/consts/__NR_getsockopt.S b/libc/sysv/consts/__NR_getsockopt.S index 189ea71778f..76ec706224d 100644 --- a/libc/sysv/consts/__NR_getsockopt.S +++ b/libc/sysv/consts/__NR_getsockopt.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getsockopt 0x0037 0x2000076 0x0076 0x0076 0x076 -1 +.syscon nr,__NR_getsockopt,0x0037,0x2000076,0x0076,0x0076,0x076,-1 diff --git a/libc/sysv/consts/__NR_getthrid.S b/libc/sysv/consts/__NR_getthrid.S index 345a407922e..575627a7a97 100644 --- a/libc/sysv/consts/__NR_getthrid.S +++ b/libc/sysv/consts/__NR_getthrid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getthrid -1 -1 -1 0x012b -1 -1 +.syscon nr,__NR_getthrid,-1,-1,-1,0x012b,-1,-1 diff --git a/libc/sysv/consts/__NR_gettid.S b/libc/sysv/consts/__NR_gettid.S index 3986aeb2dd1..dcf10a73c8f 100644 --- a/libc/sysv/consts/__NR_gettid.S +++ b/libc/sysv/consts/__NR_gettid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_gettid 0x00ba 0x200011e -1 -1 -1 -1 +.syscon nr,__NR_gettid,0x00ba,0x200011e,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_gettimeofday.S b/libc/sysv/consts/__NR_gettimeofday.S index 0d9b7a83863..69046c7a838 100644 --- a/libc/sysv/consts/__NR_gettimeofday.S +++ b/libc/sysv/consts/__NR_gettimeofday.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_gettimeofday 0x0060 0x2000074 0x0074 0x0043 0x1a2 -1 +.syscon nr,__NR_gettimeofday,0x0060,0x2000074,0x0074,0x0043,0x1a2,-1 diff --git a/libc/sysv/consts/__NR_getuid.S b/libc/sysv/consts/__NR_getuid.S index a6a9afc1b4b..74c74ab485e 100644 --- a/libc/sysv/consts/__NR_getuid.S +++ b/libc/sysv/consts/__NR_getuid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getuid 0x0066 0x2000018 0x0018 0x0018 0x018 -1 +.syscon nr,__NR_getuid,0x0066,0x2000018,0x0018,0x0018,0x018,-1 diff --git a/libc/sysv/consts/__NR_getwgroups.S b/libc/sysv/consts/__NR_getwgroups.S index 4a0e4e42237..4a4233b2a98 100644 --- a/libc/sysv/consts/__NR_getwgroups.S +++ b/libc/sysv/consts/__NR_getwgroups.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getwgroups -1 0x2000122 -1 -1 -1 -1 +.syscon nr,__NR_getwgroups,-1,0x2000122,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_getxattr.S b/libc/sysv/consts/__NR_getxattr.S index 0471d1da8f5..88926eeeba4 100644 --- a/libc/sysv/consts/__NR_getxattr.S +++ b/libc/sysv/consts/__NR_getxattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_getxattr 0x00bf 0x20000ea -1 -1 0x17a -1 +.syscon nr,__NR_getxattr,0x00bf,0x20000ea,-1,-1,0x17a,-1 diff --git a/libc/sysv/consts/__NR_grab_pgo_data.S b/libc/sysv/consts/__NR_grab_pgo_data.S index e2e89e89b9d..4fa277f5692 100644 --- a/libc/sysv/consts/__NR_grab_pgo_data.S +++ b/libc/sysv/consts/__NR_grab_pgo_data.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_grab_pgo_data -1 0x20001ed -1 -1 -1 -1 +.syscon nr,__NR_grab_pgo_data,-1,0x20001ed,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_gssd_syscall.S b/libc/sysv/consts/__NR_gssd_syscall.S index 92cbfa6d01e..8f346566cea 100644 --- a/libc/sysv/consts/__NR_gssd_syscall.S +++ b/libc/sysv/consts/__NR_gssd_syscall.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_gssd_syscall -1 -1 0x01f9 -1 -1 -1 +.syscon nr,__NR_gssd_syscall,-1,-1,0x01f9,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_guarded_close_np.S b/libc/sysv/consts/__NR_guarded_close_np.S index 351cc24cc0b..df54851c40b 100644 --- a/libc/sysv/consts/__NR_guarded_close_np.S +++ b/libc/sysv/consts/__NR_guarded_close_np.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_guarded_close_np -1 0x20001ba -1 -1 -1 -1 +.syscon nr,__NR_guarded_close_np,-1,0x20001ba,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_guarded_kqueue_np.S b/libc/sysv/consts/__NR_guarded_kqueue_np.S index f677ba01e6f..9a1f1fdced7 100644 --- a/libc/sysv/consts/__NR_guarded_kqueue_np.S +++ b/libc/sysv/consts/__NR_guarded_kqueue_np.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_guarded_kqueue_np -1 0x20001bb -1 -1 -1 -1 +.syscon nr,__NR_guarded_kqueue_np,-1,0x20001bb,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_guarded_open_dprotected_np.S b/libc/sysv/consts/__NR_guarded_open_dprotected_np.S index 51bd04aabe6..f2822b3071c 100644 --- a/libc/sysv/consts/__NR_guarded_open_dprotected_np.S +++ b/libc/sysv/consts/__NR_guarded_open_dprotected_np.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_guarded_open_dprotected_np -1 0x20001e4 -1 -1 -1 -1 +.syscon nr,__NR_guarded_open_dprotected_np,-1,0x20001e4,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_guarded_open_np.S b/libc/sysv/consts/__NR_guarded_open_np.S index 0851d54c076..96bf61f3779 100644 --- a/libc/sysv/consts/__NR_guarded_open_np.S +++ b/libc/sysv/consts/__NR_guarded_open_np.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_guarded_open_np -1 0x20001b9 -1 -1 -1 -1 +.syscon nr,__NR_guarded_open_np,-1,0x20001b9,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_guarded_pwrite_np.S b/libc/sysv/consts/__NR_guarded_pwrite_np.S index 4b8e9608fd3..47d33d705e4 100644 --- a/libc/sysv/consts/__NR_guarded_pwrite_np.S +++ b/libc/sysv/consts/__NR_guarded_pwrite_np.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_guarded_pwrite_np -1 0x20001e6 -1 -1 -1 -1 +.syscon nr,__NR_guarded_pwrite_np,-1,0x20001e6,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_guarded_write_np.S b/libc/sysv/consts/__NR_guarded_write_np.S index ef452e6221b..644ac0e5223 100644 --- a/libc/sysv/consts/__NR_guarded_write_np.S +++ b/libc/sysv/consts/__NR_guarded_write_np.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_guarded_write_np -1 0x20001e5 -1 -1 -1 -1 +.syscon nr,__NR_guarded_write_np,-1,0x20001e5,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_guarded_writev_np.S b/libc/sysv/consts/__NR_guarded_writev_np.S index 259a46b196b..9156ee11516 100644 --- a/libc/sysv/consts/__NR_guarded_writev_np.S +++ b/libc/sysv/consts/__NR_guarded_writev_np.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_guarded_writev_np -1 0x20001e7 -1 -1 -1 -1 +.syscon nr,__NR_guarded_writev_np,-1,0x20001e7,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_identitysvc.S b/libc/sysv/consts/__NR_identitysvc.S index 481534b9c31..d218b74e019 100644 --- a/libc/sysv/consts/__NR_identitysvc.S +++ b/libc/sysv/consts/__NR_identitysvc.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_identitysvc -1 0x2000125 -1 -1 -1 -1 +.syscon nr,__NR_identitysvc,-1,0x2000125,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_init_module.S b/libc/sysv/consts/__NR_init_module.S index 4a1ba3c95d4..1f0be07c1db 100644 --- a/libc/sysv/consts/__NR_init_module.S +++ b/libc/sysv/consts/__NR_init_module.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_init_module 0x00af -1 -1 -1 -1 -1 +.syscon nr,__NR_init_module,0x00af,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_initgroups.S b/libc/sysv/consts/__NR_initgroups.S index 6c4ce426b75..8abe6298495 100644 --- a/libc/sysv/consts/__NR_initgroups.S +++ b/libc/sysv/consts/__NR_initgroups.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_initgroups -1 0x20000f3 -1 -1 -1 -1 +.syscon nr,__NR_initgroups,-1,0x20000f3,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_inotify_add_watch.S b/libc/sysv/consts/__NR_inotify_add_watch.S index 481432d8be7..53dc33b9bf8 100644 --- a/libc/sysv/consts/__NR_inotify_add_watch.S +++ b/libc/sysv/consts/__NR_inotify_add_watch.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_inotify_add_watch 0x00fe -1 -1 -1 -1 -1 +.syscon nr,__NR_inotify_add_watch,0x00fe,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_inotify_init.S b/libc/sysv/consts/__NR_inotify_init.S index 7cadc7d2e66..ee372c33044 100644 --- a/libc/sysv/consts/__NR_inotify_init.S +++ b/libc/sysv/consts/__NR_inotify_init.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_inotify_init 0x00fd -1 -1 -1 -1 -1 +.syscon nr,__NR_inotify_init,0x00fd,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_inotify_init1.S b/libc/sysv/consts/__NR_inotify_init1.S index 8a337903f75..7abf662a802 100644 --- a/libc/sysv/consts/__NR_inotify_init1.S +++ b/libc/sysv/consts/__NR_inotify_init1.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_inotify_init1 0x0126 -1 -1 -1 -1 -1 +.syscon nr,__NR_inotify_init1,0x0126,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_inotify_rm_watch.S b/libc/sysv/consts/__NR_inotify_rm_watch.S index 20e131a7cf6..ceb1283aad7 100644 --- a/libc/sysv/consts/__NR_inotify_rm_watch.S +++ b/libc/sysv/consts/__NR_inotify_rm_watch.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_inotify_rm_watch 0x00ff -1 -1 -1 -1 -1 +.syscon nr,__NR_inotify_rm_watch,0x00ff,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_io_cancel.S b/libc/sysv/consts/__NR_io_cancel.S index 4054a492ee4..1c8a03fbbf1 100644 --- a/libc/sysv/consts/__NR_io_cancel.S +++ b/libc/sysv/consts/__NR_io_cancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_io_cancel 0x00d2 -1 -1 -1 -1 -1 +.syscon nr,__NR_io_cancel,0x00d2,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_io_destroy.S b/libc/sysv/consts/__NR_io_destroy.S index dc1f9713d39..06f8b0e3eed 100644 --- a/libc/sysv/consts/__NR_io_destroy.S +++ b/libc/sysv/consts/__NR_io_destroy.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_io_destroy 0x00cf -1 -1 -1 -1 -1 +.syscon nr,__NR_io_destroy,0x00cf,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_io_getevents.S b/libc/sysv/consts/__NR_io_getevents.S index a37bcf836b6..4bb84ba76b7 100644 --- a/libc/sysv/consts/__NR_io_getevents.S +++ b/libc/sysv/consts/__NR_io_getevents.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_io_getevents 0x00d0 -1 -1 -1 -1 -1 +.syscon nr,__NR_io_getevents,0x00d0,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_io_pgetevents.S b/libc/sysv/consts/__NR_io_pgetevents.S index 5ee9b31e66a..174d2866734 100644 --- a/libc/sysv/consts/__NR_io_pgetevents.S +++ b/libc/sysv/consts/__NR_io_pgetevents.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_io_pgetevents 0x014d -1 -1 -1 -1 -1 +.syscon nr,__NR_io_pgetevents,0x014d,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_io_setup.S b/libc/sysv/consts/__NR_io_setup.S index f6da81aa6aa..84f38a4d019 100644 --- a/libc/sysv/consts/__NR_io_setup.S +++ b/libc/sysv/consts/__NR_io_setup.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_io_setup 0x00ce -1 -1 -1 -1 -1 +.syscon nr,__NR_io_setup,0x00ce,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_io_submit.S b/libc/sysv/consts/__NR_io_submit.S index 509a62ef437..126894afb23 100644 --- a/libc/sysv/consts/__NR_io_submit.S +++ b/libc/sysv/consts/__NR_io_submit.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_io_submit 0x00d1 -1 -1 -1 -1 -1 +.syscon nr,__NR_io_submit,0x00d1,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_io_uring_enter.S b/libc/sysv/consts/__NR_io_uring_enter.S index 84808c96111..4c771ab0b72 100644 --- a/libc/sysv/consts/__NR_io_uring_enter.S +++ b/libc/sysv/consts/__NR_io_uring_enter.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_io_uring_enter 0x01aa -1 -1 -1 -1 -1 +.syscon nr,__NR_io_uring_enter,0x01aa,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_io_uring_register.S b/libc/sysv/consts/__NR_io_uring_register.S index 927b173c348..ca0a527e69f 100644 --- a/libc/sysv/consts/__NR_io_uring_register.S +++ b/libc/sysv/consts/__NR_io_uring_register.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_io_uring_register 0x01ab -1 -1 -1 -1 -1 +.syscon nr,__NR_io_uring_register,0x01ab,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_io_uring_setup.S b/libc/sysv/consts/__NR_io_uring_setup.S index 061b94a1f05..b1022071649 100644 --- a/libc/sysv/consts/__NR_io_uring_setup.S +++ b/libc/sysv/consts/__NR_io_uring_setup.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_io_uring_setup 0x01a9 -1 -1 -1 -1 -1 +.syscon nr,__NR_io_uring_setup,0x01a9,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ioctl.S b/libc/sysv/consts/__NR_ioctl.S index 36ba87e8abd..66bfd68ad3d 100644 --- a/libc/sysv/consts/__NR_ioctl.S +++ b/libc/sysv/consts/__NR_ioctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ioctl 0x0010 0x2000036 0x0036 0x0036 0x036 -1 +.syscon nr,__NR_ioctl,0x0010,0x2000036,0x0036,0x0036,0x036,-1 diff --git a/libc/sysv/consts/__NR_ioperm.S b/libc/sysv/consts/__NR_ioperm.S index b8040c4a2c4..8972fa089b8 100644 --- a/libc/sysv/consts/__NR_ioperm.S +++ b/libc/sysv/consts/__NR_ioperm.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ioperm 0x00ad -1 -1 -1 -1 -1 +.syscon nr,__NR_ioperm,0x00ad,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_iopl.S b/libc/sysv/consts/__NR_iopl.S index 1766662ba81..8771f898fa7 100644 --- a/libc/sysv/consts/__NR_iopl.S +++ b/libc/sysv/consts/__NR_iopl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_iopl 0x00ac -1 -1 -1 -1 -1 +.syscon nr,__NR_iopl,0x00ac,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_iopolicysys.S b/libc/sysv/consts/__NR_iopolicysys.S index f3c7bf5b08e..d1443329f39 100644 --- a/libc/sysv/consts/__NR_iopolicysys.S +++ b/libc/sysv/consts/__NR_iopolicysys.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_iopolicysys -1 0x2000142 -1 -1 -1 -1 +.syscon nr,__NR_iopolicysys,-1,0x2000142,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ioprio_get.S b/libc/sysv/consts/__NR_ioprio_get.S index d3d0ee634eb..8fdfb582094 100644 --- a/libc/sysv/consts/__NR_ioprio_get.S +++ b/libc/sysv/consts/__NR_ioprio_get.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ioprio_get 0x00fc -1 -1 -1 -1 -1 +.syscon nr,__NR_ioprio_get,0x00fc,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ioprio_set.S b/libc/sysv/consts/__NR_ioprio_set.S index a4e8cc3ead1..76b36777f27 100644 --- a/libc/sysv/consts/__NR_ioprio_set.S +++ b/libc/sysv/consts/__NR_ioprio_set.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ioprio_set 0x00fb -1 -1 -1 -1 -1 +.syscon nr,__NR_ioprio_set,0x00fb,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_issetugid.S b/libc/sysv/consts/__NR_issetugid.S index b1d9ebfafa1..5844404a302 100644 --- a/libc/sysv/consts/__NR_issetugid.S +++ b/libc/sysv/consts/__NR_issetugid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_issetugid -1 0x2000147 0x00fd 0x00fd -1 -1 +.syscon nr,__NR_issetugid,-1,0x2000147,0x00fd,0x00fd,-1,-1 diff --git a/libc/sysv/consts/__NR_jail.S b/libc/sysv/consts/__NR_jail.S index 8f5be79b830..eb7c6aac4b6 100644 --- a/libc/sysv/consts/__NR_jail.S +++ b/libc/sysv/consts/__NR_jail.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_jail -1 -1 0x0152 -1 -1 -1 +.syscon nr,__NR_jail,-1,-1,0x0152,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_jail_attach.S b/libc/sysv/consts/__NR_jail_attach.S index 61c5235dc38..8497d9bd10f 100644 --- a/libc/sysv/consts/__NR_jail_attach.S +++ b/libc/sysv/consts/__NR_jail_attach.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_jail_attach -1 -1 0x01b4 -1 -1 -1 +.syscon nr,__NR_jail_attach,-1,-1,0x01b4,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_jail_get.S b/libc/sysv/consts/__NR_jail_get.S index fc674fa1620..1164daad088 100644 --- a/libc/sysv/consts/__NR_jail_get.S +++ b/libc/sysv/consts/__NR_jail_get.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_jail_get -1 -1 0x01fa -1 -1 -1 +.syscon nr,__NR_jail_get,-1,-1,0x01fa,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_jail_remove.S b/libc/sysv/consts/__NR_jail_remove.S index c6887f3ee2e..c3a3a5d8eae 100644 --- a/libc/sysv/consts/__NR_jail_remove.S +++ b/libc/sysv/consts/__NR_jail_remove.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_jail_remove -1 -1 0x01fc -1 -1 -1 +.syscon nr,__NR_jail_remove,-1,-1,0x01fc,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_jail_set.S b/libc/sysv/consts/__NR_jail_set.S index cbbcd14884d..c14823f96e1 100644 --- a/libc/sysv/consts/__NR_jail_set.S +++ b/libc/sysv/consts/__NR_jail_set.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_jail_set -1 -1 0x01fb -1 -1 -1 +.syscon nr,__NR_jail_set,-1,-1,0x01fb,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kas_info.S b/libc/sysv/consts/__NR_kas_info.S index ada7f20b897..a5ed7a194bc 100644 --- a/libc/sysv/consts/__NR_kas_info.S +++ b/libc/sysv/consts/__NR_kas_info.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kas_info -1 0x20001b7 -1 -1 -1 -1 +.syscon nr,__NR_kas_info,-1,0x20001b7,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kbind.S b/libc/sysv/consts/__NR_kbind.S index 098166d31b8..919c908000b 100644 --- a/libc/sysv/consts/__NR_kbind.S +++ b/libc/sysv/consts/__NR_kbind.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kbind -1 -1 -1 0x0056 -1 -1 +.syscon nr,__NR_kbind,-1,-1,-1,0x0056,-1,-1 diff --git a/libc/sysv/consts/__NR_kcmp.S b/libc/sysv/consts/__NR_kcmp.S index 39c7909093e..446b883e62e 100644 --- a/libc/sysv/consts/__NR_kcmp.S +++ b/libc/sysv/consts/__NR_kcmp.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kcmp 0x0138 -1 -1 -1 -1 -1 +.syscon nr,__NR_kcmp,0x0138,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kdebug_trace.S b/libc/sysv/consts/__NR_kdebug_trace.S index 066a01a9fb2..62b70b1c495 100644 --- a/libc/sysv/consts/__NR_kdebug_trace.S +++ b/libc/sysv/consts/__NR_kdebug_trace.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kdebug_trace -1 0x20000b3 -1 -1 -1 -1 +.syscon nr,__NR_kdebug_trace,-1,0x20000b3,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kdebug_trace_string.S b/libc/sysv/consts/__NR_kdebug_trace_string.S index 4d6eb563f8a..914156316dd 100644 --- a/libc/sysv/consts/__NR_kdebug_trace_string.S +++ b/libc/sysv/consts/__NR_kdebug_trace_string.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kdebug_trace_string -1 0x20000b2 -1 -1 -1 -1 +.syscon nr,__NR_kdebug_trace_string,-1,0x20000b2,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kdebug_typefilter.S b/libc/sysv/consts/__NR_kdebug_typefilter.S index 5dd066e8c71..26ec0bbc419 100644 --- a/libc/sysv/consts/__NR_kdebug_typefilter.S +++ b/libc/sysv/consts/__NR_kdebug_typefilter.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kdebug_typefilter -1 0x20000b1 -1 -1 -1 -1 +.syscon nr,__NR_kdebug_typefilter,-1,0x20000b1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kenv.S b/libc/sysv/consts/__NR_kenv.S index d5544266329..18b1553702f 100644 --- a/libc/sysv/consts/__NR_kenv.S +++ b/libc/sysv/consts/__NR_kenv.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kenv -1 -1 0x0186 -1 -1 -1 +.syscon nr,__NR_kenv,-1,-1,0x0186,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kevent.S b/libc/sysv/consts/__NR_kevent.S index 9f3a0dc5e02..2736e8b8a76 100644 --- a/libc/sysv/consts/__NR_kevent.S +++ b/libc/sysv/consts/__NR_kevent.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kevent -1 0x2000171 0x0230 0x0048 0x1b3 -1 +.syscon nr,__NR_kevent,-1,0x2000171,0x0230,0x0048,0x1b3,-1 diff --git a/libc/sysv/consts/__NR_kevent_id.S b/libc/sysv/consts/__NR_kevent_id.S index 48d919196a9..f810b559ef5 100644 --- a/libc/sysv/consts/__NR_kevent_id.S +++ b/libc/sysv/consts/__NR_kevent_id.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kevent_id -1 0x2000177 -1 -1 -1 -1 +.syscon nr,__NR_kevent_id,-1,0x2000177,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kevent_qos.S b/libc/sysv/consts/__NR_kevent_qos.S index f65d1b87e45..da028e1964d 100644 --- a/libc/sysv/consts/__NR_kevent_qos.S +++ b/libc/sysv/consts/__NR_kevent_qos.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kevent_qos -1 0x2000176 -1 -1 -1 -1 +.syscon nr,__NR_kevent_qos,-1,0x2000176,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kexec_file_load.S b/libc/sysv/consts/__NR_kexec_file_load.S index 551200a7569..bca054d226b 100644 --- a/libc/sysv/consts/__NR_kexec_file_load.S +++ b/libc/sysv/consts/__NR_kexec_file_load.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kexec_file_load 0x0140 -1 -1 -1 -1 -1 +.syscon nr,__NR_kexec_file_load,0x0140,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kexec_load.S b/libc/sysv/consts/__NR_kexec_load.S index 2e570ee6d69..16d5bc44d00 100644 --- a/libc/sysv/consts/__NR_kexec_load.S +++ b/libc/sysv/consts/__NR_kexec_load.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kexec_load 0x00f6 -1 -1 -1 -1 -1 +.syscon nr,__NR_kexec_load,0x00f6,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_keyctl.S b/libc/sysv/consts/__NR_keyctl.S index 05cdf6fd7c4..d31f9ad665f 100644 --- a/libc/sysv/consts/__NR_keyctl.S +++ b/libc/sysv/consts/__NR_keyctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_keyctl 0x00fa -1 -1 -1 -1 -1 +.syscon nr,__NR_keyctl,0x00fa,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kill.S b/libc/sysv/consts/__NR_kill.S index dfc603ba48d..d493ea914cd 100644 --- a/libc/sysv/consts/__NR_kill.S +++ b/libc/sysv/consts/__NR_kill.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kill 0x003e 0x2000025 0x0025 0x007a 0x025 -1 +.syscon nr,__NR_kill,0x003e,0x2000025,0x0025,0x007a,0x025,-1 diff --git a/libc/sysv/consts/__NR_killpg.S b/libc/sysv/consts/__NR_killpg.S index b707fa06521..005e9e74446 100644 --- a/libc/sysv/consts/__NR_killpg.S +++ b/libc/sysv/consts/__NR_killpg.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_killpg -1 -1 0x0092 -1 -1 -1 +.syscon nr,__NR_killpg,-1,-1,0x0092,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kldfind.S b/libc/sysv/consts/__NR_kldfind.S index d93e8cb70fe..b1ed0aa3ec6 100644 --- a/libc/sysv/consts/__NR_kldfind.S +++ b/libc/sysv/consts/__NR_kldfind.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kldfind -1 -1 0x0132 -1 -1 -1 +.syscon nr,__NR_kldfind,-1,-1,0x0132,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kldfirstmod.S b/libc/sysv/consts/__NR_kldfirstmod.S index 43546bf44dd..52abbd4db30 100644 --- a/libc/sysv/consts/__NR_kldfirstmod.S +++ b/libc/sysv/consts/__NR_kldfirstmod.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kldfirstmod -1 -1 0x0135 -1 -1 -1 +.syscon nr,__NR_kldfirstmod,-1,-1,0x0135,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kldload.S b/libc/sysv/consts/__NR_kldload.S index 244ac50ca9a..6d1fa01d2b5 100644 --- a/libc/sysv/consts/__NR_kldload.S +++ b/libc/sysv/consts/__NR_kldload.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kldload -1 -1 0x0130 -1 -1 -1 +.syscon nr,__NR_kldload,-1,-1,0x0130,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kldnext.S b/libc/sysv/consts/__NR_kldnext.S index 97c7dc7cf49..75067d6d0e2 100644 --- a/libc/sysv/consts/__NR_kldnext.S +++ b/libc/sysv/consts/__NR_kldnext.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kldnext -1 -1 0x0133 -1 -1 -1 +.syscon nr,__NR_kldnext,-1,-1,0x0133,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kldstat.S b/libc/sysv/consts/__NR_kldstat.S index 9f4019b3483..0513dbe9d83 100644 --- a/libc/sysv/consts/__NR_kldstat.S +++ b/libc/sysv/consts/__NR_kldstat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kldstat -1 -1 0x0134 -1 -1 -1 +.syscon nr,__NR_kldstat,-1,-1,0x0134,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kldsym.S b/libc/sysv/consts/__NR_kldsym.S index 8053bebd154..de85d3ff17a 100644 --- a/libc/sysv/consts/__NR_kldsym.S +++ b/libc/sysv/consts/__NR_kldsym.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kldsym -1 -1 0x0151 -1 -1 -1 +.syscon nr,__NR_kldsym,-1,-1,0x0151,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kldunload.S b/libc/sysv/consts/__NR_kldunload.S index 45881e221cd..b8249349c21 100644 --- a/libc/sysv/consts/__NR_kldunload.S +++ b/libc/sysv/consts/__NR_kldunload.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kldunload -1 -1 0x0131 -1 -1 -1 +.syscon nr,__NR_kldunload,-1,-1,0x0131,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kldunloadf.S b/libc/sysv/consts/__NR_kldunloadf.S index 01dda6de020..3d4fc0f3024 100644 --- a/libc/sysv/consts/__NR_kldunloadf.S +++ b/libc/sysv/consts/__NR_kldunloadf.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kldunloadf -1 -1 0x01bc -1 -1 -1 +.syscon nr,__NR_kldunloadf,-1,-1,0x01bc,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kmq_notify.S b/libc/sysv/consts/__NR_kmq_notify.S index 5cf171305ab..1dbf9ebc5f0 100644 --- a/libc/sysv/consts/__NR_kmq_notify.S +++ b/libc/sysv/consts/__NR_kmq_notify.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kmq_notify -1 -1 0x01cd -1 -1 -1 +.syscon nr,__NR_kmq_notify,-1,-1,0x01cd,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kmq_setattr.S b/libc/sysv/consts/__NR_kmq_setattr.S index 302d7696f93..c347559c7f9 100644 --- a/libc/sysv/consts/__NR_kmq_setattr.S +++ b/libc/sysv/consts/__NR_kmq_setattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kmq_setattr -1 -1 0x01ca -1 -1 -1 +.syscon nr,__NR_kmq_setattr,-1,-1,0x01ca,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kmq_timedreceive.S b/libc/sysv/consts/__NR_kmq_timedreceive.S index 96794a6094e..d822e99ebcc 100644 --- a/libc/sysv/consts/__NR_kmq_timedreceive.S +++ b/libc/sysv/consts/__NR_kmq_timedreceive.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kmq_timedreceive -1 -1 0x01cb -1 -1 -1 +.syscon nr,__NR_kmq_timedreceive,-1,-1,0x01cb,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kmq_timedsend.S b/libc/sysv/consts/__NR_kmq_timedsend.S index 5b1b4bed88e..f9f02af3e54 100644 --- a/libc/sysv/consts/__NR_kmq_timedsend.S +++ b/libc/sysv/consts/__NR_kmq_timedsend.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kmq_timedsend -1 -1 0x01cc -1 -1 -1 +.syscon nr,__NR_kmq_timedsend,-1,-1,0x01cc,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kmq_unlink.S b/libc/sysv/consts/__NR_kmq_unlink.S index bea4ed2131f..8fe98b1a81c 100644 --- a/libc/sysv/consts/__NR_kmq_unlink.S +++ b/libc/sysv/consts/__NR_kmq_unlink.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kmq_unlink -1 -1 0x01ce -1 -1 -1 +.syscon nr,__NR_kmq_unlink,-1,-1,0x01ce,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_kqueue.S b/libc/sysv/consts/__NR_kqueue.S index 7203596a5ca..85cb2413078 100644 --- a/libc/sysv/consts/__NR_kqueue.S +++ b/libc/sysv/consts/__NR_kqueue.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_kqueue -1 0x200016a 0x016a 0x010d 0x158 -1 +.syscon nr,__NR_kqueue,-1,0x200016a,0x016a,0x010d,0x158,-1 diff --git a/libc/sysv/consts/__NR_ksem_close.S b/libc/sysv/consts/__NR_ksem_close.S index 22db0f1cf46..271cc5e8523 100644 --- a/libc/sysv/consts/__NR_ksem_close.S +++ b/libc/sysv/consts/__NR_ksem_close.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ksem_close -1 -1 0x0190 -1 -1 -1 +.syscon nr,__NR_ksem_close,-1,-1,0x0190,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ksem_destroy.S b/libc/sysv/consts/__NR_ksem_destroy.S index e62b3a642aa..5d5feb2fbfc 100644 --- a/libc/sysv/consts/__NR_ksem_destroy.S +++ b/libc/sysv/consts/__NR_ksem_destroy.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ksem_destroy -1 -1 0x0198 -1 -1 -1 +.syscon nr,__NR_ksem_destroy,-1,-1,0x0198,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ksem_getvalue.S b/libc/sysv/consts/__NR_ksem_getvalue.S index ef7e8b526d9..9e49a29b44f 100644 --- a/libc/sysv/consts/__NR_ksem_getvalue.S +++ b/libc/sysv/consts/__NR_ksem_getvalue.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ksem_getvalue -1 -1 0x0197 -1 -1 -1 +.syscon nr,__NR_ksem_getvalue,-1,-1,0x0197,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ksem_init.S b/libc/sysv/consts/__NR_ksem_init.S index 8e2085a92e0..5a89eca4581 100644 --- a/libc/sysv/consts/__NR_ksem_init.S +++ b/libc/sysv/consts/__NR_ksem_init.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ksem_init -1 -1 0x0194 -1 -1 -1 +.syscon nr,__NR_ksem_init,-1,-1,0x0194,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ksem_open.S b/libc/sysv/consts/__NR_ksem_open.S index e5287e611e0..dd0523e8968 100644 --- a/libc/sysv/consts/__NR_ksem_open.S +++ b/libc/sysv/consts/__NR_ksem_open.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ksem_open -1 -1 0x0195 -1 -1 -1 +.syscon nr,__NR_ksem_open,-1,-1,0x0195,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ksem_post.S b/libc/sysv/consts/__NR_ksem_post.S index 1ebc6aeb866..8bd2500a0ef 100644 --- a/libc/sysv/consts/__NR_ksem_post.S +++ b/libc/sysv/consts/__NR_ksem_post.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ksem_post -1 -1 0x0191 -1 -1 -1 +.syscon nr,__NR_ksem_post,-1,-1,0x0191,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ksem_timedwait.S b/libc/sysv/consts/__NR_ksem_timedwait.S index 2f35d9a7eaf..ca7d4d9979c 100644 --- a/libc/sysv/consts/__NR_ksem_timedwait.S +++ b/libc/sysv/consts/__NR_ksem_timedwait.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ksem_timedwait -1 -1 0x01b9 -1 -1 -1 +.syscon nr,__NR_ksem_timedwait,-1,-1,0x01b9,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ksem_trywait.S b/libc/sysv/consts/__NR_ksem_trywait.S index 5643b205c13..db6f27f9179 100644 --- a/libc/sysv/consts/__NR_ksem_trywait.S +++ b/libc/sysv/consts/__NR_ksem_trywait.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ksem_trywait -1 -1 0x0193 -1 -1 -1 +.syscon nr,__NR_ksem_trywait,-1,-1,0x0193,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ksem_unlink.S b/libc/sysv/consts/__NR_ksem_unlink.S index 032034f91a5..7a1df5a9973 100644 --- a/libc/sysv/consts/__NR_ksem_unlink.S +++ b/libc/sysv/consts/__NR_ksem_unlink.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ksem_unlink -1 -1 0x0196 -1 -1 -1 +.syscon nr,__NR_ksem_unlink,-1,-1,0x0196,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ksem_wait.S b/libc/sysv/consts/__NR_ksem_wait.S index 5ec336ec3be..f87d5bbefe8 100644 --- a/libc/sysv/consts/__NR_ksem_wait.S +++ b/libc/sysv/consts/__NR_ksem_wait.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ksem_wait -1 -1 0x0192 -1 -1 -1 +.syscon nr,__NR_ksem_wait,-1,-1,0x0192,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ktimer_create.S b/libc/sysv/consts/__NR_ktimer_create.S index 665e595b8f4..f0861b68520 100644 --- a/libc/sysv/consts/__NR_ktimer_create.S +++ b/libc/sysv/consts/__NR_ktimer_create.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ktimer_create -1 -1 0x00eb -1 -1 -1 +.syscon nr,__NR_ktimer_create,-1,-1,0x00eb,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ktimer_delete.S b/libc/sysv/consts/__NR_ktimer_delete.S index d249bc8b222..329f56c9ed6 100644 --- a/libc/sysv/consts/__NR_ktimer_delete.S +++ b/libc/sysv/consts/__NR_ktimer_delete.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ktimer_delete -1 -1 0x00ec -1 -1 -1 +.syscon nr,__NR_ktimer_delete,-1,-1,0x00ec,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ktimer_getoverrun.S b/libc/sysv/consts/__NR_ktimer_getoverrun.S index cf277c4f609..2606a5992df 100644 --- a/libc/sysv/consts/__NR_ktimer_getoverrun.S +++ b/libc/sysv/consts/__NR_ktimer_getoverrun.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ktimer_getoverrun -1 -1 0x00ef -1 -1 -1 +.syscon nr,__NR_ktimer_getoverrun,-1,-1,0x00ef,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ktimer_gettime.S b/libc/sysv/consts/__NR_ktimer_gettime.S index 1ebbb004c3c..ee461a8d90c 100644 --- a/libc/sysv/consts/__NR_ktimer_gettime.S +++ b/libc/sysv/consts/__NR_ktimer_gettime.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ktimer_gettime -1 -1 0x00ee -1 -1 -1 +.syscon nr,__NR_ktimer_gettime,-1,-1,0x00ee,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ktimer_settime.S b/libc/sysv/consts/__NR_ktimer_settime.S index 20e8fb2dd16..f3e6e57e8f8 100644 --- a/libc/sysv/consts/__NR_ktimer_settime.S +++ b/libc/sysv/consts/__NR_ktimer_settime.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ktimer_settime -1 -1 0x00ed -1 -1 -1 +.syscon nr,__NR_ktimer_settime,-1,-1,0x00ed,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ktrace.S b/libc/sysv/consts/__NR_ktrace.S index c93744f4766..f1caddc8cc9 100644 --- a/libc/sysv/consts/__NR_ktrace.S +++ b/libc/sysv/consts/__NR_ktrace.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ktrace -1 -1 0x002d 0x002d 0x02d -1 +.syscon nr,__NR_ktrace,-1,-1,0x002d,0x002d,0x02d,-1 diff --git a/libc/sysv/consts/__NR_lchflags.S b/libc/sysv/consts/__NR_lchflags.S index ae117f2ad10..fb1f1ab3967 100644 --- a/libc/sysv/consts/__NR_lchflags.S +++ b/libc/sysv/consts/__NR_lchflags.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_lchflags -1 -1 0x0187 -1 0x130 -1 +.syscon nr,__NR_lchflags,-1,-1,0x0187,-1,0x130,-1 diff --git a/libc/sysv/consts/__NR_lchmod.S b/libc/sysv/consts/__NR_lchmod.S index 5754a3e3fdb..1ad9e93c3f4 100644 --- a/libc/sysv/consts/__NR_lchmod.S +++ b/libc/sysv/consts/__NR_lchmod.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_lchmod -1 -1 0x0112 -1 0x112 -1 +.syscon nr,__NR_lchmod,-1,-1,0x0112,-1,0x112,-1 diff --git a/libc/sysv/consts/__NR_lchown.S b/libc/sysv/consts/__NR_lchown.S index a22881be129..920888c67db 100644 --- a/libc/sysv/consts/__NR_lchown.S +++ b/libc/sysv/consts/__NR_lchown.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_lchown 0x005e 0x200016c 0x00fe 0x00fe 0x113 -1 +.syscon nr,__NR_lchown,0x005e,0x200016c,0x00fe,0x00fe,0x113,-1 diff --git a/libc/sysv/consts/__NR_ledger.S b/libc/sysv/consts/__NR_ledger.S index 75286cf885b..2b4d3f418f6 100644 --- a/libc/sysv/consts/__NR_ledger.S +++ b/libc/sysv/consts/__NR_ledger.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ledger -1 0x2000175 -1 -1 -1 -1 +.syscon nr,__NR_ledger,-1,0x2000175,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_lgetfh.S b/libc/sysv/consts/__NR_lgetfh.S index 327c752b7b2..22a677ea494 100644 --- a/libc/sysv/consts/__NR_lgetfh.S +++ b/libc/sysv/consts/__NR_lgetfh.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_lgetfh -1 -1 0x00a0 -1 -1 -1 +.syscon nr,__NR_lgetfh,-1,-1,0x00a0,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_lgetxattr.S b/libc/sysv/consts/__NR_lgetxattr.S index b900d3939a1..79eed1e6d8f 100644 --- a/libc/sysv/consts/__NR_lgetxattr.S +++ b/libc/sysv/consts/__NR_lgetxattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_lgetxattr 0x00c0 -1 -1 -1 0x17b -1 +.syscon nr,__NR_lgetxattr,0x00c0,-1,-1,-1,0x17b,-1 diff --git a/libc/sysv/consts/__NR_link.S b/libc/sysv/consts/__NR_link.S index 327e44b2931..30bbb9c3597 100644 --- a/libc/sysv/consts/__NR_link.S +++ b/libc/sysv/consts/__NR_link.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_link 0x0056 0x2000009 0x0009 0x0009 0x009 -1 +.syscon nr,__NR_link,0x0056,0x2000009,0x0009,0x0009,0x009,-1 diff --git a/libc/sysv/consts/__NR_linkat.S b/libc/sysv/consts/__NR_linkat.S index 0dbc81ba4c7..c062898ed01 100644 --- a/libc/sysv/consts/__NR_linkat.S +++ b/libc/sysv/consts/__NR_linkat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_linkat 0x0109 0x20001d7 0x01ef 0x013d 0x1c9 -1 +.syscon nr,__NR_linkat,0x0109,0x20001d7,0x01ef,0x013d,0x1c9,-1 diff --git a/libc/sysv/consts/__NR_lio_listio.S b/libc/sysv/consts/__NR_lio_listio.S index 127536592e9..20739b7d199 100644 --- a/libc/sysv/consts/__NR_lio_listio.S +++ b/libc/sysv/consts/__NR_lio_listio.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_lio_listio -1 0x2000140 0x0140 -1 0x196 -1 +.syscon nr,__NR_lio_listio,-1,0x2000140,0x0140,-1,0x196,-1 diff --git a/libc/sysv/consts/__NR_listen.S b/libc/sysv/consts/__NR_listen.S index 25352734f69..7c7af50442f 100644 --- a/libc/sysv/consts/__NR_listen.S +++ b/libc/sysv/consts/__NR_listen.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_listen 0x0032 0x200006a 0x006a 0x006a 0x06a -1 +.syscon nr,__NR_listen,0x0032,0x200006a,0x006a,0x006a,0x06a,-1 diff --git a/libc/sysv/consts/__NR_listxattr.S b/libc/sysv/consts/__NR_listxattr.S index ee3c9f7bf11..e796bee522b 100644 --- a/libc/sysv/consts/__NR_listxattr.S +++ b/libc/sysv/consts/__NR_listxattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_listxattr 0x00c2 0x20000f0 -1 -1 0x17d -1 +.syscon nr,__NR_listxattr,0x00c2,0x20000f0,-1,-1,0x17d,-1 diff --git a/libc/sysv/consts/__NR_llistxattr.S b/libc/sysv/consts/__NR_llistxattr.S index 7741fa028e7..d1ddd5d0ae0 100644 --- a/libc/sysv/consts/__NR_llistxattr.S +++ b/libc/sysv/consts/__NR_llistxattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_llistxattr 0x00c3 -1 -1 -1 0x17e -1 +.syscon nr,__NR_llistxattr,0x00c3,-1,-1,-1,0x17e,-1 diff --git a/libc/sysv/consts/__NR_lookup_dcookie.S b/libc/sysv/consts/__NR_lookup_dcookie.S index 8b2d08c023a..ee1f0aed311 100644 --- a/libc/sysv/consts/__NR_lookup_dcookie.S +++ b/libc/sysv/consts/__NR_lookup_dcookie.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_lookup_dcookie 0x00d4 -1 -1 -1 -1 -1 +.syscon nr,__NR_lookup_dcookie,0x00d4,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_lpathconf.S b/libc/sysv/consts/__NR_lpathconf.S index 97551517eef..e2fda25ad5f 100644 --- a/libc/sysv/consts/__NR_lpathconf.S +++ b/libc/sysv/consts/__NR_lpathconf.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_lpathconf -1 -1 0x0201 -1 0x1f3 -1 +.syscon nr,__NR_lpathconf,-1,-1,0x0201,-1,0x1f3,-1 diff --git a/libc/sysv/consts/__NR_lremovexattr.S b/libc/sysv/consts/__NR_lremovexattr.S index 58497877909..d9827796822 100644 --- a/libc/sysv/consts/__NR_lremovexattr.S +++ b/libc/sysv/consts/__NR_lremovexattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_lremovexattr 0x00c6 -1 -1 -1 0x181 -1 +.syscon nr,__NR_lremovexattr,0x00c6,-1,-1,-1,0x181,-1 diff --git a/libc/sysv/consts/__NR_lseek.S b/libc/sysv/consts/__NR_lseek.S index b83a29072fa..bdcedb9f72c 100644 --- a/libc/sysv/consts/__NR_lseek.S +++ b/libc/sysv/consts/__NR_lseek.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_lseek 0x0008 0x20000c7 0x01de 0x00c7 0x0c7 -1 +.syscon nr,__NR_lseek,0x0008,0x20000c7,0x01de,0x00c7,0x0c7,-1 diff --git a/libc/sysv/consts/__NR_lsetxattr.S b/libc/sysv/consts/__NR_lsetxattr.S index 4b408fed188..39c8dcbcfc7 100644 --- a/libc/sysv/consts/__NR_lsetxattr.S +++ b/libc/sysv/consts/__NR_lsetxattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_lsetxattr 0x00bd -1 -1 -1 0x178 -1 +.syscon nr,__NR_lsetxattr,0x00bd,-1,-1,-1,0x178,-1 diff --git a/libc/sysv/consts/__NR_lstat.S b/libc/sysv/consts/__NR_lstat.S index 35033c3710d..e4473ca7073 100644 --- a/libc/sysv/consts/__NR_lstat.S +++ b/libc/sysv/consts/__NR_lstat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_lstat 0x0006 0x2000154 0x0028 0x0028 0x1b9 -1 +.syscon nr,__NR_lstat,0x0006,0x2000154,0x0028,0x0028,0x1b9,-1 diff --git a/libc/sysv/consts/__NR_lstat_extended.S b/libc/sysv/consts/__NR_lstat_extended.S index 43cf7805e1d..1821c7beecb 100644 --- a/libc/sysv/consts/__NR_lstat_extended.S +++ b/libc/sysv/consts/__NR_lstat_extended.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_lstat_extended -1 0x2000156 -1 -1 -1 -1 +.syscon nr,__NR_lstat_extended,-1,0x2000156,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_lutimes.S b/libc/sysv/consts/__NR_lutimes.S index 238eaa68c31..3d1784930f7 100644 --- a/libc/sysv/consts/__NR_lutimes.S +++ b/libc/sysv/consts/__NR_lutimes.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_lutimes -1 -1 0x0114 -1 0x1a8 -1 +.syscon nr,__NR_lutimes,-1,-1,0x0114,-1,0x1a8,-1 diff --git a/libc/sysv/consts/__NR_mac_execve.S b/libc/sysv/consts/__NR_mac_execve.S index 928ad9374cb..e04b0649f28 100644 --- a/libc/sysv/consts/__NR_mac_execve.S +++ b/libc/sysv/consts/__NR_mac_execve.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mac_execve -1 0x200017c 0x019f -1 -1 -1 +.syscon nr,__NR_mac_execve,-1,0x200017c,0x019f,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_mac_get_fd.S b/libc/sysv/consts/__NR_mac_get_fd.S index c3750998aec..50de620a264 100644 --- a/libc/sysv/consts/__NR_mac_get_fd.S +++ b/libc/sysv/consts/__NR_mac_get_fd.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mac_get_fd -1 0x2000184 0x0182 -1 -1 -1 +.syscon nr,__NR_mac_get_fd,-1,0x2000184,0x0182,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_mac_get_file.S b/libc/sysv/consts/__NR_mac_get_file.S index ed14ed0c2b7..6f054d4a11b 100644 --- a/libc/sysv/consts/__NR_mac_get_file.S +++ b/libc/sysv/consts/__NR_mac_get_file.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mac_get_file -1 0x200017e 0x0183 -1 -1 -1 +.syscon nr,__NR_mac_get_file,-1,0x200017e,0x0183,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_mac_get_link.S b/libc/sysv/consts/__NR_mac_get_link.S index deb3c5ea2d3..3e71061f42c 100644 --- a/libc/sysv/consts/__NR_mac_get_link.S +++ b/libc/sysv/consts/__NR_mac_get_link.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mac_get_link -1 0x2000180 0x019a -1 -1 -1 +.syscon nr,__NR_mac_get_link,-1,0x2000180,0x019a,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_mac_get_mount.S b/libc/sysv/consts/__NR_mac_get_mount.S index 064a7a4ae30..06574922d84 100644 --- a/libc/sysv/consts/__NR_mac_get_mount.S +++ b/libc/sysv/consts/__NR_mac_get_mount.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mac_get_mount -1 0x20001a9 -1 -1 -1 -1 +.syscon nr,__NR_mac_get_mount,-1,0x20001a9,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_mac_get_pid.S b/libc/sysv/consts/__NR_mac_get_pid.S index 1851a8f8fa7..8cc27682761 100644 --- a/libc/sysv/consts/__NR_mac_get_pid.S +++ b/libc/sysv/consts/__NR_mac_get_pid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mac_get_pid -1 0x2000186 0x0199 -1 -1 -1 +.syscon nr,__NR_mac_get_pid,-1,0x2000186,0x0199,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_mac_get_proc.S b/libc/sysv/consts/__NR_mac_get_proc.S index aed89a4797e..b83b57fd288 100644 --- a/libc/sysv/consts/__NR_mac_get_proc.S +++ b/libc/sysv/consts/__NR_mac_get_proc.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mac_get_proc -1 0x2000182 0x0180 -1 -1 -1 +.syscon nr,__NR_mac_get_proc,-1,0x2000182,0x0180,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_mac_getfsstat.S b/libc/sysv/consts/__NR_mac_getfsstat.S index f66b3204123..e096990e242 100644 --- a/libc/sysv/consts/__NR_mac_getfsstat.S +++ b/libc/sysv/consts/__NR_mac_getfsstat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mac_getfsstat -1 0x20001aa -1 -1 -1 -1 +.syscon nr,__NR_mac_getfsstat,-1,0x20001aa,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_mac_mount.S b/libc/sysv/consts/__NR_mac_mount.S index 13a34e7657a..b5ff17ec2bf 100644 --- a/libc/sysv/consts/__NR_mac_mount.S +++ b/libc/sysv/consts/__NR_mac_mount.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mac_mount -1 0x20001a8 -1 -1 -1 -1 +.syscon nr,__NR_mac_mount,-1,0x20001a8,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_mac_set_fd.S b/libc/sysv/consts/__NR_mac_set_fd.S index cd4cc940c90..57091fb7324 100644 --- a/libc/sysv/consts/__NR_mac_set_fd.S +++ b/libc/sysv/consts/__NR_mac_set_fd.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mac_set_fd -1 0x2000185 0x0184 -1 -1 -1 +.syscon nr,__NR_mac_set_fd,-1,0x2000185,0x0184,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_mac_set_file.S b/libc/sysv/consts/__NR_mac_set_file.S index e298d9559fc..786b82ff2d5 100644 --- a/libc/sysv/consts/__NR_mac_set_file.S +++ b/libc/sysv/consts/__NR_mac_set_file.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mac_set_file -1 0x200017f 0x0185 -1 -1 -1 +.syscon nr,__NR_mac_set_file,-1,0x200017f,0x0185,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_mac_set_link.S b/libc/sysv/consts/__NR_mac_set_link.S index 41ba067b6ea..9f86ede248f 100644 --- a/libc/sysv/consts/__NR_mac_set_link.S +++ b/libc/sysv/consts/__NR_mac_set_link.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mac_set_link -1 0x2000181 0x019b -1 -1 -1 +.syscon nr,__NR_mac_set_link,-1,0x2000181,0x019b,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_mac_set_proc.S b/libc/sysv/consts/__NR_mac_set_proc.S index 4d182f30b99..07c08613c32 100644 --- a/libc/sysv/consts/__NR_mac_set_proc.S +++ b/libc/sysv/consts/__NR_mac_set_proc.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mac_set_proc -1 0x2000183 0x0181 -1 -1 -1 +.syscon nr,__NR_mac_set_proc,-1,0x2000183,0x0181,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_mac_syscall.S b/libc/sysv/consts/__NR_mac_syscall.S index 1ced11c5be1..ae71c0b2a22 100644 --- a/libc/sysv/consts/__NR_mac_syscall.S +++ b/libc/sysv/consts/__NR_mac_syscall.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mac_syscall -1 -1 0x018a -1 -1 -1 +.syscon nr,__NR_mac_syscall,-1,-1,0x018a,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_madvise.S b/libc/sysv/consts/__NR_madvise.S index 7fa995cda05..861efe5777a 100644 --- a/libc/sysv/consts/__NR_madvise.S +++ b/libc/sysv/consts/__NR_madvise.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_madvise 0x001c 0x200004b 0x004b 0x004b 0x04b -1 +.syscon nr,__NR_madvise,0x001c,0x200004b,0x004b,0x004b,0x04b,-1 diff --git a/libc/sysv/consts/__NR_mbind.S b/libc/sysv/consts/__NR_mbind.S index 302a1c1e26c..1d2e6ca742a 100644 --- a/libc/sysv/consts/__NR_mbind.S +++ b/libc/sysv/consts/__NR_mbind.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mbind 0x00ed -1 -1 -1 -1 -1 +.syscon nr,__NR_mbind,0x00ed,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_membarrier.S b/libc/sysv/consts/__NR_membarrier.S index 32b52615c88..9d6d875a2c6 100644 --- a/libc/sysv/consts/__NR_membarrier.S +++ b/libc/sysv/consts/__NR_membarrier.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_membarrier 0x0144 -1 -1 -1 -1 -1 +.syscon nr,__NR_membarrier,0x0144,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_memfd_create.S b/libc/sysv/consts/__NR_memfd_create.S index 6c6e6abf95e..d61489228a7 100644 --- a/libc/sysv/consts/__NR_memfd_create.S +++ b/libc/sysv/consts/__NR_memfd_create.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_memfd_create 0x013f -1 -1 -1 -1 -1 +.syscon nr,__NR_memfd_create,0x013f,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_memorystatus_control.S b/libc/sysv/consts/__NR_memorystatus_control.S index aa3f204427a..ba88d3f9ced 100644 --- a/libc/sysv/consts/__NR_memorystatus_control.S +++ b/libc/sysv/consts/__NR_memorystatus_control.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_memorystatus_control -1 0x20001b8 -1 -1 -1 -1 +.syscon nr,__NR_memorystatus_control,-1,0x20001b8,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_memorystatus_get_level.S b/libc/sysv/consts/__NR_memorystatus_get_level.S index 784794d5f76..c163de22a81 100644 --- a/libc/sysv/consts/__NR_memorystatus_get_level.S +++ b/libc/sysv/consts/__NR_memorystatus_get_level.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_memorystatus_get_level -1 0x20001c5 -1 -1 -1 -1 +.syscon nr,__NR_memorystatus_get_level,-1,0x20001c5,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_microstackshot.S b/libc/sysv/consts/__NR_microstackshot.S index 637ee6f354b..78f42cb0deb 100644 --- a/libc/sysv/consts/__NR_microstackshot.S +++ b/libc/sysv/consts/__NR_microstackshot.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_microstackshot -1 0x20001ec -1 -1 -1 -1 +.syscon nr,__NR_microstackshot,-1,0x20001ec,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_migrate_pages.S b/libc/sysv/consts/__NR_migrate_pages.S index 2b5c45c1538..3ca5c56b3bf 100644 --- a/libc/sysv/consts/__NR_migrate_pages.S +++ b/libc/sysv/consts/__NR_migrate_pages.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_migrate_pages 0x0100 -1 -1 -1 -1 -1 +.syscon nr,__NR_migrate_pages,0x0100,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_mincore.S b/libc/sysv/consts/__NR_mincore.S index 1eb056889e0..1cbd80a372e 100644 --- a/libc/sysv/consts/__NR_mincore.S +++ b/libc/sysv/consts/__NR_mincore.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mincore 0x001b 0x200004e 0x004e 0x004e 0x04e -1 +.syscon nr,__NR_mincore,0x001b,0x200004e,0x004e,0x004e,0x04e,-1 diff --git a/libc/sysv/consts/__NR_minherit.S b/libc/sysv/consts/__NR_minherit.S index 52396f35957..0ea8ea13271 100644 --- a/libc/sysv/consts/__NR_minherit.S +++ b/libc/sysv/consts/__NR_minherit.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_minherit -1 0x20000fa 0x00fa 0x00fa 0x111 -1 +.syscon nr,__NR_minherit,-1,0x20000fa,0x00fa,0x00fa,0x111,-1 diff --git a/libc/sysv/consts/__NR_mkdir.S b/libc/sysv/consts/__NR_mkdir.S index 787d4c423c9..0cbead19607 100644 --- a/libc/sysv/consts/__NR_mkdir.S +++ b/libc/sysv/consts/__NR_mkdir.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mkdir 0x0053 0x2000088 0x0088 0x0088 0x088 -1 +.syscon nr,__NR_mkdir,0x0053,0x2000088,0x0088,0x0088,0x088,-1 diff --git a/libc/sysv/consts/__NR_mkdir_extended.S b/libc/sysv/consts/__NR_mkdir_extended.S index 0e9ae5119e2..812eefd3a86 100644 --- a/libc/sysv/consts/__NR_mkdir_extended.S +++ b/libc/sysv/consts/__NR_mkdir_extended.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mkdir_extended -1 0x2000124 -1 -1 -1 -1 +.syscon nr,__NR_mkdir_extended,-1,0x2000124,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_mkdirat.S b/libc/sysv/consts/__NR_mkdirat.S index 7ec2f051687..8286c2bec8d 100644 --- a/libc/sysv/consts/__NR_mkdirat.S +++ b/libc/sysv/consts/__NR_mkdirat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mkdirat 0x0102 0x20001db 0x01f0 0x013e 0x1cd -1 +.syscon nr,__NR_mkdirat,0x0102,0x20001db,0x01f0,0x013e,0x1cd,-1 diff --git a/libc/sysv/consts/__NR_mkfifo.S b/libc/sysv/consts/__NR_mkfifo.S index df54ef60450..31964a555e3 100644 --- a/libc/sysv/consts/__NR_mkfifo.S +++ b/libc/sysv/consts/__NR_mkfifo.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mkfifo -1 0x2000084 0x0084 0x0084 0x084 -1 +.syscon nr,__NR_mkfifo,-1,0x2000084,0x0084,0x0084,0x084,-1 diff --git a/libc/sysv/consts/__NR_mkfifo_extended.S b/libc/sysv/consts/__NR_mkfifo_extended.S index b509e4227dd..8b3794f1e83 100644 --- a/libc/sysv/consts/__NR_mkfifo_extended.S +++ b/libc/sysv/consts/__NR_mkfifo_extended.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mkfifo_extended -1 0x2000123 -1 -1 -1 -1 +.syscon nr,__NR_mkfifo_extended,-1,0x2000123,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_mkfifoat.S b/libc/sysv/consts/__NR_mkfifoat.S index 37bff94e288..b0f7aea8d01 100644 --- a/libc/sysv/consts/__NR_mkfifoat.S +++ b/libc/sysv/consts/__NR_mkfifoat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mkfifoat -1 -1 0x01f1 0x013f 0x1cb -1 +.syscon nr,__NR_mkfifoat,-1,-1,0x01f1,0x013f,0x1cb,-1 diff --git a/libc/sysv/consts/__NR_mknod.S b/libc/sysv/consts/__NR_mknod.S index 64a565b4e00..2de1a3e38f4 100644 --- a/libc/sysv/consts/__NR_mknod.S +++ b/libc/sysv/consts/__NR_mknod.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mknod 0x0085 0x200000e 0x000e 0x000e 0x1c2 -1 +.syscon nr,__NR_mknod,0x0085,0x200000e,0x000e,0x000e,0x1c2,-1 diff --git a/libc/sysv/consts/__NR_mknodat.S b/libc/sysv/consts/__NR_mknodat.S index 0f451a716c7..eb0a2df06ab 100644 --- a/libc/sysv/consts/__NR_mknodat.S +++ b/libc/sysv/consts/__NR_mknodat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mknodat 0x0103 -1 0x22ff 0x0140 0x1cc -1 +.syscon nr,__NR_mknodat,0x0103,-1,0x22ff,0x0140,0x1cc,-1 diff --git a/libc/sysv/consts/__NR_mlock.S b/libc/sysv/consts/__NR_mlock.S index 94956ece24f..fa9476dd7b7 100644 --- a/libc/sysv/consts/__NR_mlock.S +++ b/libc/sysv/consts/__NR_mlock.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mlock 0x0095 0x20000cb 0x00cb 0x00cb 0x0cb -1 +.syscon nr,__NR_mlock,0x0095,0x20000cb,0x00cb,0x00cb,0x0cb,-1 diff --git a/libc/sysv/consts/__NR_mlock2.S b/libc/sysv/consts/__NR_mlock2.S index f60678510e1..bb696c569f4 100644 --- a/libc/sysv/consts/__NR_mlock2.S +++ b/libc/sysv/consts/__NR_mlock2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mlock2 0x0145 -1 -1 -1 -1 -1 +.syscon nr,__NR_mlock2,0x0145,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_mlockall.S b/libc/sysv/consts/__NR_mlockall.S index e9704eda476..737c731420a 100644 --- a/libc/sysv/consts/__NR_mlockall.S +++ b/libc/sysv/consts/__NR_mlockall.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mlockall 0x0097 0x2000144 0x0144 0x010f 0x0f2 -1 +.syscon nr,__NR_mlockall,0x0097,0x2000144,0x0144,0x010f,0x0f2,-1 diff --git a/libc/sysv/consts/__NR_mmap.S b/libc/sysv/consts/__NR_mmap.S index 8d2c1c0bdf0..6639ed4b961 100644 --- a/libc/sysv/consts/__NR_mmap.S +++ b/libc/sysv/consts/__NR_mmap.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mmap 0x0009 0x20000c5 0x01dd 0x00c5 0x0c5 -1 +.syscon nr,__NR_mmap,0x0009,0x20000c5,0x01dd,0x00c5,0x0c5,-1 diff --git a/libc/sysv/consts/__NR_modfind.S b/libc/sysv/consts/__NR_modfind.S index 0db9f8627d4..47f7cdd8dbb 100644 --- a/libc/sysv/consts/__NR_modfind.S +++ b/libc/sysv/consts/__NR_modfind.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_modfind -1 -1 0x012f -1 -1 -1 +.syscon nr,__NR_modfind,-1,-1,0x012f,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_modfnext.S b/libc/sysv/consts/__NR_modfnext.S index 9d3c17a0722..7edf6180d2c 100644 --- a/libc/sysv/consts/__NR_modfnext.S +++ b/libc/sysv/consts/__NR_modfnext.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_modfnext -1 -1 0x012e -1 -1 -1 +.syscon nr,__NR_modfnext,-1,-1,0x012e,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_modify_ldt.S b/libc/sysv/consts/__NR_modify_ldt.S index 5ba0e05d6a5..c05ef83a395 100644 --- a/libc/sysv/consts/__NR_modify_ldt.S +++ b/libc/sysv/consts/__NR_modify_ldt.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_modify_ldt 0x009a -1 -1 -1 -1 -1 +.syscon nr,__NR_modify_ldt,0x009a,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_modnext.S b/libc/sysv/consts/__NR_modnext.S index bec91f74478..03f7dde9201 100644 --- a/libc/sysv/consts/__NR_modnext.S +++ b/libc/sysv/consts/__NR_modnext.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_modnext -1 -1 0x012c -1 -1 -1 +.syscon nr,__NR_modnext,-1,-1,0x012c,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_modstat.S b/libc/sysv/consts/__NR_modstat.S index c1d4226a746..8c4baf877e3 100644 --- a/libc/sysv/consts/__NR_modstat.S +++ b/libc/sysv/consts/__NR_modstat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_modstat -1 -1 0x012d -1 -1 -1 +.syscon nr,__NR_modstat,-1,-1,0x012d,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_modwatch.S b/libc/sysv/consts/__NR_modwatch.S index e4784995dcb..6cc2cfe8015 100644 --- a/libc/sysv/consts/__NR_modwatch.S +++ b/libc/sysv/consts/__NR_modwatch.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_modwatch -1 0x20000e9 -1 -1 -1 -1 +.syscon nr,__NR_modwatch,-1,0x20000e9,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_mount.S b/libc/sysv/consts/__NR_mount.S index 71f11c755fa..77e266a999a 100644 --- a/libc/sysv/consts/__NR_mount.S +++ b/libc/sysv/consts/__NR_mount.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mount 0x00a5 0x20000a7 0x0015 0x0015 0x19a -1 +.syscon nr,__NR_mount,0x00a5,0x20000a7,0x0015,0x0015,0x19a,-1 diff --git a/libc/sysv/consts/__NR_move_pages.S b/libc/sysv/consts/__NR_move_pages.S index 57ffc9a42ee..7e65f3ad20b 100644 --- a/libc/sysv/consts/__NR_move_pages.S +++ b/libc/sysv/consts/__NR_move_pages.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_move_pages 0x0117 -1 -1 -1 -1 -1 +.syscon nr,__NR_move_pages,0x0117,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_mprotect.S b/libc/sysv/consts/__NR_mprotect.S index 557b38d56e8..a8bb15a9b2a 100644 --- a/libc/sysv/consts/__NR_mprotect.S +++ b/libc/sysv/consts/__NR_mprotect.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mprotect 0x000a 0x200004a 0x004a 0x004a 0x04a -1 +.syscon nr,__NR_mprotect,0x000a,0x200004a,0x004a,0x004a,0x04a,-1 diff --git a/libc/sysv/consts/__NR_mq_getsetattr.S b/libc/sysv/consts/__NR_mq_getsetattr.S index 7a4dc4f91bf..155c2e26c22 100644 --- a/libc/sysv/consts/__NR_mq_getsetattr.S +++ b/libc/sysv/consts/__NR_mq_getsetattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mq_getsetattr 0x00f5 -1 -1 -1 -1 -1 +.syscon nr,__NR_mq_getsetattr,0x00f5,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_mq_notify.S b/libc/sysv/consts/__NR_mq_notify.S index 4f31a2ee390..4a6f98b158a 100644 --- a/libc/sysv/consts/__NR_mq_notify.S +++ b/libc/sysv/consts/__NR_mq_notify.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mq_notify 0x00f4 -1 -1 -1 0x106 -1 +.syscon nr,__NR_mq_notify,0x00f4,-1,-1,-1,0x106,-1 diff --git a/libc/sysv/consts/__NR_mq_open.S b/libc/sysv/consts/__NR_mq_open.S index e8e2d8840f6..e7260d6dc31 100644 --- a/libc/sysv/consts/__NR_mq_open.S +++ b/libc/sysv/consts/__NR_mq_open.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mq_open 0x00f0 -1 -1 -1 0x101 -1 +.syscon nr,__NR_mq_open,0x00f0,-1,-1,-1,0x101,-1 diff --git a/libc/sysv/consts/__NR_mq_timedreceive.S b/libc/sysv/consts/__NR_mq_timedreceive.S index 3142dac47e4..79bf57a853e 100644 --- a/libc/sysv/consts/__NR_mq_timedreceive.S +++ b/libc/sysv/consts/__NR_mq_timedreceive.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mq_timedreceive 0x00f3 -1 -1 -1 0x1b1 -1 +.syscon nr,__NR_mq_timedreceive,0x00f3,-1,-1,-1,0x1b1,-1 diff --git a/libc/sysv/consts/__NR_mq_timedsend.S b/libc/sysv/consts/__NR_mq_timedsend.S index a6a5d2cef29..ad730a5be04 100644 --- a/libc/sysv/consts/__NR_mq_timedsend.S +++ b/libc/sysv/consts/__NR_mq_timedsend.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mq_timedsend 0x00f2 -1 -1 -1 0x1b0 -1 +.syscon nr,__NR_mq_timedsend,0x00f2,-1,-1,-1,0x1b0,-1 diff --git a/libc/sysv/consts/__NR_mq_unlink.S b/libc/sysv/consts/__NR_mq_unlink.S index 06b0fd3b187..66e9e6101e5 100644 --- a/libc/sysv/consts/__NR_mq_unlink.S +++ b/libc/sysv/consts/__NR_mq_unlink.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mq_unlink 0x00f1 -1 -1 -1 0x103 -1 +.syscon nr,__NR_mq_unlink,0x00f1,-1,-1,-1,0x103,-1 diff --git a/libc/sysv/consts/__NR_mquery.S b/libc/sysv/consts/__NR_mquery.S index e16a4974e01..252e3952bbc 100644 --- a/libc/sysv/consts/__NR_mquery.S +++ b/libc/sysv/consts/__NR_mquery.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mquery -1 -1 -1 0x011e -1 -1 +.syscon nr,__NR_mquery,-1,-1,-1,0x011e,-1,-1 diff --git a/libc/sysv/consts/__NR_mremap.S b/libc/sysv/consts/__NR_mremap.S index 7d9c6c9f000..1d92be5d2c8 100644 --- a/libc/sysv/consts/__NR_mremap.S +++ b/libc/sysv/consts/__NR_mremap.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mremap 0x0019 -1 -1 -1 0x19b -1 +.syscon nr,__NR_mremap,0x0019,-1,-1,-1,0x19b,-1 diff --git a/libc/sysv/consts/__NR_mremap_encrypted.S b/libc/sysv/consts/__NR_mremap_encrypted.S index 35286b02680..2c90506d417 100644 --- a/libc/sysv/consts/__NR_mremap_encrypted.S +++ b/libc/sysv/consts/__NR_mremap_encrypted.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_mremap_encrypted -1 0x20001e9 -1 -1 -1 -1 +.syscon nr,__NR_mremap_encrypted,-1,0x20001e9,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_msgctl.S b/libc/sysv/consts/__NR_msgctl.S index 88245b67acb..39326260956 100644 --- a/libc/sysv/consts/__NR_msgctl.S +++ b/libc/sysv/consts/__NR_msgctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_msgctl 0x0047 0x2000102 0x01ff 0x0129 0x1bc -1 +.syscon nr,__NR_msgctl,0x0047,0x2000102,0x01ff,0x0129,0x1bc,-1 diff --git a/libc/sysv/consts/__NR_msgget.S b/libc/sysv/consts/__NR_msgget.S index ca9d2a0d7e3..064ca2dc672 100644 --- a/libc/sysv/consts/__NR_msgget.S +++ b/libc/sysv/consts/__NR_msgget.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_msgget 0x0044 0x2000103 0x00e1 0x00e1 0x0e1 -1 +.syscon nr,__NR_msgget,0x0044,0x2000103,0x00e1,0x00e1,0x0e1,-1 diff --git a/libc/sysv/consts/__NR_msgrcv.S b/libc/sysv/consts/__NR_msgrcv.S index 6defc0f8331..efd4262ef85 100644 --- a/libc/sysv/consts/__NR_msgrcv.S +++ b/libc/sysv/consts/__NR_msgrcv.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_msgrcv 0x0046 0x2000105 0x00e3 0x00e3 0x0e3 -1 +.syscon nr,__NR_msgrcv,0x0046,0x2000105,0x00e3,0x00e3,0x0e3,-1 diff --git a/libc/sysv/consts/__NR_msgrcv_nocancel.S b/libc/sysv/consts/__NR_msgrcv_nocancel.S index ef054888b79..909d4f0b2c9 100644 --- a/libc/sysv/consts/__NR_msgrcv_nocancel.S +++ b/libc/sysv/consts/__NR_msgrcv_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_msgrcv_nocancel -1 0x20001a3 -1 -1 -1 -1 +.syscon nr,__NR_msgrcv_nocancel,-1,0x20001a3,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_msgsnd.S b/libc/sysv/consts/__NR_msgsnd.S index cd3283bfc36..1b0f56b053b 100644 --- a/libc/sysv/consts/__NR_msgsnd.S +++ b/libc/sysv/consts/__NR_msgsnd.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_msgsnd 0x0045 0x2000104 0x00e2 0x00e2 0x0e2 -1 +.syscon nr,__NR_msgsnd,0x0045,0x2000104,0x00e2,0x00e2,0x0e2,-1 diff --git a/libc/sysv/consts/__NR_msgsnd_nocancel.S b/libc/sysv/consts/__NR_msgsnd_nocancel.S index ee3fa0a720f..50e6ff8ea3a 100644 --- a/libc/sysv/consts/__NR_msgsnd_nocancel.S +++ b/libc/sysv/consts/__NR_msgsnd_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_msgsnd_nocancel -1 0x20001a2 -1 -1 -1 -1 +.syscon nr,__NR_msgsnd_nocancel,-1,0x20001a2,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_msgsys.S b/libc/sysv/consts/__NR_msgsys.S index 27c5f67bcb6..391448fda79 100644 --- a/libc/sysv/consts/__NR_msgsys.S +++ b/libc/sysv/consts/__NR_msgsys.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_msgsys -1 0x20000fc 0x00aa -1 -1 -1 +.syscon nr,__NR_msgsys,-1,0x20000fc,0x00aa,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_msync.S b/libc/sysv/consts/__NR_msync.S index 1124045b1d6..501c2193704 100644 --- a/libc/sysv/consts/__NR_msync.S +++ b/libc/sysv/consts/__NR_msync.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_msync 0x001a 0x2000041 0x0041 0x0100 0x115 -1 +.syscon nr,__NR_msync,0x001a,0x2000041,0x0041,0x0100,0x115,-1 diff --git a/libc/sysv/consts/__NR_msync_nocancel.S b/libc/sysv/consts/__NR_msync_nocancel.S index 0972b42917d..8c37e77b270 100644 --- a/libc/sysv/consts/__NR_msync_nocancel.S +++ b/libc/sysv/consts/__NR_msync_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_msync_nocancel -1 0x2000195 -1 -1 -1 -1 +.syscon nr,__NR_msync_nocancel,-1,0x2000195,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_msyscall.S b/libc/sysv/consts/__NR_msyscall.S index 8d637fa0b76..959606ec005 100644 --- a/libc/sysv/consts/__NR_msyscall.S +++ b/libc/sysv/consts/__NR_msyscall.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_msyscall -1 -1 -1 0x0025 -1 -1 +.syscon nr,__NR_msyscall,-1,-1,-1,0x0025,-1,-1 diff --git a/libc/sysv/consts/__NR_munlock.S b/libc/sysv/consts/__NR_munlock.S index c3c1e79de53..c24a2942c55 100644 --- a/libc/sysv/consts/__NR_munlock.S +++ b/libc/sysv/consts/__NR_munlock.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_munlock 0x0096 0x20000cc 0x00cc 0x00cc 0x0cc -1 +.syscon nr,__NR_munlock,0x0096,0x20000cc,0x00cc,0x00cc,0x0cc,-1 diff --git a/libc/sysv/consts/__NR_munlockall.S b/libc/sysv/consts/__NR_munlockall.S index d8d5f2e375d..030d1507c2e 100644 --- a/libc/sysv/consts/__NR_munlockall.S +++ b/libc/sysv/consts/__NR_munlockall.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_munlockall 0x0098 0x2000145 0x0145 0x0110 0x0f3 -1 +.syscon nr,__NR_munlockall,0x0098,0x2000145,0x0145,0x0110,0x0f3,-1 diff --git a/libc/sysv/consts/__NR_munmap.S b/libc/sysv/consts/__NR_munmap.S index 44d959d1853..46c51b9d786 100644 --- a/libc/sysv/consts/__NR_munmap.S +++ b/libc/sysv/consts/__NR_munmap.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_munmap 0x000b 0x2000049 0x0049 0x0049 0x049 -1 +.syscon nr,__NR_munmap,0x000b,0x2000049,0x0049,0x0049,0x049,-1 diff --git a/libc/sysv/consts/__NR_name_to_handle_at.S b/libc/sysv/consts/__NR_name_to_handle_at.S index a5536438999..373bea030ce 100644 --- a/libc/sysv/consts/__NR_name_to_handle_at.S +++ b/libc/sysv/consts/__NR_name_to_handle_at.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_name_to_handle_at 0x012f -1 -1 -1 -1 -1 +.syscon nr,__NR_name_to_handle_at,0x012f,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_nanosleep.S b/libc/sysv/consts/__NR_nanosleep.S index a7a57c76434..b06e38e3d38 100644 --- a/libc/sysv/consts/__NR_nanosleep.S +++ b/libc/sysv/consts/__NR_nanosleep.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_nanosleep 0x0023 -1 0x00f0 0x005b 0x1ae -1 +.syscon nr,__NR_nanosleep,0x0023,-1,0x00f0,0x005b,0x1ae,-1 diff --git a/libc/sysv/consts/__NR_necp_client_action.S b/libc/sysv/consts/__NR_necp_client_action.S index 700a1230731..600ae781e02 100644 --- a/libc/sysv/consts/__NR_necp_client_action.S +++ b/libc/sysv/consts/__NR_necp_client_action.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_necp_client_action -1 0x20001f6 -1 -1 -1 -1 +.syscon nr,__NR_necp_client_action,-1,0x20001f6,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_necp_match_policy.S b/libc/sysv/consts/__NR_necp_match_policy.S index ce45a600d4b..35c028e4763 100644 --- a/libc/sysv/consts/__NR_necp_match_policy.S +++ b/libc/sysv/consts/__NR_necp_match_policy.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_necp_match_policy -1 0x20001cc -1 -1 -1 -1 +.syscon nr,__NR_necp_match_policy,-1,0x20001cc,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_necp_open.S b/libc/sysv/consts/__NR_necp_open.S index 4c7c50a8327..e3beaf9e3f7 100644 --- a/libc/sysv/consts/__NR_necp_open.S +++ b/libc/sysv/consts/__NR_necp_open.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_necp_open -1 0x20001f5 -1 -1 -1 -1 +.syscon nr,__NR_necp_open,-1,0x20001f5,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_necp_session_action.S b/libc/sysv/consts/__NR_necp_session_action.S index ce17774e056..5ae394ab83f 100644 --- a/libc/sysv/consts/__NR_necp_session_action.S +++ b/libc/sysv/consts/__NR_necp_session_action.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_necp_session_action -1 0x200020b -1 -1 -1 -1 +.syscon nr,__NR_necp_session_action,-1,0x200020b,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_necp_session_open.S b/libc/sysv/consts/__NR_necp_session_open.S index 609b79540bf..5711f58a162 100644 --- a/libc/sysv/consts/__NR_necp_session_open.S +++ b/libc/sysv/consts/__NR_necp_session_open.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_necp_session_open -1 0x200020a -1 -1 -1 -1 +.syscon nr,__NR_necp_session_open,-1,0x200020a,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_net_qos_guideline.S b/libc/sysv/consts/__NR_net_qos_guideline.S index a2176d32f26..c76084fdbe4 100644 --- a/libc/sysv/consts/__NR_net_qos_guideline.S +++ b/libc/sysv/consts/__NR_net_qos_guideline.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_net_qos_guideline -1 0x200020d -1 -1 -1 -1 +.syscon nr,__NR_net_qos_guideline,-1,0x200020d,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_netagent_trigger.S b/libc/sysv/consts/__NR_netagent_trigger.S index cbb5d3554aa..f4a346dd0d7 100644 --- a/libc/sysv/consts/__NR_netagent_trigger.S +++ b/libc/sysv/consts/__NR_netagent_trigger.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_netagent_trigger -1 0x20001ea -1 -1 -1 -1 +.syscon nr,__NR_netagent_trigger,-1,0x20001ea,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_nfsclnt.S b/libc/sysv/consts/__NR_nfsclnt.S index d671875898d..0f22ef67eb8 100644 --- a/libc/sysv/consts/__NR_nfsclnt.S +++ b/libc/sysv/consts/__NR_nfsclnt.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_nfsclnt -1 0x20000f7 -1 -1 -1 -1 +.syscon nr,__NR_nfsclnt,-1,0x20000f7,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_nfssvc.S b/libc/sysv/consts/__NR_nfssvc.S index eb887127ca2..67af597a021 100644 --- a/libc/sysv/consts/__NR_nfssvc.S +++ b/libc/sysv/consts/__NR_nfssvc.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_nfssvc -1 0x200009b 0x009b 0x009b 0x09b -1 +.syscon nr,__NR_nfssvc,-1,0x200009b,0x009b,0x009b,0x09b,-1 diff --git a/libc/sysv/consts/__NR_nfstat.S b/libc/sysv/consts/__NR_nfstat.S index 6783a218d4f..303c8389453 100644 --- a/libc/sysv/consts/__NR_nfstat.S +++ b/libc/sysv/consts/__NR_nfstat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_nfstat -1 -1 0x0117 -1 -1 -1 +.syscon nr,__NR_nfstat,-1,-1,0x0117,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_nlm_syscall.S b/libc/sysv/consts/__NR_nlm_syscall.S index 011cb315bd5..03b79c7e913 100644 --- a/libc/sysv/consts/__NR_nlm_syscall.S +++ b/libc/sysv/consts/__NR_nlm_syscall.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_nlm_syscall -1 -1 0x009a -1 -1 -1 +.syscon nr,__NR_nlm_syscall,-1,-1,0x009a,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_nlstat.S b/libc/sysv/consts/__NR_nlstat.S index 63e3de2be5a..b57c4b00d3b 100644 --- a/libc/sysv/consts/__NR_nlstat.S +++ b/libc/sysv/consts/__NR_nlstat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_nlstat -1 -1 0x0118 -1 -1 -1 +.syscon nr,__NR_nlstat,-1,-1,0x0118,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_nmount.S b/libc/sysv/consts/__NR_nmount.S index 585fe1f7bf8..ef0b01a3f1c 100644 --- a/libc/sysv/consts/__NR_nmount.S +++ b/libc/sysv/consts/__NR_nmount.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_nmount -1 -1 0x017a -1 -1 -1 +.syscon nr,__NR_nmount,-1,-1,0x017a,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_nnpfs_syscall.S b/libc/sysv/consts/__NR_nnpfs_syscall.S index 618cac7fcd2..8e4ca1c826e 100644 --- a/libc/sysv/consts/__NR_nnpfs_syscall.S +++ b/libc/sysv/consts/__NR_nnpfs_syscall.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_nnpfs_syscall -1 -1 0x0153 -1 -1 -1 +.syscon nr,__NR_nnpfs_syscall,-1,-1,0x0153,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_nstat.S b/libc/sysv/consts/__NR_nstat.S index 19a1a67fc12..a7afad15326 100644 --- a/libc/sysv/consts/__NR_nstat.S +++ b/libc/sysv/consts/__NR_nstat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_nstat -1 -1 0x0116 -1 -1 -1 +.syscon nr,__NR_nstat,-1,-1,0x0116,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ntp_adjtime.S b/libc/sysv/consts/__NR_ntp_adjtime.S index fc20bbe6584..2d6db663f73 100644 --- a/libc/sysv/consts/__NR_ntp_adjtime.S +++ b/libc/sysv/consts/__NR_ntp_adjtime.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ntp_adjtime -1 0x200020f 0x00b0 -1 0x0b0 -1 +.syscon nr,__NR_ntp_adjtime,-1,0x200020f,0x00b0,-1,0x0b0,-1 diff --git a/libc/sysv/consts/__NR_ntp_gettime.S b/libc/sysv/consts/__NR_ntp_gettime.S index 6b04eb28490..64698f39440 100644 --- a/libc/sysv/consts/__NR_ntp_gettime.S +++ b/libc/sysv/consts/__NR_ntp_gettime.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ntp_gettime -1 0x2000210 0x00f8 -1 0x1c0 -1 +.syscon nr,__NR_ntp_gettime,-1,0x2000210,0x00f8,-1,0x1c0,-1 diff --git a/libc/sysv/consts/__NR_obreak.S b/libc/sysv/consts/__NR_obreak.S index fb3464d177d..40ee5e678e5 100644 --- a/libc/sysv/consts/__NR_obreak.S +++ b/libc/sysv/consts/__NR_obreak.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_obreak -1 -1 -1 0x0011 0x011 -1 +.syscon nr,__NR_obreak,-1,-1,-1,0x0011,0x011,-1 diff --git a/libc/sysv/consts/__NR_old_semwait_signal.S b/libc/sysv/consts/__NR_old_semwait_signal.S index 02122159760..396c2402f03 100644 --- a/libc/sysv/consts/__NR_old_semwait_signal.S +++ b/libc/sysv/consts/__NR_old_semwait_signal.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_old_semwait_signal -1 0x2000172 -1 -1 -1 -1 +.syscon nr,__NR_old_semwait_signal,-1,0x2000172,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_old_semwait_signal_nocancel.S b/libc/sysv/consts/__NR_old_semwait_signal_nocancel.S index bd552c8a231..7527589aafe 100644 --- a/libc/sysv/consts/__NR_old_semwait_signal_nocancel.S +++ b/libc/sysv/consts/__NR_old_semwait_signal_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_old_semwait_signal_nocancel -1 0x2000173 -1 -1 -1 -1 +.syscon nr,__NR_old_semwait_signal_nocancel,-1,0x2000173,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_open.S b/libc/sysv/consts/__NR_open.S index 127d89978ef..bfaae846f23 100644 --- a/libc/sysv/consts/__NR_open.S +++ b/libc/sysv/consts/__NR_open.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_open 0x0002 0x2000005 0x0005 0x0005 0x005 -1 +.syscon nr,__NR_open,0x0002,0x2000005,0x0005,0x0005,0x005,-1 diff --git a/libc/sysv/consts/__NR_open_by_handle_at.S b/libc/sysv/consts/__NR_open_by_handle_at.S index 4dec8125b15..807468aa4d1 100644 --- a/libc/sysv/consts/__NR_open_by_handle_at.S +++ b/libc/sysv/consts/__NR_open_by_handle_at.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_open_by_handle_at 0x0130 -1 -1 -1 -1 -1 +.syscon nr,__NR_open_by_handle_at,0x0130,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_open_dprotected_np.S b/libc/sysv/consts/__NR_open_dprotected_np.S index 8707f06e685..24414ed5c26 100644 --- a/libc/sysv/consts/__NR_open_dprotected_np.S +++ b/libc/sysv/consts/__NR_open_dprotected_np.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_open_dprotected_np -1 0x20000d8 -1 -1 -1 -1 +.syscon nr,__NR_open_dprotected_np,-1,0x20000d8,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_open_extended.S b/libc/sysv/consts/__NR_open_extended.S index d5c7da362a3..47287c8fa7c 100644 --- a/libc/sysv/consts/__NR_open_extended.S +++ b/libc/sysv/consts/__NR_open_extended.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_open_extended -1 0x2000115 -1 -1 -1 -1 +.syscon nr,__NR_open_extended,-1,0x2000115,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_open_nocancel.S b/libc/sysv/consts/__NR_open_nocancel.S index b8e13812bd4..0bf6d17e5d6 100644 --- a/libc/sysv/consts/__NR_open_nocancel.S +++ b/libc/sysv/consts/__NR_open_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_open_nocancel -1 0x200018e -1 -1 -1 -1 +.syscon nr,__NR_open_nocancel,-1,0x200018e,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_openat.S b/libc/sysv/consts/__NR_openat.S index ccd14e0f9f5..763f2389acb 100644 --- a/libc/sysv/consts/__NR_openat.S +++ b/libc/sysv/consts/__NR_openat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_openat 0x0101 0x20001cf 0x01f3 0x0141 0x1d4 -1 +.syscon nr,__NR_openat,0x0101,0x20001cf,0x01f3,0x0141,0x1d4,-1 diff --git a/libc/sysv/consts/__NR_openat_nocancel.S b/libc/sysv/consts/__NR_openat_nocancel.S index 2c78b7581d2..c12bd75ea63 100644 --- a/libc/sysv/consts/__NR_openat_nocancel.S +++ b/libc/sysv/consts/__NR_openat_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_openat_nocancel -1 0x20001d0 -1 -1 -1 -1 +.syscon nr,__NR_openat_nocancel,-1,0x20001d0,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_openbyid_np.S b/libc/sysv/consts/__NR_openbyid_np.S index 7f2d63a882e..8f23274b795 100644 --- a/libc/sysv/consts/__NR_openbyid_np.S +++ b/libc/sysv/consts/__NR_openbyid_np.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_openbyid_np -1 0x20001df -1 -1 -1 -1 +.syscon nr,__NR_openbyid_np,-1,0x20001df,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_os_fault_with_payload.S b/libc/sysv/consts/__NR_os_fault_with_payload.S index 39066aafa76..80bde9450f8 100644 --- a/libc/sysv/consts/__NR_os_fault_with_payload.S +++ b/libc/sysv/consts/__NR_os_fault_with_payload.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_os_fault_with_payload -1 0x2000211 -1 -1 -1 -1 +.syscon nr,__NR_os_fault_with_payload,-1,0x2000211,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pathconf.S b/libc/sysv/consts/__NR_pathconf.S index 0b71f414820..63b230906f0 100644 --- a/libc/sysv/consts/__NR_pathconf.S +++ b/libc/sysv/consts/__NR_pathconf.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pathconf -1 0x20000bf 0x00bf 0x00bf 0x0bf -1 +.syscon nr,__NR_pathconf,-1,0x20000bf,0x00bf,0x00bf,0x0bf,-1 diff --git a/libc/sysv/consts/__NR_pause.S b/libc/sysv/consts/__NR_pause.S index 4b8afbf7aab..2a3d4329400 100644 --- a/libc/sysv/consts/__NR_pause.S +++ b/libc/sysv/consts/__NR_pause.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pause 0x0022 -1 -1 -1 -1 -1 +.syscon nr,__NR_pause,0x0022,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pdfork.S b/libc/sysv/consts/__NR_pdfork.S index 6db5bab3a35..0dabfcf3236 100644 --- a/libc/sysv/consts/__NR_pdfork.S +++ b/libc/sysv/consts/__NR_pdfork.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pdfork -1 -1 0x0206 -1 -1 -1 +.syscon nr,__NR_pdfork,-1,-1,0x0206,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pdgetpid.S b/libc/sysv/consts/__NR_pdgetpid.S index 9e103e3b823..62f7e67df2a 100644 --- a/libc/sysv/consts/__NR_pdgetpid.S +++ b/libc/sysv/consts/__NR_pdgetpid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pdgetpid -1 -1 0x0208 -1 -1 -1 +.syscon nr,__NR_pdgetpid,-1,-1,0x0208,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pdkill.S b/libc/sysv/consts/__NR_pdkill.S index bb3eb668c6f..8880e82d4b1 100644 --- a/libc/sysv/consts/__NR_pdkill.S +++ b/libc/sysv/consts/__NR_pdkill.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pdkill -1 -1 0x0207 -1 -1 -1 +.syscon nr,__NR_pdkill,-1,-1,0x0207,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_peeloff.S b/libc/sysv/consts/__NR_peeloff.S index 5cae946d08b..b0275db17af 100644 --- a/libc/sysv/consts/__NR_peeloff.S +++ b/libc/sysv/consts/__NR_peeloff.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_peeloff -1 0x20001c1 -1 -1 -1 -1 +.syscon nr,__NR_peeloff,-1,0x20001c1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_perf_event_open.S b/libc/sysv/consts/__NR_perf_event_open.S index 9dbb091e6b0..c165d61959b 100644 --- a/libc/sysv/consts/__NR_perf_event_open.S +++ b/libc/sysv/consts/__NR_perf_event_open.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_perf_event_open 0x012a -1 -1 -1 -1 -1 +.syscon nr,__NR_perf_event_open,0x012a,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_persona.S b/libc/sysv/consts/__NR_persona.S index d4a3fe09cdf..b044b22970c 100644 --- a/libc/sysv/consts/__NR_persona.S +++ b/libc/sysv/consts/__NR_persona.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_persona -1 0x20001ee -1 -1 -1 -1 +.syscon nr,__NR_persona,-1,0x20001ee,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_personality.S b/libc/sysv/consts/__NR_personality.S index df7f8ff0718..a279927dab4 100644 --- a/libc/sysv/consts/__NR_personality.S +++ b/libc/sysv/consts/__NR_personality.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_personality 0x0087 -1 -1 -1 -1 -1 +.syscon nr,__NR_personality,0x0087,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pid_hibernate.S b/libc/sysv/consts/__NR_pid_hibernate.S index 045d88be636..6846177e128 100644 --- a/libc/sysv/consts/__NR_pid_hibernate.S +++ b/libc/sysv/consts/__NR_pid_hibernate.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pid_hibernate -1 0x20001b3 -1 -1 -1 -1 +.syscon nr,__NR_pid_hibernate,-1,0x20001b3,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pid_resume.S b/libc/sysv/consts/__NR_pid_resume.S index 508743e4120..bce6b29534c 100644 --- a/libc/sysv/consts/__NR_pid_resume.S +++ b/libc/sysv/consts/__NR_pid_resume.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pid_resume -1 0x20001b2 -1 -1 -1 -1 +.syscon nr,__NR_pid_resume,-1,0x20001b2,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pid_shutdown_sockets.S b/libc/sysv/consts/__NR_pid_shutdown_sockets.S index 5ea8ff89ba8..18408593e29 100644 --- a/libc/sysv/consts/__NR_pid_shutdown_sockets.S +++ b/libc/sysv/consts/__NR_pid_shutdown_sockets.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pid_shutdown_sockets -1 0x20001b4 -1 -1 -1 -1 +.syscon nr,__NR_pid_shutdown_sockets,-1,0x20001b4,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pid_suspend.S b/libc/sysv/consts/__NR_pid_suspend.S index 6d34a0c35ac..3a26d3b7773 100644 --- a/libc/sysv/consts/__NR_pid_suspend.S +++ b/libc/sysv/consts/__NR_pid_suspend.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pid_suspend -1 0x20001b1 -1 -1 -1 -1 +.syscon nr,__NR_pid_suspend,-1,0x20001b1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pidfd_send_signal.S b/libc/sysv/consts/__NR_pidfd_send_signal.S index 46b2bccadf8..3b313d0eefc 100644 --- a/libc/sysv/consts/__NR_pidfd_send_signal.S +++ b/libc/sysv/consts/__NR_pidfd_send_signal.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pidfd_send_signal 0x01a8 -1 -1 -1 -1 -1 +.syscon nr,__NR_pidfd_send_signal,0x01a8,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pipe.S b/libc/sysv/consts/__NR_pipe.S index 878088119c3..8b13e379b02 100644 --- a/libc/sysv/consts/__NR_pipe.S +++ b/libc/sysv/consts/__NR_pipe.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pipe 0x0016 0x200002a 0x021e 0x0107 0x02a -1 +.syscon nr,__NR_pipe,0x0016,0x200002a,0x021e,0x0107,0x02a,-1 diff --git a/libc/sysv/consts/__NR_pipe2.S b/libc/sysv/consts/__NR_pipe2.S index 90f6833edae..425eb5a615c 100644 --- a/libc/sysv/consts/__NR_pipe2.S +++ b/libc/sysv/consts/__NR_pipe2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pipe2 0x0125 -1 0x021e 0x0065 0x1c5 -1 +.syscon nr,__NR_pipe2,0x0125,-1,0x021e,0x0065,0x1c5,-1 diff --git a/libc/sysv/consts/__NR_pivot_root.S b/libc/sysv/consts/__NR_pivot_root.S index 0b3916c1d6c..6f4a497eb05 100644 --- a/libc/sysv/consts/__NR_pivot_root.S +++ b/libc/sysv/consts/__NR_pivot_root.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pivot_root 0x009b -1 -1 -1 -1 -1 +.syscon nr,__NR_pivot_root,0x009b,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pkey_alloc.S b/libc/sysv/consts/__NR_pkey_alloc.S index d2ef889e896..b83c0c7fb59 100644 --- a/libc/sysv/consts/__NR_pkey_alloc.S +++ b/libc/sysv/consts/__NR_pkey_alloc.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pkey_alloc 0x014a -1 -1 -1 -1 -1 +.syscon nr,__NR_pkey_alloc,0x014a,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pkey_free.S b/libc/sysv/consts/__NR_pkey_free.S index a859ea229ef..f0b18c996cd 100644 --- a/libc/sysv/consts/__NR_pkey_free.S +++ b/libc/sysv/consts/__NR_pkey_free.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pkey_free 0x014b -1 -1 -1 -1 -1 +.syscon nr,__NR_pkey_free,0x014b,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pkey_mprotect.S b/libc/sysv/consts/__NR_pkey_mprotect.S index 9dc72e9d328..703aa405b46 100644 --- a/libc/sysv/consts/__NR_pkey_mprotect.S +++ b/libc/sysv/consts/__NR_pkey_mprotect.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pkey_mprotect 0x0149 -1 -1 -1 -1 -1 +.syscon nr,__NR_pkey_mprotect,0x0149,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pledge.S b/libc/sysv/consts/__NR_pledge.S index 84f34804ce0..648aa8ff797 100644 --- a/libc/sysv/consts/__NR_pledge.S +++ b/libc/sysv/consts/__NR_pledge.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pledge -1 -1 -1 0x006c -1 -1 +.syscon nr,__NR_pledge,-1,-1,-1,0x006c,-1,-1 diff --git a/libc/sysv/consts/__NR_poll.S b/libc/sysv/consts/__NR_poll.S index d785a833289..15b043fbf47 100644 --- a/libc/sysv/consts/__NR_poll.S +++ b/libc/sysv/consts/__NR_poll.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_poll 0x0007 0x20000e6 0x00d1 0x00fc 0x0d1 -1 +.syscon nr,__NR_poll,0x0007,0x20000e6,0x00d1,0x00fc,0x0d1,-1 diff --git a/libc/sysv/consts/__NR_poll_nocancel.S b/libc/sysv/consts/__NR_poll_nocancel.S index 08c2715ceb3..55c8e94ecde 100644 --- a/libc/sysv/consts/__NR_poll_nocancel.S +++ b/libc/sysv/consts/__NR_poll_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_poll_nocancel -1 0x20001a1 -1 -1 -1 -1 +.syscon nr,__NR_poll_nocancel,-1,0x20001a1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_posix_fallocate.S b/libc/sysv/consts/__NR_posix_fallocate.S index 648238c764a..6a8e6b518ab 100644 --- a/libc/sysv/consts/__NR_posix_fallocate.S +++ b/libc/sysv/consts/__NR_posix_fallocate.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_posix_fallocate -1 -1 0x0212 -1 -1 -1 +.syscon nr,__NR_posix_fallocate,-1,-1,0x0212,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_posix_openpt.S b/libc/sysv/consts/__NR_posix_openpt.S index 41e617afebf..c5fe24e277c 100644 --- a/libc/sysv/consts/__NR_posix_openpt.S +++ b/libc/sysv/consts/__NR_posix_openpt.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_posix_openpt -1 -1 0x01f8 -1 -1 -1 +.syscon nr,__NR_posix_openpt,-1,-1,0x01f8,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_posix_spawn.S b/libc/sysv/consts/__NR_posix_spawn.S index 0c44cc710c3..4e3b0b9f23d 100644 --- a/libc/sysv/consts/__NR_posix_spawn.S +++ b/libc/sysv/consts/__NR_posix_spawn.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_posix_spawn -1 0x20000f4 -1 -1 -1 -1 +.syscon nr,__NR_posix_spawn,-1,0x20000f4,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ppoll.S b/libc/sysv/consts/__NR_ppoll.S index 945ac021442..75972944eb5 100644 --- a/libc/sysv/consts/__NR_ppoll.S +++ b/libc/sysv/consts/__NR_ppoll.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ppoll 0x010f -1 0x0221 0x006d -1 -1 +.syscon nr,__NR_ppoll,0x010f,-1,0x0221,0x006d,-1,-1 diff --git a/libc/sysv/consts/__NR_prctl.S b/libc/sysv/consts/__NR_prctl.S index d3119a67da8..d7f10740a34 100644 --- a/libc/sysv/consts/__NR_prctl.S +++ b/libc/sysv/consts/__NR_prctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_prctl 0x009d -1 -1 -1 -1 -1 +.syscon nr,__NR_prctl,0x009d,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pread.S b/libc/sysv/consts/__NR_pread.S index ffb355d049c..85118c1a20d 100644 --- a/libc/sysv/consts/__NR_pread.S +++ b/libc/sysv/consts/__NR_pread.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pread 0x0011 0x2000099 0x01db 0x00ad 0x0ad -1 +.syscon nr,__NR_pread,0x0011,0x2000099,0x01db,0x00ad,0x0ad,-1 diff --git a/libc/sysv/consts/__NR_pread_nocancel.S b/libc/sysv/consts/__NR_pread_nocancel.S index ec3df45ebb7..f1c2338d521 100644 --- a/libc/sysv/consts/__NR_pread_nocancel.S +++ b/libc/sysv/consts/__NR_pread_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pread_nocancel -1 0x200019e -1 -1 -1 -1 +.syscon nr,__NR_pread_nocancel,-1,0x200019e,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_preadv.S b/libc/sysv/consts/__NR_preadv.S index 892ab199cab..f83bb1956df 100644 --- a/libc/sysv/consts/__NR_preadv.S +++ b/libc/sysv/consts/__NR_preadv.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_preadv 0x0127 -1 0x0121 0x010b 0x121 -1 +.syscon nr,__NR_preadv,0x0127,-1,0x0121,0x010b,0x121,-1 diff --git a/libc/sysv/consts/__NR_preadv2.S b/libc/sysv/consts/__NR_preadv2.S index 23162297e93..11d97e3fe95 100644 --- a/libc/sysv/consts/__NR_preadv2.S +++ b/libc/sysv/consts/__NR_preadv2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_preadv2 0x0147 -1 -1 -1 -1 -1 +.syscon nr,__NR_preadv2,0x0147,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_prlimit.S b/libc/sysv/consts/__NR_prlimit.S index 5c84944dcd1..cf03a0c8c65 100644 --- a/libc/sysv/consts/__NR_prlimit.S +++ b/libc/sysv/consts/__NR_prlimit.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_prlimit 0x012e -1 -1 -1 -1 -1 +.syscon nr,__NR_prlimit,0x012e,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_proc_info.S b/libc/sysv/consts/__NR_proc_info.S index 4c1b4f3e23c..ea19d0bd1be 100644 --- a/libc/sysv/consts/__NR_proc_info.S +++ b/libc/sysv/consts/__NR_proc_info.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_proc_info -1 0x2000150 -1 -1 -1 -1 +.syscon nr,__NR_proc_info,-1,0x2000150,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_proc_rlimit_control.S b/libc/sysv/consts/__NR_proc_rlimit_control.S index 5153c479751..401bfa1a6fc 100644 --- a/libc/sysv/consts/__NR_proc_rlimit_control.S +++ b/libc/sysv/consts/__NR_proc_rlimit_control.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_proc_rlimit_control -1 0x20001be -1 -1 -1 -1 +.syscon nr,__NR_proc_rlimit_control,-1,0x20001be,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_proc_trace_log.S b/libc/sysv/consts/__NR_proc_trace_log.S index e7013a152c0..9fc683e17ad 100644 --- a/libc/sysv/consts/__NR_proc_trace_log.S +++ b/libc/sysv/consts/__NR_proc_trace_log.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_proc_trace_log -1 0x20001dd -1 -1 -1 -1 +.syscon nr,__NR_proc_trace_log,-1,0x20001dd,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_proc_uuid_policy.S b/libc/sysv/consts/__NR_proc_uuid_policy.S index ea93a33bec2..6ac2a6e15d4 100644 --- a/libc/sysv/consts/__NR_proc_uuid_policy.S +++ b/libc/sysv/consts/__NR_proc_uuid_policy.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_proc_uuid_policy -1 0x20001c4 -1 -1 -1 -1 +.syscon nr,__NR_proc_uuid_policy,-1,0x20001c4,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_procctl.S b/libc/sysv/consts/__NR_procctl.S index 58ceb44f128..a3ea6e5f484 100644 --- a/libc/sysv/consts/__NR_procctl.S +++ b/libc/sysv/consts/__NR_procctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_procctl -1 -1 0x0220 -1 -1 -1 +.syscon nr,__NR_procctl,-1,-1,0x0220,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_process_policy.S b/libc/sysv/consts/__NR_process_policy.S index f636b061cd1..a743f25f9cc 100644 --- a/libc/sysv/consts/__NR_process_policy.S +++ b/libc/sysv/consts/__NR_process_policy.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_process_policy -1 0x2000143 -1 -1 -1 -1 +.syscon nr,__NR_process_policy,-1,0x2000143,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_process_vm_readv.S b/libc/sysv/consts/__NR_process_vm_readv.S index f25cf53b5b7..29f69b98622 100644 --- a/libc/sysv/consts/__NR_process_vm_readv.S +++ b/libc/sysv/consts/__NR_process_vm_readv.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_process_vm_readv 0x0136 -1 -1 -1 -1 -1 +.syscon nr,__NR_process_vm_readv,0x0136,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_process_vm_writev.S b/libc/sysv/consts/__NR_process_vm_writev.S index 89d3187dbac..c84da8f99dd 100644 --- a/libc/sysv/consts/__NR_process_vm_writev.S +++ b/libc/sysv/consts/__NR_process_vm_writev.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_process_vm_writev 0x0137 -1 -1 -1 -1 -1 +.syscon nr,__NR_process_vm_writev,0x0137,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_profil.S b/libc/sysv/consts/__NR_profil.S index cf691ca8928..f84e8458cce 100644 --- a/libc/sysv/consts/__NR_profil.S +++ b/libc/sysv/consts/__NR_profil.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_profil -1 -1 0x002c 0x002c 0x02c -1 +.syscon nr,__NR_profil,-1,-1,0x002c,0x002c,0x02c,-1 diff --git a/libc/sysv/consts/__NR_pselect.S b/libc/sysv/consts/__NR_pselect.S index 0a5ed33c92b..1a20a3d3718 100644 --- a/libc/sysv/consts/__NR_pselect.S +++ b/libc/sysv/consts/__NR_pselect.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pselect -1 0x200018a 0x020a 0x006e 0x1b4 -1 +.syscon nr,__NR_pselect,-1,0x200018a,0x020a,0x006e,0x1b4,-1 diff --git a/libc/sysv/consts/__NR_pselect6.S b/libc/sysv/consts/__NR_pselect6.S index 64593a7e08d..1e55d0c4fc1 100644 --- a/libc/sysv/consts/__NR_pselect6.S +++ b/libc/sysv/consts/__NR_pselect6.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pselect6 0x010e -1 -1 -1 -1 -1 +.syscon nr,__NR_pselect6,0x010e,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pselect_nocancel.S b/libc/sysv/consts/__NR_pselect_nocancel.S index 9f419b25d49..c9ea93ff10c 100644 --- a/libc/sysv/consts/__NR_pselect_nocancel.S +++ b/libc/sysv/consts/__NR_pselect_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pselect_nocancel -1 0x200018b -1 -1 -1 -1 +.syscon nr,__NR_pselect_nocancel,-1,0x200018b,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_psynch_cvbroad.S b/libc/sysv/consts/__NR_psynch_cvbroad.S index fe91e303a38..47dbc54c061 100644 --- a/libc/sysv/consts/__NR_psynch_cvbroad.S +++ b/libc/sysv/consts/__NR_psynch_cvbroad.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_psynch_cvbroad -1 0x200012f -1 -1 -1 -1 +.syscon nr,__NR_psynch_cvbroad,-1,0x200012f,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_psynch_cvclrprepost.S b/libc/sysv/consts/__NR_psynch_cvclrprepost.S index 8a1bd7e560c..6582a21f30c 100644 --- a/libc/sysv/consts/__NR_psynch_cvclrprepost.S +++ b/libc/sysv/consts/__NR_psynch_cvclrprepost.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_psynch_cvclrprepost -1 0x2000138 -1 -1 -1 -1 +.syscon nr,__NR_psynch_cvclrprepost,-1,0x2000138,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_psynch_cvsignal.S b/libc/sysv/consts/__NR_psynch_cvsignal.S index a643005b633..6fd479a30ed 100644 --- a/libc/sysv/consts/__NR_psynch_cvsignal.S +++ b/libc/sysv/consts/__NR_psynch_cvsignal.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_psynch_cvsignal -1 0x2000130 -1 -1 -1 -1 +.syscon nr,__NR_psynch_cvsignal,-1,0x2000130,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_psynch_cvwait.S b/libc/sysv/consts/__NR_psynch_cvwait.S index f5ae1e555d3..bd07273e9eb 100644 --- a/libc/sysv/consts/__NR_psynch_cvwait.S +++ b/libc/sysv/consts/__NR_psynch_cvwait.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_psynch_cvwait -1 0x2000131 -1 -1 -1 -1 +.syscon nr,__NR_psynch_cvwait,-1,0x2000131,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_psynch_mutexdrop.S b/libc/sysv/consts/__NR_psynch_mutexdrop.S index f7656c2bf90..36826e22d72 100644 --- a/libc/sysv/consts/__NR_psynch_mutexdrop.S +++ b/libc/sysv/consts/__NR_psynch_mutexdrop.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_psynch_mutexdrop -1 0x200012e -1 -1 -1 -1 +.syscon nr,__NR_psynch_mutexdrop,-1,0x200012e,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_psynch_mutexwait.S b/libc/sysv/consts/__NR_psynch_mutexwait.S index 690f78e8c33..b2cdbc03210 100644 --- a/libc/sysv/consts/__NR_psynch_mutexwait.S +++ b/libc/sysv/consts/__NR_psynch_mutexwait.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_psynch_mutexwait -1 0x200012d -1 -1 -1 -1 +.syscon nr,__NR_psynch_mutexwait,-1,0x200012d,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_psynch_rw_downgrade.S b/libc/sysv/consts/__NR_psynch_rw_downgrade.S index e832a88e52d..57cb1f3af0a 100644 --- a/libc/sysv/consts/__NR_psynch_rw_downgrade.S +++ b/libc/sysv/consts/__NR_psynch_rw_downgrade.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_psynch_rw_downgrade -1 0x200012b -1 -1 -1 -1 +.syscon nr,__NR_psynch_rw_downgrade,-1,0x200012b,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_psynch_rw_longrdlock.S b/libc/sysv/consts/__NR_psynch_rw_longrdlock.S index 076f61fb87d..b07a72573b9 100644 --- a/libc/sysv/consts/__NR_psynch_rw_longrdlock.S +++ b/libc/sysv/consts/__NR_psynch_rw_longrdlock.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_psynch_rw_longrdlock -1 0x2000129 -1 -1 -1 -1 +.syscon nr,__NR_psynch_rw_longrdlock,-1,0x2000129,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_psynch_rw_rdlock.S b/libc/sysv/consts/__NR_psynch_rw_rdlock.S index 0fe78bbc9cd..5d2cbee1ab3 100644 --- a/libc/sysv/consts/__NR_psynch_rw_rdlock.S +++ b/libc/sysv/consts/__NR_psynch_rw_rdlock.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_psynch_rw_rdlock -1 0x2000132 -1 -1 -1 -1 +.syscon nr,__NR_psynch_rw_rdlock,-1,0x2000132,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_psynch_rw_unlock.S b/libc/sysv/consts/__NR_psynch_rw_unlock.S index 970ba0cebdb..3b71a6d8301 100644 --- a/libc/sysv/consts/__NR_psynch_rw_unlock.S +++ b/libc/sysv/consts/__NR_psynch_rw_unlock.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_psynch_rw_unlock -1 0x2000134 -1 -1 -1 -1 +.syscon nr,__NR_psynch_rw_unlock,-1,0x2000134,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_psynch_rw_unlock2.S b/libc/sysv/consts/__NR_psynch_rw_unlock2.S index 774f7f4b0ad..0aa101d3eb3 100644 --- a/libc/sysv/consts/__NR_psynch_rw_unlock2.S +++ b/libc/sysv/consts/__NR_psynch_rw_unlock2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_psynch_rw_unlock2 -1 0x2000135 -1 -1 -1 -1 +.syscon nr,__NR_psynch_rw_unlock2,-1,0x2000135,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_psynch_rw_upgrade.S b/libc/sysv/consts/__NR_psynch_rw_upgrade.S index 2165083519c..3bbd1d4365e 100644 --- a/libc/sysv/consts/__NR_psynch_rw_upgrade.S +++ b/libc/sysv/consts/__NR_psynch_rw_upgrade.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_psynch_rw_upgrade -1 0x200012c -1 -1 -1 -1 +.syscon nr,__NR_psynch_rw_upgrade,-1,0x200012c,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_psynch_rw_wrlock.S b/libc/sysv/consts/__NR_psynch_rw_wrlock.S index 338e966df3f..5584954468f 100644 --- a/libc/sysv/consts/__NR_psynch_rw_wrlock.S +++ b/libc/sysv/consts/__NR_psynch_rw_wrlock.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_psynch_rw_wrlock -1 0x2000133 -1 -1 -1 -1 +.syscon nr,__NR_psynch_rw_wrlock,-1,0x2000133,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_psynch_rw_yieldwrlock.S b/libc/sysv/consts/__NR_psynch_rw_yieldwrlock.S index 6a76a973da0..1e17b5810dd 100644 --- a/libc/sysv/consts/__NR_psynch_rw_yieldwrlock.S +++ b/libc/sysv/consts/__NR_psynch_rw_yieldwrlock.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_psynch_rw_yieldwrlock -1 0x200012a -1 -1 -1 -1 +.syscon nr,__NR_psynch_rw_yieldwrlock,-1,0x200012a,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pthread_canceled.S b/libc/sysv/consts/__NR_pthread_canceled.S index 0ada3a5faa4..e52fdb06d38 100644 --- a/libc/sysv/consts/__NR_pthread_canceled.S +++ b/libc/sysv/consts/__NR_pthread_canceled.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pthread_canceled -1 0x200014d -1 -1 -1 -1 +.syscon nr,__NR_pthread_canceled,-1,0x200014d,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pthread_chdir.S b/libc/sysv/consts/__NR_pthread_chdir.S index 763a98efa08..648aab5749c 100644 --- a/libc/sysv/consts/__NR_pthread_chdir.S +++ b/libc/sysv/consts/__NR_pthread_chdir.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pthread_chdir -1 0x200015c -1 -1 -1 -1 +.syscon nr,__NR_pthread_chdir,-1,0x200015c,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pthread_fchdir.S b/libc/sysv/consts/__NR_pthread_fchdir.S index 28d0f1176ef..2d4d22ffc82 100644 --- a/libc/sysv/consts/__NR_pthread_fchdir.S +++ b/libc/sysv/consts/__NR_pthread_fchdir.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pthread_fchdir -1 0x200015d -1 -1 -1 -1 +.syscon nr,__NR_pthread_fchdir,-1,0x200015d,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pthread_kill.S b/libc/sysv/consts/__NR_pthread_kill.S index ae450aa76eb..028b0283c1a 100644 --- a/libc/sysv/consts/__NR_pthread_kill.S +++ b/libc/sysv/consts/__NR_pthread_kill.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pthread_kill -1 0x2000148 -1 -1 -1 -1 +.syscon nr,__NR_pthread_kill,-1,0x2000148,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pthread_markcancel.S b/libc/sysv/consts/__NR_pthread_markcancel.S index 54b169aec24..7903cf1a392 100644 --- a/libc/sysv/consts/__NR_pthread_markcancel.S +++ b/libc/sysv/consts/__NR_pthread_markcancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pthread_markcancel -1 0x200014c -1 -1 -1 -1 +.syscon nr,__NR_pthread_markcancel,-1,0x200014c,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pthread_sigmask.S b/libc/sysv/consts/__NR_pthread_sigmask.S index 5e1f4d50197..dbb6243f296 100644 --- a/libc/sysv/consts/__NR_pthread_sigmask.S +++ b/libc/sysv/consts/__NR_pthread_sigmask.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pthread_sigmask -1 0x2000149 -1 -1 -1 -1 +.syscon nr,__NR_pthread_sigmask,-1,0x2000149,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ptrace.S b/libc/sysv/consts/__NR_ptrace.S index a609e84872e..88fa0b23c54 100644 --- a/libc/sysv/consts/__NR_ptrace.S +++ b/libc/sysv/consts/__NR_ptrace.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ptrace 0x0065 0x200001a 0x001a 0x001a 0x01a -1 +.syscon nr,__NR_ptrace,0x0065,0x200001a,0x001a,0x001a,0x01a,-1 diff --git a/libc/sysv/consts/__NR_pwrite.S b/libc/sysv/consts/__NR_pwrite.S index 2565f49eecd..84184fd6164 100644 --- a/libc/sysv/consts/__NR_pwrite.S +++ b/libc/sysv/consts/__NR_pwrite.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pwrite 0x0012 0x200009a 0x01dc 0x00ae 0x0ae -1 +.syscon nr,__NR_pwrite,0x0012,0x200009a,0x01dc,0x00ae,0x0ae,-1 diff --git a/libc/sysv/consts/__NR_pwrite_nocancel.S b/libc/sysv/consts/__NR_pwrite_nocancel.S index b9b196ead80..a3feb6341f4 100644 --- a/libc/sysv/consts/__NR_pwrite_nocancel.S +++ b/libc/sysv/consts/__NR_pwrite_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pwrite_nocancel -1 0x200019f -1 -1 -1 -1 +.syscon nr,__NR_pwrite_nocancel,-1,0x200019f,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_pwritev.S b/libc/sysv/consts/__NR_pwritev.S index 4a57fd4e04c..3713371601a 100644 --- a/libc/sysv/consts/__NR_pwritev.S +++ b/libc/sysv/consts/__NR_pwritev.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pwritev 0x0128 -1 0x0122 0x010c 0x122 -1 +.syscon nr,__NR_pwritev,0x0128,-1,0x0122,0x010c,0x122,-1 diff --git a/libc/sysv/consts/__NR_pwritev2.S b/libc/sysv/consts/__NR_pwritev2.S index ddfd068798f..206e91bfa67 100644 --- a/libc/sysv/consts/__NR_pwritev2.S +++ b/libc/sysv/consts/__NR_pwritev2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_pwritev2 0x0148 -1 -1 -1 -1 -1 +.syscon nr,__NR_pwritev2,0x0148,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_quota.S b/libc/sysv/consts/__NR_quota.S index 3876d2e4cf6..f1952f08126 100644 --- a/libc/sysv/consts/__NR_quota.S +++ b/libc/sysv/consts/__NR_quota.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_quota -1 -1 0x0095 -1 -1 -1 +.syscon nr,__NR_quota,-1,-1,0x0095,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_quotactl.S b/libc/sysv/consts/__NR_quotactl.S index 5ff612716fe..7f56784f19b 100644 --- a/libc/sysv/consts/__NR_quotactl.S +++ b/libc/sysv/consts/__NR_quotactl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_quotactl 0x00b3 0x20000a5 0x0094 0x0094 -1 -1 +.syscon nr,__NR_quotactl,0x00b3,0x20000a5,0x0094,0x0094,-1,-1 diff --git a/libc/sysv/consts/__NR_rctl_add_rule.S b/libc/sysv/consts/__NR_rctl_add_rule.S index 568ca050cb9..5ddc7961fa7 100644 --- a/libc/sysv/consts/__NR_rctl_add_rule.S +++ b/libc/sysv/consts/__NR_rctl_add_rule.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_rctl_add_rule -1 -1 0x0210 -1 -1 -1 +.syscon nr,__NR_rctl_add_rule,-1,-1,0x0210,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_rctl_get_limits.S b/libc/sysv/consts/__NR_rctl_get_limits.S index 0db3e19d971..01fa9df4fc9 100644 --- a/libc/sysv/consts/__NR_rctl_get_limits.S +++ b/libc/sysv/consts/__NR_rctl_get_limits.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_rctl_get_limits -1 -1 0x020f -1 -1 -1 +.syscon nr,__NR_rctl_get_limits,-1,-1,0x020f,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_rctl_get_racct.S b/libc/sysv/consts/__NR_rctl_get_racct.S index cc36025a08b..a16079a4a35 100644 --- a/libc/sysv/consts/__NR_rctl_get_racct.S +++ b/libc/sysv/consts/__NR_rctl_get_racct.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_rctl_get_racct -1 -1 0x020d -1 -1 -1 +.syscon nr,__NR_rctl_get_racct,-1,-1,0x020d,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_rctl_get_rules.S b/libc/sysv/consts/__NR_rctl_get_rules.S index 2eb481aef49..f48f8ae258a 100644 --- a/libc/sysv/consts/__NR_rctl_get_rules.S +++ b/libc/sysv/consts/__NR_rctl_get_rules.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_rctl_get_rules -1 -1 0x020e -1 -1 -1 +.syscon nr,__NR_rctl_get_rules,-1,-1,0x020e,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_rctl_remove_rule.S b/libc/sysv/consts/__NR_rctl_remove_rule.S index 4323cba1001..98dcbe521ae 100644 --- a/libc/sysv/consts/__NR_rctl_remove_rule.S +++ b/libc/sysv/consts/__NR_rctl_remove_rule.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_rctl_remove_rule -1 -1 0x0211 -1 -1 -1 +.syscon nr,__NR_rctl_remove_rule,-1,-1,0x0211,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_read.S b/libc/sysv/consts/__NR_read.S index 8b859ecd2c9..daaf31a4dfa 100644 --- a/libc/sysv/consts/__NR_read.S +++ b/libc/sysv/consts/__NR_read.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_read 0x0000 0x2000003 0x0003 0x0003 0x003 -1 +.syscon nr,__NR_read,0x0000,0x2000003,0x0003,0x0003,0x003,-1 diff --git a/libc/sysv/consts/__NR_read_nocancel.S b/libc/sysv/consts/__NR_read_nocancel.S index 9d19e18c7a6..205a515fefc 100644 --- a/libc/sysv/consts/__NR_read_nocancel.S +++ b/libc/sysv/consts/__NR_read_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_read_nocancel -1 0x200018c -1 -1 -1 -1 +.syscon nr,__NR_read_nocancel,-1,0x200018c,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_readahead.S b/libc/sysv/consts/__NR_readahead.S index e6cfcf84a6f..0c08da51e74 100644 --- a/libc/sysv/consts/__NR_readahead.S +++ b/libc/sysv/consts/__NR_readahead.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_readahead 0x00bb -1 -1 -1 -1 -1 +.syscon nr,__NR_readahead,0x00bb,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_readlink.S b/libc/sysv/consts/__NR_readlink.S index a0faddadf9f..f67508d0f1b 100644 --- a/libc/sysv/consts/__NR_readlink.S +++ b/libc/sysv/consts/__NR_readlink.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_readlink 0x0059 0x200003a 0x003a 0x003a 0x03a -1 +.syscon nr,__NR_readlink,0x0059,0x200003a,0x003a,0x003a,0x03a,-1 diff --git a/libc/sysv/consts/__NR_readlinkat.S b/libc/sysv/consts/__NR_readlinkat.S index 0a7f462f36e..17031062f65 100644 --- a/libc/sysv/consts/__NR_readlinkat.S +++ b/libc/sysv/consts/__NR_readlinkat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_readlinkat 0x010b 0x20001d9 0x01f4 0x0142 0x1d5 -1 +.syscon nr,__NR_readlinkat,0x010b,0x20001d9,0x01f4,0x0142,0x1d5,-1 diff --git a/libc/sysv/consts/__NR_readv.S b/libc/sysv/consts/__NR_readv.S index 77153a32870..66e774fd041 100644 --- a/libc/sysv/consts/__NR_readv.S +++ b/libc/sysv/consts/__NR_readv.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_readv 0x0013 0x2000078 0x0078 0x0078 0x078 -1 +.syscon nr,__NR_readv,0x0013,0x2000078,0x0078,0x0078,0x078,-1 diff --git a/libc/sysv/consts/__NR_readv_nocancel.S b/libc/sysv/consts/__NR_readv_nocancel.S index 0215f8146c2..5719791b9fb 100644 --- a/libc/sysv/consts/__NR_readv_nocancel.S +++ b/libc/sysv/consts/__NR_readv_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_readv_nocancel -1 0x200019b -1 -1 -1 -1 +.syscon nr,__NR_readv_nocancel,-1,0x200019b,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_reboot.S b/libc/sysv/consts/__NR_reboot.S index bd794625953..6997e48337a 100644 --- a/libc/sysv/consts/__NR_reboot.S +++ b/libc/sysv/consts/__NR_reboot.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_reboot 0x00a9 0x2000037 0x0037 0x0037 0x0d0 -1 +.syscon nr,__NR_reboot,0x00a9,0x2000037,0x0037,0x0037,0x0d0,-1 diff --git a/libc/sysv/consts/__NR_recv.S b/libc/sysv/consts/__NR_recv.S index fa89c9959c6..fd3fbf1b0d5 100644 --- a/libc/sysv/consts/__NR_recv.S +++ b/libc/sysv/consts/__NR_recv.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_recv -1 -1 0x0066 -1 -1 -1 +.syscon nr,__NR_recv,-1,-1,0x0066,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_recvfrom.S b/libc/sysv/consts/__NR_recvfrom.S index d80dcfd7d50..fcaefd5a73d 100644 --- a/libc/sysv/consts/__NR_recvfrom.S +++ b/libc/sysv/consts/__NR_recvfrom.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_recvfrom 0x002d 0x200001d 0x001d 0x001d 0x01d -1 +.syscon nr,__NR_recvfrom,0x002d,0x200001d,0x001d,0x001d,0x01d,-1 diff --git a/libc/sysv/consts/__NR_recvfrom_nocancel.S b/libc/sysv/consts/__NR_recvfrom_nocancel.S index 83a269bcb5c..a4b8a1a24b7 100644 --- a/libc/sysv/consts/__NR_recvfrom_nocancel.S +++ b/libc/sysv/consts/__NR_recvfrom_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_recvfrom_nocancel -1 0x2000193 -1 -1 -1 -1 +.syscon nr,__NR_recvfrom_nocancel,-1,0x2000193,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_recvmmsg.S b/libc/sysv/consts/__NR_recvmmsg.S index b392afc14d9..385c6534bf9 100644 --- a/libc/sysv/consts/__NR_recvmmsg.S +++ b/libc/sysv/consts/__NR_recvmmsg.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_recvmmsg 0x012b -1 -1 -1 0x1db -1 +.syscon nr,__NR_recvmmsg,0x012b,-1,-1,-1,0x1db,-1 diff --git a/libc/sysv/consts/__NR_recvmsg.S b/libc/sysv/consts/__NR_recvmsg.S index 24dba69a92b..22893e8b23f 100644 --- a/libc/sysv/consts/__NR_recvmsg.S +++ b/libc/sysv/consts/__NR_recvmsg.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_recvmsg 0x002f 0x200001b 0x001b 0x001b 0x01b -1 +.syscon nr,__NR_recvmsg,0x002f,0x200001b,0x001b,0x001b,0x01b,-1 diff --git a/libc/sysv/consts/__NR_recvmsg_nocancel.S b/libc/sysv/consts/__NR_recvmsg_nocancel.S index 514b6ae6409..8c5f67499cb 100644 --- a/libc/sysv/consts/__NR_recvmsg_nocancel.S +++ b/libc/sysv/consts/__NR_recvmsg_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_recvmsg_nocancel -1 0x2000191 -1 -1 -1 -1 +.syscon nr,__NR_recvmsg_nocancel,-1,0x2000191,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_recvmsg_x.S b/libc/sysv/consts/__NR_recvmsg_x.S index 833695a9765..4794acee9f0 100644 --- a/libc/sysv/consts/__NR_recvmsg_x.S +++ b/libc/sysv/consts/__NR_recvmsg_x.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_recvmsg_x -1 0x20001e0 -1 -1 -1 -1 +.syscon nr,__NR_recvmsg_x,-1,0x20001e0,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_removexattr.S b/libc/sysv/consts/__NR_removexattr.S index a50c9b23ce8..4640b4a2ae0 100644 --- a/libc/sysv/consts/__NR_removexattr.S +++ b/libc/sysv/consts/__NR_removexattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_removexattr 0x00c5 0x20000ee -1 -1 0x180 -1 +.syscon nr,__NR_removexattr,0x00c5,0x20000ee,-1,-1,0x180,-1 diff --git a/libc/sysv/consts/__NR_rename.S b/libc/sysv/consts/__NR_rename.S index d29b66b29f1..fab091a70f4 100644 --- a/libc/sysv/consts/__NR_rename.S +++ b/libc/sysv/consts/__NR_rename.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_rename 0x0052 0x2000080 0x0080 0x0080 0x080 -1 +.syscon nr,__NR_rename,0x0052,0x2000080,0x0080,0x0080,0x080,-1 diff --git a/libc/sysv/consts/__NR_renameat.S b/libc/sysv/consts/__NR_renameat.S index 314c4572e4e..dd3bc29d3f9 100644 --- a/libc/sysv/consts/__NR_renameat.S +++ b/libc/sysv/consts/__NR_renameat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_renameat 0x0108 0x20001d1 0x01f5 0x0143 0x1ca -1 +.syscon nr,__NR_renameat,0x0108,0x20001d1,0x01f5,0x0143,0x1ca,-1 diff --git a/libc/sysv/consts/__NR_renameat2.S b/libc/sysv/consts/__NR_renameat2.S index b2dbe2b24b2..24c636fa225 100644 --- a/libc/sysv/consts/__NR_renameat2.S +++ b/libc/sysv/consts/__NR_renameat2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_renameat2 0x013c -1 -1 -1 -1 -1 +.syscon nr,__NR_renameat2,0x013c,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_renameatx_np.S b/libc/sysv/consts/__NR_renameatx_np.S index 2b5284b8360..009161be433 100644 --- a/libc/sysv/consts/__NR_renameatx_np.S +++ b/libc/sysv/consts/__NR_renameatx_np.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_renameatx_np -1 0x20001e8 -1 -1 -1 -1 +.syscon nr,__NR_renameatx_np,-1,0x20001e8,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_request_key.S b/libc/sysv/consts/__NR_request_key.S index b309fc9dfd2..82ef143600b 100644 --- a/libc/sysv/consts/__NR_request_key.S +++ b/libc/sysv/consts/__NR_request_key.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_request_key 0x00f9 -1 -1 -1 -1 -1 +.syscon nr,__NR_request_key,0x00f9,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_restart_syscall.S b/libc/sysv/consts/__NR_restart_syscall.S index cebcee40c24..087071c9dba 100644 --- a/libc/sysv/consts/__NR_restart_syscall.S +++ b/libc/sysv/consts/__NR_restart_syscall.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_restart_syscall 0x00db -1 -1 -1 -1 -1 +.syscon nr,__NR_restart_syscall,0x00db,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_revoke.S b/libc/sysv/consts/__NR_revoke.S index fadce985305..9f4d59788d6 100644 --- a/libc/sysv/consts/__NR_revoke.S +++ b/libc/sysv/consts/__NR_revoke.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_revoke -1 0x2000038 0x0038 0x0038 0x038 -1 +.syscon nr,__NR_revoke,-1,0x2000038,0x0038,0x0038,0x038,-1 diff --git a/libc/sysv/consts/__NR_rfork.S b/libc/sysv/consts/__NR_rfork.S index 0c88600d541..3d8b1968a3a 100644 --- a/libc/sysv/consts/__NR_rfork.S +++ b/libc/sysv/consts/__NR_rfork.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_rfork -1 -1 0x00fb -1 -1 -1 +.syscon nr,__NR_rfork,-1,-1,0x00fb,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_rmdir.S b/libc/sysv/consts/__NR_rmdir.S index 2c2080bdf15..8acf26d4adc 100644 --- a/libc/sysv/consts/__NR_rmdir.S +++ b/libc/sysv/consts/__NR_rmdir.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_rmdir 0x0054 0x2000089 0x0089 0x0089 0x089 -1 +.syscon nr,__NR_rmdir,0x0054,0x2000089,0x0089,0x0089,0x089,-1 diff --git a/libc/sysv/consts/__NR_rseq.S b/libc/sysv/consts/__NR_rseq.S index d01417a1164..61a430c127c 100644 --- a/libc/sysv/consts/__NR_rseq.S +++ b/libc/sysv/consts/__NR_rseq.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_rseq 0x014e -1 -1 -1 -1 -1 +.syscon nr,__NR_rseq,0x014e,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_rt_sigqueueinfo.S b/libc/sysv/consts/__NR_rt_sigqueueinfo.S index 6ba31b76ad9..9d9925b96ba 100644 --- a/libc/sysv/consts/__NR_rt_sigqueueinfo.S +++ b/libc/sysv/consts/__NR_rt_sigqueueinfo.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_rt_sigqueueinfo 0x0081 -1 -1 -1 -1 -1 +.syscon nr,__NR_rt_sigqueueinfo,0x0081,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_rt_tgsigqueueinfo.S b/libc/sysv/consts/__NR_rt_tgsigqueueinfo.S index 4893d808bf1..55f9155d62e 100644 --- a/libc/sysv/consts/__NR_rt_tgsigqueueinfo.S +++ b/libc/sysv/consts/__NR_rt_tgsigqueueinfo.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_rt_tgsigqueueinfo 0x0129 -1 -1 -1 -1 -1 +.syscon nr,__NR_rt_tgsigqueueinfo,0x0129,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_rtprio.S b/libc/sysv/consts/__NR_rtprio.S index 2b57ffe5b26..0f4cf4da498 100644 --- a/libc/sysv/consts/__NR_rtprio.S +++ b/libc/sysv/consts/__NR_rtprio.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_rtprio -1 -1 0x00a6 -1 -1 -1 +.syscon nr,__NR_rtprio,-1,-1,0x00a6,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_rtprio_thread.S b/libc/sysv/consts/__NR_rtprio_thread.S index f8cdd1bbbaf..e51005ae2da 100644 --- a/libc/sysv/consts/__NR_rtprio_thread.S +++ b/libc/sysv/consts/__NR_rtprio_thread.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_rtprio_thread -1 -1 0x01d2 -1 -1 -1 +.syscon nr,__NR_rtprio_thread,-1,-1,0x01d2,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sched_get_priority_max.S b/libc/sysv/consts/__NR_sched_get_priority_max.S index 65f945596d8..21505189473 100644 --- a/libc/sysv/consts/__NR_sched_get_priority_max.S +++ b/libc/sysv/consts/__NR_sched_get_priority_max.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sched_get_priority_max 0x0092 -1 0x014c -1 -1 -1 +.syscon nr,__NR_sched_get_priority_max,0x0092,-1,0x014c,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sched_get_priority_min.S b/libc/sysv/consts/__NR_sched_get_priority_min.S index 30eddbecd84..b3e60f5358f 100644 --- a/libc/sysv/consts/__NR_sched_get_priority_min.S +++ b/libc/sysv/consts/__NR_sched_get_priority_min.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sched_get_priority_min 0x0093 -1 0x014d -1 -1 -1 +.syscon nr,__NR_sched_get_priority_min,0x0093,-1,0x014d,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sched_getaffinity.S b/libc/sysv/consts/__NR_sched_getaffinity.S index a4bce236877..da489995e11 100644 --- a/libc/sysv/consts/__NR_sched_getaffinity.S +++ b/libc/sysv/consts/__NR_sched_getaffinity.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sched_getaffinity 0x00cc -1 -1 -1 -1 -1 +.syscon nr,__NR_sched_getaffinity,0x00cc,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sched_getattr.S b/libc/sysv/consts/__NR_sched_getattr.S index 4b0ae8616f3..5bf45777b4d 100644 --- a/libc/sysv/consts/__NR_sched_getattr.S +++ b/libc/sysv/consts/__NR_sched_getattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sched_getattr 0x013b -1 -1 -1 -1 -1 +.syscon nr,__NR_sched_getattr,0x013b,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sched_getparam.S b/libc/sysv/consts/__NR_sched_getparam.S index 102c2c0ed46..af5d7bef422 100644 --- a/libc/sysv/consts/__NR_sched_getparam.S +++ b/libc/sysv/consts/__NR_sched_getparam.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sched_getparam 0x008f -1 0x0148 -1 -1 -1 +.syscon nr,__NR_sched_getparam,0x008f,-1,0x0148,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sched_getscheduler.S b/libc/sysv/consts/__NR_sched_getscheduler.S index cd23a0c72ba..f10d32db693 100644 --- a/libc/sysv/consts/__NR_sched_getscheduler.S +++ b/libc/sysv/consts/__NR_sched_getscheduler.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sched_getscheduler 0x0091 -1 0x014a -1 -1 -1 +.syscon nr,__NR_sched_getscheduler,0x0091,-1,0x014a,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sched_rr_get_interval.S b/libc/sysv/consts/__NR_sched_rr_get_interval.S index e97a251872f..f457053e43c 100644 --- a/libc/sysv/consts/__NR_sched_rr_get_interval.S +++ b/libc/sysv/consts/__NR_sched_rr_get_interval.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sched_rr_get_interval 0x0094 -1 0x014e -1 -1 -1 +.syscon nr,__NR_sched_rr_get_interval,0x0094,-1,0x014e,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sched_setaffinity.S b/libc/sysv/consts/__NR_sched_setaffinity.S index 432ee20a4c5..9568e646793 100644 --- a/libc/sysv/consts/__NR_sched_setaffinity.S +++ b/libc/sysv/consts/__NR_sched_setaffinity.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sched_setaffinity 0x00cb -1 -1 -1 -1 -1 +.syscon nr,__NR_sched_setaffinity,0x00cb,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sched_setattr.S b/libc/sysv/consts/__NR_sched_setattr.S index d6ae14adca6..0d10310cffe 100644 --- a/libc/sysv/consts/__NR_sched_setattr.S +++ b/libc/sysv/consts/__NR_sched_setattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sched_setattr 0x013a -1 -1 -1 -1 -1 +.syscon nr,__NR_sched_setattr,0x013a,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sched_setparam.S b/libc/sysv/consts/__NR_sched_setparam.S index d8616e76067..ed793850e4e 100644 --- a/libc/sysv/consts/__NR_sched_setparam.S +++ b/libc/sysv/consts/__NR_sched_setparam.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sched_setparam 0x008e -1 0x0147 -1 -1 -1 +.syscon nr,__NR_sched_setparam,0x008e,-1,0x0147,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sched_setscheduler.S b/libc/sysv/consts/__NR_sched_setscheduler.S index d2898532f6c..5b5a9d3d06b 100644 --- a/libc/sysv/consts/__NR_sched_setscheduler.S +++ b/libc/sysv/consts/__NR_sched_setscheduler.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sched_setscheduler 0x0090 -1 0x0149 -1 -1 -1 +.syscon nr,__NR_sched_setscheduler,0x0090,-1,0x0149,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sched_yield.S b/libc/sysv/consts/__NR_sched_yield.S index 3d4770f05fb..347395b1fba 100644 --- a/libc/sysv/consts/__NR_sched_yield.S +++ b/libc/sysv/consts/__NR_sched_yield.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sched_yield 0x0018 0x010003c 0x014b 0x012a 0x15e -1 +.syscon nr,__NR_sched_yield,0x0018,0x010003c,0x014b,0x012a,0x15e,-1 diff --git a/libc/sysv/consts/__NR_sctp_generic_recvmsg.S b/libc/sysv/consts/__NR_sctp_generic_recvmsg.S index 878cbbdc055..c438d417984 100644 --- a/libc/sysv/consts/__NR_sctp_generic_recvmsg.S +++ b/libc/sysv/consts/__NR_sctp_generic_recvmsg.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sctp_generic_recvmsg -1 -1 0x01da -1 -1 -1 +.syscon nr,__NR_sctp_generic_recvmsg,-1,-1,0x01da,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sctp_generic_sendmsg.S b/libc/sysv/consts/__NR_sctp_generic_sendmsg.S index 39660bb47ef..f3993e406c4 100644 --- a/libc/sysv/consts/__NR_sctp_generic_sendmsg.S +++ b/libc/sysv/consts/__NR_sctp_generic_sendmsg.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sctp_generic_sendmsg -1 -1 0x01d8 -1 -1 -1 +.syscon nr,__NR_sctp_generic_sendmsg,-1,-1,0x01d8,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sctp_generic_sendmsg_iov.S b/libc/sysv/consts/__NR_sctp_generic_sendmsg_iov.S index e96a267897c..349ee375d97 100644 --- a/libc/sysv/consts/__NR_sctp_generic_sendmsg_iov.S +++ b/libc/sysv/consts/__NR_sctp_generic_sendmsg_iov.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sctp_generic_sendmsg_iov -1 -1 0x01d9 -1 -1 -1 +.syscon nr,__NR_sctp_generic_sendmsg_iov,-1,-1,0x01d9,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sctp_peeloff.S b/libc/sysv/consts/__NR_sctp_peeloff.S index 3752579dc30..512a20c586f 100644 --- a/libc/sysv/consts/__NR_sctp_peeloff.S +++ b/libc/sysv/consts/__NR_sctp_peeloff.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sctp_peeloff -1 -1 0x01d7 -1 -1 -1 +.syscon nr,__NR_sctp_peeloff,-1,-1,0x01d7,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_searchfs.S b/libc/sysv/consts/__NR_searchfs.S index 98e203f6e8c..8ba4e3932eb 100644 --- a/libc/sysv/consts/__NR_searchfs.S +++ b/libc/sysv/consts/__NR_searchfs.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_searchfs -1 0x20000e1 -1 -1 -1 -1 +.syscon nr,__NR_searchfs,-1,0x20000e1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_seccomp.S b/libc/sysv/consts/__NR_seccomp.S index 90bac0e844e..8955358186d 100644 --- a/libc/sysv/consts/__NR_seccomp.S +++ b/libc/sysv/consts/__NR_seccomp.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_seccomp 0x013d -1 -1 -1 -1 -1 +.syscon nr,__NR_seccomp,0x013d,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_select.S b/libc/sysv/consts/__NR_select.S index c5781d63cfc..6e2afa01af5 100644 --- a/libc/sysv/consts/__NR_select.S +++ b/libc/sysv/consts/__NR_select.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_select 0x0017 0x200005d 0x005d 0x0047 0x1a1 -1 +.syscon nr,__NR_select,0x0017,0x200005d,0x005d,0x0047,0x1a1,-1 diff --git a/libc/sysv/consts/__NR_select_nocancel.S b/libc/sysv/consts/__NR_select_nocancel.S index 509ea200ba5..95a21d62aeb 100644 --- a/libc/sysv/consts/__NR_select_nocancel.S +++ b/libc/sysv/consts/__NR_select_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_select_nocancel -1 0x2000197 -1 -1 -1 -1 +.syscon nr,__NR_select_nocancel,-1,0x2000197,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sem_close.S b/libc/sysv/consts/__NR_sem_close.S index 50d17ec7f44..80c59be2a00 100644 --- a/libc/sysv/consts/__NR_sem_close.S +++ b/libc/sysv/consts/__NR_sem_close.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sem_close -1 0x200010d -1 -1 -1 -1 +.syscon nr,__NR_sem_close,-1,0x200010d,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sem_open.S b/libc/sysv/consts/__NR_sem_open.S index 35d220cd08c..dbe1fb642d3 100644 --- a/libc/sysv/consts/__NR_sem_open.S +++ b/libc/sysv/consts/__NR_sem_open.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sem_open -1 0x200010c -1 -1 -1 -1 +.syscon nr,__NR_sem_open,-1,0x200010c,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sem_post.S b/libc/sysv/consts/__NR_sem_post.S index ff84195d02f..6653f90344a 100644 --- a/libc/sysv/consts/__NR_sem_post.S +++ b/libc/sysv/consts/__NR_sem_post.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sem_post -1 0x2000111 -1 -1 -1 -1 +.syscon nr,__NR_sem_post,-1,0x2000111,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sem_trywait.S b/libc/sysv/consts/__NR_sem_trywait.S index 19feb1065d5..460b910557e 100644 --- a/libc/sysv/consts/__NR_sem_trywait.S +++ b/libc/sysv/consts/__NR_sem_trywait.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sem_trywait -1 0x2000110 -1 -1 -1 -1 +.syscon nr,__NR_sem_trywait,-1,0x2000110,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sem_unlink.S b/libc/sysv/consts/__NR_sem_unlink.S index e800447a654..59559c32eec 100644 --- a/libc/sysv/consts/__NR_sem_unlink.S +++ b/libc/sysv/consts/__NR_sem_unlink.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sem_unlink -1 0x200010e -1 -1 -1 -1 +.syscon nr,__NR_sem_unlink,-1,0x200010e,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sem_wait.S b/libc/sysv/consts/__NR_sem_wait.S index d910490062c..08a7495f7b1 100644 --- a/libc/sysv/consts/__NR_sem_wait.S +++ b/libc/sysv/consts/__NR_sem_wait.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sem_wait -1 0x200010f -1 -1 -1 -1 +.syscon nr,__NR_sem_wait,-1,0x200010f,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sem_wait_nocancel.S b/libc/sysv/consts/__NR_sem_wait_nocancel.S index 6973bff3cd0..fd482644735 100644 --- a/libc/sysv/consts/__NR_sem_wait_nocancel.S +++ b/libc/sysv/consts/__NR_sem_wait_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sem_wait_nocancel -1 0x20001a4 -1 -1 -1 -1 +.syscon nr,__NR_sem_wait_nocancel,-1,0x20001a4,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_semctl.S b/libc/sysv/consts/__NR_semctl.S index cb9b1c4146e..4b974738427 100644 --- a/libc/sysv/consts/__NR_semctl.S +++ b/libc/sysv/consts/__NR_semctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_semctl 0x0042 0x20000fe 0x01fe 0x0127 -1 -1 +.syscon nr,__NR_semctl,0x0042,0x20000fe,0x01fe,0x0127,-1,-1 diff --git a/libc/sysv/consts/__NR_semget.S b/libc/sysv/consts/__NR_semget.S index c14d79f6a30..a0eedf99550 100644 --- a/libc/sysv/consts/__NR_semget.S +++ b/libc/sysv/consts/__NR_semget.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_semget 0x0040 0x20000ff 0x00dd 0x00dd 0x0dd -1 +.syscon nr,__NR_semget,0x0040,0x20000ff,0x00dd,0x00dd,0x0dd,-1 diff --git a/libc/sysv/consts/__NR_semop.S b/libc/sysv/consts/__NR_semop.S index 95d85dfc9eb..8ffc1e327dc 100644 --- a/libc/sysv/consts/__NR_semop.S +++ b/libc/sysv/consts/__NR_semop.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_semop 0x0041 0x2000100 0x00de 0x0122 0x0de -1 +.syscon nr,__NR_semop,0x0041,0x2000100,0x00de,0x0122,0x0de,-1 diff --git a/libc/sysv/consts/__NR_semsys.S b/libc/sysv/consts/__NR_semsys.S index ee205deac20..ec24b82cfbd 100644 --- a/libc/sysv/consts/__NR_semsys.S +++ b/libc/sysv/consts/__NR_semsys.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_semsys -1 0x20000fb 0x00a9 -1 -1 -1 +.syscon nr,__NR_semsys,-1,0x20000fb,0x00a9,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_semtimedop.S b/libc/sysv/consts/__NR_semtimedop.S index 5a284d8da02..814d1f287e2 100644 --- a/libc/sysv/consts/__NR_semtimedop.S +++ b/libc/sysv/consts/__NR_semtimedop.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_semtimedop 0x00dc -1 -1 -1 -1 -1 +.syscon nr,__NR_semtimedop,0x00dc,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_semwait_signal.S b/libc/sysv/consts/__NR_semwait_signal.S index cbb69329a88..23f805c18d8 100644 --- a/libc/sysv/consts/__NR_semwait_signal.S +++ b/libc/sysv/consts/__NR_semwait_signal.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_semwait_signal -1 0x200014e -1 -1 -1 -1 +.syscon nr,__NR_semwait_signal,-1,0x200014e,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_semwait_signal_nocancel.S b/libc/sysv/consts/__NR_semwait_signal_nocancel.S index d8027cbc93c..a79490c5929 100644 --- a/libc/sysv/consts/__NR_semwait_signal_nocancel.S +++ b/libc/sysv/consts/__NR_semwait_signal_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_semwait_signal_nocancel -1 0x20001a7 -1 -1 -1 -1 +.syscon nr,__NR_semwait_signal_nocancel,-1,0x20001a7,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_send.S b/libc/sysv/consts/__NR_send.S index 44a867d77fc..c26d3016dd5 100644 --- a/libc/sysv/consts/__NR_send.S +++ b/libc/sysv/consts/__NR_send.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_send -1 -1 0x0065 -1 -1 -1 +.syscon nr,__NR_send,-1,-1,0x0065,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sendfile.S b/libc/sysv/consts/__NR_sendfile.S index 4f383196a57..dffa449b9b7 100644 --- a/libc/sysv/consts/__NR_sendfile.S +++ b/libc/sysv/consts/__NR_sendfile.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sendfile 0x0028 0x2000151 0x0189 -1 -1 -1 +.syscon nr,__NR_sendfile,0x0028,0x2000151,0x0189,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sendmmsg.S b/libc/sysv/consts/__NR_sendmmsg.S index e7bf231e2c5..a21db578fb6 100644 --- a/libc/sysv/consts/__NR_sendmmsg.S +++ b/libc/sysv/consts/__NR_sendmmsg.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sendmmsg 0x0133 -1 -1 -1 0x1dc -1 +.syscon nr,__NR_sendmmsg,0x0133,-1,-1,-1,0x1dc,-1 diff --git a/libc/sysv/consts/__NR_sendmsg.S b/libc/sysv/consts/__NR_sendmsg.S index 1fbc288b324..d5abb33d5e5 100644 --- a/libc/sysv/consts/__NR_sendmsg.S +++ b/libc/sysv/consts/__NR_sendmsg.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sendmsg 0x002e 0x200001c 0x001c 0x001c 0x01c -1 +.syscon nr,__NR_sendmsg,0x002e,0x200001c,0x001c,0x001c,0x01c,-1 diff --git a/libc/sysv/consts/__NR_sendmsg_nocancel.S b/libc/sysv/consts/__NR_sendmsg_nocancel.S index 26f33f20459..3e75d05f798 100644 --- a/libc/sysv/consts/__NR_sendmsg_nocancel.S +++ b/libc/sysv/consts/__NR_sendmsg_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sendmsg_nocancel -1 0x2000192 -1 -1 -1 -1 +.syscon nr,__NR_sendmsg_nocancel,-1,0x2000192,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sendmsg_x.S b/libc/sysv/consts/__NR_sendmsg_x.S index f966514a31a..ed6c80b7909 100644 --- a/libc/sysv/consts/__NR_sendmsg_x.S +++ b/libc/sysv/consts/__NR_sendmsg_x.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sendmsg_x -1 0x20001e1 -1 -1 -1 -1 +.syscon nr,__NR_sendmsg_x,-1,0x20001e1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sendsyslog.S b/libc/sysv/consts/__NR_sendsyslog.S index a23f76877bd..00f7c1c7552 100644 --- a/libc/sysv/consts/__NR_sendsyslog.S +++ b/libc/sysv/consts/__NR_sendsyslog.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sendsyslog -1 -1 -1 0x0070 -1 -1 +.syscon nr,__NR_sendsyslog,-1,-1,-1,0x0070,-1,-1 diff --git a/libc/sysv/consts/__NR_sendto.S b/libc/sysv/consts/__NR_sendto.S index 061740bb122..245744bffd9 100644 --- a/libc/sysv/consts/__NR_sendto.S +++ b/libc/sysv/consts/__NR_sendto.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sendto 0x002c 0x2000085 0x0085 0x0085 0x085 -1 +.syscon nr,__NR_sendto,0x002c,0x2000085,0x0085,0x0085,0x085,-1 diff --git a/libc/sysv/consts/__NR_sendto_nocancel.S b/libc/sysv/consts/__NR_sendto_nocancel.S index 6414a542b6a..f663864d06b 100644 --- a/libc/sysv/consts/__NR_sendto_nocancel.S +++ b/libc/sysv/consts/__NR_sendto_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sendto_nocancel -1 0x200019d -1 -1 -1 -1 +.syscon nr,__NR_sendto_nocancel,-1,0x200019d,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_set_mempolicy.S b/libc/sysv/consts/__NR_set_mempolicy.S index a340dca7737..4e182f730a2 100644 --- a/libc/sysv/consts/__NR_set_mempolicy.S +++ b/libc/sysv/consts/__NR_set_mempolicy.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_set_mempolicy 0x00ee -1 -1 -1 -1 -1 +.syscon nr,__NR_set_mempolicy,0x00ee,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_set_robust_list.S b/libc/sysv/consts/__NR_set_robust_list.S index 27b83a6a345..735687c72a9 100644 --- a/libc/sysv/consts/__NR_set_robust_list.S +++ b/libc/sysv/consts/__NR_set_robust_list.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_set_robust_list 0x0111 -1 -1 -1 -1 -1 +.syscon nr,__NR_set_robust_list,0x0111,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_set_tcb.S b/libc/sysv/consts/__NR_set_tcb.S index fdf4d33a5c7..b7255fcda2e 100644 --- a/libc/sysv/consts/__NR_set_tcb.S +++ b/libc/sysv/consts/__NR_set_tcb.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_set_tcb -1 -1 -1 0x0149 -1 -1 +.syscon nr,__NR_set_tcb,-1,-1,-1,0x0149,-1,-1 diff --git a/libc/sysv/consts/__NR_set_tid_address.S b/libc/sysv/consts/__NR_set_tid_address.S index 036cc0fd92d..862ce412c37 100644 --- a/libc/sysv/consts/__NR_set_tid_address.S +++ b/libc/sysv/consts/__NR_set_tid_address.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_set_tid_address 0x00da -1 -1 -1 -1 -1 +.syscon nr,__NR_set_tid_address,0x00da,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_setattrlist.S b/libc/sysv/consts/__NR_setattrlist.S index 2f20d715164..fb81bc0bd29 100644 --- a/libc/sysv/consts/__NR_setattrlist.S +++ b/libc/sysv/consts/__NR_setattrlist.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setattrlist -1 0x20000dd -1 -1 -1 -1 +.syscon nr,__NR_setattrlist,-1,0x20000dd,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_setattrlistat.S b/libc/sysv/consts/__NR_setattrlistat.S index 16441a175da..b5e083e71b6 100644 --- a/libc/sysv/consts/__NR_setattrlistat.S +++ b/libc/sysv/consts/__NR_setattrlistat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setattrlistat -1 0x200020c -1 -1 -1 -1 +.syscon nr,__NR_setattrlistat,-1,0x200020c,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_setaudit.S b/libc/sysv/consts/__NR_setaudit.S index d652077a146..257ce861ac7 100644 --- a/libc/sysv/consts/__NR_setaudit.S +++ b/libc/sysv/consts/__NR_setaudit.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setaudit -1 -1 0x01c2 -1 -1 -1 +.syscon nr,__NR_setaudit,-1,-1,0x01c2,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_setaudit_addr.S b/libc/sysv/consts/__NR_setaudit_addr.S index 7c1e30787d1..7b0329d5446 100644 --- a/libc/sysv/consts/__NR_setaudit_addr.S +++ b/libc/sysv/consts/__NR_setaudit_addr.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setaudit_addr -1 0x2000166 0x01c4 -1 -1 -1 +.syscon nr,__NR_setaudit_addr,-1,0x2000166,0x01c4,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_setauid.S b/libc/sysv/consts/__NR_setauid.S index a3f94f3c88f..cd3919d94e2 100644 --- a/libc/sysv/consts/__NR_setauid.S +++ b/libc/sysv/consts/__NR_setauid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setauid -1 0x2000162 0x01c0 -1 -1 -1 +.syscon nr,__NR_setauid,-1,0x2000162,0x01c0,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_setcontext.S b/libc/sysv/consts/__NR_setcontext.S index 454fab2018a..58ba4bfb52a 100644 --- a/libc/sysv/consts/__NR_setcontext.S +++ b/libc/sysv/consts/__NR_setcontext.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setcontext -1 -1 0x01a6 -1 0x134 -1 +.syscon nr,__NR_setcontext,-1,-1,0x01a6,-1,0x134,-1 diff --git a/libc/sysv/consts/__NR_setdomainname.S b/libc/sysv/consts/__NR_setdomainname.S index d23ef2a3a7f..cfda3d87c5b 100644 --- a/libc/sysv/consts/__NR_setdomainname.S +++ b/libc/sysv/consts/__NR_setdomainname.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setdomainname 0x00ab -1 0x00a3 -1 -1 -1 +.syscon nr,__NR_setdomainname,0x00ab,-1,0x00a3,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_setegid.S b/libc/sysv/consts/__NR_setegid.S index e8ba0908768..59568bff2c2 100644 --- a/libc/sysv/consts/__NR_setegid.S +++ b/libc/sysv/consts/__NR_setegid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setegid -1 0x20000b6 0x00b6 0x00b6 -1 -1 +.syscon nr,__NR_setegid,-1,0x20000b6,0x00b6,0x00b6,-1,-1 diff --git a/libc/sysv/consts/__NR_seteuid.S b/libc/sysv/consts/__NR_seteuid.S index b6a8e7954da..583f892f696 100644 --- a/libc/sysv/consts/__NR_seteuid.S +++ b/libc/sysv/consts/__NR_seteuid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_seteuid -1 0x20000b7 0x00b7 0x00b7 -1 -1 +.syscon nr,__NR_seteuid,-1,0x20000b7,0x00b7,0x00b7,-1,-1 diff --git a/libc/sysv/consts/__NR_setfib.S b/libc/sysv/consts/__NR_setfib.S index e01525e18b6..b66fef2fc94 100644 --- a/libc/sysv/consts/__NR_setfib.S +++ b/libc/sysv/consts/__NR_setfib.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setfib -1 -1 0x00af -1 -1 -1 +.syscon nr,__NR_setfib,-1,-1,0x00af,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_setfsgid.S b/libc/sysv/consts/__NR_setfsgid.S index 3b62de5a6a2..19e00555786 100644 --- a/libc/sysv/consts/__NR_setfsgid.S +++ b/libc/sysv/consts/__NR_setfsgid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setfsgid 0x007b -1 -1 -1 -1 -1 +.syscon nr,__NR_setfsgid,0x007b,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_setfsuid.S b/libc/sysv/consts/__NR_setfsuid.S index f00e0058788..4ceb05e3971 100644 --- a/libc/sysv/consts/__NR_setfsuid.S +++ b/libc/sysv/consts/__NR_setfsuid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setfsuid 0x007a -1 -1 -1 -1 -1 +.syscon nr,__NR_setfsuid,0x007a,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_setgid.S b/libc/sysv/consts/__NR_setgid.S index a21224c4617..2a6fe68d9f9 100644 --- a/libc/sysv/consts/__NR_setgid.S +++ b/libc/sysv/consts/__NR_setgid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setgid 0x006a 0x20000b5 0x00b5 0x00b5 0x0b5 -1 +.syscon nr,__NR_setgid,0x006a,0x20000b5,0x00b5,0x00b5,0x0b5,-1 diff --git a/libc/sysv/consts/__NR_setgroups.S b/libc/sysv/consts/__NR_setgroups.S index 123c424f2c9..155d66860b3 100644 --- a/libc/sysv/consts/__NR_setgroups.S +++ b/libc/sysv/consts/__NR_setgroups.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setgroups 0x0074 0x2000050 0x0050 0x0050 0x050 -1 +.syscon nr,__NR_setgroups,0x0074,0x2000050,0x0050,0x0050,0x050,-1 diff --git a/libc/sysv/consts/__NR_sethostid.S b/libc/sysv/consts/__NR_sethostid.S index c1568f1fb84..914438de6c1 100644 --- a/libc/sysv/consts/__NR_sethostid.S +++ b/libc/sysv/consts/__NR_sethostid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sethostid -1 -1 0x008f -1 -1 -1 +.syscon nr,__NR_sethostid,-1,-1,0x008f,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sethostname.S b/libc/sysv/consts/__NR_sethostname.S index d9908757704..1b9f8a1dd6e 100644 --- a/libc/sysv/consts/__NR_sethostname.S +++ b/libc/sysv/consts/__NR_sethostname.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sethostname 0x00aa -1 0x0058 -1 -1 -1 +.syscon nr,__NR_sethostname,0x00aa,-1,0x0058,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_setitimer.S b/libc/sysv/consts/__NR_setitimer.S index 104ea4dff65..adf836e8ba5 100644 --- a/libc/sysv/consts/__NR_setitimer.S +++ b/libc/sysv/consts/__NR_setitimer.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setitimer 0x0026 0x2000053 0x0053 0x0045 0x1a9 -1 +.syscon nr,__NR_setitimer,0x0026,0x2000053,0x0053,0x0045,0x1a9,-1 diff --git a/libc/sysv/consts/__NR_setlogin.S b/libc/sysv/consts/__NR_setlogin.S index fc0f8290592..94372567cb5 100644 --- a/libc/sysv/consts/__NR_setlogin.S +++ b/libc/sysv/consts/__NR_setlogin.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setlogin -1 0x2000032 0x0032 0x0032 -1 -1 +.syscon nr,__NR_setlogin,-1,0x2000032,0x0032,0x0032,-1,-1 diff --git a/libc/sysv/consts/__NR_setloginclass.S b/libc/sysv/consts/__NR_setloginclass.S index 7e26b8e38d3..b4a56acd74f 100644 --- a/libc/sysv/consts/__NR_setloginclass.S +++ b/libc/sysv/consts/__NR_setloginclass.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setloginclass -1 -1 0x020c -1 -1 -1 +.syscon nr,__NR_setloginclass,-1,-1,0x020c,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_setns.S b/libc/sysv/consts/__NR_setns.S index a91ce35668f..dd8150114aa 100644 --- a/libc/sysv/consts/__NR_setns.S +++ b/libc/sysv/consts/__NR_setns.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setns 0x0134 -1 -1 -1 -1 -1 +.syscon nr,__NR_setns,0x0134,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_setpgid.S b/libc/sysv/consts/__NR_setpgid.S index 26194af931d..7f16059d494 100644 --- a/libc/sysv/consts/__NR_setpgid.S +++ b/libc/sysv/consts/__NR_setpgid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setpgid 0x006d 0x2000052 0x0052 0x0052 0x052 -1 +.syscon nr,__NR_setpgid,0x006d,0x2000052,0x0052,0x0052,0x052,-1 diff --git a/libc/sysv/consts/__NR_setpriority.S b/libc/sysv/consts/__NR_setpriority.S index aed8204a6f0..f1987e1893e 100644 --- a/libc/sysv/consts/__NR_setpriority.S +++ b/libc/sysv/consts/__NR_setpriority.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setpriority 0x008d 0x2000060 0x0060 0x0060 0x060 -1 +.syscon nr,__NR_setpriority,0x008d,0x2000060,0x0060,0x0060,0x060,-1 diff --git a/libc/sysv/consts/__NR_setprivexec.S b/libc/sysv/consts/__NR_setprivexec.S index 071a1fa18a7..8cd0aa7c6aa 100644 --- a/libc/sysv/consts/__NR_setprivexec.S +++ b/libc/sysv/consts/__NR_setprivexec.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setprivexec -1 0x2000098 -1 -1 -1 -1 +.syscon nr,__NR_setprivexec,-1,0x2000098,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_setregid.S b/libc/sysv/consts/__NR_setregid.S index 1ecf91b991f..f61a350d70b 100644 --- a/libc/sysv/consts/__NR_setregid.S +++ b/libc/sysv/consts/__NR_setregid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setregid 0x0072 0x200007f 0x007f 0x007f 0x07f -1 +.syscon nr,__NR_setregid,0x0072,0x200007f,0x007f,0x007f,0x07f,-1 diff --git a/libc/sysv/consts/__NR_setresgid.S b/libc/sysv/consts/__NR_setresgid.S index 164ffebad8a..b5a79363c2c 100644 --- a/libc/sysv/consts/__NR_setresgid.S +++ b/libc/sysv/consts/__NR_setresgid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setresgid 0x0077 -1 0x0138 0x011c -1 -1 +.syscon nr,__NR_setresgid,0x0077,-1,0x0138,0x011c,-1,-1 diff --git a/libc/sysv/consts/__NR_setresuid.S b/libc/sysv/consts/__NR_setresuid.S index daa8c8b7626..9f2ae1d0dc4 100644 --- a/libc/sysv/consts/__NR_setresuid.S +++ b/libc/sysv/consts/__NR_setresuid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setresuid 0x0075 -1 0x0137 0x011a -1 -1 +.syscon nr,__NR_setresuid,0x0075,-1,0x0137,0x011a,-1,-1 diff --git a/libc/sysv/consts/__NR_setreuid.S b/libc/sysv/consts/__NR_setreuid.S index ddbec209f6e..d500abdbf65 100644 --- a/libc/sysv/consts/__NR_setreuid.S +++ b/libc/sysv/consts/__NR_setreuid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setreuid 0x0071 0x200007e 0x007e 0x007e 0x07e -1 +.syscon nr,__NR_setreuid,0x0071,0x200007e,0x007e,0x007e,0x07e,-1 diff --git a/libc/sysv/consts/__NR_setrlimit.S b/libc/sysv/consts/__NR_setrlimit.S index 1486aea77f0..b62321d2131 100644 --- a/libc/sysv/consts/__NR_setrlimit.S +++ b/libc/sysv/consts/__NR_setrlimit.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setrlimit 0x00a0 0x20000c3 0x00c3 0x00c3 0x0c3 -1 +.syscon nr,__NR_setrlimit,0x00a0,0x20000c3,0x00c3,0x00c3,0x0c3,-1 diff --git a/libc/sysv/consts/__NR_setrtable.S b/libc/sysv/consts/__NR_setrtable.S index 5540cfb3c22..5f37ed39955 100644 --- a/libc/sysv/consts/__NR_setrtable.S +++ b/libc/sysv/consts/__NR_setrtable.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setrtable -1 -1 -1 0x0136 -1 -1 +.syscon nr,__NR_setrtable,-1,-1,-1,0x0136,-1,-1 diff --git a/libc/sysv/consts/__NR_setsgroups.S b/libc/sysv/consts/__NR_setsgroups.S index 5d6adcc51dc..e67650e8cc7 100644 --- a/libc/sysv/consts/__NR_setsgroups.S +++ b/libc/sysv/consts/__NR_setsgroups.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setsgroups -1 0x200011f -1 -1 -1 -1 +.syscon nr,__NR_setsgroups,-1,0x200011f,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_setsid.S b/libc/sysv/consts/__NR_setsid.S index 87592180ff5..37a29c1f910 100644 --- a/libc/sysv/consts/__NR_setsid.S +++ b/libc/sysv/consts/__NR_setsid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setsid 0x0070 0x2000093 0x0093 0x0093 0x093 -1 +.syscon nr,__NR_setsid,0x0070,0x2000093,0x0093,0x0093,0x093,-1 diff --git a/libc/sysv/consts/__NR_setsockopt.S b/libc/sysv/consts/__NR_setsockopt.S index ce3d291647e..506f94d457b 100644 --- a/libc/sysv/consts/__NR_setsockopt.S +++ b/libc/sysv/consts/__NR_setsockopt.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setsockopt 0x0036 0x2000069 0x0069 0x0069 0x069 -1 +.syscon nr,__NR_setsockopt,0x0036,0x2000069,0x0069,0x0069,0x069,-1 diff --git a/libc/sysv/consts/__NR_settid.S b/libc/sysv/consts/__NR_settid.S index cf0c6f7508d..4f25cb522f4 100644 --- a/libc/sysv/consts/__NR_settid.S +++ b/libc/sysv/consts/__NR_settid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_settid -1 0x200011d -1 -1 -1 -1 +.syscon nr,__NR_settid,-1,0x200011d,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_settid_with_pid.S b/libc/sysv/consts/__NR_settid_with_pid.S index 4f53f12a5e8..aa19be42713 100644 --- a/libc/sysv/consts/__NR_settid_with_pid.S +++ b/libc/sysv/consts/__NR_settid_with_pid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_settid_with_pid -1 0x2000137 -1 -1 -1 -1 +.syscon nr,__NR_settid_with_pid,-1,0x2000137,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_settimeofday.S b/libc/sysv/consts/__NR_settimeofday.S index c2bba2652bb..064be808ae7 100644 --- a/libc/sysv/consts/__NR_settimeofday.S +++ b/libc/sysv/consts/__NR_settimeofday.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_settimeofday 0x00a4 0x200007a 0x007a 0x0044 0x1a3 -1 +.syscon nr,__NR_settimeofday,0x00a4,0x200007a,0x007a,0x0044,0x1a3,-1 diff --git a/libc/sysv/consts/__NR_setugid.S b/libc/sysv/consts/__NR_setugid.S index a94623403cc..4ba58462c4d 100644 --- a/libc/sysv/consts/__NR_setugid.S +++ b/libc/sysv/consts/__NR_setugid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setugid -1 -1 0x0176 -1 -1 -1 +.syscon nr,__NR_setugid,-1,-1,0x0176,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_setuid.S b/libc/sysv/consts/__NR_setuid.S index 57485ea795e..15662212d99 100644 --- a/libc/sysv/consts/__NR_setuid.S +++ b/libc/sysv/consts/__NR_setuid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setuid 0x0069 0x2000017 0x0017 0x0017 0x017 -1 +.syscon nr,__NR_setuid,0x0069,0x2000017,0x0017,0x0017,0x017,-1 diff --git a/libc/sysv/consts/__NR_setwgroups.S b/libc/sysv/consts/__NR_setwgroups.S index d1c8b6de389..6c088a5c39f 100644 --- a/libc/sysv/consts/__NR_setwgroups.S +++ b/libc/sysv/consts/__NR_setwgroups.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setwgroups -1 0x2000121 -1 -1 -1 -1 +.syscon nr,__NR_setwgroups,-1,0x2000121,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_setxattr.S b/libc/sysv/consts/__NR_setxattr.S index 41cb4f727d0..45055d3c2f7 100644 --- a/libc/sysv/consts/__NR_setxattr.S +++ b/libc/sysv/consts/__NR_setxattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_setxattr 0x00bc 0x20000ec -1 -1 0x177 -1 +.syscon nr,__NR_setxattr,0x00bc,0x20000ec,-1,-1,0x177,-1 diff --git a/libc/sysv/consts/__NR_sfi_ctl.S b/libc/sysv/consts/__NR_sfi_ctl.S index 11b3f4e8ca9..b233327ec0e 100644 --- a/libc/sysv/consts/__NR_sfi_ctl.S +++ b/libc/sysv/consts/__NR_sfi_ctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sfi_ctl -1 0x20001c8 -1 -1 -1 -1 +.syscon nr,__NR_sfi_ctl,-1,0x20001c8,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sfi_pidctl.S b/libc/sysv/consts/__NR_sfi_pidctl.S index 624a3da8dac..b135b93baeb 100644 --- a/libc/sysv/consts/__NR_sfi_pidctl.S +++ b/libc/sysv/consts/__NR_sfi_pidctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sfi_pidctl -1 0x20001c9 -1 -1 -1 -1 +.syscon nr,__NR_sfi_pidctl,-1,0x20001c9,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_shared_region_check_np.S b/libc/sysv/consts/__NR_shared_region_check_np.S index a658ff5cf59..f5e2f88ec6e 100644 --- a/libc/sysv/consts/__NR_shared_region_check_np.S +++ b/libc/sysv/consts/__NR_shared_region_check_np.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_shared_region_check_np -1 0x2000126 -1 -1 -1 -1 +.syscon nr,__NR_shared_region_check_np,-1,0x2000126,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_shared_region_map_and_slide_np.S b/libc/sysv/consts/__NR_shared_region_map_and_slide_np.S index cc330156723..1bb95892ef9 100644 --- a/libc/sysv/consts/__NR_shared_region_map_and_slide_np.S +++ b/libc/sysv/consts/__NR_shared_region_map_and_slide_np.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_shared_region_map_and_slide_np -1 0x20001b6 -1 -1 -1 -1 +.syscon nr,__NR_shared_region_map_and_slide_np,-1,0x20001b6,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_shm_open.S b/libc/sysv/consts/__NR_shm_open.S index e319126dd34..cc6665589c0 100644 --- a/libc/sysv/consts/__NR_shm_open.S +++ b/libc/sysv/consts/__NR_shm_open.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_shm_open -1 0x200010a 0x01e2 -1 -1 -1 +.syscon nr,__NR_shm_open,-1,0x200010a,0x01e2,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_shm_unlink.S b/libc/sysv/consts/__NR_shm_unlink.S index cc2b545df10..a2bf8ea853d 100644 --- a/libc/sysv/consts/__NR_shm_unlink.S +++ b/libc/sysv/consts/__NR_shm_unlink.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_shm_unlink -1 0x200010b 0x01e3 -1 -1 -1 +.syscon nr,__NR_shm_unlink,-1,0x200010b,0x01e3,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_shmat.S b/libc/sysv/consts/__NR_shmat.S index f9fea0d5423..1652867d7a3 100644 --- a/libc/sysv/consts/__NR_shmat.S +++ b/libc/sysv/consts/__NR_shmat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_shmat 0x001e 0x2000106 0x00e4 0x00e4 0x0e4 -1 +.syscon nr,__NR_shmat,0x001e,0x2000106,0x00e4,0x00e4,0x0e4,-1 diff --git a/libc/sysv/consts/__NR_shmctl.S b/libc/sysv/consts/__NR_shmctl.S index 53cde7c46ae..30409088c90 100644 --- a/libc/sysv/consts/__NR_shmctl.S +++ b/libc/sysv/consts/__NR_shmctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_shmctl 0x001f 0x2000107 0x0200 0x0128 0x1bb -1 +.syscon nr,__NR_shmctl,0x001f,0x2000107,0x0200,0x0128,0x1bb,-1 diff --git a/libc/sysv/consts/__NR_shmdt.S b/libc/sysv/consts/__NR_shmdt.S index 4507945b1ef..11a967441f9 100644 --- a/libc/sysv/consts/__NR_shmdt.S +++ b/libc/sysv/consts/__NR_shmdt.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_shmdt 0x0043 0x2000108 0x00e6 0x00e6 0x0e6 -1 +.syscon nr,__NR_shmdt,0x0043,0x2000108,0x00e6,0x00e6,0x0e6,-1 diff --git a/libc/sysv/consts/__NR_shmget.S b/libc/sysv/consts/__NR_shmget.S index 7dcef26e89e..a07e234242a 100644 --- a/libc/sysv/consts/__NR_shmget.S +++ b/libc/sysv/consts/__NR_shmget.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_shmget 0x001d 0x2000109 0x00e7 0x0121 0x0e7 -1 +.syscon nr,__NR_shmget,0x001d,0x2000109,0x00e7,0x0121,0x0e7,-1 diff --git a/libc/sysv/consts/__NR_shmsys.S b/libc/sysv/consts/__NR_shmsys.S index 0320930f445..d299dddc32c 100644 --- a/libc/sysv/consts/__NR_shmsys.S +++ b/libc/sysv/consts/__NR_shmsys.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_shmsys -1 0x20000fd 0x00ab -1 -1 -1 +.syscon nr,__NR_shmsys,-1,0x20000fd,0x00ab,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_shutdown.S b/libc/sysv/consts/__NR_shutdown.S index cf01a40dcd4..b5131231e71 100644 --- a/libc/sysv/consts/__NR_shutdown.S +++ b/libc/sysv/consts/__NR_shutdown.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_shutdown 0x0030 0x2000086 0x0086 0x0086 0x086 -1 +.syscon nr,__NR_shutdown,0x0030,0x2000086,0x0086,0x0086,0x086,-1 diff --git a/libc/sysv/consts/__NR_sigaction.S b/libc/sysv/consts/__NR_sigaction.S index ae55d26838f..a91b89545dc 100644 --- a/libc/sysv/consts/__NR_sigaction.S +++ b/libc/sysv/consts/__NR_sigaction.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sigaction 0x000d 0x200002e 0x01a0 0x002e 0x154 -1 +.syscon nr,__NR_sigaction,0x000d,0x200002e,0x01a0,0x002e,0x154,-1 diff --git a/libc/sysv/consts/__NR_sigaltstack.S b/libc/sysv/consts/__NR_sigaltstack.S index 783cc3e2c7e..734fa18d5ab 100644 --- a/libc/sysv/consts/__NR_sigaltstack.S +++ b/libc/sysv/consts/__NR_sigaltstack.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sigaltstack 0x0083 0x2000035 0x0035 0x0120 0x119 -1 +.syscon nr,__NR_sigaltstack,0x0083,0x2000035,0x0035,0x0120,0x119,-1 diff --git a/libc/sysv/consts/__NR_sigblock.S b/libc/sysv/consts/__NR_sigblock.S index 167e5305b3e..bb696206956 100644 --- a/libc/sysv/consts/__NR_sigblock.S +++ b/libc/sysv/consts/__NR_sigblock.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sigblock -1 -1 0x006d -1 -1 -1 +.syscon nr,__NR_sigblock,-1,-1,0x006d,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_signalfd.S b/libc/sysv/consts/__NR_signalfd.S index efc4480cbd1..7bfe0b9d980 100644 --- a/libc/sysv/consts/__NR_signalfd.S +++ b/libc/sysv/consts/__NR_signalfd.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_signalfd 0x011a -1 -1 -1 -1 -1 +.syscon nr,__NR_signalfd,0x011a,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_signalfd4.S b/libc/sysv/consts/__NR_signalfd4.S index cee495b9af1..1b815043061 100644 --- a/libc/sysv/consts/__NR_signalfd4.S +++ b/libc/sysv/consts/__NR_signalfd4.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_signalfd4 0x0121 -1 -1 -1 -1 -1 +.syscon nr,__NR_signalfd4,0x0121,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sigpending.S b/libc/sysv/consts/__NR_sigpending.S index 0fc7c87667b..b2ab0d9b648 100644 --- a/libc/sysv/consts/__NR_sigpending.S +++ b/libc/sysv/consts/__NR_sigpending.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sigpending 0x007f 0x2000034 0x0034 0x0034 0x124 -1 +.syscon nr,__NR_sigpending,0x007f,0x2000034,0x0034,0x0034,0x124,-1 diff --git a/libc/sysv/consts/__NR_sigprocmask.S b/libc/sysv/consts/__NR_sigprocmask.S index 51a25921d46..2a1dd867ad1 100644 --- a/libc/sysv/consts/__NR_sigprocmask.S +++ b/libc/sysv/consts/__NR_sigprocmask.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sigprocmask 0x000e 0x2000030 0x0154 0x0030 0x125 -1 +.syscon nr,__NR_sigprocmask,0x000e,0x2000030,0x0154,0x0030,0x125,-1 diff --git a/libc/sysv/consts/__NR_sigqueue.S b/libc/sysv/consts/__NR_sigqueue.S index fa4d80c1afb..1808d470403 100644 --- a/libc/sysv/consts/__NR_sigqueue.S +++ b/libc/sysv/consts/__NR_sigqueue.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sigqueue -1 -1 0x01c8 -1 -1 -1 +.syscon nr,__NR_sigqueue,-1,-1,0x01c8,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sigsetmask.S b/libc/sysv/consts/__NR_sigsetmask.S index fe86ae73b40..58180653e5e 100644 --- a/libc/sysv/consts/__NR_sigsetmask.S +++ b/libc/sysv/consts/__NR_sigsetmask.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sigsetmask -1 -1 0x006e -1 -1 -1 +.syscon nr,__NR_sigsetmask,-1,-1,0x006e,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sigstack.S b/libc/sysv/consts/__NR_sigstack.S index 0931a233d81..9661abdf0e5 100644 --- a/libc/sysv/consts/__NR_sigstack.S +++ b/libc/sysv/consts/__NR_sigstack.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sigstack -1 -1 0x0070 -1 -1 -1 +.syscon nr,__NR_sigstack,-1,-1,0x0070,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sigsuspend.S b/libc/sysv/consts/__NR_sigsuspend.S index cfa9aa8770f..25b9a1fb7c7 100644 --- a/libc/sysv/consts/__NR_sigsuspend.S +++ b/libc/sysv/consts/__NR_sigsuspend.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sigsuspend 0x0082 0x200006f 0x0155 0x006f 0x126 -1 +.syscon nr,__NR_sigsuspend,0x0082,0x200006f,0x0155,0x006f,0x126,-1 diff --git a/libc/sysv/consts/__NR_sigsuspend_nocancel.S b/libc/sysv/consts/__NR_sigsuspend_nocancel.S index ac7702f2a11..388ae662e7d 100644 --- a/libc/sysv/consts/__NR_sigsuspend_nocancel.S +++ b/libc/sysv/consts/__NR_sigsuspend_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sigsuspend_nocancel -1 0x200019a -1 -1 -1 -1 +.syscon nr,__NR_sigsuspend_nocancel,-1,0x200019a,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sigtimedwait.S b/libc/sysv/consts/__NR_sigtimedwait.S index 22b3e5b4d30..c1c1c7d1399 100644 --- a/libc/sysv/consts/__NR_sigtimedwait.S +++ b/libc/sysv/consts/__NR_sigtimedwait.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sigtimedwait 0x0080 -1 0x0159 -1 -1 -1 +.syscon nr,__NR_sigtimedwait,0x0080,-1,0x0159,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sigvec.S b/libc/sysv/consts/__NR_sigvec.S index e0a6e228de6..fbbf5c9fd10 100644 --- a/libc/sysv/consts/__NR_sigvec.S +++ b/libc/sysv/consts/__NR_sigvec.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sigvec -1 -1 0x006c -1 -1 -1 +.syscon nr,__NR_sigvec,-1,-1,0x006c,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sigwait.S b/libc/sysv/consts/__NR_sigwait.S index 11a5a1508f7..5134fe8fef7 100644 --- a/libc/sysv/consts/__NR_sigwait.S +++ b/libc/sysv/consts/__NR_sigwait.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sigwait -1 0x200014a 0x01ad -1 -1 -1 +.syscon nr,__NR_sigwait,-1,0x200014a,0x01ad,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sigwait_nocancel.S b/libc/sysv/consts/__NR_sigwait_nocancel.S index 53af84f9ca2..8c319fc91cd 100644 --- a/libc/sysv/consts/__NR_sigwait_nocancel.S +++ b/libc/sysv/consts/__NR_sigwait_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sigwait_nocancel -1 0x20001a6 -1 -1 -1 -1 +.syscon nr,__NR_sigwait_nocancel,-1,0x20001a6,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sigwaitinfo.S b/libc/sysv/consts/__NR_sigwaitinfo.S index 4495ef77a13..780544d66b3 100644 --- a/libc/sysv/consts/__NR_sigwaitinfo.S +++ b/libc/sysv/consts/__NR_sigwaitinfo.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sigwaitinfo -1 -1 0x015a -1 -1 -1 +.syscon nr,__NR_sigwaitinfo,-1,-1,0x015a,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_socket.S b/libc/sysv/consts/__NR_socket.S index e5953ade149..9e0e01c0178 100644 --- a/libc/sysv/consts/__NR_socket.S +++ b/libc/sysv/consts/__NR_socket.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_socket 0x0029 0x2000061 0x0061 0x0061 0x18a -1 +.syscon nr,__NR_socket,0x0029,0x2000061,0x0061,0x0061,0x18a,-1 diff --git a/libc/sysv/consts/__NR_socket_delegate.S b/libc/sysv/consts/__NR_socket_delegate.S index 5ad863d55ca..e9f3a236db6 100644 --- a/libc/sysv/consts/__NR_socket_delegate.S +++ b/libc/sysv/consts/__NR_socket_delegate.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_socket_delegate -1 0x20001c2 -1 -1 -1 -1 +.syscon nr,__NR_socket_delegate,-1,0x20001c2,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_socketpair.S b/libc/sysv/consts/__NR_socketpair.S index 30319c9b819..97fe589ef50 100644 --- a/libc/sysv/consts/__NR_socketpair.S +++ b/libc/sysv/consts/__NR_socketpair.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_socketpair 0x0035 0x2000087 0x0087 0x0087 0x087 -1 +.syscon nr,__NR_socketpair,0x0035,0x2000087,0x0087,0x0087,0x087,-1 diff --git a/libc/sysv/consts/__NR_splice.S b/libc/sysv/consts/__NR_splice.S index ed3f71020a5..c89f1f68007 100644 --- a/libc/sysv/consts/__NR_splice.S +++ b/libc/sysv/consts/__NR_splice.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_splice 0x0113 -1 -1 -1 -1 -1 +.syscon nr,__NR_splice,0x0113,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sstk.S b/libc/sysv/consts/__NR_sstk.S index 1399a6c4306..74f5aba15bf 100644 --- a/libc/sysv/consts/__NR_sstk.S +++ b/libc/sysv/consts/__NR_sstk.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sstk -1 -1 0x0046 -1 -1 -1 +.syscon nr,__NR_sstk,-1,-1,0x0046,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_stack_snapshot_with_config.S b/libc/sysv/consts/__NR_stack_snapshot_with_config.S index bb84b87d39f..ace50de6d9f 100644 --- a/libc/sysv/consts/__NR_stack_snapshot_with_config.S +++ b/libc/sysv/consts/__NR_stack_snapshot_with_config.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_stack_snapshot_with_config -1 0x20001eb -1 -1 -1 -1 +.syscon nr,__NR_stack_snapshot_with_config,-1,0x20001eb,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_stat.S b/libc/sysv/consts/__NR_stat.S index c42042ab79f..677bde6e50b 100644 --- a/libc/sysv/consts/__NR_stat.S +++ b/libc/sysv/consts/__NR_stat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_stat 0x0004 0x2000152 -1 0x0026 0x1b7 -1 +.syscon nr,__NR_stat,0x0004,0x2000152,-1,0x0026,0x1b7,-1 diff --git a/libc/sysv/consts/__NR_stat_extended.S b/libc/sysv/consts/__NR_stat_extended.S index 959d7bf75e9..fde666c7891 100644 --- a/libc/sysv/consts/__NR_stat_extended.S +++ b/libc/sysv/consts/__NR_stat_extended.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_stat_extended -1 0x2000155 -1 -1 -1 -1 +.syscon nr,__NR_stat_extended,-1,0x2000155,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_statfs.S b/libc/sysv/consts/__NR_statfs.S index f468eeff795..22b53ca6370 100644 --- a/libc/sysv/consts/__NR_statfs.S +++ b/libc/sysv/consts/__NR_statfs.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_statfs 0x0089 0x2000159 0x022b 0x003f -1 -1 +.syscon nr,__NR_statfs,0x0089,0x2000159,0x022b,0x003f,-1,-1 diff --git a/libc/sysv/consts/__NR_statx.S b/libc/sysv/consts/__NR_statx.S index 83442627bc3..e75fb2787cf 100644 --- a/libc/sysv/consts/__NR_statx.S +++ b/libc/sysv/consts/__NR_statx.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_statx 0x014c -1 -1 -1 -1 -1 +.syscon nr,__NR_statx,0x014c,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_swapcontext.S b/libc/sysv/consts/__NR_swapcontext.S index aefc0a95347..612248ceb05 100644 --- a/libc/sysv/consts/__NR_swapcontext.S +++ b/libc/sysv/consts/__NR_swapcontext.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_swapcontext -1 -1 0x01a7 -1 -1 -1 +.syscon nr,__NR_swapcontext,-1,-1,0x01a7,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_swapctl.S b/libc/sysv/consts/__NR_swapctl.S index e0cfacbbc91..556194a5db4 100644 --- a/libc/sysv/consts/__NR_swapctl.S +++ b/libc/sysv/consts/__NR_swapctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_swapctl -1 -1 -1 0x00c1 0x10f -1 +.syscon nr,__NR_swapctl,-1,-1,-1,0x00c1,0x10f,-1 diff --git a/libc/sysv/consts/__NR_swapoff.S b/libc/sysv/consts/__NR_swapoff.S index b0b0d9c4791..7f6a49197b0 100644 --- a/libc/sysv/consts/__NR_swapoff.S +++ b/libc/sysv/consts/__NR_swapoff.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_swapoff 0x00a8 -1 0x01a8 -1 -1 -1 +.syscon nr,__NR_swapoff,0x00a8,-1,0x01a8,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_swapon.S b/libc/sysv/consts/__NR_swapon.S index f3da4eb4672..6e1d7b63818 100644 --- a/libc/sysv/consts/__NR_swapon.S +++ b/libc/sysv/consts/__NR_swapon.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_swapon 0x00a7 0x2000055 0x0055 -1 -1 -1 +.syscon nr,__NR_swapon,0x00a7,0x2000055,0x0055,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_symlink.S b/libc/sysv/consts/__NR_symlink.S index a32cc244a49..187736234df 100644 --- a/libc/sysv/consts/__NR_symlink.S +++ b/libc/sysv/consts/__NR_symlink.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_symlink 0x0058 0x2000039 0x0039 0x0039 0x039 -1 +.syscon nr,__NR_symlink,0x0058,0x2000039,0x0039,0x0039,0x039,-1 diff --git a/libc/sysv/consts/__NR_symlinkat.S b/libc/sysv/consts/__NR_symlinkat.S index 14c9204ec45..3e2b7f1e678 100644 --- a/libc/sysv/consts/__NR_symlinkat.S +++ b/libc/sysv/consts/__NR_symlinkat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_symlinkat 0x010a 0x20001da 0x01f6 0x0144 0x1d6 -1 +.syscon nr,__NR_symlinkat,0x010a,0x20001da,0x01f6,0x0144,0x1d6,-1 diff --git a/libc/sysv/consts/__NR_sync.S b/libc/sysv/consts/__NR_sync.S index e224001bfa6..6f047de9869 100644 --- a/libc/sysv/consts/__NR_sync.S +++ b/libc/sysv/consts/__NR_sync.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sync 0x00a2 0x2000024 0x0024 0x0024 -1 -1 +.syscon nr,__NR_sync,0x00a2,0x2000024,0x0024,0x0024,-1,-1 diff --git a/libc/sysv/consts/__NR_sync_file_range.S b/libc/sysv/consts/__NR_sync_file_range.S index 31d31705e39..be7229edf00 100644 --- a/libc/sysv/consts/__NR_sync_file_range.S +++ b/libc/sysv/consts/__NR_sync_file_range.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sync_file_range 0x0115 -1 -1 -1 -1 -1 +.syscon nr,__NR_sync_file_range,0x0115,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_syncfs.S b/libc/sysv/consts/__NR_syncfs.S index 27bc7a4716f..856dc029153 100644 --- a/libc/sysv/consts/__NR_syncfs.S +++ b/libc/sysv/consts/__NR_syncfs.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_syncfs 0x0132 -1 -1 -1 -1 -1 +.syscon nr,__NR_syncfs,0x0132,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_syscall.S b/libc/sysv/consts/__NR_syscall.S index 4314a67d2a0..5a36232d071 100644 --- a/libc/sysv/consts/__NR_syscall.S +++ b/libc/sysv/consts/__NR_syscall.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_syscall -1 -1 -1 0x00c6 -1 -1 +.syscon nr,__NR_syscall,-1,-1,-1,0x00c6,-1,-1 diff --git a/libc/sysv/consts/__NR_sysctl.S b/libc/sysv/consts/__NR_sysctl.S index be6b5466be7..ae4e0028109 100644 --- a/libc/sysv/consts/__NR_sysctl.S +++ b/libc/sysv/consts/__NR_sysctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sysctl -1 0x20000ca -1 0x00ca 0x0ca -1 +.syscon nr,__NR_sysctl,-1,0x20000ca,-1,0x00ca,0x0ca,-1 diff --git a/libc/sysv/consts/__NR_sysctlbyname.S b/libc/sysv/consts/__NR_sysctlbyname.S index 70fba8e9fff..4fae2f87447 100644 --- a/libc/sysv/consts/__NR_sysctlbyname.S +++ b/libc/sysv/consts/__NR_sysctlbyname.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sysctlbyname -1 0x2000112 -1 -1 -1 -1 +.syscon nr,__NR_sysctlbyname,-1,0x2000112,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sysfs.S b/libc/sysv/consts/__NR_sysfs.S index c31fddb8b18..a98b3e7f402 100644 --- a/libc/sysv/consts/__NR_sysfs.S +++ b/libc/sysv/consts/__NR_sysfs.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sysfs 0x008b -1 -1 -1 -1 -1 +.syscon nr,__NR_sysfs,0x008b,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_sysinfo.S b/libc/sysv/consts/__NR_sysinfo.S index 933850ac919..07e0c77245d 100644 --- a/libc/sysv/consts/__NR_sysinfo.S +++ b/libc/sysv/consts/__NR_sysinfo.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_sysinfo 0x0063 -1 -1 -1 -1 -1 +.syscon nr,__NR_sysinfo,0x0063,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_syslog.S b/libc/sysv/consts/__NR_syslog.S index 35361b56d47..c0862574405 100644 --- a/libc/sysv/consts/__NR_syslog.S +++ b/libc/sysv/consts/__NR_syslog.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_syslog 0x0067 -1 -1 -1 -1 -1 +.syscon nr,__NR_syslog,0x0067,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_system_override.S b/libc/sysv/consts/__NR_system_override.S index e89b5463bd5..a8cec6ee96c 100644 --- a/libc/sysv/consts/__NR_system_override.S +++ b/libc/sysv/consts/__NR_system_override.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_system_override -1 0x20001c6 -1 -1 -1 -1 +.syscon nr,__NR_system_override,-1,0x20001c6,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_tee.S b/libc/sysv/consts/__NR_tee.S index c6913260a3f..0f8798c335e 100644 --- a/libc/sysv/consts/__NR_tee.S +++ b/libc/sysv/consts/__NR_tee.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_tee 0x0114 -1 -1 -1 -1 -1 +.syscon nr,__NR_tee,0x0114,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_telemetry.S b/libc/sysv/consts/__NR_telemetry.S index 11369cc144b..6a5b4dc6165 100644 --- a/libc/sysv/consts/__NR_telemetry.S +++ b/libc/sysv/consts/__NR_telemetry.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_telemetry -1 0x20001c3 -1 -1 -1 -1 +.syscon nr,__NR_telemetry,-1,0x20001c3,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_terminate_with_payload.S b/libc/sysv/consts/__NR_terminate_with_payload.S index 627526d02c0..e23f3224cf2 100644 --- a/libc/sysv/consts/__NR_terminate_with_payload.S +++ b/libc/sysv/consts/__NR_terminate_with_payload.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_terminate_with_payload -1 0x2000208 -1 -1 -1 -1 +.syscon nr,__NR_terminate_with_payload,-1,0x2000208,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_tfork.S b/libc/sysv/consts/__NR_tfork.S index 85dbdbf4bc0..8d45c9515e7 100644 --- a/libc/sysv/consts/__NR_tfork.S +++ b/libc/sysv/consts/__NR_tfork.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_tfork -1 -1 -1 0x0008 -1 -1 +.syscon nr,__NR_tfork,-1,-1,-1,0x0008,-1,-1 diff --git a/libc/sysv/consts/__NR_tgkill.S b/libc/sysv/consts/__NR_tgkill.S index ccf96443045..1f23a20a26d 100644 --- a/libc/sysv/consts/__NR_tgkill.S +++ b/libc/sysv/consts/__NR_tgkill.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_tgkill 0x00ea -1 -1 -1 -1 -1 +.syscon nr,__NR_tgkill,0x00ea,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_thr_create.S b/libc/sysv/consts/__NR_thr_create.S index 489176f08e8..a4ac6b541e4 100644 --- a/libc/sysv/consts/__NR_thr_create.S +++ b/libc/sysv/consts/__NR_thr_create.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_thr_create -1 -1 0x01ae -1 -1 -1 +.syscon nr,__NR_thr_create,-1,-1,0x01ae,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_thr_exit.S b/libc/sysv/consts/__NR_thr_exit.S index d07a3b4baff..c8b76427398 100644 --- a/libc/sysv/consts/__NR_thr_exit.S +++ b/libc/sysv/consts/__NR_thr_exit.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_thr_exit -1 -1 0x01af -1 -1 -1 +.syscon nr,__NR_thr_exit,-1,-1,0x01af,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_thr_kill.S b/libc/sysv/consts/__NR_thr_kill.S index 0e4a1e95c0f..21dd264ed41 100644 --- a/libc/sysv/consts/__NR_thr_kill.S +++ b/libc/sysv/consts/__NR_thr_kill.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_thr_kill -1 -1 0x01b1 -1 -1 -1 +.syscon nr,__NR_thr_kill,-1,-1,0x01b1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_thr_kill2.S b/libc/sysv/consts/__NR_thr_kill2.S index 29e41901059..b3cff896c19 100644 --- a/libc/sysv/consts/__NR_thr_kill2.S +++ b/libc/sysv/consts/__NR_thr_kill2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_thr_kill2 -1 -1 0x01e1 -1 -1 -1 +.syscon nr,__NR_thr_kill2,-1,-1,0x01e1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_thr_new.S b/libc/sysv/consts/__NR_thr_new.S index 5edc91d8f58..9218786de0a 100644 --- a/libc/sysv/consts/__NR_thr_new.S +++ b/libc/sysv/consts/__NR_thr_new.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_thr_new -1 -1 0x01c7 -1 -1 -1 +.syscon nr,__NR_thr_new,-1,-1,0x01c7,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_thr_self.S b/libc/sysv/consts/__NR_thr_self.S index 08cb26c4946..8d672b417b3 100644 --- a/libc/sysv/consts/__NR_thr_self.S +++ b/libc/sysv/consts/__NR_thr_self.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_thr_self -1 -1 0x01b0 -1 -1 -1 +.syscon nr,__NR_thr_self,-1,-1,0x01b0,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_thr_set_name.S b/libc/sysv/consts/__NR_thr_set_name.S index 8ca28bd44ba..af9e09ca2ae 100644 --- a/libc/sysv/consts/__NR_thr_set_name.S +++ b/libc/sysv/consts/__NR_thr_set_name.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_thr_set_name -1 -1 0x01d0 -1 -1 -1 +.syscon nr,__NR_thr_set_name,-1,-1,0x01d0,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_thr_suspend.S b/libc/sysv/consts/__NR_thr_suspend.S index 929433b8936..9069da73a15 100644 --- a/libc/sysv/consts/__NR_thr_suspend.S +++ b/libc/sysv/consts/__NR_thr_suspend.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_thr_suspend -1 -1 0x01ba -1 -1 -1 +.syscon nr,__NR_thr_suspend,-1,-1,0x01ba,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_thr_wake.S b/libc/sysv/consts/__NR_thr_wake.S index 3ecb057d6f1..3f3b9c42b9a 100644 --- a/libc/sysv/consts/__NR_thr_wake.S +++ b/libc/sysv/consts/__NR_thr_wake.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_thr_wake -1 -1 0x01bb -1 -1 -1 +.syscon nr,__NR_thr_wake,-1,-1,0x01bb,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_thread_selfcounts.S b/libc/sysv/consts/__NR_thread_selfcounts.S index b671cf12ffd..add24739442 100644 --- a/libc/sysv/consts/__NR_thread_selfcounts.S +++ b/libc/sysv/consts/__NR_thread_selfcounts.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_thread_selfcounts -1 0x20000ba -1 -1 -1 -1 +.syscon nr,__NR_thread_selfcounts,-1,0x20000ba,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_thread_selfid.S b/libc/sysv/consts/__NR_thread_selfid.S index c13210bd910..87c981cf537 100644 --- a/libc/sysv/consts/__NR_thread_selfid.S +++ b/libc/sysv/consts/__NR_thread_selfid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_thread_selfid -1 0x2000174 -1 -1 -1 -1 +.syscon nr,__NR_thread_selfid,-1,0x2000174,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_thread_selfusage.S b/libc/sysv/consts/__NR_thread_selfusage.S index 89ba8bd4a26..10ab64eda5c 100644 --- a/libc/sysv/consts/__NR_thread_selfusage.S +++ b/libc/sysv/consts/__NR_thread_selfusage.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_thread_selfusage -1 0x20001e2 -1 -1 -1 -1 +.syscon nr,__NR_thread_selfusage,-1,0x20001e2,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_threxit.S b/libc/sysv/consts/__NR_threxit.S index 2bdd845d075..41ccf1b5cd6 100644 --- a/libc/sysv/consts/__NR_threxit.S +++ b/libc/sysv/consts/__NR_threxit.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_threxit -1 -1 -1 0x012e -1 -1 +.syscon nr,__NR_threxit,-1,-1,-1,0x012e,-1,-1 diff --git a/libc/sysv/consts/__NR_thrkill.S b/libc/sysv/consts/__NR_thrkill.S index bca262b56e2..1bdf10036a3 100644 --- a/libc/sysv/consts/__NR_thrkill.S +++ b/libc/sysv/consts/__NR_thrkill.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_thrkill -1 -1 -1 0x0077 -1 -1 +.syscon nr,__NR_thrkill,-1,-1,-1,0x0077,-1,-1 diff --git a/libc/sysv/consts/__NR_thrsigdivert.S b/libc/sysv/consts/__NR_thrsigdivert.S index e975a9dd9ed..0d8154b8025 100644 --- a/libc/sysv/consts/__NR_thrsigdivert.S +++ b/libc/sysv/consts/__NR_thrsigdivert.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_thrsigdivert -1 -1 -1 0x012f -1 -1 +.syscon nr,__NR_thrsigdivert,-1,-1,-1,0x012f,-1,-1 diff --git a/libc/sysv/consts/__NR_thrsleep.S b/libc/sysv/consts/__NR_thrsleep.S index 6fc565439b1..cbdf0778527 100644 --- a/libc/sysv/consts/__NR_thrsleep.S +++ b/libc/sysv/consts/__NR_thrsleep.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_thrsleep -1 -1 -1 0x005e -1 -1 +.syscon nr,__NR_thrsleep,-1,-1,-1,0x005e,-1,-1 diff --git a/libc/sysv/consts/__NR_thrwakeup.S b/libc/sysv/consts/__NR_thrwakeup.S index cfa977bf75d..00a54e347fd 100644 --- a/libc/sysv/consts/__NR_thrwakeup.S +++ b/libc/sysv/consts/__NR_thrwakeup.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_thrwakeup -1 -1 -1 0x012d -1 -1 +.syscon nr,__NR_thrwakeup,-1,-1,-1,0x012d,-1,-1 diff --git a/libc/sysv/consts/__NR_timer_create.S b/libc/sysv/consts/__NR_timer_create.S index 29f3fa69889..cc0ecfed693 100644 --- a/libc/sysv/consts/__NR_timer_create.S +++ b/libc/sysv/consts/__NR_timer_create.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_timer_create 0x00de -1 -1 -1 0x0eb -1 +.syscon nr,__NR_timer_create,0x00de,-1,-1,-1,0x0eb,-1 diff --git a/libc/sysv/consts/__NR_timer_delete.S b/libc/sysv/consts/__NR_timer_delete.S index 45ef41a7942..479a74fec55 100644 --- a/libc/sysv/consts/__NR_timer_delete.S +++ b/libc/sysv/consts/__NR_timer_delete.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_timer_delete 0x00e2 -1 -1 -1 0x0ec -1 +.syscon nr,__NR_timer_delete,0x00e2,-1,-1,-1,0x0ec,-1 diff --git a/libc/sysv/consts/__NR_timer_getoverrun.S b/libc/sysv/consts/__NR_timer_getoverrun.S index 5d03e15fe16..c26627e7f4e 100644 --- a/libc/sysv/consts/__NR_timer_getoverrun.S +++ b/libc/sysv/consts/__NR_timer_getoverrun.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_timer_getoverrun 0x00e1 -1 -1 -1 0x0ef -1 +.syscon nr,__NR_timer_getoverrun,0x00e1,-1,-1,-1,0x0ef,-1 diff --git a/libc/sysv/consts/__NR_timer_gettime.S b/libc/sysv/consts/__NR_timer_gettime.S index 26912032797..244397460a6 100644 --- a/libc/sysv/consts/__NR_timer_gettime.S +++ b/libc/sysv/consts/__NR_timer_gettime.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_timer_gettime 0x00e0 -1 -1 -1 0x1bf -1 +.syscon nr,__NR_timer_gettime,0x00e0,-1,-1,-1,0x1bf,-1 diff --git a/libc/sysv/consts/__NR_timer_settime.S b/libc/sysv/consts/__NR_timer_settime.S index 355ef52425c..3eaae4f7480 100644 --- a/libc/sysv/consts/__NR_timer_settime.S +++ b/libc/sysv/consts/__NR_timer_settime.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_timer_settime 0x00df -1 -1 -1 0x1be -1 +.syscon nr,__NR_timer_settime,0x00df,-1,-1,-1,0x1be,-1 diff --git a/libc/sysv/consts/__NR_timerfd_create.S b/libc/sysv/consts/__NR_timerfd_create.S index 213c8f7c631..273cbc54c7b 100644 --- a/libc/sysv/consts/__NR_timerfd_create.S +++ b/libc/sysv/consts/__NR_timerfd_create.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_timerfd_create 0x011b -1 -1 -1 -1 -1 +.syscon nr,__NR_timerfd_create,0x011b,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_timerfd_gettime.S b/libc/sysv/consts/__NR_timerfd_gettime.S index 28a8caa9598..ff7ea2a2e8e 100644 --- a/libc/sysv/consts/__NR_timerfd_gettime.S +++ b/libc/sysv/consts/__NR_timerfd_gettime.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_timerfd_gettime 0x011f -1 -1 -1 -1 -1 +.syscon nr,__NR_timerfd_gettime,0x011f,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_timerfd_settime.S b/libc/sysv/consts/__NR_timerfd_settime.S index 2ae3b0a4e03..c0143cac53a 100644 --- a/libc/sysv/consts/__NR_timerfd_settime.S +++ b/libc/sysv/consts/__NR_timerfd_settime.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_timerfd_settime 0x011e -1 -1 -1 -1 -1 +.syscon nr,__NR_timerfd_settime,0x011e,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_times.S b/libc/sysv/consts/__NR_times.S index 992a2f49319..483521ec7ab 100644 --- a/libc/sysv/consts/__NR_times.S +++ b/libc/sysv/consts/__NR_times.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_times 0x0064 -1 -1 -1 -1 -1 +.syscon nr,__NR_times,0x0064,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_tkill.S b/libc/sysv/consts/__NR_tkill.S index 0b995fc8630..4b43f52627e 100644 --- a/libc/sysv/consts/__NR_tkill.S +++ b/libc/sysv/consts/__NR_tkill.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_tkill 0x00c8 -1 -1 -1 -1 -1 +.syscon nr,__NR_tkill,0x00c8,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_truncate.S b/libc/sysv/consts/__NR_truncate.S index c80f022a698..770aaff33c5 100644 --- a/libc/sysv/consts/__NR_truncate.S +++ b/libc/sysv/consts/__NR_truncate.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_truncate 0x004c 0x20000c8 0x01df 0x00c8 0x0c8 -1 +.syscon nr,__NR_truncate,0x004c,0x20000c8,0x01df,0x00c8,0x0c8,-1 diff --git a/libc/sysv/consts/__NR_ulock_wait.S b/libc/sysv/consts/__NR_ulock_wait.S index 20cf666de99..d9ab7928886 100644 --- a/libc/sysv/consts/__NR_ulock_wait.S +++ b/libc/sysv/consts/__NR_ulock_wait.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ulock_wait -1 0x2000203 -1 -1 -1 -1 +.syscon nr,__NR_ulock_wait,-1,0x2000203,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ulock_wake.S b/libc/sysv/consts/__NR_ulock_wake.S index d684fafe13f..eeb9c5dea33 100644 --- a/libc/sysv/consts/__NR_ulock_wake.S +++ b/libc/sysv/consts/__NR_ulock_wake.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ulock_wake -1 0x2000204 -1 -1 -1 -1 +.syscon nr,__NR_ulock_wake,-1,0x2000204,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_umask.S b/libc/sysv/consts/__NR_umask.S index 2bc9ea1299f..7ac8293adce 100644 --- a/libc/sysv/consts/__NR_umask.S +++ b/libc/sysv/consts/__NR_umask.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_umask 0x005f 0x200003c 0x003c 0x003c 0x03c -1 +.syscon nr,__NR_umask,0x005f,0x200003c,0x003c,0x003c,0x03c,-1 diff --git a/libc/sysv/consts/__NR_umask_extended.S b/libc/sysv/consts/__NR_umask_extended.S index f46a9198139..b415acfbf0b 100644 --- a/libc/sysv/consts/__NR_umask_extended.S +++ b/libc/sysv/consts/__NR_umask_extended.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_umask_extended -1 0x2000116 -1 -1 -1 -1 +.syscon nr,__NR_umask_extended,-1,0x2000116,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_umount2.S b/libc/sysv/consts/__NR_umount2.S index a25157bc97b..e65d96bda17 100644 --- a/libc/sysv/consts/__NR_umount2.S +++ b/libc/sysv/consts/__NR_umount2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_umount2 0x00a6 -1 -1 -1 -1 -1 +.syscon nr,__NR_umount2,0x00a6,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_uname.S b/libc/sysv/consts/__NR_uname.S index 7a443b9c7d4..7c009388ad4 100644 --- a/libc/sysv/consts/__NR_uname.S +++ b/libc/sysv/consts/__NR_uname.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_uname 0x003f -1 0x00a4 -1 -1 -1 +.syscon nr,__NR_uname,0x003f,-1,0x00a4,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_undelete.S b/libc/sysv/consts/__NR_undelete.S index 51e174db4b5..62fdd1b6f69 100644 --- a/libc/sysv/consts/__NR_undelete.S +++ b/libc/sysv/consts/__NR_undelete.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_undelete -1 0x20000cd 0x00cd -1 0x0cd -1 +.syscon nr,__NR_undelete,-1,0x20000cd,0x00cd,-1,0x0cd,-1 diff --git a/libc/sysv/consts/__NR_unlink.S b/libc/sysv/consts/__NR_unlink.S index 8e86728603a..2a2820f792d 100644 --- a/libc/sysv/consts/__NR_unlink.S +++ b/libc/sysv/consts/__NR_unlink.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_unlink 0x0057 0x200000a 0x000a 0x000a 0x00a -1 +.syscon nr,__NR_unlink,0x0057,0x200000a,0x000a,0x000a,0x00a,-1 diff --git a/libc/sysv/consts/__NR_unlinkat.S b/libc/sysv/consts/__NR_unlinkat.S index a894302fcaf..bb25e1726a7 100644 --- a/libc/sysv/consts/__NR_unlinkat.S +++ b/libc/sysv/consts/__NR_unlinkat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_unlinkat 0x0107 0x20001d8 0x01f7 0x0145 0x1d7 -1 +.syscon nr,__NR_unlinkat,0x0107,0x20001d8,0x01f7,0x0145,0x1d7,-1 diff --git a/libc/sysv/consts/__NR_unmount.S b/libc/sysv/consts/__NR_unmount.S index bfac3471848..4645f63864a 100644 --- a/libc/sysv/consts/__NR_unmount.S +++ b/libc/sysv/consts/__NR_unmount.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_unmount -1 0x200009f 0x0016 0x0016 0x016 -1 +.syscon nr,__NR_unmount,-1,0x200009f,0x0016,0x0016,0x016,-1 diff --git a/libc/sysv/consts/__NR_unshare.S b/libc/sysv/consts/__NR_unshare.S index 8bd60376295..dddf89b053b 100644 --- a/libc/sysv/consts/__NR_unshare.S +++ b/libc/sysv/consts/__NR_unshare.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_unshare 0x0110 -1 -1 -1 -1 -1 +.syscon nr,__NR_unshare,0x0110,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_unveil.S b/libc/sysv/consts/__NR_unveil.S index 8d93acea0e7..3f6ac7407d8 100644 --- a/libc/sysv/consts/__NR_unveil.S +++ b/libc/sysv/consts/__NR_unveil.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_unveil -1 -1 -1 0x0072 -1 -1 +.syscon nr,__NR_unveil,-1,-1,-1,0x0072,-1,-1 diff --git a/libc/sysv/consts/__NR_userfaultfd.S b/libc/sysv/consts/__NR_userfaultfd.S index f98f2704333..6af9b8e9d4c 100644 --- a/libc/sysv/consts/__NR_userfaultfd.S +++ b/libc/sysv/consts/__NR_userfaultfd.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_userfaultfd 0x0143 -1 -1 -1 -1 -1 +.syscon nr,__NR_userfaultfd,0x0143,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_usrctl.S b/libc/sysv/consts/__NR_usrctl.S index 46e4680035c..cb71bc4c4eb 100644 --- a/libc/sysv/consts/__NR_usrctl.S +++ b/libc/sysv/consts/__NR_usrctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_usrctl -1 0x20001bd -1 -1 -1 -1 +.syscon nr,__NR_usrctl,-1,0x20001bd,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_ustat.S b/libc/sysv/consts/__NR_ustat.S index 8c91ff7eb84..75f232be078 100644 --- a/libc/sysv/consts/__NR_ustat.S +++ b/libc/sysv/consts/__NR_ustat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_ustat 0x0088 -1 -1 -1 -1 -1 +.syscon nr,__NR_ustat,0x0088,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_utime.S b/libc/sysv/consts/__NR_utime.S index bb742347c39..c84f98112d3 100644 --- a/libc/sysv/consts/__NR_utime.S +++ b/libc/sysv/consts/__NR_utime.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_utime 0x0084 -1 -1 -1 -1 -1 +.syscon nr,__NR_utime,0x0084,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_utimensat.S b/libc/sysv/consts/__NR_utimensat.S index fff03e83487..7c577f409e7 100644 --- a/libc/sysv/consts/__NR_utimensat.S +++ b/libc/sysv/consts/__NR_utimensat.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_utimensat 0x0118 -1 0x0223 0x0054 0x1d3 -1 +.syscon nr,__NR_utimensat,0x0118,-1,0x0223,0x0054,0x1d3,-1 diff --git a/libc/sysv/consts/__NR_utimes.S b/libc/sysv/consts/__NR_utimes.S index afb9ee68394..a11bd922d3b 100644 --- a/libc/sysv/consts/__NR_utimes.S +++ b/libc/sysv/consts/__NR_utimes.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_utimes 0x00eb 0x200008a 0x008a 0x004c 0x1a4 -1 +.syscon nr,__NR_utimes,0x00eb,0x200008a,0x008a,0x004c,0x1a4,-1 diff --git a/libc/sysv/consts/__NR_utrace.S b/libc/sysv/consts/__NR_utrace.S index 07b88c76f40..1bf5a3b773a 100644 --- a/libc/sysv/consts/__NR_utrace.S +++ b/libc/sysv/consts/__NR_utrace.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_utrace -1 -1 0x014f 0x00d1 0x132 -1 +.syscon nr,__NR_utrace,-1,-1,0x014f,0x00d1,0x132,-1 diff --git a/libc/sysv/consts/__NR_uuidgen.S b/libc/sysv/consts/__NR_uuidgen.S index 295897ca7bb..2c7eea6f292 100644 --- a/libc/sysv/consts/__NR_uuidgen.S +++ b/libc/sysv/consts/__NR_uuidgen.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_uuidgen -1 -1 0x0188 -1 0x163 -1 +.syscon nr,__NR_uuidgen,-1,-1,0x0188,-1,0x163,-1 diff --git a/libc/sysv/consts/__NR_vadvise.S b/libc/sysv/consts/__NR_vadvise.S index 1b9806b8d6d..f0c730ab18f 100644 --- a/libc/sysv/consts/__NR_vadvise.S +++ b/libc/sysv/consts/__NR_vadvise.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_vadvise -1 -1 0x0048 -1 -1 -1 +.syscon nr,__NR_vadvise,-1,-1,0x0048,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_vfork.S b/libc/sysv/consts/__NR_vfork.S index 7465a2746fd..509bd14d3bb 100644 --- a/libc/sysv/consts/__NR_vfork.S +++ b/libc/sysv/consts/__NR_vfork.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_vfork 0x003a 0x2000042 0x0042 0x0042 0x042 -1 +.syscon nr,__NR_vfork,0x003a,0x2000042,0x0042,0x0042,0x042,-1 diff --git a/libc/sysv/consts/__NR_vfs_purge.S b/libc/sysv/consts/__NR_vfs_purge.S index 8a5885c4882..36f3b0203a0 100644 --- a/libc/sysv/consts/__NR_vfs_purge.S +++ b/libc/sysv/consts/__NR_vfs_purge.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_vfs_purge -1 0x20001c7 -1 -1 -1 -1 +.syscon nr,__NR_vfs_purge,-1,0x20001c7,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_vhangup.S b/libc/sysv/consts/__NR_vhangup.S index e5eb719d1f9..91cced6ab57 100644 --- a/libc/sysv/consts/__NR_vhangup.S +++ b/libc/sysv/consts/__NR_vhangup.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_vhangup 0x0099 -1 -1 -1 -1 -1 +.syscon nr,__NR_vhangup,0x0099,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_vm_pressure_monitor.S b/libc/sysv/consts/__NR_vm_pressure_monitor.S index 0d8a15fb7d6..067236ee700 100644 --- a/libc/sysv/consts/__NR_vm_pressure_monitor.S +++ b/libc/sysv/consts/__NR_vm_pressure_monitor.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_vm_pressure_monitor -1 0x2000128 -1 -1 -1 -1 +.syscon nr,__NR_vm_pressure_monitor,-1,0x2000128,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_vmsplice.S b/libc/sysv/consts/__NR_vmsplice.S index e0b0019c34b..7badffb69e5 100644 --- a/libc/sysv/consts/__NR_vmsplice.S +++ b/libc/sysv/consts/__NR_vmsplice.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_vmsplice 0x0116 -1 -1 -1 -1 -1 +.syscon nr,__NR_vmsplice,0x0116,-1,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_wait.S b/libc/sysv/consts/__NR_wait.S index cf3abefd547..6e66345ea29 100644 --- a/libc/sysv/consts/__NR_wait.S +++ b/libc/sysv/consts/__NR_wait.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_wait -1 -1 0x0054 -1 -1 -1 +.syscon nr,__NR_wait,-1,-1,0x0054,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_wait4.S b/libc/sysv/consts/__NR_wait4.S index 012d7f27d0f..1c76f22a40b 100644 --- a/libc/sysv/consts/__NR_wait4.S +++ b/libc/sysv/consts/__NR_wait4.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_wait4 0x003d 0x2000007 0x0007 0x000b 0x1c1 -1 +.syscon nr,__NR_wait4,0x003d,0x2000007,0x0007,0x000b,0x1c1,-1 diff --git a/libc/sysv/consts/__NR_wait4_nocancel.S b/libc/sysv/consts/__NR_wait4_nocancel.S index 8ecd7ec1504..7d1222b4f2a 100644 --- a/libc/sysv/consts/__NR_wait4_nocancel.S +++ b/libc/sysv/consts/__NR_wait4_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_wait4_nocancel -1 0x2000190 -1 -1 -1 -1 +.syscon nr,__NR_wait4_nocancel,-1,0x2000190,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_wait6.S b/libc/sysv/consts/__NR_wait6.S index 9aee6aec32b..7d1ae492570 100644 --- a/libc/sysv/consts/__NR_wait6.S +++ b/libc/sysv/consts/__NR_wait6.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_wait6 -1 -1 0x0214 -1 0x1e1 -1 +.syscon nr,__NR_wait6,-1,-1,0x0214,-1,0x1e1,-1 diff --git a/libc/sysv/consts/__NR_waitevent.S b/libc/sysv/consts/__NR_waitevent.S index a93755a4aa2..b8d4e253c1a 100644 --- a/libc/sysv/consts/__NR_waitevent.S +++ b/libc/sysv/consts/__NR_waitevent.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_waitevent -1 0x20000e8 -1 -1 -1 -1 +.syscon nr,__NR_waitevent,-1,0x20000e8,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_waitid.S b/libc/sysv/consts/__NR_waitid.S index 37518fbfa81..267cd47102a 100644 --- a/libc/sysv/consts/__NR_waitid.S +++ b/libc/sysv/consts/__NR_waitid.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_waitid 0x00f7 0x20000ad -1 -1 -1 -1 +.syscon nr,__NR_waitid,0x00f7,0x20000ad,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_waitid_nocancel.S b/libc/sysv/consts/__NR_waitid_nocancel.S index e6109a14f32..0eb1d955c10 100644 --- a/libc/sysv/consts/__NR_waitid_nocancel.S +++ b/libc/sysv/consts/__NR_waitid_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_waitid_nocancel -1 0x20001a0 -1 -1 -1 -1 +.syscon nr,__NR_waitid_nocancel,-1,0x20001a0,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_watchevent.S b/libc/sysv/consts/__NR_watchevent.S index 582b4900df3..2d6e7842835 100644 --- a/libc/sysv/consts/__NR_watchevent.S +++ b/libc/sysv/consts/__NR_watchevent.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_watchevent -1 0x20000e7 -1 -1 -1 -1 +.syscon nr,__NR_watchevent,-1,0x20000e7,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_work_interval_ctl.S b/libc/sysv/consts/__NR_work_interval_ctl.S index 1eb4e4449cb..dc69316c1ec 100644 --- a/libc/sysv/consts/__NR_work_interval_ctl.S +++ b/libc/sysv/consts/__NR_work_interval_ctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_work_interval_ctl -1 0x20001f3 -1 -1 -1 -1 +.syscon nr,__NR_work_interval_ctl,-1,0x20001f3,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_workq_kernreturn.S b/libc/sysv/consts/__NR_workq_kernreturn.S index 702b1e97b0c..4aa6dfece0a 100644 --- a/libc/sysv/consts/__NR_workq_kernreturn.S +++ b/libc/sysv/consts/__NR_workq_kernreturn.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_workq_kernreturn -1 0x2000170 -1 -1 -1 -1 +.syscon nr,__NR_workq_kernreturn,-1,0x2000170,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_workq_open.S b/libc/sysv/consts/__NR_workq_open.S index de3870b6fc0..817e2587925 100644 --- a/libc/sysv/consts/__NR_workq_open.S +++ b/libc/sysv/consts/__NR_workq_open.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_workq_open -1 0x200016f -1 -1 -1 -1 +.syscon nr,__NR_workq_open,-1,0x200016f,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_write.S b/libc/sysv/consts/__NR_write.S index adaa2724d88..05284f95b1b 100644 --- a/libc/sysv/consts/__NR_write.S +++ b/libc/sysv/consts/__NR_write.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_write 0x0001 0x2000004 0x0004 0x0004 0x004 -1 +.syscon nr,__NR_write,0x0001,0x2000004,0x0004,0x0004,0x004,-1 diff --git a/libc/sysv/consts/__NR_write_nocancel.S b/libc/sysv/consts/__NR_write_nocancel.S index e2abde85b65..69d3e8f1bba 100644 --- a/libc/sysv/consts/__NR_write_nocancel.S +++ b/libc/sysv/consts/__NR_write_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_write_nocancel -1 0x200018d -1 -1 -1 -1 +.syscon nr,__NR_write_nocancel,-1,0x200018d,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_writev.S b/libc/sysv/consts/__NR_writev.S index 9fb3ffe7412..f6b80a2ab7e 100644 --- a/libc/sysv/consts/__NR_writev.S +++ b/libc/sysv/consts/__NR_writev.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_writev 0x0014 0x2000079 0x0079 0x0079 0x079 -1 +.syscon nr,__NR_writev,0x0014,0x2000079,0x0079,0x0079,0x079,-1 diff --git a/libc/sysv/consts/__NR_writev_nocancel.S b/libc/sysv/consts/__NR_writev_nocancel.S index d805320ee8d..eccbb236758 100644 --- a/libc/sysv/consts/__NR_writev_nocancel.S +++ b/libc/sysv/consts/__NR_writev_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_writev_nocancel -1 0x200019c -1 -1 -1 -1 +.syscon nr,__NR_writev_nocancel,-1,0x200019c,-1,-1,-1,-1 diff --git a/libc/sysv/consts/__NR_yield.S b/libc/sysv/consts/__NR_yield.S index 39d98cab7a3..8195e4e1374 100644 --- a/libc/sysv/consts/__NR_yield.S +++ b/libc/sysv/consts/__NR_yield.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon nr __NR_yield -1 -1 0x0141 -1 -1 -1 +.syscon nr,__NR_yield,-1,-1,0x0141,-1,-1,-1 diff --git a/libc/sysv/g_syscount.S b/libc/sysv/g_syscount.S index 3c7f5b67f82..a30297ebfc2 100644 --- a/libc/sysv/g_syscount.S +++ b/libc/sysv/g_syscount.S @@ -19,12 +19,12 @@ #include "libc/macros.h" .source __FILE__ -/ RII System Five system call counter. -/ -/ Referencing this symbol will cause systemfive() to be hooked -/ for the purpose of counting non-Windows system calls. Please -/ note wrappers may still short circuit calls sometimes, which -/ wouldn't impact this counter. +// RII System Five system call counter. +// +// Referencing this symbol will cause systemfive() to be hooked +// for the purpose of counting non-Windows system calls. Please +// note wrappers may still short circuit calls sometimes, which +// wouldn't impact this counter. .bss .align 8 g_syscount: diff --git a/libc/sysv/gen.sh b/libc/sysv/gen.sh index 34d8970c38a..3d24ee7e341 100644 --- a/libc/sysv/gen.sh +++ b/libc/sysv/gen.sh @@ -19,17 +19,19 @@ mkdir -p $dir rm -f $dir/*.s $dir/*.S +IFS="," + scall() { { echo ".include \"o/libc/sysv/macros.internal.inc\"" - echo ".scall" "$@" + echo ".scall" "$*" } >"$dir/${1/$/-}.s" } syscon() { { echo "#include \"libc/sysv/consts/syscon.internal.h\"" - echo ".syscon" "$@" + echo ".syscon" "$*" } >"$dir/${2/$/-}.S" } diff --git a/libc/sysv/machcalls/_kernelrpc_mach_port_allocate_trap.s b/libc/sysv/machcalls/_kernelrpc_mach_port_allocate_trap.s index ec5a7e88178..b507ccffb96 100644 --- a/libc/sysv/machcalls/_kernelrpc_mach_port_allocate_trap.s +++ b/libc/sysv/machcalls/_kernelrpc_mach_port_allocate_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall _kernelrpc_mach_port_allocate_trap 0xffffffff1010ffff globl +.scall _kernelrpc_mach_port_allocate_trap,0xffffffff1010ffff,globl diff --git a/libc/sysv/machcalls/_kernelrpc_mach_port_construct_trap.s b/libc/sysv/machcalls/_kernelrpc_mach_port_construct_trap.s index 401cb52733d..ec46064613d 100644 --- a/libc/sysv/machcalls/_kernelrpc_mach_port_construct_trap.s +++ b/libc/sysv/machcalls/_kernelrpc_mach_port_construct_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall _kernelrpc_mach_port_construct_trap 0xffffffff1018ffff globl +.scall _kernelrpc_mach_port_construct_trap,0xffffffff1018ffff,globl diff --git a/libc/sysv/machcalls/_kernelrpc_mach_port_deallocate_trap.s b/libc/sysv/machcalls/_kernelrpc_mach_port_deallocate_trap.s index ec362480480..16e371d7c32 100644 --- a/libc/sysv/machcalls/_kernelrpc_mach_port_deallocate_trap.s +++ b/libc/sysv/machcalls/_kernelrpc_mach_port_deallocate_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall _kernelrpc_mach_port_deallocate_trap 0xffffffff1012ffff globl +.scall _kernelrpc_mach_port_deallocate_trap,0xffffffff1012ffff,globl diff --git a/libc/sysv/machcalls/_kernelrpc_mach_port_destroy_trap.s b/libc/sysv/machcalls/_kernelrpc_mach_port_destroy_trap.s index 28681e0ddae..20e99eaaa35 100644 --- a/libc/sysv/machcalls/_kernelrpc_mach_port_destroy_trap.s +++ b/libc/sysv/machcalls/_kernelrpc_mach_port_destroy_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall _kernelrpc_mach_port_destroy_trap 0xffffffff1011ffff globl +.scall _kernelrpc_mach_port_destroy_trap,0xffffffff1011ffff,globl diff --git a/libc/sysv/machcalls/_kernelrpc_mach_port_destruct_trap.s b/libc/sysv/machcalls/_kernelrpc_mach_port_destruct_trap.s index 35d0d5757c0..ccdcedb781e 100644 --- a/libc/sysv/machcalls/_kernelrpc_mach_port_destruct_trap.s +++ b/libc/sysv/machcalls/_kernelrpc_mach_port_destruct_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall _kernelrpc_mach_port_destruct_trap 0xffffffff1019ffff globl +.scall _kernelrpc_mach_port_destruct_trap,0xffffffff1019ffff,globl diff --git a/libc/sysv/machcalls/_kernelrpc_mach_port_extract_member_trap.s b/libc/sysv/machcalls/_kernelrpc_mach_port_extract_member_trap.s index e4d2ba14469..509fa3f4514 100644 --- a/libc/sysv/machcalls/_kernelrpc_mach_port_extract_member_trap.s +++ b/libc/sysv/machcalls/_kernelrpc_mach_port_extract_member_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall _kernelrpc_mach_port_extract_member_trap 0xffffffff1017ffff globl +.scall _kernelrpc_mach_port_extract_member_trap,0xffffffff1017ffff,globl diff --git a/libc/sysv/machcalls/_kernelrpc_mach_port_guard_trap.s b/libc/sysv/machcalls/_kernelrpc_mach_port_guard_trap.s index 718cd8b4243..77322b60eab 100644 --- a/libc/sysv/machcalls/_kernelrpc_mach_port_guard_trap.s +++ b/libc/sysv/machcalls/_kernelrpc_mach_port_guard_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall _kernelrpc_mach_port_guard_trap 0xffffffff1029ffff globl +.scall _kernelrpc_mach_port_guard_trap,0xffffffff1029ffff,globl diff --git a/libc/sysv/machcalls/_kernelrpc_mach_port_insert_member_trap.s b/libc/sysv/machcalls/_kernelrpc_mach_port_insert_member_trap.s index 77e4e88445e..67f706e9fc2 100644 --- a/libc/sysv/machcalls/_kernelrpc_mach_port_insert_member_trap.s +++ b/libc/sysv/machcalls/_kernelrpc_mach_port_insert_member_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall _kernelrpc_mach_port_insert_member_trap 0xffffffff1016ffff globl +.scall _kernelrpc_mach_port_insert_member_trap,0xffffffff1016ffff,globl diff --git a/libc/sysv/machcalls/_kernelrpc_mach_port_insert_right_trap.s b/libc/sysv/machcalls/_kernelrpc_mach_port_insert_right_trap.s index 523c0205bda..57b2de888c4 100644 --- a/libc/sysv/machcalls/_kernelrpc_mach_port_insert_right_trap.s +++ b/libc/sysv/machcalls/_kernelrpc_mach_port_insert_right_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall _kernelrpc_mach_port_insert_right_trap 0xffffffff1015ffff globl +.scall _kernelrpc_mach_port_insert_right_trap,0xffffffff1015ffff,globl diff --git a/libc/sysv/machcalls/_kernelrpc_mach_port_mod_refs_trap.s b/libc/sysv/machcalls/_kernelrpc_mach_port_mod_refs_trap.s index e88e2928fbc..b081b645beb 100644 --- a/libc/sysv/machcalls/_kernelrpc_mach_port_mod_refs_trap.s +++ b/libc/sysv/machcalls/_kernelrpc_mach_port_mod_refs_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall _kernelrpc_mach_port_mod_refs_trap 0xffffffff1013ffff globl +.scall _kernelrpc_mach_port_mod_refs_trap,0xffffffff1013ffff,globl diff --git a/libc/sysv/machcalls/_kernelrpc_mach_port_move_member_trap.s b/libc/sysv/machcalls/_kernelrpc_mach_port_move_member_trap.s index 43f8f8ed6b6..27beadc3b11 100644 --- a/libc/sysv/machcalls/_kernelrpc_mach_port_move_member_trap.s +++ b/libc/sysv/machcalls/_kernelrpc_mach_port_move_member_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall _kernelrpc_mach_port_move_member_trap 0xffffffff1014ffff globl +.scall _kernelrpc_mach_port_move_member_trap,0xffffffff1014ffff,globl diff --git a/libc/sysv/machcalls/_kernelrpc_mach_port_unguard_trap.s b/libc/sysv/machcalls/_kernelrpc_mach_port_unguard_trap.s index a91c2251bce..0ecdbade8cb 100644 --- a/libc/sysv/machcalls/_kernelrpc_mach_port_unguard_trap.s +++ b/libc/sysv/machcalls/_kernelrpc_mach_port_unguard_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall _kernelrpc_mach_port_unguard_trap 0xffffffff102affff globl +.scall _kernelrpc_mach_port_unguard_trap,0xffffffff102affff,globl diff --git a/libc/sysv/machcalls/_kernelrpc_mach_vm_allocate_trap.s b/libc/sysv/machcalls/_kernelrpc_mach_vm_allocate_trap.s index d073837e4f6..fadd766a3dd 100644 --- a/libc/sysv/machcalls/_kernelrpc_mach_vm_allocate_trap.s +++ b/libc/sysv/machcalls/_kernelrpc_mach_vm_allocate_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall _kernelrpc_mach_vm_allocate_trap 0xffffffff100affff globl +.scall _kernelrpc_mach_vm_allocate_trap,0xffffffff100affff,globl diff --git a/libc/sysv/machcalls/_kernelrpc_mach_vm_deallocate_trap.s b/libc/sysv/machcalls/_kernelrpc_mach_vm_deallocate_trap.s index e8cec9df1ba..953e0110dbf 100644 --- a/libc/sysv/machcalls/_kernelrpc_mach_vm_deallocate_trap.s +++ b/libc/sysv/machcalls/_kernelrpc_mach_vm_deallocate_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall _kernelrpc_mach_vm_deallocate_trap 0xffffffff100cffff globl +.scall _kernelrpc_mach_vm_deallocate_trap,0xffffffff100cffff,globl diff --git a/libc/sysv/machcalls/_kernelrpc_mach_vm_map_trap.s b/libc/sysv/machcalls/_kernelrpc_mach_vm_map_trap.s index 1179bdfd512..e5dffe746de 100644 --- a/libc/sysv/machcalls/_kernelrpc_mach_vm_map_trap.s +++ b/libc/sysv/machcalls/_kernelrpc_mach_vm_map_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall _kernelrpc_mach_vm_map_trap 0xffffffff100fffff globl +.scall _kernelrpc_mach_vm_map_trap,0xffffffff100fffff,globl diff --git a/libc/sysv/machcalls/_kernelrpc_mach_vm_protect_trap.s b/libc/sysv/machcalls/_kernelrpc_mach_vm_protect_trap.s index d6595e61782..faa60802092 100644 --- a/libc/sysv/machcalls/_kernelrpc_mach_vm_protect_trap.s +++ b/libc/sysv/machcalls/_kernelrpc_mach_vm_protect_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall _kernelrpc_mach_vm_protect_trap 0xffffffff100effff globl +.scall _kernelrpc_mach_vm_protect_trap,0xffffffff100effff,globl diff --git a/libc/sysv/machcalls/_kernelrpc_mach_vm_purgable_control_trap.s b/libc/sysv/machcalls/_kernelrpc_mach_vm_purgable_control_trap.s index c1924452de3..b21c6e7c3a2 100644 --- a/libc/sysv/machcalls/_kernelrpc_mach_vm_purgable_control_trap.s +++ b/libc/sysv/machcalls/_kernelrpc_mach_vm_purgable_control_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall _kernelrpc_mach_vm_purgable_control_trap 0xffffffff100bffff globl +.scall _kernelrpc_mach_vm_purgable_control_trap,0xffffffff100bffff,globl diff --git a/libc/sysv/machcalls/clock_sleep_trap.s b/libc/sysv/machcalls/clock_sleep_trap.s index 823d71db32a..6b90bbfbe7b 100644 --- a/libc/sysv/machcalls/clock_sleep_trap.s +++ b/libc/sysv/machcalls/clock_sleep_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall clock_sleep_trap 0xffffffff103effff globl +.scall clock_sleep_trap,0xffffffff103effff,globl diff --git a/libc/sysv/machcalls/host_create_mach_voucher_trap.s b/libc/sysv/machcalls/host_create_mach_voucher_trap.s index 5d6da8f97ff..af9fbe24f75 100644 --- a/libc/sysv/machcalls/host_create_mach_voucher_trap.s +++ b/libc/sysv/machcalls/host_create_mach_voucher_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall host_create_mach_voucher_trap 0xffffffff1046ffff globl +.scall host_create_mach_voucher_trap,0xffffffff1046ffff,globl diff --git a/libc/sysv/machcalls/host_self_trap.s b/libc/sysv/machcalls/host_self_trap.s index ad055a66ec5..64b66c0fc19 100644 --- a/libc/sysv/machcalls/host_self_trap.s +++ b/libc/sysv/machcalls/host_self_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall host_self_trap 0xffffffff101dffff globl +.scall host_self_trap,0xffffffff101dffff,globl diff --git a/libc/sysv/machcalls/iokit_user_client_trap.s b/libc/sysv/machcalls/iokit_user_client_trap.s index 00a2995a4af..c845a712fc3 100644 --- a/libc/sysv/machcalls/iokit_user_client_trap.s +++ b/libc/sysv/machcalls/iokit_user_client_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall iokit_user_client_trap 0xffffffff1064ffff globl +.scall iokit_user_client_trap,0xffffffff1064ffff,globl diff --git a/libc/sysv/machcalls/mach_generate_activity_id.s b/libc/sysv/machcalls/mach_generate_activity_id.s index 25071b745c2..503a547d8c8 100644 --- a/libc/sysv/machcalls/mach_generate_activity_id.s +++ b/libc/sysv/machcalls/mach_generate_activity_id.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mach_generate_activity_id 0xffffffff102bffff globl +.scall mach_generate_activity_id,0xffffffff102bffff,globl diff --git a/libc/sysv/machcalls/mach_msg_overwrite_trap.s b/libc/sysv/machcalls/mach_msg_overwrite_trap.s index db659521e94..bd8fca6dc62 100644 --- a/libc/sysv/machcalls/mach_msg_overwrite_trap.s +++ b/libc/sysv/machcalls/mach_msg_overwrite_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mach_msg_overwrite_trap 0xffffffff1020ffff globl +.scall mach_msg_overwrite_trap,0xffffffff1020ffff,globl diff --git a/libc/sysv/machcalls/mach_msg_trap.s b/libc/sysv/machcalls/mach_msg_trap.s index 2f35d8a540f..ee9c4e671f0 100644 --- a/libc/sysv/machcalls/mach_msg_trap.s +++ b/libc/sysv/machcalls/mach_msg_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mach_msg_trap 0xffffffff101fffff globl +.scall mach_msg_trap,0xffffffff101fffff,globl diff --git a/libc/sysv/machcalls/mach_reply_port.s b/libc/sysv/machcalls/mach_reply_port.s index 3358c5459de..1539577804b 100644 --- a/libc/sysv/machcalls/mach_reply_port.s +++ b/libc/sysv/machcalls/mach_reply_port.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mach_reply_port 0xffffffff101affff globl +.scall mach_reply_port,0xffffffff101affff,globl diff --git a/libc/sysv/machcalls/mach_timebase_info_trap.s b/libc/sysv/machcalls/mach_timebase_info_trap.s index b5040e48ca1..07a994c06fb 100644 --- a/libc/sysv/machcalls/mach_timebase_info_trap.s +++ b/libc/sysv/machcalls/mach_timebase_info_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mach_timebase_info_trap 0xffffffff1059ffff globl +.scall mach_timebase_info_trap,0xffffffff1059ffff,globl diff --git a/libc/sysv/machcalls/mach_voucher_extract_attr_recipe_trap.s b/libc/sysv/machcalls/mach_voucher_extract_attr_recipe_trap.s index d9ee5c9350d..f165ed18e53 100644 --- a/libc/sysv/machcalls/mach_voucher_extract_attr_recipe_trap.s +++ b/libc/sysv/machcalls/mach_voucher_extract_attr_recipe_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mach_voucher_extract_attr_recipe_trap 0xffffffff1048ffff globl +.scall mach_voucher_extract_attr_recipe_trap,0xffffffff1048ffff,globl diff --git a/libc/sysv/machcalls/mach_wait_until_trap.s b/libc/sysv/machcalls/mach_wait_until_trap.s index 5f78cb03317..f52543834aa 100644 --- a/libc/sysv/machcalls/mach_wait_until_trap.s +++ b/libc/sysv/machcalls/mach_wait_until_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mach_wait_until_trap 0xffffffff105affff globl +.scall mach_wait_until_trap,0xffffffff105affff,globl diff --git a/libc/sysv/machcalls/macx_backing_store_recovery.s b/libc/sysv/machcalls/macx_backing_store_recovery.s index b4f280dd135..eb93fb245b2 100644 --- a/libc/sysv/machcalls/macx_backing_store_recovery.s +++ b/libc/sysv/machcalls/macx_backing_store_recovery.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall macx_backing_store_recovery 0xffffffff1035ffff globl +.scall macx_backing_store_recovery,0xffffffff1035ffff,globl diff --git a/libc/sysv/machcalls/macx_backing_store_suspend.s b/libc/sysv/machcalls/macx_backing_store_suspend.s index d7429031991..51985079bcd 100644 --- a/libc/sysv/machcalls/macx_backing_store_suspend.s +++ b/libc/sysv/machcalls/macx_backing_store_suspend.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall macx_backing_store_suspend 0xffffffff1034ffff globl +.scall macx_backing_store_suspend,0xffffffff1034ffff,globl diff --git a/libc/sysv/machcalls/macx_swapoff.s b/libc/sysv/machcalls/macx_swapoff.s index 27e7beed46d..d949709b35c 100644 --- a/libc/sysv/machcalls/macx_swapoff.s +++ b/libc/sysv/machcalls/macx_swapoff.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall macx_swapoff 0xffffffff1031ffff globl +.scall macx_swapoff,0xffffffff1031ffff,globl diff --git a/libc/sysv/machcalls/macx_swapon.s b/libc/sysv/machcalls/macx_swapon.s index d1733b895dc..6a87efae1a6 100644 --- a/libc/sysv/machcalls/macx_swapon.s +++ b/libc/sysv/machcalls/macx_swapon.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall macx_swapon 0xffffffff1030ffff globl +.scall macx_swapon,0xffffffff1030ffff,globl diff --git a/libc/sysv/machcalls/macx_triggers.s b/libc/sysv/machcalls/macx_triggers.s index 463289b3c75..220906c4565 100644 --- a/libc/sysv/machcalls/macx_triggers.s +++ b/libc/sysv/machcalls/macx_triggers.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall macx_triggers 0xffffffff1033ffff globl +.scall macx_triggers,0xffffffff1033ffff,globl diff --git a/libc/sysv/machcalls/mk_timer_arm_leeway_trap.s b/libc/sysv/machcalls/mk_timer_arm_leeway_trap.s index 415841906b8..ae7d980bff6 100644 --- a/libc/sysv/machcalls/mk_timer_arm_leeway_trap.s +++ b/libc/sysv/machcalls/mk_timer_arm_leeway_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mk_timer_arm_leeway_trap 0xffffffff105fffff globl +.scall mk_timer_arm_leeway_trap,0xffffffff105fffff,globl diff --git a/libc/sysv/machcalls/mk_timer_arm_trap.s b/libc/sysv/machcalls/mk_timer_arm_trap.s index 62d4634ab7c..fa38151bb07 100644 --- a/libc/sysv/machcalls/mk_timer_arm_trap.s +++ b/libc/sysv/machcalls/mk_timer_arm_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mk_timer_arm_trap 0xffffffff105dffff globl +.scall mk_timer_arm_trap,0xffffffff105dffff,globl diff --git a/libc/sysv/machcalls/mk_timer_cancel_trap.s b/libc/sysv/machcalls/mk_timer_cancel_trap.s index 1626846020c..1c8ad473903 100644 --- a/libc/sysv/machcalls/mk_timer_cancel_trap.s +++ b/libc/sysv/machcalls/mk_timer_cancel_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mk_timer_cancel_trap 0xffffffff105effff globl +.scall mk_timer_cancel_trap,0xffffffff105effff,globl diff --git a/libc/sysv/machcalls/mk_timer_create_trap.s b/libc/sysv/machcalls/mk_timer_create_trap.s index e5fdeaac9c0..5deed0eb7cb 100644 --- a/libc/sysv/machcalls/mk_timer_create_trap.s +++ b/libc/sysv/machcalls/mk_timer_create_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mk_timer_create_trap 0xffffffff105bffff globl +.scall mk_timer_create_trap,0xffffffff105bffff,globl diff --git a/libc/sysv/machcalls/mk_timer_destroy_trap.s b/libc/sysv/machcalls/mk_timer_destroy_trap.s index 95634c26e43..b8fe606743c 100644 --- a/libc/sysv/machcalls/mk_timer_destroy_trap.s +++ b/libc/sysv/machcalls/mk_timer_destroy_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall mk_timer_destroy_trap 0xffffffff105cffff globl +.scall mk_timer_destroy_trap,0xffffffff105cffff,globl diff --git a/libc/sysv/machcalls/pfz_exit.s b/libc/sysv/machcalls/pfz_exit.s index b48b5babc54..ee359616fe0 100644 --- a/libc/sysv/machcalls/pfz_exit.s +++ b/libc/sysv/machcalls/pfz_exit.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pfz_exit 0xffffffff103affff globl +.scall pfz_exit,0xffffffff103affff,globl diff --git a/libc/sysv/machcalls/pid_for_task.s b/libc/sysv/machcalls/pid_for_task.s index 322a6f4be79..5759103871f 100644 --- a/libc/sysv/machcalls/pid_for_task.s +++ b/libc/sysv/machcalls/pid_for_task.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall pid_for_task 0xffffffff102effff globl +.scall pid_for_task,0xffffffff102effff,globl diff --git a/libc/sysv/machcalls/semaphore_signal_all_trap.s b/libc/sysv/machcalls/semaphore_signal_all_trap.s index 940a202cdd4..0efa51ef27f 100644 --- a/libc/sysv/machcalls/semaphore_signal_all_trap.s +++ b/libc/sysv/machcalls/semaphore_signal_all_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall semaphore_signal_all_trap 0xffffffff1022ffff globl +.scall semaphore_signal_all_trap,0xffffffff1022ffff,globl diff --git a/libc/sysv/machcalls/semaphore_signal_thread_trap.s b/libc/sysv/machcalls/semaphore_signal_thread_trap.s index b85ddd335b8..dc8f70c1ccf 100644 --- a/libc/sysv/machcalls/semaphore_signal_thread_trap.s +++ b/libc/sysv/machcalls/semaphore_signal_thread_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall semaphore_signal_thread_trap 0xffffffff1023ffff globl +.scall semaphore_signal_thread_trap,0xffffffff1023ffff,globl diff --git a/libc/sysv/machcalls/semaphore_signal_trap.s b/libc/sysv/machcalls/semaphore_signal_trap.s index 5dcddaf3e63..9b6a07aa2d3 100644 --- a/libc/sysv/machcalls/semaphore_signal_trap.s +++ b/libc/sysv/machcalls/semaphore_signal_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall semaphore_signal_trap 0xffffffff1021ffff globl +.scall semaphore_signal_trap,0xffffffff1021ffff,globl diff --git a/libc/sysv/machcalls/semaphore_timedwait_signal_trap.s b/libc/sysv/machcalls/semaphore_timedwait_signal_trap.s index 216785a1fe9..c12fe89988f 100644 --- a/libc/sysv/machcalls/semaphore_timedwait_signal_trap.s +++ b/libc/sysv/machcalls/semaphore_timedwait_signal_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall semaphore_timedwait_signal_trap 0xffffffff1027ffff globl +.scall semaphore_timedwait_signal_trap,0xffffffff1027ffff,globl diff --git a/libc/sysv/machcalls/semaphore_timedwait_trap.s b/libc/sysv/machcalls/semaphore_timedwait_trap.s index acb22fbd950..048d3166dc6 100644 --- a/libc/sysv/machcalls/semaphore_timedwait_trap.s +++ b/libc/sysv/machcalls/semaphore_timedwait_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall semaphore_timedwait_trap 0xffffffff1026ffff globl +.scall semaphore_timedwait_trap,0xffffffff1026ffff,globl diff --git a/libc/sysv/machcalls/semaphore_wait_signal_trap.s b/libc/sysv/machcalls/semaphore_wait_signal_trap.s index 59d688ef458..f5d4285a585 100644 --- a/libc/sysv/machcalls/semaphore_wait_signal_trap.s +++ b/libc/sysv/machcalls/semaphore_wait_signal_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall semaphore_wait_signal_trap 0xffffffff1025ffff globl +.scall semaphore_wait_signal_trap,0xffffffff1025ffff,globl diff --git a/libc/sysv/machcalls/semaphore_wait_trap.s b/libc/sysv/machcalls/semaphore_wait_trap.s index 23c57d3f646..836dd75cd68 100644 --- a/libc/sysv/machcalls/semaphore_wait_trap.s +++ b/libc/sysv/machcalls/semaphore_wait_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall semaphore_wait_trap 0xffffffff1024ffff globl +.scall semaphore_wait_trap,0xffffffff1024ffff,globl diff --git a/libc/sysv/machcalls/swtch.s b/libc/sysv/machcalls/swtch.s index 3e9000525b3..904dc5f1a6d 100644 --- a/libc/sysv/machcalls/swtch.s +++ b/libc/sysv/machcalls/swtch.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall swtch 0xffffffff103cffff globl +.scall swtch,0xffffffff103cffff,globl diff --git a/libc/sysv/machcalls/swtch_pri.s b/libc/sysv/machcalls/swtch_pri.s index 34fcafc46ec..829886ff08a 100644 --- a/libc/sysv/machcalls/swtch_pri.s +++ b/libc/sysv/machcalls/swtch_pri.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall swtch_pri 0xffffffff103bffff globl +.scall swtch_pri,0xffffffff103bffff,globl diff --git a/libc/sysv/machcalls/task_for_pid.s b/libc/sysv/machcalls/task_for_pid.s index 8e28a47e62b..cdb9d5b6101 100644 --- a/libc/sysv/machcalls/task_for_pid.s +++ b/libc/sysv/machcalls/task_for_pid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall task_for_pid 0xffffffff102dffff globl +.scall task_for_pid,0xffffffff102dffff,globl diff --git a/libc/sysv/machcalls/task_name_for_pid.s b/libc/sysv/machcalls/task_name_for_pid.s index cd3e36260bf..786d7f4ed69 100644 --- a/libc/sysv/machcalls/task_name_for_pid.s +++ b/libc/sysv/machcalls/task_name_for_pid.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall task_name_for_pid 0xffffffff102cffff globl +.scall task_name_for_pid,0xffffffff102cffff,globl diff --git a/libc/sysv/machcalls/task_self_trap.s b/libc/sysv/machcalls/task_self_trap.s index 1510f28fd11..71c926cf486 100644 --- a/libc/sysv/machcalls/task_self_trap.s +++ b/libc/sysv/machcalls/task_self_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall task_self_trap 0xffffffff101cffff globl +.scall task_self_trap,0xffffffff101cffff,globl diff --git a/libc/sysv/machcalls/thread_get_special_reply_port.s b/libc/sysv/machcalls/thread_get_special_reply_port.s index a88d11f0742..222ecfe7e8a 100644 --- a/libc/sysv/machcalls/thread_get_special_reply_port.s +++ b/libc/sysv/machcalls/thread_get_special_reply_port.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall thread_get_special_reply_port 0xffffffff1032ffff globl +.scall thread_get_special_reply_port,0xffffffff1032ffff,globl diff --git a/libc/sysv/machcalls/thread_self_trap.s b/libc/sysv/machcalls/thread_self_trap.s index 880f0ec4d57..bd43ac3e91f 100644 --- a/libc/sysv/machcalls/thread_self_trap.s +++ b/libc/sysv/machcalls/thread_self_trap.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall thread_self_trap 0xffffffff101bffff globl +.scall thread_self_trap,0xffffffff101bffff,globl diff --git a/libc/sysv/machcalls/thread_switch.s b/libc/sysv/machcalls/thread_switch.s index 4da149c436f..95645636d19 100644 --- a/libc/sysv/machcalls/thread_switch.s +++ b/libc/sysv/machcalls/thread_switch.s @@ -1,2 +1,2 @@ .include "o/libc/sysv/macros.internal.inc" -.scall thread_switch 0xffffffff103dffff globl +.scall thread_switch,0xffffffff103dffff,globl diff --git a/libc/sysv/restorert.S b/libc/sysv/restorert.S index c1eafdcae47..40021fef84f 100644 --- a/libc/sysv/restorert.S +++ b/libc/sysv/restorert.S @@ -20,7 +20,7 @@ .privileged .source __FILE__ -/ Linux Signal Trampoline (HOLY CODE) +// Linux Signal Trampoline (HOLY CODE) .align 16 __restore_rt: # @see gdb/amd64-linux-tdep.c mov $0x000f,%rax # [sic] diff --git a/libc/sysv/syscall.S b/libc/sysv/syscall.S index a9c26fcfccf..40db1ea0a65 100644 --- a/libc/sysv/syscall.S +++ b/libc/sysv/syscall.S @@ -19,19 +19,19 @@ #include "libc/macros.h" .source __FILE__ -/ Performs raw System Five system call. -/ -/ This function provides a direct path into system call support -/ that's friendly to C code, since it doesn't need an intermediate -/ thunk. It only supports arities up to six, since there's no way -/ to do more safely; this isn't a problem with Linux, although -/ certain BSD calls may not be available. -/ -/ @param %rdi is system call ordinal, which isn't translated, -/ and must be correct for the underlying host system -/ @param %rsi,%rdx,%rcx,%r8,%r9 may supply parameters 1 through 5 -/ @param sixth is optionally pushed on the stack before call -/ @return %rax has result, or -1 w/ errno on failure +// Performs raw System Five system call. +// +// This function provides a direct path into system call support +// that's friendly to C code, since it doesn't need an intermediate +// thunk. It only supports arities up to six, since there's no way +// to do more safely; this isn't a problem with Linux, although +// certain BSD calls may not be available. +// +// @param %rdi is system call ordinal, which isn't translated, +// and must be correct for the underlying host system +// @param %rsi,%rdx,%rcx,%r8,%r9 may supply parameters 1 through 5 +// @param sixth is optionally pushed on the stack before call +// @return %rax has result, or -1 w/ errno on failure syscall:mov %rdi,%rax mov %rsi,%rdi mov %rdx,%rsi diff --git a/libc/sysv/syscalls.sh b/libc/sysv/syscalls.sh index ef04ee57533..718c9f083c5 100755 --- a/libc/sysv/syscalls.sh +++ b/libc/sysv/syscalls.sh @@ -305,8 +305,8 @@ scall move_pages 0xfffffffffffff117 globl # NOTE: We view Red Hat versio scall sys_preadv 0x12110b121ffff127 globl hidden # ├─ last distro with system v shell script init scall sys_pwritev 0x12210c122ffff128 globl hidden # ├─ rob landley unleashes busybox gpl lawsuits scall __sys_utimensat 0x1d3054223ffff118 globl hidden # ├─ python modules need this due to pep513 -scall sys_fallocate 0xfffffffffffff11d globl hidden # ├─ end of life 2020-11-30 (extended) -scall sys_posix_fallocate 0xffffff212fffffff globl hidden # └─ cosmopolitan supports rhel5+ +scall fallocate 0xfffffffffffff11d globl hidden # ├─ end of life 2020-11-30 (extended) +scall posix_fallocate 0xffffff212fffffff globl hidden # └─ cosmopolitan supports rhel5+ scall __sys_accept4 0xfff05d21dffff120 globl hidden # Linux 2.6.28+ scall __sys_dup3 0x1c6066fffffff124 globl hidden # Linux 2.6.27+ scall __sys_pipe2 0x1c506521effff125 globl hidden # Linux 2.6.27+ diff --git a/libc/sysv/systemfive.S b/libc/sysv/systemfive.S index 6f503a2c9a8..7c9ec254887 100644 --- a/libc/sysv/systemfive.S +++ b/libc/sysv/systemfive.S @@ -67,36 +67,36 @@ __hostos: .quad 0 .endobj __hostos,globl,hidden -/ Performs System Five System Call. -/ -/ Cosmopolitan is designed to delegate all function calls into the -/ Linux, FreeBSD, OpenBSD, and XNU kernels via this function, with -/ few exceptions. This function should generally only be called by -/ generated thunks in the libc/sysv/syscalls/ directory. -/ -/ It's safe to call this function on Windows, where it will always -/ return -1 with errno == ENOSYS. Further note that -1 is the only -/ return value that means error, a common anti-pattern is to check -/ for values less than 0 (which is more problematic on 32-bit). -/ -/ It is important to consider that system calls are one order of a -/ magnitude more expensive than normal function calls. For example -/ getpid() on Linux usually takes 500ns, and cached i/o calls will -/ take 1µs or more. So we don't need to inline them like Chromium. -/ -/ Another thing to consider is that BSDs only loosely follow the -/ System Five ABI for the SYSCALL instruction. For example Linux -/ always follows the six argument limit but the FreeBSD sendfile -/ system call accepts a seventh argument that is passed on stack -/ and OpenBSD modifies functions like mmap so that the sixth arg -/ is passed on the stack. There's also the carry flag convention -/ that XNU, FreeBSD, and OpenBSD inherited from 386BSD aka Jolix -/ -/ @param %rax function ordinal supplied by jump slot -/ @param %rdi,%rsi,%rdx,%rcx,%r8,%r9 and rest on stack -/ @return %rax:%rdx is result, or -1 w/ errno on error -/ @clob %rcx,%r10,%r11 -/ @see syscalls.sh +// Performs System Five System Call. +// +// Cosmopolitan is designed to delegate all function calls into the +// Linux, FreeBSD, OpenBSD, and XNU kernels via this function, with +// few exceptions. This function should generally only be called by +// generated thunks in the libc/sysv/syscalls/ directory. +// +// It's safe to call this function on Windows, where it will always +// return -1 with errno == ENOSYS. Further note that -1 is the only +// return value that means error, a common anti-pattern is to check +// for values less than 0 (which is more problematic on 32-bit). +// +// It is important to consider that system calls are one order of a +// magnitude more expensive than normal function calls. For example +// getpid() on Linux usually takes 500ns, and cached i/o calls will +// take 1µs or more. So we don't need to inline them like Chromium. +// +// Another thing to consider is that BSDs only loosely follow the +// System Five ABI for the SYSCALL instruction. For example Linux +// always follows the six argument limit but the FreeBSD sendfile +// system call accepts a seventh argument that is passed on stack +// and OpenBSD modifies functions like mmap so that the sixth arg +// is passed on the stack. There's also the carry flag convention +// that XNU, FreeBSD, and OpenBSD inherited from 386BSD aka Jolix +// +// @param %rax function ordinal supplied by jump slot +// @param %rdi,%rsi,%rdx,%rcx,%r8,%r9 and rest on stack +// @return %rax:%rdx is result, or -1 w/ errno on error +// @clob %rcx,%r10,%r11 +// @see syscalls.sh __systemfive: .quad 0 .endobj __systemfive,globl,hidden @@ -105,184 +105,184 @@ __systemfive: .privileged .Lanchorpoint: #if SupportsLinux() -systemfive.linux: +systemfive_linux: and $0xfff,%eax cmp $0xfff,%eax - je systemfive.enosys + je systemfive_enosys mov %rcx,%r10 # syscall instruction clobbers %rcx push %rbp # linux never reads args from stack mov %rsp,%rbp # having frame will help backtraces syscall # this is known as a context switch pop %rbp # next we check to see if it failed cmp $-4095,%rax # system five nexgen32e abi § A.2.1 - jae systemfive.error # encodes errno as neg return value + jae systemfive_error # encodes errno as neg return value ret - .endfn systemfive.linux,globl,hidden -systemfive.error: + .endfn systemfive_linux,globl,hidden +systemfive_error: neg %eax -/ 𝑠𝑙𝑖𝑑𝑒 - .endfn systemfive.error,globl,hidden +// 𝑠𝑙𝑖𝑑𝑒 + .endfn systemfive_error,globl,hidden #endif -systemfive.errno: +systemfive_errno: mov %eax,errno(%rip) # normalize to c library convention push $-1 # negative one is only error result pop %rax # the push pop is to save code size ret - .endfn systemfive.errno,globl,hidden -systemfive.enosys: + .endfn systemfive_errno,globl,hidden +systemfive_enosys: mov ENOSYS(%rip),%eax - jmp systemfive.errno - .endfn systemfive.enosys,globl,hidden + jmp systemfive_errno + .endfn systemfive_enosys,globl,hidden #if SupportsNetbsd() -systemfive.netbsd: +systemfive_netbsd: shr $4*13,%rax - jmp systemfive.bsdscrub - .endfn systemfive.openbsd,globl,hidden + jmp systemfive_bsdscrub + .endfn systemfive_openbsd,globl,hidden #endif #if SupportsOpenbsd() -systemfive.openbsd: +systemfive_openbsd: shr $4*10,%rax - jmp systemfive.bsdscrub - .endfn systemfive.openbsd,globl,hidden + jmp systemfive_bsdscrub + .endfn systemfive_openbsd,globl,hidden #endif #if SupportsFreebsd() -systemfive.freebsd: +systemfive_freebsd: shr $4*7,%rax movzwl %ax,%eax -/ 𝑠𝑙𝑖𝑑𝑒 - .endfn systemfive.freebsd,globl,hidden +// 𝑠𝑙𝑖𝑑𝑒 + .endfn systemfive_freebsd,globl,hidden #endif #if SupportsBsd() -systemfive.bsdscrub: +systemfive_bsdscrub: and $0xfff,%eax -/ 𝑠𝑙𝑖𝑑𝑒 - .endfn systemfive.bsdscrub,globl,hidden -systemfive.bsd: +// 𝑠𝑙𝑖𝑑𝑒 + .endfn systemfive_bsdscrub,globl,hidden +systemfive_bsd: cmp $0xfff,%ax - je systemfive.enosys + je systemfive_enosys mov %rcx,%r10 # note: we do not create a stack frame syscall # bsd will need arg on stack sometimes - jc systemfive.errno # bsd sets carry flag if %rax is errno + jc systemfive_errno # bsd sets carry flag if %rax is errno ret - .endfn systemfive.bsd + .endfn systemfive_bsd #endif #if SupportsXnu() -systemfive.xnu: -/ 0x?????????2153??? # how syscalls.sh encodes xnu ordinals -/ │└┴┴┐ -/ │ ├┬┐ -/ 0x0000000002000153 # how xnu wants ordinals to be encoded +systemfive_xnu: +// 0x?????????2153??? # how syscalls.sh encodes xnu ordinals +// │└┴┴┐ +// │ ├┬┐ +// 0x0000000002000153 # how xnu wants ordinals to be encoded mov %eax,%r11d and $0x0f000000,%r11d shl $8,%eax shr $20,%eax or %r11d,%eax - jmp systemfive.bsd - .endfn systemfive.xnu,globl,hidden + jmp systemfive_bsd + .endfn systemfive_xnu,globl,hidden #endif .previous -/ Initializes System Five system call support. -/ -/ (1) Extracts parameters passed by kernel -/ (2) Detects OS without issuing system calls -/ (3) Unpacks magnums from libc/sysv/consts.sh -/ (4) Replaces stack with one we control -/ -/ @param %r15 is auxv -/ @note OpenBSD devs: let us know if you start using auxv +// Initializes System Five system call support. +// +// (1) Extracts parameters passed by kernel +// (2) Detects OS without issuing system calls +// (3) Unpacks magnums from libc/sysv/consts.sh +// (4) Replaces stack with one we control +// +// @param %r15 is auxv +// @note OpenBSD devs: let us know if you start using auxv .init.start 300,_init_systemfive push %rbx push %rsi #if SupportsMetal() testb $METAL,(%rdi) # @see ape/ape.S - jnz systemfive.init.metal + jnz _init_systemfive_metal #endif #if SupportsXnu() testb $XNU,(%rdi) # @see libc/crt/crt.S - jnz systemfive.init.xnu + jnz _init_systemfive_xnu #endif #if SupportsFreebsd() testb $FREEBSD,(%rdi) # @see libc/crt/crt.S - jnz systemfive.init.freebsd + jnz _init_systemfive_freebsd #endif #if SupportsWindows() testb $WINDOWS,(%rdi) # @see libc/runtime/winmain.c - jnz systemfive.init.windows + jnz _init_systemfive_windows #endif #if SupportsOpenbsd() cmpq $0,(%r15) # OpenBSD doesn't have auxv - je systemfive.init.openbsd + je _init_systemfive_openbsd #endif #if SupportsNetbsd() xor %eax,%eax 0: cmpq $2014,(%r15,%rax,8) # NetBSD's distinctive AT_EXECFN - je systemfive.init.netbsd + je _init_systemfive_netbsd cmpq $0,(%r15,%rax,8) lea 2(%eax),%eax jnz 0b #endif #if SupportsLinux() -systemfive.init.linux: - pushb systemfive.linux-.Lanchorpoint +_init_systemfive_linux: + pushb systemfive_linux-.Lanchorpoint push $LINUX - ezlea syscon.linux,si - jmp systemfive.init.os + ezlea syscon_linux,si + jmp _init_systemfive_os #endif #if SupportsMetal() -systemfive.init.metal: - pushb systemfive.linux-.Lanchorpoint +_init_systemfive_metal: + pushb systemfive_linux-.Lanchorpoint push $METAL - ezlea syscon.linux,si - jmp systemfive.init.os + ezlea syscon_linux,si + jmp _init_systemfive_os #endif #if SupportsWindows() -systemfive.init.windows: - pushb systemfive.enosys-.Lanchorpoint +_init_systemfive_windows: + pushb systemfive_enosys-.Lanchorpoint push $WINDOWS - ezlea syscon.windows,si - jmp systemfive.init.os + ezlea syscon_windows,si + jmp _init_systemfive_os #endif #if SupportsFreebsd() -systemfive.init.freebsd: - pushb systemfive.freebsd-.Lanchorpoint +_init_systemfive_freebsd: + pushb systemfive_freebsd-.Lanchorpoint push $FREEBSD - ezlea syscon.freebsd,si - jmp systemfive.init.os + ezlea syscon_freebsd,si + jmp _init_systemfive_os #endif #if SupportsOpenbsd() -systemfive.init.openbsd: - pushb systemfive.openbsd-.Lanchorpoint +_init_systemfive_openbsd: + pushb systemfive_openbsd-.Lanchorpoint push $OPENBSD - ezlea syscon.openbsd,si - jmp systemfive.init.os + ezlea syscon_openbsd,si + jmp _init_systemfive_os #endif #if SupportsNetbsd() -systemfive.init.netbsd: - pushb systemfive.netbsd-.Lanchorpoint +_init_systemfive_netbsd: + pushb systemfive_netbsd-.Lanchorpoint push $NETBSD - ezlea syscon.netbsd,si - jmp systemfive.init.os + ezlea syscon_netbsd,si + jmp _init_systemfive_os #endif #if SupportsXnu() -systemfive.init.xnu: - pushb systemfive.xnu-.Lanchorpoint +_init_systemfive_xnu: + pushb systemfive_xnu-.Lanchorpoint push $XNU - ezlea syscon.xnu,si -/ 𝑠𝑙𝑖𝑑𝑒 + ezlea syscon_xnu,si +// 𝑠𝑙𝑖𝑑𝑒 #endif -systemfive.init.os: +_init_systemfive_os: ezlea .Lanchorpoint,cx pop %rax stosq #→ __hostos pop %rax add %rcx,%rax stosq #→ __systemfive -/ 𝑠𝑙𝑖𝑑𝑒 -systemfive.init.magnums: +// 𝑠𝑙𝑖𝑑𝑒 +_init_systemfive_magnums: push %rdi - ezlea syscon.start,di - ezlea syscon.end,bx + ezlea syscon_start,di + ezlea syscon_end,bx or $-1,%r9 2: cmp %rbx,%rdi jnb 5f @@ -309,12 +309,12 @@ systemfive.init.magnums: 5: pop %rdi pop %rsi pop %rbx -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 #if SupportsSystemv() && !defined(TINY) -systemfive.init.stack: # determinism ftw! +_init_systemfive_stack: # determinism ftw! #if SupportsWindows() testb IsWindows() # already did this - jnz systemfive.init.done + jnz _init_systemfive_done #endif push %rdi push %rsi @@ -364,11 +364,11 @@ systemfive.init.stack: # determinism ftw! push %rcx push %rbp mov %rsp,%rbp -/ 𝑠𝑙𝑖𝑑𝑒 -systemfive.init.syscall: +// 𝑠𝑙𝑖𝑑𝑒 +_init_systemfive_syscall: mov __NR_msyscall,%eax # syscall origin protect test %eax,%eax # openbsd is pretty cool - js systemfive.init.done + js _init_systemfive_done push %rdi push %rsi .weak __privileged_addr @@ -378,82 +378,82 @@ systemfive.init.syscall: syscall pop %rsi pop %rdi -/ 𝑠𝑙𝑖𝑑𝑒 +// 𝑠𝑙𝑖𝑑𝑒 #endif /* TINY */ -systemfive.init.done: +_init_systemfive_done: nop .init.end 300,_init_systemfive,globl,hidden -/ Sections for varint encoded magic numbers. -/ -/ These sections are all ordered by (group_name, constant_name). -/ They're populated by modules simply referencing the symbols. -/ -/ @see libc/sysv/consts.sh -/ @see libc/sysv/consts/syscon.h +// Sections for varint encoded magic numbers. +// +// These sections are all ordered by (group_name, constant_name). +// They're populated by modules simply referencing the symbols. +// +// @see libc/sysv/consts.sh +// @see libc/sysv/consts/syscon_h .section .piro.bss.sort.syscon.1,"aw",@nobits .align 8 -syscon.start:/* +syscon_start:/* ...decentralized quadwords... */.previous .section .piro.bss.sort.syscon.3,"aw",@nobits -syscon.end: +syscon_end: .previous - .type syscon.start,@object - .type syscon.end,@object - .globl syscon.start - .globl syscon.end + .type syscon_start,@object + .type syscon_end,@object + .globl syscon_start + .globl syscon_end #if SupportsLinux() .section .sort.rodata.syscon.linux.1,"a",@progbits .align 1 -syscon.linux:/* +syscon_linux:/* ...decentralized leb128... */.previous - .type syscon.linux,@object - .globl syscon.linux + .type syscon_linux,@object + .globl syscon_linux #endif #if SupportsXnu() .section .sort.rodata.syscon.xnu.1,"a",@progbits .align 1 -syscon.xnu:/* +syscon_xnu:/* ...decentralized leb128... */.previous - .type syscon.xnu,@object - .globl syscon.xnu + .type syscon_xnu,@object + .globl syscon_xnu #endif #if SupportsFreebsd() .section .sort.rodata.syscon.freebsd.1,"a",@progbits .align 1 -syscon.freebsd:/* +syscon_freebsd:/* ...decentralized leb128... */.previous - .type syscon.freebsd,@object - .globl syscon.freebsd + .type syscon_freebsd,@object + .globl syscon_freebsd #endif #if SupportsOpenbsd() .section .sort.rodata.syscon.openbsd.1,"a",@progbits .align 1 -syscon.openbsd:/* +syscon_openbsd:/* ...decentralized leb128... */.previous - .type syscon.openbsd,@object - .globl syscon.openbsd + .type syscon_openbsd,@object + .globl syscon_openbsd #endif #if SupportsNetbsd() .section .sort.rodata.syscon.netbsd.1,"a",@progbits .align 1 -syscon.netbsd:/* +syscon_netbsd:/* ...decentralized leb128... */.previous - .type syscon.netbsd,@object - .globl syscon.netbsd + .type syscon_netbsd,@object + .globl syscon_netbsd #endif #if SupportsWindows() .section .sort.rodata.syscon.windows.1,"a",@progbits .align 1 -syscon.windows:/* +syscon_windows:/* ...decentralized leb128... */.previous - .type syscon.windows,@object - .globl syscon.windows + .type syscon_windows,@object + .globl syscon_windows #endif diff --git a/libc/testlib/bench.S b/libc/testlib/bench.S index d9964001e88..b98a8b178db 100644 --- a/libc/testlib/bench.S +++ b/libc/testlib/bench.S @@ -20,9 +20,9 @@ .yoink testlib_runallbenchmarks .source __FILE__ -/ Decentralized section for benchmark registration. -/ -/ @see ape/ape.lds +// Decentralized section for benchmark registration. +// +// @see ape/ape.lds .section .piro.relo.sort.bench.1,"aw",@nobits .type __bench_start,@object .type __bench_end,@object diff --git a/libc/testlib/combo.S b/libc/testlib/combo.S index c8a792e2ecc..2d484b4dcf6 100644 --- a/libc/testlib/combo.S +++ b/libc/testlib/combo.S @@ -19,9 +19,9 @@ #include "libc/macros.h" .source __FILE__ -/ Decentralized section for test combo registration. -/ -/ @see ape/ape.lds +// Decentralized section for test combo registration. +// +// @see ape/ape.lds .section .piro.relo.sort.combo.1,"aw",@nobits .type __combo_start,@object .type __combo_end,@object diff --git a/libc/testlib/fixture.S b/libc/testlib/fixture.S index 75b23d764ea..5b5f85ad0f5 100644 --- a/libc/testlib/fixture.S +++ b/libc/testlib/fixture.S @@ -19,9 +19,9 @@ #include "libc/macros.h" .source __FILE__ -/ Decentralized section for test fixture registration. -/ -/ @see ape/ape.lds +// Decentralized section for test fixture registration. +// +// @see ape/ape.lds .section .piro.relo.sort.fixture.1,"aw",@nobits .type __fixture_start,@object .type __fixture_end,@object diff --git a/libc/testlib/fixturerunner.c b/libc/testlib/fixturerunner.c index 5ae930fab65..5d63975fd38 100644 --- a/libc/testlib/fixturerunner.c +++ b/libc/testlib/fixturerunner.c @@ -39,9 +39,7 @@ testonly void testlib_runfixtures(testfn_t *test_start, testfn_t *test_end, for (i = 0; i < count && !g_testlib_failed; ++i) { (snprintf)(g_fixturename, sizeof(g_fixturename), "%s_%s", fixture_start[i].group, fixture_start[i].name); - _piro(PROT_READ | PROT_WRITE); fixture_start[i].fn(); - _piro(PROT_READ); testlib_runtestcases(test_start, test_end, NULL); } } diff --git a/libc/testlib/hyperion.S b/libc/testlib/hyperion.S index 4d104f20c84..a2290d7ec0f 100644 --- a/libc/testlib/hyperion.S +++ b/libc/testlib/hyperion.S @@ -20,7 +20,7 @@ .source __FILE__ .rodata -/ Nontrivial NUL-terminated string test vector. +// Nontrivial NUL-terminated string test vector. .align 1 kHyperion: 0: .incbin "libc/testlib/hyperion.txt" diff --git a/libc/testlib/testcase.S b/libc/testlib/testcase.S index 015c19d9cda..ab3fed3b8b0 100644 --- a/libc/testlib/testcase.S +++ b/libc/testlib/testcase.S @@ -19,9 +19,9 @@ #include "libc/macros.h" .source __FILE__ -/ Decentralized section for test testcase registration. -/ -/ @see ape/ape.lds +// Decentralized section for test testcase registration. +// +// @see ape/ape.lds .section .piro.relo.sort.testcase.1,"aw",@nobits .type __testcase_start,@object .type __testcase_end,@object diff --git a/libc/testlib/thrashcodecache.S b/libc/testlib/thrashcodecache.S index 5883ca7d2f2..6812b30627c 100644 --- a/libc/testlib/thrashcodecache.S +++ b/libc/testlib/thrashcodecache.S @@ -20,19 +20,19 @@ .source __FILE__ .testonly -/ Empties L1 instruction cache. +// Empties L1 instruction cache. thrashcodecache: .leafprologue push %rbx xor %eax,%eax xor %ecx,%ecx cpuid -/ pushpop 4,%rcx +// pushpop 4,%rcx 0: .rept 32768/(8+9) .byte 0x0f,0x1f,0x84,0,0,0,0,0 # fat nop x8 .byte 0x66,0x0f,0x1f,0x84,0,0,0,0,0 # fat nop x9 .endr -/ loop 0b +// loop 0b xor %eax,%eax xor %ecx,%ecx cpuid diff --git a/libc/testlib/thunks/free.S b/libc/testlib/thunks/free.S index 045cb871a45..d33a085264e 100644 --- a/libc/testlib/thunks/free.S +++ b/libc/testlib/thunks/free.S @@ -19,9 +19,9 @@ #include "libc/macros.h" .source __FILE__ -/ Delegates to free(). -/ -/ @note reduces make dependency toil caused by macros +// Delegates to free(). +// +// @note reduces make dependency toil caused by macros testlib_free: jmp free .endfn testlib_free,globl diff --git a/libc/testlib/ugly.h b/libc/testlib/ugly.h index 2a2511bd0e7..bf216daad0a 100644 --- a/libc/testlib/ugly.h +++ b/libc/testlib/ugly.h @@ -9,9 +9,9 @@ #define __BENCH_ARRAY(S) \ _Section(".piro.relo.sort.bench.2." #S ",\"aw\",@init_array #") -#define __TEST_PROTOTYPE(S, N, A, K) \ - void S##_##N(void); \ - const void *const S##_##N##_ptr[] A(S) = {S##_##N}; \ +#define __TEST_PROTOTYPE(S, N, A, K) \ + void S##_##N(void); \ + const void *const S##_##N##_ptr[] A(S##_##N) = {S##_##N}; \ testonly K void S##_##N(void) #define __TEST_SECTION(NAME, CONTENT) \ diff --git a/libc/time/kmonthname.S b/libc/time/kmonthname.S index d12c22ff6c6..2428b10373a 100644 --- a/libc/time/kmonthname.S +++ b/libc/time/kmonthname.S @@ -9,8 +9,8 @@ #endif #include "libc/macros.h" -/ extern const char kMonthName[12][10]; - .section .rodata,"aS",@progbits +// extern const char kMonthName[12][10]; + .section .rodata,"a",@progbits kMonthName: .ascin "January",10 .ascin "February",10 diff --git a/libc/time/kmonthnameshort.S b/libc/time/kmonthnameshort.S index d0e1e78c275..281f0b813c3 100644 --- a/libc/time/kmonthnameshort.S +++ b/libc/time/kmonthnameshort.S @@ -9,13 +9,13 @@ #endif #include "libc/macros.h" -/ Type #1: -/ - Indexable C-String Array -/ - extern const char kMonthNameShort[12][4]; -/ Type #2: -/ - Double-NUL Terminated String -/ - extern const char kMonthNameShort[]; - .section .rodata,"aS",@progbits +// Type #1: +// - Indexable C-String Array +// - extern const char kMonthNameShort[12][4]; +// Type #2: +// - Double-NUL Terminated String +// - extern const char kMonthNameShort[]; + .section .rodata,"a",@progbits kMonthNameShort: .ascin "Jan",4 .ascin "Feb",4 diff --git a/libc/time/kweekdayname.S b/libc/time/kweekdayname.S index 2102d94d097..3e6e2708c12 100644 --- a/libc/time/kweekdayname.S +++ b/libc/time/kweekdayname.S @@ -9,8 +9,8 @@ #endif #include "libc/macros.h" -/ extern const char kWeekdayName[7][10]; - .section .rodata,"aS",@progbits +// extern const char kWeekdayName[7][10]; + .section .rodata,"a",@progbits kWeekdayName: .ascin "Sunday",10 .ascin "Monday",10 diff --git a/libc/time/kweekdaynameshort.S b/libc/time/kweekdaynameshort.S index f032e478ea2..81f1a12d460 100644 --- a/libc/time/kweekdaynameshort.S +++ b/libc/time/kweekdaynameshort.S @@ -9,13 +9,13 @@ #endif #include "libc/macros.h" -/ Type #1: -/ - Indexable C-String Array -/ - extern const char kWeekdayNameShort[7][4]; -/ Type #2: -/ - Double-NUL Terminated String -/ - extern const char kWeekdayNameShort[]; - .section .rodata,"aS",@progbits +// Type #1: +// - Indexable C-String Array +// - extern const char kWeekdayNameShort[7][4]; +// Type #2: +// - Double-NUL Terminated String +// - extern const char kWeekdayNameShort[]; + .section .rodata,"a",@progbits kWeekdayNameShort: .asciz "Sun" .asciz "Mon" diff --git a/libc/tinymath/acos.S b/libc/tinymath/acos.S index 884f9140079..cf2a0aa2b94 100644 --- a/libc/tinymath/acos.S +++ b/libc/tinymath/acos.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns arc cosine of 𝑥. -/ -/ @param 𝑥 is double scalar in low half of %xmm0 -/ @return double scalar in low half of %xmm0 +// Returns arc cosine of 𝑥. +// +// @param 𝑥 is double scalar in low half of %xmm0 +// @return double scalar in low half of %xmm0 acos: ezlea acosl,ax jmp _d2ld2 .endfn acos,globl diff --git a/libc/tinymath/acosf.S b/libc/tinymath/acosf.S index 00529439a77..4a351f8cf90 100644 --- a/libc/tinymath/acosf.S +++ b/libc/tinymath/acosf.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns arc cosine of 𝑥. -/ -/ @param 𝑥 is float scalar in low quarter of %xmm0 -/ @return float scalar in low quarter of %xmm0 +// Returns arc cosine of 𝑥. +// +// @param 𝑥 is float scalar in low quarter of %xmm0 +// @return float scalar in low quarter of %xmm0 acosf: ezlea acosl,ax jmp _f2ld2 .endfn acosf,globl diff --git a/libc/tinymath/acosl.S b/libc/tinymath/acosl.S index 6f6e03d69ff..c8354326158 100644 --- a/libc/tinymath/acosl.S +++ b/libc/tinymath/acosl.S @@ -19,13 +19,13 @@ #include "libc/macros.h" .source __FILE__ -/ Returns arc cosine of 𝑥. -/ -/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes -/ @return result of computation on FPU stack in %st -/ @define atan2(abs(sqrt((1-𝑥)*(1+𝑥))),𝑥) -/ @domain -1 ≤ 𝑥 ≤ 1 -/ @mode long,legacy +// Returns arc cosine of 𝑥. +// +// @param 𝑥 is an 80-bit long double passed on stack in 16-bytes +// @return result of computation on FPU stack in %st +// @define atan2(abs(sqrt((1-𝑥)*(1+𝑥))),𝑥) +// @domain -1 ≤ 𝑥 ≤ 1 +// @mode long,legacy acosl: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/asin.S b/libc/tinymath/asin.S index d2ac81ff6d6..a360d2bdabb 100644 --- a/libc/tinymath/asin.S +++ b/libc/tinymath/asin.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns arc sine of 𝑥. -/ -/ @param 𝑥 is double scalar in low half of %xmm0 -/ @return double scalar in low half of %xmm0 +// Returns arc sine of 𝑥. +// +// @param 𝑥 is double scalar in low half of %xmm0 +// @return double scalar in low half of %xmm0 asin: ezlea asinl,ax jmp _d2ld2 .endfn asin,globl diff --git a/libc/tinymath/asinf.S b/libc/tinymath/asinf.S index 7cd380bdb31..d9b3a85ecf5 100644 --- a/libc/tinymath/asinf.S +++ b/libc/tinymath/asinf.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns arc sine of 𝑥. -/ -/ @param 𝑥 is float scalar in low quarter of %xmm0 -/ @return float scalar in low quarter of %xmm0 +// Returns arc sine of 𝑥. +// +// @param 𝑥 is float scalar in low quarter of %xmm0 +// @return float scalar in low quarter of %xmm0 asinf: ezlea asinl,ax jmp _f2ld2 .endfn asinf,globl diff --git a/libc/tinymath/asinl.S b/libc/tinymath/asinl.S index 90c05584f01..8c8d05e413d 100644 --- a/libc/tinymath/asinl.S +++ b/libc/tinymath/asinl.S @@ -19,13 +19,13 @@ #include "libc/macros.h" .source __FILE__ -/ Returns arc sine of 𝑥. -/ -/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes -/ @return result of computation on FPU stack in %st -/ @define atan2(𝑥,sqrt((1-𝑥)*(1+𝑥))) -/ @domain -1 ≤ 𝑥 ≤ 1 -/ @mode long,legacy +// Returns arc sine of 𝑥. +// +// @param 𝑥 is an 80-bit long double passed on stack in 16-bytes +// @return result of computation on FPU stack in %st +// @define atan2(𝑥,sqrt((1-𝑥)*(1+𝑥))) +// @domain -1 ≤ 𝑥 ≤ 1 +// @mode long,legacy asinl: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/atan.S b/libc/tinymath/atan.S index 35591124d2b..c4e714ac6fc 100644 --- a/libc/tinymath/atan.S +++ b/libc/tinymath/atan.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns arc tangent of 𝑥. -/ -/ @param 𝑥 is double scalar in low half of %xmm0 -/ @return double scalar in low half of %xmm0 +// Returns arc tangent of 𝑥. +// +// @param 𝑥 is double scalar in low half of %xmm0 +// @return double scalar in low half of %xmm0 atan: ezlea atanl,ax jmp _d2ld2 .endfn atan,globl diff --git a/libc/tinymath/atan2.S b/libc/tinymath/atan2.S index 9c4fa2e5300..7802ca1dda1 100644 --- a/libc/tinymath/atan2.S +++ b/libc/tinymath/atan2.S @@ -19,12 +19,12 @@ #include "libc/macros.h" .source __FILE__ -/ Returns arc tangent of 𝑦/𝑥. -/ -/ @param 𝑦 is double scalar in low half of %xmm0 -/ @param 𝑥 is double scalar in low half of %xmm1 -/ @return double scalar in low half of %xmm0 -/ @note the greatest of all libm functions +// Returns arc tangent of 𝑦/𝑥. +// +// @param 𝑦 is double scalar in low half of %xmm0 +// @param 𝑥 is double scalar in low half of %xmm1 +// @return double scalar in low half of %xmm0 +// @note the greatest of all libm functions atan2: ezlea atan2l,ax jmp _d2ld2 .endfn atan2,globl diff --git a/libc/tinymath/atan2f.S b/libc/tinymath/atan2f.S index 71e1698ee61..ff64dc7d031 100644 --- a/libc/tinymath/atan2f.S +++ b/libc/tinymath/atan2f.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Returns arc tangent of 𝑦/𝑥. -/ -/ @param 𝑦 is float scalar in low quarter of %xmm0 -/ @param 𝑥 is float scalar in low quarter of %xmm1 -/ @return float scalar in low quarter of %xmm0 +// Returns arc tangent of 𝑦/𝑥. +// +// @param 𝑦 is float scalar in low quarter of %xmm0 +// @param 𝑥 is float scalar in low quarter of %xmm1 +// @return float scalar in low quarter of %xmm0 atan2f: ezlea atan2l,ax jmp _f2ld2 .endfn atan2f,globl diff --git a/libc/tinymath/atan2l.S b/libc/tinymath/atan2l.S index 9b1d34bfe67..009e99da0bd 100644 --- a/libc/tinymath/atan2l.S +++ b/libc/tinymath/atan2l.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Returns arc tangent of 𝑦/𝑥. -/ -/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes -/ @param 𝑦 is an 80-bit long double passed on stack in 16-bytes -/ @return result of computation on FPU stack in %st +// Returns arc tangent of 𝑦/𝑥. +// +// @param 𝑥 is an 80-bit long double passed on stack in 16-bytes +// @param 𝑦 is an 80-bit long double passed on stack in 16-bytes +// @return result of computation on FPU stack in %st atan2l: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/atanf.S b/libc/tinymath/atanf.S index ece3f333dc6..cffe1ca1c17 100644 --- a/libc/tinymath/atanf.S +++ b/libc/tinymath/atanf.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns arc tangent of 𝑥. -/ -/ @param 𝑥 is float scalar in low quarter of %xmm0 -/ @return float scalar in low quarter of %xmm0 +// Returns arc tangent of 𝑥. +// +// @param 𝑥 is float scalar in low quarter of %xmm0 +// @return float scalar in low quarter of %xmm0 atanf: ezlea atanl,ax jmp _f2ld2 .endfn atanf,globl diff --git a/libc/tinymath/atanl.S b/libc/tinymath/atanl.S index 825703072da..990ae508757 100644 --- a/libc/tinymath/atanl.S +++ b/libc/tinymath/atanl.S @@ -19,15 +19,15 @@ #include "libc/macros.h" .source __FILE__ -/ Returns arc tangent of 𝑥. -/ -/ 1 3 1 5 1 7 1 9 1 11 -/ atan(𝑥) = 𝑥 - - 𝑥 + - 𝑥 - - 𝑥 + - 𝑥 - -- 𝑥 ... -/ 3 5 7 9 11 -/ -/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes -/ @return result of computation on FPU stack in %st -/ @define atan(𝑥) = Σₙ₌₀₋∞ 2²ⁿ(𝑛!)²/(𝟸𝑛+𝟷)!(𝑥²ⁿ⁺¹/(𝑥²+𝟷)ⁿ⁺¹) +// Returns arc tangent of 𝑥. +// +// 1 3 1 5 1 7 1 9 1 11 +// atan(𝑥) = 𝑥 - - 𝑥 + - 𝑥 - - 𝑥 + - 𝑥 - -- 𝑥 ... +// 3 5 7 9 11 +// +// @param 𝑥 is an 80-bit long double passed on stack in 16-bytes +// @return result of computation on FPU stack in %st +// @define atan(𝑥) = Σₙ₌₀₋∞ 2²ⁿ(𝑛!)²/(𝟸𝑛+𝟷)!(𝑥²ⁿ⁺¹/(𝑥²+𝟷)ⁿ⁺¹) atanl: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/c2rangr.S b/libc/tinymath/c2rangr.S index e148baf957d..fb4fceae798 100644 --- a/libc/tinymath/c2rangr.S +++ b/libc/tinymath/c2rangr.S @@ -20,12 +20,12 @@ #include "libc/macros.h" .source __FILE__ -/ Computes transcedental trigonometry op w/ reactive scaling. -/ -/ @param %rdx points to op function -/ @param everything else delegates -/ @clob %ax -/ @see sin,cos,tan +// Computes transcedental trigonometry op w/ reactive scaling. +// +// @param %rdx points to op function +// @param everything else delegates +// @clob %ax +// @see sin,cos,tan c2rangr:push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/cabs.S b/libc/tinymath/cabs.S index a5886b9948f..d42e9d8ef7e 100644 --- a/libc/tinymath/cabs.S +++ b/libc/tinymath/cabs.S @@ -19,6 +19,6 @@ #include "libc/macros.h" .source __FILE__ -/ Returns absolute value of complex number. +// Returns absolute value of complex number. cabs: jmp hypot .endfn cabs,globl diff --git a/libc/tinymath/cbrt.S b/libc/tinymath/cbrt.S index 2f5db2cdb63..34b299d73f4 100644 --- a/libc/tinymath/cbrt.S +++ b/libc/tinymath/cbrt.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns cube root of 𝑥. -/ -/ @param %xmm0 holds binary64 number -/ @return %xmm0 holds binary64 result +// Returns cube root of 𝑥. +// +// @param %xmm0 holds binary64 number +// @return %xmm0 holds binary64 result cbrt: jmp __cbrt .endfn cbrt,globl .source __FILE__ diff --git a/libc/tinymath/cbrtf.S b/libc/tinymath/cbrtf.S index df9786b91ab..0a9b50d35cb 100644 --- a/libc/tinymath/cbrtf.S +++ b/libc/tinymath/cbrtf.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns cube root of 𝑥. -/ -/ @param %xmm0 holds binary32 number -/ @return %xmm0 holds binary32 result +// Returns cube root of 𝑥. +// +// @param %xmm0 holds binary32 number +// @return %xmm0 holds binary32 result cbrtf: pushq %rbp mov %rsp,%rbp cvtss2sd %xmm0,%xmm0 diff --git a/libc/tinymath/cbrtl.S b/libc/tinymath/cbrtl.S index 4ac2cc6b47c..e5aaebd31f8 100644 --- a/libc/tinymath/cbrtl.S +++ b/libc/tinymath/cbrtl.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns cube root of 𝑥. -/ -/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes -/ @return result of computation on FPU stack in %st +// Returns cube root of 𝑥. +// +// @param 𝑥 is an 80-bit long double passed on stack in 16-bytes +// @return result of computation on FPU stack in %st cbrtl: pushq %rbp mov %rsp,%rbp sub $16,%rsp diff --git a/libc/tinymath/ceil.S b/libc/tinymath/ceil.S index 94f047416f0..45dd764b3f5 100644 --- a/libc/tinymath/ceil.S +++ b/libc/tinymath/ceil.S @@ -38,7 +38,7 @@ ceil: .leafprologue .rodata.cst8 nan: .double nan -sig: .double 0x0010000000000000 +sig: .quad 0x0010000000000000 one: .double 1 -/ vroundsd $_MM_FROUND_TO_POS_INF|_MM_FROUND_NO_EXC,%xmm0,%xmm0,%xmm0 +// vroundsd $_MM_FROUND_TO_POS_INF|_MM_FROUND_NO_EXC,%xmm0,%xmm0,%xmm0 diff --git a/libc/tinymath/ceilf.S b/libc/tinymath/ceilf.S index c4e8fbe158b..793f3e09259 100644 --- a/libc/tinymath/ceilf.S +++ b/libc/tinymath/ceilf.S @@ -46,5 +46,5 @@ ceilf: .leafprologue .long 0 .long 0 -/ TODO(jart): -/ vroundss $10,%xmm0,%xmm0,%xmm0 +// TODO(jart): +// vroundss $10,%xmm0,%xmm0,%xmm0 diff --git a/libc/tinymath/cos.S b/libc/tinymath/cos.S index 68d596deb59..86ed5d4f7e8 100644 --- a/libc/tinymath/cos.S +++ b/libc/tinymath/cos.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Returns cosine of 𝑥. -/ -/ @param 𝑥 is double scalar in low half of %xmm0 -/ @return double scalar in low half of %xmm0 -/ @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy +// Returns cosine of 𝑥. +// +// @param 𝑥 is double scalar in low half of %xmm0 +// @return double scalar in low half of %xmm0 +// @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy cos: ezlea cosl,ax jmp _d2ld2 .endfn cos,globl diff --git a/libc/tinymath/cosf.S b/libc/tinymath/cosf.S index 1f5c1172cc3..4a1513e467a 100644 --- a/libc/tinymath/cosf.S +++ b/libc/tinymath/cosf.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Returns cosine of 𝑥. -/ -/ @param 𝑥 is float scalar in low quarter of %xmm0 -/ @return float scalar in low quarter of %xmm0 -/ @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy +// Returns cosine of 𝑥. +// +// @param 𝑥 is float scalar in low quarter of %xmm0 +// @return float scalar in low quarter of %xmm0 +// @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy cosf: ezlea cosl,ax jmp _f2ld2 .endfn cosf,globl diff --git a/libc/tinymath/cosl.S b/libc/tinymath/cosl.S index 49dc8508b6e..ff185a9d07c 100644 --- a/libc/tinymath/cosl.S +++ b/libc/tinymath/cosl.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Returns cosine of 𝑥. -/ -/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes -/ @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy -/ @return %st stores result +// Returns cosine of 𝑥. +// +// @param 𝑥 is an 80-bit long double passed on stack in 16-bytes +// @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy +// @return %st stores result cosl: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/cprojl.S b/libc/tinymath/cprojl.S index b16c2b82be0..d5c04e7ba74 100644 --- a/libc/tinymath/cprojl.S +++ b/libc/tinymath/cprojl.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Projects into Rienmann sphere. -/ -/ @param z is complex long double passed on stack -/ @note needs sse3 +// Projects into Rienmann sphere. +// +// @param z is complex long double passed on stack +// @note needs sse3 cprojl: .profilable sub $24,%rsp fldt 32(%rsp) diff --git a/libc/tinymath/d2ld2.S b/libc/tinymath/d2ld2.S index 5d8a033aeb8..3121cb2daac 100644 --- a/libc/tinymath/d2ld2.S +++ b/libc/tinymath/d2ld2.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Thunks double(*fn)(double,double) -> long double fn. -/ -/ @param %xmm0[0] contains double param -/ @return %xmm0[0] contains double result -/ @note 100% negligible overhead +// Thunks double(*fn)(double,double) -> long double fn. +// +// @param %xmm0[0] contains double param +// @return %xmm0[0] contains double result +// @note 100% negligible overhead _d2ld2: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/exp.S b/libc/tinymath/exp.S index 665ac85fd2f..98f5a51f3fd 100644 --- a/libc/tinymath/exp.S +++ b/libc/tinymath/exp.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 𝑒^x. -/ -/ @param 𝑥 is float scalar in low quarter of %xmm0 -/ @return float scalar in low quarter of %xmm0 +// Returns 𝑒^x. +// +// @param 𝑥 is float scalar in low quarter of %xmm0 +// @return float scalar in low quarter of %xmm0 exp: ezlea expl,ax jmp _d2ld2 .endfn exp,globl diff --git a/libc/tinymath/exp10.S b/libc/tinymath/exp10.S index 189ccf5b27d..472336387ef 100644 --- a/libc/tinymath/exp10.S +++ b/libc/tinymath/exp10.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 10^x. -/ -/ @param 𝑥 is double scalar in low half of %xmm0 -/ @return double scalar in low half of %xmm0 -/ @see pow(), exp() +// Returns 10^x. +// +// @param 𝑥 is double scalar in low half of %xmm0 +// @return double scalar in low half of %xmm0 +// @see pow(), exp() exp10: ezlea exp10l,ax jmp _d2ld2 diff --git a/libc/tinymath/exp10f.S b/libc/tinymath/exp10f.S index 7853fe4d46d..756d7c2053a 100644 --- a/libc/tinymath/exp10f.S +++ b/libc/tinymath/exp10f.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 10^x. -/ -/ @param 𝑥 is float scalar in low quarter of %xmm0 -/ @return float scalar in low quarter of %xmm0 +// Returns 10^x. +// +// @param 𝑥 is float scalar in low quarter of %xmm0 +// @return float scalar in low quarter of %xmm0 exp10f: ezlea exp10l,ax jmp _f2ld2 diff --git a/libc/tinymath/exp10l.S b/libc/tinymath/exp10l.S index 769386b39a4..b82ca56f005 100644 --- a/libc/tinymath/exp10l.S +++ b/libc/tinymath/exp10l.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 10^x. -/ -/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes -/ @return result of exponentiation on FPU stack in %st +// Returns 10^x. +// +// @param 𝑥 is an 80-bit long double passed on stack in 16-bytes +// @return result of exponentiation on FPU stack in %st exp10l: push %rbp mov %rsp,%rbp diff --git a/libc/tinymath/exp2.S b/libc/tinymath/exp2.S index cbfb4f1f2ed..4481151a607 100644 --- a/libc/tinymath/exp2.S +++ b/libc/tinymath/exp2.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 2^𝑥. -/ -/ @param 𝑥 is a double passed in the lower quadword of %xmm0 -/ @return result in lower quadword of %xmm0 +// Returns 2^𝑥. +// +// @param 𝑥 is a double passed in the lower quadword of %xmm0 +// @return result in lower quadword of %xmm0 exp2: ezlea exp2l,ax jmp _d2ld2 diff --git a/libc/tinymath/exp2f.S b/libc/tinymath/exp2f.S index eb549981594..fc7fc16a422 100644 --- a/libc/tinymath/exp2f.S +++ b/libc/tinymath/exp2f.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 2^𝑥. -/ -/ @param 𝑥 is a float passed in the lower quarter of %xmm0 -/ @return result in lower quarter of %xmm0 +// Returns 2^𝑥. +// +// @param 𝑥 is a float passed in the lower quarter of %xmm0 +// @return result in lower quarter of %xmm0 exp2f: ezlea exp2l,ax jmp _f2ld2 diff --git a/libc/tinymath/exp2l.S b/libc/tinymath/exp2l.S index 2e6a87cb71d..1cab05fdfed 100644 --- a/libc/tinymath/exp2l.S +++ b/libc/tinymath/exp2l.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 2^𝑥. -/ -/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes -/ @return result of exponentiation on FPU stack in %st +// Returns 2^𝑥. +// +// @param 𝑥 is an 80-bit long double passed on stack in 16-bytes +// @return result of exponentiation on FPU stack in %st exp2l: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/expf.S b/libc/tinymath/expf.S index fa5f287350f..b7ae553cb3e 100644 --- a/libc/tinymath/expf.S +++ b/libc/tinymath/expf.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 𝑒^x. -/ -/ @param 𝑥 is double scalar in low half of %xmm0 -/ @return double scalar in low half of %xmm0 +// Returns 𝑒^x. +// +// @param 𝑥 is double scalar in low half of %xmm0 +// @return double scalar in low half of %xmm0 expf: ezlea expl,ax jmp _f2ld2 .endfn expf,globl diff --git a/libc/tinymath/expl.S b/libc/tinymath/expl.S index d202b307b4e..b356892cf7f 100644 --- a/libc/tinymath/expl.S +++ b/libc/tinymath/expl.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 𝑒^x. -/ -/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes -/ @return result of exponentiation on FPU stack in %st +// Returns 𝑒^x. +// +// @param 𝑥 is an 80-bit long double passed on stack in 16-bytes +// @return result of exponentiation on FPU stack in %st expl: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/expm1.S b/libc/tinymath/expm1.S index d12c9dc4474..a7787f60435 100644 --- a/libc/tinymath/expm1.S +++ b/libc/tinymath/expm1.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 𝑒^x-1. -/ -/ @param 𝑥 is double scalar in low half of %xmm0 -/ @return double scalar in low half of %xmm0 +// Returns 𝑒^x-1. +// +// @param 𝑥 is double scalar in low half of %xmm0 +// @return double scalar in low half of %xmm0 expm1: ezlea expm1l,ax jmp _d2ld2 diff --git a/libc/tinymath/expm1f.S b/libc/tinymath/expm1f.S index 561a463c39c..8b1753b0f6f 100644 --- a/libc/tinymath/expm1f.S +++ b/libc/tinymath/expm1f.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 𝑒^x-1. -/ -/ @param 𝑥 is float scalar in low quarter of %xmm0 -/ @return float scalar in low quarter of %xmm0 +// Returns 𝑒^x-1. +// +// @param 𝑥 is float scalar in low quarter of %xmm0 +// @return float scalar in low quarter of %xmm0 expm1f: ezlea expm1l,ax jmp _f2ld2 .endfn expm1f,globl diff --git a/libc/tinymath/expm1l.S b/libc/tinymath/expm1l.S index e793adc90df..cd792ddd8f8 100644 --- a/libc/tinymath/expm1l.S +++ b/libc/tinymath/expm1l.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 𝑒^x-1. -/ -/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes -/ @return result of exponentiation on FPU stack in %st +// Returns 𝑒^x-1. +// +// @param 𝑥 is an 80-bit long double passed on stack in 16-bytes +// @return result of exponentiation on FPU stack in %st expm1l: push %rbp mov %rsp,%rbp diff --git a/libc/tinymath/f2ld2.S b/libc/tinymath/f2ld2.S index 204f21fce58..b45b4adc232 100644 --- a/libc/tinymath/f2ld2.S +++ b/libc/tinymath/f2ld2.S @@ -18,11 +18,11 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Thunks float(*fn)(float,float) -> long double fn. -/ -/ @param %xmm0[0] contains float param -/ @return %xmm0[0] contains float result -/ @note 100% negligible overhead +// Thunks float(*fn)(float,float) -> long double fn. +// +// @param %xmm0[0] contains float param +// @return %xmm0[0] contains float result +// @note 100% negligible overhead _f2ld2: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/fabs.S b/libc/tinymath/fabs.S index 5bfd1709aa8..b4218b44863 100644 --- a/libc/tinymath/fabs.S +++ b/libc/tinymath/fabs.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns absolute value of 𝑥. -/ -/ @param 𝑥 is double passed in lower half on %xmm0 -/ @return absolute value in %xmm0 +// Returns absolute value of 𝑥. +// +// @param 𝑥 is double passed in lower half on %xmm0 +// @return absolute value in %xmm0 fabs: .leafprologue .profilable mov $0x7fffffffffffffff,%rax diff --git a/libc/tinymath/fabsf.S b/libc/tinymath/fabsf.S index d93c01ba283..54a40e34bca 100644 --- a/libc/tinymath/fabsf.S +++ b/libc/tinymath/fabsf.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns absolute value of 𝑥. -/ -/ @param 𝑥 is float passed in lower quarter on %xmm0 -/ @return absolute value in %xmm0 +// Returns absolute value of 𝑥. +// +// @param 𝑥 is float passed in lower quarter on %xmm0 +// @return absolute value in %xmm0 fabsf: .leafprologue .profilable movd %xmm0,%eax diff --git a/libc/tinymath/fabsl.S b/libc/tinymath/fabsl.S index 0c461586078..35a4c3d77b3 100644 --- a/libc/tinymath/fabsl.S +++ b/libc/tinymath/fabsl.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns absolute value of 𝑥. -/ -/ @param 𝑥 long double passed on stack -/ @return absolute value in %st +// Returns absolute value of 𝑥. +// +// @param 𝑥 long double passed on stack +// @return absolute value in %st fabsl: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/floor.S b/libc/tinymath/floor.S index be58ef5f3af..2b82684e7b2 100644 --- a/libc/tinymath/floor.S +++ b/libc/tinymath/floor.S @@ -19,7 +19,7 @@ #include "libc/macros.h" .source __FILE__ -/ vroundsd $_MM_FROUND_TO_NEG_INF|_MM_FROUND_NO_EXC,%xmm0,%xmm0,%xmm0 +// vroundsd $_MM_FROUND_TO_NEG_INF|_MM_FROUND_NO_EXC,%xmm0,%xmm0,%xmm0 floor: .leafprologue .profilable @@ -43,5 +43,5 @@ floor: .leafprologue .rodata.cst8 2: .double 1 -3: .double 0x0010000000000000 +3: .quad 0x0010000000000000 4: .double nan diff --git a/libc/tinymath/fmod.S b/libc/tinymath/fmod.S index 1529c9eb9f0..4e49c9251b1 100644 --- a/libc/tinymath/fmod.S +++ b/libc/tinymath/fmod.S @@ -19,13 +19,13 @@ #include "libc/macros.h" .source __FILE__ -/ fmod [sic] does (𝑥 rem 𝑦) w/ round()-style rounding. -/ -/ @param 𝑥 is double passed in lower half of %xmm0 -/ @param 𝑦 is double passed in lower half of %xmm1 -/ @return remainder ∈ (-|𝑦|,|𝑦|) in %xmm0 -/ @define 𝑥-trunc(𝑥/𝑦)*𝑦 -/ @see emod() +// fmod [sic] does (𝑥 rem 𝑦) w/ round()-style rounding. +// +// @param 𝑥 is double passed in lower half of %xmm0 +// @param 𝑦 is double passed in lower half of %xmm1 +// @return remainder ∈ (-|𝑦|,|𝑦|) in %xmm0 +// @define 𝑥-trunc(𝑥/𝑦)*𝑦 +// @see emod() fmod: ezlea fmodl,ax jmp _d2ld2 .endfn fmod,globl diff --git a/libc/tinymath/hypot.S b/libc/tinymath/hypot.S index fc002882f1f..2669b211fff 100644 --- a/libc/tinymath/hypot.S +++ b/libc/tinymath/hypot.S @@ -19,7 +19,7 @@ #include "libc/macros.h" .source __FILE__ -/ Returns euclidean distance in 2d space. +// Returns euclidean distance in 2d space. hypot: .leafprologue .profilable mulsd %xmm1,%xmm1 diff --git a/libc/tinymath/hypotf.S b/libc/tinymath/hypotf.S index d63eddb2dd4..1ff177bbaf5 100644 --- a/libc/tinymath/hypotf.S +++ b/libc/tinymath/hypotf.S @@ -19,7 +19,7 @@ #include "libc/macros.h" .source __FILE__ -/ Returns euclidean distance in 2d space. +// Returns euclidean distance in 2d space. hypotf: .leafprologue .profilable mulss %xmm1,%xmm1 diff --git a/libc/tinymath/hypotl.S b/libc/tinymath/hypotl.S index fb90c48fc96..2e7b8332fbd 100644 --- a/libc/tinymath/hypotl.S +++ b/libc/tinymath/hypotl.S @@ -19,7 +19,7 @@ #include "libc/macros.h" .source __FILE__ -/ Returns euclidean distance in 2d space. +// Returns euclidean distance in 2d space. hypotl: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/ilogb.S b/libc/tinymath/ilogb.S index 23035643e3e..fff7764ec27 100644 --- a/libc/tinymath/ilogb.S +++ b/libc/tinymath/ilogb.S @@ -18,11 +18,11 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns log₂𝑥 exponent part of double. -/ -/ @param 𝑥 is double passed in %xmm0 -/ @return result in %eax -/ @note needs sse3 +// Returns log₂𝑥 exponent part of double. +// +// @param 𝑥 is double passed in %xmm0 +// @return result in %eax +// @note needs sse3 ilogb: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/ilogbf.S b/libc/tinymath/ilogbf.S index a8f620db54d..b9138150e44 100644 --- a/libc/tinymath/ilogbf.S +++ b/libc/tinymath/ilogbf.S @@ -18,11 +18,11 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns log₂x exponent part of float. -/ -/ @param 𝑥 is float passed in %xmm0 -/ @return result in %eax -/ @note needs sse3 +// Returns log₂x exponent part of float. +// +// @param 𝑥 is float passed in %xmm0 +// @return result in %eax +// @note needs sse3 ilogbf: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/ilogbl.S b/libc/tinymath/ilogbl.S index 216598165c3..939f53f64f3 100644 --- a/libc/tinymath/ilogbl.S +++ b/libc/tinymath/ilogbl.S @@ -18,11 +18,11 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns log₂x exponent part of long double. -/ -/ @param 𝑥 is long double passed on stack -/ @return result in %eax -/ @note needs sse3 +// Returns log₂x exponent part of long double. +// +// @param 𝑥 is long double passed on stack +// @return result in %eax +// @note needs sse3 ilogbl: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/ldexp.S b/libc/tinymath/ldexp.S index 17dc270f420..1e26f485c28 100644 --- a/libc/tinymath/ldexp.S +++ b/libc/tinymath/ldexp.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 𝑥 × 2ʸ. -/ -/ @param 𝑥 is double passed in %xmm0 -/ @param 𝑦 is exponent via %edi -/ @return double in %xmm0 +// Returns 𝑥 × 2ʸ. +// +// @param 𝑥 is double passed in %xmm0 +// @param 𝑦 is exponent via %edi +// @return double in %xmm0 ldexp: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/ldexpf.S b/libc/tinymath/ldexpf.S index b96ec67efe5..b30945a1b1f 100644 --- a/libc/tinymath/ldexpf.S +++ b/libc/tinymath/ldexpf.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 𝑥 × 2ʸ. -/ -/ @param 𝑥 is float passed in %xmm0 -/ @param 𝑦 is exponent via %edi -/ @return float in %xmm0 +// Returns 𝑥 × 2ʸ. +// +// @param 𝑥 is float passed in %xmm0 +// @param 𝑦 is exponent via %edi +// @return float in %xmm0 ldexpf: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/ldexpl.S b/libc/tinymath/ldexpl.S index 98c67418d21..e2bd564392d 100644 --- a/libc/tinymath/ldexpl.S +++ b/libc/tinymath/ldexpl.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 𝑥 × 2ʸ. -/ -/ @param 𝑥 is long double passed on stack -/ @param 𝑦 is exponent via %edi -/ @return result in %st0 +// Returns 𝑥 × 2ʸ. +// +// @param 𝑥 is long double passed on stack +// @param 𝑦 is exponent via %edi +// @return result in %st0 ldexpl: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/log.S b/libc/tinymath/log.S index dc6d24e8e08..2f76f6c6ee6 100644 --- a/libc/tinymath/log.S +++ b/libc/tinymath/log.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns natural logarithm of 𝑥. -/ -/ @param 𝑥 is double scalar in low half of %xmm0 -/ @return double scalar in low half of %xmm0 +// Returns natural logarithm of 𝑥. +// +// @param 𝑥 is double scalar in low half of %xmm0 +// @return double scalar in low half of %xmm0 log: ezlea logl,ax jmp _d2ld2 .endfn log,globl diff --git a/libc/tinymath/log10.S b/libc/tinymath/log10.S index 1e8cb338b47..2fac31f68bf 100644 --- a/libc/tinymath/log10.S +++ b/libc/tinymath/log10.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Calculates log₁₀𝑥. -/ -/ @param 𝑥 is double scalar in low half of %xmm0 -/ @return double scalar in low half of %xmm0 +// Calculates log₁₀𝑥. +// +// @param 𝑥 is double scalar in low half of %xmm0 +// @return double scalar in low half of %xmm0 log10: ezlea log10l,ax jmp _d2ld2 diff --git a/libc/tinymath/log10f.S b/libc/tinymath/log10f.S index eda32b0eee4..0e7dab94d74 100644 --- a/libc/tinymath/log10f.S +++ b/libc/tinymath/log10f.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Calculates log₁₀𝑥. -/ -/ @param 𝑥 is double scalar in low quarter of %xmm0 -/ @return float scalar in low quarter of %xmm0 +// Calculates log₁₀𝑥. +// +// @param 𝑥 is double scalar in low quarter of %xmm0 +// @return float scalar in low quarter of %xmm0 log10f: ezlea log10l,ax jmp _f2ld2 diff --git a/libc/tinymath/log10l.S b/libc/tinymath/log10l.S index 0761d183103..f0b3bddab10 100644 --- a/libc/tinymath/log10l.S +++ b/libc/tinymath/log10l.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Calculates log₁₀𝑥. -/ -/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes -/ @return result in %st +// Calculates log₁₀𝑥. +// +// @param 𝑥 is an 80-bit long double passed on stack in 16-bytes +// @return result in %st log10l: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/log1p.S b/libc/tinymath/log1p.S index b6f29349919..cd6fcd2b212 100644 --- a/libc/tinymath/log1p.S +++ b/libc/tinymath/log1p.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns log(𝟷+𝑥). -/ -/ @param 𝑥 is double scalar in low half of %xmm0 -/ @return double scalar in low half of %xmm0 +// Returns log(𝟷+𝑥). +// +// @param 𝑥 is double scalar in low half of %xmm0 +// @return double scalar in low half of %xmm0 log1p: push %rbp mov %rsp,%rbp diff --git a/libc/tinymath/log1pf.S b/libc/tinymath/log1pf.S index fca846382cb..9e974fe98e3 100644 --- a/libc/tinymath/log1pf.S +++ b/libc/tinymath/log1pf.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns log(𝟷+𝑥). -/ -/ @param 𝑥 is float scalar in low quarter of %xmm0 -/ @return float scalar in low quarter of %xmm0 +// Returns log(𝟷+𝑥). +// +// @param 𝑥 is float scalar in low quarter of %xmm0 +// @return float scalar in low quarter of %xmm0 log1pf: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/log1pl.S b/libc/tinymath/log1pl.S index a521a9a031d..981138a7b6c 100644 --- a/libc/tinymath/log1pl.S +++ b/libc/tinymath/log1pl.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns log(𝟷+𝑥). -/ -/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes -/ @return result of exponentiation on FPU stack in %st +// Returns log(𝟷+𝑥). +// +// @param 𝑥 is an 80-bit long double passed on stack in 16-bytes +// @return result of exponentiation on FPU stack in %st log1pl: push %rbp mov %rsp,%rbp diff --git a/libc/tinymath/log2.S b/libc/tinymath/log2.S index f74f7b5e617..8ec66ed23c8 100644 --- a/libc/tinymath/log2.S +++ b/libc/tinymath/log2.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Calculates log₂𝑥. -/ -/ @param 𝑥 is a double passed in the lower quadword of %xmm0 -/ @return result in lower quadword of %xmm0 +// Calculates log₂𝑥. +// +// @param 𝑥 is a double passed in the lower quadword of %xmm0 +// @return result in lower quadword of %xmm0 log2: push %rbp mov %rsp,%rbp diff --git a/libc/tinymath/log2f.S b/libc/tinymath/log2f.S index c91bbdfd51c..14c63656be1 100644 --- a/libc/tinymath/log2f.S +++ b/libc/tinymath/log2f.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Calculates log₂𝑥. -/ -/ @param 𝑥 is a float passed in the lower quarter of %xmm0 -/ @return result in lower quarter of %xmm0 +// Calculates log₂𝑥. +// +// @param 𝑥 is a float passed in the lower quarter of %xmm0 +// @return result in lower quarter of %xmm0 log2f: push %rbp mov %rsp,%rbp diff --git a/libc/tinymath/log2l.S b/libc/tinymath/log2l.S index cda90fed8ed..a8c33070f73 100644 --- a/libc/tinymath/log2l.S +++ b/libc/tinymath/log2l.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Calculates log₂𝑥. -/ -/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes -/ @return result in %st -/ @see ilogbl() +// Calculates log₂𝑥. +// +// @param 𝑥 is an 80-bit long double passed on stack in 16-bytes +// @return result in %st +// @see ilogbl() log2l: push %rbp mov %rsp,%rbp diff --git a/libc/tinymath/logb.S b/libc/tinymath/logb.S index 88a22b2f904..59d6f66dbad 100644 --- a/libc/tinymath/logb.S +++ b/libc/tinymath/logb.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns log₂ₓ exponent part of double. -/ -/ @param 𝑥 is double passed in %xmm0 -/ @return result in %xmm0 +// Returns log₂ₓ exponent part of double. +// +// @param 𝑥 is double passed in %xmm0 +// @return result in %xmm0 logb: ezlea logbl,ax jmp _d2ld2 .endfn logb,globl diff --git a/libc/tinymath/logbf.S b/libc/tinymath/logbf.S index 79d46ce5972..c5100a8ba2f 100644 --- a/libc/tinymath/logbf.S +++ b/libc/tinymath/logbf.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns log₂ₓ exponent part of float. -/ -/ @param 𝑥 is float passed in %xmm0 -/ @return result in %xmm0 +// Returns log₂ₓ exponent part of float. +// +// @param 𝑥 is float passed in %xmm0 +// @return result in %xmm0 logbf: ezlea logbl,ax jmp _f2ld2 .endfn logbf,globl diff --git a/libc/tinymath/logbl.S b/libc/tinymath/logbl.S index 5f6d13e9215..723211bdec2 100644 --- a/libc/tinymath/logbl.S +++ b/libc/tinymath/logbl.S @@ -18,10 +18,10 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns log₂ₓ exponent part of long double. -/ -/ @param 𝑥 is long double passed on stack -/ @return result in %st0 +// Returns log₂ₓ exponent part of long double. +// +// @param 𝑥 is long double passed on stack +// @return result in %st0 logbl: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/logf.S b/libc/tinymath/logf.S index db5dbfbe2fb..bc7fd261922 100644 --- a/libc/tinymath/logf.S +++ b/libc/tinymath/logf.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns natural logarithm of 𝑥. -/ -/ @param 𝑥 is double scalar in low quarter of %xmm0 -/ @return float scalar in low quarter of %xmm0 +// Returns natural logarithm of 𝑥. +// +// @param 𝑥 is double scalar in low quarter of %xmm0 +// @return float scalar in low quarter of %xmm0 logf: ezlea logl,ax jmp _f2ld2 .endfn logf,globl diff --git a/libc/tinymath/logl.S b/libc/tinymath/logl.S index b18a12d1eb8..c9cef9551bd 100644 --- a/libc/tinymath/logl.S +++ b/libc/tinymath/logl.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns natural logarithm of 𝑥. -/ -/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes -/ @return result on FPU stack in %st +// Returns natural logarithm of 𝑥. +// +// @param 𝑥 is an 80-bit long double passed on stack in 16-bytes +// @return result on FPU stack in %st logl: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/lround.S b/libc/tinymath/lround.S index d8ea9cac660..dcf33059d2d 100644 --- a/libc/tinymath/lround.S +++ b/libc/tinymath/lround.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Rounds to nearest integer, away from zero. -/ -/ @param 𝑥 is double scalar in low half of %xmm0 -/ @return 64-bit signed integer in %rax -/ @see round(), lrint() +// Rounds to nearest integer, away from zero. +// +// @param 𝑥 is double scalar in low half of %xmm0 +// @return 64-bit signed integer in %rax +// @see round(), lrint() lround: .leafprologue .profilable movsd A(%rip),%xmm2 diff --git a/libc/tinymath/lroundf.S b/libc/tinymath/lroundf.S index 5083521d71e..ea03131e47a 100644 --- a/libc/tinymath/lroundf.S +++ b/libc/tinymath/lroundf.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Rounds to nearest integer, away from zero. -/ -/ @param 𝑥 is float scalar in low quarter of %xmm0 -/ @return 64-bit signed integer in %rax -/ @see round() +// Rounds to nearest integer, away from zero. +// +// @param 𝑥 is float scalar in low quarter of %xmm0 +// @return 64-bit signed integer in %rax +// @see round() lroundf: .leafprologue .profilable diff --git a/libc/tinymath/pow.S b/libc/tinymath/pow.S index 7ac4e5f5e68..091e9faa7e8 100644 --- a/libc/tinymath/pow.S +++ b/libc/tinymath/pow.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 𝑥^𝑦. -/ -/ @param 𝑥 is double scalar in low half of %xmm0 -/ @param 𝑦 is double scalar in low half of %xmm1 -/ @return double scalar in low half of %xmm0 +// Returns 𝑥^𝑦. +// +// @param 𝑥 is double scalar in low half of %xmm0 +// @param 𝑦 is double scalar in low half of %xmm1 +// @return double scalar in low half of %xmm0 pow: ezlea powl,ax jmp _d2ld2 .endfn pow,globl diff --git a/libc/tinymath/powf.S b/libc/tinymath/powf.S index 3297176d355..104dc70d835 100644 --- a/libc/tinymath/powf.S +++ b/libc/tinymath/powf.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 𝑥^𝑦. -/ -/ @param 𝑦 is float scalar in low quarter of %xmm0 -/ @param 𝑥 is float scalar in low quarter of %xmm1 -/ @return float scalar in low quarter of %xmm0 +// Returns 𝑥^𝑦. +// +// @param 𝑦 is float scalar in low quarter of %xmm0 +// @param 𝑥 is float scalar in low quarter of %xmm1 +// @return float scalar in low quarter of %xmm0 powf: ezlea powl,ax jmp _f2ld2 .endfn powf,globl diff --git a/libc/tinymath/powi.S b/libc/tinymath/powi.S index a719dd42523..a563ed33338 100644 --- a/libc/tinymath/powi.S +++ b/libc/tinymath/powi.S @@ -18,11 +18,11 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns 𝑥^𝑦. -/ -/ @param 𝑥 is double scalar in low half of %xmm0 -/ @param 𝑦 is int passed in %edi -/ @return double scalar in low half of %xmm0 +// Returns 𝑥^𝑦. +// +// @param 𝑥 is double scalar in low half of %xmm0 +// @param 𝑦 is int passed in %edi +// @return double scalar in low half of %xmm0 powi: cvtsi2sd %edi,%xmm1 jmp pow .endfn powi,globl diff --git a/libc/tinymath/powif.S b/libc/tinymath/powif.S index 8b92bc8daaf..8bb9a0400a6 100644 --- a/libc/tinymath/powif.S +++ b/libc/tinymath/powif.S @@ -18,11 +18,11 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns 𝑥^𝑦. -/ -/ @param 𝑥 is float scalar in low quarter of %xmm0 -/ @param 𝑦 is int passed in %edi -/ @return double scalar in low half of %xmm0 +// Returns 𝑥^𝑦. +// +// @param 𝑥 is float scalar in low quarter of %xmm0 +// @param 𝑦 is int passed in %edi +// @return double scalar in low half of %xmm0 powif: cvtsi2ss %edi,%xmm1 jmp pow .endfn powif,globl diff --git a/libc/tinymath/powil.S b/libc/tinymath/powil.S index 8fa6057ea90..ce3a25a83ca 100644 --- a/libc/tinymath/powil.S +++ b/libc/tinymath/powil.S @@ -18,11 +18,11 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Returns 𝑥^𝑦. -/ -/ @param 𝑥 is long double passed on stack -/ @param 𝑦 is int passed in %edi -/ @return %st +// Returns 𝑥^𝑦. +// +// @param 𝑥 is long double passed on stack +// @param 𝑦 is int passed in %edi +// @return %st powil: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/powl.S b/libc/tinymath/powl.S index 05c5d09c55c..53c3d598ac3 100644 --- a/libc/tinymath/powl.S +++ b/libc/tinymath/powl.S @@ -19,12 +19,12 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 𝑥^𝑦. -/ -/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes -/ @param 𝑦 is the power, also pushed on stack, in reverse order -/ @return result of exponentiation on FPU stack in %st -/ @note Sun's fdlibm needs 2kLOC to do this for RISC lool +// Returns 𝑥^𝑦. +// +// @param 𝑥 is an 80-bit long double passed on stack in 16-bytes +// @param 𝑦 is the power, also pushed on stack, in reverse order +// @return result of exponentiation on FPU stack in %st +// @note Sun's fdlibm needs 2kLOC to do this for RISC lool powl: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/remainder.S b/libc/tinymath/remainder.S index 7559d4d6450..ce08dd95f2f 100644 --- a/libc/tinymath/remainder.S +++ b/libc/tinymath/remainder.S @@ -19,13 +19,13 @@ #include "libc/macros.h" .source __FILE__ -/ remainder(𝑥,𝑦) means (𝑥 rem 𝑦) w/ rint()-style rounding. -/ -/ @param 𝑥 is double passed in lower half of %xmm0 -/ @param 𝑦 is double passed in lower half of %xmm1 -/ @return remainder ∈ (-|𝑦|,|𝑦|) in %xmm0 -/ @define 𝑥-rint(𝑥/𝑦)*𝑦 -/ @see fmod(), emod(), operator% +// remainder(𝑥,𝑦) means (𝑥 rem 𝑦) w/ rint()-style rounding. +// +// @param 𝑥 is double passed in lower half of %xmm0 +// @param 𝑦 is double passed in lower half of %xmm1 +// @return remainder ∈ (-|𝑦|,|𝑦|) in %xmm0 +// @define 𝑥-rint(𝑥/𝑦)*𝑦 +// @see fmod(), emod(), operator% remainder: ezlea remainderl,ax jmp _d2ld2 diff --git a/libc/tinymath/rint.S b/libc/tinymath/rint.S index 78cacc77e7f..fd4ca0a923d 100644 --- a/libc/tinymath/rint.S +++ b/libc/tinymath/rint.S @@ -21,11 +21,11 @@ #include "libc/macros.h" .source __FILE__ -/ Rounds to nearest integer. -/ -/ @param is double passed in %xmm0 -/ @return double in %xmm0 -/ @note rounding behavior can be changed in mxcsr +// Rounds to nearest integer. +// +// @param is double passed in %xmm0 +// @return double in %xmm0 +// @note rounding behavior can be changed in mxcsr rint: #if !X86_NEED(SSE4_2) testb X86_HAVE(SSE4_2)+kCpuids(%rip) diff --git a/libc/tinymath/rintf.S b/libc/tinymath/rintf.S index 1d443aa2357..f50c2a3e643 100644 --- a/libc/tinymath/rintf.S +++ b/libc/tinymath/rintf.S @@ -44,5 +44,5 @@ rintf: .leafprologue .long 0 .long 0 -/ TODO(jart): -/ vroundss $4,%xmm0,%xmm0,%xmm0 +// TODO(jart): +// vroundss $4,%xmm0,%xmm0,%xmm0 diff --git a/libc/tinymath/rintl.S b/libc/tinymath/rintl.S index c5244ba1248..b7f54869f5c 100644 --- a/libc/tinymath/rintl.S +++ b/libc/tinymath/rintl.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Rounds to nearest integer. -/ -/ @param is long double passed on stack -/ @return long double in %st -/ @note rounding behavior can be changed in control word +// Rounds to nearest integer. +// +// @param is long double passed on stack +// @return long double in %st +// @note rounding behavior can be changed in control word rintl: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/round.S b/libc/tinymath/round.S index 89b28ac295e..1f502e2a606 100644 --- a/libc/tinymath/round.S +++ b/libc/tinymath/round.S @@ -21,12 +21,12 @@ #include "libc/nexgen32e/x86feature.h" .source __FILE__ -/ Rounds to nearest integer, away from zero. -/ -/ @param 𝑥 is double scalar in low half of %xmm0 -/ @return double scalar in low half of %xmm0 -/ @define round(𝑥) = copysign(trunc(fabs(𝑥)+.5),𝑥) -/ round(𝑥) = trunc(𝑥+copysign(.5,𝑥)) +// Rounds to nearest integer, away from zero. +// +// @param 𝑥 is double scalar in low half of %xmm0 +// @return double scalar in low half of %xmm0 +// @define round(𝑥) = copysign(trunc(fabs(𝑥)+.5),𝑥) +// round(𝑥) = trunc(𝑥+copysign(.5,𝑥)) round: #if !X86_NEED(SSE4_2) testb X86_HAVE(SSE4_2)+kCpuids(%rip) diff --git a/libc/tinymath/roundf.S b/libc/tinymath/roundf.S index 6cdce9bff57..1c1a26564f4 100644 --- a/libc/tinymath/roundf.S +++ b/libc/tinymath/roundf.S @@ -21,10 +21,10 @@ #include "libc/nexgen32e/x86feature.h" .source __FILE__ -/ Rounds to nearest integer, away from zero. -/ -/ @param 𝑥 is float scalar in low quarter of %xmm0 -/ @return float scalar in low quarter of %xmm0 +// Rounds to nearest integer, away from zero. +// +// @param 𝑥 is float scalar in low quarter of %xmm0 +// @return float scalar in low quarter of %xmm0 roundf: #if !X86_NEED(SSE4_2) testb X86_HAVE(SSE4_2)+kCpuids(%rip) diff --git a/libc/tinymath/roundl.S b/libc/tinymath/roundl.S index b60d5c98c1f..185e8a2d7da 100644 --- a/libc/tinymath/roundl.S +++ b/libc/tinymath/roundl.S @@ -19,10 +19,10 @@ #include "ape/lib/pc.h" #include "libc/macros.h" -/ Rounds to nearest integer, away from zero. -/ -/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes -/ @return result of exponentiation on FPU stack in %st +// Rounds to nearest integer, away from zero. +// +// @param 𝑥 is an 80-bit long double passed on stack in 16-bytes +// @return result of exponentiation on FPU stack in %st roundl: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/scalb.S b/libc/tinymath/scalb.S index e44bb3caea5..e0125003d70 100644 --- a/libc/tinymath/scalb.S +++ b/libc/tinymath/scalb.S @@ -19,12 +19,12 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 𝑥 × 2ʸ. -/ -/ @param 𝑥 is double passed in %xmm0 -/ @param 𝑦 is double passed in %xmm1, which is truncated -/ @return result in %xmm0 -/ @see ldexp() +// Returns 𝑥 × 2ʸ. +// +// @param 𝑥 is double passed in %xmm0 +// @param 𝑦 is double passed in %xmm1, which is truncated +// @return result in %xmm0 +// @see ldexp() scalb: cvttsd2si %xmm1,%edi jmp ldexp .endfn scalb,globl diff --git a/libc/tinymath/scalbf.S b/libc/tinymath/scalbf.S index 8d51b9dd287..951c6df235a 100644 --- a/libc/tinymath/scalbf.S +++ b/libc/tinymath/scalbf.S @@ -19,12 +19,12 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 𝑥 × 2ʸ. -/ -/ @param 𝑥 is float passed in %xmm0 -/ @param 𝑦 is float passed in %xmm1, which is truncated -/ @return result in %xmm0 -/ @see ldexpf() +// Returns 𝑥 × 2ʸ. +// +// @param 𝑥 is float passed in %xmm0 +// @param 𝑦 is float passed in %xmm1, which is truncated +// @return result in %xmm0 +// @see ldexpf() scalbf: cvttss2si %xmm1,%edi jmp ldexpf .endfn scalbf,globl diff --git a/libc/tinymath/scalbl.S b/libc/tinymath/scalbl.S index e2278e22fea..692e9ea6f56 100644 --- a/libc/tinymath/scalbl.S +++ b/libc/tinymath/scalbl.S @@ -19,12 +19,12 @@ #include "libc/macros.h" .source __FILE__ -/ Returns 𝑥 × 2ʸ. -/ -/ @param 𝑥 is long double passed on stack -/ @param 𝑦 is long double passed on stack -/ @return result in %st0 -/ @see ldexpl() +// Returns 𝑥 × 2ʸ. +// +// @param 𝑥 is long double passed on stack +// @param 𝑦 is long double passed on stack +// @return result in %st0 +// @see ldexpl() scalbl: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/sin.S b/libc/tinymath/sin.S index 3d0296b683a..1e4ab0cb5ba 100644 --- a/libc/tinymath/sin.S +++ b/libc/tinymath/sin.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Returns sine of 𝑥. -/ -/ @param 𝑥 is double scalar in low half of %xmm0 -/ @return double scalar in low half of %xmm0 -/ @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy +// Returns sine of 𝑥. +// +// @param 𝑥 is double scalar in low half of %xmm0 +// @return double scalar in low half of %xmm0 +// @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy sin: ezlea sinl,ax jmp _d2ld2 .endfn sin,globl diff --git a/libc/tinymath/sincos.S b/libc/tinymath/sincos.S index ee3d6835cc6..6704acd4f64 100644 --- a/libc/tinymath/sincos.S +++ b/libc/tinymath/sincos.S @@ -19,12 +19,12 @@ #include "libc/macros.h" .source __FILE__ -/ Returns sine and cosine of 𝑥. -/ -/ @param 𝑥 is double scalar in low half of %xmm0 -/ @param %rdi is double *out_sin -/ @param %rsi is double *out_cos -/ @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy +// Returns sine and cosine of 𝑥. +// +// @param 𝑥 is double scalar in low half of %xmm0 +// @param %rdi is double *out_sin +// @param %rsi is double *out_cos +// @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy sincos: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/sincosf.S b/libc/tinymath/sincosf.S index 635b5d5da51..8e73f091c65 100644 --- a/libc/tinymath/sincosf.S +++ b/libc/tinymath/sincosf.S @@ -19,12 +19,12 @@ #include "libc/macros.h" .source __FILE__ -/ Returns sine and cosine of 𝑥. -/ -/ @param 𝑥 is float scalar in low quarter of %xmm0 -/ @param %rdi is float *out_sin -/ @param %rsi is float *out_cos -/ @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy +// Returns sine and cosine of 𝑥. +// +// @param 𝑥 is float scalar in low quarter of %xmm0 +// @param %rdi is float *out_sin +// @param %rsi is float *out_cos +// @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy sincosf: push %rbp mov %rsp,%rbp diff --git a/libc/tinymath/sincosl.S b/libc/tinymath/sincosl.S index e8b738fcf8a..da67257022b 100644 --- a/libc/tinymath/sincosl.S +++ b/libc/tinymath/sincosl.S @@ -20,12 +20,12 @@ #include "libc/macros.h" .source __FILE__ -/ Returns sine and cosine of 𝑥. -/ -/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes -/ @param %rdi is long double *out_sin -/ @param %rsi is long double *out_cos -/ @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy +// Returns sine and cosine of 𝑥. +// +// @param 𝑥 is an 80-bit long double passed on stack in 16-bytes +// @param %rdi is long double *out_sin +// @param %rsi is long double *out_cos +// @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy sincosl: push %rbp mov %rsp,%rbp diff --git a/libc/tinymath/sinf.S b/libc/tinymath/sinf.S index 59667ce411f..b292e045f45 100644 --- a/libc/tinymath/sinf.S +++ b/libc/tinymath/sinf.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Returns sine of 𝑥. -/ -/ @param 𝑥 is float scalar in low quarter of %xmm0 -/ @return float scalar in low quarter of %xmm0 -/ @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy +// Returns sine of 𝑥. +// +// @param 𝑥 is float scalar in low quarter of %xmm0 +// @return float scalar in low quarter of %xmm0 +// @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy sinf: ezlea sinl,ax jmp _f2ld2 .endfn sinf,globl diff --git a/libc/tinymath/sinl.S b/libc/tinymath/sinl.S index 324b4cc1865..2969677b0f1 100644 --- a/libc/tinymath/sinl.S +++ b/libc/tinymath/sinl.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Returns sine of 𝑥. -/ -/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes -/ @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy -/ @return %st stores result +// Returns sine of 𝑥. +// +// @param 𝑥 is an 80-bit long double passed on stack in 16-bytes +// @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy +// @return %st stores result sinl: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/sqrt.S b/libc/tinymath/sqrt.S index 39635d1c56b..ead20f96a35 100644 --- a/libc/tinymath/sqrt.S +++ b/libc/tinymath/sqrt.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns square root of 𝑥. -/ -/ @param 𝑥 is an double passed in %xmm0 -/ @return result in %xmm0 +// Returns square root of 𝑥. +// +// @param 𝑥 is an double passed in %xmm0 +// @return result in %xmm0 sqrt: .leafprologue .profilable sqrtsd %xmm0,%xmm0 diff --git a/libc/tinymath/sqrtf.S b/libc/tinymath/sqrtf.S index 0c7dc6c6012..6400878b95c 100644 --- a/libc/tinymath/sqrtf.S +++ b/libc/tinymath/sqrtf.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns square root of 𝑥. -/ -/ @param 𝑥 is an float passed in %xmm0 -/ @return result in %xmm0 +// Returns square root of 𝑥. +// +// @param 𝑥 is an float passed in %xmm0 +// @return result in %xmm0 sqrtf: .leafprologue .profilable sqrtss %xmm0,%xmm0 diff --git a/libc/tinymath/sqrtl.S b/libc/tinymath/sqrtl.S index 895ad1c4927..2a10debcbe0 100644 --- a/libc/tinymath/sqrtl.S +++ b/libc/tinymath/sqrtl.S @@ -19,10 +19,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns square root of 𝑥. -/ -/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes -/ @return result on FPU stack in %st +// Returns square root of 𝑥. +// +// @param 𝑥 is an 80-bit long double passed on stack in 16-bytes +// @return result on FPU stack in %st sqrtl: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/tan.S b/libc/tinymath/tan.S index 30839bf17ec..2fd8309a4e3 100644 --- a/libc/tinymath/tan.S +++ b/libc/tinymath/tan.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Returns tangent of 𝑥. -/ -/ @param 𝑥 is double scalar in low half of %xmm0 -/ @return double scalar in low half of %xmm0 -/ @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy +// Returns tangent of 𝑥. +// +// @param 𝑥 is double scalar in low half of %xmm0 +// @return double scalar in low half of %xmm0 +// @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy tan: ezlea tanl,ax jmp _d2ld2 .endfn tan,globl diff --git a/libc/tinymath/tanf.S b/libc/tinymath/tanf.S index 561d92607da..052ed2a5d93 100644 --- a/libc/tinymath/tanf.S +++ b/libc/tinymath/tanf.S @@ -19,11 +19,11 @@ #include "libc/macros.h" .source __FILE__ -/ Returns tangent of 𝑥. -/ -/ @param 𝑥 is float scalar in low quarter of %xmm0 -/ @return float scalar in low quarter of %xmm0 -/ @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy +// Returns tangent of 𝑥. +// +// @param 𝑥 is float scalar in low quarter of %xmm0 +// @return float scalar in low quarter of %xmm0 +// @domain -(3π/8) < 𝑥 < 3π/8 for best accuracy tanf: ezlea tanl,ax jmp _f2ld2 .endfn tanf,globl diff --git a/libc/tinymath/tanl.S b/libc/tinymath/tanl.S index 750cb68d7fa..3958a13f254 100644 --- a/libc/tinymath/tanl.S +++ b/libc/tinymath/tanl.S @@ -20,10 +20,10 @@ #include "libc/macros.h" .source __FILE__ -/ Returns tangent of 𝑥. -/ -/ @param 𝑥 is an 80-bit long double passed on stack in 16-bytes -/ @return %st stores result +// Returns tangent of 𝑥. +// +// @param 𝑥 is an 80-bit long double passed on stack in 16-bytes +// @return %st stores result tanl: push %rbp mov %rsp,%rbp .profilable diff --git a/libc/tinymath/trunc.S b/libc/tinymath/trunc.S index 84666858f3e..1d1c5e88ce4 100644 --- a/libc/tinymath/trunc.S +++ b/libc/tinymath/trunc.S @@ -19,13 +19,13 @@ #include "libc/macros.h" .source __FILE__ -/ Rounds to integer, toward zero. -/ -/ @param 𝑥 is double scalar in low half of %xmm0 -/ @return double scalar in low half of %xmm0 -/ @define trunc(𝑥+copysign(.5,𝑥)) -/ @see round(),rint(),nearbyint() -/ @see roundsd $_MM_FROUND_TO_ZERO|_MM_FROUND_NO_EXC,%xmm0,%xmm0 +// Rounds to integer, toward zero. +// +// @param 𝑥 is double scalar in low half of %xmm0 +// @return double scalar in low half of %xmm0 +// @define trunc(𝑥+copysign(.5,𝑥)) +// @see round(),rint(),nearbyint() +// @see roundsd $_MM_FROUND_TO_ZERO|_MM_FROUND_NO_EXC,%xmm0,%xmm0 trunc: .leafprologue .profilable movsd 3f(%rip),%xmm1 @@ -40,5 +40,5 @@ trunc: .leafprologue .endfn trunc,globl .rodata.cst8 -2: .double 0x0010000000000000 +2: .quad 0x0010000000000000 3: .double nan diff --git a/libc/tinymath/truncf.S b/libc/tinymath/truncf.S index 6b946d12ee0..ee4a9bfadf0 100644 --- a/libc/tinymath/truncf.S +++ b/libc/tinymath/truncf.S @@ -37,5 +37,5 @@ truncf: .leafprologue .rodata.cst16 3: .long 0x7fffffff,0,0,0 -/ TODO(jart) -/ roundss $_MM_FROUND_TO_ZERO|_MM_FROUND_NO_EXC,%xmm0,%xmm0 +// TODO(jart) +// roundss $_MM_FROUND_TO_ZERO|_MM_FROUND_NO_EXC,%xmm0,%xmm0 diff --git a/libc/unicode/kcombiningchars.S b/libc/unicode/kcombiningchars.S index fe2996b3d95..111b497daf0 100644 --- a/libc/unicode/kcombiningchars.S +++ b/libc/unicode/kcombiningchars.S @@ -42,10 +42,10 @@ kCombiningChars: add $1208,%rsi .init.end 400,_init_kCombiningChars -/ o/tool/build/lz4toasm.com \ -/ -o o/libc/str/CombiningChars.s \ -/ -s kCombiningChars \ -/ o/libc/str/CombiningChars.bin.lz4 +// o/tool/build/lz4toasm.com +// -o o/libc/str/CombiningChars.s +// -s kCombiningChars +// o/libc/str/CombiningChars.bin.lz4 .initro 400,_init_kCombiningChars kCombiningCharsLz4: .byte 0x1f,0x00,0x01,0x00,0x4c,0x19,0xff,0x01 #▼ ☺ L↓λ☺ diff --git a/libc/unicode/keastasianwidth.s b/libc/unicode/keastasianwidth.s index 0605585d5db..a2cc77e3cb0 100644 --- a/libc/unicode/keastasianwidth.s +++ b/libc/unicode/keastasianwidth.s @@ -1,4 +1,4 @@ -/ o/$(MODE)/tool/build/lz4toasm.com -o o/$(MODE)/libc/str/EastAsianWidth.s -s kEastAsianWidth o/$(MODE)/libc/str/EastAsianWidth.bin.lz4 +// o/$(MODE)/tool/build/lz4toasm.com -o o/$(MODE)/libc/str/EastAsianWidth.s -s kEastAsianWidth o/$(MODE)/libc/str/EastAsianWidth.bin.lz4 .include "libc/macros.internal.inc" .rodata diff --git a/libc/zipos/zipos.S b/libc/zipos/zipos.S index ea8d725b80c..fab9caa8fba 100644 --- a/libc/zipos/zipos.S +++ b/libc/zipos/zipos.S @@ -18,7 +18,7 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ static_yoink this symbol for open(zip:...) support. +// static_yoink this symbol for open(zip:...) support. zip_uri_support = 0 .globl zip_uri_support diff --git a/net/http/geturischeme.inc b/net/http/geturischeme.inc index ededd61cde6..b02cce37809 100644 --- a/net/http/geturischeme.inc +++ b/net/http/geturischeme.inc @@ -160,12 +160,6 @@ static const struct stringpool_t stringpool_contents = "data" }; #define stringpool ((const char *) &stringpool_contents) -#ifdef __GNUC__ -__inline -#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__ -__attribute__ ((__gnu_inline__)) -#endif -#endif const struct UriSchemeSlot * in_word_set (register const char *str, register unsigned int len) { diff --git a/net/http/uricspn-avx.S b/net/http/uricspn-avx.S index c145db30bf8..de6dad478ea 100644 --- a/net/http/uricspn-avx.S +++ b/net/http/uricspn-avx.S @@ -18,12 +18,12 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Verifies buffer contains only URI characters. -/ -/ @param %rdi is data which should be 32-byte aligned -/ @param %rsi is byte length of data -/ @return number of kosher bytes -/ @cost 10x faster than fastest Ragel code +// Verifies buffer contains only URI characters. +// +// @param %rdi is data which should be 32-byte aligned +// @param %rsi is byte length of data +// @return number of kosher bytes +// @cost 10x faster than fastest Ragel code uricspn$avx: .leafprologue .profilable @@ -49,13 +49,13 @@ uricspn$avx: .endfn uricspn$avx,globl,hidden .rodata.cst16 -.Luric: .byte '!,'! - .byte '$,'; - .byte '=,'= - .byte '?,'Z - .byte '_,'_ - .byte 'a,'z - .byte '~,'~ +.Luric: .byte '!','!' + .byte '$',';' + .byte '=','=' + .byte '?','Z' + .byte '_','_' + .byte 'a','z' + .byte '~','~' .byte 0,0 .endobj .Luric .previous diff --git a/test/libc/calls/fallocate_test.c b/test/libc/calls/fallocate_test.c deleted file mode 100644 index fd5556246fe..00000000000 --- a/test/libc/calls/fallocate_test.c +++ /dev/null @@ -1,94 +0,0 @@ -/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ -│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ -╞══════════════════════════════════════════════════════════════════════════════╡ -│ Copyright 2020 Justine Alexandra Roberts Tunney │ -│ │ -│ Permission to use, copy, modify, and/or distribute this software for │ -│ any purpose with or without fee is hereby granted, provided that the │ -│ above copyright notice and this permission notice appear in all copies. │ -│ │ -│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ -│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ -│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ -│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ -│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ -│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ -│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ -│ PERFORMANCE OF THIS SOFTWARE. │ -╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/bits/safemacros.h" -#include "libc/calls/calls.h" -#include "libc/calls/struct/stat.h" -#include "libc/dce.h" -#include "libc/errno.h" -#include "libc/runtime/gc.h" -#include "libc/runtime/runtime.h" -#include "libc/stdio/stdio.h" -#include "libc/testlib/testlib.h" -#include "libc/x/x.h" - -int rc; -struct stat st; -const char *path; -int64_t fd, emptyspace, physicalspace; - -TEST(fallocate_000, setup) { - mkdir("o", 0755); - mkdir("o/tmp", 0755); -} - -TEST(fallocate_010, testBadFileDescriptor) { - if (IsOpenbsd()) return; /* ENOSYS */ - if (IsFreebsd()) return; /* TODO: Where's my carry flag FreeBSD? */ - close(70); /* just in case */ - ASSERT_EQ(-1, fallocate(/*RHEL*/ 70, 0, 0, 1)); - if (errno == ENOSYS) exit(0); /* RHEL5 */ - EXPECT_EQ(EBADF, errno); -} - -TEST(fallocate_020, test) { - if (IsOpenbsd()) return; /* ENOSYS */ - path = gc(xasprintf("o/tmp/%s.%d", program_invocation_short_name)); - ASSERT_NE(-1, (fd = creat(path, 0755))); - ASSERT_EQ(5, write(fd, "hello", 5)); - errno = 31337; - ASSERT_NE(-1, fallocate(fd, 0, 0, 31337)); - EXPECT_EQ(31337, errno); - ASSERT_EQ(5, write(fd, "world", 5)); - ASSERT_NE(-1, close(fd)); - ASSERT_NE(-1, stat(path, &st)); - ASSERT_EQ(31337, st.st_size); - ASSERT_BINEQ(u"helloworld", gc(xslurp(path, NULL))); - unlink(path); -} - -TEST(fallocate_020, testSparseFile) { - if (IsOpenbsd()) return; /* ENOSYS */ - if (IsWindows()) return; /* TODO */ - ASSERT_NE(-1, stat("o", &st)); - emptyspace = rounddown(6 * 1000 * 1000 * 1000, st.st_blksize); - physicalspace = roundup(4096, st.st_blksize); - path = gc(xasprintf("o/tmp/%s.%d", program_invocation_short_name, getpid())); - ASSERT_NE(-1, (fd = creat(path, 0755))); - rc = fallocate(fd, 0, emptyspace, physicalspace); - if (rc == -1) { - /* - * most important feature is failing w/ enosys if not possible to - * allocate storage like a central banker prints money. - */ - ASSERT_EQ(ENOSYS, errno); - } - ASSERT_EQ(emptyspace, lseek(fd, emptyspace, SEEK_SET)); - ASSERT_EQ(5, write(fd, "hello", 5)); - ASSERT_NE(-1, fsync(fd)); - ASSERT_NE(-1, close(fd)); - ASSERT_NE(-1, stat(path, &st)); - EXPECT_EQ(emptyspace + physicalspace, st.st_size); - /* - * don't care how much physical space system needs, so long as it's - * transparent and less than 10 percent the fake space - */ - EXPECT_NE(0, st.st_blocks); - EXPECT_LT(st.st_blocks * 512, emptyspace / 10); - unlink(path); -} diff --git a/test/libc/calls/sigaction_test.c b/test/libc/calls/sigaction_test.c index 864da0744ec..b794fee1a89 100644 --- a/test/libc/calls/sigaction_test.c +++ b/test/libc/calls/sigaction_test.c @@ -26,7 +26,7 @@ #include "libc/sysv/consts/sig.h" #include "libc/testlib/testlib.h" -bool gotsigint; +volatile bool gotsigint; void OnSigInt(int sig) { gotsigint = true; @@ -63,7 +63,7 @@ TEST(sigaction, test) { EXPECT_EQ(1, WIFEXITED(status)); EXPECT_EQ(0, WEXITSTATUS(status)); EXPECT_EQ(0, WTERMSIG(status)); - EXPECT_NE(-1, sigprocmask(SIG_BLOCK, &oldmask, NULL)); + EXPECT_NE(-1, sigprocmask(SIG_SETMASK, &oldmask, NULL)); } TEST(sigaction, raise) { diff --git a/test/libc/calls/test.mk b/test/libc/calls/test.mk index 92080975a30..f3733385a30 100644 --- a/test/libc/calls/test.mk +++ b/test/libc/calls/test.mk @@ -37,6 +37,7 @@ TEST_LIBC_CALLS_DIRECTDEPS = \ LIBC_STUBS \ LIBC_SYSV \ LIBC_TESTLIB \ + LIBC_UNICODE \ LIBC_X TEST_LIBC_CALLS_DEPS := \ diff --git a/test/libc/dns/dnsheader_test.c b/test/libc/dns/dnsheader_test.c index 0de9a15f4c9..30dece3d673 100644 --- a/test/libc/dns/dnsheader_test.c +++ b/test/libc/dns/dnsheader_test.c @@ -19,6 +19,8 @@ #include "libc/dns/dns.h" #include "libc/dns/dnsheader.h" #include "libc/mem/mem.h" +#include "libc/rand/rand.h" +#include "libc/runtime/gc.h" #include "libc/stdio/stdio.h" #include "libc/str/str.h" #include "libc/testlib/testlib.h" @@ -36,13 +38,12 @@ TEST(serializednsheader, test) { } TEST(serializednsheader, fuzzSymmetry) { - uint8_t *buf = malloc(12); - struct DnsHeader *in = malloc(sizeof(struct DnsHeader)); - struct DnsHeader *out = malloc(sizeof(struct DnsHeader)); + uint8_t *buf; + struct DnsHeader *in, *out; + buf = gc(malloc(12)); + in = rngset(gc(malloc(sizeof(struct DnsHeader))), 12, rand64, -1); + out = rngset(gc(malloc(sizeof(struct DnsHeader))), 12, rand64, -1); ASSERT_EQ(12, serializednsheader(buf, 12, *in)); ASSERT_EQ(12, deserializednsheader(out, buf, 12)); - ASSERT_EQ(0, memcmp(in, out, 12)); - free(out); - free(in); - free(buf); + ASSERT_EQ(0, memcmp(in, out, 12), "%#.*s\n\t%#.*s", 12, in, 12, buf); } diff --git a/test/libc/dns/test.mk b/test/libc/dns/test.mk index 199d621b10a..0690fd1063c 100644 --- a/test/libc/dns/test.mk +++ b/test/libc/dns/test.mk @@ -32,6 +32,7 @@ TEST_LIBC_DNS_DIRECTDEPS = \ LIBC_RUNTIME \ LIBC_SOCK \ LIBC_STDIO \ + LIBC_RAND \ LIBC_STR \ LIBC_STUBS \ LIBC_SYSV \ diff --git a/test/libc/release/clang.sh b/test/libc/release/clang.sh index b7b235ff9c1..0c891383e35 100755 --- a/test/libc/release/clang.sh +++ b/test/libc/release/clang.sh @@ -3,17 +3,16 @@ #───vi: set net ft=sh ts=2 sts=2 fenc=utf-8 :vi─────────────┘ if CLANG=$(command -v clang); then - $COMPILE $CLANG \ + $CLANG \ -o o/$MODE/test/libc/release/smokeclang.com.dbg \ -Os \ + -Wall \ + -Werror \ -static \ - -no-pie \ -fno-pie \ -nostdlib \ -nostdinc \ -mno-red-zone \ - -Wl,--gc-sections \ - -Wl,-z,max-page-size=0x1000 \ -Wl,-T,o/$MODE/ape/ape.lds \ -include o/cosmopolitan.h \ test/libc/release/smoke.c \ @@ -22,3 +21,5 @@ if CLANG=$(command -v clang); then o/$MODE/cosmopolitan.a || exit o/$MODE/test/libc/release/smokeclang.com.dbg || exit fi + +touch o/$MODE/test/libc/release/clang.ok diff --git a/test/libc/release/emulate.sh b/test/libc/release/emulate.sh new file mode 100755 index 00000000000..1ac38898b3a --- /dev/null +++ b/test/libc/release/emulate.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +# smoke test userspace binary emulation +CMD="o/$MODE/tool/build/blinkenlights.com.dbg o/$MODE/examples/hello.com" +printf '%s\n' "$CMD" >&2 +if OUTPUT="$($CMD)"; then + if [ x"$OUTPUT" = x"hello world" ]; then + touch o/$MODE/test/libc/release/emulate.ok + exit 0 + else + printf '%s\n' "error: $CMD printed wrong output: $OUTPUT" >&2 + exit 1 + fi +else + RC=$? + printf '%s\n' "error: $CMD failed: $RC" >&2 + exit $RC +fi diff --git a/test/libc/release/metal.sh b/test/libc/release/metal.sh new file mode 100755 index 00000000000..c3ce7509a51 --- /dev/null +++ b/test/libc/release/metal.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +# smoke test booting on bare metal and printing data to serial uart +CMD="o/$MODE/tool/build/blinkenlights.com.dbg -r o/$MODE/examples/hello.com" +printf '%s\n' "$CMD" >&2 +if OUTPUT="$($CMD)"; then + if [ x"$OUTPUT" = x"hello world" ]; then + touch o/$MODE/test/libc/release/metal.ok + exit 0 + else + printf '%s\n' "error: $CMD printed wrong output: $OUTPUT" >&2 + exit 1 + fi +else + RC=$? + printf '%s\n' "error: $CMD failed: $RC" >&2 + exit $RC +fi diff --git a/test/libc/release/smoke.c b/test/libc/release/smoke.c index d1e1fa5f095..f3c97563de0 100644 --- a/test/libc/release/smoke.c +++ b/test/libc/release/smoke.c @@ -3,11 +3,13 @@ int main(int argc, char *argv[]) { char *s; FILE *f; s = strdup(argv[0]); + s[0] = 'Z'; f = fopen("/dev/null", "w"); fprintf(f, "hello world %d %s\n", argc, s); fclose(f); rc = system("exit 42"); CHECK_NE(-1, rc); + CHECK(WIFEXITED(rc)); CHECK_EQ(42, WEXITSTATUS(rc)); free(s); return 0; diff --git a/test/libc/release/test.mk b/test/libc/release/test.mk index 046fb5c2291..2b9198805a3 100644 --- a/test/libc/release/test.mk +++ b/test/libc/release/test.mk @@ -11,7 +11,7 @@ o/$(MODE)/test/libc/release/cosmopolitan.zip: \ o/$(MODE)/test/libc/release/smoke.com: \ o/$(MODE)/test/libc/release/smoke.com.dbg - @objcopy -SO binary $< $@ + @$(COMPILE) $(OBJCOPY) -S -O binary $< $@ o/$(MODE)/test/libc/release/smoke.com.dbg: \ test/libc/release/smoke.c \ @@ -29,8 +29,6 @@ o/$(MODE)/test/libc/release/smoke.com.dbg: \ -nostdlib \ -nostdinc \ -mno-red-zone \ - -Wl,--gc-sections \ - -Wl,-z,max-page-size=0x1000 \ -Wl,-T,o/$(MODE)/ape/ape.lds \ -include o/cosmopolitan.h \ test/libc/release/smoke.c \ @@ -40,7 +38,7 @@ o/$(MODE)/test/libc/release/smoke.com.dbg: \ o/$(MODE)/test/libc/release/smokecxx.com: \ o/$(MODE)/test/libc/release/smokecxx.com.dbg - @objcopy -SO binary $< $@ + @$(COMPILE) $(OBJCOPY) -S -O binary $< $@ o/$(MODE)/test/libc/release/smokecxx.com.dbg: \ test/libc/release/smokecxx.cc \ @@ -58,8 +56,6 @@ o/$(MODE)/test/libc/release/smokecxx.com.dbg: \ -nostdlib \ -nostdinc \ -mno-red-zone \ - -Wl,--gc-sections \ - -Wl,-z,max-page-size=0x1000 \ -Wl,-T,o/$(MODE)/ape/ape.lds \ -include o/cosmopolitan.h \ test/libc/release/smokecxx.cc \ @@ -84,8 +80,6 @@ o/$(MODE)/test/libc/release/smokeansi.com.dbg: \ -nostdlib \ -nostdinc \ -mno-red-zone \ - -Wl,--gc-sections \ - -Wl,-z,max-page-size=0x1000 \ -Wl,-T,o/$(MODE)/ape/ape.lds \ -include o/cosmopolitan.h \ test/libc/release/smoke.c \ @@ -93,7 +87,7 @@ o/$(MODE)/test/libc/release/smokeansi.com.dbg: \ o/$(MODE)/ape/ape.o \ o/$(MODE)/cosmopolitan.a -o/$(MODE)/test/libc/release/smokeclang.ok: \ +o/$(MODE)/test/libc/release/clang.ok: \ test/libc/release/clang.sh \ test/libc/release/smoke.c \ o/cosmopolitan.h \ @@ -103,6 +97,18 @@ o/$(MODE)/test/libc/release/smokeclang.ok: \ o/$(MODE)/cosmopolitan.a @$< +o/$(MODE)/test/libc/release/metal.ok: \ + test/libc/release/metal.sh \ + o/$(MODE)/examples/hello.com \ + o/$(MODE)/tool/build/blinkenlights.com.dbg + @$< + +o/$(MODE)/test/libc/release/emulate.ok: \ + test/libc/release/emulate.sh \ + o/$(MODE)/examples/hello.com \ + o/$(MODE)/tool/build/blinkenlights.com.dbg + @$< + .PHONY: o/$(MODE)/test/libc/release o/$(MODE)/test/libc/release: \ o/$(MODE)/test/libc/release/smoke.com \ @@ -111,4 +117,6 @@ o/$(MODE)/test/libc/release: \ o/$(MODE)/test/libc/release/smokecxx.com.runs \ o/$(MODE)/test/libc/release/smokeansi.com \ o/$(MODE)/test/libc/release/smokeansi.com.runs \ - o/$(MODE)/test/libc/release/smokeclang.ok + o/$(MODE)/test/libc/release/clang.ok \ + o/$(MODE)/test/libc/release/emulate.ok \ + o/$(MODE)/test/libc/release/metal.ok diff --git a/test/libc/runtime/itsatrap_test.c b/test/libc/runtime/itsatrap_test.c index 4a39a6b2e56..2946ef58577 100644 --- a/test/libc/runtime/itsatrap_test.c +++ b/test/libc/runtime/itsatrap_test.c @@ -35,6 +35,8 @@ * @see __addvsi3, __mulvsi3, etc. */ +#ifndef __llvm__ /* TODO(jart): wut */ + volatile bool overflowed_; void __on_arithmetic_overflow(void) { @@ -351,3 +353,5 @@ TEST(__mulvti3, testOverflow) { x *= 0xb504f333f9de6d29; EXPECT_TRUE(overflowed_); } + +#endif /* __llvm__ */ diff --git a/test/libc/runtime/memtrack_test.c b/test/libc/runtime/memtrack_test.c index 8ad9d4f733e..8bc0b028d4e 100644 --- a/test/libc/runtime/memtrack_test.c +++ b/test/libc/runtime/memtrack_test.c @@ -63,7 +63,7 @@ static void CheckMemoryIntervalsAreOk(const struct MemoryIntervals *mm) { static void RunTrackMemoryIntervalTest(const struct MemoryIntervals t[2], int x, int y, long h) { struct MemoryIntervals *mm; - mm = memcpy(memalign(alignof(*t), sizeof(*t)), t, sizeof(*t)); + mm = memcpy(malloc(sizeof(*t)), t, sizeof(*t)); CheckMemoryIntervalsAreOk(mm); CHECK_NE(-1, TrackMemoryInterval(mm, x, y, h, 0, 0)); CheckMemoryIntervalsAreOk(mm); @@ -75,7 +75,7 @@ static int RunReleaseMemoryIntervalsTest(const struct MemoryIntervals t[2], int x, int y) { int rc; struct MemoryIntervals *mm; - mm = memcpy(memalign(alignof(*t), sizeof(*t)), t, sizeof(*t)); + mm = memcpy(malloc(sizeof(*t)), t, sizeof(*t)); CheckMemoryIntervalsAreOk(mm); if ((rc = ReleaseMemoryIntervals(mm, x, y, NULL)) != -1) { CheckMemoryIntervalsAreOk(mm); diff --git a/test/libc/runtime/test.mk b/test/libc/runtime/test.mk index 6c3a69322b7..dfc000d9105 100644 --- a/test/libc/runtime/test.mk +++ b/test/libc/runtime/test.mk @@ -38,6 +38,7 @@ TEST_LIBC_RUNTIME_DIRECTDEPS = \ LIBC_SYSV \ LIBC_TESTLIB \ LIBC_TINYMATH \ + LIBC_UNICODE \ LIBC_X \ THIRD_PARTY_XED diff --git a/test/libc/stdio/test.mk b/test/libc/stdio/test.mk index 5a727767b27..b8e23cd7593 100644 --- a/test/libc/stdio/test.mk +++ b/test/libc/stdio/test.mk @@ -36,6 +36,7 @@ TEST_LIBC_STDIO_DIRECTDEPS = \ LIBC_STUBS \ LIBC_SYSV \ LIBC_TESTLIB \ + LIBC_UNICODE \ LIBC_X TEST_LIBC_STDIO_DEPS := \ diff --git a/test/libc/str/sha256_test.c b/test/libc/str/sha256_test.c deleted file mode 100644 index 50e43cbf89b..00000000000 --- a/test/libc/str/sha256_test.c +++ /dev/null @@ -1,48 +0,0 @@ -/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ -│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ -╞══════════════════════════════════════════════════════════════════════════════╡ -│ Copyright 2020 Justine Alexandra Roberts Tunney │ -│ │ -│ Permission to use, copy, modify, and/or distribute this software for │ -│ any purpose with or without fee is hereby granted, provided that the │ -│ above copyright notice and this permission notice appear in all copies. │ -│ │ -│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ -│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ -│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ -│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ -│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ -│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ -│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ -│ PERFORMANCE OF THIS SOFTWARE. │ -╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/sha256.h" -#include "libc/str/str.h" -#include "libc/testlib/ezbench.h" -#include "libc/testlib/hyperion.h" -#include "libc/testlib/testlib.h" - -uint8_t *sha256(const char *s) { - static uint8_t hash[32]; - struct Sha256Ctx ctx; - sha256_init(&ctx); - sha256_update(&ctx, (const uint8_t *)s, strlen(s)); - sha256_final(&ctx, hash); - return hash; -} - -TEST(sha256, testEmpty) { - EXPECT_BINEQ( - "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - sha256("")); -} - -TEST(sha256, test) { - EXPECT_BINEQ(u",≥M║_░ú♫&Φ;*┼╣Γ€←▬▲\\▼ºB^s♦3bôïÿ$", sha256("hello")); - EXPECT_BINEQ("2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b98", - sha256("hello")); -} - -TEST(sha256, testNontrivialSize) { - EXPECT_BINEQ(u"╨╒║☺ª↨╨╒ù€»╝∞nfÑ4Æ╒Tn╫╕`eóA¿↑[3╬", sha256(kHyperion)); -} diff --git a/test/libc/tinymath/test.mk b/test/libc/tinymath/test.mk index e02150f8de1..ebf6de72e8b 100644 --- a/test/libc/tinymath/test.mk +++ b/test/libc/tinymath/test.mk @@ -32,6 +32,7 @@ TEST_LIBC_TINYMATH_DIRECTDEPS = \ LIBC_STUBS \ LIBC_TESTLIB \ LIBC_TINYMATH \ + LIBC_UNICODE \ LIBC_X TEST_LIBC_TINYMATH_DEPS := \ diff --git a/test/libc/x/test.mk b/test/libc/x/test.mk index ad075eef018..ed5dc0b6881 100644 --- a/test/libc/x/test.mk +++ b/test/libc/x/test.mk @@ -33,6 +33,7 @@ TEST_LIBC_X_DIRECTDEPS = \ LIBC_STR \ LIBC_STUBS \ LIBC_TESTLIB \ + LIBC_UNICODE \ LIBC_X \ THIRD_PARTY_GDTOA diff --git a/test/tool/build/lib/alu_test.c b/test/tool/build/lib/alu_test.c index 0db7ce1b3ec..f1184cac9c9 100644 --- a/test/tool/build/lib/alu_test.c +++ b/test/tool/build/lib/alu_test.c @@ -29,16 +29,20 @@ #define ALU_TEST 8 -#define NATIVE_ALU2(MODE, INSTRUCTION) \ - asm("pushf\n\t" \ - "andl\t%3,(%%rsp)\n\t" \ - "orl\t%4,(%%rsp)\n\t" \ - "popf\n\t" INSTRUCTION "\t%" MODE "2,%" MODE "0\n\t" \ - "pushf\n\t" \ - "pop\t%q1" \ - : "+r"(x), "=rm"(*f) \ - : "r"(y), "i"(~FMASK), "r"(*f & FMASK) \ - : "cc") +#define NATIVE_ALU2(MODE, INSTRUCTION) \ + do { \ + intptr_t flags; \ + asm("pushf\n\t" \ + "andl\t%3,(%%rsp)\n\t" \ + "orl\t%4,(%%rsp)\n\t" \ + "popf\n\t" INSTRUCTION "\t%" MODE "2,%" MODE "0\n\t" \ + "pushf\n\t" \ + "pop\t%q1" \ + : "+r"(x), "=rm"(flags) \ + : "r"(y), "i"(~FMASK), "r"(*f & FMASK) \ + : "cc"); \ + *f = flags; \ + } while (0) #define NATIVE_ALU2_ANYBITS(INSTRUCTION, MUTATING) \ switch (w) { \ @@ -91,13 +95,27 @@ int64_t RunGolden(char w, int h, uint64_t x, uint64_t y, uint32_t *f) { } const uint8_t kAluOps[] = { - ALU_ADD, ALU_OR, ALU_ADC, ALU_SBB, ALU_AND, ALU_SUB, ALU_XOR, ALU_CMP, ALU_AND | ALU_TEST, + ALU_ADD, // + ALU_OR, // + ALU_ADC, // + ALU_SBB, // + ALU_AND, // + ALU_SUB, // + ALU_XOR, // + ALU_CMP, // + ALU_AND | ALU_TEST, // }; const char *const kAluNames[] = { - [ALU_ADD] = "add", [ALU_OR] = "or", [ALU_ADC] = "adc", - [ALU_SBB] = "sbb", [ALU_AND] = "and", [ALU_SUB] = "sub", - [ALU_XOR] = "xor", [ALU_CMP] = "cmp", [ALU_AND | ALU_TEST] = "test", + [ALU_ADD] = "add", // + [ALU_OR] = "or", // + [ALU_ADC] = "adc", // + [ALU_SBB] = "sbb", // + [ALU_AND] = "and", // + [ALU_SUB] = "sub", // + [ALU_XOR] = "xor", // + [ALU_CMP] = "cmp", // + [ALU_AND | ALU_TEST] = "test", // }; int64_t Alu(int w, int h, uint64_t x, uint64_t y, uint32_t *flags) { diff --git a/test/tool/build/lib/asmdown_test.c b/test/tool/build/lib/asmdown_test.c index 02185322e44..fe457a7f019 100644 --- a/test/tool/build/lib/asmdown_test.c +++ b/test/tool/build/lib/asmdown_test.c @@ -132,3 +132,53 @@ tinymath_acos:\n\ FreeAsmdown(ad); } + +TEST(ParseAsmdown, testClangIsEvil) { + struct Asmdown *ad; + const char *s = "\ +#include \"libc/macros.h\"\n\ +.source __FILE__\n\ +\n\ +// Returns arc cosine of 𝑥.\n\ +//\n\ +// This is a description.\n\ +//\n\ +// @param 𝑥 is double scalar in low half of %xmm0\n\ +// @return double scalar in low half of %xmm0\n\ +tinymath_acos:\n\ + ezlea tinymath_acosl,ax\n\ + jmp _d2ld2\n\ + .endfn tinymath_acos,globl\n\ + .alias tinymath_acos,acos\n\ +"; + ad = ParseAsmdown(s, strlen(s)); + ASSERT_EQ(2, ad->symbols.n); + + EXPECT_EQ(4, ad->symbols.p[0].line); + EXPECT_STREQ("tinymath_acos", ad->symbols.p[0].name); + EXPECT_FALSE(ad->symbols.p[0].javadown->isfileoverview); + EXPECT_STREQ("Returns arc cosine of 𝑥.", ad->symbols.p[0].javadown->title); + EXPECT_STREQ("This is a description.\n", ad->symbols.p[0].javadown->text); + EXPECT_EQ(2, ad->symbols.p[0].javadown->tags.n); + EXPECT_STREQ("param", ad->symbols.p[0].javadown->tags.p[0].tag); + EXPECT_STREQ("𝑥 is double scalar in low half of %xmm0", + ad->symbols.p[0].javadown->tags.p[0].text); + EXPECT_STREQ("return", ad->symbols.p[0].javadown->tags.p[1].tag); + EXPECT_STREQ("double scalar in low half of %xmm0", + ad->symbols.p[0].javadown->tags.p[1].text); + + EXPECT_EQ(4, ad->symbols.p[1].line); + EXPECT_STREQ("acos", ad->symbols.p[1].name); + EXPECT_FALSE(ad->symbols.p[1].javadown->isfileoverview); + EXPECT_STREQ("Returns arc cosine of 𝑥.", ad->symbols.p[1].javadown->title); + EXPECT_STREQ("This is a description.\n", ad->symbols.p[1].javadown->text); + EXPECT_EQ(2, ad->symbols.p[1].javadown->tags.n); + EXPECT_STREQ("param", ad->symbols.p[1].javadown->tags.p[0].tag); + EXPECT_STREQ("𝑥 is double scalar in low half of %xmm0", + ad->symbols.p[1].javadown->tags.p[0].text); + EXPECT_STREQ("return", ad->symbols.p[1].javadown->tags.p[1].tag); + EXPECT_STREQ("double scalar in low half of %xmm0", + ad->symbols.p[1].javadown->tags.p[1].text); + + FreeAsmdown(ad); +} diff --git a/test/tool/build/lib/machine_test.c b/test/tool/build/lib/machine_test.c index 8700ea11957..b905f652e39 100644 --- a/test/tool/build/lib/machine_test.c +++ b/test/tool/build/lib/machine_test.c @@ -145,10 +145,10 @@ TEST(machine, test) { TEST(machine, testFpu) { VirtualRecv(m, 0, kPi80, sizeof(kPi80)); ASSERT_EQ(kMachineHalt, ExecuteUntilHalt(m)); - ASSERT_TRUE(fabs(3.14159 - FpuPop(m)) < 0.0001); + ASSERT_TRUE(fabsl(3.14159 - FpuPop(m)) < 0.0001); m->ip = 0; ASSERT_EQ(kMachineHalt, ExecuteUntilHalt(m)); - ASSERT_TRUE(fabs(3.14159 - FpuPop(m)) < 0.0001); + ASSERT_TRUE(fabsl(3.14159 - FpuPop(m)) < 0.0001); } BENCH(machine, benchPrimeNumberPrograms) { diff --git a/third_party/blas/blas.h b/third_party/blas/blas.h deleted file mode 100644 index 98fb8f1d156..00000000000 --- a/third_party/blas/blas.h +++ /dev/null @@ -1,13 +0,0 @@ -#ifndef COSMOPOLITAN_THIRD_PARTY_BLAS_BLAS_H_ -#define COSMOPOLITAN_THIRD_PARTY_BLAS_BLAS_H_ -#if !(__ASSEMBLER__ + __LINKER__ + 0) -COSMOPOLITAN_C_START_ - -int dgemm_(char *transa, char *transb, long *m, long *n, long *k, double *alpha, - double *A /*['N'?k:m][1≤m≤lda]*/, long *lda, - double *B /*['N'?k:n][1≤n≤ldb]*/, long *ldb, double *beta, - double *C /*[n][1≤m≤ldc]*/, long *ldc); - -COSMOPOLITAN_C_END_ -#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ -#endif /* COSMOPOLITAN_THIRD_PARTY_BLAS_BLAS_H_ */ diff --git a/third_party/blas/blas.mk b/third_party/blas/blas.mk deleted file mode 100644 index a37d32b36e3..00000000000 --- a/third_party/blas/blas.mk +++ /dev/null @@ -1,56 +0,0 @@ -#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#───vi: set et ft=make ts=8 tw=8 fenc=utf-8 :vi───────────────────────┘ - -PKGS += THIRD_PARTY_BLAS - -THIRD_PARTY_BLAS_ARTIFACTS += THIRD_PARTY_BLAS_A -THIRD_PARTY_BLAS = $(THIRD_PARTY_BLAS_A_DEPS) $(THIRD_PARTY_BLAS_A) -THIRD_PARTY_BLAS_A = o/$(MODE)/third_party/blas/blas.a -THIRD_PARTY_BLAS_A_FILES := $(wildcard third_party/blas/*) -THIRD_PARTY_BLAS_A_HDRS = $(filter %.h,$(THIRD_PARTY_BLAS_A_FILES)) -THIRD_PARTY_BLAS_A_SRCS_S = $(filter %.S,$(THIRD_PARTY_BLAS_A_FILES)) -THIRD_PARTY_BLAS_A_SRCS_C = $(filter %.c,$(THIRD_PARTY_BLAS_A_FILES)) - -THIRD_PARTY_BLAS_A_SRCS = \ - $(THIRD_PARTY_BLAS_A_SRCS_S) \ - $(THIRD_PARTY_BLAS_A_SRCS_C) - -THIRD_PARTY_BLAS_A_OBJS = \ - $(THIRD_PARTY_BLAS_A_SRCS_S:%.S=o/$(MODE)/%.o) \ - $(THIRD_PARTY_BLAS_A_SRCS_C:%.c=o/$(MODE)/%.o) - -THIRD_PARTY_BLAS_A_CHECKS = \ - $(THIRD_PARTY_BLAS_A).pkg \ - $(THIRD_PARTY_BLAS_A_HDRS:%=o/$(MODE)/%.ok) - -THIRD_PARTY_BLAS_A_DIRECTDEPS = \ - LIBC_INTRIN \ - LIBC_NEXGEN32E \ - LIBC_STUBS \ - THIRD_PARTY_F2C - -THIRD_PARTY_BLAS_A_DEPS := \ - $(call uniq,$(foreach x,$(THIRD_PARTY_BLAS_A_DIRECTDEPS),$($(x)))) - -$(THIRD_PARTY_BLAS_A_OBJS): \ - OVERRIDE_CFLAGS += \ - $(MATHEMATICAL) - -$(THIRD_PARTY_BLAS_A): \ - third_party/blas/ \ - $(THIRD_PARTY_BLAS_A).pkg \ - $(THIRD_PARTY_BLAS_A_OBJS) - -$(THIRD_PARTY_BLAS_A).pkg: \ - $(THIRD_PARTY_BLAS_A_OBJS) \ - $(foreach x,$(THIRD_PARTY_BLAS_A_DIRECTDEPS),$($(x)_A).pkg) - -THIRD_PARTY_BLAS_LIBS = $(foreach x,$(THIRD_PARTY_BLAS_ARTIFACTS),$($(x))) -THIRD_PARTY_BLAS_SRCS = $(foreach x,$(THIRD_PARTY_BLAS_ARTIFACTS),$($(x)_SRCS)) -THIRD_PARTY_BLAS_HDRS = $(foreach x,$(THIRD_PARTY_BLAS_ARTIFACTS),$($(x)_HDRS)) -THIRD_PARTY_BLAS_CHECKS = $(foreach x,$(THIRD_PARTY_BLAS_ARTIFACTS),$($(x)_CHECKS)) -THIRD_PARTY_BLAS_OBJS = $(foreach x,$(THIRD_PARTY_BLAS_ARTIFACTS),$($(x)_OBJS)) -$(THIRD_PARTY_BLAS_OBJS): $(BUILD_FILES) third_party/blas/blas.mk - -.PHONY: o/$(MODE)/third_party/blas -o/$(MODE)/third_party/blas: $(THIRD_PARTY_BLAS_CHECKS) diff --git a/third_party/blas/dgemm.f b/third_party/blas/dgemm.f deleted file mode 100644 index 3a60ca4e730..00000000000 --- a/third_party/blas/dgemm.f +++ /dev/null @@ -1,384 +0,0 @@ -*> \brief \b DGEMM -* -* =========== DOCUMENTATION =========== -* -* Online html documentation available at -* http://www.netlib.org/lapack/explore-html/ -* -* Definition: -* =========== -* -* SUBROUTINE DGEMM(TRANSA,TRANSB,M,N,K,ALPHA,A,LDA,B,LDB,BETA,C,LDC) -* -* .. Scalar Arguments .. -* DOUBLE PRECISION ALPHA,BETA -* INTEGER K,LDA,LDB,LDC,M,N -* CHARACTER TRANSA,TRANSB -* .. -* .. Array Arguments .. -* DOUBLE PRECISION A(LDA,*),B(LDB,*),C(LDC,*) -* .. -* -* -*> \par Purpose: -* ============= -*> -*> \verbatim -*> -*> DGEMM performs one of the matrix-matrix operations -*> -*> C := alpha*op( A )*op( B ) + beta*C, -*> -*> where op( X ) is one of -*> -*> op( X ) = X or op( X ) = X**T, -*> -*> alpha and beta are scalars, and A, B and C are matrices, with op( A ) -*> an m by k matrix, op( B ) a k by n matrix and C an m by n matrix. -*> \endverbatim -* -* Arguments: -* ========== -* -*> \param[in] TRANSA -*> \verbatim -*> TRANSA is CHARACTER*1 -*> On entry, TRANSA specifies the form of op( A ) to be used in -*> the matrix multiplication as follows: -*> -*> TRANSA = 'N' or 'n', op( A ) = A. -*> -*> TRANSA = 'T' or 't', op( A ) = A**T. -*> -*> TRANSA = 'C' or 'c', op( A ) = A**T. -*> \endverbatim -*> -*> \param[in] TRANSB -*> \verbatim -*> TRANSB is CHARACTER*1 -*> On entry, TRANSB specifies the form of op( B ) to be used in -*> the matrix multiplication as follows: -*> -*> TRANSB = 'N' or 'n', op( B ) = B. -*> -*> TRANSB = 'T' or 't', op( B ) = B**T. -*> -*> TRANSB = 'C' or 'c', op( B ) = B**T. -*> \endverbatim -*> -*> \param[in] M -*> \verbatim -*> M is INTEGER -*> On entry, M specifies the number of rows of the matrix -*> op( A ) and of the matrix C. M must be at least zero. -*> \endverbatim -*> -*> \param[in] N -*> \verbatim -*> N is INTEGER -*> On entry, N specifies the number of columns of the matrix -*> op( B ) and the number of columns of the matrix C. N must be -*> at least zero. -*> \endverbatim -*> -*> \param[in] K -*> \verbatim -*> K is INTEGER -*> On entry, K specifies the number of columns of the matrix -*> op( A ) and the number of rows of the matrix op( B ). K must -*> be at least zero. -*> \endverbatim -*> -*> \param[in] ALPHA -*> \verbatim -*> ALPHA is DOUBLE PRECISION. -*> On entry, ALPHA specifies the scalar alpha. -*> \endverbatim -*> -*> \param[in] A -*> \verbatim -*> A is DOUBLE PRECISION array, dimension ( LDA, ka ), where ka is -*> k when TRANSA = 'N' or 'n', and is m otherwise. -*> Before entry with TRANSA = 'N' or 'n', the leading m by k -*> part of the array A must contain the matrix A, otherwise -*> the leading k by m part of the array A must contain the -*> matrix A. -*> \endverbatim -*> -*> \param[in] LDA -*> \verbatim -*> LDA is INTEGER -*> On entry, LDA specifies the first dimension of A as declared -*> in the calling (sub) program. When TRANSA = 'N' or 'n' then -*> LDA must be at least max( 1, m ), otherwise LDA must be at -*> least max( 1, k ). -*> \endverbatim -*> -*> \param[in] B -*> \verbatim -*> B is DOUBLE PRECISION array, dimension ( LDB, kb ), where kb is -*> n when TRANSB = 'N' or 'n', and is k otherwise. -*> Before entry with TRANSB = 'N' or 'n', the leading k by n -*> part of the array B must contain the matrix B, otherwise -*> the leading n by k part of the array B must contain the -*> matrix B. -*> \endverbatim -*> -*> \param[in] LDB -*> \verbatim -*> LDB is INTEGER -*> On entry, LDB specifies the first dimension of B as declared -*> in the calling (sub) program. When TRANSB = 'N' or 'n' then -*> LDB must be at least max( 1, k ), otherwise LDB must be at -*> least max( 1, n ). -*> \endverbatim -*> -*> \param[in] BETA -*> \verbatim -*> BETA is DOUBLE PRECISION. -*> On entry, BETA specifies the scalar beta. When BETA is -*> supplied as zero then C need not be set on input. -*> \endverbatim -*> -*> \param[in,out] C -*> \verbatim -*> C is DOUBLE PRECISION array, dimension ( LDC, N ) -*> Before entry, the leading m by n part of the array C must -*> contain the matrix C, except when beta is zero, in which -*> case C need not be set on entry. -*> On exit, the array C is overwritten by the m by n matrix -*> ( alpha*op( A )*op( B ) + beta*C ). -*> \endverbatim -*> -*> \param[in] LDC -*> \verbatim -*> LDC is INTEGER -*> On entry, LDC specifies the first dimension of C as declared -*> in the calling (sub) program. LDC must be at least -*> max( 1, m ). -*> \endverbatim -* -* Authors: -* ======== -* -*> \author Univ. of Tennessee -*> \author Univ. of California Berkeley -*> \author Univ. of Colorado Denver -*> \author NAG Ltd. -* -*> \date December 2016 -* -*> \ingroup double_blas_level3 -* -*> \par Further Details: -* ===================== -*> -*> \verbatim -*> -*> Level 3 Blas routine. -*> -*> -- Written on 8-February-1989. -*> Jack Dongarra, Argonne National Laboratory. -*> Iain Duff, AERE Harwell. -*> Jeremy Du Croz, Numerical Algorithms Group Ltd. -*> Sven Hammarling, Numerical Algorithms Group Ltd. -*> \endverbatim -*> -* ===================================================================== - SUBROUTINE DGEMM(TRANSA,TRANSB,M,N,K,ALPHA,A,LDA,B,LDB,BETA,C,LDC) -* -* -- Reference BLAS level3 routine (version 3.7.0) -- -* -- Reference BLAS is a software package provided by Univ. of Tennessee, -- -* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- -* December 2016 -* -* .. Scalar Arguments .. - DOUBLE PRECISION ALPHA,BETA - INTEGER K,LDA,LDB,LDC,M,N - CHARACTER TRANSA,TRANSB -* .. -* .. Array Arguments .. - DOUBLE PRECISION A(LDA,*),B(LDB,*),C(LDC,*) -* .. -* -* ===================================================================== -* -* .. External Functions .. - LOGICAL LSAME - EXTERNAL LSAME -* .. -* .. External Subroutines .. - EXTERNAL XERBLA -* .. -* .. Intrinsic Functions .. - INTRINSIC MAX -* .. -* .. Local Scalars .. - DOUBLE PRECISION TEMP - INTEGER I,INFO,J,L,NCOLA,NROWA,NROWB - LOGICAL NOTA,NOTB -* .. -* .. Parameters .. - DOUBLE PRECISION ONE,ZERO - PARAMETER (ONE=1.0D+0,ZERO=0.0D+0) -* .. -* -* Set NOTA and NOTB as true if A and B respectively are not -* transposed and set NROWA, NCOLA and NROWB as the number of rows -* and columns of A and the number of rows of B respectively. -* - NOTA = LSAME(TRANSA,'N') - NOTB = LSAME(TRANSB,'N') - IF (NOTA) THEN - NROWA = M - NCOLA = K - ELSE - NROWA = K - NCOLA = M - END IF - IF (NOTB) THEN - NROWB = K - ELSE - NROWB = N - END IF -* -* Test the input parameters. -* - INFO = 0 - IF ((.NOT.NOTA) .AND. (.NOT.LSAME(TRANSA,'C')) .AND. - + (.NOT.LSAME(TRANSA,'T'))) THEN - INFO = 1 - ELSE IF ((.NOT.NOTB) .AND. (.NOT.LSAME(TRANSB,'C')) .AND. - + (.NOT.LSAME(TRANSB,'T'))) THEN - INFO = 2 - ELSE IF (M.LT.0) THEN - INFO = 3 - ELSE IF (N.LT.0) THEN - INFO = 4 - ELSE IF (K.LT.0) THEN - INFO = 5 - ELSE IF (LDA.LT.MAX(1,NROWA)) THEN - INFO = 8 - ELSE IF (LDB.LT.MAX(1,NROWB)) THEN - INFO = 10 - ELSE IF (LDC.LT.MAX(1,M)) THEN - INFO = 13 - END IF - IF (INFO.NE.0) THEN - CALL XERBLA('DGEMM ',INFO) - RETURN - END IF -* -* Quick return if possible. -* - IF ((M.EQ.0) .OR. (N.EQ.0) .OR. - + (((ALPHA.EQ.ZERO).OR. (K.EQ.0)).AND. (BETA.EQ.ONE))) RETURN -* -* And if alpha.eq.zero. -* - IF (ALPHA.EQ.ZERO) THEN - IF (BETA.EQ.ZERO) THEN - DO 20 J = 1,N - DO 10 I = 1,M - C(I,J) = ZERO - 10 CONTINUE - 20 CONTINUE - ELSE - DO 40 J = 1,N - DO 30 I = 1,M - C(I,J) = BETA*C(I,J) - 30 CONTINUE - 40 CONTINUE - END IF - RETURN - END IF -* -* Start the operations. -* - IF (NOTB) THEN - IF (NOTA) THEN -* -* Form C := alpha*A*B + beta*C. -* - DO 90 J = 1,N - IF (BETA.EQ.ZERO) THEN - DO 50 I = 1,M - C(I,J) = ZERO - 50 CONTINUE - ELSE IF (BETA.NE.ONE) THEN - DO 60 I = 1,M - C(I,J) = BETA*C(I,J) - 60 CONTINUE - END IF - DO 80 L = 1,K - TEMP = ALPHA*B(L,J) - DO 70 I = 1,M - C(I,J) = C(I,J) + TEMP*A(I,L) - 70 CONTINUE - 80 CONTINUE - 90 CONTINUE - ELSE -* -* Form C := alpha*A**T*B + beta*C -* - DO 120 J = 1,N - DO 110 I = 1,M - TEMP = ZERO - DO 100 L = 1,K - TEMP = TEMP + A(L,I)*B(L,J) - 100 CONTINUE - IF (BETA.EQ.ZERO) THEN - C(I,J) = ALPHA*TEMP - ELSE - C(I,J) = ALPHA*TEMP + BETA*C(I,J) - END IF - 110 CONTINUE - 120 CONTINUE - END IF - ELSE - IF (NOTA) THEN -* -* Form C := alpha*A*B**T + beta*C -* - DO 170 J = 1,N - IF (BETA.EQ.ZERO) THEN - DO 130 I = 1,M - C(I,J) = ZERO - 130 CONTINUE - ELSE IF (BETA.NE.ONE) THEN - DO 140 I = 1,M - C(I,J) = BETA*C(I,J) - 140 CONTINUE - END IF - DO 160 L = 1,K - TEMP = ALPHA*B(J,L) - DO 150 I = 1,M - C(I,J) = C(I,J) + TEMP*A(I,L) - 150 CONTINUE - 160 CONTINUE - 170 CONTINUE - ELSE -* -* Form C := alpha*A**T*B**T + beta*C -* - DO 200 J = 1,N - DO 190 I = 1,M - TEMP = ZERO - DO 180 L = 1,K - TEMP = TEMP + A(L,I)*B(J,L) - 180 CONTINUE - IF (BETA.EQ.ZERO) THEN - C(I,J) = ALPHA*TEMP - ELSE - C(I,J) = ALPHA*TEMP + BETA*C(I,J) - END IF - 190 CONTINUE - 200 CONTINUE - END IF - END IF -* - RETURN -* -* End of DGEMM . -* - END diff --git a/third_party/blas/lsame.c b/third_party/blas/lsame.c deleted file mode 100644 index 928377fdc08..00000000000 --- a/third_party/blas/lsame.c +++ /dev/null @@ -1,155 +0,0 @@ -/* lsame.f -- translated by f2c (version 20191129). - You must link the resulting object file with libf2c: - on Microsoft Windows system, link with libf2c.lib; - on Linux or Unix systems, link with .../path/to/libf2c.a -lm - or, if you install libf2c.a in a standard place, with -lf2c -lm - -- in that order, at the end of the command line, as in - cc *.o -lf2c -lm - Source for libf2c is in /netlib/f2c/libf2c.zip, e.g., - - http://www.netlib.org/f2c/libf2c.zip -*/ - -#include "third_party/f2c/f2c.h" - -/* > \brief \b LSAME */ - -/* =========== DOCUMENTATION =========== */ - -/* Online html documentation available at */ -/* http://www.netlib.org/lapack/explore-html/ */ - -/* Definition: */ -/* =========== */ - -/* LOGICAL FUNCTION LSAME(CA,CB) */ - -/* .. Scalar Arguments .. */ -/* CHARACTER CA,CB */ -/* .. */ - -/* > \par Purpose: */ -/* ============= */ -/* > */ -/* > \verbatim */ -/* > */ -/* > LSAME returns .TRUE. if CA is the same letter as CB regardless of */ -/* > case. */ -/* > \endverbatim */ - -/* Arguments: */ -/* ========== */ - -/* > \param[in] CA */ -/* > \verbatim */ -/* > CA is CHARACTER*1 */ -/* > \endverbatim */ -/* > */ -/* > \param[in] CB */ -/* > \verbatim */ -/* > CB is CHARACTER*1 */ -/* > CA and CB specify the single characters to be compared. */ -/* > \endverbatim */ - -/* Authors: */ -/* ======== */ - -/* > \author Univ. of Tennessee */ -/* > \author Univ. of California Berkeley */ -/* > \author Univ. of Colorado Denver */ -/* > \author NAG Ltd. */ - -/* > \date December 2016 */ - -/* > \ingroup aux_blas */ - -/* ===================================================================== */ -logical lsame_(char *ca, char *cb) { - /* System generated locals */ - logical ret_val; - - /* Local variables */ - static integer inta, intb, zcode; - - /* -- Reference BLAS level1 routine (version 3.1) -- */ - /* -- Reference BLAS is a software package provided by Univ. of Tennessee, - * -- */ - /* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- - */ - /* December 2016 */ - - /* .. Scalar Arguments .. */ - /* .. */ - - /* ===================================================================== */ - - /* .. Intrinsic Functions .. */ - /* .. */ - /* .. Local Scalars .. */ - /* .. */ - - /* Test if the characters are equal */ - - ret_val = *(unsigned char *)ca == *(unsigned char *)cb; - if (ret_val) { - return ret_val; - } - - /* Now test for equivalence if both characters are alphabetic. */ - - zcode = 'Z'; - - /* Use 'Z' rather than 'A' so that ASCII can be detected on Prime */ - /* machines, on which ICHAR returns a value with bit 8 set. */ - /* ICHAR('A') on Prime machines returns 193 which is the same as */ - /* ICHAR('A') on an EBCDIC machine. */ - - inta = *(unsigned char *)ca; - intb = *(unsigned char *)cb; - - if (zcode == 90 || zcode == 122) { - - /* ASCII is assumed - ZCODE is the ASCII code of either lower or */ - /* upper case 'Z'. */ - - if (inta >= 97 && inta <= 122) { - inta += -32; - } - if (intb >= 97 && intb <= 122) { - intb += -32; - } - - } else if (zcode == 233 || zcode == 169) { - - /* EBCDIC is assumed - ZCODE is the EBCDIC code of either lower or */ - /* upper case 'Z'. */ - - if (inta >= 129 && inta <= 137 || inta >= 145 && inta <= 153 || - inta >= 162 && inta <= 169) { - inta += 64; - } - if (intb >= 129 && intb <= 137 || intb >= 145 && intb <= 153 || - intb >= 162 && intb <= 169) { - intb += 64; - } - - } else if (zcode == 218 || zcode == 250) { - - /* ASCII is assumed, on Prime machines - ZCODE is the ASCII code */ - /* plus 128 of either lower or upper case 'Z'. */ - - if (inta >= 225 && inta <= 250) { - inta += -32; - } - if (intb >= 225 && intb <= 250) { - intb += -32; - } - } - ret_val = inta == intb; - - /* RETURN */ - - /* End of LSAME */ - - return ret_val; -} /* lsame_ */ diff --git a/third_party/blas/lsame.f b/third_party/blas/lsame.f deleted file mode 100644 index d8194786966..00000000000 --- a/third_party/blas/lsame.f +++ /dev/null @@ -1,125 +0,0 @@ -*> \brief \b LSAME -* -* =========== DOCUMENTATION =========== -* -* Online html documentation available at -* http://www.netlib.org/lapack/explore-html/ -* -* Definition: -* =========== -* -* LOGICAL FUNCTION LSAME(CA,CB) -* -* .. Scalar Arguments .. -* CHARACTER CA,CB -* .. -* -* -*> \par Purpose: -* ============= -*> -*> \verbatim -*> -*> LSAME returns .TRUE. if CA is the same letter as CB regardless of -*> case. -*> \endverbatim -* -* Arguments: -* ========== -* -*> \param[in] CA -*> \verbatim -*> CA is CHARACTER*1 -*> \endverbatim -*> -*> \param[in] CB -*> \verbatim -*> CB is CHARACTER*1 -*> CA and CB specify the single characters to be compared. -*> \endverbatim -* -* Authors: -* ======== -* -*> \author Univ. of Tennessee -*> \author Univ. of California Berkeley -*> \author Univ. of Colorado Denver -*> \author NAG Ltd. -* -*> \date December 2016 -* -*> \ingroup aux_blas -* -* ===================================================================== - LOGICAL FUNCTION LSAME(CA,CB) -* -* -- Reference BLAS level1 routine (version 3.1) -- -* -- Reference BLAS is a software package provided by Univ. of Tennessee, -- -* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- -* December 2016 -* -* .. Scalar Arguments .. - CHARACTER CA,CB -* .. -* -* ===================================================================== -* -* .. Intrinsic Functions .. - INTRINSIC ICHAR -* .. -* .. Local Scalars .. - INTEGER INTA,INTB,ZCODE -* .. -* -* Test if the characters are equal -* - LSAME = CA .EQ. CB - IF (LSAME) RETURN -* -* Now test for equivalence if both characters are alphabetic. -* - ZCODE = ICHAR('Z') -* -* Use 'Z' rather than 'A' so that ASCII can be detected on Prime -* machines, on which ICHAR returns a value with bit 8 set. -* ICHAR('A') on Prime machines returns 193 which is the same as -* ICHAR('A') on an EBCDIC machine. -* - INTA = ICHAR(CA) - INTB = ICHAR(CB) -* - IF (ZCODE.EQ.90 .OR. ZCODE.EQ.122) THEN -* -* ASCII is assumed - ZCODE is the ASCII code of either lower or -* upper case 'Z'. -* - IF (INTA.GE.97 .AND. INTA.LE.122) INTA = INTA - 32 - IF (INTB.GE.97 .AND. INTB.LE.122) INTB = INTB - 32 -* - ELSE IF (ZCODE.EQ.233 .OR. ZCODE.EQ.169) THEN -* -* EBCDIC is assumed - ZCODE is the EBCDIC code of either lower or -* upper case 'Z'. -* - IF (INTA.GE.129 .AND. INTA.LE.137 .OR. - + INTA.GE.145 .AND. INTA.LE.153 .OR. - + INTA.GE.162 .AND. INTA.LE.169) INTA = INTA + 64 - IF (INTB.GE.129 .AND. INTB.LE.137 .OR. - + INTB.GE.145 .AND. INTB.LE.153 .OR. - + INTB.GE.162 .AND. INTB.LE.169) INTB = INTB + 64 -* - ELSE IF (ZCODE.EQ.218 .OR. ZCODE.EQ.250) THEN -* -* ASCII is assumed, on Prime machines - ZCODE is the ASCII code -* plus 128 of either lower or upper case 'Z'. -* - IF (INTA.GE.225 .AND. INTA.LE.250) INTA = INTA - 32 - IF (INTB.GE.225 .AND. INTB.LE.250) INTB = INTB - 32 - END IF - LSAME = INTA .EQ. INTB -* -* RETURN -* -* End of LSAME -* - END diff --git a/third_party/blas/xerbla.c b/third_party/blas/xerbla.c deleted file mode 100644 index 11faa36bee8..00000000000 --- a/third_party/blas/xerbla.c +++ /dev/null @@ -1,121 +0,0 @@ -/* xerbla.f -- translated by f2c (version 20191129). - You must link the resulting object file with libf2c: - on Microsoft Windows system, link with libf2c.lib; - on Linux or Unix systems, link with .../path/to/libf2c.a -lm - or, if you install libf2c.a in a standard place, with -lf2c -lm - -- in that order, at the end of the command line, as in - cc *.o -lf2c -lm - Source for libf2c is in /netlib/f2c/libf2c.zip, e.g., - - http://www.netlib.org/f2c/libf2c.zip -*/ - -#include "third_party/f2c/f2c.h" - -/* Table of constant values */ - -static integer c__1 = 1; - -/* > \brief \b XERBLA */ - -/* =========== DOCUMENTATION =========== */ - -/* Online html documentation available at */ -/* http://www.netlib.org/lapack/explore-html/ */ - -/* Definition: */ -/* =========== */ - -/* SUBROUTINE XERBLA( SRNAME, INFO ) */ - -/* .. Scalar Arguments .. */ -/* CHARACTER*(*) SRNAME */ -/* INTEGER INFO */ -/* .. */ - -/* > \par Purpose: */ -/* ============= */ -/* > */ -/* > \verbatim */ -/* > */ -/* > XERBLA is an error handler for the LAPACK routines. */ -/* > It is called by an LAPACK routine if an input parameter has an */ -/* > invalid value. A message is printed and execution stops. */ -/* > */ -/* > Installers may consider modifying the STOP statement in order to */ -/* > call system-specific exception-handling facilities. */ -/* > \endverbatim */ - -/* Arguments: */ -/* ========== */ - -/* > \param[in] SRNAME */ -/* > \verbatim */ -/* > SRNAME is CHARACTER*(*) */ -/* > The name of the routine which called XERBLA. */ -/* > \endverbatim */ -/* > */ -/* > \param[in] INFO */ -/* > \verbatim */ -/* > INFO is INTEGER */ -/* > The position of the invalid parameter in the parameter list */ -/* > of the calling routine. */ -/* > \endverbatim */ - -/* Authors: */ -/* ======== */ - -/* > \author Univ. of Tennessee */ -/* > \author Univ. of California Berkeley */ -/* > \author Univ. of Colorado Denver */ -/* > \author NAG Ltd. */ - -/* > \date December 2016 */ - -/* > \ingroup aux_blas */ - -/* ===================================================================== */ -/* Subroutine */ int xerbla_(char *srname, integer *info, ftnlen srname_len) { - /* Format strings */ - static char fmt_9999[] = - "(\002 ** On entry to \002,a,\002 parameter num" - "ber \002,i2,\002 had \002,\002an illegal value\002)"; - - /* Builtin functions */ - integer s_wsfe(cilist *), do_fio(integer *, char *, ftnlen), e_wsfe(void); - /* Subroutine */ int s_stop(char *, ftnlen); - - /* Local variables */ - extern doublereal trmlen_(char *, ftnlen); - - /* Fortran I/O blocks */ - static cilist io___1 = {0, 6, 0, fmt_9999, 0}; - - /* -- Reference BLAS level1 routine (version 3.7.0) -- */ - /* -- Reference BLAS is a software package provided by Univ. of Tennessee, - * -- */ - /* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- - */ - /* December 2016 */ - - /* .. Scalar Arguments .. */ - /* .. */ - - /* ===================================================================== */ - - /* .. Intrinsic Functions .. */ - /* INTRINSIC LEN_TRIM */ - /* .. */ - /* .. Executable Statements .. */ - - s_wsfe(&io___1); - do_fio(&c__1, srname, (integer)trmlen_(srname, srname_len)); - do_fio(&c__1, (char *)&(*info), (ftnlen)sizeof(integer)); - e_wsfe(); - - s_stop("", (ftnlen)0); - - /* End of XERBLA */ - - return 0; -} /* xerbla_ */ diff --git a/third_party/blas/xerbla.f b/third_party/blas/xerbla.f deleted file mode 100644 index 788e3785c80..00000000000 --- a/third_party/blas/xerbla.f +++ /dev/null @@ -1,89 +0,0 @@ -*> \brief \b XERBLA -* -* =========== DOCUMENTATION =========== -* -* Online html documentation available at -* http://www.netlib.org/lapack/explore-html/ -* -* Definition: -* =========== -* -* SUBROUTINE XERBLA( SRNAME, INFO ) -* -* .. Scalar Arguments .. -* CHARACTER*(*) SRNAME -* INTEGER INFO -* .. -* -* -*> \par Purpose: -* ============= -*> -*> \verbatim -*> -*> XERBLA is an error handler for the LAPACK routines. -*> It is called by an LAPACK routine if an input parameter has an -*> invalid value. A message is printed and execution stops. -*> -*> Installers may consider modifying the STOP statement in order to -*> call system-specific exception-handling facilities. -*> \endverbatim -* -* Arguments: -* ========== -* -*> \param[in] SRNAME -*> \verbatim -*> SRNAME is CHARACTER*(*) -*> The name of the routine which called XERBLA. -*> \endverbatim -*> -*> \param[in] INFO -*> \verbatim -*> INFO is INTEGER -*> The position of the invalid parameter in the parameter list -*> of the calling routine. -*> \endverbatim -* -* Authors: -* ======== -* -*> \author Univ. of Tennessee -*> \author Univ. of California Berkeley -*> \author Univ. of Colorado Denver -*> \author NAG Ltd. -* -*> \date December 2016 -* -*> \ingroup aux_blas -* -* ===================================================================== - SUBROUTINE XERBLA( SRNAME, INFO ) -* -* -- Reference BLAS level1 routine (version 3.7.0) -- -* -- Reference BLAS is a software package provided by Univ. of Tennessee, -- -* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- -* December 2016 -* -* .. Scalar Arguments .. - CHARACTER*(*) SRNAME - INTEGER INFO -* .. -* -* ===================================================================== -* -* .. Intrinsic Functions .. -* INTRINSIC LEN_TRIM -* .. -* .. Executable Statements .. -* - WRITE( *, FMT = 9999 )SRNAME( 1:TRMLEN( SRNAME ) ), INFO -* - STOP -* - 9999 FORMAT( ' ** On entry to ', A, ' parameter number ', I2, ' had ', - $ 'an illegal value' ) -* -* End of XERBLA -* - END diff --git a/third_party/chibicc/preprocess.c b/third_party/chibicc/preprocess.c index 1d4e9cfc819..7742b3d2cbe 100644 --- a/third_party/chibicc/preprocess.c +++ b/third_party/chibicc/preprocess.c @@ -889,7 +889,7 @@ static Token *timestamp_macro(Token *tmpl) { struct stat st; if (stat(tmpl->file->name, &st) != 0) return new_str_token("??? ??? ?? ??:??:?? ????", tmpl); - char buf[30]; + char buf[64]; ctime_r(&st.st_mtime, buf); buf[24] = '\0'; return new_str_token(buf, tmpl); diff --git a/third_party/compiler_rt/comprt.S b/third_party/compiler_rt/comprt.S index 077838b590f..215364d8ab2 100644 --- a/third_party/compiler_rt/comprt.S +++ b/third_party/compiler_rt/comprt.S @@ -1,6 +1,6 @@ #include "libc/macros.h" -/ Nop ref this to force pull the license into linkage. +// Nop ref this to force pull the license into linkage. .section .yoink huge_compiler_rt_license: int3 diff --git a/third_party/compiler_rt/nexgen32e/chkstk.S b/third_party/compiler_rt/nexgen32e/chkstk.S index 10687ae975b..cf5bb7b6e8f 100644 --- a/third_party/compiler_rt/nexgen32e/chkstk.S +++ b/third_party/compiler_rt/nexgen32e/chkstk.S @@ -15,7 +15,7 @@ #ifdef __x86_64__ .section .yoink - nop huge_compiler_rt_license + nopl huge_compiler_rt_license(%rip) .previous .text diff --git a/third_party/compiler_rt/nexgen32e/chkstk2.S b/third_party/compiler_rt/nexgen32e/chkstk2.S index 004e376ba40..eb8ea188146 100644 --- a/third_party/compiler_rt/nexgen32e/chkstk2.S +++ b/third_party/compiler_rt/nexgen32e/chkstk2.S @@ -6,7 +6,7 @@ #ifdef __x86_64__ .section .yoink - nop huge_compiler_rt_license + nopl huge_compiler_rt_license(%rip) .previous // _chkstk (_alloca) routine - probe stack between %rsp and (%rsp-%rax) in 4k increments, diff --git a/third_party/compiler_rt/nexgen32e/floatundidf.S b/third_party/compiler_rt/nexgen32e/floatundidf.S index b7c9074eb6b..9f779a0f468 100644 --- a/third_party/compiler_rt/nexgen32e/floatundidf.S +++ b/third_party/compiler_rt/nexgen32e/floatundidf.S @@ -18,7 +18,7 @@ #ifdef __x86_64__ .section .yoink - nop huge_compiler_rt_license + nopl huge_compiler_rt_license(%rip) .previous CONST_SECTION diff --git a/third_party/compiler_rt/nexgen32e/floatundisf.S b/third_party/compiler_rt/nexgen32e/floatundisf.S index 416633e09e7..c4949204670 100644 --- a/third_party/compiler_rt/nexgen32e/floatundisf.S +++ b/third_party/compiler_rt/nexgen32e/floatundisf.S @@ -8,7 +8,7 @@ #ifdef __x86_64__ .section .yoink - nop huge_compiler_rt_license + nopl huge_compiler_rt_license(%rip) .previous CONST_SECTION diff --git a/third_party/compiler_rt/nexgen32e/floatundixf.S b/third_party/compiler_rt/nexgen32e/floatundixf.S index 5ff6104468b..9f6a4d83cb2 100644 --- a/third_party/compiler_rt/nexgen32e/floatundixf.S +++ b/third_party/compiler_rt/nexgen32e/floatundixf.S @@ -8,7 +8,7 @@ #ifdef __x86_64__ .section .yoink - nop huge_compiler_rt_license + nopl huge_compiler_rt_license(%rip) .previous CONST_SECTION diff --git a/third_party/dlmalloc/initdlmalloc.S b/third_party/dlmalloc/initdlmalloc.S index 939036ceeef..248ed8f45ab 100644 --- a/third_party/dlmalloc/initdlmalloc.S +++ b/third_party/dlmalloc/initdlmalloc.S @@ -19,7 +19,7 @@ #include "libc/macros.h" .source __FILE__ -/ Sneak ahead ctor list b/c runtime weakly links malloc. +// Sneak ahead ctor list b/c runtime weakly links malloc. .init.start 800,_init_dlmalloc push %rdi push %rsi diff --git a/third_party/duktape/duktape.mk b/third_party/duktape/duktape.mk index 81ae7f20678..cee49d2899d 100644 --- a/third_party/duktape/duktape.mk +++ b/third_party/duktape/duktape.mk @@ -34,6 +34,7 @@ THIRD_PARTY_DUKTAPE_A_DIRECTDEPS = \ LIBC_STR \ LIBC_STUBS \ LIBC_TIME \ + LIBC_RUNTIME \ LIBC_TINYMATH \ LIBC_UNICODE \ LIBC_NEXGEN32E diff --git a/third_party/duktape/license.S b/third_party/duktape/license.S index 2b679c5379f..c46a0676d14 100644 --- a/third_party/duktape/license.S +++ b/third_party/duktape/license.S @@ -3,6 +3,6 @@ kDuktapeLicense: .incbin "third_party/duktape/license.inc" .type kDuktapeLicense,@object .globl kDuktapeLicense -.popsection +.previous .include "libc/disclaimer.inc" diff --git a/third_party/f2c/README.cosmo b/third_party/f2c/README.cosmo deleted file mode 100644 index 818602d0f01..00000000000 --- a/third_party/f2c/README.cosmo +++ /dev/null @@ -1,2 +0,0 @@ -https://www.netlib.org/f2c/ -2020-02-14 diff --git a/third_party/f2c/close.c b/third_party/f2c/close.c deleted file mode 100644 index c9e1ccdb1a5..00000000000 --- a/third_party/f2c/close.c +++ /dev/null @@ -1,58 +0,0 @@ -#include "libc/calls/calls.h" -#include "libc/mem/mem.h" -#include "third_party/f2c/f2c.h" -#include "third_party/f2c/fio.h" - -integer f_clos(cllist *a) { - unit *b; - if (a->cunit >= MXUNIT) return (0); - b = &f__units[a->cunit]; - if (b->ufd == NULL) goto done; - if (b->uscrtch == 1) goto Delete; - if (!a->csta) goto Keep; - switch (*a->csta) { - default: - Keep: - case 'k': - case 'K': - if (b->uwrt == 1) t_runc((alist *)a); - if (b->ufnm) { - fclose(b->ufd); - free(b->ufnm); - } - break; - case 'd': - case 'D': - Delete: - fclose(b->ufd); - if (b->ufnm) { - unlink(b->ufnm); /*SYSDEP*/ - free(b->ufnm); - } - } - b->ufd = NULL; -done: - b->uend = 0; - b->ufnm = NULL; - return (0); -} - -void f_exit(void) { - int i; - static cllist xx; - if (!xx.cerr) { - xx.cerr = 1; - xx.csta = NULL; - for (i = 0; i < MXUNIT; i++) { - xx.cunit = i; - (void)f_clos(&xx); - } - } -} - -int flush_(void) { - int i; - for (i = 0; i < MXUNIT; i++) - if (f__units[i].ufd != NULL && f__units[i].uwrt) fflush(f__units[i].ufd); - return 0; -} diff --git a/third_party/f2c/endfile.c b/third_party/f2c/endfile.c deleted file mode 100644 index f47b3f0a0b1..00000000000 --- a/third_party/f2c/endfile.c +++ /dev/null @@ -1,41 +0,0 @@ -#include "libc/calls/calls.h" -#include "libc/fmt/fmt.h" -#include "libc/stdio/stdio.h" -#include "third_party/f2c/fio.h" - -extern char *f__r_mode[], *f__w_mode[]; - -integer f_end(alist *a) { - unit *b; - FILE *tf; - if (a->aunit >= MXUNIT || a->aunit < 0) err(a->aerr, 101, "endfile"); - b = &f__units[a->aunit]; - if (b->ufd == NULL) { - char nbuf[10]; - sprintf(nbuf, "fort.%ld", (long)a->aunit); - if (tf = fopen(nbuf, f__w_mode[0])) fclose(tf); - return (0); - } - b->uend = 1; - return (b->useek ? t_runc(a) : 0); -} - -int t_runc(alist *a) { - OFF_T loc, len; - unit *b; - int rc; - FILE *bf; - b = &f__units[a->aunit]; - if (b->url) return (0); /*don't truncate direct files*/ - loc = ftell(bf = b->ufd); - fseek(bf, (OFF_T)0, SEEK_END); - len = ftell(bf); - if (loc >= len || b->useek == 0) return (0); - if (b->urw & 2) fflush(b->ufd); /* necessary on some Linux systems */ - rc = ftruncate(fileno(b->ufd), loc); - /* The following FSEEK is unnecessary on some systems, */ - /* but should be harmless. */ - fseek(b->ufd, (OFF_T)0, SEEK_END); - if (rc) err(a->aerr, 111, "endfile"); - return 0; -} diff --git a/third_party/f2c/err.c b/third_party/f2c/err.c deleted file mode 100644 index 970998e2fd1..00000000000 --- a/third_party/f2c/err.c +++ /dev/null @@ -1,221 +0,0 @@ -#include "libc/calls/calls.h" -#include "libc/calls/struct/stat.h" -#include "libc/log/log.h" -#include "libc/stdio/stdio.h" -#include "third_party/f2c/f2c.h" -#include "third_party/f2c/fio.h" -#include "third_party/f2c/fmt.h" - -extern char *f__r_mode[], *f__w_mode[]; - -/*global definitions*/ -unit f__units[MXUNIT]; /*unit table*/ -flag f__init; /*0 on entry, 1 after initializations*/ -cilist *f__elist; /*active external io list*/ -icilist *f__svic; /*active internal io list*/ -flag f__reading; /*1 if reading, 0 if writing*/ -flag f__cplus, f__cblank; -const char *f__fmtbuf; -flag f__external; /*1 if external io, 0 if internal */ -flag f__sequential; /*1 if sequential io, 0 if direct*/ -flag f__formatted; /*1 if formatted io, 0 if unformatted*/ -FILE *f__cf; /*current file*/ -unit *f__curunit; /*current unit*/ -int f__recpos; /*place in current record*/ -OFF_T f__cursor, f__hiwater; -int f__scale; -char *f__icptr; -int (*f__getn)(void); /* for formatted input */ -void (*f__putn)(int); /* for formatted output */ -int (*f__doed)(struct syl *, char *, ftnlen), (*f__doned)(struct syl *); -int (*f__dorevert)(void), (*f__donewrec)(void), (*f__doend)(void); - -/*error messages*/ -const char *F_err[] = { - "error in format", /* 100 */ - "illegal unit number", /* 101 */ - "formatted io not allowed", /* 102 */ - "unformatted io not allowed", /* 103 */ - "direct io not allowed", /* 104 */ - "sequential io not allowed", /* 105 */ - "can't backspace file", /* 106 */ - "null file name", /* 107 */ - "can't stat file", /* 108 */ - "unit not connected", /* 109 */ - "off end of record", /* 110 */ - "truncation failed in endfile", /* 111 */ - "incomprehensible list input", /* 112 */ - "out of free space", /* 113 */ - "unit not connected", /* 114 */ - "read unexpected character", /* 115 */ - "bad logical input field", /* 116 */ - "bad variable type", /* 117 */ - "bad namelist name", /* 118 */ - "variable not in namelist", /* 119 */ - "no end record", /* 120 */ - "variable count incorrect", /* 121 */ - "subscript for scalar variable", /* 122 */ - "invalid array section", /* 123 */ - "substring out of bounds", /* 124 */ - "subscript out of bounds", /* 125 */ - "can't read file", /* 126 */ - "can't write file", /* 127 */ - "'new' file exists", /* 128 */ - "can't append to file", /* 129 */ - "non-positive record number", /* 130 */ - "nmLbuf overflow" /* 131 */ -}; - -#define MAXERR (sizeof(F_err) / sizeof(char *) + 100) - -int f__canseek(FILE *f) /*SYSDEP*/ -{ -#ifdef NON_UNIX_STDIO - return !isatty(fileno(f)); -#else - struct stat x; - - if (fstat(fileno(f), &x) < 0) return (0); -#ifdef S_IFMT - switch (x.st_mode & S_IFMT) { - case S_IFDIR: - case S_IFREG: - if (x.st_nlink > 0) /* !pipe */ - return (1); - else - return (0); - case S_IFCHR: - if (isatty(fileno(f))) return (0); - return (1); -#ifdef S_IFBLK - case S_IFBLK: - return (1); -#endif - } -#else -#ifdef S_ISDIR - /* POSIX version */ - if (S_ISREG(x.st_mode) || S_ISDIR(x.st_mode)) { - if (x.st_nlink > 0) /* !pipe */ - return (1); - else - return (0); - } - if (S_ISCHR(x.st_mode)) { - if (isatty(fileno(f))) return (0); - return (1); - } - if (S_ISBLK(x.st_mode)) return (1); -#else - Help !How does fstat work on this system - ? -#endif -#endif - return (0); /* who knows what it is? */ -#endif -} - -void f__fatal(int n, const char *s) { - if (n < 100 && n >= 0) - fprintf(stderr, "error: %s: %m\n", s); /*SYSDEP*/ - else if (n >= (int)MAXERR || n < -1) { - fprintf(stderr, "%s: illegal error number %d\n", s, n); - } else if (n == -1) - fprintf(stderr, "%s: end of file\n", s); - else - fprintf(stderr, "%s: %s\n", s, F_err[n - 100]); - if (f__curunit) { - fprintf(stderr, "apparent state: unit %d ", (int)(f__curunit - f__units)); - fprintf(stderr, f__curunit->ufnm ? "named %s\n" : "(unnamed)\n", - f__curunit->ufnm); - } else - fprintf(stderr, "apparent state: internal I/O\n"); - if (f__fmtbuf) fprintf(stderr, "last format: %s\n", f__fmtbuf); - fprintf(stderr, "lately %s %s %s %s", f__reading ? "reading" : "writing", - f__sequential ? "sequential" : "direct", - f__formatted ? "formatted" : "unformatted", - f__external ? "external" : "internal"); - sig_die(" IO", 1); -} - -/*initialization routine*/ -VOID f_init(Void) { - unit *p; - - f__init = 1; - p = &f__units[0]; - p->ufd = stderr; - p->useek = f__canseek(stderr); - p->ufmt = 1; - p->uwrt = 1; - p = &f__units[5]; - p->ufd = stdin; - p->useek = f__canseek(stdin); - p->ufmt = 1; - p->uwrt = 0; - p = &f__units[6]; - p->ufd = stdout; - p->useek = f__canseek(stdout); - p->ufmt = 1; - p->uwrt = 1; -} - -int f__nowreading(unit *x) { - OFF_T loc; - int ufmt, urw; - - if (x->urw & 1) goto done; - if (!x->ufnm) goto cantread; - ufmt = x->url ? 0 : x->ufmt; - loc = ftell(x->ufd); - urw = 3; - if (!freopen(x->ufnm, f__w_mode[ufmt | 2], x->ufd)) { - urw = 1; - if (!freopen(x->ufnm, f__r_mode[ufmt], x->ufd)) { - cantread: - errno = 126; - return 1; - } - } - fseek(x->ufd, loc, SEEK_SET); - x->urw = urw; -done: - x->uwrt = 0; - return 0; -} - -int f__nowwriting(unit *x) { - OFF_T loc; - int ufmt; - - if (x->urw & 2) { - if (x->urw & 1) fseek(x->ufd, (OFF_T)0, SEEK_CUR); - goto done; - } - if (!x->ufnm) goto cantwrite; - ufmt = x->url ? 0 : x->ufmt; - if (x->uwrt == 3) { /* just did write, rewind */ - if (!(f__cf = x->ufd = freopen(x->ufnm, f__w_mode[ufmt], x->ufd))) - goto cantwrite; - x->urw = 2; - } else { - loc = ftell(x->ufd); - if (!(f__cf = x->ufd = freopen(x->ufnm, f__w_mode[ufmt | 2], x->ufd))) { - x->ufd = NULL; - cantwrite: - errno = 127; - return (1); - } - x->urw = 3; - fseek(x->ufd, loc, SEEK_SET); - } -done: - x->uwrt = 1; - return 0; -} - -int err__fl(int f, int m, const char *s) { - if (!f) f__fatal(m, s); - if (f__doend) (*f__doend)(); - return errno = m; -} diff --git a/third_party/f2c/exit_.c b/third_party/f2c/exit_.c deleted file mode 100644 index 2e6cd9c4f5e..00000000000 --- a/third_party/f2c/exit_.c +++ /dev/null @@ -1,18 +0,0 @@ -#include "libc/runtime/runtime.h" -#include "third_party/f2c/f2c.h" -#include "third_party/f2c/internal.h" - -/** - * This gives the effect of - * - * subroutine exit(rc) - * integer*4 rc - * stop - * end - * - * with the added side effect of supplying rc as the program's exit code. - */ -void exit_(integer *rc) { - f_exit(); - exit(*rc); -} diff --git a/third_party/f2c/f2c.h b/third_party/f2c/f2c.h deleted file mode 100644 index 62aa4baf66a..00000000000 --- a/third_party/f2c/f2c.h +++ /dev/null @@ -1,198 +0,0 @@ -#ifndef COSMOPOLITAN_THIRD_PARTY_F2C_F2C_H_ -#define COSMOPOLITAN_THIRD_PARTY_F2C_F2C_H_ -#if !(__ASSEMBLER__ + __LINKER__ + 0) -COSMOPOLITAN_C_START_ -/* f2c.h -- Standard Fortran to C header file */ - -/** barf [ba:rf] 2. "He suggested using FORTRAN, and everybody barfed." - - - From The Shogakukan DICTIONARY OF NEW ENGLISH (Second edition) */ - -typedef long int integer; -typedef unsigned long int uinteger; -typedef char *address; -typedef short int shortint; -typedef float real; -typedef double doublereal; -typedef struct { - real r, i; -} complex; -typedef struct { - doublereal r, i; -} doublecomplex; -typedef long int logical; -typedef short int shortlogical; -typedef char logical1; -typedef char integer1; -#ifdef INTEGER_STAR_8 /* Adjust for integer*8. */ -typedef long long longint; /* system-dependent */ -typedef unsigned long long ulongint; /* system-dependent */ -#define qbit_clear(a, b) ((a) & ~((ulongint)1 << (b))) -#define qbit_set(a, b) ((a) | ((ulongint)1 << (b))) -#endif - -#define TRUE_ (1) -#define FALSE_ (0) - -#ifndef Void -#define Void void -#endif - -/* Extern is for use with -E */ -#ifndef Extern -#define Extern extern -#endif - -/* I/O stuff */ - -#ifdef f2c_i2 -/* for -i2 */ -typedef short flag; -typedef short ftnlen; -typedef short ftnint; -#else -typedef long int flag; -typedef long int ftnlen; -typedef long int ftnint; -#endif - -/*external read, write*/ -typedef struct { - flag cierr; - ftnint ciunit; - flag ciend; - char *cifmt; - ftnint cirec; -} cilist; - -/*internal read, write*/ -typedef struct { - flag icierr; - char *iciunit; - flag iciend; - char *icifmt; - ftnint icirlen; - ftnint icirnum; -} icilist; - -/*open*/ -typedef struct { - flag oerr; - ftnint ounit; - char *ofnm; - ftnlen ofnmlen; - char *osta; - char *oacc; - char *ofm; - ftnint orl; - char *oblnk; -} olist; - -/*close*/ -typedef struct { - flag cerr; - ftnint cunit; - char *csta; -} cllist; - -/*rewind, backspace, endfile*/ -typedef struct { - flag aerr; - ftnint aunit; -} alist; - -/* inquire */ -typedef struct { - flag inerr; - ftnint inunit; - char *infile; - ftnlen infilen; - ftnint *inex; /*parameters in standard's order*/ - ftnint *inopen; - ftnint *innum; - ftnint *innamed; - char *inname; - ftnlen innamlen; - char *inacc; - ftnlen inacclen; - char *inseq; - ftnlen inseqlen; - char *indir; - ftnlen indirlen; - char *infmt; - ftnlen infmtlen; - char *inform; - ftnint informlen; - char *inunf; - ftnlen inunflen; - ftnint *inrecl; - ftnint *innrec; - char *inblank; - ftnlen inblanklen; -} inlist; - -#define VOID void - -union Multitype { /* for multiple entry points */ - integer1 g; - shortint h; - integer i; - /* longint j; */ - real r; - doublereal d; - complex c; - doublecomplex z; -}; - -typedef union Multitype Multitype; - -/*typedef long int Long;*/ /* No longer used; formerly in Namelist */ - -struct Vardesc { /* for Namelist */ - char *name; - char *addr; - ftnlen *dims; - int type; -}; -typedef struct Vardesc Vardesc; - -struct Namelist { - char *name; - Vardesc **vars; - int nvars; -}; -typedef struct Namelist Namelist; - -#define abs(x) ((x) >= 0 ? (x) : -(x)) -#define dabs(x) (doublereal) abs(x) -#define min(a, b) ((a) <= (b) ? (a) : (b)) -#define max(a, b) ((a) >= (b) ? (a) : (b)) -#define dmin(a, b) (doublereal) min(a, b) -#define dmax(a, b) (doublereal) max(a, b) -#define bit_test(a, b) ((a) >> (b)&1) -#define bit_clear(a, b) ((a) & ~((uinteger)1 << (b))) -#define bit_set(a, b) ((a) | ((uinteger)1 << (b))) - -/* procedure parameter types for -A and -C++ */ - -#define F2C_proc_par_types 1 -typedef int /* Unknown procedure type */ (*U_fp)(); -typedef shortint (*J_fp)(); -typedef integer (*I_fp)(); -typedef real (*R_fp)(); -typedef doublereal (*D_fp)(), (*E_fp)(); -typedef /* Complex */ VOID (*C_fp)(); -typedef /* Double Complex */ VOID (*Z_fp)(); -typedef logical (*L_fp)(); -typedef shortlogical (*K_fp)(); -typedef /* Character */ VOID (*H_fp)(); -typedef /* Subroutine */ int (*S_fp)(); -/* E_fp is for real functions when -R is not specified */ -typedef VOID C_f; /* complex function */ -typedef VOID H_f; /* character function */ -typedef VOID Z_f; /* double complex function */ -typedef doublereal E_f; /* real function with -R not specified */ - -COSMOPOLITAN_C_END_ -#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ -#endif /* COSMOPOLITAN_THIRD_PARTY_F2C_F2C_H_ */ diff --git a/third_party/f2c/f2c.mk b/third_party/f2c/f2c.mk deleted file mode 100644 index f754fcd9e42..00000000000 --- a/third_party/f2c/f2c.mk +++ /dev/null @@ -1,55 +0,0 @@ -#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#───vi: set et ft=make ts=8 tw=8 fenc=utf-8 :vi───────────────────────┘ - -PKGS += THIRD_PARTY_F2C - -THIRD_PARTY_F2C_ARTIFACTS += THIRD_PARTY_F2C_A -THIRD_PARTY_F2C = $(THIRD_PARTY_F2C_A_DEPS) $(THIRD_PARTY_F2C_A) -THIRD_PARTY_F2C_A = o/$(MODE)/third_party/f2c/f2c.a -THIRD_PARTY_F2C_A_FILES := $(wildcard third_party/f2c/*) -THIRD_PARTY_F2C_A_HDRS = $(filter %.h,$(THIRD_PARTY_F2C_A_FILES)) -THIRD_PARTY_F2C_A_SRCS_C = $(filter %.c,$(THIRD_PARTY_F2C_A_FILES)) - -THIRD_PARTY_F2C_A_SRCS = \ - $(THIRD_PARTY_F2C_A_SRCS_C) - -THIRD_PARTY_F2C_A_OBJS = \ - $(THIRD_PARTY_F2C_A_SRCS_C:%.c=o/$(MODE)/%.o) - -THIRD_PARTY_F2C_A_CHECKS = \ - $(THIRD_PARTY_F2C_A).pkg \ - $(THIRD_PARTY_F2C_A_HDRS:%=o/$(MODE)/%.ok) - -THIRD_PARTY_F2C_A_DIRECTDEPS = \ - LIBC_CALLS \ - LIBC_FMT \ - LIBC_INTRIN \ - LIBC_MEM \ - LIBC_NEXGEN32E \ - LIBC_RUNTIME \ - LIBC_STDIO \ - LIBC_STR \ - LIBC_STUBS \ - LIBC_UNICODE - -THIRD_PARTY_F2C_A_DEPS := \ - $(call uniq,$(foreach x,$(THIRD_PARTY_F2C_A_DIRECTDEPS),$($(x)))) - -$(THIRD_PARTY_F2C_A): \ - third_party/f2c/ \ - $(THIRD_PARTY_F2C_A).pkg \ - $(THIRD_PARTY_F2C_A_OBJS) - -$(THIRD_PARTY_F2C_A).pkg: \ - $(THIRD_PARTY_F2C_A_OBJS) \ - $(foreach x,$(THIRD_PARTY_F2C_A_DIRECTDEPS),$($(x)_A).pkg) - -THIRD_PARTY_F2C_LIBS = $(foreach x,$(THIRD_PARTY_F2C_ARTIFACTS),$($(x))) -THIRD_PARTY_F2C_SRCS = $(foreach x,$(THIRD_PARTY_F2C_ARTIFACTS),$($(x)_SRCS)) -# THIRD_PARTY_F2C_HDRS = $(foreach x,$(THIRD_PARTY_F2C_ARTIFACTS),$($(x)_HDRS)) -THIRD_PARTY_F2C_CHECKS = $(foreach x,$(THIRD_PARTY_F2C_ARTIFACTS),$($(x)_CHECKS)) -THIRD_PARTY_F2C_OBJS = $(foreach x,$(THIRD_PARTY_F2C_ARTIFACTS),$($(x)_OBJS)) -$(THIRD_PARTY_F2C_OBJS): third_party/f2c/f2c.mk - -.PHONY: o/$(MODE)/third_party/f2c -o/$(MODE)/third_party/f2c: $(THIRD_PARTY_F2C_CHECKS) diff --git a/third_party/f2c/fio.h b/third_party/f2c/fio.h deleted file mode 100644 index e69171395c4..00000000000 --- a/third_party/f2c/fio.h +++ /dev/null @@ -1,97 +0,0 @@ -#ifndef COSMOPOLITAN_THIRD_PARTY_F2C_LIB_FIO_H_ -#define COSMOPOLITAN_THIRD_PARTY_F2C_LIB_FIO_H_ -#include "libc/errno.h" -#include "libc/stdio/stdio.h" -#include "third_party/f2c/f2c.h" -#if !(__ASSEMBLER__ + __LINKER__ + 0) -COSMOPOLITAN_C_START_ - -#ifndef OFF_T -#define OFF_T long -#endif - -#ifdef UIOLEN_int -typedef int uiolen; -#else -typedef long uiolen; -#endif - -/*units*/ -typedef struct { - FILE *ufd; /*0=unconnected*/ - char *ufnm; - long uinode; - int udev; - int url; /*0=sequential*/ - flag useek; /*true=can backspace, use dir, ...*/ - flag ufmt; - flag urw; /* (1 for can read) | (2 for can write) */ - flag ublnk; - flag uend; - flag uwrt; /*last io was write*/ - flag uscrtch; -} unit; - -void x_putc(int); -long f__inode(char *, int *); -void sig_die(const char *, int); -void f__fatal(int, const char *); -int t_runc(alist *); -int f__nowreading(unit *); -int f__nowwriting(unit *); -int fk_open(int, int, ftnint); -int en_fio(void); -void f_init(void); -int t_putc(int); -int x_wSL(void); -void b_char(const char *, char *, ftnlen); -void g_char(const char *, ftnlen, char *); -int c_sfe(cilist *); -int z_rnew(void); -int err__fl(int, int, const char *); -int xrd_SL(void); -int f__putbuf(int); - -extern cilist *f__elist; /*active external io list*/ -extern flag f__reading, f__external, f__sequential, f__formatted; -extern flag f__init; -extern FILE *f__cf; /*current file*/ -extern unit *f__curunit; /*current unit*/ -extern unit f__units[]; -extern int (*f__doend)(void); -extern int (*f__getn)(void); /* for formatted input */ -extern void (*f__putn)(int); /* for formatted output */ -extern int (*f__donewrec)(void); - -#define err(f, m, s) \ - { \ - if (f) \ - errno = m; \ - else \ - f__fatal(m, s); \ - return (m); \ - } - -#define errfl(f, m, s) return err__fl((int)f, m, s) - -/*Table sizes*/ -#define MXUNIT 100 - -extern int f__recpos; /*position in current record*/ -extern OFF_T f__cursor; /* offset to move to */ -extern OFF_T f__hiwater; /* so TL doesn't confuse us */ - -#define WRITE 1 -#define READ 2 -#define SEQ 3 -#define DIR 4 -#define FMT 5 -#define UNF 6 -#define EXT 7 -#define INT 8 - -#define buf_end(x) (x->_flag & _IONBF ? x->_ptr : x->_base + BUFSIZ) - -COSMOPOLITAN_C_END_ -#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ -#endif /* COSMOPOLITAN_THIRD_PARTY_F2C_LIB_FIO_H_ */ diff --git a/third_party/f2c/fmt.c b/third_party/f2c/fmt.c deleted file mode 100644 index 93e4368f7d8..00000000000 --- a/third_party/f2c/fmt.c +++ /dev/null @@ -1,477 +0,0 @@ -#include "libc/calls/calls.h" -#include "libc/errno.h" -#include "third_party/f2c/f2c.h" -#include "third_party/f2c/fio.h" -#include "third_party/f2c/fmt.h" - -#define SYLMX 300 -#define GLITCH '\2' -#define Const const -#define STKSZ 10 - -#define skip(s) \ - while (*s == ' ') s++ - -/* special quote character for stu */ -static struct syl f__syl[SYLMX]; -int f__parenlvl, f__pc, f__revloc; -int f__cnt[STKSZ], f__ret[STKSZ], f__cp, f__rp; -flag f__workdone, f__nonl; - -static const char *ap_end(const char *s) { - char quote; - quote = *s++; - for (; *s; s++) { - if (*s != quote) continue; - if (*++s != quote) return (s); - } - if (f__elist->cierr) { - errno = 100; - return (NULL); - } - f__fatal(100, "bad string"); - /*NOTREACHED*/ return 0; -} - -static int op_gen(int a, int b, int c, int d) { - struct syl *p = &f__syl[f__pc]; - if (f__pc >= SYLMX) { - fprintf(stderr, "format too complicated:\n"); - sig_die(f__fmtbuf, 1); - } - p->op = a; - p->p1 = b; - p->p2.i[0] = c; - p->p2.i[1] = d; - return (f__pc++); -} - -static const char *f_list(const char *); -static const char *gt_num(const char *s, int *n, int n1) { - int m = 0, f__cnt = 0; - char c; - for (c = *s;; c = *s) { - if (c == ' ') { - s++; - continue; - } - if (c > '9' || c < '0') break; - m = 10 * m + c - '0'; - f__cnt++; - s++; - } - if (f__cnt == 0) { - if (!n1) s = 0; - *n = n1; - } else - *n = m; - return (s); -} - -static const char *f_s(const char *s, int curloc) { - skip(s); - if (*s++ != '(') { - return (NULL); - } - if (f__parenlvl++ == 1) f__revloc = curloc; - if (op_gen(RET1, curloc, 0, 0) < 0 || (s = f_list(s)) == NULL) { - return (NULL); - } - skip(s); - return (s); -} - -static int ne_d(const char *s, const char **p) { - int n, x, sign = 0; - struct syl *sp; - switch (*s) { - default: - return (0); - case ':': - (void)op_gen(COLON, 0, 0, 0); - break; - case '$': - (void)op_gen(NONL, 0, 0, 0); - break; - case 'B': - case 'b': - if (*++s == 'z' || *s == 'Z') - (void)op_gen(BZ, 0, 0, 0); - else - (void)op_gen(BN, 0, 0, 0); - break; - case 'S': - case 's': - if (*(s + 1) == 's' || *(s + 1) == 'S') { - x = SS; - s++; - } else if (*(s + 1) == 'p' || *(s + 1) == 'P') { - x = SP; - s++; - } else - x = S; - (void)op_gen(x, 0, 0, 0); - break; - case '/': - (void)op_gen(SLASH, 0, 0, 0); - break; - case '-': - sign = 1; - case '+': - s++; /*OUTRAGEOUS CODING TRICK*/ - case '0': - case '1': - case '2': - case '3': - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': - if (!(s = gt_num(s, &n, 0))) { - bad: - *p = 0; - return 1; - } - switch (*s) { - default: - return (0); - case 'P': - case 'p': - if (sign) n = -n; - (void)op_gen(P, n, 0, 0); - break; - case 'X': - case 'x': - (void)op_gen(X, n, 0, 0); - break; - case 'H': - case 'h': - sp = &f__syl[op_gen(H, n, 0, 0)]; - sp->p2.s = (char *)s + 1; - s += n; - break; - } - break; - case GLITCH: - case '"': - case '\'': - sp = &f__syl[op_gen(APOS, 0, 0, 0)]; - sp->p2.s = (char *)s; - if ((*p = ap_end(s)) == NULL) return (0); - return (1); - case 'T': - case 't': - if (*(s + 1) == 'l' || *(s + 1) == 'L') { - x = TL; - s++; - } else if (*(s + 1) == 'r' || *(s + 1) == 'R') { - x = TR; - s++; - } else - x = T; - if (!(s = gt_num(s + 1, &n, 0))) goto bad; - s--; - (void)op_gen(x, n, 0, 0); - break; - case 'X': - case 'x': - (void)op_gen(X, 1, 0, 0); - break; - case 'P': - case 'p': - (void)op_gen(P, 1, 0, 0); - break; - } - s++; - *p = s; - return (1); -} - -static int e_d(const char *s, const char **p) { - int i, im, n, w, d, e, found = 0, x = 0; - Const char *sv = s; - s = gt_num(s, &n, 1); - (void)op_gen(STACK, n, 0, 0); - switch (*s++) { - default: - break; - case 'E': - case 'e': - x = 1; - case 'G': - case 'g': - found = 1; - if (!(s = gt_num(s, &w, 0))) { - bad: - *p = 0; - return 1; - } - if (w == 0) break; - if (*s == '.') { - if (!(s = gt_num(s + 1, &d, 0))) goto bad; - } else - d = 0; - if (*s != 'E' && *s != 'e') - (void)op_gen(x == 1 ? E : G, w, d, 0); /* default is Ew.dE2 */ - else { - if (!(s = gt_num(s + 1, &e, 0))) goto bad; - (void)op_gen(x == 1 ? EE : GE, w, d, e); - } - break; - case 'O': - case 'o': - i = O; - im = OM; - goto finish_I; - case 'Z': - case 'z': - i = Z; - im = ZM; - goto finish_I; - case 'L': - case 'l': - found = 1; - if (!(s = gt_num(s, &w, 0))) goto bad; - if (w == 0) break; - (void)op_gen(L, w, 0, 0); - break; - case 'A': - case 'a': - found = 1; - skip(s); - if (*s >= '0' && *s <= '9') { - s = gt_num(s, &w, 1); - if (w == 0) break; - (void)op_gen(AW, w, 0, 0); - break; - } - (void)op_gen(A, 0, 0, 0); - break; - case 'F': - case 'f': - if (!(s = gt_num(s, &w, 0))) goto bad; - found = 1; - if (w == 0) break; - if (*s == '.') { - if (!(s = gt_num(s + 1, &d, 0))) goto bad; - } else - d = 0; - (void)op_gen(F, w, d, 0); - break; - case 'D': - case 'd': - found = 1; - if (!(s = gt_num(s, &w, 0))) goto bad; - if (w == 0) break; - if (*s == '.') { - if (!(s = gt_num(s + 1, &d, 0))) goto bad; - } else - d = 0; - (void)op_gen(D, w, d, 0); - break; - case 'I': - case 'i': - i = I; - im = IM; - finish_I: - if (!(s = gt_num(s, &w, 0))) goto bad; - found = 1; - if (w == 0) break; - if (*s != '.') { - (void)op_gen(i, w, 0, 0); - break; - } - if (!(s = gt_num(s + 1, &d, 0))) goto bad; - (void)op_gen(im, w, d, 0); - break; - } - if (found == 0) { - f__pc--; /*unSTACK*/ - *p = sv; - return (0); - } - *p = s; - return (1); -} - -static const char *i_tem(const char *s) { - const char *t; - int n, curloc; - if (*s == ')') return (s); - if (ne_d(s, &t)) return (t); - if (e_d(s, &t)) return (t); - s = gt_num(s, &n, 1); - if ((curloc = op_gen(STACK, n, 0, 0)) < 0) return (NULL); - return (f_s(s, curloc)); -} - -static const char *f_list(const char *s) { - for (; *s != 0;) { - skip(s); - if ((s = i_tem(s)) == NULL) return (NULL); - skip(s); - if (*s == ',') - s++; - else if (*s == ')') { - if (--f__parenlvl == 0) { - (void)op_gen(REVERT, f__revloc, 0, 0); - return (++s); - } - (void)op_gen(GOTO, 0, 0, 0); - return (++s); - } - } - return (NULL); -} - -int pars_f(const char *s) { - f__parenlvl = f__revloc = f__pc = 0; - if (f_s(s, 0) == NULL) { - return (-1); - } - return (0); -} - -static int type_f(int n) { - switch (n) { - default: - return (n); - case RET1: - return (RET1); - case REVERT: - return (REVERT); - case GOTO: - return (GOTO); - case STACK: - return (STACK); - case X: - case SLASH: - case APOS: - case H: - case T: - case TL: - case TR: - return (NED); - case F: - case I: - case IM: - case A: - case AW: - case O: - case OM: - case L: - case E: - case EE: - case D: - case G: - case GE: - case Z: - case ZM: - return (ED); - } -} -#ifdef KR_headers -integer do_fio(number, ptr, len) ftnint *number; -ftnlen len; -char *ptr; -#else -integer do_fio(ftnint *number, char *ptr, ftnlen len) -#endif -{ - struct syl *p; - int n, i; - for (i = 0; i < *number; i++, ptr += len) { - loop: - switch (type_f((p = &f__syl[f__pc])->op)) { - default: - fprintf(stderr, "unknown code in do_fio: %d\n%s\n", p->op, f__fmtbuf); - err(f__elist->cierr, 100, "do_fio"); - case NED: - if ((*f__doned)(p)) { - f__pc++; - goto loop; - } - f__pc++; - continue; - case ED: - if (f__cnt[f__cp] <= 0) { - f__cp--; - f__pc++; - goto loop; - } - if (ptr == NULL) return ((*f__doend)()); - f__cnt[f__cp]--; - f__workdone = 1; - if ((n = (*f__doed)(p, ptr, len)) > 0) - errfl(f__elist->cierr, errno, "fmt"); - if (n < 0) err(f__elist->ciend, (EOF), "fmt"); - continue; - case STACK: - f__cnt[++f__cp] = p->p1; - f__pc++; - goto loop; - case RET1: - f__ret[++f__rp] = p->p1; - f__pc++; - goto loop; - case GOTO: - if (--f__cnt[f__cp] <= 0) { - f__cp--; - f__rp--; - f__pc++; - goto loop; - } - f__pc = 1 + f__ret[f__rp--]; - goto loop; - case REVERT: - f__rp = f__cp = 0; - f__pc = p->p1; - if (ptr == NULL) return ((*f__doend)()); - if (!f__workdone) return (0); - if ((n = (*f__dorevert)()) != 0) return (n); - goto loop; - case COLON: - if (ptr == NULL) return ((*f__doend)()); - f__pc++; - goto loop; - case NONL: - f__nonl = 1; - f__pc++; - goto loop; - case S: - case SS: - f__cplus = 0; - f__pc++; - goto loop; - case SP: - f__cplus = 1; - f__pc++; - goto loop; - case P: - f__scale = p->p1; - f__pc++; - goto loop; - case BN: - f__cblank = 0; - f__pc++; - goto loop; - case BZ: - f__cblank = 1; - f__pc++; - goto loop; - } - } - return (0); -} - -int en_fio(Void) { - ftnint one = 1; - return (do_fio(&one, (char *)NULL, (ftnint)0)); -} - -VOID fmt_bg(Void) { - f__workdone = f__cp = f__rp = f__pc = f__cursor = 0; - f__cnt[0] = f__ret[0] = 0; -} diff --git a/third_party/f2c/fmt.h b/third_party/f2c/fmt.h deleted file mode 100644 index b54ea09d034..00000000000 --- a/third_party/f2c/fmt.h +++ /dev/null @@ -1,103 +0,0 @@ -#ifndef COSMOPOLITAN_THIRD_PARTY_F2C_FMT_H_ -#define COSMOPOLITAN_THIRD_PARTY_F2C_FMT_H_ -#include "third_party/f2c/f2c.h" -#include "third_party/f2c/fio.h" -#if !(__ASSEMBLER__ + __LINKER__ + 0) -COSMOPOLITAN_C_START_ - -#define RET1 1 -#define REVERT 2 -#define GOTO 3 -#define X 4 -#define SLASH 5 -#define STACK 6 -#define I 7 -#define ED 8 -#define NED 9 -#define IM 10 -#define APOS 11 -#define H 12 -#define TL 13 -#define TR 14 -#define T 15 -#define COLON 16 -#define S 17 -#define SP 18 -#define SS 19 -#define P 20 -#define BN 21 -#define BZ 22 -#define F 23 -#define E 24 -#define EE 25 -#define D 26 -#define G 27 -#define GE 28 -#define L 29 -#define A 30 -#define AW 31 -#define O 32 -#define NONL 33 -#define OM 34 -#define Z 35 -#define ZM 36 - -struct syl { - int op; - int p1; - union { - int i[2]; - char *s; - } p2; -}; - -typedef union { - real pf; - doublereal pd; -} ufloat; - -typedef union { - short is; - signed char ic; - integer il; -#ifdef Allow_TYQUAD - longint ili; -#endif -} Uint; - -void fmt_bg(void); -int pars_f(const char *); -int rd_ed(struct syl *, char *, ftnlen); -int rd_ned(struct syl *); -int signbit_f2c(double *); -int w_ed(struct syl *, char *, ftnlen); -int w_ned(struct syl *); -int wrt_E(ufloat *, int, int, int, ftnlen); -int wrt_F(ufloat *, int, int, ftnlen); -int wrt_L(Uint *, int, ftnlen); - -extern const char *f__fmtbuf; -extern int (*f__doed)(struct syl *, char *, ftnlen), (*f__doned)(struct syl *); -extern int (*f__dorevert)(void); -extern int f__pc, f__parenlvl, f__revloc; -extern flag f__cblank, f__cplus, f__workdone, f__nonl; -extern int f__scale; - -#define GET(x) \ - if ((x = (*f__getn)()) < 0) return (x) -#define VAL(x) (x != '\n' ? x : ' ') -#define PUT(x) (*f__putn)(x) - -#undef TYQUAD -#ifndef Allow_TYQUAD -#undef longint -#define longint long -#else -#define TYQUAD 14 -#endif - -char *f__icvt(longint, int *, int *, int); - -COSMOPOLITAN_C_END_ -#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ -#endif /* COSMOPOLITAN_THIRD_PARTY_F2C_FMT_H_ */ diff --git a/third_party/f2c/fmtlib.c b/third_party/f2c/fmtlib.c deleted file mode 100644 index 1ec62cdb3f4..00000000000 --- a/third_party/f2c/fmtlib.c +++ /dev/null @@ -1,33 +0,0 @@ -#define MAXINTLENGTH 23 - -#ifndef Allow_TYQUAD -#undef longint -#define longint long -#undef ulongint -#define ulongint unsigned long -#endif - -char *f__icvt(longint value, int *ndigit, int *sign, int base) { - static char buf[MAXINTLENGTH + 1]; - register int i; - ulongint uvalue; - if (value > 0) { - uvalue = value; - *sign = 0; - } else if (value < 0) { - uvalue = -value; - *sign = 1; - } else { - *sign = 0; - *ndigit = 1; - buf[MAXINTLENGTH - 1] = '0'; - return &buf[MAXINTLENGTH - 1]; - } - i = MAXINTLENGTH; - do { - buf[--i] = (uvalue % base) + '0'; - uvalue /= base; - } while (uvalue > 0); - *ndigit = MAXINTLENGTH - i; - return &buf[i]; -} diff --git a/third_party/f2c/fp.h b/third_party/f2c/fp.h deleted file mode 100644 index c646b3f265c..00000000000 --- a/third_party/f2c/fp.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef COSMOPOLITAN_THIRD_PARTY_F2C_FP_H_ -#define COSMOPOLITAN_THIRD_PARTY_F2C_FP_H_ -#if !(__ASSEMBLER__ + __LINKER__ + 0) -COSMOPOLITAN_C_START_ - -#include "libc/math.h" - -#define FMAX 40 -#define EXPMAXDIGS 8 -#define EXPMAX 99999999 -/* FMAX = max number of nonzero digits passed to atof() */ -/* EXPMAX = 10^EXPMAXDIGS - 1 = largest allowed exponent absolute value */ - -/* MAXFRACDIGS and MAXINTDIGS are for wrt_F -- bounds (not necessarily - tight) on the maximum number of digits to the right and left of - * the decimal point. - */ - -/* values that suffice for IEEE double */ -#define MAXFRACDIGS 344 -#define MAXINTDIGS DBL_MAX_10_EXP - -COSMOPOLITAN_C_END_ -#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ -#endif /* COSMOPOLITAN_THIRD_PARTY_F2C_FP_H_ */ diff --git a/third_party/f2c/i_len.c b/third_party/f2c/i_len.c deleted file mode 100644 index 8d65519a65f..00000000000 --- a/third_party/f2c/i_len.c +++ /dev/null @@ -1,23 +0,0 @@ -/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ -│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ -╞══════════════════════════════════════════════════════════════════════════════╡ -│ Copyright 2020 Justine Alexandra Roberts Tunney │ -│ │ -│ Permission to use, copy, modify, and/or distribute this software for │ -│ any purpose with or without fee is hereby granted, provided that the │ -│ above copyright notice and this permission notice appear in all copies. │ -│ │ -│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ -│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ -│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ -│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ -│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ -│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ -│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ -│ PERFORMANCE OF THIS SOFTWARE. │ -╚─────────────────────────────────────────────────────────────────────────────*/ -#include "third_party/f2c/f2c.h" - -integer i_len(char *s, ftnlen n) { - return n; -} diff --git a/third_party/f2c/internal.h b/third_party/f2c/internal.h deleted file mode 100644 index 78049427fa1..00000000000 --- a/third_party/f2c/internal.h +++ /dev/null @@ -1,10 +0,0 @@ -#ifndef COSMOPOLITAN_THIRD_PARTY_F2C_INTERNAL_H_ -#define COSMOPOLITAN_THIRD_PARTY_F2C_INTERNAL_H_ -#if !(__ASSEMBLER__ + __LINKER__ + 0) -COSMOPOLITAN_C_START_ - -void f_exit(void); - -COSMOPOLITAN_C_END_ -#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ -#endif /* COSMOPOLITAN_THIRD_PARTY_F2C_INTERNAL_H_ */ diff --git a/third_party/f2c/open.c b/third_party/f2c/open.c deleted file mode 100644 index 28bfa39581f..00000000000 --- a/third_party/f2c/open.c +++ /dev/null @@ -1,284 +0,0 @@ -#include "libc/calls/calls.h" -#include "libc/fmt/fmt.h" -#include "libc/mem/mem.h" -#include "libc/stdio/stdio.h" -#include "libc/stdio/temp.h" -#include "libc/str/str.h" -#include "third_party/f2c/f2c.h" -#include "third_party/f2c/fio.h" - -#ifdef KR_headers -extern char *malloc(); -#ifdef NON_ANSI_STDIO -extern char *mktemp(); -#endif -extern integer f_clos(); -#define Const /*nothing*/ -#else -#define Const const -#undef abs -#undef min -#undef max -#ifdef __cplusplus -extern "C" { -#endif -extern int f__canseek(FILE *); -extern integer f_clos(cllist *); -#endif - -#ifdef NON_ANSI_RW_MODES -Const char *f__r_mode[2] = {"r", "r"}; -Const char *f__w_mode[4] = {"w", "w", "r+w", "r+w"}; -#else -Const char *f__r_mode[2] = {"rb", "r"}; -Const char *f__w_mode[4] = {"wb", "w", "r+b", "r+"}; -#endif - -static char f__buf0[400], *f__buf = f__buf0; -int f__buflen = (int)sizeof(f__buf0); - -static void -#ifdef KR_headers - f__bufadj(n, c) int n, - c; -#else -f__bufadj(int n, int c) -#endif -{ - unsigned int len; - char *nbuf, *s, *t, *te; - - if (f__buf == f__buf0) f__buflen = 1024; - while (f__buflen <= n) f__buflen <<= 1; - len = (unsigned int)f__buflen; - if (len != f__buflen || !(nbuf = (char *)malloc(len))) - f__fatal(113, "malloc failure"); - s = nbuf; - t = f__buf; - te = t + c; - while (t < te) *s++ = *t++; - if (f__buf != f__buf0) free(f__buf); - f__buf = nbuf; -} - -int -#ifdef KR_headers - f__putbuf(c) int c; -#else -f__putbuf(int c) -#endif -{ - char *s, *se; - int n; - - if (f__hiwater > f__recpos) f__recpos = f__hiwater; - n = f__recpos + 1; - if (n >= f__buflen) f__bufadj(n, f__recpos); - s = f__buf; - se = s + f__recpos; - if (c) *se++ = c; - *se = 0; - for (;;) { - fputs(s, f__cf); - s += strlen(s); - if (s >= se) break; /* normally happens the first time */ - putc(*s++, f__cf); - } - return 0; -} - -void -#ifdef KR_headers -x_putc(c) -#else -x_putc(int c) -#endif -{ - if (f__recpos >= f__buflen) f__bufadj(f__recpos, f__buflen); - f__buf[f__recpos++] = c; -} - -#define opnerr(f, m, s) \ - { \ - if (f) \ - errno = m; \ - else \ - opn_err(m, s, a); \ - return (m); \ - } - -static void -#ifdef KR_headers - opn_err(m, s, a) int m; -char *s; -olist *a; -#else -opn_err(int m, const char *s, olist *a) -#endif -{ - if (a->ofnm) { - /* supply file name to error message */ - if (a->ofnmlen >= f__buflen) f__bufadj((int)a->ofnmlen, 0); - g_char(a->ofnm, a->ofnmlen, f__curunit->ufnm = f__buf); - } - f__fatal(m, s); -} - -#ifdef KR_headers -integer f_open(a) olist *a; -#else -integer f_open(olist *a) -#endif -{ - unit *b; - integer rv; - char buf[256], *s; - cllist x; - int ufmt; - FILE *tf; -#ifndef NON_UNIX_STDIO - int n; -#endif - f__external = 1; - if (a->ounit >= MXUNIT || a->ounit < 0) - err(a->oerr, 101, "open") if (!f__init) f_init(); - f__curunit = b = &f__units[a->ounit]; - if (b->ufd) { - if (a->ofnm == 0) { - same: - if (a->oblnk) b->ublnk = *a->oblnk == 'z' || *a->oblnk == 'Z'; - return (0); - } -#ifdef NON_UNIX_STDIO - if (b->ufnm && strlen(b->ufnm) == a->ofnmlen && - !strncmp(b->ufnm, a->ofnm, (unsigned)a->ofnmlen)) - goto same; -#else - g_char(a->ofnm, a->ofnmlen, buf); - if (f__inode(buf, &n) == b->uinode && n == b->udev) goto same; -#endif - x.cunit = a->ounit; - x.csta = 0; - x.cerr = a->oerr; - if ((rv = f_clos(&x)) != 0) return rv; - } - b->url = (int)a->orl; - b->ublnk = a->oblnk && (*a->oblnk == 'z' || *a->oblnk == 'Z'); - if (a->ofm == 0) { - if (b->url > 0) - b->ufmt = 0; - else - b->ufmt = 1; - } else if (*a->ofm == 'f' || *a->ofm == 'F') - b->ufmt = 1; - else - b->ufmt = 0; - ufmt = b->ufmt; -#ifdef url_Adjust - if (b->url && !ufmt) url_Adjust(b->url); -#endif - if (a->ofnm) { - g_char(a->ofnm, a->ofnmlen, buf); - if (!buf[0]) opnerr(a->oerr, 107, "open") - } else - sprintf(buf, "fort.%ld", (long)a->ounit); - b->uscrtch = 0; - b->uend = 0; - b->uwrt = 0; - b->ufd = 0; - b->urw = 3; - switch (a->osta ? *a->osta : 'u') { - case 'o': - case 'O': -#ifdef NON_POSIX_STDIO - if (!(tf = FOPEN(buf, "r"))) opnerr(a->oerr, errno, "open") fclose(tf); -#else - if (access(buf, 0)) - opnerr(a->oerr, errno, "open") -#endif - break; - case 's': - case 'S': - b->uscrtch = 1; -#ifdef NON_ANSI_STDIO - (void)strcpy(buf, "tmp.FXXXXXX"); - (void)mktemp(buf); - goto replace; -#else - if (!(b->ufd = tmpfile())) opnerr(a->oerr, errno, "open") b->ufnm = 0; -#ifndef NON_UNIX_STDIO - b->uinode = b->udev = -1; -#endif - b->useek = 1; - return 0; -#endif - - case 'n': - case 'N': -#ifdef NON_POSIX_STDIO - if ((tf = FOPEN(buf, "r")) || (tf = FOPEN(buf, "a"))) { - fclose(tf); - opnerr(a->oerr, 128, "open") - } -#else - if (!access(buf, 0)) - opnerr(a->oerr, 128, "open") -#endif - /* no break */ - case 'r': /* Fortran 90 replace option */ - case 'R': -#ifdef NON_ANSI_STDIO - replace: -#endif - if (tf = fopen(buf, f__w_mode[0])) fclose(tf); - } - - b->ufnm = (char *)malloc((unsigned int)(strlen(buf) + 1)); - if (b->ufnm == NULL) opnerr(a->oerr, 113, "no space"); - (void)strcpy(b->ufnm, buf); - if ((s = a->oacc) && b->url) ufmt = 0; - if (!(tf = fopen(buf, f__w_mode[ufmt | 2]))) { - if (tf = fopen(buf, f__r_mode[ufmt])) - b->urw = 1; - else if (tf = fopen(buf, f__w_mode[ufmt])) { - b->uwrt = 1; - b->urw = 2; - } else - err(a->oerr, errno, "open"); - } - b->useek = f__canseek(b->ufd = tf); -#ifndef NON_UNIX_STDIO - if ((b->uinode = f__inode(buf, &b->udev)) == -1) - opnerr(a->oerr, 108, "open") -#endif - if (b->useek) if (a->orl) rewind(b->ufd); - else if ((s = a->oacc) && (*s == 'a' || *s == 'A') && - fseek(b->ufd, 0L, SEEK_END)) - opnerr(a->oerr, 129, "open"); - return (0); -} - -int -#ifdef KR_headers - fk_open(seq, fmt, n) ftnint n; -#else -fk_open(int seq, int fmt, ftnint n) -#endif -{ - char nbuf[10]; - olist a; - (void)sprintf(nbuf, "fort.%ld", (long)n); - a.oerr = 1; - a.ounit = n; - a.ofnm = nbuf; - a.ofnmlen = strlen(nbuf); - a.osta = NULL; - a.oacc = (char *)(seq == SEQ ? "s" : "d"); - a.ofm = (char *)(fmt == FMT ? "f" : "u"); - a.orl = seq == DIR ? 1 : 0; - a.oblnk = NULL; - return (f_open(&a)); -} -#ifdef __cplusplus -} -#endif diff --git a/third_party/f2c/s_stop.c b/third_party/f2c/s_stop.c deleted file mode 100644 index 3277bc4106f..00000000000 --- a/third_party/f2c/s_stop.c +++ /dev/null @@ -1,21 +0,0 @@ -#include "libc/runtime/runtime.h" -#include "libc/stdio/stdio.h" -#include "third_party/f2c/f2c.h" -#include "third_party/f2c/internal.h" - -int s_stop(char *s, ftnlen n) { - int i; - if (n > 0) { - fprintf(stderr, "STOP "); - for (i = 0; i < n; ++i) putc(*s++, stderr); - fprintf(stderr, " statement executed\n"); - } -#ifdef NO_ONEXIT - f_exit(); -#endif - exit(0); - /* We cannot avoid (useless) compiler diagnostics here: */ - /* some compilers complain if there is no return statement, */ - /* and others complain that this one cannot be reached. */ - return 0; /* NOT REACHED */ -} diff --git a/third_party/f2c/sfe.c b/third_party/f2c/sfe.c deleted file mode 100644 index e81b76862fe..00000000000 --- a/third_party/f2c/sfe.c +++ /dev/null @@ -1,29 +0,0 @@ -/* sequential formatted external common routines*/ -#include "third_party/f2c/fio.h" -#include "third_party/f2c/fmt.h" - -integer e_rsfe(Void) { - int n; - n = en_fio(); - f__fmtbuf = NULL; - return (n); -} - -int c_sfe(cilist *a) /* check */ -{ - unit *p; - f__curunit = p = &f__units[a->ciunit]; - if (a->ciunit >= MXUNIT || a->ciunit < 0) err(a->cierr, 101, "startio"); - if (p->ufd == NULL && fk_open(SEQ, FMT, a->ciunit)) - err(a->cierr, 114, "sfe") if (!p->ufmt) - err(a->cierr, 102, "sfe") return (0); -} - -integer e_wsfe(Void) { - int n = en_fio(); - f__fmtbuf = NULL; -#ifdef ALWAYS_FLUSH - if (!n && fflush(f__cf)) err(f__elist->cierr, errno, "write end"); -#endif - return n; -} diff --git a/third_party/f2c/sig_die.c b/third_party/f2c/sig_die.c deleted file mode 100644 index b9491407ada..00000000000 --- a/third_party/f2c/sig_die.c +++ /dev/null @@ -1,21 +0,0 @@ -#include "libc/calls/calls.h" -#include "libc/runtime/runtime.h" -#include "libc/stdio/stdio.h" -#include "libc/sysv/consts/sig.h" -#include "third_party/f2c/internal.h" - -void sig_die(const char *s, int kill) { - /* print error message, then clear buffers */ - fprintf(stderr, "%s\n", s); - if (kill) { - fflush(stderr); - f_exit(); - fflush(stderr); - /* now get a core */ - signal(SIGIOT, SIG_DFL); - abort(); - } else { - f_exit(); - exit(1); - } -} diff --git a/third_party/f2c/trmlen.c b/third_party/f2c/trmlen.c deleted file mode 100644 index 9aeb7c5ab8b..00000000000 --- a/third_party/f2c/trmlen.c +++ /dev/null @@ -1,36 +0,0 @@ -/* trmlen.f -- translated by f2c (version 20191129). - You must link the resulting object file with libf2c: - on Microsoft Windows system, link with libf2c.lib; - on Linux or Unix systems, link with .../path/to/libf2c.a -lm - or, if you install libf2c.a in a standard place, with -lf2c -lm - -- in that order, at the end of the command line, as in - cc *.o -lf2c -lm - Source for libf2c is in /netlib/f2c/libf2c.zip, e.g., - - http://www.netlib.org/f2c/libf2c.zip -*/ - -#include "third_party/f2c/f2c.h" - -extern void _uninit_f2c(void *, int, long); -extern double _0; - -/* Length of character string, excluding trailing blanks */ -/* Same thing as LEN_TRIM() */ -integer trmlen_(char *t, ftnlen t_len) { - /* System generated locals */ - integer ret_val; - - /* Builtin functions */ - integer i_len(char *, ftnlen); - - /* Parameter: */ - for (ret_val = i_len(t, t_len); ret_val >= 1; --ret_val) { - /* L1: */ - if (*(unsigned char *)&t[ret_val - 1] != ' ') { - return ret_val; - } - } - ret_val = 1; - return ret_val; -} /* trmlen_ */ diff --git a/third_party/f2c/trmlen.f b/third_party/f2c/trmlen.f deleted file mode 100644 index b3995e28aa0..00000000000 --- a/third_party/f2c/trmlen.f +++ /dev/null @@ -1,14 +0,0 @@ -c Length of character string, excluding trailing blanks -c Same thing as LEN_TRIM() - - integer function trmlen(t) - - implicit none - -c Parameter: - character t*(*) - - do 1 trmlen=LEN(t),1,-1 - 1 if(t(trmlen:trmlen).ne.' ')RETURN - trmlen=1 - end ! of integer function trmlen diff --git a/third_party/f2c/util.c b/third_party/f2c/util.c deleted file mode 100644 index 5fd22f2eac5..00000000000 --- a/third_party/f2c/util.c +++ /dev/null @@ -1,58 +0,0 @@ -#include "libc/calls/calls.h" -#include "libc/calls/struct/stat.h" -#include "third_party/f2c/f2c.h" - -VOID -#ifdef KR_headers -#define Const /*nothing*/ - g_char(a, alen, b) char *a, - *b; -ftnlen alen; -#else -#define Const const -g_char(const char *a, ftnlen alen, char *b) -#endif -{ - Const char *x = a + alen; - char *y = b + alen; - - for (;; y--) { - if (x <= a) { - *b = 0; - return; - } - if (*--x != ' ') break; - } - *y-- = 0; - do - *y-- = *x; - while (x-- > a); -} - -VOID -#ifdef KR_headers - b_char(a, b, blen) char *a, - *b; -ftnlen blen; -#else -b_char(const char *a, char *b, ftnlen blen) -#endif -{ - int i; - for (i = 0; i < blen && *a != 0; i++) *b++ = *a++; - for (; i < blen; i++) *b++ = ' '; -} -#ifndef NON_UNIX_STDIO -#ifdef KR_headers -long f__inode(a, dev) char *a; -int *dev; -#else -long f__inode(char *a, int *dev) -#endif -{ - struct stat x; - if (stat(a, &x) < 0) return (-1); - *dev = x.st_dev; - return (x.st_ino); -} -#endif diff --git a/third_party/f2c/wref.c b/third_party/f2c/wref.c deleted file mode 100644 index 4feafe2ecb8..00000000000 --- a/third_party/f2c/wref.c +++ /dev/null @@ -1,246 +0,0 @@ -#include "libc/fmt/conv.h" -#include "libc/fmt/fmt.h" -#include "libc/str/str.h" -#include "third_party/f2c/fmt.h" -#include "third_party/f2c/fp.h" - -int wrt_E(ufloat *p, int w, int d, int e, ftnlen len) { - char buf[FMAX + EXPMAXDIGS + 4], *s, *se; - int d1, delta, e1, i, sign, signspace; - double dd; -#ifdef WANT_LEAD_0 - int insert0 = 0; -#endif -#ifndef VAX - int e0 = e; -#endif - - if (e <= 0) e = 2; - if (f__scale) { - if (f__scale >= d + 2 || f__scale <= -d) goto nogood; - } - if (f__scale <= 0) --d; - if (len == sizeof(real)) - dd = p->pf; - else - dd = p->pd; - if (dd < 0.) { - signspace = sign = 1; - dd = -dd; - } else { - sign = 0; - signspace = (int)f__cplus; -#ifndef VAX - if (!dd) { -#ifdef SIGNED_ZEROS - if (signbit_f2c(&dd)) signspace = sign = 1; -#endif - dd = 0.; /* avoid -0 */ - } -#endif - } - delta = w - (2 /* for the . and the d adjustment above */ - + 2 /* for the E+ */ + signspace + d + e); -#ifdef WANT_LEAD_0 - if (f__scale <= 0 && delta > 0) { - delta--; - insert0 = 1; - } else -#endif - if (delta < 0) { - nogood: - while (--w >= 0) PUT('*'); - return (0); - } - if (f__scale < 0) d += f__scale; - if (d > FMAX) { - d1 = d - FMAX; - d = FMAX; - } else - d1 = 0; - sprintf(buf, "%#.*E", d, dd); -#ifndef VAX - /* check for NaN, Infinity */ - if (!isdigit(buf[0])) { - switch (buf[0]) { - case 'n': - case 'N': - signspace = 0; /* no sign for NaNs */ - } - delta = w - strlen(buf) - signspace; - if (delta < 0) goto nogood; - while (--delta >= 0) PUT(' '); - if (signspace) PUT(sign ? '-' : '+'); - for (s = buf; *s; s++) PUT(*s); - return 0; - } -#endif - se = buf + d + 3; -#ifdef GOOD_SPRINTF_EXPONENT /* When possible, exponent has 2 digits. */ - if (f__scale != 1 && dd) sprintf(se, "%+.2d", atoi(se) + 1 - f__scale); -#else - if (dd) - sprintf(se, "%+.2d", atoi(se) + 1 - f__scale); - else - strcpy(se, "+00"); -#endif - s = ++se; - if (e < 2) { - if (*s != '0') goto nogood; - } -#ifndef VAX - /* accommodate 3 significant digits in exponent */ - if (s[2]) { -#ifdef Pedantic - if (!e0 && !s[3]) - for (s -= 2, e1 = 2; s[0] = s[1]; s++) - ; - - /* Pedantic gives the behavior that Fortran 77 specifies, */ - /* i.e., requires that E be specified for exponent fields */ - /* of more than 3 digits. With Pedantic undefined, we get */ - /* the behavior that Cray displays -- you get a bigger */ - /* exponent field if it fits. */ -#else - if (!e0) { - for (s -= 2, e1 = 2; s[0] = s[1]; s++) -#ifdef CRAY - delta--; - if ((delta += 4) < 0) - goto nogood -#endif - ; - } -#endif - else if (e0 >= 0) - goto shift; - else - e1 = e; - } else - shift: -#endif - for (s += 2, e1 = 2; *s; ++e1, ++s) - if (e1 >= e) goto nogood; - while (--delta >= 0) PUT(' '); - if (signspace) PUT(sign ? '-' : '+'); - s = buf; - i = f__scale; - if (f__scale <= 0) { -#ifdef WANT_LEAD_0 - if (insert0) PUT('0'); -#endif - PUT('.'); - for (; i < 0; ++i) PUT('0'); - PUT(*s); - s += 2; - } else if (f__scale > 1) { - PUT(*s); - s += 2; - while (--i > 0) PUT(*s++); - PUT('.'); - } - if (d1) { - se -= 2; - while (s < se) PUT(*s++); - se += 2; - do - PUT('0'); - while (--d1 > 0); - } - while (s < se) PUT(*s++); - if (e < 2) - PUT(s[1]); - else { - while (++e1 <= e) PUT('0'); - while (*s) PUT(*s++); - } - return 0; -} - -int wrt_F(ufloat *p, int w, int d, ftnlen len) { - int d1, sign, n; - double x; - char *b, buf[MAXINTDIGS + MAXFRACDIGS + 4], *s; - - x = (len == sizeof(real) ? p->pf : p->pd); - if (d < MAXFRACDIGS) - d1 = 0; - else { - d1 = d - MAXFRACDIGS; - d = MAXFRACDIGS; - } - if (x < 0.) { - x = -x; - sign = 1; - } else { - sign = 0; -#ifndef VAX - if (!x) { -#ifdef SIGNED_ZEROS - if (signbit_f2c(&x)) sign = 2; -#endif - x = 0.; - } -#endif - } - - if (n = f__scale) - if (n > 0) do - x *= 10.; - while (--n > 0); - else - do - x *= 0.1; - while (++n < 0); - -#ifdef USE_STRLEN - sprintf(b = buf, "%#.*f", d, x); - n = strlen(b) + d1; -#else - n = sprintf(b = buf, "%#.*f", d, x) + d1; -#endif - -#ifndef WANT_LEAD_0 - if (buf[0] == '0' && d) { - ++b; - --n; - } -#endif - if (sign == 1) { - /* check for all zeros */ - for (s = b;;) { - while (*s == '0') s++; - switch (*s) { - case '.': - s++; - continue; - case 0: - sign = 0; - } - break; - } - } - if (sign || f__cplus) ++n; - if (n > w) { -#ifdef WANT_LEAD_0 - if (buf[0] == '0' && --n == w) - ++b; - else -#endif - { - while (--w >= 0) PUT('*'); - return 0; - } - } - for (w -= n; --w >= 0;) PUT(' '); - if (sign) - PUT('-'); - else if (f__cplus) - PUT('+'); - while (n = *b++) PUT(n); - while (--d1 >= 0) PUT('0'); - return 0; -} -#ifdef __cplusplus -} -#endif diff --git a/third_party/f2c/wrtfmt.c b/third_party/f2c/wrtfmt.c deleted file mode 100644 index c325bc5cc2e..00000000000 --- a/third_party/f2c/wrtfmt.c +++ /dev/null @@ -1,318 +0,0 @@ -#include "third_party/f2c/f2c.h" -#include "third_party/f2c/fio.h" -#include "third_party/f2c/fmt.h" - -extern icilist *f__svic; -extern char *f__icptr; - -/* shouldn't use fseek because it insists on calling fflush */ -/* instead we know too much about stdio */ -static int mv_cur(void) { - int cursor = f__cursor; - f__cursor = 0; - if (f__external == 0) { - if (cursor < 0) { - if (f__hiwater < f__recpos) f__hiwater = f__recpos; - f__recpos += cursor; - f__icptr += cursor; - if (f__recpos < 0) err(f__elist->cierr, 110, "left off"); - } else if (cursor > 0) { - if (f__recpos + cursor >= f__svic->icirlen) - err(f__elist->cierr, 110, "recend"); - if (f__hiwater <= f__recpos) - for (; cursor > 0; cursor--) (*f__putn)(' '); - else if (f__hiwater <= f__recpos + cursor) { - cursor -= f__hiwater - f__recpos; - f__icptr += f__hiwater - f__recpos; - f__recpos = f__hiwater; - for (; cursor > 0; cursor--) (*f__putn)(' '); - } else { - f__icptr += cursor; - f__recpos += cursor; - } - } - return (0); - } - if (cursor > 0) { - if (f__hiwater <= f__recpos) - for (; cursor > 0; cursor--) (*f__putn)(' '); - else if (f__hiwater <= f__recpos + cursor) { - cursor -= f__hiwater - f__recpos; - f__recpos = f__hiwater; - for (; cursor > 0; cursor--) (*f__putn)(' '); - } else { - f__recpos += cursor; - } - } else if (cursor < 0) { - if (cursor + f__recpos < 0) err(f__elist->cierr, 110, "left off"); - if (f__hiwater < f__recpos) f__hiwater = f__recpos; - f__recpos += cursor; - } - return (0); -} - -static int wrt_Z(Uint *n, int w, int minlen, ftnlen len) { - register char *s, *se; - register int i, w1; - static int one = 1; - static char hex[] = "0123456789ABCDEF"; - s = (char *)n; - --len; - if (*(char *)&one) { - /* little endian */ - se = s; - s += len; - i = -1; - } else { - se = s + len; - i = 1; - } - for (;; s += i) - if (s == se || *s) break; - w1 = (i * (se - s) << 1) + 1; - if (*s & 0xf0) w1++; - if (w1 > w) - for (i = 0; i < w; i++) (*f__putn)('*'); - else { - if ((minlen -= w1) > 0) w1 += minlen; - while (--w >= w1) (*f__putn)(' '); - while (--minlen >= 0) (*f__putn)('0'); - if (!(*s & 0xf0)) { - (*f__putn)(hex[*s & 0xf]); - if (s == se) return 0; - s += i; - } - for (;; s += i) { - (*f__putn)(hex[*s >> 4 & 0xf]); - (*f__putn)(hex[*s & 0xf]); - if (s == se) break; - } - } - return 0; -} - -static int wrt_I(Uint *n, int w, ftnlen len, register int base) { - int ndigit, sign, spare, i; - longint x; - char *ans; - if (len == sizeof(integer)) - x = n->il; - else if (len == sizeof(char)) - x = n->ic; -#ifdef Allow_TYQUAD - else if (len == sizeof(longint)) - x = n->ili; -#endif - else - x = n->is; - ans = f__icvt(x, &ndigit, &sign, base); - spare = w - ndigit; - if (sign || f__cplus) spare--; - if (spare < 0) - for (i = 0; i < w; i++) (*f__putn)('*'); - else { - for (i = 0; i < spare; i++) (*f__putn)(' '); - if (sign) - (*f__putn)('-'); - else if (f__cplus) - (*f__putn)('+'); - for (i = 0; i < ndigit; i++) (*f__putn)(*ans++); - } - return (0); -} - -static int wrt_IM(Uint *n, int w, int m, ftnlen len, int base) { - int ndigit, sign, spare, i, xsign; - longint x; - char *ans; - if (sizeof(integer) == len) - x = n->il; - else if (len == sizeof(char)) - x = n->ic; -#ifdef Allow_TYQUAD - else if (len == sizeof(longint)) - x = n->ili; -#endif - else - x = n->is; - ans = f__icvt(x, &ndigit, &sign, base); - if (sign || f__cplus) - xsign = 1; - else - xsign = 0; - if (ndigit + xsign > w || m + xsign > w) { - for (i = 0; i < w; i++) (*f__putn)('*'); - return (0); - } - if (x == 0 && m == 0) { - for (i = 0; i < w; i++) (*f__putn)(' '); - return (0); - } - if (ndigit >= m) - spare = w - ndigit - xsign; - else - spare = w - m - xsign; - for (i = 0; i < spare; i++) (*f__putn)(' '); - if (sign) - (*f__putn)('-'); - else if (f__cplus) - (*f__putn)('+'); - for (i = 0; i < m - ndigit; i++) (*f__putn)('0'); - for (i = 0; i < ndigit; i++) (*f__putn)(*ans++); - return (0); -} - -static int wrt_AP(char *s) { - char quote; - int i; - - if (f__cursor && (i = mv_cur())) return i; - quote = *s++; - for (; *s; s++) { - if (*s != quote) - (*f__putn)(*s); - else if (*++s == quote) - (*f__putn)(*s); - else - return (1); - } - return (1); -} - -static int wrt_H(int a, char *s) { - int i; - - if (f__cursor && (i = mv_cur())) return i; - while (a--) (*f__putn)(*s++); - return (1); -} - -int wrt_L(Uint *n, int len, ftnlen sz) { - int i; - long x; - if (sizeof(long) == sz) - x = n->il; - else if (sz == sizeof(char)) - x = n->ic; - else - x = n->is; - for (i = 0; i < len - 1; i++) (*f__putn)(' '); - if (x) - (*f__putn)('T'); - else - (*f__putn)('F'); - return (0); -} - -static int wrt_A(char *p, ftnlen len) { - while (len-- > 0) (*f__putn)(*p++); - return (0); -} - -static int wrt_AW(char *p, int w, ftnlen len) { - while (w > len) { - w--; - (*f__putn)(' '); - } - while (w-- > 0) (*f__putn)(*p++); - return (0); -} - -static int wrt_G(ufloat *p, int w, int d, int e, ftnlen len) { - double up = 1, x; - int i = 0, oldscale, n, j; - x = len == sizeof(real) ? p->pf : p->pd; - if (x < 0) x = -x; - if (x < .1) { - if (x != 0.) return (wrt_E(p, w, d, e, len)); - i = 1; - goto have_i; - } - for (; i <= d; i++, up *= 10) { - if (x >= up) continue; - have_i: - oldscale = f__scale; - f__scale = 0; - if (e == 0) - n = 4; - else - n = e + 2; - i = wrt_F(p, w - n, d - i, len); - for (j = 0; j < n; j++) (*f__putn)(' '); - f__scale = oldscale; - return (i); - } - return (wrt_E(p, w, d, e, len)); -} - -int w_ed(struct syl *p, char *ptr, ftnlen len) { - int i; - - if (f__cursor && (i = mv_cur())) return i; - switch (p->op) { - default: - fprintf(stderr, "w_ed, unexpected code: %d\n", p->op); - sig_die(f__fmtbuf, 1); - case I: - return (wrt_I((Uint *)ptr, p->p1, len, 10)); - case IM: - return (wrt_IM((Uint *)ptr, p->p1, p->p2.i[0], len, 10)); - - /* O and OM don't work right for character, double, complex, */ - /* or doublecomplex, and they differ from Fortran 90 in */ - /* showing a minus sign for negative values. */ - - case O: - return (wrt_I((Uint *)ptr, p->p1, len, 8)); - case OM: - return (wrt_IM((Uint *)ptr, p->p1, p->p2.i[0], len, 8)); - case L: - return (wrt_L((Uint *)ptr, p->p1, len)); - case A: - return (wrt_A(ptr, len)); - case AW: - return (wrt_AW(ptr, p->p1, len)); - case D: - case E: - case EE: - return (wrt_E((ufloat *)ptr, p->p1, p->p2.i[0], p->p2.i[1], len)); - case G: - case GE: - return (wrt_G((ufloat *)ptr, p->p1, p->p2.i[0], p->p2.i[1], len)); - case F: - return (wrt_F((ufloat *)ptr, p->p1, p->p2.i[0], len)); - - /* Z and ZM assume 8-bit bytes. */ - - case Z: - return (wrt_Z((Uint *)ptr, p->p1, 0, len)); - case ZM: - return (wrt_Z((Uint *)ptr, p->p1, p->p2.i[0], len)); - } -} - -int w_ned(struct syl *p) { - switch (p->op) { - default: - fprintf(stderr, "w_ned, unexpected code: %d\n", p->op); - sig_die(f__fmtbuf, 1); - case SLASH: - return ((*f__donewrec)()); - case T: - f__cursor = p->p1 - f__recpos - 1; - return (1); - case TL: - f__cursor -= p->p1; - if (f__cursor < -f__recpos) /* TL1000, 1X */ - f__cursor = -f__recpos; - return (1); - case TR: - case X: - f__cursor += p->p1; - return (1); - case APOS: - return (wrt_AP(p->p2.s)); - case H: - return (wrt_H(p->p1, p->p2.s)); - } -} diff --git a/third_party/f2c/wsfe.c b/third_party/f2c/wsfe.c deleted file mode 100644 index f3ad1b9c032..00000000000 --- a/third_party/f2c/wsfe.c +++ /dev/null @@ -1,61 +0,0 @@ -#include "third_party/f2c/f2c.h" -#include "third_party/f2c/fio.h" -#include "third_party/f2c/fmt.h" -/*write sequential formatted external*/ - -int x_wSL(Void) { - int n = f__putbuf('\n'); - f__hiwater = f__recpos = f__cursor = 0; - return (n == 0); -} - -static int xw_end(Void) { - int n; - if (f__nonl) { - f__putbuf(n = 0); - fflush(f__cf); - } else - n = f__putbuf('\n'); - f__hiwater = f__recpos = f__cursor = 0; - return n; -} - -static int xw_rev(Void) { - int n = 0; - if (f__workdone) { - n = f__putbuf('\n'); - f__workdone = 0; - } - f__hiwater = f__recpos = f__cursor = 0; - return n; -} - -/*start*/ -integer s_wsfe(cilist *a) { - int n; - if (!f__init) f_init(); - f__reading = 0; - f__sequential = 1; - f__formatted = 1; - f__external = 1; - if (n = c_sfe(a)) return (n); - f__elist = a; - f__hiwater = f__cursor = f__recpos = 0; - f__nonl = 0; - f__scale = 0; - f__fmtbuf = a->cifmt; - f__cf = f__curunit->ufd; - if (pars_f(f__fmtbuf) < 0) err(a->cierr, 100, "startio"); - f__putn = x_putc; - f__doed = w_ed; - f__doned = w_ned; - f__doend = xw_end; - f__dorevert = xw_rev; - f__donewrec = x_wSL; - fmt_bg(); - f__cplus = 0; - f__cblank = f__curunit->ublnk; - if (f__curunit->uwrt != 1 && f__nowwriting(f__curunit)) - err(a->cierr, errno, "write start"); - return (0); -} diff --git a/third_party/getopt/getopt.mk b/third_party/getopt/getopt.mk index 07e5dec93fb..71c4170186a 100644 --- a/third_party/getopt/getopt.mk +++ b/third_party/getopt/getopt.mk @@ -31,6 +31,7 @@ THIRD_PARTY_GETOPT_A_DIRECTDEPS = \ LIBC_NEXGEN32E \ LIBC_STDIO \ LIBC_STR \ + LIBC_UNICODE \ LIBC_STUBS THIRD_PARTY_GETOPT_A_DEPS := \ diff --git a/third_party/regex/regex.mk b/third_party/regex/regex.mk index a052c695ebc..7fc7124bc7e 100644 --- a/third_party/regex/regex.mk +++ b/third_party/regex/regex.mk @@ -20,6 +20,7 @@ THIRD_PARTY_REGEX_A_DIRECTDEPS = \ LIBC_INTRIN \ LIBC_MEM \ LIBC_NEXGEN32E \ + LIBC_UNICODE \ LIBC_STR \ LIBC_STUBS diff --git a/third_party/stb/idct-sse.S b/third_party/stb/idct-sse.S index cb04cc7d868..0dc095836b4 100644 --- a/third_party/stb/idct-sse.S +++ b/third_party/stb/idct-sse.S @@ -18,9 +18,9 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Computes inverse discrete cosine transform. -/ -/ @note used to decode jpeg +// Computes inverse discrete cosine transform. +// +// @note used to decode jpeg .p2align 4 stbi__idct_simd$sse: push %rbp diff --git a/third_party/stb/ycbcr-sse2.S b/third_party/stb/ycbcr-sse2.S index 8124d6c0268..1415ee80d11 100644 --- a/third_party/stb/ycbcr-sse2.S +++ b/third_party/stb/ycbcr-sse2.S @@ -85,7 +85,7 @@ stbi__YCbCr_to_RGB_row$sse2: 7: .short 255,255,255,255,255,255,255,255 .end -/ These should be better but need to get them to work +// These should be better but need to get them to work 3: .short 11485,11485,11485,11485,11485,11485,11485,11485 # J′R m=13 99.964387% 4: .short -11277,-11277,-11277,-11277,-11277,-11277,-11277,-11277 # J′G m=15 99.935941% 5: .short 14516,14516,14516,14516,14516,14516,14516,14516 # J′B m=13 99.947219% diff --git a/third_party/third_party.mk b/third_party/third_party.mk index 0496e07f5a7..f050680b872 100644 --- a/third_party/third_party.mk +++ b/third_party/third_party.mk @@ -3,13 +3,11 @@ .PHONY: o/$(MODE)/third_party o/$(MODE)/third_party: \ - o/$(MODE)/third_party/blas \ o/$(MODE)/third_party/chibicc \ o/$(MODE)/third_party/compiler_rt \ o/$(MODE)/third_party/dlmalloc \ o/$(MODE)/third_party/gdtoa \ o/$(MODE)/third_party/duktape \ - o/$(MODE)/third_party/f2c \ o/$(MODE)/third_party/getopt \ o/$(MODE)/third_party/lz4cli \ o/$(MODE)/third_party/musl \ diff --git a/third_party/xed/x86isa.c b/third_party/xed/x86isa.c index 861b3d15d33..cf23a242080 100644 --- a/third_party/xed/x86isa.c +++ b/third_party/xed/x86isa.c @@ -45,12 +45,10 @@ void xed_get_chip_features(struct XedChipFeatures *p, enum XedChip chip) { p->f[0] = xed_chip_features[chip][0]; p->f[1] = xed_chip_features[chip][1]; p->f[2] = xed_chip_features[chip][2]; - p->f[3] = 0; } else { p->f[0] = 0; p->f[1] = 0; p->f[2] = 0; - p->f[3] = 0; } } } diff --git a/third_party/xed/x86tab.S b/third_party/xed/x86tab.S index 7c45f5f8f5a..74fd0d89bb9 100644 --- a/third_party/xed/x86tab.S +++ b/third_party/xed/x86tab.S @@ -18,8 +18,8 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Phash tables for instruction length decoding. -/ @see build/rle.py for more context here +// Phash tables for instruction length decoding. +// @see build/rle.py for more context here .initbss 300,_init_x86tab xed_prefix_table_bit: diff --git a/third_party/zlib/crc32.c b/third_party/zlib/crc32.c index aafa5d65948..11a123137b8 100644 --- a/third_party/zlib/crc32.c +++ b/third_party/zlib/crc32.c @@ -5,6 +5,7 @@ │ Use of this source code is governed by the BSD-style licenses that can │ │ be found in the third_party/zlib/LICENSE file. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/bits/weaken.h" #include "libc/dce.h" #include "libc/nexgen32e/x86feature.h" #include "libc/str/str.h" @@ -18,20 +19,22 @@ Copyright 1995-2017 Jean-loup Gailly and Mark Adler\""); asm(".include \"libc/disclaimer.inc\""); void crc_reset(struct DeflateState *const s) { - if (X86_HAVE(PCLMUL)) { - crc_fold_init(s); + if (X86_HAVE(PCLMUL) && weaken(crc_fold_init)) { + weaken(crc_fold_init)(s); return; } s->strm->adler = crc32(0L, Z_NULL, 0); } void crc_finalize(struct DeflateState *const s) { - if (X86_HAVE(PCLMUL)) s->strm->adler = crc_fold_512to32(s); + if (X86_HAVE(PCLMUL) && weaken(crc_fold_512to32)) { + s->strm->adler = weaken(crc_fold_512to32)(s); + } } void copy_with_crc(z_streamp strm, Bytef *dst, long size) { - if (X86_HAVE(PCLMUL)) { - crc_fold_copy(strm->state, dst, strm->next_in, size); + if (X86_HAVE(PCLMUL) && weaken(crc_fold_copy)) { + weaken(crc_fold_copy)(strm->state, dst, strm->next_in, size); return; } memcpy(dst, strm->next_in, size); diff --git a/third_party/zlib/crcfold.c b/third_party/zlib/crcfold.c index ca80e54b12b..a022a6119da 100644 --- a/third_party/zlib/crcfold.c +++ b/third_party/zlib/crcfold.c @@ -14,6 +14,8 @@ #include "third_party/zlib/deflate.h" #include "third_party/zlib/internal.h" +#ifndef __llvm__ + asm(".ident\t\"\\n\\n\ zlib » crc32 parallelized folding (zlib License)\\n\ Copyright 2013 Intel Corporation\\n\ @@ -477,3 +479,5 @@ unsigned crc_fold_512to32(struct DeflateState *const s) { return ~crc; CRC_SAVE(s); /* TODO(jart): wut? */ } + +#endif /* __llvm__ */ diff --git a/tool/build/ar.c b/tool/build/ar.c index 835ba138024..1ab48e1f89d 100644 --- a/tool/build/ar.c +++ b/tool/build/ar.c @@ -82,7 +82,7 @@ struct Header { static void MakeHeader(struct Header *h, const char *name, int ref, int mode, int size) { size_t n; - char buf[21]; + char buf[24]; memset(h, ' ', sizeof(*h)); n = strlen(name); memcpy(h->name, name, n); diff --git a/tool/build/compile.c b/tool/build/compile.c index 519e72307e4..ae174a3f8cf 100644 --- a/tool/build/compile.c +++ b/tool/build/compile.c @@ -37,8 +37,7 @@ OVERVIEW\n\ \n\ DESCRIPTION\n\ \n\ - This launches gcc or clang while filtering out\n\ - flags they whine about.\n\ + This launches gcc or clang after scrubbing flags.\n\ \n\ EXAMPLE\n\ \n\ @@ -77,6 +76,87 @@ int ccversion; struct Flags flags; struct Command command; +const char *const kGccOnlyFlags[] = { + "--nocompress-debug-sections", + "--noexecstack", + "-Wa,--nocompress-debug-sections", + "-Wa,--noexecstack", + "-Wno-unused-but-set-variable", + "-Wunsafe-loop-optimizations", + "-fbranch-target-load-optimize", + "-fcx-limited-range", + "-fdelete-dead-exceptions", + "-femit-struct-debug-baseonly", + "-fipa-pta", + "-fivopts", + "-flimit-function-alignment", + "-fmerge-constants", + "-fmodulo-sched", + "-fmodulo-sched-allow-regmoves", + "-fno-align-jumps", + "-fno-align-labels", + "-fno-align-loops", + "-fno-fp-int-builtin-inexact", + "-fno-gnu-unique", + "-fno-gnu-unique", + "-fno-instrument-functions", + "-fno-whole-program", + "-fopt-info-vec", + "-fopt-info-vec-missed", + "-freg-struct-return", + "-freschedule-modulo-scheduled-loops", + "-frounding-math", + "-fsched2-use-superblocks", + "-fschedule-insns", + "-fschedule-insns2", + "-fshrink-wrap", + "-fshrink-wrap-separate", + "-fsignaling-nans", + "-fstack-clash-protection", + "-ftracer", + "-ftrapv", + "-ftree-loop-im", + "-ftree-loop-vectorize", + "-funsafe-loop-optimizations", + "-fversion-loops-for-strides", + "-fwhole-program", + "-gdescribe-dies", + "-gstabs", + "-mcall-ms2sysv-xlogues", + "-mdispatch-scheduler", + "-mfpmath=sse+387", + "-mmitigate-rop", + "-mno-fentry", +}; + +bool IsGccOnlyFlag(const char *s) { + int m, l, r, x; + l = 0; + r = ARRAYLEN(kGccOnlyFlags) - 1; + while (l <= r) { + m = (l + r) >> 1; + x = strcmp(s, kGccOnlyFlags[m]); + if (x < 0) { + r = m - 1; + } else if (x > 0) { + l = m + 1; + } else { + return true; + } + } + if (startswith(s, "-ffixed-")) return true; + if (startswith(s, "-fcall-saved")) return true; + if (startswith(s, "-fcall-used")) return true; + if (startswith(s, "-fgcse-")) return true; + if (startswith(s, "-fvect-cost-model=")) return true; + if (startswith(s, "-fsimd-cost-model=")) return true; + if (startswith(s, "-fopt-info")) return true; + if (startswith(s, "-mstringop-strategy=")) return true; + if (startswith(s, "-mpreferred-stack-boundary=")) return true; + if (startswith(s, "-Wframe-larger-than=")) return true; + return false; +} + void AddFlag(char *s) { size_t n; flags.p = realloc(flags.p, ++flags.n * sizeof(*flags.p)); @@ -123,8 +203,8 @@ int main(int argc, char *argv[]) { } ccversion = atoi(firstnonnull(emptytonull(getenv("CCVERSION")), "4")); - isgcc = strstr(basename(cc), "gcc"); - isclang = strstr(basename(cc), "clang"); + isgcc = !!strstr(basename(cc), "gcc"); + isclang = !!strstr(basename(cc), "clang"); iscc = isgcc | isclang; for (i = 1; i < argc; ++i) { @@ -137,10 +217,13 @@ int main(int argc, char *argv[]) { AddFlag((outpath = argv[++i])); continue; } - if (iscc) { + if (!iscc) { AddFlag(argv[i]); continue; } + if (isclang && IsGccOnlyFlag(argv[i])) { + continue; + } if (!strcmp(argv[i], "-w")) { AddFlag(argv[i]); AddFlag("-D__W__"); @@ -207,64 +290,9 @@ int main(int argc, char *argv[]) { } else if (startswith(argv[i], "-R") || !strcmp(argv[i], "-fsave-optimization-record")) { if (isclang) AddFlag(argv[i]); - } else if (isclang && - (!strcmp(argv[i], "-gstabs") || !strcmp(argv[i], "-ftrapv") || - !strcmp(argv[i], "-fsignaling-nans") || - !strcmp(argv[i], "-fcx-limited-range") || - !strcmp(argv[i], "-fno-fp-int-builtin-inexact") || - !strcmp(argv[i], "-Wno-unused-but-set-variable") || - !strcmp(argv[i], "-Wunsafe-loop-optimizations") || - !strcmp(argv[i], "-mdispatch-scheduler") || - !strcmp(argv[i], "-ftracer") || - !strcmp(argv[i], "-frounding-math") || - !strcmp(argv[i], "-fmerge-constants") || - !strcmp(argv[i], "-fmodulo-sched") || - !strcmp(argv[i], "-fopt-info-vec") || - !strcmp(argv[i], "-fopt-info-vec-missed") || - !strcmp(argv[i], "-fmodulo-sched-allow-regmoves") || - !strcmp(argv[i], "-freschedule-modulo-scheduled-loops") || - !strcmp(argv[i], "-fipa-pta") || - !strcmp(argv[i], "-fsched2-use-superblocks") || - !strcmp(argv[i], "-fbranch-target-load-optimize") || - !strcmp(argv[i], "-fdelete-dead-exceptions") || - !strcmp(argv[i], "-funsafe-loop-optimizations") || - !strcmp(argv[i], "-mmitigate-rop") || - !strcmp(argv[i], "-fno-align-jumps") || - !strcmp(argv[i], "-fno-align-labels") || - !strcmp(argv[i], "-fno-align-loops") || - !strcmp(argv[i], "-fivopts") || - !strcmp(argv[i], "-fschedule-insns") || - !strcmp(argv[i], "-fno-semantic-interposition") || - !strcmp(argv[i], "-mno-fentry") || - !strcmp(argv[i], "-fversion-loops-for-strides") || - !strcmp(argv[i], "-femit-struct-debug-baseonly") || - !strcmp(argv[i], "-ftree-loop-vectorize") || - !strcmp(argv[i], "-gdescribe-dies") || - !strcmp(argv[i], "-flimit-function-alignment") || - !strcmp(argv[i], "-ftree-loop-im") || - !strcmp(argv[i], "-fno-instrument-functions") || - !strcmp(argv[i], "-fstack-clash-protection") || - !strcmp(argv[i], "-mfpmath=sse+387") || - !strcmp(argv[i], "-Wa,--noexecstack") || - !strcmp(argv[i], "-freg-struct-return") || - !strcmp(argv[i], "-mcall-ms2sysv-xlogues") || - startswith(argv[i], "-ffixed-") || - startswith(argv[i], "-fcall-saved") || - startswith(argv[i], "-fcall-used") || - startswith(argv[i], "-fgcse-") || - strstr(argv[i], "shrink-wrap") || - strstr(argv[i], "schedule-insns2") || - startswith(argv[i], "-fvect-cost-model=") || - startswith(argv[i], "-fsimd-cost-model=") || - startswith(argv[i], "-fopt-info") || - startswith(argv[i], "-mstringop-strategy=") || - startswith(argv[i], "-mpreferred-stack-boundary=") || - strstr(argv[i], "gnu-unique") || - startswith(argv[i], "-Wframe-larger-than=") || - strstr(argv[i], "whole-program") || - startswith(argv[i], "-Wa,--size-check=") || - startswith(argv[i], "-Wa,--listing"))) { - /* ignore flag so clang won't whine */ + } else if (isclang && startswith(argv[i], "--debug-prefix-map")) { + /* llvm doesn't provide a gas interface so simulate w/ clang */ + AddFlag(xasprintf("-f%s", argv[i] + 2)); } else { AddFlag(argv[i]); } @@ -272,7 +300,7 @@ int main(int argc, char *argv[]) { if (iscc) { if (isclang) { - AddFlag("-fno-integrated-as"); + /* AddFlag("-fno-integrated-as"); */ AddFlag("-Wno-unused-command-line-argument"); AddFlag("-Wno-incompatible-pointer-types-discards-qualifiers"); } @@ -304,6 +332,9 @@ int main(int argc, char *argv[]) { AddFlag("-fsanitize=undefined"); AddFlag("-fno-data-sections"); } + if (wantframe) { + AddFlag("-fno-omit-frame-pointer"); + } } AddFlag(NULL); diff --git a/tool/build/lib/dis.c b/tool/build/lib/dis.c index 24b008cbb00..4715347742d 100644 --- a/tool/build/lib/dis.c +++ b/tool/build/lib/dis.c @@ -94,10 +94,11 @@ static char *DisError(struct Dis *d, char *p) { } static char *DisAddr(struct Dis *d, char *p) { - if (-0x80000000 <= d->addr && d->addr <= 0x7fffffff) { - return p + uint64toarray_fixed16(d->addr, p, 32); + int64_t x = d->addr; + if (-2147483648 <= x && x <= 2147483647) { + return p + uint64toarray_fixed16(x, p, 32); } else { - return p + uint64toarray_fixed16(d->addr, p, 48); + return p + uint64toarray_fixed16(x, p, 48); } } diff --git a/tool/build/lib/errnos.S b/tool/build/lib/errnos.S index 1d9014ba7ee..7ed4edacb82 100644 --- a/tool/build/lib/errnos.S +++ b/tool/build/lib/errnos.S @@ -24,9 +24,9 @@ .long \linux .endm -/ Lookup table translating errnos between systems. -/ -/ @see libc/sysv/systemfive.S +// Lookup table translating errnos between systems. +// +// @see libc/sysv/systemfive.S .rodata .align 8 kLinuxErrnos: diff --git a/tool/build/lib/javadown.c b/tool/build/lib/javadown.c index dadb59e8962..ad2772b11f6 100644 --- a/tool/build/lib/javadown.c +++ b/tool/build/lib/javadown.c @@ -65,7 +65,11 @@ static unsigned GetSpacePrefixLen(const char *p, size_t n) { static unsigned GetSpaceStarPrefixLen(const char *p, size_t n) { int i; i = GetSpacePrefixLen(p, n); - return i < n && (p[i] == '*' || p[i] == '/') ? i + 1 : 0; + if (i < n && (p[i] == '*' || p[i] == '/')) { + return p[i + 1] == '/' ? i + 2 : i + 1; + } else { + return 0; + } } static unsigned GetTagLen(const char *p, size_t n) { diff --git a/tool/build/package.c b/tool/build/package.c index 36fc9352c48..ce8742be5f4 100644 --- a/tool/build/package.c +++ b/tool/build/package.c @@ -356,7 +356,8 @@ void OpenObject(struct Package *pkg, struct Object *obj, int mode, int prot, CHECK_NE(-1, close(fd)); CHECK(IsElf64Binary(obj->elf, obj->size), "path=%`'s", &pkg->strings.p[obj->path]); - CHECK_NOTNULL((obj->strs = GetElfStringTable(obj->elf, obj->size))); + CHECK_NOTNULL((obj->strs = GetElfStringTable(obj->elf, obj->size)), "on %s", + &pkg->strings.p[obj->path]); CHECK_NOTNULL( (obj->syms = GetElfSymbolTable(obj->elf, obj->size, &obj->symcount))); CHECK_NE(0, obj->symcount); diff --git a/tool/build/runit.c b/tool/build/runit.c index 84094b9267f..0e43bc03980 100644 --- a/tool/build/runit.c +++ b/tool/build/runit.c @@ -145,12 +145,12 @@ void CheckExists(const char *path) { nodiscard char *MakeDeployScript(struct addrinfo *remotenic, size_t combytes) { const char *ip4 = (const char *)&remotenic->ai_addr4->sin_addr; - return xasprintf("mkdir -p o/ &&\n" - "dd bs=%zu count=%zu of=o/runitd.$$.com 2>/dev/null &&\n" - "exec <&- &&\n" - "chmod +x o/runitd.$$.com &&\n" - "o/runitd.$$.com -rdl%hhu.%hhu.%hhu.%hhu -p %hu &&\n" - "rm -f o/runitd.$$.com\n", + return xasprintf("mkdir -p o/ && " + "dd bs=%zu count=%zu of=o/runitd.$$.com 2>/dev/null && " + "exec <&- && " + "chmod +x o/runitd.$$.com && " + "o/runitd.$$.com -rdl%hhu.%hhu.%hhu.%hhu -p %hu && " + "rm -f o/runitd.$$.com", GreatestTwoDivisor(combytes), combytes ? combytes / GreatestTwoDivisor(combytes) : 0, ip4[0], ip4[1], ip4[2], ip4[3], g_runitdport); diff --git a/tool/build/runitd.c b/tool/build/runitd.c index e3e5319e65c..0af4789bbd3 100644 --- a/tool/build/runitd.c +++ b/tool/build/runitd.c @@ -317,7 +317,6 @@ void HandleClient(void) { CHECK_LE(wrote, got); } while ((got -= wrote)); } - LOGIFNEG1(shutdown(g_clifd, SHUT_RD)); LOGIFNEG1(close(g_exefd)); /* run program, tee'ing stderr to both log and client */ @@ -376,7 +375,6 @@ void HandleClient(void) { /* let client know how it went */ LOGIFNEG1(unlink(g_exepath)); SendExitMessage(g_clifd, exitcode); - LOGIFNEG1(shutdown(g_clifd, SHUT_RDWR)); LOGIFNEG1(close(g_clifd)); _exit(0); } diff --git a/tool/decode/elf.c b/tool/decode/elf.c index 2d396861f4d..5e101dfda3f 100644 --- a/tool/decode/elf.c +++ b/tool/decode/elf.c @@ -26,6 +26,7 @@ #include "libc/fmt/conv.h" #include "libc/log/check.h" #include "libc/log/log.h" +#include "libc/macros.h" #include "libc/stdio/stdio.h" #include "libc/str/str.h" #include "libc/sysv/consts/map.h" @@ -282,7 +283,7 @@ static void printelfrelocations(void) { GetElfSectionHeaderAddress(elf, st->st_size, shdr->sh_info) ->sh_name), rela->r_offset, symbolname, rela->r_addend >= 0 ? '+' : '-', - abs(rela->r_addend)); + ABS(rela->r_addend)); printf("%s_%zu_%zu:\n", ".Lrela", i, j); show(".quad", format(b1, "%#lx", rela->r_offset), "rela->r_offset"); show(".long", diff --git a/tool/decode/lib/pollnames.S b/tool/decode/lib/pollnames.S index f61aefcd3a9..f6bdd716a40 100644 --- a/tool/decode/lib/pollnames.S +++ b/tool/decode/lib/pollnames.S @@ -47,8 +47,8 @@ kPollNamesRo: .endobj kPollNamesRo,globl,hidden .previous -/ Mapping of poll() flags to their string names. -/ @see RecreateFlags() +// Mapping of poll() flags to their string names. +// @see RecreateFlags() .initbss 301,_init_kPollNames kPollNames: .rept .Lrows @@ -62,10 +62,11 @@ kPollNames: .init.start 301,_init_kPollNames pushpop .Lrows,%rcx # relocate RO→BSS b/c -fPIE crap 0: lodsl - mov (%rbx,%rax),%rax # read what systemfive.S decoded + .weak _base + mov _base(%rax),%rax # read what systemfive.S decoded stosq lodsl - add %rbx,%rax # %rbx is image base (cosmo abi) + add $_base,%rax stosq .loop 0b add $16,%rdi diff --git a/tool/emacs/cosmo-cpp-constants.el b/tool/emacs/cosmo-cpp-constants.el index 274d1be7da0..dbf396aeeb9 100644 --- a/tool/emacs/cosmo-cpp-constants.el +++ b/tool/emacs/cosmo-cpp-constants.el @@ -15,6 +15,7 @@ "__GNUC_MINOR__" "__GNUC_PATCHLEVEL__" "__GNUC__" + "__APPLE__" "__GNUG__" "__INCLUDE_LEVEL__" "__INTMAX_MAX__" diff --git a/tool/emacs/cosmo-stuff.el b/tool/emacs/cosmo-stuff.el index b8e8acd58fe..27aa4227eb8 100644 --- a/tool/emacs/cosmo-stuff.el +++ b/tool/emacs/cosmo-stuff.el @@ -137,6 +137,7 @@ ;; M-3 C-c C-c Compile w/ MODE=rel ;; M-4 C-c C-c Compile w/ MODE=dbg ;; M-5 C-c C-c Compile w/ MODE="" +;; M-8 C-c C-c Compile w/ llvm ;; M-9 C-c C-c Compile w/ chibicc (defun cosmo-intest (&optional file-name) @@ -152,6 +153,7 @@ ((eq arg 3) "rel") ((eq arg 4) "dbg") ((eq arg 5) "") + ((eq arg 8) "llvm") (default default) ((cosmo-intest) "dbg") (t ""))) diff --git a/tool/hash/hash.mk b/tool/hash/hash.mk index f502a36bdc2..2e7c4628b8e 100644 --- a/tool/hash/hash.mk +++ b/tool/hash/hash.mk @@ -22,6 +22,7 @@ TOOL_HASH_DIRECTDEPS = \ LIBC_RUNTIME \ LIBC_STDIO \ LIBC_STR \ + LIBC_UNICODE \ LIBC_STUBS TOOL_HASH_DEPS := \ diff --git a/tool/scripts/distribute.sh b/tool/scripts/distribute.sh index c74c8a22b17..a9ce9f1b363 100755 --- a/tool/scripts/distribute.sh +++ b/tool/scripts/distribute.sh @@ -38,6 +38,6 @@ gcc -O -s -static -nostdlib -nostdinc \ -Wl,-T,ape.lds -include cosmopolitan.h \ -o HELLO.COM.DBG HELLO.C crt.o ape.o cosmopolitan.a -objcopy -SO binary HELLO.COM.DBG HELLO.COM +objcopy -S -O binary HELLO.COM.DBG HELLO.COM ls -hal ./HELLO.COM ./HELLO.COM diff --git a/tool/viz/derasterize.c b/tool/viz/derasterize.c index d19bfe87ddf..9ebe8680c10 100644 --- a/tool/viz/derasterize.c +++ b/tool/viz/derasterize.c @@ -362,7 +362,7 @@ static struct Cell derasterize(unsigned char block[CN][YS * XS]) { unsigned char bf[1u << MC][2]; rgb2lin(CN * YS * XS, lb[0], block[0]); n = combinecolors(bf, block); - best = -1u; + best = FLT_MAX; cell.rune = 0; for (i = 0; i < n; ++i) { b = bf[i][0]; diff --git a/tool/viz/lib/doublechrominance.S b/tool/viz/lib/doublechrominance.S index 93f60639085..f871eacce5a 100644 --- a/tool/viz/lib/doublechrominance.S +++ b/tool/viz/lib/doublechrominance.S @@ -18,15 +18,15 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.h" -/ Duplicates chrominance samples horizontally, e.g. -/ -/ 12345678-------- -/ → 1122334455667788 -/ -/ @param %edi is size of %rsi array in bytes -/ @param %rsi is char[edi/16][16] output and %rsi==%rdx is OK -/ @param %rdx is char[edi/16][8] input -/ @return %rax is %rsi +// Duplicates chrominance samples horizontally, e.g. +// +// 12345678-------- +// → 1122334455667788 +// +// @param %edi is size of %rsi array in bytes +// @param %rsi is char[edi/16][16] output and %rsi==%rdx is OK +// @param %rdx is char[edi/16][8] input +// @return %rax is %rsi doublechrominance: .leafprologue .profilable diff --git a/tool/viz/lib/formatstringtable-assembly.c b/tool/viz/lib/formatstringtable-assembly.c index d3448c1459f..3946c12fb0f 100644 --- a/tool/viz/lib/formatstringtable-assembly.c +++ b/tool/viz/lib/formatstringtable-assembly.c @@ -78,7 +78,7 @@ static const char *GetStorageSpecifier(const char *type, int *out_width, static void EmitSection(long yn, long xn, int w, int arrayalign, int emit(), void *a) { - char alignstr[20]; + char alignstr[21]; uint64toarray_radix10(arrayalign, alignstr); if (arrayalign <= 8 && yn * xn * w == 8) { emit("\t.rodata.cst", a); @@ -105,7 +105,7 @@ void *FormatStringTableAsAssembly(long yn, long xn, const char *const T[yn][xn], const char *name, const char *scope) { int w, align; const char *storage; - char ynstr[20], xnstr[20]; + char ynstr[21], xnstr[21]; name = firstnonnull(name, "M"); storage = GetStorageSpecifier(firstnonnull(type, "long"), &w, &align); uint64toarray_radix10(yn, ynstr); diff --git a/tool/viz/lib/formatstringtable-code.c b/tool/viz/lib/formatstringtable-code.c index 3f63e9add62..cfaea70629e 100644 --- a/tool/viz/lib/formatstringtable-code.c +++ b/tool/viz/lib/formatstringtable-code.c @@ -23,7 +23,7 @@ void *FormatStringTableAsCode(long yn, long xn, const char *const T[yn][xn], int emit(), void *arg, const char *type, const char *name, const char *ignored) { - char ynstr[20], xnstr[20]; + char ynstr[21], xnstr[21]; uint64toarray_radix10(yn, ynstr); uint64toarray_radix10(xn, xnstr); emit(type, arg); diff --git a/tool/viz/printvideo.c b/tool/viz/printvideo.c index bfa65281517..31537533d30 100644 --- a/tool/viz/printvideo.c +++ b/tool/viz/printvideo.c @@ -287,7 +287,7 @@ static int16_t pcmscale_[PLM_AUDIO_SAMPLES_PER_FRAME * 2 / 8][8]; static bool fullclear_, historyclear_, tuned_, yonly_, gotvideo_; static int homerow_, lastrow_, playfd_, infd_, outfd_, nullfd_, speakerfails_; static char host_[DNS_NAME_MAX + 1], status_[7][200], logpath_[PATH_MAX], - fifopath_[PATH_MAX], chansstr_[16], sratestr_[16], port_[8]; + fifopath_[PATH_MAX], chansstr_[32], sratestr_[32], port_[32]; static void OnCtrlC(void) { longjmp(jb_, 1);