diff --git a/Makefile b/Makefile index 9417f639..5f160a36 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 5ab71d75..c16c9d75 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 db97c984..4a73fd4f 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 + .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 +// 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 +// ┌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 -.LDLLSTD = 0b0000000100100000 -.LDLLPIE = 0b0000000001100000 -.LDLLEXE = .LDLLSTD +// ┌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 -.LPETEXT = 0b01110000000000000000000001100000 -.LPEDATA = 0b11000000000000000000000011000000 -.LPEIMPS = 0b11000000000000000000000001000000 +// ┌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 + call16 unreal +// call hiload + call16 pinit + call16 golong +9: mov $REAL(str.e820),%ax + call16 rldie + .endfn longmodeloader -/ Long Mode Hardware Check +// 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 + .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. +// 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: + .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: - .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 5ab691bf..c12e8818 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(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(.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(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(.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(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(.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(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(.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(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(.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_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 666f277c..fa044dd4 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 c2dc5f2f..7a336982 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 b66a14a5..735105f9 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 f14130d5..3a9a71ea 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 56fd6b67..261d2a0b 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 a9aedaeb..664dba4b 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 9b5dbe58..badd3d21 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 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 (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 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 (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 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 (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 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 924c161a..4537da0a 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 b378daad..486dfbaa 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 c83de357..304bb55c 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 3121db01..36c82900 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 43a322ae..5dbcfeec 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 c23b237c..9b0e3d39 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 9fec2170..5bdf7022 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 0edb2153..84ce0da5 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 d3268efb..a5013b96 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 6c7a1dd8..db4a7266 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 a48bd58d..89a081dc 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 fbb7d37c..478de0b4 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 9dbafc03..f2dcf536 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 82630fd0..4b768c02 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 aa761ed0..35e997c2 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 ea49e1bf..dd6388a3 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 c9358415..d74444fc 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 9ad07f14..00000000 --- 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 3b7a5c8b..41e74177 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 bd95a28d..4b2a2ee6 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 100254d3..240ee3c9 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 c6dc1996..00000000 --- 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 2a0b7547..ea1aa1b5 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 6a0da497..397e3129 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 a318aac6..5b4d81d9 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 f83cc661..44b62f42 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 749c75ca..50c4b6dc 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 3a844407..40a64d28 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 1b89830d..bb8eafb4 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 4b91ac27..290c8277 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 32c6f4a8..1ea325fc 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 7ffbf6ca..00000000 --- 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 9104d7a3..3a85a84f 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 b07782b2..922e63d2 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 b9917669..6e6cd554 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 9bd9fa75..fbdda585 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 a11a27ae..1aa27b96 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 c19c825c..5d45840e 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 ee60dba6..49d97adf 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 3130f190..ab59767f 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 8070fa82..525b0447 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 3674b675..3d23bfb4 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 e5a15e77..8844fa4b 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 15c90edc..7f5dee0e 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 500496f9..e12f4da7 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 231c3363..ff31aaae 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 7a735c85..4444e9ac 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 f929874a..00000000 --- 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 2a5383a0..de93e235 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 24bf3521..e75e1506 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 94bd80c3..8a5ca7e8 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 a2a5dfdc..bc4b1957 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 cb520b94..bee13042 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 8b3cc84b..72c0ceb7 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 3d412bfb..2902a280 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 122271a8..bfa28fdd 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 9dbd1d74..2957f0bc 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 bfb35ec0..7e7a8ee2 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 c3ea9bf8..cae1e681 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 0132a80f..c41ffe73 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 1c0a8aaa..3ffb289b 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 639bbfe8..b783398d 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 2fda2cd4..73ff8b0e 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 0f7ad274..04c88004 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 a43f6f41..b33d5594 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 4655c0a3..5c5302a7 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 6e63fdf1..9dbae8ee 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 a5d67e24..ec11d436 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 a881dc4b..53b464b4 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 3455ea8a..8fb2a187 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 d920d645..a85330cb 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 48424363..de79742e 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 ed950048..6f0fad31 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 ed3b940a..d2b0b494 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 81449267..9c7e2bde 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 3eb29c53..14078b89 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 94532143..2ad94b3f 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 ea9282b1..55d62611 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 6fad81df..6060b8ed 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 d350095d..cfead633 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 3dca34a6..2593c40f 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 8f2f8d74..5c1939f0 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 26a333f3..6db866e8 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 d1339318..7e717536 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 8143ef0e..417f1525 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 4f865a29..7f67f4ef 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 5974ebfd..5df4e079 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 2e66c8e1..e4a61975 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 fed9155f..224815fd 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 921ca4f8..9c99155a 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 f0f16743..0dcb648a 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 ea1b760c..f80d4264 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 34d36091..7925ef72 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 3e754805..6867b0e4 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 d1514302..2cc5c37d 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 3842e34f..3adff627 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 acc0a49a..c8f41f8f 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 dce6a467..8e11cced 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 bf63f0a9..fb9a058b 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 11e02d7c..0ea9cb73 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 f1351286..1840dfdd 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 00d103ab..acd173e3 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 9d0b1573..9e0cfe21 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 84d04ddd..54edd800 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 a5f386e6..021a3200 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 699c69c3..7c949ec1 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 28301c9f..51f7cf8f 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 669e1383..1d6f348d 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 9961fc9c..87a308ed 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 6beeced6..4d75928f 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 52adcdd9..116129af 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 ab54de68..85821696 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 d7ce6073..6fc38915 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 dcbd7fdb..ae278b1f 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 daafd9bf..4e45b971 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 52cd8a54..c63400ef 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 018a5cc1..0cf78748 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 d7631125..d653a728 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 18585b65..6f8036c4 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 cd6f8537..27e0296c 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 722db898..562ccb6f 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 0dae3a20..46166a7e 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 1e24738e..8da24a65 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 2a179afd..503b9954 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 00de000d..25cef203 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 56287281..5c2a6fee 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 48cbe044..2e621005 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 Garbages { - size_t i, n; - struct Garbage { - struct StackFrame *frame; - intptr_t fn; - intptr_t arg; - intptr_t ret; - } * p; +struct Garbage { + struct StackFrame *frame; + intptr_t fn; + intptr_t arg; + intptr_t ret; }; -hidden extern struct Garbages __garbage; +struct Garbages { + size_t i, n; + struct Garbage *p; + struct Garbage initmem[1]; +}; -int64_t __gc(void) hidden; +extern struct Garbages __garbage; + +int64_t __gc(void); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/nexgen32e/gclongjmp.S b/libc/nexgen32e/gclongjmp.S index 3b9e5c2f..d248814f 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 59c21592..f74a3c2d 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 09b97f4d..f5307dc1 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 189e300e..7b8a9f17 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 0379adc1..fa86458c 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 d30108c9..d3f71dd2 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 c1ba62c9..0e0defa0 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 d807f025..4c10a774 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 7bde0b20..ee39533d 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 a2a4c70d..720646b8 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 7a1226e0..b9fe316f 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 006e7b47..68ca851d 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 92cda751..fd33d641 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 44d15b5e..b9f4b07f 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 0a53fde7..7c2c5491 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 6f8f72fb..32354299 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 ea1dc496..acce0409 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 af8b1dcf..fb325614 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 639824cb..0b997508 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 48c2a048..aee886b3 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 a355155a..b7b26911 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 f3b7e396..2db3b591 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 d134ccf8..6ea6e713 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 8ea041c5..33f63143 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 8f67c4b0..51ba0bef 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 47864305..03abb4fc 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 86ef74a5..055ef4ad 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 368e13fe..d30ce2c2 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 04c025ef..8860123b 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 81efd245..9c9db592 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 3f89cb55..3ea1f369 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 5032f414..0e977d14 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 d53d032f..dd6823ea 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 f6361cef..98a7c7de 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 4757acee..20150445 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 889e7e95..fbe793fb 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 366a592d..9b16a2a5 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 5e1d01fe..7e1aadf5 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 d51c4acf..181ac31f 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 ddda59ab..5d5cc4de 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 2be076d4..0bfde8c5 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 c0e4299e..c29167ab 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 2fbe8095..1bb9a54e 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 77832746..0d6e220d 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 9c7fadd3..91438913 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 9ff88557..f9f3c44f 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 05d03047..94a7c83d 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 4cd29859..46ff5b33 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 8f5df1ba..7d30a98b 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 6476df1b..0c884e31 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 6d55b25a..31ff5646 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 0d79fb37..1d9fb474 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 17aeac1d..0d4551ac 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 ac18a529..7b5371b6 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 3eff0671..f575ae84 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 65614a1c..270f97f1 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 940f65cf..cfaf37dd 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 4cebe1e9..923466dd 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 d2fac1fc..59c71f81 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 3f75b229..135457cb 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 3f1c63e7..e530ba40 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 0fbcb0ef..e22c148b 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 bd75bb50..c7f2aa5e 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 f02a7413..a5a30856 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 17c01180..65b55ef9 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 849f487b..73d6819a 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 22e98282..560197a7 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 6db92e2c..00000000 --- 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 6a68648f..00000000 --- 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 eb781c86..d054e0f6 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 00000000..359e4ff6 --- /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 00000000..e52caecd --- /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 e98dc6f0..e8c947b8 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 26918848..52d963e3 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 d30bdf93..1fd5bf04 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 67568545..4b228512 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 3511fa1e..89b4ec8d 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 69c6f7be..7bb29080 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 b842c4af..1c6f6476 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 90876e6e..01ce4d4c 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 d1f7f6f1..46d25a0a 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 f415bbbc..64239403 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 d8d29ae5..a4c9382c 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 9d772f49..cf062c92 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 a9bb626d..12c2958a 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 5b12aa34..5344a0a1 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 2917787e..b012d084 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 2281135e..254c7941 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 de094d10..da962abe 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 c048134a..1c38e8cb 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 61d95385..4c046a46 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 e14e997b..6bc479d8 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 4272361f..933b680e 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 9b93d566..6d48997f 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 9724f783..04bb2468 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 8ce633ed..816290dc 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 acf75ed8..00000000 --- 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 2b9dc0ee..b821246d 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 3434914a..6e0e2b20 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 d7825c7c..da4c678f 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 dc96e3de..284766f7 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 38de507d..f6195068 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 61dcf99b..8f71213e 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 099241af..ba0f2c5e 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 ecae08d0..8353b506 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 28aecfd6..a01cba66 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 5c546437..94455d03 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 c6dd53f5..7b30d667 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 cfbce4f5..f1665259 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 b413810b..b46fcee4 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 e5f758fc..358f7eee 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 36bc465d..a2d5f31d 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 583de973..8f49fddf 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 489f5185..00000000 --- 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 1e067ff9..ecb11a82 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 4366bdbb..12d1f615 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 17cb709a..7f5bf723 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 5ceb1492..00000000 --- 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 3c473338..00000000 --- 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 5a140064..dab0b0be 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 c7c66a50..c4aa9fca 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 bcaac5a9..00000000 --- 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 4f9439f2..00000000 --- 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 3733d6c2..446c0587 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 dd202ce5..18edb1e5 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 43cd678c..680b5925 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 b5a6d8a3..1d0f0104 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 c07b7717..c653c414 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 c215e09b..18014f9b 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 3404fad7..583768fa 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 ed9bc48f..883aa05a 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 4d6b85c9..ecdd42bf 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 46227200..1667a19d 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 48787f44..51c5b582 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 77fef1bd..f1e09b70 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 a6700d44..d441e81d 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 df36ccaa..5bc24acb 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 10e5d6ac..afabf8de 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 eddc4c8e..a1cdc8f9 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 1035d7fb..c1e4a988 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 9cf34fec..ae16e9a4 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 6d3abba7..26d91883 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 24151495..946f183e 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 f477fdd7..6218fb7b 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 118d0297..b28992e6 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 2e7e4c02..c7a7a80e 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 e401435d..a1900c6a 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 72fda157..0b50c60e 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 bba1771c..dd3b5d67 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 9ddd51a7..6a135250 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 2b762fe3..96d88088 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 1a441667..bbe8ed69 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 f8f11654..78278f0c 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 22f4ccec..6ca411db 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 c1fa0e58..403a6fee 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 44c011a0..3f082c67 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 7c7f87bc..0aa71edd 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 af9102fa..61755baa 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 a2595602..60fad2c7 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 2a55fc26..2a7c4229 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 819ff23a..b4a2c622 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 5a57eded..7b307415 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 f82d1ccf..f9b16560 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 3c20525b..1e77707b 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 22598d9c..32466bf6 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 c0b7e1a9..1acd20a3 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 63b029b5..5eaf0fc4 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 9db266ad..db61bbe7 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 5e8de29c..d0d6c64d 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 08249155..10c79264 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 240325c7..c25444f1 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 51a27db7..414fe646 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 69f87fc7..0e5a7ade 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 c82da23e..9f8d13e0 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 f1ba31eb..888a0ba5 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 ae635821..b334c7b8 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 170f454c..58b9177a 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 1143c41f..9e78a406 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 04120e92..6862e2d7 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 b411eb13..4062b7f8 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 a2ae96f8..1a9fbdb1 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 fa595a7b..941c3068 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 ac4a524e..25c89e11 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 a926d706..ecdb441f 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 fd8b9727..9de1aaf2 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 abc1d68c..b0b2e4c5 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 5caa7d7b..a5b49ecc 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 12a061df..52c95029 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 fee6040c..e15658cc 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 209fed6d..ea88ea13 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 9901b1a3..a4c55a09 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 057a6a77..e74ea753 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 0c554b4d..2ceb787e 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 77ba51a1..f0e51aed 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 3c117c7f..e32cec63 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 408cbf91..afb98875 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 9e984ffe..d0314c27 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 c37e06be..6ae6b1f1 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 b92eaf76..6c7d5672 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 f66f7912..148bb926 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 574ed65d..dc5d6b2e 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 811df144..796856b4 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 b98a9560..970ba1dc 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 0d6756cf..be285446 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 28ec77cb..39512161 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 59a7f77a..ab4bede2 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 68e58b9d..d945b1ba 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 4304b4c7..90f609f9 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 492915e5..7655fbc8 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 84efa9ae..9783b988 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 0742139e..f37778b1 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 b9248694..21357aa5 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 1c4262e4..5c5956a1 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 eba1bca4..82f893ed 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 361dd890..68ac0acd 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 7c6d09a4..26686163 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 35d34640..42886166 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 b5157a9f..1768bb3f 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 8df24157..18965475 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 657f6b9b..83af55f9 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 5880467a..43dac038 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 64cfb06f..c8583261 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 3dc902fd..e1120c29 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 7d406260..9e9c2d67 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 91e9428c..d3e1777a 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 650a619e..6fd08b95 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 a13a500a..42ad74d0 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 6461a064..21ff3410 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 579fe4cd..83d523cd 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 a3d101d7..fcd57045 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 844a109f..638df5e3 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 7ecfbc49..8c111fe7 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 b019c815..f74a2ca9 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 16a18ee0..9462b3df 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 7b935e7e..dd3403e3 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 bbb39a93..e1890933 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 85b028db..f1e284a0 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 e8039c78..15950d5b 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 b8e91deb..fd3a9b91 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 44762807..8c44601c 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 d16ddf09..b873ec39 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 2845a70f..98ce6db2 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 28711448..396a6be7 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 30aaa211..03dfadc0 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 bf3e78b0..3444e14b 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 2afa1574..3705bd49 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 639900a4..abfe59ee 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 a3adcbdc..d93f3875 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 c8c9e678..4bd81346 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 643b904f..66e54b49 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 b7f13711..702d03be 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 68e2ce2d..0168b873 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 decb3341..0411f391 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 e4c47d08..8cb50dea 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 3608ec01..a876e394 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 f5a2ba9d..f6e891c7 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 f473b199..928425d4 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 3cf59206..c7216bda 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 92871b22..fca5289b 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 503df0ec..e22da0cb 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 b427f01a..2615bc99 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 128743a1..32a5cf1f 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 1f76137f..8c02a918 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 afb61870..354740c3 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 daa85518..7442a045 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 f5b26573..690dbd5f 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 0faee1c6..5281e4da 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 e929b7f5..3beaa8f3 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 664020c3..92db6b1a 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 278d8e80..96a85905 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 a3d3b124..d4264a77 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 c9e12c98..76342b43 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 308757a9..c1a9b9a8 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 b5d45b59..204a875a 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 f9d054ce..b8cfca07 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 5f66b40f..b1541226 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 03cfbb40..1ce2b307 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 5cfa13a3..087576fd 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 ad45a90f..6278f09f 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 5127d487..c92aa4cb 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 a816b13f..95f818d6 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 52829ec2..fbff5ed8 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 4f8b9b29..f1c586ab 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 f8a31a43..052f8956 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 7960c752..ab221f63 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 45db9e19..eb25a050 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 938229e9..bfdf3092 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 cd71d2d4..d310df49 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 bbf78634..eb662dba 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 9639e4c0..67e16f76 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 1aadc49e..18d4580a 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 0c4a52c9..077a3d8f 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 e836ce80..3e1e77e0 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 ef47b96e..ad8fcfa7 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 6116ff9c..00e38af6 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 b3e668f8..f75de36b 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 a28a7898..f186da2f 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 4a68f56a..83808902 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 00000000..c918fd93 --- /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 7877289a..0e792cdd 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 57cc6b27..943fd2b8 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 ba69ff05..ebe2eb49 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 4f51a23d..2d383124 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 3218f39e..861dd117 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 06af111f..2e809ba2 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 4c275768..b05b27e6 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 35146b5c..f7b0f444 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 c0790ace..0c51d523 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 217f83ce..928b86b0 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 2e07b702..748c6fc4 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 113bf997..889d6998 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 5236abf6..3c47675b 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 69bdd290..5c30f768 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 a80ed8bc..b2d2c28e 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 b3ae8cd6..01a60430 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 9ea744d2..eb553c5e 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 2a4dad88..aaa4424b 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 daf06d38..24d166d8 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 2a4e5a59..d92d2b23 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 3e6f5efd..2c1e4211 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 7c4d39e7..1bbf32bc 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 78d5b743..211d41f6 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 84c8019b..751b05ed 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 150c26c4..36384e0c 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 a475ebef..031388ab 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 3092b8f3..1e604817 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 121853d8..b8ed2484 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 7a0cf3de..74d13ea9 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 2f1a8344..4276152a 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 50953780..d75f3caf 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 77d438c0..b2bc4dc2 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 4d41d9b0..0ec96cba 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 a5b036fd..06de34ff 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 9b965055..70940d7c 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 e78b7f83..6e74e986 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 c079d8cf..70fb742c 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 5fae2f15..ba662e38 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 3f2c45e2..1cc92e4a 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 efe7e108..fa9e9a09 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 95809554..4139e8c8 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 bf229848..a6a349ed 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 b76afd84..d21d6096 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 02a4c48e..e7b6b66f 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 0c3dd838..dfc98781 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 11121b09..84b4660d 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 09f0d90c..c087d6e9 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 4606e1f7..09412b3b 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 67338d6e..34a34410 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 88f764a6..c8a7ff41 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 8b49a194..070feb0b 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 dfbc26cd..645f8a5a 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 81e6d1ac..870ea888 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 38b78922..c09c74c3 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 e9160aac..bc164c4a 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 c7976153..f8ccdc4f 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 0e1d1563..4a068e00 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 882a4ee8..d839656c 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 b5539f5f..9340f6b4 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 f91b18e9..19cba479 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 bef2c9c9..7b60405e 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 64e54c0e..d5b95308 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 d0589b77..3783952a 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 e3b8dd1e..10a08f07 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 38adca51..9ce4dee9 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 d5c7fda2..e50c6a17 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 72ce0565..1567a632 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 8044dd63..2b6e7ad5 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 28010f88..68b8acde 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 c9db6245..65e19a82 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 83694858..b33888d7 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 6d6d658f..fd895f96 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 0acc6664..6488b395 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 0de85bfd..1baac237 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 d66a92c7..d5f6988a 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 8d845583..bc648bf5 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 102ba86e..ae899f1a 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 07f659a4..212af4d6 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 918b7d5a..d7ac03ae 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 6010a2ec..860e7caa 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 0d3d9e69..bc51a605 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 c43b9731..d3c0d90e 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 af61b46f..2b08cbf1 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 e0caaa23..eba0ec9e 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 87df5b76..f29413a7 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 53a31904..c26fe74e 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 291edf02..3c926948 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 d99fcc44..792c5a9b 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 b3de906b..659b04c8 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 c4215e01..61c3b849 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 e20bcc80..c28da81f 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 ce5937d0..bbaee448 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 38c908d9..399dce9e 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 139f8ce5..c17c30c0 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 c02d4d37..82f80ef6 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 aa360f5b..c711f356 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 461f129e..b606029d 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 8fe9d16d..1485cb4f 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 d0e22515..bbec8e86 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 9943bfdb..120ede14 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 f020ac3c..66b4009c 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 226a7cf8..df46f9a4 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 b0f14153..4df117de 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 33cb1fa3..7094209e 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 f2926c25..b25234c9 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 d2a4d3af..a89a6ed7 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 541fe1a0..6e760bae 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 0bbbb70d..e2be0844 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 da271206..115b8b3d 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 8473bea5..c5de3a2c 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 b575e9d3..31acb098 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 8d883ca9..889c5697 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 7ba4d612..3b07baf6 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 aa7e9138..fa496a20 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 c160f3a6..b588e50d 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 2fc372dd..0e077f0b 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 ed43d4d6..38703da8 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 45d22659..ec1b91f7 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 81570f8f..e0095eff 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 94b1447d..dce1ba92 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 2bbf4ede..005053bd 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 ae045ede..3ab223da 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 09da77c5..8f652da7 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 35f1bfd5..b7ac9db9 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 a103497b..722eac79 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 24b26b12..8bb63a25 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 51112a4b..8a8c30e7 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 310d25dc..c8ceb49c 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 2311c1d3..cff56fab 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 8b30a952..b15d8cb8 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 96cb00e8..d3373eb8 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 eddd7c51..5fb65194 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 154f61c4..84e45b45 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 6662c20a..7a1a8122 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 22edc2b6..43997a60 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 d0e6d9cd..00703971 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 f0f4ad69..c65c3332 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 f141545e..705bfebb 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 c25fb3fb..c56d6499 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 ca087ec7..3c0d40aa 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 f49e005f..0e2b3ad7 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 014b8e36..7d5cddfd 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 0c8717b4..9788f288 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 9a1c164d..546f60dc 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 781837e7..29310879 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 c177f5d0..f8ad66a6 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 10b62c49..f2bdfa5e 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 8e4db214..e5eac35f 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 a9178b2e..d45801a1 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 1c9d1332..ed98bccb 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 ae0b2795..960fdd2c 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 f56402f8..ca84c541 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 117536a3..c126cad4 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 34797898..fe0c1305 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 fe547cac..ae3f4b75 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 aea9a469..38355c32 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 ec8082aa..d9b4542a 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 1251a72f..29767c61 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 c1362a5d..8b706ba7 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 1f9ef9e4..f7544d54 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 fe91618d..aedc6027 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 1b66c9b0..153a05c3 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 3e408109..7042edb1 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 d9799e0d..f5be4201 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 4011bafe..70b2546c 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 9dad8c9d..02d6e703 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 47534769..673d52cc 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 8b7637ea..46aaf316 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 bfcd80d4..aa3b9fbc 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 b8c05e32..7208b87d 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 89278130..4b614e73 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 0447d85b..e418bc3f 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 e36f2f26..ad12de95 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 f552e82f..a3a7a2f1 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 4e5e1444..0a4a4528 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 553f2b2c..20ae58a3 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 eba1fe7d..f209dc92 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 12bea54e..37a5d383 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 150979f9..2971d6a0 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 7a697945..efcaa0ca 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 572deda3..e94ea4ae 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 7725d629..8541eeb8 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 2c113313..94d22d81 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 a77e4246..c780293c 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 72d0c77b..8c22692c 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 a292f76a..72dbc608 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 ac36d441..f2fd844b 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 6b103136..b2b0c27d 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 3083d504..c3601250 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 9b9b75d5..ce8d6a84 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 2c32bd20..255356ab 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 7190a4e3..18b3a6b2 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 fdcca92a..c7661f35 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 8731112f..4f319ffe 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 844003ce..66b7deb1 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 e29d303f..d4fe5c3d 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 eb50102d..a234e946 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 7878260d..ad66ab30 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 d3275048..9bcee780 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 1ff749c8..0e58c377 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 b80da979..acf0476a 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 29dd860a..467c4031 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 9d807d33..005dca0d 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 644a2a0e..076af1c8 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 018bc9c6..8818a14b 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 736e8f47..a5e14ba8 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 d2157b3c..4c5d66e8 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 adb50985..a11dcbdb 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 0e7dc464..32ecabd0 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 412f8a10..eefb247f 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 74bbe04a..0df06eb7 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 107bc91c..b0568a76 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 fb70ecdc..3fd99bf9 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 99f6cea9..29498f5b 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 e374524d..fb561267 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 63e2a610..d2e86f8a 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 1a2bce3a..d525fe3f 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 087563dc..f659b852 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 46eb75f4..d79418dd 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 a4567f87..0cf1e53a 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 424c8c1a..9e23999e 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 62603c03..42d10bc7 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 64288778..650b726b 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 08180ad4..dcd730b9 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 004c04ae..4e0c1fbe 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 0ed6ca36..25145851 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 d9d318a5..402f9715 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 41f3b4f4..1a155915 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 f397c253..081ed04f 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 2c53369d..5240e2f3 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 1be8c06a..98a4b5e8 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 e5e3aa19..890058b7 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 c7c6eb2c..643a4eef 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 54e3cfa6..29bff790 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 cea6c75a..500f62cf 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 c8f89a96..8d4c2c40 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 c284bcfb..0c2a36ae 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 4cde9fe3..7dc343be 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 da8e656a..dde6cf05 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 b93e0c82..d903b427 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 17a28bab..0db0c468 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 af5ba5e4..686783f4 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 ae145202..c15dccfa 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 ae30614c..e1621e3a 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 bac4d5b5..1bcfeb4c 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 208d1024..2b7094ea 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 826fb522..e40cfa20 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 af62dc86..a87e514e 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 6bb6278d..f025e426 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 122616d6..c0cae744 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 60934008..673f90df 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 9d913f0b..8015bf37 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 8653555a..b4c05868 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 00000000..f2d39da2 --- /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 cf114659..3fdf8080 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 53c35aad..4d16e233 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 f3cdf48a..d776826b 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 73e17814..e1f2469f 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 4e35476d..bedd380e 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 d9d5b4c6..d5bac226 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 fc36c4dd..67495426 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 fa0d07fa..c75b4011 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 0f940008..35de0af3 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 8a2aca81..9f3c0c6a 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 dded3508..bc052e2d 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 7c1482d7..a682c141 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 a9916317..c9f9aa0d 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 7bd52314..eeb03d66 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 bee91e28..6daf1d0a 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 ceed7403..5531e02c 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 9cdeacbc..1a4a2dcb 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 be5c92b8..c1dbd50f 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 84a3f082..8c6f0712 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 3e717ea1..42cb4fc0 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 65d162fc..804307ed 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 de88b054..80e06f0e 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 8f891033..6fa6fcb8 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 9d4a8b11..46bfa170 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 db781e2f..3887dc17 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 078c4be0..fe57202c 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 e328a06a..13d1a3b2 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 9823e4d2..3eff498b 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 81f50cfe..6b382c3e 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 a2600487..7bc5c30b 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 2c5c2e49..80c8f334 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 d8e1ff5d..74ae742a 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 7adca479..14a02189 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 cb76da19..bfc7647f 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 c5e667c0..ce5ce3fe 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 84bbb4cf..2efb3243 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 c252d69b..b50e92a5 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 0cba037a..d38e22c9 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 1106dfaa..30005cd8 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 6e9104fb..1887f90d 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 c925604e..cd4130ac 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 0e920619..ee8087a8 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 28e3770f..14a270cf 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 d2aee569..775111a9 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 20d658b4..5d163d2b 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 0178bd22..2704ce48 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 40406bb0..20f877e8 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 bb153309..6ff215f5 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 627a32f4..0e029d4b 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 d906e0eb..9d17f870 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 4719af84..f850a55e 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 aa4f1b57..104927fc 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 abd676b0..2de1f3e1 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 1d717f58..57ad10e4 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 bc70cf9d..3cd12123 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 fe357a9d..422a4fff 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 8c8260df..9523b142 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 20d9f1ef..0b821b76 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 8f28ff74..e27cbaf4 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 cb7cdbb4..4b5b6b8a 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 d4e165d9..782fa20c 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 bf3bbf8e..f2cd0ec2 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 f84924ed..d746a3cf 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 bebd3af0..09b2dc8a 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 d3b56f1c..ee3ccffc 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 148fa9e8..48462d66 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 a32542cc..5939a7b0 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 c2df366d..f12f388b 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 b182293b..c2fbcb64 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 555e9ef0..0b6694b5 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 5d6c60fc..25e7a640 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 33d86398..4a924a3a 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 40c6aa27..6750b9cf 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 e4e54479..0c4b9e92 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 b4aa2e43..6953705d 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 e445fcb7..9673b378 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 750247c5..bb6be815 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 1964ed85..3cdbf7b2 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 581b9f73..c6db2472 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 b88f25e1..4bbf031d 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 449ad931..17ef5976 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 4e3c20d2..304dcef4 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 15a8f223..fe7e96c2 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 865d57a3..03279608 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 ca1507c5..ed701b6c 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 aac34431..9c2b4d45 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 74613708..15e6b98f 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 3d41833a..21c2ef4c 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 3ff0a6cd..7ec9d7a6 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 aac75006..e7a3d398 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 68ce2835..9af8765d 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 d9763549..8996506a 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 6f9ff0e1..ded04b47 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 de451984..20bd750a 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 7d093c30..ea799ced 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 cfae4ae3..31d7f23f 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 38aa7557..9f2aa39e 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 bb0cfbe3..e7d3b36a 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 2d705b9e..07ad1e31 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 11e4cec8..076a2bcd 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 f55f23a9..33f7e448 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 ecdb3f86..f8355e7f 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 76636a89..f363f21f 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 b857e315..b7a70084 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 460d26b4..909b63a7 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 7c04d6d1..b92a75f6 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 449bd59d..2fdbb3a7 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 e442f5b3..e6fc4169 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 13ccbc86..03c50e30 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 9ba366f6..df63895f 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 2cc2b8c0..7e0ee1de 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 7ec1fb2f..5bf1ff1c 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 a0bd98c9..9a7674ed 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 24da97e9..06d41d16 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 5a96f215..12d8e34f 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 08cf68ad..2ce9a05f 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 aadc0e12..065e3d7a 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 8ef0b17d..5c503148 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 9441a6d5..7daa7a16 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 345f768c..e0b88ab3 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 6aef1c90..b4aafd13 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 7ecdce4c..22e03499 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 82ace3a4..e6114c03 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 9910edab..12857083 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 ce793478..eb8a1d79 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 e68dc478..7e25e3fb 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 b6131d60..756e1edb 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 e8f87a40..d894f22a 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 ca5aeae8..ec08bd69 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 db2e5af7..75f49b7e 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 4ee6c468..078bd050 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 0f5017f7..5dead018 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 18533f38..9c32f040 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 d7fd4de7..39796ad7 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 0692a911..71c6df10 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 a123f5cc..18186d39 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 5088dc37..8607bf2a 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 bac184d8..bb61df24 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 99706440..06629369 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 55a57119..2d0c4af5 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 11a72ea8..e29daf7e 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 accce484..5f7904e7 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 5408019c..c8dbfe50 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 77c5e32e..e2f9ee24 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 ecb9104f..7f813ba9 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 0bbc4a6a..54abc0b1 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 e9d35e7f..392b21b4 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 345925f9..9f3f1621 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 960f8e9a..d8ffb274 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 2e7fcb3f..f89b913c 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 953ffdb0..4a012441 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 72b6e978..be028b60 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 d86ee824..aaa2e59e 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 6e438bf4..adf0ff6f 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 ae417d5c..a302c17d 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 f5e61eec..00745f3c 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 afe31631..b1cbe1cd 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 2f01646a..23e0fc29 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 8ceccdcc..93c67bee 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 0fc7483d..2ccb2eca 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 7b0e2e94..799b79fc 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 df68abf6..bb006a1d 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 2d54df8c..4814a05a 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 aa7fca2d..33bfa116 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 ce9219ef..f1d8e1ab 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 36804cc2..555afcaa 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 9cdf85e4..7efd512d 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 55e2f4f5..6de6c74c 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 7ebe0c5a..313fdbfa 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 533de8e3..c8021b75 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 2203bf41..e4c68f46 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 88eb697d..3dfb31bf 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 b9f22a9d..a7bef39c 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 a903f73f..98cc9a51 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 a8f60a13..aab213f4 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 75ef0d0f..07ece5c1 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 c842fb56..1c2455e1 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 b18b464d..ff749f98 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 66c4e207..f6de57e4 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 fe0f6647..2c97356a 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 dcddfdfc..46e677e2 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 995d27a9..b9d6c026 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 663f0296..4e6b9eff 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 7cd0654b..00000000 --- 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 0a50cb50..009e03c8 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 370a2588..43bd9541 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 69e1005f..bcbfae16 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 032d7e26..34edc268 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 05cd7648..c13f575d 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 84b7b446..a33374cd 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 d669052d..d050c1ae 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 08c98377..2626a05d 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 009440fc..17643ee9 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 07699185..99f60f44 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 952b434c..a5809ee9 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 d331c433..d6af1fcb 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 552b964c..a52fb359 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 ffba4cce..f9cae129 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 0e1d04df..9217e43c 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 f0489daf..a9207069 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 3176012f..cd77ede5 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 9ffc24c9..a1ab7d22 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 d01c0146..a14bfbed 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 f15adb0c..69826472 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 efa09fe3..b1523dcd 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 fbade4db..625716fc 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 2d7715fc..a59cee99 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 c59c0328..fd5d166d 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 1c052beb..b457af42 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 96188f6a..2e5adf58 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 d52cbf2f..f1102488 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 ff68375c..4e9a73f1 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 e2aaaec6..abcfc3b7 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 92fa3bbd..a4b0a80f 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 977e234f..4d83de31 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 1980ab14..3f9ca453 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 b3bb1e2f..03eb24da 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 86433817..f02420db 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 540353bb..5f4766d4 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 bcaba480..e976d85f 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 9b3660a2..9332a17f 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 267b6974..80f5c7a4 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 5e1145cf..f1cc3408 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 63fe0343..cf9d6f2f 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 660798a5..c7630d94 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 c0eea39a..141c2e0b 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 da2fbba1..6e6e24bf 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 69031a20..759973cd 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 8cbbf7cd..3dd327fb 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 fe3d3b6a..9139888c 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 011800be..af2f8b15 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 10660143..ff76ad2b 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 66659a21..c4237e3b 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 05c3007b..0af05d36 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 dd77323b..31799ccb 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 9ac07132..00000000 --- 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 8f08c773..47578ce4 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 66d9e8f4..d9cdaeed 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 9da627ae..425c2eea 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 597ff135..bce4dfa0 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 3a5d2aed..5825e1d6 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 ea812cdd..d68c6c91 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 f0dacf33..703fb9de 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 4092be6e..765c2aad 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 7ea6e9f0..0f8185e4 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 affb69c1..9e34c92f 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 a3a3518b..0d985abc 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 80796e2b..cfeab7b7 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 02066af9..32177e64 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 f2ec58c8..cda88213 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 94ed424d..a5cfaa13 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 d5e97afe..e4295e4a 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 8e9e4c0b..7636e0f0 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 da8464e4..f3d91b39 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 f4ed0c38..bb8184dc 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 c5c94ad5..6e6ad22c 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 c6317955..015899bd 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 65f7881d..b0162e9b 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 24bb9042..c460eced 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 74a22e10..aa77b8ec 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 7dd1f371..407dbb90 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 eee4ba76..7079906a 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 d00f70ba..6989c8e7 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 c91bd587..24ca4fa6 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 dc3f9426..710cbeaa 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 b793667b..e602d007 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 82ab8a2f..6586b3dd 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 4603afba..8aa411f1 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 a0750958..cbf2b659 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 6cb889c3..1a094acb 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 28f4c13f..e9e0e8f7 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 a4d30eaa..be93a765 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 19ddda75..d4ad679e 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 9813b839..75bd0f59 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 bffda871..3e10bc32 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 aeca3e99..e2b9d632 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 b17b8d7e..f0153b85 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 2822db5b..e2710fe4 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 af626ce4..b442f359 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 a9617326..4b995ec6 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 2570d83f..4d7106aa 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 f2f42460..a5218c78 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 def558b8..ea47331a 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 125c0eca..79c62a71 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 f38ac3f9..4a1674ee 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 f787db89..4162549d 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 445ccdbf..45b8beb5 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 5c092ad0..718a1b34 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 b5881d43..33781683 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 8776e515..1743d80d 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 85ebae46..812e0ba5 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 4580e3ad..de4026ff 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 a26fbf3d..ab1e96d7 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 5570061a..9e880b55 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 9526c00d..ec4665a8 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 b26d25dd..d5c1cd7d 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 f0740626..538a7b4d 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 8c56a6e8..88aee298 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 f50a3434..f7dcf7ed 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 9dcf3d35..069fe643 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 703a06dc..89d78ce3 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 2aa589f8..47d0f7bf 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 492e7307..b30b2ae1 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 571e12a0..a5074a90 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 becc3ded..f3b9cd89 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 959163e3..e11d970c 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 d167df58..75b76054 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 07188db1..9d1364eb 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 94c6f2c8..ee0c445b 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 fc21080d..b7c01d19 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 f235f4fa..e52d476b 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 8f12eb14..b30781be 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 01def69d..ce5d51a5 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 d5f5d28b..7aa3004d 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 3b93f6e9..ed51bbef 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 eee71221..402a66bc 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 7ea95ec9..878aa6ac 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 2aaf52fa..d11f0d15 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 ca431e29..84676c8b 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 1dc9c13c..bb15911e 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 03006a0a..481f95f9 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 002d39a9..46d06693 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 6058ba3b..2609749d 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 58df65bb..4ea9d1c3 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 6decf4ac..97c9d9e7 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 468b4a55..40fe790d 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 4c74271f..f6fccd4e 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 0938aeb9..be07c53d 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 8b925e21..cd5d69d0 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 281e4a85..13afc016 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 e8a0305a..e236715c 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 fc4d9b86..049ea48d 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 0fe3daa4..03f30456 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 d343fe9e..f81d5ef5 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 20472a16..e1acf479 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 a3f3f1d6..d596d4b7 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 19b2a09a..780d89ab 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 41a06d4a..67eeb46c 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 76034af3..e9117ac1 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 964fe2fb..ee335e2b 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 75619d95..4bbbd551 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 3009e8cc..aa963e75 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 67bbc5ef..d38e7d0f 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 d3a5ba7c..5f57a3c0 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 5ef08470..681ce73b 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 4920ff03..84087d10 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 0047bd3b..b1d16cf4 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 e2304fe3..b3f112b6 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 3ce5b27d..62eb18f5 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 f5294afb..885f43c9 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 358d7c29..f074c98f 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 0cfac371..16ca7ea5 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 6af8aaf1..964a1796 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 cae4b2a4..7c71fcc7 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 3801f06b..86b55d21 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 11f598ae..09d29ce5 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 4e514b24..095cf3ef 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 a97887d2..4cbcc7df 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 8cdb9bfa..5c6c3e90 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 2e82851c..f781519b 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 01467ffa..ae676d74 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 e2cd96b0..7d1fee37 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 b10398d5..6f849039 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 8a5b00dd..466079c6 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 913b49e9..4c4b129a 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 ff5b5231..c7d5949f 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 e7321c5f..81b94e3b 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 594590b4..0eb2c045 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 77d105e6..c5901017 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 4a538b06..bbed198c 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 8d72e510..44fe7d5a 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 640a9fea..a0952310 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 118811c9..c05f96c9 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 295f9640..6ac8c509 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 d86fb4f7..7cd00f07 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 0a1600ae..3cbdabbb 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 da24b170..2af44206 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 556cf9b9..41eaacb1 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 590a372f..48c8667e 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 f2750a18..419d70a8 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 926e3ce5..251f8d7a 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 8ba1fe60..9bb1d979 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 c63bd04c..d496aff7 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 c0cbfaf0..ea933b00 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 fddb12e1..a3c5a1d7 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 fb9ca214..5e75e236 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 9a74f2c1..641815d9 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 1ffd89d6..38e9c638 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 f6e66eda..912d36fe 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 b1c73396..974def0b 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 728f5b7e..69666a44 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 84d2c126..7637a6e2 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 ade58dbf..c4516b23 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 1619719b..2f9e614d 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 e62c2b5b..20c9099a 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 8b9ef13b..5bdf97e1 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 0884e8a6..5e0f7e8a 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 c8518c9f..a8b38eb0 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 6325d017..d6e32357 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 03ad64bd..e65f14a9 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 295d416f..28cf821d 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 3df7d9cf..bc1194c6 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 966a0942..9fa7fd51 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 4e9bfcce..ab76d1e2 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 009be72f..de1362e3 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 19f8c69b..ef1a4082 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 d3e3e946..d6ebc1b7 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 ae2f93a2..3d7a1216 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 9dade188..ed190c7d 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 f94ced1a..23e5eb75 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 f37e0b40..49a398ea 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 dfa151f2..8475c333 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 2bfddc12..e73a1562 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 2ee9ff8c..31487326 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 d961a5ab..fbced72f 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 121e7a60..47acb00f 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 7246777a..ce744f80 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 53495d7d..50088414 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 3a44396e..2193f2ef 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 ae986201..6639a8f2 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 8b589a07..08404d17 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 c72994ba..f93e42cf 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 e451735f..fd32e171 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 0a4dce45..08122a1b 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 16af8822..5d97501a 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 fd28e72f..d10c7e33 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 01ca5223..4b75a3d9 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 15e0def3..f34b61b1 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 7f243f2f..357ff0d0 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 4020f044..2eb31ea8 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 e1a5bc92..5dc5ccbf 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 6718892a..26ce1ef1 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 6acf4810..16b3bfed 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 85526ab3..ee85d992 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 06a39509..8e7eb14f 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 c1a69a84..53c6d58b 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 c0b6935d..0e50957d 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 7b45b03b..8f60a3b2 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 8d5eae29..84a16f7e 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 3b9ea984..a8fc5363 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 60da527f..889a0624 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 de5abf77..c891f8a0 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 869e8421..9e18631f 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 864b5592..1826e2b9 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 a2364e19..9ebdd6c7 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 f3c29417..d9ac51fe 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 033f2351..9de5fb10 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 e186710a..72091951 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 cce0018f..ec03740c 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 90ccff22..66cc5fb6 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 cd5f0f6f..b5890858 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 3dbaa8b1..7ae38a63 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 fadfd75c..b1126c40 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 6c01d649..62ea21cc 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 d5d82e8e..d9e9855b 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 3d061f2d..8a500083 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 118b90ff..64b33fe6 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 5c56dfeb..2afb2c29 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 e975cd13..0b677987 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 8fad6fc9..97c1aef6 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 ce0a4aa3..28cce650 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 5c0d7cee..cef47cc1 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 0d207307..40b16972 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 fac69150..cfe68ec6 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 be4f8ac0..ef715914 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 2781ed35..7e17729d 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 c975303d..3944b751 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 0b9e5d87..a646b523 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 d55ca040..0c9dbf9c 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 b02a01c3..3f806bfd 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 6c22b9af..a193a713 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 16426a8f..229ee7c2 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 01204d4f..f9462c6f 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 a20cefd9..66553db4 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 d76726fb..b430d2aa 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 2d4fec27..08ae007b 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 834a19f3..1708a6b0 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 01217436..59edebc7 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 fe0b3f2c..97057c67 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 f07d205a..2b938092 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 2fa23a9c..64757f2e 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 32dc5fb1..4857b0c3 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 e3d7a93f..68d2874b 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 31d921d7..6a5ab6f8 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 ba3b934d..36e6bcf0 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 27cbf1b9..ede62dcd 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 c698f2d5..61b7733f 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 ea73c9a3..a9080990 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 46b983c0..87685a4c 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 856e75c4..b958620e 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 ac783482..c8bcd1f6 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 2dd9992a..65463c0f 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 418c0b34..91f1b612 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 179ee152..efef699c 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 e37e614e..dbdea52c 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 656296e5..62bc5b28 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 911fae5b..d4d84c1d 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 bef8f688..0e552f08 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 4f7f6a93..9f878fbc 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 22eb6991..5c6f1295 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 56dbe670..ea9e9540 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 07b07013..c3b29869 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 f6778ae7..0bafd226 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 a573cd6c..3be4da64 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 115c2ae0..8e37ec0a 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 7bec7a20..f0c75c2f 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 e537ff2e..161ee9ea 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 b5d82ace..d55d1780 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 ccdae655..b573fad7 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 5bc498e3..a55b0e12 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 ab49e4be..f41dd56b 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 5a144356..02d38a75 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 ec5584fd..17cdeb6f 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 a927602d..82720006 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 e0813a7f..923f1015 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 8b14d234..463db857 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 2c43af5d..02a2a9b8 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 3709c7ec..cc20461e 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 59b29768..951ce4be 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 2678b4f3..926dc655 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 6405877e..d1d39ffe 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 5ed8f181..0f4beb4e 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 36f3151c..f6eb429c 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 16c3c904..848166f5 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 3e202743..9d9439db 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 cbb9cf4a..1acd0dfe 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 94471474..34b41a25 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 ec7938aa..75cdc463 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 09d9d49e..606029cc 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 7fd5fc59..3c8b9ec0 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 00ede37c..8bc4e5f0 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 6b3403c7..39b78a22 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 71bbccf9..474b85c3 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 db947c66..82916598 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 01fbd7e1..f5c0c5e0 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 ded1cf3c..b51d4eab 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 3cd737b7..1d56d622 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 5755686f..ba125b0f 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 adadb536..1ed98654 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 e39fc1cd..160ad33b 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 73494eeb..5dc3cc58 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 5217e63d..0c8cfbe2 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 5b3a56a8..576780e6 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 58f9d749..fb692716 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 2e13f458..c813745a 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 56bd243b..121b63d1 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 1039cf81..c40b04cf 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 5746770e..a5becdd1 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 0d4b5f0d..5460dd7c 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 834946d0..659498ad 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 9cd406fc..e5c3edd4 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 522a3238..98f06897 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 e34c05dc..02067d9d 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 2a09102b..df1a5456 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 9dc99f30..be9a73d3 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 34d55005..fa0adcab 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 3baa9e93..71d2ee5a 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 8b7e3e0c..866a53d8 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 ef848542..01ae353d 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 862bb6c2..d23e2d92 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 e381599a..4da1b04d 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 238ad2fd..33755ef7 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 54677695..33a2348b 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 61ba88bf..7fbf858e 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 776528c1..9dbfee20 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 594089cd..0e78f603 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 091ff696..73bdc0a6 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 a2981396..0deb5217 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 e0db89ab..b8b69a3f 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 d342511e..aed156a2 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 71a08355..5e411f50 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 18eda7da..78408833 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 019fd2f2..0e2c8f6c 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 f79c65e9..6a49bf4b 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 8adb11a6..b519ed58 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 220497cf..f1ca4da0 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 feebec03..c98a8385 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 657ac5cb..ba7963aa 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 fddbc6e9..df60b8f0 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 9c10eccc..ba1e51c3 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 b5a30947..d66ee375 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 a2cc6bcb..a62e2391 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 ddba6ac1..5b098ae5 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 e42611be..cf50776e 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 3c3ef1b1..d801700b 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 91ee29f4..5937c456 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 10027b1b..b230a36f 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 64852a4f..84580798 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 b9e2f201..d42d4000 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 b97553ab..cdddf3e9 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 98f6563a..7b1be566 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 8455cb75..00ffde28 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 d73c06d8..3ecea85e 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 a85bd9cb..79e096b2 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 d4afaed8..49059cb7 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 ea217736..dbdc665b 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 3c919be3..3cebe9dc 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 5c128529..8add5ff6 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 ed4a0def..fdebf977 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 8fe9f3f1..e07a53de 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 4856d6c4..59209117 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 55868a9e..adeefdc6 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 6eb89788..c8f2f3ab 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 95366d5d..39cafe58 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 a86762b1..f5031010 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 44982425..d4fb534a 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 a07eff96..08ad827a 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 364e36aa..90372e69 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 2e5851f8..39d478b1 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 04d56f83..a421eeb7 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 fe59e828..f432f87e 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 2ecb4ae1..73741361 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 3d291cef..d770baa8 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 430430c4..602af12f 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 6e8cdb10..05e800c4 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 20d2cd24..b1006c45 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 6a78bf3b..9ea57cb6 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 f4dc25ab..347b4777 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 d9a17e4e..69b4cca9 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 74af92e1..43a7bb05 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 4b00aac1..dc6ff92b 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 33104e51..831407b8 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 0d1016db..359785b1 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 2060085d..2d1f968e 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 0a980307..7a2cbb0a 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 3ba1f47f..087b3758 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 94e36410..2b4763ae 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 ef986d0a..f81ab9a1 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 9289ac1f..7b99e59e 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 882ad68a..0ced59df 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 1c493664..ca130045 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 ad6fdca1..4103b20a 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 93fc7d77..851b49c7 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 b3f3bd94..0fbd89f1 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 92ec68ad..a010bf01 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 b5978e97..75f0dce4 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 2ba6c6bc..6ef791da 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 cef69c13..07d7d4b9 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 c8784b9a..bc443840 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 b6065b6b..8b5fc746 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 ee35142a..fdaca424 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 9b81c9b3..f50ad1f7 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 fb65e327..0d0563ca 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 1e91d1aa..19228483 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 647e8e5c..83c24dfa 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 c5b6446f..72d0f0fc 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 985762c4..6a6bcf32 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 1bc9966d..0c3dc0f8 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 98a9d0c3..5d73ec26 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 c9661c26..58caa7e1 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 4a382557..51c57b25 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 786e99f7..a079931e 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 a9f16b58..1c7e3557 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 049c69e0..cc29316e 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 2511796b..73117753 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 f0d405ad..36c23af1 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 0ce6a8dd..d2ddb5aa 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 f6832920..43facd0f 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 53709231..97a25caa 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 f8d0b6d0..af52c8e2 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 2b424282..a0fc414c 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 604b3cab..dfedac5e 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 1a6a04c9..654c9064 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 b564cf01..12ac6e8e 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 72e889dc..1c7f18fd 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 c1c0763b..2f14cfb1 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 9aab56db..79d1a0ea 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 dc54a137..bc983c66 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 972a9ccf..f99569db 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 a891992d..c2822327 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 95493550..0eaee361 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 e0d717b3..d22c968e 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 3ba8a363..94c22acc 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 f53a883d..e21044c3 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 541161a0..2541e725 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 b8f4c332..5a833c1d 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 fe0a37fa..2d592cdf 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 1deee7bb..8360f0be 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 2262473d..c36447f7 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 fb136e8e..6bc50771 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 4d9df5d8..c5fcf8df 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 7acc54c2..ad50a520 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 cdc179cf..c6da5add 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 0fccef1f..4a5db5c5 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 934b12dc..2e02936a 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 839f9239..b1e97bc0 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 e170a66e..a78b7321 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 fc2852c3..cade0dec 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 26bc0989..3f598169 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 2174f59c..63cd7824 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 f0158d01..71f5f168 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 449b3f50..cad468c1 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 e445d2b5..56959497 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 6e26d5ad..c90b5f09 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 5f621acb..b46f4fce 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 f23af19d..bd69179f 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 6f0793e4..3f38bdbe 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 4dc47025..3974025c 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 bc2df37e..2a4b4320 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 bf8a9211..54a1026b 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 aa00b5aa..ad56643c 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 ab8a8957..5edc0539 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 c48ee475..0ae9c695 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 37798000..e03bf5c5 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 4cc4bcfd..0dc92c2d 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 6d266665..13d810ba 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 561e4e58..499cc40b 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 e6da16d8..426b216c 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 e1a3c507..bedbbe5c 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 5a8557a5..366123c7 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 8be4ee3a..7e5708c6 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 9d06f108..04f0798a 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 afca572c..6782be64 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 cdb85207..2225b344 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 c8034413..28360677 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 0321aebe..7f6ede6a 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 1ae83309..7ef6fbf7 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 ce905aa5..719957da 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 e3e539ce..3ad3974a 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 2288b701..140b6538 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 e158e2da..ff7c1178 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 5c0c0022..e3ee8296 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 9c634ae3..66865b63 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 c6e49cdb..aaee71d2 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 8405d312..0a985d2c 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 ed2305be..6366c8d6 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 d43decfc..e7b4fa7f 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 dfb4284d..ec5c077e 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 32d60b05..1f123675 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 896a0386..c82480a4 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 9e119726..bb19f45a 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 0aa8df88..70f5ae4e 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 20d0f457..9487b97d 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 af296982..40f77720 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 e4e47f97..9c8b10e8 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 26fe2199..adad73e4 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 862140da..5bdc3b70 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 3e35145c..92582627 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 a12e0157..9d6258b8 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 f5b8d993..452ff035 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 59ce3ac7..f47b536b 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 0c9e3c9a..42e4fe0d 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 dc15163b..37583a07 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 7071dbc8..6e31f20a 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 bc8dfc72..527d54b3 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 e58824be..b2d82f07 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 77cb3f26..c9ecd907 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 f1a5e505..a0268d32 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 235cc50f..15cf8112 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 564d4fc6..01392729 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 82c46c3a..40ed9536 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 4aed2a3b..7877ea50 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 af8e1a8c..e9569d2c 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 9ae016b2..26cd5eb8 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 04be5454..2cb9f6d7 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 acbbc680..59e35e0d 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 87ddba2a..23388e41 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 b9cd92a3..1ea67aa0 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 6a52b76d..4dc1a675 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 f3866851..9f08040d 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 dbaf3ecd..9fe54df9 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 863fa622..31aeec71 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 054a3783..073489b6 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 371c7d5f..bb921e4b 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 4578936f..7e301a42 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 2e48663d..eda84bb5 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 0f55e6f2..c4a32976 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 c59fbce0..b1f6b50e 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 2cfc67de..98f9dfa6 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 f217a1eb..368c2a2e 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 aa9f2122..0219a4df 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 5bd9b06c..c2c6e856 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 6f046d5f..55508eda 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 c9c95494..ba4b6c47 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 775800e1..aa187bbd 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 4cdb319f..78791b5a 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 ce3e94f9..55014dc1 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 81e19e72..f2175262 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 ee40d309..9dce36a1 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 12e8aa6d..a9697b7f 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 8c160da6..0f516fa2 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 0494365a..3d483e64 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 404d648e..4ce1db6f 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 79ca3c77..acffd68f 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 6a0ab965..fc64e3b6 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 544dbab1..42435bf1 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 c279b124..5bb5712d 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 686f1704..96d44c37 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 a77d065a..c465d247 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 af48e239..fbfdb08e 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 a67cdaf6..c6c6c6f2 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 522c8ffe..3575547e 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 ce4bf970..77a0a8a3 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 f362b6a4..dc18782e 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 e52332d8..a0da65f6 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 e7998966..0382322b 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 f36b9b8d..d301e8d9 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 9d73cffe..4edc95de 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 66ede6f1..bf2a9771 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 aab488ca..dd7caf3d 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 113d4ccb..45daea4a 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 67d77331..ada0aea8 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 8623118f..20216e3b 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 c570367d..f7400eb5 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 d1c9d55f..a8fd7ae3 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 2c4dd78f..e69374df 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 4dc302ff..d40f86ca 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 aa59b460..23f104cc 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 0e211847..7422a86e 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 5b07ddea..724f0d75 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 22afcb8d..540de8ec 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 e1e93d8e..038d3d95 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 b6da997c..6d540b40 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 3b96a494..7383b6b6 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 5ce71441..5ab21d20 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 ff117755..ed111bbd 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 629e45a8..adc162ec 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 5914b007..9be17ae6 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 33c6519d..c2d26ae2 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 81192e40..dd094c78 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 47d108a0..8e67ff87 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 9d5dcd73..436b4b3d 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 6c306502..62232056 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 4530238c..c9e206fe 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 db1a829e..59abd10c 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 4add7e44..09f8535a 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 ef86a615..9d8c952f 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 46c0afdb..c5fb1850 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 d1497ba2..8f798bc2 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 f530b2cd..be770803 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 664134d9..0143242e 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 b7530bc1..b5fd29a5 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 bbab7bd3..d259eaca 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 5d8a2c95..c64e4ddb 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 ac94a640..e0086240 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 e8da024a..10a5e720 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 a101ce9f..c7f91e38 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 589a63dc..d1b7a078 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 633a7faf..77c4e303 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 9fe1ec6c..32e6cc91 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 32013838..ba34d2e4 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 bf1176c7..8dd4760c 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 d7654395..d8837652 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 d7f4e7e5..bb1af4fa 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 1a661666..2562cd5a 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 56f019b5..78bb165b 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 8a07cf2e..a0369df7 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 8a5724cb..974ab05c 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 7045a6c2..f3b7b0be 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 a78444df..51c17a0e 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 b8be2ae4..186f1ec5 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 0f80a4a8..fa4f060c 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 c41b1dc1..2590ac59 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 c0d935fa..0d4819ad 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 a3acabdb..9b37f0a2 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 70117f73..c990a7f8 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 cd032d70..fd4498aa 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 88ff4699..5490f78b 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 9378ea68..0b11b544 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 e53dea7b..4f978aa6 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 1d61cf80..93dd638d 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 39c4489c..4b2e6ef5 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 411cd874..f6efba82 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 9890376e..91f2f0ba 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 3189f613..36c75644 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 7d4acc1c..a42d8706 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 2f0cf8c0..21df576a 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 840b7d48..8f41a65e 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 b0200b49..40d8d646 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 236f2407..802c182c 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 84d36191..5177cf47 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 37c93c78..4e39e5af 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 56047e96..eb1638c0 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 e3a63146..cfbf01d2 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 86e25a98..b808da47 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 2a98dd74..c4efa3ac 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 ac4f5ee5..44f76bf3 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 f9b702df..5ef98751 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 c56f98f0..c28e6ffa 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 6360cd53..800f34b6 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 0b649232..9148bedb 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 7dcc5054..ab841421 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 dc8e9206..94d75beb 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 22011bd2..aec6cc2a 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 a430a3ba..a141f62b 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 9ebcf837..e65d856f 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 6fcc260a..5bc22156 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 f3ad55ed..f6f1b272 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 df342e0c..1f4972ba 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 f8a838d9..7ecd8186 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 27d12207..eb5104b3 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 4ddc0b56..021b003a 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 e7820852..c40a20a8 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 85095346..b5c4724d 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 10f258d0..a3b78243 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 41c4d7bc..466b40bf 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 399eaf5d..8e60e5bb 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 25988734..09ed10ec 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 46142c4c..d19c25b2 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 41f68c1e..6db2dce1 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 33925f00..524ef5ca 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 77577c3a..07523981 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 218b07d6..7f4c8e52 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 fb8c451d..89fcb5d5 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 cbaa321f..7e8fa582 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 9d82820a..f294cad0 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 98f9c463..2733d916 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 c04d7abd..d8f503fb 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 d31a62fd..d215b865 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 355eb0e8..047be670 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 32866044..4c06cbab 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 64adeeb7..ef60a71f 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 9dd3f198..dca9d657 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 eb0e31e0..1f44737f 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 71922e06..577119f4 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 2c8a3b45..8ff5eae7 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 5fdbdfa1..193fb9a3 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 6dcc6261..35107a49 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 58e64f56..84072b67 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 3ba2bfa3..3a1c42a4 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 eb066eae..f2bc6b87 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 6f6f4a32..26f5ac79 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 d78c4a0e..590607b2 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 ff681e46..619e88df 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 9a18462e..012bb5a2 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 ce7c42bd..46cb2e49 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 c05b49ab..ed99e04b 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 35420461..2a197719 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 d22196ae..949b2581 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 b67f1f7f..0334f89e 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 f0f0bdbb..20a44d32 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 df805627..e2899bd3 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 f4121571..3e3e9ec3 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 11f20afe..1f9189b7 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 50530b0b..165b117a 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 3b72feb6..d9463249 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 ed9c9bd7..7bb0af48 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 61363536..a9e0433b 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 fd0173dd..38952f04 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 f6b5e0eb..426994b5 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 d8efb9ec..9b4bb05c 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 97e9fe45..aeed9b70 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 86422655..775be543 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 f51d35b3..a1a140ad 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 fdcd71b5..f8e00c36 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 10bb68f2..5010d548 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 f0f55700..ec5ed452 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 09075085..9ff25b77 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 4dea72b8..b9a537f5 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 d35f4cb0..b6c59e67 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 8a114450..9cdb6a08 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 35eea3b0..1d6957fb 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 bd366b90..b5b59402 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 8a29e035..c1f0ac0e 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 d139bfb3..795a9afc 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 194297e7..190052ae 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 54e532c5..02ca29bd 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 c73f303e..c20c4f5b 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 1b56e555..a1a4f3ac 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 b1af5b01..ee712eff 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 bbf28c3e..b23e2f3c 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 2f0978fb..c67f6726 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 4b0ff33c..614b9b31 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 3abc6b9a..d26172d3 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 5479758b..669c57ec 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 b4a20567..3ae1de2a 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 1b28f97d..55fb2003 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 705b8a90..150bca9e 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 ab22e812..74d7685a 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 b225594d..dfc67da4 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 5171308a..d0e38749 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 2f9b0b5e..6f97fb15 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 966a9935..50e342f1 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 5254a2c4..e84cf7f2 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 3a38eb1f..b9d4154f 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 a5467328..019bcde8 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 8025d10f..3390eed3 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 994a6bd0..24a2d9b9 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 22ee186d..6ccf5937 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 6ac28c2a..7d4881f0 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 c8e7ca72..f17fa18c 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 51ce1355..7556e572 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 fcc294b2..87d9e034 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 32431880..dfcfe321 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 a2988832..b64ce741 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 c426ebbc..42ff6f94 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 15c19387..23f48e60 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 f60c384b..6e0f412d 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 7e00a0b1..6d1fa4cf 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 9b53849c..423a1b6d 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 233c5f7a..9420c3a6 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 b33318c9..af0e2a5a 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 59699785..b9cc8d10 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 02fcee12..baf3bce7 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 2846c81c..b7ec16fc 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 9bc78806..e8ed9294 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 d11a2600..fb4ac0d0 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 d00f5d4c..afac6549 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 b4cd9141..4f080ff9 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 8a46141f..ca41403a 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 bada00e2..26f1d5ed 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 1f203efe..f17dc576 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 11b000a3..8f9d0f41 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 8c48a34b..e4d3eeb8 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 230786b1..e5db0fd8 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 5f4c1e77..74c1f537 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 8bbc6b95..002378bf 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 45716d0b..c336760f 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 2f0acd13..f76c8d37 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 62b1680a..d5a45f38 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 4544e962..1dd0b999 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 851b54ca..6d2fcfee 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 a59969d9..53213585 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 19fafcaf..433170ea 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 cb719283..8e50a6e6 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 353b84bd..144ea574 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 c4b1e3fb..d2758f1a 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 f15d3b87..5724b7d7 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 b2bc2eee..f52fb346 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 2863dce7..c8bff3e6 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 eccaaedd..3ca699b8 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 e748dcda..49cab113 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 a9a41846..65f333ee 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 c711ccf8..4eff82f5 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 e0d14d38..d2de8879 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 3285aa75..ce46b2cf 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 7538508e..a229d718 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 b95a6c02..7aa99996 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 2ad9cb30..48896c36 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 d4c56fa1..31dca8a6 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 53bf9719..b373dc52 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 64853b73..39c21b4c 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 a9bec8fe..7a2beb3a 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 48d00dfd..e3847112 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 ff89f6af..54aff40d 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 848b4e04..82775eaa 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 a35fb702..991a6fce 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 70601a10..5811e422 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 1172affa..6f0aa3d8 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 225722fd..7c5c2ea8 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 a352cfb0..0e049f7a 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 df7ef976..4da1e90b 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 46df916f..42e1dc3d 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 e15cf7e7..317dcfe7 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 6ca0e670..9af1a035 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 f5aacbaf..ac2def45 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 94769c86..09b7f5b8 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 fc8b5065..89b1e0f5 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 cccae49c..28bd0cb5 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 71733532..c70d461c 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 ee9c66cf..0e25e6b1 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 17591f17..607f0e41 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 0c4c625c..f0fa7db6 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 90b44736..4577a5ff 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 c209f5fe..ce3e4a26 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 62d6af11..a2d98b69 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 645f5927..892e7407 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 e7039726..b2503396 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 3e64fdf7..86d48d40 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 bcd302e6..d110380c 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 7753e091..264d6f79 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 5aaa8a65..33fe65e3 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 fd74792a..358fb584 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 6f03fe40..547ac817 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 a00e46cf..fc6ea66b 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 db4ff46e..b75638c2 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 254d0049..14a74d17 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 e4bec6d4..1bf6abeb 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 ad6a2021..f696f86e 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 57941a17..14183c93 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 fbf2245a..9a7a1062 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 b6ff4f5b..f7ee0445 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 cae15d78..ab5d9ab3 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 0f24beab..d8048698 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 7d30dfcd..34c88566 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 e540a960..2a4eeb72 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 086b1543..4ff5d29a 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 cf3aae3f..31a86edd 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 3eb60d29..fc2eb3d8 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 268eff95..2b5d76fd 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 a4c4cbac..c9f5b9b6 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 2cd21a3d..8d54f46b 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 6106eb12..46187942 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 2d86ea5c..687689ae 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 062a1c94..244e62ee 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 cc8d851b..0c62170f 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 f7a504fd..8c67fb92 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 aa13e3b8..75cecbec 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 d9b866b4..3a5ff841 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 7d24ca75..65a6217f 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 41710297..6924ed6a 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 1f652740..be61a440 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 4bc26110..1aad7952 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 fd1586a0..c849bbc4 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 cb2127d5..71393665 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 17c21641..0b976ac7 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 92b37f26..b0199a99 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 abb7466f..f5144016 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 ba76c985..d56d1b0f 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 990c8f1e..bc8f78f4 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 12a45f9f..8499d049 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 d29b1776..0dbf521d 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 2353bf1b..3c7d9a3a 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 574fd5c9..f7bd4dd4 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 17a56fef..f3cc6c99 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 cc58a7dd..802e290f 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 01213add..8dde415d 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 fc52cd29..a3ea0bcc 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 1bc3f162..c80307d9 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 817e0d5e..fd3c2ad6 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 f5e1a737..44972e02 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 3c94372a..1685edf3 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 3188b840..0c073177 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 c95d5ec2..44147bdc 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 94f3fc71..035b6dcf 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 252a248a..dc6a9b1c 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 9d55da38..7add7365 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 119bf2bc..b9533448 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 65ca0fad..cd558b18 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 c1deb64c..9894f4c1 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 9960101b..986a59f7 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 f4539c20..44178129 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 37fc4ac1..85334fa5 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 8b69212f..3046e4c5 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 cb53e5bc..06a9e93b 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 f881a175..c8562025 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 1ca1b00a..6901e192 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 1617afa2..521222cf 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 c5748b52..a23dfe77 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 c551b21a..57a44f85 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 86ca9dff..bc5a3b6f 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 3ceaf3d6..f482a6c0 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 6da20780..c209e947 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 d770d8df..32e94922 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 262a292e..09b3d0ad 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 6e280dc0..3e7a2af5 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 a003723a..d9ed0eb9 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 c1798344..cd736d45 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 098a09a1..097df018 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 34460900..983c24e1 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 5420dfa7..1b7a4bca 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 01a81a5d..8c4a5280 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 a4e8b5c7..e0d6df86 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 d64be27b..1d56ed54 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 026579eb..73368174 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 a5557afc..5c60a3dc 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 ee1719a5..24617c94 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 6cbb7410..af253567 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 4cd79be6..5b22a412 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 ac65d63b..0cb3e941 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 c8192f64..561c7858 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 b3b25f13..e2185683 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 97387075..be07d13f 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 2b308a28..ed71b58b 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 4508fe75..84777c8d 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 9bd4c2c7..c2ab7fb9 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 e9d44456..f20c3dd2 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 3102317c..9e52922d 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 b0cd4974..56ed9cfd 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 8aed99fb..6c4fd5f7 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 a51c5c70..4deb0e79 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 ccd1c22b..55310af4 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 4a512efa..c59b4354 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 502f240c..eafa2f42 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 c8ffb291..5f1ce1e5 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 fe180f04..954631c8 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 d33313d7..5cd24e89 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 ad178bcf..5378a313 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 dea09f76..cb621e2b 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 78729fd7..ea79251c 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 0b55ec73..8e0585ca 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 8dd63b83..6114cd6d 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 d94fd987..38954f91 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 51308f92..bcbd131d 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 6e3e3089..f396f21f 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 3b086a14..f07a97d4 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 defa5fa6..b4b77421 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 af1e879b..306065f2 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 4976719f..12be2d25 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 ca43232f..ff5aa849 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 f83d6ea0..f4c70b09 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 c1b0b412..0d0c1a6b 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 68c177f2..808784a4 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 45134ac2..7046da19 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 aa082618..3d775f2f 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 11fceb30..dbd474a6 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 8b515006..df6acb5e 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 3eccd45c..1c4ba7b6 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 6ae85a90..46abfea5 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 15c7cec5..362f00e0 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 98036a36..dea38b6a 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 cf27b7a5..b7b03f38 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 f2ab3820..91069e99 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 3c8745ee..65048c87 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 160aa803..6bf21dc2 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 5f89eee1..f6135169 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 d207ff97..948b273b 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 be47539a..419aedc5 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 eff07fa9..c6753ad6 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 7a1311c7..a8fb5a01 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 c01b123e..ca2ed00b 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 fe4daf23..63cfa1b3 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 60465834..69ce3c3f 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 46cb0449..d6c83794 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 7a85c570..dec7e5c4 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 700afcb7..4fdc632c 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 59a4ff25..e90dbd61 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 97a9f66f..620c9f3a 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 204147f8..140ae54f 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 bb1a9b0a..4cf10b38 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 730e25a6..d450e5da 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 28e6dc0d..4466d2b2 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 285a2462..f2213e1d 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 ee5f4954..5735280d 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 4ab32424..d552b9a3 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 7760a683..a5f60f5e 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 0b68e764..09d6198d 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 efb06888..861f6113 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 a3375969..0a9a2065 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 9484f519..bd074403 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 9a76cca6..ce2519c0 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 7261996e..938600ec 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 dd0a2c6e..18c4eef2 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 644011b0..6e0657cb 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 25cddda4..bbee4cc7 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 0f4b0e3f..ab5aa2b7 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 6c8493c3..f953a81f 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 97663227..5d40edda 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 3a6621b0..ae542747 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 5a872604..189f3a01 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 0a7063ac..79c04a55 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 0e43f9ad..f0b6c735 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 459c2e88..fe0102e8 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 ff4dd87a..da0b5bce 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 2afc2023..5f79d7e6 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 33e56a32..bb8c9f76 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 4fb804dc..a6d31e4a 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 c5c3d826..9a98dac3 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 73b85042..de81530c 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 2a3e3058..84975997 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 6affa045..d83f110d 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 ff3b6def..4596579c 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 0d3de12d..a3404ddc 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 58735d1c..02e38181 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 49e6fc6d..3e324f84 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 59e45a7e..7d5893ea 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 8b9a6aeb..91901cfc 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 7d635562..70f36eea 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 4791b6fa..b7c9fd97 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 bdc9ba6c..244efa8f 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 88fe3abe..b6cdb3b8 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 31a9e9c1..86afa3cc 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 14377104..de44ee52 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 7c05fc4b..fbdd0b9b 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 415af65c..d9a567e0 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 b7598bc0..a55d48d4 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 20c2f706..5bdc77b9 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 dbd83781..880ae858 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 6fde01e2..42edace0 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 e32c385e..1c4eda63 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 46764baa..b7d4593e 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 2c12adfc..8861eb7a 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 d46171aa..1e98fdad 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 d86a6148..787d53d3 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 f64a12d0..5188df91 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 f43ee4e9..01a28b1a 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 9c301f96..5074d6c4 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 93af8417..ca5e8ec2 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 b67881e8..7aef9943 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 0e5d8a8c..4887566c 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 85f3bf99..e00c5e6f 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 1590ea4e..e93c6832 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 855e76ab..f7023af1 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 8464faff..7238c4f5 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 5d37c83c..baacf7bf 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 3d24c4df..a4f823a7 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 8fd26482..177ee146 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 de9f54f8..18c2a311 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 7b5b74b1..4351340e 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 bf55c7fb..89265694 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 11952a14..266aa57f 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 6011ba56..8e87c6e1 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 0410db66..5003ef49 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 a8e10ecb..aeb79e3c 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 1c23f586..bd9c335f 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 6ff8b23c..f1b0d4bf 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 4850e839..7d653953 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 ab767f1c..14165b9d 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 a533b85a..2bb7db46 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 a08dae23..922a4493 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 587cb743..c22bb1ee 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 b3e01079..6dd5a49d 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 d5e44d79..42dd746b 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 742e3d42..77d8c78c 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 7a9eaee1..a6f1bbb9 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 0526ceba..bea20fa2 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 b4695393..c11ff4db 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 1b206d92..edd78a03 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 559f7bae..5dd534cf 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 30166020..de4ce9fe 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 91d41325..37c0b1ab 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 e2075199..73838ba0 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 a48c227c..93e635e8 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 752ba710..764786e9 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 5d005f4b..a2f8360a 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 fb9e5ff7..5aa36d95 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 dbb3f545..e0b926ef 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 143cd86f..febf9f55 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 615c6fe2..8a87bb56 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 7b067d13..99ce09cc 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 48e169a3..9c0b1cb1 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 a6983f52..2ae5f570 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 1168ea79..d6e17f9c 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 fcba0edc..105ba279 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 b0d3180e..4d6be74d 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 c353fb4c..a609da9c 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 741a3bf1..1d4d2128 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 53428493..804edb20 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 ed1e77fb..1b3c8ab6 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 dc0e10a6..f6d5d5b0 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 7880c808..efd3567a 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 96d2c967..dbfba431 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 27ff47ff..103e9dc8 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 125941b7..63589de4 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 ef963379..7c05dde2 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 c0f55dd1..9caafd5c 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 16606202..fe553887 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 79b0164c..2fee6157 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 045ab109..581d79f6 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 798b03ab..35fd3785 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 b7cfe900..79ae691b 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 9fcec1ea..558735c5 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 c7a87472..9aca8bc9 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 8189479f..ca81cc6a 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 ebac7e49..19d8a9ca 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 7190969c..c5704071 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 2b2a2505..b88e3e72 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 c3f7f99e..65e7b011 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 f8d9000f..43898a3c 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 2340100e..0999effa 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 266faaa8..3acc859a 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 895405c0..5a1edb61 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 b0b521c4..fd38ac29 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 c3f61591..04519a67 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 abc6961f..ac43f42f 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 ec7373cf..b9210afa 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 8550c54b..6bc45134 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 00052ba1..95e6dc22 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 6a8b64c9..a4a4a373 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 1acbc36a..e49b1c34 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 60f00b05..9c18366e 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 947089b8..f788b32b 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 9016c406..a7811f5c 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 d59ae292..d6455e6b 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 11e689d3..e7be4c54 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 22b1b3be..48aa6fd4 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 6471d792..cf04dcfd 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 eadf036c..93e62678 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 412bc566..01e72877 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 1b53da7e..20c97fe3 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 04ee4dbb..55234ca2 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 c0402569..85a14fe6 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 dc09271d..217f0802 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 972f9f13..ed6b8cea 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 275afba5..dcd671a8 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 c391a504..92be4247 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 ecdad3ba..5ce637a5 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 bc197bbe..873c3217 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 13dd1ca8..d0bc3c5d 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 ad426807..a3ab000f 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 3336ae76..36505a8b 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 abb3a64c..7d72d8e9 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 2755cb40..0d69a603 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 46b494f9..de0fd315 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 24876a1c..cfe22f1f 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 fbfcccca..acec796f 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 dcf46eb2..03229c0c 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 2d578dc8..54f06008 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 0d450461..2ec561fb 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 8e8a2300..431f1f2c 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 59daeff2..a48c8e94 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 614a233e..35943f5b 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 90b9036c..aaa20810 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 313064bb..458a242d 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 51a2ecca..de8d3c15 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 b7d8910a..fa3ca679 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 8caf8337..d27c0c71 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 62174ede..ffe82d90 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 f4d37df7..646221a8 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 33d6975e..ed787cfc 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 bb5f9c1a..c24e42a0 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 850e2dc5..ee1535ff 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 ea5d2157..72ce36e4 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 6694050b..70bcb56e 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 f66588b8..7d42c5da 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 399eda22..85ed3584 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 9169f71f..65bf2922 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 6be2eaac..d56f1574 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 7be5ade6..ec8f1ef0 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 defbb30e..dfeafff6 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 c2c3e163..ea239862 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 53a958b5..b40e06f2 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 61c7b8f7..2704aabe 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 22eb9962..9c09e770 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 37c9bd0d..69d1006d 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 43783bc1..9b6ef77d 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 fe181407..6872f306 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 4a5f8906..8b4b4987 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 2cd06c9c..98efad2e 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 09518027..e2efd0d2 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 6949fc29..13a1fe32 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 7cf6a9d5..e47ad4a5 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 eb1f76cb..e7fc9358 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 ff7173cd..3d65c0af 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 ef11d4a1..fdbaf59d 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 1bece9ef..48db68c5 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 1d8dd7e7..1674c49d 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 ee1f2301..90c2c1f4 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 752dac31..24604c00 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 8bcf46fe..2f0e391c 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 848cc2e0..bc5e79c6 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 49852158..81c74f87 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 4ab05548..16bba1f9 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 73b7015e..1eff99c7 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 b080acc9..8b2daa23 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 0b4f79d7..be334efa 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 1b5ecfbb..6d7d067d 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 1d63bbba..b1d9d337 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 ba6f31ea..136c5bbf 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 942a8672..dcb569a0 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 4fb34650..dbcdf533 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 45e57cfd..40b39c9a 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 3ee6bad3..230c6af5 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 d31b007f..54a1eebc 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 5ccf0395..0e9d4b84 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 f00c4d3c..4457f24a 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 72c8e17a..c16b67f0 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 ac25e956..36365cd5 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 8865c615..2b481897 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 2d3b368e..eb9693e3 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 1cc94f56..e189c2e5 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 ff1426eb..ee439ae3 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 46ed6520..9f4ee261 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 014efbc1..c92072d8 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 01dc9bfb..2a79ade8 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 9c3c97db..8bc51f88 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 0ad8fd85..b30b3b87 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 ededb755..774dba1e 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 e3081be7..858c6a1d 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 af512526..f4fddc8f 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 ad9caf30..b1ab94f5 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 4d55f7f3..cc293d84 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 6c18bf44..a5c50093 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 ae106110..a72b51a7 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 40a132f2..0e45255c 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 4227e59d..a1b4633a 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 e4b40f02..3f7e4cce 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 91cbad27..897e1e74 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 6092be4f..97e2606b 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 ec88c4da..0b984b11 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 8425f1e7..eaa6679b 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 20fdbf38..7385006b 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 4ff04065..8b01e205 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 8cbe6227..80a10d82 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 f5da3140..3521ec2b 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 a1ff342e..72200e6c 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 78da2af2..40108da5 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 4040db27..ca1fd682 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 77d25b55..57a8a932 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 9d152108..aad6c50e 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 aed58e10..1728f93b 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 be2562b4..dff45ee3 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 59cbfbbf..86323c44 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 1340baf8..31b22502 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 f573a320..330cb58b 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 133721f2..d3228af5 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 516c073d..8cfe5e61 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 7b83ac4e..0b82ea02 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 4ff9a1e0..0ff8a544 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 dcd5c2c3..c3df9de4 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 16f6ccbc..0f54f2e0 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 289b20c3..1710c272 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 d2e25a11..3b36ebc8 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 94341585..31e865fb 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 521fd95b..a52d3284 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 be556aa1..55899e81 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 b881f593..449aa81e 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 4069a6b8..ae704f42 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 2fb549b7..f1fc82e3 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 96c1c2ba..f1a3ba25 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 202e2311..72575175 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 0732a036..a3833952 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 92a4ce4b..50e5a0b4 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 925a8290..1c893db7 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 116112c9..80818d95 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 028ccb05..d6eb1b7a 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 fc5a8d1e..8efc2c23 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 9edd521e..fe69447c 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 9db6bb66..ff0ec98c 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 e81111cc..8e7d020e 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 dfe93a18..f9c37f4f 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 b16f071e..fc2fc01a 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 330711b4..5ef36431 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 1de706a3..55ffadeb 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 a2cd7b61..3648887f 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 62712a1d..7b873647 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 519ebbd1..73a19e58 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 9f498c7c..ed0844bf 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 ecdcdcb3..4bd85fcf 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 04cf0d34..039f521e 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 079f4e66..9a3603ba 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 ee7fba17..ee5aba23 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 c9918e56..75486935 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 06f1d582..fc3c73fa 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 01121193..e6da2035 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 a58017de..e2640c92 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 32351fb7..545448b1 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 3d985086..f54a70c6 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 174853b0..86c13ef0 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 df8a20d2..1547006e 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 e2f1b6d0..72ad2f5a 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 32c440c1..035e40b1 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 17e40c89..0c0cdd0a 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 3ac03d24..7c2511f4 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 62b3b1ea..a69463ca 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 deb952c2..fdf1da5d 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 0d8bbf25..1141b89a 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 3f62fb6e..686e04fa 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 8691ca56..b347b455 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 15e683ab..1a814496 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 28433810..a347daba 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 b6e5678f..7880c068 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 1b036a99..d1583229 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 888939b8..396fc0ec 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 1837397c..1fc64f72 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 c5ca8cd0..a662fdbb 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 6b0c0cb3..206e548a 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 d00a1144..4fa8ac91 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 fd54a762..70226a03 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 1a85a5ee..34d67942 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 aab7ca0f..a887eb2e 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 da074cf6..1d2342bc 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 fb7ea29a..27617248 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 b604cc35..3bca9a29 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 4e20ebec..b9defed0 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 f84d6b7b..bfec3499 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 a2e2f914..b7799006 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 abefd344..6dfdfa0e 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 f372173a..375fc53b 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 aaf1845f..e4d176f2 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 8b018a64..95c3953b 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 a6f69111..31100452 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 5816bd04..9e3b2386 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 38c0afed..a269ca43 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 9615c0ee..ea844d6f 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 6a792b85..6e9cf996 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 91f088a7..b5474435 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 31576463..f82c394a 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 5cfef351..9b6c68a3 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 a1cfde67..4644874e 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 0bb47635..4ac74944 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 83108564..9b619cce 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 b4431e52..71fb4f79 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 16430bc2..36e14790 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 29db8ac7..09c290bc 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 2277fdad..4fcc715d 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 95006ebd..49d27302 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 7833206d..e1eccd19 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 2f0ef06b..a1c84b41 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 5b7a61c2..b42aeb6b 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 08c2bfef..2308db4f 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 53c3392d..e18fb32e 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 374fb6f6..fa0e4451 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 97b9f80d..74b4af40 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 3d62370a..8d7401db 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 af3c1f52..fe7711a7 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 0412708d..073fa6c8 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 3028a47f..e63bb35c 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 82305f8c..8407a6ac 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 02d0913c..1f9e92ae 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 cb2e7d28..c883c606 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 7bb32e76..8029886e 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 35eddaf4..b7b0b61f 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 f63ddd1d..8668c98d 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 5c0600dc..92076b3c 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 5bc7cb68..b73271b1 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 bf973256..f7f8b3b7 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 7739b195..49b0c7d5 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 6dc5e5f4..ae5d3959 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 5943db23..223733c0 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 bdbce427..dda607b4 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 289fb43a..443b78c2 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 2a75f2c5..90ad3061 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 e06a1eff..f7db809a 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 c4e23dd3..a1e9e29c 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 fa772c5a..09ea4576 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 4946bf64..507c5b94 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 0ed3f6f2..d3fe0858 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 af52f84f..e5f07b90 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 08823d26..bf28514d 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 bc33d2a6..4c8d2039 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 46965e58..d959e316 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 3e134dcf..4b0873fc 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 47782533..dbc69dc7 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 72d01b63..79f3efe4 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 8cbe06ab..cdb9226e 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 975657eb..0258f1a6 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 fc727f67..6b12b0f2 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 5cba1024..c5dc562f 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 3e0f26a1..f39fc176 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 026c1d43..abc510d4 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 10ab38a8..55b17b7d 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 26b55123..f08dce74 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 d3f571e7..a89012b5 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 5803cc3c..24342c68 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 b19e4910..6ab05797 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 fc10f26e..d9ac4493 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 867ccecc..e586c77c 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 aab5a40b..419af87a 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 9e64b747..7ba225c8 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 606d3dab..4bfaf6fa 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 eadac85f..d8d0947d 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 954693f7..fce0457f 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 6de2cff8..5e36ef64 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 2163fecc..ddcc0f6a 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 43f34136..97068008 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 3c758e33..6eddd11e 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 92fda124..0b8e6b64 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 ea152423..e784c27a 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 7713be71..6b4e1999 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 8de107e5..a6090179 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 e1539561..450c124a 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 d2a79f12..afc02060 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 0bd947ec..0b8f1be5 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 80da30e4..4906a3af 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 5129f416..ee391801 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 6e0000c8..8122a71d 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 79f031da..7fc2d155 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 2294d9d9..182ca5e1 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 9786dcc7..7e23c240 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 a4ba9f3b..2095228f 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 fcca3ccc..dba9648f 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 50738346..a70c7d04 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 83243554..d9077e08 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 c9914fef..a3fc04fc 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 5b6e54ea..11f5843f 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 5f622730..6e7067b7 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 da63f3bf..828eab06 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 70559a5e..ca37ec69 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 912efd66..65395064 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 1be52d2c..33865aec 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 15b18b23..1d55d698 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 616a5eb8..3798997c 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 e75da4e2..28dadbf8 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 b32a45f6..bbd4495e 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 5fa67c0a..4aa12305 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 d9d5a2f6..107d98f6 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 bdd15444..48e72b6f 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 3cec73a1..242824fe 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 501d01dc..e62c9728 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 4094ffdd..11af8d8d 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 491fcc70..b239e446 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 8233ce50..786c1c13 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 ae7e2b47..891355ee 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 942e52cd..f135a021 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 75c0896d..4845b58a 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 5664b594..628774f1 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 32c98c3e..b701802f 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 5f3da0f4..470a7568 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 4ad50703..7dd4a383 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 75a7adeb..2a40e7dc 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 c82c63c1..9ad18548 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 6dbb07cd..0ef8fff7 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 d624aa3e..38e26bac 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 926b43af..9b7ba024 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 c8e5fc57..83d23636 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 f6448732..ef018129 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 3031dc59..b1ab510d 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 e0421dbd..79aab347 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 c32d056b..bc818e1c 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 56ffa62f..1386002a 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 e33e91d7..8c94618a 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 3bdfcb48..8f8e4667 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 f45ab57d..3d7a7bdd 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 8854abb0..2dc2f7e4 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 a67d0398..70b22e20 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 f9ce38b5..a685e615 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 f016e555..8a2f63cd 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 8f817459..78967b90 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 f4965c41..8e9b484a 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 1d9ce72d..057b9ec1 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 586520f9..2a6a5ef5 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 c6eb8984..4cd6edfe 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 bbd49c33..9b22df5c 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 ea949f73..603d6a22 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 a2d789c0..663bc8e2 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 31fa6177..d87319e7 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 21f756f7..ee876d80 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 a27c4eba..409ccafe 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 84978069..0b77733b 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 923362e2..38ec75c4 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 d461a749..f5285fa2 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 da2bfb9d..21d0bf33 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 14b7abeb..25ea9c60 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 3e4d4dde..9880b4c3 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 e77f9ce0..d2c1073b 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 e43ae047..9d74e7e2 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 b6ee01a8..871ee986 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 d140fe4b..50fcaae8 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 e7296e63..37f66d8b 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 5f7fb986..7eab5b5f 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 bf74144c..61bf9aa6 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 8b2d8e90..d178297f 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 27362af9..043f5993 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 f5d49d8f..12fed4fb 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 480bf983..f1cbab5f 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 241a4de2..bc57523b 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 3efbe9de..abe4df8c 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 043f963a..8649196e 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 ad97ab90..0828fa36 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 16e90fca..e8223ce8 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 28ab24a6..8a0b5b01 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 817e1788..14d6cebd 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 77a00e5d..8112ce3b 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 1fb0a195..75f73398 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 4c3639ae..16cc6737 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 c4d4b6a7..08d3d6d5 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 20269013..b59eb9ef 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 8acf57f5..2c43c862 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 0ea9a124..b5053c13 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 0d7192d7..b13bb90c 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 93eb0735..ee79646b 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 a3c8170b..6701748c 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 0fd43fd9..11d6a120 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 290a8af2..8f602458 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 913c5b43..5c4abccf 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 4b7f7509..edb282b1 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 8a13ed32..326e10ce 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 b0f20cab..9aede8bb 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 780b954c..4c8e61db 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 06bb4b00..b17a2a8d 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 b2b49736..7b128614 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 16b90d0a..02d3dc2b 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 e7650595..1666daa3 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 71b95229..1f6b1105 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 5c50a429..e8f60969 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 900037bd..52f0f9ab 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 7157dc37..eaf9dba1 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 6ddaeee1..b1b800e0 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 bc17c987..6aa32f45 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 031e0411..0aafef23 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 d64b6682..314548a9 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 3cdffe27..f073ab6f 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 fa301f88..7d19c4cf 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 701143e0..ff08d712 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 ff5e921a..1bf80920 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 b4b12df2..99eef0c5 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 81b6ae39..ef83509d 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 2992ca4f..de09cd9e 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 d3886394..0d1dd0fd 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 c0f7d8f4..36c5a220 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 9a1f37a4..6cc1b32d 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 96c7b4a2..62e7deaf 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 efebfea1..d895f7be 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 e822e17d..a1be641a 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 6d5a6727..4b686464 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 1e754095..fa534ace 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 b573a8bd..efd1a03a 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 7b502b86..294bf1d8 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 437c32ab..2e13f345 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 7b0d0588..cd3cbb4e 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 0e1f32d4..da3d2781 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 270409df..83b211d7 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 e199ff11..b9b4dbd1 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 4b9a842e..7fd4aa18 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 3ba2fa5a..10925eb6 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 b88294e2..4cbb4616 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 7a2414b9..f36d7239 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 6ad447ea..8cc77468 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 b4c2a981..fc8ad75b 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 e11b8392..85475ca1 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 c874d286..f57d78bd 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 0b6c1835..07ff9ac8 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 21f3f55b..f55e2600 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 f16fd878..234428b0 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 a7a3bfa1..7ac6c810 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 52ef23c5..ba05501c 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 4a0efc24..8948def1 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 ed4c0314..03f89460 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 2c95aba2..ad1aeec2 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 2aa42648..e1dd69fd 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 85092579..8d2f9558 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 b822a654..df847914 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 d69b7ef2..1e2caa8f 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 ec51e884..07252f7d 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 2f537f54..cf71ee7f 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 38622aac..ef598783 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 907aadf2..17ace056 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 bd9cf1de..6b0883ef 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 ac0c1349..5a49f97d 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 31b00cc9..061ece0a 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 47ee5006..fbc62015 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 734b9791..14fbf6d2 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 00bd6db8..31f35d28 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 147f5bb7..b713ba6c 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 5d093b44..6de7b07b 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 c39b4d7e..93ec93d8 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 e9a47ece..cfd961d0 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 faf033c0..15c958ea 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 d5ec589c..bb9f4c94 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 60a15e3f..73971366 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 23bbadd4..155ddb9a 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 53abd89e..e5a7a323 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 c09ba8a2..36b6c0ff 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 afa5a07b..3956109c 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 89a0a8d4..aa70185a 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 c37a1298..40a829d6 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 3382785d..1db02010 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 76402848..ce11a6fa 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 9beb2486..6c0721fd 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 219e8ff5..553118d9 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 8a714b70..9286d058 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 5670b856..c0e0a963 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 f8593b70..ee5e15f3 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 a03f2d10..459d4e9e 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 05171ac5..4bc2ebe7 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 d727be2b..fd6f32a8 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 e6654158..7f0d3726 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 0a4a1ad9..bf84d9af 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 98eea49e..39311d76 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 08d7677e..e8b85680 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 fa4e6479..f2338411 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 de4ccd6a..dbc7f89c 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 cf2dffb3..b36a437a 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 d689821e..9ecc3c19 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 cfc48dce..d4a75586 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 311fd0ba..424305ca 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 2a914f44..92f18baf 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 a5b8c936..47074711 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 3d8d89e1..5488e02e 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 6fe5f205..f8db3d48 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 bfc35cd5..8d17b829 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 5f2d3954..3eeb2d91 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 f17be89f..afdb5374 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 0fbdeca2..d955036a 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 185d12b1..6cd99bf0 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 467ac7cc..dedc7fa5 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 47418321..068eadfc 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 3d64299b..5ac7f0af 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 6d623a62..fb717786 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 49705a64..fee4162b 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 45ffa6d1..3facbf5c 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 b961019a..c5f5f0fc 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 bf12a6df..02ed8d3a 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 bf7f900b..dc0756fd 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 a468c34f..a610707a 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 3dab208a..d848f40a 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 639d444f..abb92d3f 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 4a8363f6..07bf3f36 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 7635dccc..8a8d0657 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 c094d470..c44f7ba4 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 f814d562..287a2a6d 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 3abcc560..e44d31a2 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 4d2a2350..3ac5b3c4 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 065c77f0..c189af59 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 aadff085..da14fbf2 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 5b0f824b..3e05888f 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 c54a2b22..f67a3f1b 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 d2d75b0a..5b17c407 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 3b87095d..4b937726 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 d34df2ed..ab090e4f 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 37cd9ac3..c38d1778 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 06905361..0c83a7e7 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 5fe14580..e7498b24 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 0a08cbac..47c4d50a 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 f8a3db8c..55f4f19b 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 ffadcab9..b1417761 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 392a2039..8ede0fc8 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 b2d42660..f4dd0a2d 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 dfde0a32..4f41faf0 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 a6579292..4c6431cb 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 3f6200c8..b9277386 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 2f8a5ba4..8f5ad859 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 71931680..60608797 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 716efd8e..488f01fb 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 abd221b3..3431c1e8 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 1fbaeefe..9ce2c81c 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 5396685c..f9d71e1d 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 261d97b8..b1d40da3 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 b3b9744a..d240adf0 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 ed85447e..30238cab 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 f36ed2a1..891bf11b 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 68e82120..747952d1 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 7e7c71b6..3d58d592 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 38a5d17c..6c46df60 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 46520516..d51d4f33 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 3aa46ed3..3a2727fd 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 f8ebbda6..60724a94 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 c199fd01..cec84ed0 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 709cd3be..f638b353 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 5f19c650..c04f14de 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 1a015e60..af7ba0e8 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 e5d023af..5bf00d1a 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 37a806af..553d4414 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 ce1534e1..1104438b 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 0144e6b7..caa4f587 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 5f6943c4..6ee5f920 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 a8ec46ab..82e0cddc 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 5c4e370e..05843fda 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 2402830a..ba19ae8b 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 33d74691..bcecfa61 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 e36586bd..2711ed3b 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 51e15bda..ff86504c 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 8d31755e..8dc5f9dd 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 138ed921..9c6d66df 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 b80fd663..5e09ef54 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 895adba9..45f46d52 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 bc5353a8..52969878 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 cc32ec49..9ddba0fb 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 7ee40765..28a75f59 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 d8896b79..53bfb25f 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 6e275cf1..5c4c713c 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 98c14a4e..7bf85778 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 a77c2566..0eb51cce 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 d0800256..8a3ab76d 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 87670c94..6b51b623 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 1bc3f4f2..a4553d5e 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 21f14cd4..f9da9874 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 d02c5367..95729dcf 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 cb9fe1fc..0a2be284 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 5713925d..fd2489c2 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 3e050455..845e4e15 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 70283a53..9dba245d 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 52ccc4ef..e0302ba9 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 492b47e7..9df405cc 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 108e5114..155f0e74 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 b60f6924..aaf5419a 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 4e7349e9..c9ddab87 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 c60bb9c3..f5f92ea2 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 23336047..42cf5b04 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 e90ef317..826985d8 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 c25799b9..c4f7a25b 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 129043d4..a6eaa379 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 28deaca5..309c70db 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 f3d9a249..a92d965d 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 4dc235c2..580238c6 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 a627c339..2ce625db 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 6391cdd5..4a435c8b 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 56755d8b..a907fd1f 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 f812548e..29dbe20a 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 e88fd5a0..7807279a 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 d726b278..46a6c23c 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 963f7b1f..f2308270 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 a3689c6f..c71f12c0 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 195ceccb..bebb4826 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 6976f08f..92555f7a 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 d9951b81..0fb0766c 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 c4d88b8f..fa76a110 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 c980031a..6651219b 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 2b253e97..7a3404c4 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 0d609782..98b75d65 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 ef0cf4c7..93c58e31 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 47fab4a2..e24c8202 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 735a1747..68c3368e 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 4f9d10f7..d815efa1 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 bd79a72c..f5f595aa 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 16f66dc6..eb4477af 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 71184b7b..6d3c641e 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 313d69a1..ae5e483a 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 fd1e3343..d5e03819 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 19b62026..4b1010d9 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 4bfda965..3774f5f9 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 680cb92d..71f65562 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 c3b71c90..5cd919e3 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 56a14f0f..5e8f87bc 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 1dfb859f..0cbab97f 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 3689a3fa..dad58991 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 719a2736..21d4260d 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 024d42eb..4fc3784d 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 bd123f0b..acccfac4 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 7c07af37..d9557000 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 f99237b5..57b90423 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 55d94e27..70c931be 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 4be78cc1..4ae33213 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 640ef1d1..45834ce1 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 e73528b0..3a8dd0ef 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 9a43e079..08e8dcea 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 f6387b88..08a9014d 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 71c8b80d..d27982e3 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 d91f4c92..41f091cd 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 6ba1e1e8..44395689 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 4a1f2885..6d3a5c50 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 890e3789..95277571 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 50613103..6509ca7a 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 e70970ad..ca91eb79 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 7db9eadf..a78d0193 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 7837343c..6661f05f 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 37b93c17..a211fa3f 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 f51bb226..6a8fc694 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 c2177367..9bf4f44d 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 3d832e2e..0b4577ea 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 13452991..0fe37625 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 23844978..bbfe23a3 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 c9feb378..49aef8b8 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 026a6440..9f0fbfef 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 8fe2266b..6de03aef 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 ab5a5aae..be886de0 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 3a28f48e..312626be 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 4993e555..aa11369e 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 0a2fe903..96ec892c 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 1ebe53f9..013dcf39 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 7a8faa50..20d6b362 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 ec807287..0fdcdb0f 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 8b4ddbfb..f5eea9cb 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 18fb2768..f1ae66d7 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 1107c3b2..35d14679 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 3c5ca387..625652d8 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 76f1a557..30e1aa8e 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 8e040467..1da9abd6 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 8b722e2e..1c709557 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 8c31ba80..9fc709f9 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 d4b42226..d45fb1fe 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 ab205c0b..16e842e6 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 15ee41fc..b3d527e3 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 926f20e1..cac04cb0 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 026581f6..5f00bd43 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 3f6dd304..c22b2e41 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 890a5eeb..f7ebb2eb 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 ec0ff413..9bb07f10 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 a857a8fa..b31167ec 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 f40faeff..71708bee 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 b71d4dad..e6da9b8d 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 beddd2fb..f3ebc2b4 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 531defa8..b408be2c 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 928cc1a0..7c461f57 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 e6806b97..9c697d4a 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 66a02088..0f36b4a4 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 796f33c8..7f949198 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 df015955..4f1b5307 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 028a8ad5..f9ef31c0 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 0866b4ca..f7d8024d 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 88c3645d..77270d5d 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 16a596bf..5c8e791a 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 9516eb68..a18a6245 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 01385aa9..fd79b4e8 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 e85aad28..be0d0550 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 d3e8a604..ced24d0b 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 c4437939..02a2f013 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 327e1754..c2639f80 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 ba4d632f..29bde0dc 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 088525c3..f8911bcd 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 6833a189..3676f654 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 32dc8d4f..d799cb12 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 a5f804cd..3454dcad 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 c5558b73..470b22e2 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 e23ed097..ddf20bd6 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 aec2089f..cddb4487 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 4c44f17e..5c87b94e 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 a69a6815..48f5002d 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 7cb93ba6..cd516713 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 eb40ffac..bfc87375 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 c6c40571..5058c16d 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 a35c345b..a91bf195 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 7da42a32..739647d1 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 7e4eb983..38f85063 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 f6d11340..b3f997d7 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 b915f9e0..f3d70378 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 83a623e9..5dbc3b7a 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 57240e33..ae56781e 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 edda838a..328efd3e 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 55a6220b..4576d347 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 6c2802f2..cc37aade 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 a18bab76..f6025fdd 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 4b679dbe..505d5ac4 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 59e6a601..f56d78df 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 648e71ce..392e908e 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 5a86cdeb..75b10217 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 4fdb6f79..bc950863 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 27f88b3c..2868b058 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 a96b5859..e72e092f 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 7567cdc5..1c566d06 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 968dcae6..b9ec1399 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 eb22b405..f198866a 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 59baa0d9..7914dfae 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 4e30f566..c356cb4d 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 77451748..d7d57c50 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 6b27bc64..d54248e2 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 987f5bf7..b54a9999 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 4d2b204a..008812e4 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 fd068b39..f006d775 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 c58a6a55..d6bee2c0 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 6310cb2a..d56bc646 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 16146e97..3b797189 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 e6bb324f..14d9b74e 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 a0f0d03a..1de413c2 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 4c334812..27a12491 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 8085b886..00014849 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 62466329..cf3331cf 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 c3078439..7c750d0b 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 919417af..256bb4af 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 1636ddfa..85a401b9 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 0c4541fd..2f4ea2c6 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 da7dc971..1e053731 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 4500b000..fc4d3e20 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 7c37beda..a6ddb2d0 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 c5b7436a..8cc5b46d 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 7e757b73..99e33868 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 d56d4256..2f82def1 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 9fdb5ea5..290c678a 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 9f0a1496..81dbb140 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 c87e47ca..c0553e51 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 5a73698a..62c53d83 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 0d2ca251..6e540e75 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 ef649827..fec81aad 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 61251cb3..57a9d22e 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 e7e71a35..9551646f 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 26d394eb..ff402db9 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 2e527a71..4f21161c 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 5d948265..e82e17b7 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 c05cae6c..937a9c9c 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 65e12af5..6170af0f 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 45d0073d..391f9a51 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 eed6727e..9af8d3c9 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 be44b963..a94c6f53 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 f8a6faae..6d46e48c 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 12837fff..e4326f90 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 e6f4eb72..ce7ef225 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 e72fe0b9..a7502a6f 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 b44df16b..73ef9f11 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 73b06a27..df27afcf 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 83f308d9..79b02461 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 23c734e2..26291db4 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 a3e5aa8a..c1883c8b 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 c3cf6621..d4f1d5c9 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 8dcfa0eb..ae290c55 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 a4cca301..9cff1509 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 8b13298f..7f5607cd 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 c6d85560..bf2fd057 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 d306e26e..fd3f2d6a 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 768d1baf..8186fb50 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 36efce23..1a146f49 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 86e4be15..281526ab 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 9244d0c9..dbc2e05b 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 97bcc737..8d7602af 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 6debbca7..fff8b231 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 332a0c7c..59af5a88 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 4a7bf88b..886e3c71 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 203097a9..c5abe7ff 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 38c7c066..e6a76ece 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 460ca9ea..ac65abe8 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 a7b1ff21..85eb84c9 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 0ff89734..939490c7 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 4baa2481..457b8e93 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 f7442777..a7c06a16 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 6140cb7a..f78abc5e 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 d7834f55..afaab58d 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 8b5256e7..46647d89 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 c523b660..e14b1332 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 258f2140..39b783ad 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 21e27edf..9cc4c427 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 30946263..89ab3b0a 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 883401e7..29cd6a28 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 9b0fc750..4f1cdbce 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 e5ca6ca0..17683e1c 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 e78a976b..856057a1 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 35b9800a..7f600c0a 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 e2423d76..84b62c22 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 3c5bb0c8..ad6a5cd1 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 68862675..b8c19047 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 f1ffa496..074d3014 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 51a189d8..af7e2add 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 b0d51d8c..1bdcef26 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 a5cda6f5..00ca9728 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 d545b005..0adb12f3 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 7d09668f..877361ab 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 ead3c457..5f22cd0c 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 c72e9202..4b3054bb 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 ce9e5e63..4055922d 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 39acf30a..7c26a6b7 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 6bbc793a..652bf9c0 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 290f1b04..85f6eaa4 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 b35c268a..e5450011 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 9e798e72..76c97460 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 4e001794..43b1d387 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 af2ce1f3..15246a9a 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 7c0209a3..9508f9a0 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 f79d3203..d3f93647 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 45c9400c..9ef68feb 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 7b50dabe..a9c7cc2e 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 01c4c3d6..6d782edc 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 729d1aa6..f9495df1 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 919d9119..e5a6a4fe 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 4022efe1..c28675b4 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 5afca319..ad519ed0 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 c6c7081b..3a2f51bd 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 4831ee44..3f448552 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 eae73e15..7947540a 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 4bb4b265..ed4ebff1 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 d1397a88..fdb3cfe3 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 4fed4d58..ebab27b7 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 a0e1944d..c58aa8be 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 fa39da4c..b2526190 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 f3ea1d91..687ad0a9 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 b21c6fde..2fdc2fb2 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 3afc57fa..756fd439 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 658c18c1..d9cde414 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 bb378929..07ea6979 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 57998c72..d3b02b4c 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 c8e35631..9167feb1 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 4bc7a78d..5f1eaf6d 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 0b264ab9..735185e8 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 0e6da131..7039adad 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 780ec951..b95b6467 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 ff28162e..01140fea 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 e0da5d88..51d5cd19 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 3421c2a6..5cccf082 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 347e7063..df10dc54 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 f8f7dfce..838ea6ea 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 16860552..47d95ab0 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 fae18c81..325835ab 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 35bf44a9..28f680a1 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 29f5beef..a3a6ca93 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 8c7d36c4..a79cba2e 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 72317b2a..00448592 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 056fdf66..de819e7d 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 81a7b58f..042ee004 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 a7665480..5200de7e 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 728f6ddb..87f3c355 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 4140ce55..d88ffff9 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 2dbb5005..6586b917 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 300f0162..b7b9bcb9 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 1d8131d5..85c3adcf 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 b074ef0f..80d6b106 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 74653809..2dc4bf6f 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 99cf2677..e7f51a80 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 50fc5bd8..504c0f98 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 c515489c..d59071de 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 b74830b8..758b35e4 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 d5335d5b..e0c7ee77 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 ad02daa1..8f78ade0 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 fcfe5ea5..1c41d59f 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 7bdefe38..2d25ea3c 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 1e336a37..9a2308e2 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 c74b4b26..3527a819 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 d050a877..2916031e 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 83b92879..6c8b44a2 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 b2c07dc7..272becaf 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 d4d1128a..83b572d2 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 c0d17e2e..573b3140 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 8095bb1b..e618ca38 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 3e951be9..587a09b0 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 11177ff7..3c71dc0d 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 7776ff8a..a42cf4f8 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 97bf5d62..5ca9ec28 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 990b8c48..64f1f925 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 864e8dae..714a4b54 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 7f009581..b596a011 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 2db98f89..aa8f4af3 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 c317de40..993e27a7 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 5f2624b7..d2782fb5 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 ebbb294d..b6c95220 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 1892a44e..db6a4ca4 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 81604d50..1efc6e16 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 38eb2c39..b6e439c3 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 c0b24cc7..ec9ce4e0 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 09dda70d..6f9717af 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 2a5c8008..64c46cd1 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 2b106c29..6f59973a 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 6708fabb..d97a740b 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 3c652883..d5114c3a 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 15cf390b..e27c5aa9 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 88e32574..81a0a03b 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 3cbff30a..b34fc707 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 7d90e12e..c25bef5c 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 7f67cc79..f33310b6 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 58a9b2ac..e93f44b5 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 d7bb17f9..83753a89 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 7097e11c..046c9a69 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 db327b5e..ef73c072 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 0f63dab1..6b028cdb 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 5270f45d..a02ae79d 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 2de9e660..7bd8b6e0 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 a23dd940..e8fecbe0 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 aaf76e69..44578cf9 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 d1af4d61..182e03f7 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 2f2c3f33..fc7d1a65 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 6c65f7b5..3adf50b5 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 953100a8..e5842663 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 1988aecc..9016bacc 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 b0c3c699..0fbf285d 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 5d08bba3..944735b2 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 7232fa53..8cc3a6e2 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 7909ece3..112614f8 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 f47364fb..3f53153f 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 04969d81..7b1f4f18 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 f94580d5..9dfe7630 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 daecc15b..ef2a177c 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 633a320f..853227f4 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 632b39e3..f25abbb2 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 1356ff8b..3699ee29 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 89cf6bba..e8c239ef 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 ec339286..7845a0e4 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 b4676c25..7ab8d5b4 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 ed6fbe2c..3d507825 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 850c851e..1dc0b292 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 2d08e7f9..86c1de37 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 af42ac24..9fd891ba 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 d5942295..c3a4eeeb 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 b15ff311..16b7fd1b 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 7cb5d4e7..66ec7db9 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 48e64147..3e0d8e99 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 463fe5cb..cce7efa3 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 9492b377..560f20a2 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 aad1147d..0c2d5fdb 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 3158e2ae..92f59b24 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 3ea21722..0312d6f6 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 298ad5da..3f66f007 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 34fac4f7..7ac9c3b2 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 30a17e21..c439c58f 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 4edd8e71..c4174cab 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 762b8ced..432dc79f 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 9b517cfa..d9763543 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 11c87496..478708db 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 055c77e4..42c15413 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 b1b59063..826db714 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 b0619995..c0026f04 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 dc734dc8..1ee19937 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 b0e06718..186660a9 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 eb572790..92c61c13 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 9194d407..6fd0b613 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 f5974796..015aa2b0 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 f0dc774e..c9e7f6fe 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 6e91a36c..ce3ce16f 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 b6e2ca28..d9652cbc 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 f08fda8a..c74f482c 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 43a9c5fb..c306fae8 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 c081dce1..19b5a79c 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 b345de13..f9465ff8 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 b4784729..b8f7dc4f 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 45de5897..1e24e33f 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 56209750..30162d8b 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 18cb0b2f..dc9f4b95 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 14b86b05..4ce468b7 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 c51e4f7f..6798f1fd 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 aa10c08c..d869eba1 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 bd7a58cd..310dc0ee 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 e65229fe..6dbbe2bc 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 8f9ee70f..ba05af74 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 eff03a97..a344ed6e 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 61a2f455..7b14df08 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 ed9a5d38..88bf44f8 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 901ecf7c..74f2b052 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 b790d923..ce1e11ac 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 a37afc4c..1cbcfc97 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 5962d2f1..afa9e15e 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 7de4b01e..dd897398 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 eabeed43..4a745048 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 14a9c439..e6a06f94 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 cf5dd5ef..fbe7f2eb 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 aa19e7ac..c2e39520 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 aaae3e39..ca8d4c0c 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 fcde43c5..c24a5ca4 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 f9d4669b..d17564f3 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 a79a9fb0..8f7c27cf 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 492ae402..524d578c 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 ae82be5f..d70050ca 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 b7725499..178b675d 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 f1673fb3..17153ab5 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 5c21a5d5..e6f8e5a5 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 0e6a93f0..83042334 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 f1e886b3..397c6091 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 bf9accce..12824bea 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 9603725a..85ea8426 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 439d6664..c18110c3 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 70bbbd92..4d92843f 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 e037c91d..12bbb870 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 1999da72..98335bc8 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 d4f2396f..fe87c8cb 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 999615e8..be37801e 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 6d88213a..5cf26b7b 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 798732d2..afa4f897 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 6eb2d7f5..a45c2a33 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 ae887d12..1c4a0aa9 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 fbd8d768..5afa0a96 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 34fb337d..25e1e82f 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 b91fc1ab..a55d2b0b 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 74bbf1ca..e6771545 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 e3b54806..31a3e122 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 9ff91970..91730ce2 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 5db9e46d..36fff28e 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 33eb89a3..f8a6f39f 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 62bddda2..cd4eb733 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 c9142724..7b2118ad 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 e2210852..2941ea68 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 ea2f102f..2906fd59 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 fd72dbd6..fdf68aa2 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 8648eb80..20fc70ef 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 b732ea04..5b92109a 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 7a2af2c9..57a3b660 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 fc43f92c..47550d9b 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 68afe440..5e818925 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 e0caf211..bb75920e 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 c883de7f..c0184783 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 56486ddf..58c96c0d 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 ec3ae490..634433d4 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 8bf67853..7f07c749 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 2b4192c5..af076b5a 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 68562cd5..8c859e78 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 c7ac7f9c..3cc80067 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 de1a9023..d42eeedf 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 a143ccbc..d29b91ca 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 49fcd7bd..1492a931 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 3254ab27..69802c4c 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 9695b8bd..dd2f6f75 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 a8cccc0b..17fb9526 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 5d6a95a3..3be366d6 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 a537adf4..3b529440 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 07414724..79679948 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 59496b16..5f1251d1 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 bd2ec550..22defc1e 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 16f72d3e..c760e009 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 40083227..9663e1a6 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 efd37a05..e6493ff0 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 08a05f7b..9db4c424 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 5bb0e7da..74329aee 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 73acb67d..d91c1152 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 63fbd000..a7ef5756 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 acb6b556..313a37ee 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 207a9959..cdb74139 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 66be6e7c..62041474 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 22ccd2a8..9155dbea 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 589464cb..bc2f07e0 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 8c9a1b29..af83feb9 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 9c9abc86..12839733 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 01f93e5f..5acc423f 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 cc599051..58f8bd64 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 d1024427..a62678a3 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 52b26780..b8e5f2d7 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 f0e150c8..717e0ad8 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 c248b869..6a35619a 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 da3eb97b..01b15fc9 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 349a09e9..c5b7e3b4 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 b94e976d..66c9b904 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 34ed00e9..b34f8972 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 82a3e371..f99ddcdf 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 73f1de45..e493e1f3 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 810012c3..53791eec 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 4ffda07c..2341664a 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 f6166795..8072cd61 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 02e98fc8..0fd954d7 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 46cebacb..de78bcf2 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 a04022cf..53362465 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 1edc4594..9c9e9bc6 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 381abe10..84cd5a4d 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 03c3a9aa..c36f1a3d 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 46670a34..4417f680 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 cfa9beb5..d3d84ea3 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 0db3ae52..952b696e 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 6ec82f30..c0b172df 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 30fe0e31..007b3fbf 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 1eff01d9..567b0763 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 ef02a91e..9896d8a4 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 d31f776e..2616e3ff 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 1479989a..535bb79e 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 b07def50..ef90a99f 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 539341d9..020bb46d 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 39ed7369..d58ce762 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 f82da54b..9dd38608 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 9e5ec43a..cf20077e 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 bafb8af7..e0a8aede 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 cfd71652..ba8d9b3e 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 a0eda8cb..b21f2fe6 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 239fab39..09a5e8a6 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 6642a65c..1823c960 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 ddcf45f2..dc3686e9 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 9ae76d0f..650f57ec 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 e4527363..3b5f1daa 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 1d7c3ee0..dac1ec99 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 3f17f198..0421ae60 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 d16b6db2..a5f513e1 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 f3a56898..0b45e0d2 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 6d237a3f..610e7f8d 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 e4f7627d..361536ba 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 7bb4aeac..32ca3e52 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 46f64be4..c9b831c5 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 0d153636..59b21440 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 3389db0c..10075be5 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 8ac771de..bd44776b 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 c6b6ada6..7f5ef0db 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 85aaa778..92f2cdd5 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 44aca2f0..e65db7a5 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 776db56a..da289e6a 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 710aa7bc..7d3c9b07 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 80ed7dea..747f0e5a 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 31c9f7ec..074d0f4b 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 3c28d262..0015135b 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 6b810d80..00856e3c 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 bcffb2a4..c662de0a 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 1bf28a9c..61ba6853 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 f3e5038c..1847e2d1 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 9a996f63..9a6cf38a 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 8bfa20d4..574fe9a0 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 0c82e7d8..f6a1a676 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 fc9b1c47..fc133046 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 3f983978..35cead2c 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 dbccae10..cf291d5f 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 c7e37297..c7432d5c 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 f44f0798..187045c1 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 71ab1134..63cc8799 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 03504023..a31c37db 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 6a55a626..f8614a30 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 b965f826..2b3c4d27 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 02da80a4..abfee4b6 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 0ea863a9..6ba0790d 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 2f4997e3..487aee1e 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 6d7074a6..1430b595 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 c1ffdb43..da7037ed 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 cfbad0de..f73920f3 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 ea5ddbe3..e2b5503c 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 7bca7fb3..6ad9c33a 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 bf0bdda8..978b8c2d 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 ec8dc789..7980a80f 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 d62dda04..5dcfc578 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 66eb051d..d3ade014 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 78e030d5..dcc4f271 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 be9513c7..2e2a7bbb 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 1c07ac63..7a1d41b7 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 ae011bcd..c7175195 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 d98271f3..43aa15d1 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 3e9ebea4..adf823ad 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 70740110..fcb691a0 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 e570e82e..b1fdef4c 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 4bb7c89e..687623fd 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 319b725a..3cbe885c 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 70ece3f2..d870fd9b 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 3db70918..39f3cb7c 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 277189fd..c66594f8 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 8fc20c5e..09cd3139 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 b76a3362..8957b4e6 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 b9403d76..35235972 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 dec025a6..75bc0fbb 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 949b5bc2..5b8cfd93 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 88e05038..aeb1788c 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 430cdf87..37fc184e 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 213f884b..eabffb22 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 7b1eee5f..d1a0c50b 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 3876be46..b4063d0c 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 5f39f2fe..3161bb48 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 a93dfbfb..e02b5072 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 8ee049a6..8b550a2b 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 d6c100a5..3e48ebe9 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 3883d6f3..4e78960e 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 09ade245..15e8494f 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 45af69bd..2479e772 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 41b6b20b..f9097502 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 2223f0de..ba289ded 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 e8152e6a..2527ca60 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 8441eb4d..9179a09c 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 e91b2815..720dae15 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 f5110748..39252223 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 58e71add..2c335f2c 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 97769fee..e5d7feeb 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 3ab8f62e..0ce898b9 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 2f61b414..b6709f43 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 f6d80cbc..9e73926a 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 27c8b1b5..b531d225 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 a6f8b813..db733d41 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 f0fb9fda..f298ae7b 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 b2b3d83b..e41b3d11 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 2230cd3b..74234998 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 9b1fa9c5..210cbef0 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 66882a07..9c0e5a06 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 a577c714..34a220e9 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 d4e373de..3d6359ea 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 3a4c3274..3c9b0d66 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 ce1bc82c..8a2bb487 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 2de51472..6f25f2e6 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 3afe9f3f..f780e2c0 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 f4d59850..50d88977 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 2f3ee538..dece2c4d 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 630d5d04..3b44545f 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 2d2ae026..644e4ae7 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 beb7e402..f2e991fe 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 4d86848e..f5346b8f 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 9d3685b5..af867c31 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 63c28133..ead8a2b8 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 eb1590d8..16664f24 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 c24be680..6c0e05a5 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 f32a5600..c4742eff 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 e02ba557..8d15dfd5 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 66402e31..f143ab26 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 acb784be..9ee572b7 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 00af9a9e..3dc73994 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 6b0f4cf1..a2b0c356 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 92d8f7c8..d11f8332 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 979fcbfa..8070a480 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 e562ca67..180b58fc 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 3bfb4079..c9679239 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 2aac6a89..83499bd5 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 4f8afb8c..37bcbb77 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 801cd09a..0da11c57 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 d736a407..810b0107 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 1a0791ff..a08454fc 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 83eddad0..fdf4626f 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 b66cdc74..de8c05ec 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 436cc439..01ff94da 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 91272703..f5e390d3 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 e087a953..08769aa4 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 eb32093b..763d03b2 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 2e0cf044..c9e15640 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 1a021411..df50ff62 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 53dab593..ba2a4649 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 2be443cc..a9018c9c 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 e769a82f..3c59b394 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 82d226e7..6fd4786c 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 cdda4e50..1a643b83 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 d66c104e..222603de 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 c53c5419..7ff91041 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 c3691ab3..4e718987 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 73699199..81790376 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 4d50f112..46fdb704 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 80387d02..24c2db3d 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 0a122251..0e140b7a 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 c9e7c7e1..448601bd 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 353fa00b..6774046c 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 e1467ad3..c68f67d3 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 7346a9e1..0022bee0 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 4f30c6cd..f2e297c7 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 778bebaf..13c095e6 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 3dde6620..fc2eb940 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 04369389..6ea04ed9 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 0d99d5b6..3a35789c 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 3b88f34f..6db545ab 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 88edc1ac..79e7aa59 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 47823d54..d6f8ca82 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 cb0ac442..abae66af 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 ef48f703..5e019c91 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 6e06e54d..d875929a 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 0b621ad3..2c05b683 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 b5f1ec7d..437de70f 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 afedca2d..b53bad13 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 d8967ce8..86c4b865 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 d97d136c..986bc8ae 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 70048b73..80bc08ec 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 c308448c..e16b8b39 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 79406b8f..b8ffcd9c 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 47be80df..45d92df7 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 3ebdea9f..4a46cfbb 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 d21f8404..359e928e 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 ba0b4c7a..19c83ce5 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 74b97666..df4a0711 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 2e0250bf..0730836c 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 bb128d18..d9d30bdf 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 1df410a2..77bb60f7 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 2d28b91d..8473b263 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 67520e9b..2661bab5 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 445f45eb..238769c9 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 1a331e2a..e0c6aae4 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 69593025..fc47e724 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 f1d7c877..37647e00 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 1e16c196..ac93dc55 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 c7d5876f..514ebf2d 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 e69b7587..47b721b8 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 29881369..dcee705c 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 22ee8d38..10e4bd98 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 38e6ceed..5832c3d7 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 e7fa08da..84c1f5a9 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 98725101..3ee58914 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 0218592a..a8c03cd5 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 86d776b8..61d13e33 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 ae58e76f..8d2dd244 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 6dd45b9d..fb0f2a6f 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 40521fcb..8a43c85f 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 c6c0e7e3..1ce24064 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 15e26cd9..de0603e6 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 af295094..2262f718 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 6cb8f79a..78ff5717 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 a4d950be..a99dfb40 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 0f4b88d1..0d33221c 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 f155dffe..3196a5bd 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 b0e86e03..178784fd 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 42dc1529..a1884676 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 f01e21cf..dfc6c59b 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 2898679b..2834fa9f 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 57ea1486..a8a41395 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 57198f88..4a601fe9 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 9de6a995..ec8a380f 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 0b9e6bf6..08269023 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 53629bdc..dd55e6e6 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 fe4f2905..42917846 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 ac71c71f..016c7f94 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 349547a3..7ed5916b 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 36a2f2e0..d06004a3 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 091a769d..8b350e2a 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 ca3576ad..507992bb 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 8a214967..8d44e55c 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 ec978e9f..fbadaa94 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 1bd44f9b..ff52a5a5 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 29e55f6b..4255d572 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 53b32cea..22573517 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 bba95c2d..307c411e 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 c9e75d2d..f0b7db65 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 63580a29..6a9d2c7f 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 86d12658..66a9e651 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 268be69b..0735ede4 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 d61df5a3..45d0eb17 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 478560d4..ba41d4d2 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 60ce9382..ff3ef6d7 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 02b2c132..fa1700a2 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 dc5c76d7..d9def8b3 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 7eeb85eb..c998bf8e 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 e1f20237..b72e2963 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 b2c85785..f4ea24f4 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 76a92b5c..596985ba 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 ec564675..b6f3057e 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 5905a953..93adee85 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 5470775a..238faf31 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 6df6af89..53324180 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 43489908..c03fc5b6 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 2f5b51b1..ef440fb3 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 da907064..c2737a52 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 5e4a63d0..38fc0e03 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 788dee07..e342f6a7 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 9a7add66..315cf621 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 a8c87514..4de9f3bb 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 20bf101f..8fbeb0fa 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 ec6fc289..3495a2ca 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 9977e32b..4ff35272 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 f54c6c16..3bd0857d 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 8c7de162..c6894a95 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 6c9581e9..8be5a812 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 6ba672e3..847687ee 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 b92c7f5e..98734a46 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 49e99fa0..cdd32150 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 240b3ad2..b77770aa 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 0f1e68e6..6075f548 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 7de61dc6..b4e062ba 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 4cb9accb..deb4123b 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 93b37c37..20e7b821 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 4700289e..1abaa320 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 3ad39dd4..cecc9f5a 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 6ae84d2e..351263a0 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 7c64d8a5..5dbf7e4e 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 8b28acff..12a14fdb 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 0bae704d..d5d78467 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 133497f4..06db4eb3 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 d6f8275c..0ea3ac38 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 97f8c361..36272de4 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 3d377d97..a7a828bb 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 2c8b8b0c..7ba077af 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 89d35aa6..9971eb2d 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 9102786a..6c946864 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 7cc299c0..909d3c2c 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 016f478c..c831974f 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 2ada3b9b..9f4fc94b 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 938ff0c1..a1a4cc1c 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 f5a07ed5..be894edb 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 206f52b2..ce4e5476 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 3da1bfc3..bfb673a0 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 2f447dc3..2241f715 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 3493c198..82fffc4e 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 09eb2c24..de3e8eaa 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 b34394ea..e9effe5e 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 b9c6eca2..763e10af 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 36d4267d..a775360c 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 b07ca3eb..ea364b70 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 48c632a1..b6e88a5e 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 d5ea4158..5cc922ce 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 ce70719d..3da50e83 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 798f8751..e06159af 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 8c7ff77d..3776e47a 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 3d836299..4067e637 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 6d8330a3..ca36778c 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 3713fd85..981d87de 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 99b54c5f..8198beca 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 54634a52..fc4fc440 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 6847d6cd..7fec49e4 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 a2bcf68e..1ceab7a7 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 d9303971..cfb21f89 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 cdbc7507..f63502d0 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 f91c4915..ce2a15df 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 45293ac2..f7925275 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 d9dd49d6..e1d5d06f 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 a22ae7c9..2fcdce6e 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 45b1d22f..dddedfed 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 394cbe58..7f4c8ebe 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 5e5cdf87..d7d3b711 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 845564a9..56c6f2ef 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 7c36e980..c576681b 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 80bc90f8..6a3a9624 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 a34b3620..3beba770 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 50402fd7..900f1b86 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 33416a78..0ce6a699 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 3b04f153..3a3c260f 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 0ce4cbd3..351dd64b 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 dee6ff9f..b12b3062 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 7e0d5bfc..34fb98fd 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 0f3e6fa5..aa810b9b 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 ee708acf..4deccb3d 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 c1d3bd81..8917cb87 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 a325bbf2..22882802 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 be5ee715..2a118008 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 b1d2b7be..aac41529 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 97db9248..892da559 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 d59657f4..20a5261e 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 3e1ebc23..f4556b0a 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 a6461565..6ee54739 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 fa79f6ec..06e731f8 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 9904a6ba..de5bf7e4 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 8f3c501e..038b2e74 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 15ec974e..45b0785b 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 65759e14..edf086a6 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 db7cc48b..4bec4cf3 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 9bf5c771..878c42d9 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 487e01bb..e5c4ef52 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 a50882ad..669b118c 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 fa8f7264..13ac8604 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 cae25446..bf356a51 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 5e19c8cf..e61b2006 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 cb8e0412..fa749460 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 2b7d90ca..d1fbf9e2 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 cf996260..3570a492 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 782b9945..a4b431f4 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 701f711a..28ff8104 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 4ed2659b..deca9e4f 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 5f74f6da..af7559c3 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 99f6a628..8a62c051 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 32f81e36..a91bdd29 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 2edb9148..f25e32e9 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 cda42057..8ae5fdb9 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 3a2a0d89..f976683b 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 9ef9b6cd..e6c35496 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 4b5956ac..ce03868b 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 1759ddcd..11ea3699 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 bbcde803..b18091fb 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 1a00af1e..1344dfe3 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 ebc62213..f059a03e 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 cf2b6d7e..e428fd52 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 394d5536..bf98f372 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 0842d2df..d7a75935 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 38b11f5e..d28f356f 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 3cfe950a..ff7d753e 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 1c54c173..354ae243 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 3079767b..7f387496 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 44f76ebd..f0780077 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 dfaf2641..c3efe3d2 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 07347785..6ec6c962 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 b6232629..910207a0 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 bbe930f8..71aa97ec 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 f29be32b..c1446089 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 e8b284c1..41c5180f 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 25ff90d1..62302e86 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 7f8539d5..abe889c9 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 ccee15a8..3cc62e31 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 acc1205d..fc8b9e87 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 40dce922..dad07bd7 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 11213570..87dc70a6 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 6f1d0175..6ff723c4 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 4b366485..4f1eab62 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 c3bc4748..17b218dc 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 732f5972..4c13cf78 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 2a80cc7b..facbf0ed 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 1f382525..477fdaca 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 ed90b3af..49f838f5 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 8ed3dcea..4c7873eb 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 eeffb789..85adf17d 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 81b93e85..56a79181 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 3d8b44f7..e4a7f526 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 87d68659..44080be1 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 1a1d09c9..db1ed701 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 f3a488d8..cedc9673 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 b24d3f4e..f996b9a1 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 ebdfe5b2..175a0a9d 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 40a07bca..b9c339d4 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 7b580ec9..8c5d95ba 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 30f35ebe..b81228dc 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 244f7f18..25268110 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 db9dba84..f08bc0b4 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 e8a77b97..e38cc2cf 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 2dc0d34d..5ff29951 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 8faed640..3ad36aa3 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 b1216a61..0c2d0da0 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 af0ed729..a94e878e 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 6f3620b7..77022f88 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 5089552d..86ef7aaf 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 4e76772e..3d5c4e24 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 adc5c7bc..640d65af 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 3165816d..0e277b36 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 ab2be33d..2c5c712f 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 dd178cac..7fdc99f6 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 32f2e6a1..f45e0e6b 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 59f26267..35926d31 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 28344704..91f124c9 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 da7f14aa..2dadd571 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 447fb542..46b9ba1b 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 5d837f70..dbbfd6b9 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 c17f09fe..d421d020 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 58dac0d1..0c5d1f88 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 1f78b202..1fc8f072 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 ebd95194..9b58ae8c 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 b3a1b2fd..44681553 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 203d6282..f2c34deb 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 b02349af..701abf09 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 66f60946..9b284a5b 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 cc921956..ccd6b03c 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 87e10636..3e0b74c0 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 f7527876..85cd7a78 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 27e7a60d..1dcecb6c 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 5b8e58f9..47fe88a4 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 b5718651..40e25cf3 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 55afa010..b397671c 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 7f738756..978e6037 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 6ea710de..9304871a 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 63d6036d..f43fe63b 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 632cde9d..3603621c 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 b29a61c3..f08bb69d 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 6fa00049..256fad86 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 737a9fcd..ae3a092d 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 880b50d1..a759bd1e 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 c85c7f22..ccd8e454 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 44bd76c0..02b259f1 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 3e00ca65..7b76b9a8 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 1c2a905b..04f5038c 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 62ab4c1b..d1d57504 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 0a9d667b..cb9ff66b 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 0b6e4fd1..ca108acb 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 f0ab4224..f020f0a3 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 f836b51d..af4d5893 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 37841af8..665e372b 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 240ced80..0899d506 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 9c13eccb..afa465e8 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 b2d75409..f0805fc7 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 7182255c..2b5fc368 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 d6368077..cff5bb7f 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 b94fb011..0c9d608b 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 45e17d9e..1c8567ef 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 b2f495bc..26c3bf6f 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 82434985..e9320ee8 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 396fa047..449d13ea 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 ffc12748..d49efd0c 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 68d1e3e5..c65eb575 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 8ec367c5..25f9abc4 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 ab32978f..884faff3 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 e669f25a..f3ae9aab 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 4eddecbd..e27e2666 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 a0a572d4..d7a1f577 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 028b4f8d..996e55cc 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 40595d57..32ba1d5a 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 8b2c0df0..ffe7b4ef 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 1a63cf74..f784f2b8 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 c6518160..10a82b3b 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 67071775..7743df63 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 539d3a59..83553362 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 46da1d38..adb04e0b 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 d627677c..7954ccde 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 8f5b8c5e..3d13a6bc 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 5f890e75..5c529298 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 ad5ea543..72e70959 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 dad04d9e..8c294ace 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 240050fb..7079dbbc 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 b18977c4..3506c75b 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 088ee4cf..1926f09a 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 bc3051ae..81ef6aa1 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 da69f791..9099bf4d 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 7277a24c..b7b1a401 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 a39d84a7..cd3ef996 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 a56dfbae..538efa31 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 ff1ca750..ff6f4037 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 28a82437..00a848e5 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 9253d11c..9c2efb6d 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 71336643..3c86d91a 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 49b548e7..72f31a9d 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 0f4c2626..10cc1fe7 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 ea9bf009..381b9eab 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 67a97ac9..c03e27fb 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 6114b188..49afd0f4 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 268ca49c..e8487f63 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 b7b14376..d2c6118b 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 cb685487..3915ecba 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 46617452..a42b5bbc 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 70e43e80..6bed6dff 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 8c0e591b..c949d678 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 a45124f3..413af33b 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 f5ba117b..ed2c783a 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 bdbb2f80..2740593e 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 5cf2a450..04bb86e8 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 e76c736d..bb9ba72d 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 dfe9459b..31d39f28 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 fc441950..eae8c557 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 09d79cb3..fbbf0fff 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 b54804b1..6a5f3cee 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 9196b6a8..a161fd61 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 28ca693f..93ae0fa0 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 17a6517e..4e1062ae 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 f1d16183..866d60a7 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 97ae50ab..d27d873b 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 3ad0822a..7469d659 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 96c698cb..83cca076 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 cb077e6d..12ed3375 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 193c8c5f..c9e98477 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 c2b18adf..34a28ce5 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 62bde913..f90f5163 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 44511943..c4bd0d9e 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 34e5e523..e983a9af 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 0c2a6d3e..62e30659 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 b6bc6165..c3489068 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 fd9e1611..9115953e 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 41e4c63f..cd5d831f 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 7fcf7848..c9289066 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 79f5fc2b..609aac85 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 9ce9300b..6f79f199 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 1a11e3b1..faa9f081 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 0afea1eb..8c096a5d 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 ee9a72eb..6ca31d85 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 54b5fe1d..531fb059 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 1fccd07a..4f38063c 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 941d8b63..0fc5498e 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 b3b311e7..e27853b3 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 c25d904a..242233c5 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 5e573876..753211fa 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 5ba78d3f..cb0dfef7 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 5c1c4634..2d33909f 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 70892234..1d953fa4 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 ee9036ce..9ae7caa0 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 b6cbe84d..9c9c725e 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 696d9654..c269c5ef 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 6b619c3c..c1a194b1 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 da6ef8af..9708aac1 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 6802e625..b7ff4dc8 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 b089c2b3..bf6b2de1 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 360f3bb7..bbfac3ee 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 43b887b6..1530e33f 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 4aaf38a8..b34bac23 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 e64f7a40..113685fb 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 fdcdd5e1..2b15b027 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 0621a3ab..67f26fcb 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 6ebb393b..c4162bab 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 a6dd24cf..8a3f0c70 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 1fc41af7..762a8fef 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 6a60278b..a80d1224 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 0afb77ee..ea1bb7a6 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 189ea717..76ec7062 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 345a4079..575627a7 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 3986aeb2..dcf10a73 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 0d9b7a83..69046c7a 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 a6a9afc1..74c74ab4 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 4a0e4e42..4a4233b2 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 0471d1da..88926eee 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 e2e89e89..4fa277f5 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 92cbfa6d..8f346566 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 351cc24c..df54851c 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 f677ba01..9a1f1fdc 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 51bd04aa..f2822b30 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 0851d54c..96bf61f3 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 4b8e9608..47d33d70 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 ef452e62..644ac0e5 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 259a46b1..9156ee11 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 481534b9..d218b74e 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 4a1ba3c9..1f0be07c 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 6c4ce426..8abe6298 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 481432d8..53dc33b9 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 7cadc7d2..ee372c33 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 8a337903..7abf662a 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 20e131a7..ceb1283a 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 4054a492..1c8a03fb 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 dc1f9713..06f8b0e3 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 a37bcf83..4bb84ba7 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 5ee9b31e..174d2866 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 f6da81aa..84f38a4d 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 509a62ef..126894af 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 84808c96..4c771ab0 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 927b173c..ca0a527e 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 061b94a1..b1022071 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 36ba87e8..66bfd68a 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 b8040c4a..8972fa08 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 1766662b..8771f898 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 f3c7bf5b..d1443329 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 d3d0ee63..8fdfb582 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 a4e8cc3e..76b36777 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 b1d9ebfa..5844404a 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 8f5be79b..eb7c6aac 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 61c5235d..8497d9bd 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 fc674fa1..1164daad 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 c6887f3e..c3a3a5d8 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 cbbcd148..c14823f9 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 ada7f20b..a5ed7a19 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 098166d3..919c9080 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 39c79090..446b883e 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 066a01a9..62b70b1c 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 4d6eb563..91415631 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 5dd066e8..26ec0bbc 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 d5544266..18b15537 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 9f3a0dc5..2736e8b8 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 48d91919..f810b559 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 f65d1b87..da028e19 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 551200a7..bca054d2 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 2e570ee6..16d5bc44 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 05cdf6fd..d31f9ad6 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 dfc603ba..d493ea91 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 b707fa06..005e9e74 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 d93e8cb7..b1ed0aa3 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 43546bf4..52abbd4d 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 244ac50c..6d1fa01d 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 97c7dc7c..75067d6d 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 9f4019b3..0513dbe9 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 8053bebd..de85d3ff 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 45881e22..b8249349 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 01dda6de..3d4fc0f3 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 5cf17130..1dbf9ebc 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 302d7696..c347559c 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 96794a60..d822e99e 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 5b1b4bed..f9f02af3 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 bea4ed21..8fe98b1a 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 7203596a..85cb2413 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 22db0f1c..271cc5e8 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 e62b3a64..5d5feb2f 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 ef7e8b52..9e49a29b 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 8e2085a9..5a89eca4 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 e5287e61..dd0523e8 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 1ebc6aeb..8bd2500a 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 2f35d9a7..ca7d4d99 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 5643b205..db6f27f9 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 032034f9..7a1df5a9 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 5ec336ec..f87d5bbe 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 665e595b..f0861b68 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 d249bc8b..329f56c9 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 cf277c4f..2606a599 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 1ebbb004..ee461a8d 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 20e8fb2d..f3e6e57e 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 c93744f4..f1caddc8 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 ae117f2a..fb1f1ab3 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 5754a3e3..1ad9e93c 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 a22881be..920888c6 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 75286cf8..2b4d3f41 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 327c752b..22a677ea 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 b900d393..79eed1e6 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 327e44b2..30bbb9c3 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 0dbc81ba..c062898e 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 12753659..20739b7d 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 25352734..7c7af504 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 ee3c9f7b..e796bee5 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 7741fa02..d1ddd5d0 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 8b2d08c0..ee1f0aed 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 97551517..e2fda25a 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 58497877..d9827796 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 b83a2907..bdcedb9f 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 4b408fed..39c8dcbc 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 35033c37..e4473ca7 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 43cf7805..1821c7be 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 238eaa68..3d178493 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 928ad937..e04b0649 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 c3750998..50de620a 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 ed14ed0c..6f054d4a 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 deb3c5ea..3e71061f 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 064a7a4a..06574922 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 1851a8f8..8cc27682 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 aed89a47..b83b57fd 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 f66b3204..e096990e 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 13a34e76..b5ff17ec 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 cd4cc940..57091fb7 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 e298d955..786b82ff 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 41ba067b..9f86ede2 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 4d182f30..07c08613 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 1ced11c5..ae71c0b2 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 7fa995cd..861efe57 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 302a1c1e..1d2e6ca7 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 32b52615..9d6d875a 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 6c6e6abf..d6148922 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 aa3f2044..ba88d3f9 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 784794d5..c163de22 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 637ee6f3..78f42cb0 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 2b5c45c1..3ca5c56b 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 1eb05688..1cbd80a3 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 52396f35..0ea8ea13 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 787d4c42..0cbead19 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 0e9ae511..812eefd3 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 7ec2f051..8286c2be 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 df54ef60..31964a55 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 b509e422..8b3794f1 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 37bff94e..b0f7aea8 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 64a565b4..2de1a3e3 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 0f451a71..eb0a2df0 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 94956ece..fa9476dd 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 f6067851..bb696c56 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 e9704eda..737c7314 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 8d2c1c0b..6639ed4b 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 0db9f862..47f7cdd8 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 9d3c17a0..7edf6180 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 5ba0e05d..c05ef83a 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 bec91f74..03f7dde9 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 c1d4226a..8c4baf87 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 e4784995..6cc2cfe8 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 71f11c75..77e266a9 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 57ffc9a4..7e65f3ad 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 557b38d5..a8bb15a9 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 7a4dc4f9..155c2e26 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 4f31a2ee..4a6f98b1 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 e8e2d884..e7260d6d 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 3142dac4..79bf57a8 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 a6a5d2ce..ad730a5b 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 06b0fd3b..66e9e610 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 e16a4974..252e3952 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 7d9c6c9f..1d92be5d 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 35286b02..2c90506d 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 88245b67..39326260 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 ca9d2a0d..064ca2dc 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 6defc0f8..efd4262e 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 ef054888..909d4f0b 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 cd3283bf..1b0f56b0 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 ee3fa0a7..50e6ff8e 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 27c5f67b..391448fd 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 1124045b..501c2193 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 0972b429..8c37e77b 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 8d637fa0..959606ec 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 c3c1e79d..c24a2942 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 d8d5f2e3..030d1507 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 44d959d1..46c51b9d 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 a5536438..373bea03 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 a7a57c76..b06e38e3 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 700a1230..600ae781 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 ce45a600..35c028e4 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 4c7c50a8..e3beaf9e 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 ce17774e..5ae394ab 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 609b7954..5711f58a 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 a2176d32..c76084fd 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 cbb5d355..f4a346dd 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 d6718758..0f22ef67 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 eb887127..67af597a 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 6783a218..303c8389 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 011cb315..03b79c7e 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 63e3de2b..b57c4b00 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 585fe1f7..ef0b01a3 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 618cac7f..8e4ca1c8 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 19a1a67f..a7afad15 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 fc20bbe6..2d6db663 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 6b04eb28..64698f39 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 fb3464d1..40ee5e67 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 02122159..396c2402 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 bd552c8a..7527589a 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 127d8997..bfaae846 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 4dec8125..807468aa 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 8707f06e..24414ed5 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 d5c7da36..47287c8f 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 b8e13812..0bf6d17e 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 ccd14e0f..763f2389 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 2c78b758..c12bd75e 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 7f2d63a8..8f23274b 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 39066aaf..80bde945 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 0b71f414..63b23090 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 4b8afbf7..2a3d4329 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 6db5bab3..0dabfcf3 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 9e103e3b..62f7e67d 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 bb3eb668..8880e82d 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 5cae946d..b0275db1 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 9dbb091e..c165d619 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 d4a3fe09..b044b229 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 df7f8ff0..a279927d 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 045d88be..6846177e 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 508743e4..bce6b295 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 5ea8ff89..18408593 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 6d34a0c3..3a26d3b7 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 46b2bcca..3b313d0e 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 87808811..8b13e379 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 90f6833e..425eb5a6 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 0b3916c1..6f4a497e 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 d2ef889e..b83c0c7f 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 a859ea22..f0b18c99 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 9dc72e9d..703aa405 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 84f34804..648aa8ff 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 d785a833..15b043fb 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 08c2715c..55c8e94e 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 648238c7..6a8e6b51 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 41e617af..c5fe24e2 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 0c44cc71..4e3b0b9f 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 945ac021..75972944 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 d3119a67..d7f10740 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 ffb355d0..85118c1a 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 ec3df45e..f1c2338d 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 892ab199..f83bb195 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 23162297..11d97e3f 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 5c84944d..cf03a0c8 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 4c1b4f3e..ea19d0bd 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 5153c479..401bfa1a 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 e7013a15..9fc683e1 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 ea93a33b..6ac2a6e1 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 58ceb44f..a3ea6e5f 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 f636b061..a743f25f 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 f25cf53b..29f69b98 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 89d3187d..c84da8f9 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 cf691ca8..f84e8458 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 0a5ed33c..1a20a3d3 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 64593a7e..1e55d0c4 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 9f419b25..c9ea93ff 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 fe91e303..47dbc54c 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 8a1bd7e5..6582a21f 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 a643005b..6fd479a3 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 f5ae1e55..bd07273e 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 f7656c2b..36826e22 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 690f78e8..b2cdbc03 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 e832a88e..57cb1f3a 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 076f61fb..b07a7257 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 0fe78bbc..5d2cbee1 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 970ba0ce..3b71a6d8 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 774f7f4b..0aa101d3 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 21650835..3bbd1d43 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 338e966d..55849544 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 6a76a973..1e17b581 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 0ada3a5f..e52fdb06 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 763a98ef..648aab57 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 28d0f117..2d4d22ff 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 ae450aa7..028b0283 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 54b169ae..7903cf1a 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 5e1f4d50..dbb6243f 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 a609e848..88fa0b23 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 2565f49e..84184fd6 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 b9b196ea..a3feb634 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 4a57fd4e..37133716 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 ddfd0687..206e91bf 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 3876d2e4..f1952f08 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 5ff61271..7f56784f 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 568ca050..5ddc7961 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 0db3e19d..01fa9df4 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 cc36025a..a16079a4 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 2eb481ae..f48f8ae2 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 4323cba1..98dcbe52 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 8b859ecd..daaf31a4 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 9d19e18c..205a515f 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 e6cfcf84..0c08da51 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 a0faddad..f67508d0 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 0a7f462f..17031062 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 77153a32..66e774fd 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 0215f814..5719791b 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 bd794625..6997e483 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 fa89c995..fd3fbf1b 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 d80dcfd7..fcaefd5a 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 83a269bc..a4b8a1a2 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 b392afc1..385c6534 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 24dba69a..22893e8b 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 514b6ae6..8c5f6749 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 833695a9..4794acee 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 a50c9b23..4640b4a2 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 d29b66b2..fab091a7 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 314c4572..dd3bc29d 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 b2dbe2b2..24c636fa 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 2b5284b8..009161be 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 b309fc9d..82ef1436 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 cebcee40..087071c9 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 fadce985..9f4d5978 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 0c88600d..3d8b1968 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 2c2080bd..8acf26d4 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 d01417a1..61a430c1 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 6ba31b76..9d9925b9 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 4893d808..55f9155d 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 2b57ffe5..0f4cf4da 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 f8cdd1bb..e51005ae 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 65f94559..21505189 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 30eddbec..b3e60f53 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 a4bce236..da489995 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 4b0ae861..5bf45777 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 102c2c0e..af5d7bef 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 cd23a0c7..f10d32db 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 e97a2518..f457053e 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 432ee20a..9568e646 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 d6ae14ad..0d10310c 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 d8616e76..ed793850 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 d2898532..5b5a9d3d 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 3d4770f0..347395b1 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 878cbbdc..c438d417 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 39660bb4..f3993e40 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 e96a2678..349ee375 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 3752579d..512a20c5 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 98e203f6..8ba4e393 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 90bac0e8..89553581 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 c5781d63..6e2afa01 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 509ea200..95a21d62 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 50d17ec7..80c59be2 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 35d220cd..dbe1fb64 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 ff84195d..6653f903 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 19feb106..460b9105 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 e800447a..59559c32 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 d9104900..08a7495f 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 6973bff3..fd482644 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 cb9b1c41..4b974738 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 c14d79f6..a0eedf99 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 95d85dfc..8ffc1e32 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 ee205dea..ec24b82c 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 5a284d8d..814d1f28 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 cbb69329..23f805c1 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 d8027cbc..a79490c5 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 44a867d7..c26d3016 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 4f383196..dffa449b 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 e7bf231e..a21db578 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 1fbc288b..d5abb33d 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 26f33f20..3e75d05f 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 f966514a..ed6c80b7 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 a23f7687..00f7c1c7 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 061740bb..245744bf 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 6414a542..f663864d 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 a340dca7..4e182f73 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 27b83a6a..735687c7 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 fdf4d33a..b7255fcd 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 036cc0fd..862ce412 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 2f20d715..fb81bc0b 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 16441a17..b5e083e7 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 d652077a..257ce861 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 7c1e3078..7b0329d5 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 a3f94f3c..cd3919d9 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 454fab20..58ba4bfb 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 d23ef2a3..cfda3d87 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 e8ba0908..59568bff 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 b6a8e795..583f892f 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 e01525e1..b66fef2f 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 3b62de5a..19e00555 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 f00e0058..4ceb05e3 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 a21224c4..2a6fe68d 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 123c424f..155d6686 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 c1568f1f..914438de 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 d9908757..1b9f8a1d 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 104ea4df..adf836e8 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 fc0f8290..94372567 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 7e26b8e3..b4a56acd 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 a91ce356..dd815011 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 26194af9..7f16059d 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 aed8204a..f1987e18 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 071a1fa1..8cd0aa7c 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 1ecf91b9..f61a350d 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 164ffeba..b5a79363 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 daa8c8b7..9f2ae1d0 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 ddbec209..d500abdb 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 1486aea7..b62321d2 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 5540cfb3..5f37ed39 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 5d6adcc5..e67650e8 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 87592180..37a29c1f 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 ce3d2916..506f94d4 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 cf0c6f75..4f25cb52 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 4f53f12a..aa19be42 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 c2bba265..064be808 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 a9462340..4ba58462 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 57485ea7..15662212 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 d1c8b6de..6c088a5c 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 41cb4f72..45055d3c 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 11b3f4e8..b233327e 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 624a3da8..b135b93b 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 a658ff5c..f5e2f88e 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 cc330156..1bb95892 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 e319126d..cc666558 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 cc2b545d..a2bf8ea8 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 f9fea0d5..1652867d 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 53cde7c4..30409088 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 4507945b..11a96744 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 7dcef26e..a07e2342 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 0320930f..d299dddc 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 cf01a40d..b5131231 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 ae55d268..a91b8954 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 783cc3e2..734fa18d 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 167e5305..bb696206 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 efc4480c..7bfe0b9d 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 cee495b9..1b815043 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 0fc7c876..b2ab0d9b 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 51a25921..2a1dd867 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 fa4d80c1..1808d470 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 fe86ae73..58180653 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 0931a233..9661abdf 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 cfa9aa87..25b9a1fb 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 ac7702f2..388ae662 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 22b3e5b4..c1c1c7d1 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 e0a6e228..fbbf5c9f 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 11a5a150..5134fe8f 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 53af84f9..8c319fc9 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 4495ef77..780544d6 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 e5953ade..9e0e01c0 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 5ad863d5..e9f3a236 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 30319c9b..97fe589e 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 ed3f7102..c89f1f68 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 1399a6c4..74f5aba1 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 bb84b87d..ace50de6 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 c42042ab..677bde6e 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 959d7bf7..fde666c7 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 f468eeff..22b53ca6 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 83442627..e75fb278 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 aefc0a95..612248ce 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 e0cfacbb..556194a5 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 b0b0d9c4..7f6a4919 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 f3da4eb4..6e1d7b63 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 a32cc244..18773623 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 14c9204e..3e2b7f1e 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 e224001b..6f047de9 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 31d31705..be7229ed 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 27bc7a47..856dc029 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 4314a67d..5a36232d 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 be6b5466..ae4e0028 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 70fba8e9..4fae2f87 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 c31fddb8..a98b3e7f 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 933850ac..07e0c772 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 35361b56..c0862574 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 e89b5463..a8cec6ee 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 c6913260..0f8798c3 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 11369cc1..6a5b4dc6 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 627526d0..e23f3224 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 85dbdbf4..8d45c951 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 ccf96443..1f23a20a 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 489176f0..a4ac6b54 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 d07a3b4b..c8b76427 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 0e4a1e95..21dd264e 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 29e41901..b3cff896 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 5edc91d8..9218786d 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 08cb26c4..8d672b41 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 8ca28bd4..af9e09ca 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 929433b8..9069da73 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 3ecb057d..3f3b9c42 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 b671cf12..add24739 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 c13210bd..87c981cf 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 89ba8bd4..10ab64ed 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 2bdd845d..41ccf1b5 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 bca262b5..1bdf1003 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 e975a9dd..0d8154b8 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 6fc56543..cbdf0778 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 cfa977bf..00a54e34 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 29f3fa69..cc0ecfed 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 45ef41a7..479a74fe 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 5d03e15f..c26627e7 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 26912032..24439746 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 355ef524..3eaae4f7 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 213c8f7c..273cbc54 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 28a8caa9..ff7ea2a2 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 2ae3b0a4..c0143cac 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 992a2f49..483521ec 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 0b995fc8..4b43f526 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 c80f022a..770aaff3 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 20cf666d..d9ab7928 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 d684fafe..eeb9c5de 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 2bc9ea12..7ac8293a 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 f46a9198..b415acfb 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 a25157bc..e65d96bd 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 7a443b9c..7c009388 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 51e174db..62fdd1b6 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 8e867286..2a2820f7 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 a894302f..bb25e172 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 bfac3471..4645f638 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 8bd60376..dddf89b0 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 8d93acea..3f6ac740 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 f98f2704..6af9b8e9 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 46e46800..cb71bc4c 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 8c91ff7e..75f232be 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 bb742347..c84f9811 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 fff03e83..7c577f40 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 afb9ee68..a11bd922 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 07b88c76..1bf5a3b7 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 295897ca..2c7eea6f 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 1b9806b8..f0c730ab 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 7465a274..509bd14d 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 8a5885c4..36f3b020 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 e5eb719d..91cced6a 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 0d8a15fb..067236ee 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 e0b0019c..7badffb6 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 cf3abefd..6e66345e 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 012d7f27..1c76f22a 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 8ecd7ec1..7d1222b4 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 9aee6aec..7d1ae492 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 a93755a4..b8d4e253 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 37518fbf..267cd471 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 e6109a14..0eb1d955 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 582b4900..2d6e7842 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 1eb4e444..dc69316c 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 702b1e97..4aa6dfec 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 de3870b6..817e2587 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 adaa2724..05284f95 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 e2abde85..69d3e8f1 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 9fb3ffe7..f6b80a2a 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 d805320e..eccbb236 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 39d98cab..8195e4e1 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 3c7f5b67..a30297eb 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 34d8970c..3d24ee7e 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 ec5a7e88..b507ccff 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 401cb527..ec460646 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 ec362480..16e371d7 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 28681e0d..20e99eaa 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 35d0d575..ccdcedb7 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 e4d2ba14..509fa3f4 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 718cd8b4..77322b60 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 77e4e884..67f706e9 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 523c0205..57b2de88 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 e88e2928..b081b645 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 43f8f8ed..27beadc3 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 a91c2251..0ecdbade 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 d073837e..fadd766a 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 e8cec9df..953e0110 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 1179bdfd..e5dffe74 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 d6595e61..faa60802 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 c1924452..b21c6e7c 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 823d71db..6b90bbfb 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 5d6da8f9..af9fbe24 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 ad055a66..64b66c0f 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 00a2995a..c845a712 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 25071b74..503a547d 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 db659521..bd8fca6d 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 2f35d8a5..ee9c4e67 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 3358c545..15395778 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 b5040e48..07a994c0 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 d9ee5c93..f165ed18 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 5f78cb03..f5254383 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 b4f280dd..eb93fb24 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 d7429031..51985079 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 27e7beed..d949709b 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 d1733b89..6a87efae 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 463289b3..220906c4 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 41584190..ae7d980b 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 62d4634a..fa38151b 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 16268460..1c8ad473 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 e5fdeaac..5deed0eb 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 95634c26..b8fe6067 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 b48b5bab..ee359616 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 322a6f4b..57591038 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 940a202c..0efa51ef 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 b85ddd33..dc8f70c1 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 5dcddaf3..9b6a07aa 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 216785a1..c12fe899 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 acb22fbd..048d3166 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 59d688ef..f5d4285a 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 23c57d3f..836dd75c 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 3e900052..904dc5f1 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 34fcafc4..829886ff 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 8e28a47e..cdb9d5b6 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 cd3e3626..786d7f4e 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 1510f28f..71c926cf 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 a88d11f0..222ecfe7 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 880f0ec4..bd43ac3e 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 4da149c4..95645636 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 c1eafdca..40021fef 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 a9c26fcf..40db1ea0 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 ef04ee57..718c9f08 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 6f503a2c..7c9ec254 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 d9964001..b98a8b17 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 c8a792e2..2d484b4d 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 75b23d76..5b5f85ad 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 5ae930fa..5d63975f 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 4d104f20..a2290d7e 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 015c19d9..ab3fed3b 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 5883ca7d..6812b306 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 045cb871..d33a0852 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 2a2511bd..bf216daa 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 d12c22ff..2428b103 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 d0e1e78c..281f0b81 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 2102d94d..3e6e2708 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 f032e478..81f1a12d 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 884f9140..cf2a0aa2 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 00529439..4a351f8c 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 6f6e03d6..c8354326 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 d2ac81ff..a360d2bd 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 7cd380bd..d9b3a85e 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 90c05584..8c8d05e4 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 35591124..c4e714ac 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 9c4fa2e5..7802ca1d 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 71e1698e..ff64dc7d 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 9b1d34bf..009e99da 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 ece3f333..cffe1ca1 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 82570307..990ae508 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 e148baf9..fb4fceae 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 a5886b99..d42e9d8e 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 2f5db2cd..34b299d7 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 df9786b9..0a9b50d3 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 4ac2cc6b..e5aaebd3 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 94f04741..45dd764b 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 c4e8fbe1..793f3e09 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 68d596de..86ed5d4f 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 1f5c1172..4a1513e4 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 49dc8508..ff185a9d 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 b16c2b82..d5c04e7b 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 5d8a033a..3121cb2d 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 665ac85f..98f5a51f 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 189ccf5b..47233638 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 7853fe4d..756d7c20 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 769386b3..b82ca56f 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 cbfb4f1f..4481151a 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 eb549981..fc7fc16a 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 2e6a87cb..1cab05fd 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 fa5f2873..b7ae553c 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 d202b307..b356892c 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 d12c9dc4..a7787f60 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 561a463c..8b1753b0 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 e793adc9..cd792ddd 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 204f21fc..b45b4adc 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 5bfd1709..b4218b44 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 d93c01ba..54a40e34 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 0c461586..35a4c3d7 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 be58ef5f..2b82684e 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 1529c9eb..4e49c925 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 fc002882..2669b211 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 d63eddb2..1ff177bb 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 fb90c48f..2e7b8332 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 23035643..fff7764e 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 a8f620db..b9138150 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 21659816..939f53f6 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 17dc270f..1e26f485 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 b96ec67e..b30945a1 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 98c67418..e2bd5643 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 dc6d24e8..2f76f6c6 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 1e8cb338..2fac31f6 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 eda32b0e..0e7dab94 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 0761d183..f0b3bdda 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 b6f29349..cd6fcd2b 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 fca84638..9e974fe9 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 a521a9a0..981138a7 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 f74f7b5e..8ec66ed2 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 c91bbdfd..14c63656 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 cda90fed..a8c33070 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 88a22b2f..59d6f66d 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 79d46ce5..c5100a8b 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 5f6d13e9..723211bd 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 db5dbfbe..bc7fd261 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 b18a12d1..c9cef955 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 d8ea9cac..dcf33059 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 5083521d..ea03131e 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 7ac4e5f5..091e9faa 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 3297176d..104dc70d 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 a719dd42..a563ed33 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 8b92bc8d..8bb9a040 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 8fa6057e..ce3a25a8 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 05c5d09c..53c3d598 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 7559d4d6..ce08dd95 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 78cacc77..fd4ca0a9 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 1d443aa2..f50c2a3e 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 c5244ba1..b7f54869 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 89b28ac2..1f502e2a 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 6cdce9bf..1c1a2656 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 b60d5c98..185e8a2d 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 e44bb3ca..e0125003 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 8d51b9dd..951c6df2 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 e2278e22..692e9ea6 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 3d0296b6..1e4ab0cb 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 ee3d6835..6704acd4 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 635b5d5d..8e73f091 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 e8b738fc..da672570 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 59667ce4..b292e045 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 324b4cc1..2969677b 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 39635d1c..ead20f96 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 0c7dc6c6..6400878b 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 895ad1c4..2a10debc 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 30839bf1..2fd8309a 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 561d9260..052ed2a5 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 750cb68d..3958a13f 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 84666858..1d1c5e88 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 6b946d12..ee4a9bfa 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 fe2996b3..111b497d 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 0605585d..a2cc77e3 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 ea8d725b..fab9caa8 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 ededd61c..b02cce37 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 c145db30..de6dad47 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 fd555624..00000000 --- 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 864da074..b794fee1 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 92080975..f3733385 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 0de9a15f..30dece3d 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 199d621b..0690fd10 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 b7b235ff..0c891383 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 00000000..1ac38898 --- /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 00000000..c3ce7509 --- /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 d1e1fa5f..f3c97563 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 046fb5c2..2b919880 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 4a39a6b2..2946ef58 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 8ad9d4f7..8bc0b028 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 6c3a6932..dfc000d9 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 5a727767..b8e23cd7 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 50e43cbf..00000000 --- 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 e02150f8..ebf6de72 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 ad075eef..ed5dc0b6 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 0db7ce1b..f1184cac 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 02185322..fe457a7f 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 8700ea11..b905f652 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 98fb8f1d..00000000 --- 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 a37d32b3..00000000 --- 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 3a60ca4e..00000000 --- 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 928377fd..00000000 --- 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 d8194786..00000000 --- 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 11faa36b..00000000 --- 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 788e3785..00000000 --- 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 1d4e9cfc..7742b3d2 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 077838b5..215364d8 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 10687ae9..cf5bb7b6 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 004e376b..eb8ea188 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 b7c9074e..9f779a0f 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 416633e0..c4949204 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 5ff61044..9f6a4d83 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 939036ce..248ed8f4 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 81ae7f20..cee49d28 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 2b679c53..c46a0676 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 818602d0..00000000 --- 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 c9e1ccdb..00000000 --- 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 f47b3f0a..00000000 --- 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 970998e2..00000000 --- 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 2e6cd9c4..00000000 --- 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 62aa4baf..00000000 --- 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 f754fcd9..00000000 --- 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 e6917139..00000000 --- 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 93e4368f..00000000 --- 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 b54ea09d..00000000 --- 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 1ec62cdb..00000000 --- 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 c646b3f2..00000000 --- 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 8d65519a..00000000 --- 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 78049427..00000000 --- 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 28bfa395..00000000 --- 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 3277bc41..00000000 --- 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 e81b7686..00000000 --- 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 b9491407..00000000 --- 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 9aeb7c5a..00000000 --- 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 b3995e28..00000000 --- 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 5fd22f2e..00000000 --- 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 4feafe2e..00000000 --- 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 c325bc5c..00000000 --- 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 f3ad1b9c..00000000 --- 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 07e5dec9..71c41701 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 a052c695..7fc7124b 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 cb04cc7d..0dc09583 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 8124d6c0..1415ee80 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 0496e07f..f050680b 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 861b3d15..cf23a242 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 7c45f5f8..74fd0d89 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 aafa5d65..11a12313 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 ca80e54b..a022a611 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 835ba138..1ab48e1f 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 519e7230..ae174a3f 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 24b008cb..47153477 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 1d9014ba..7ed4edac 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 dadb59e8..ad2772b1 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 36fc9352..ce8742be 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 84094b92..0e43bc03 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 e3e5319e..0af4789b 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 2d396861..5e101dfd 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 f61aefcd..f6bdd716 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 274d1be7..dbf396ae 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 b8e8acd5..27aa4227 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 f502a36b..2e7c4628 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 c74c8a22..a9ce9f1b 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 d19bfe87..9ebe8680 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 93f60639..f871eacc 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 d3448c14..3946c12f 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 3f63e9ad..cfaea706 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 bfa65281..31537533 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);