Add NetBSD support

This commit is contained in:
Justine Tunney
2021-02-05 06:16:20 -08:00
parent 2fdc19e7a7
commit 23ae9dfceb
4020 changed files with 8955 additions and 8128 deletions

View File

@@ -19,7 +19,7 @@
/* clang-format off */
.include "libc/macros.internal.inc"
.macro .syscon group:req name:req linux:req xnu:req freebsd:req openbsd:req windows:req
.macro .syscon group:req name:req linux:req xnu:req freebsd:req openbsd:req netbsd:req windows:req
yoink _init_systemfive
.section .piro.bss.sort.syscon.2.\group\().\name,"aw",@nobits
\name: .quad 0
@@ -37,6 +37,9 @@
.section .sort.rodata.syscon.openbsd.2.\group\().\name,"a",@progbits
.sleb128 \openbsd
.previous
.section .sort.rodata.syscon.netbsd.2.\group\().\name,"a",@progbits
.sleb128 \netbsd
.previous
.section .sort.rodata.syscon.windows.2.\group\().\name,"a",@progbits
.sleb128 \windows
.previous