diff --git a/CMakeLists.txt b/CMakeLists.txt index 214550eb72..86e9865554 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -477,7 +477,6 @@ set(ZIG_STD_FILES "dwarf.zig" "dynamic_library.zig" "elf.zig" - "empty.zig" "event.zig" "event/channel.zig" "event/fs.zig" @@ -616,6 +615,7 @@ set(ZIG_STD_FILES "priority_queue.zig" "rand.zig" "rand/ziggurat.zig" + "rb.zig" "segmented_list.zig" "sort.zig" "special/bootstrap.zig" @@ -2954,8 +2954,26 @@ set(ZIG_LIBC_FILES "glibc/time/bits/types/struct_tm.h" "glibc/time/bits/types/time_t.h" "glibc/time/bits/types/timer_t.h" - "include/aarch64-linux-gnu/asm/bitsperlong.h" - "include/aarch64-linux-gnu/asm/unistd.h" + "include/aarch64-linux-any/asm/auxvec.h" + "include/aarch64-linux-any/asm/bitsperlong.h" + "include/aarch64-linux-any/asm/bpf_perf_event.h" + "include/aarch64-linux-any/asm/byteorder.h" + "include/aarch64-linux-any/asm/fcntl.h" + "include/aarch64-linux-any/asm/hwcap.h" + "include/aarch64-linux-any/asm/kvm.h" + "include/aarch64-linux-any/asm/kvm_para.h" + "include/aarch64-linux-any/asm/param.h" + "include/aarch64-linux-any/asm/perf_regs.h" + "include/aarch64-linux-any/asm/posix_types.h" + "include/aarch64-linux-any/asm/ptrace.h" + "include/aarch64-linux-any/asm/setup.h" + "include/aarch64-linux-any/asm/sigcontext.h" + "include/aarch64-linux-any/asm/siginfo.h" + "include/aarch64-linux-any/asm/signal.h" + "include/aarch64-linux-any/asm/stat.h" + "include/aarch64-linux-any/asm/statfs.h" + "include/aarch64-linux-any/asm/ucontext.h" + "include/aarch64-linux-any/asm/unistd.h" "include/aarch64-linux-gnu/bits/endian.h" "include/aarch64-linux-gnu/bits/fcntl.h" "include/aarch64-linux-gnu/bits/fenv.h" @@ -2985,26 +3003,6 @@ set(ZIG_LIBC_FILES "include/aarch64-linux-gnu/sys/ptrace.h" "include/aarch64-linux-gnu/sys/ucontext.h" "include/aarch64-linux-gnu/sys/user.h" - "include/aarch64-linux-musleabi/asm/auxvec.h" - "include/aarch64-linux-musleabi/asm/bitsperlong.h" - "include/aarch64-linux-musleabi/asm/bpf_perf_event.h" - "include/aarch64-linux-musleabi/asm/byteorder.h" - "include/aarch64-linux-musleabi/asm/fcntl.h" - "include/aarch64-linux-musleabi/asm/hwcap.h" - "include/aarch64-linux-musleabi/asm/kvm.h" - "include/aarch64-linux-musleabi/asm/kvm_para.h" - "include/aarch64-linux-musleabi/asm/param.h" - "include/aarch64-linux-musleabi/asm/perf_regs.h" - "include/aarch64-linux-musleabi/asm/posix_types.h" - "include/aarch64-linux-musleabi/asm/ptrace.h" - "include/aarch64-linux-musleabi/asm/setup.h" - "include/aarch64-linux-musleabi/asm/sigcontext.h" - "include/aarch64-linux-musleabi/asm/siginfo.h" - "include/aarch64-linux-musleabi/asm/signal.h" - "include/aarch64-linux-musleabi/asm/stat.h" - "include/aarch64-linux-musleabi/asm/statfs.h" - "include/aarch64-linux-musleabi/asm/ucontext.h" - "include/aarch64-linux-musleabi/asm/unistd.h" "include/aarch64-linux-musleabi/bfd_stdint.h" "include/aarch64-linux-musleabi/bits/alltypes.h" "include/aarch64-linux-musleabi/bits/endian.h" @@ -3022,8 +3020,26 @@ set(ZIG_LIBC_FILES "include/aarch64-linux-musleabi/bits/stat.h" "include/aarch64-linux-musleabi/bits/syscall.h" "include/aarch64-linux-musleabi/bits/user.h" - "include/aarch64_be-linux-gnu/asm/bitsperlong.h" - "include/aarch64_be-linux-gnu/asm/unistd.h" + "include/aarch64_be-linux-any/asm/auxvec.h" + "include/aarch64_be-linux-any/asm/bitsperlong.h" + "include/aarch64_be-linux-any/asm/bpf_perf_event.h" + "include/aarch64_be-linux-any/asm/byteorder.h" + "include/aarch64_be-linux-any/asm/fcntl.h" + "include/aarch64_be-linux-any/asm/hwcap.h" + "include/aarch64_be-linux-any/asm/kvm.h" + "include/aarch64_be-linux-any/asm/kvm_para.h" + "include/aarch64_be-linux-any/asm/param.h" + "include/aarch64_be-linux-any/asm/perf_regs.h" + "include/aarch64_be-linux-any/asm/posix_types.h" + "include/aarch64_be-linux-any/asm/ptrace.h" + "include/aarch64_be-linux-any/asm/setup.h" + "include/aarch64_be-linux-any/asm/sigcontext.h" + "include/aarch64_be-linux-any/asm/siginfo.h" + "include/aarch64_be-linux-any/asm/signal.h" + "include/aarch64_be-linux-any/asm/stat.h" + "include/aarch64_be-linux-any/asm/statfs.h" + "include/aarch64_be-linux-any/asm/ucontext.h" + "include/aarch64_be-linux-any/asm/unistd.h" "include/aarch64_be-linux-gnu/bits/endian.h" "include/aarch64_be-linux-gnu/bits/fcntl.h" "include/aarch64_be-linux-gnu/bits/fenv.h" @@ -3053,26 +3069,6 @@ set(ZIG_LIBC_FILES "include/aarch64_be-linux-gnu/sys/ptrace.h" "include/aarch64_be-linux-gnu/sys/ucontext.h" "include/aarch64_be-linux-gnu/sys/user.h" - "include/aarch64_be-linux-musl/asm/auxvec.h" - "include/aarch64_be-linux-musl/asm/bitsperlong.h" - "include/aarch64_be-linux-musl/asm/bpf_perf_event.h" - "include/aarch64_be-linux-musl/asm/byteorder.h" - "include/aarch64_be-linux-musl/asm/fcntl.h" - "include/aarch64_be-linux-musl/asm/hwcap.h" - "include/aarch64_be-linux-musl/asm/kvm.h" - "include/aarch64_be-linux-musl/asm/kvm_para.h" - "include/aarch64_be-linux-musl/asm/param.h" - "include/aarch64_be-linux-musl/asm/perf_regs.h" - "include/aarch64_be-linux-musl/asm/posix_types.h" - "include/aarch64_be-linux-musl/asm/ptrace.h" - "include/aarch64_be-linux-musl/asm/setup.h" - "include/aarch64_be-linux-musl/asm/sigcontext.h" - "include/aarch64_be-linux-musl/asm/siginfo.h" - "include/aarch64_be-linux-musl/asm/signal.h" - "include/aarch64_be-linux-musl/asm/stat.h" - "include/aarch64_be-linux-musl/asm/statfs.h" - "include/aarch64_be-linux-musl/asm/ucontext.h" - "include/aarch64_be-linux-musl/asm/unistd.h" "include/aarch64_be-linux-musl/bfd_stdint.h" "include/aarch64_be-linux-musl/bits/alltypes.h" "include/aarch64_be-linux-musl/bits/endian.h" @@ -3090,7 +3086,830 @@ set(ZIG_LIBC_FILES "include/aarch64_be-linux-musl/bits/stat.h" "include/aarch64_be-linux-musl/bits/syscall.h" "include/aarch64_be-linux-musl/bits/user.h" - "include/arm-linux-gnueabi/asm/unistd.h" + "include/any-linux-any/asm-generic/auxvec.h" + "include/any-linux-any/asm-generic/bitsperlong.h" + "include/any-linux-any/asm-generic/bpf_perf_event.h" + "include/any-linux-any/asm-generic/errno-base.h" + "include/any-linux-any/asm-generic/errno.h" + "include/any-linux-any/asm-generic/fcntl.h" + "include/any-linux-any/asm-generic/hugetlb_encode.h" + "include/any-linux-any/asm-generic/int-l64.h" + "include/any-linux-any/asm-generic/int-ll64.h" + "include/any-linux-any/asm-generic/ioctl.h" + "include/any-linux-any/asm-generic/ioctls.h" + "include/any-linux-any/asm-generic/ipcbuf.h" + "include/any-linux-any/asm-generic/kvm_para.h" + "include/any-linux-any/asm-generic/mman-common.h" + "include/any-linux-any/asm-generic/mman.h" + "include/any-linux-any/asm-generic/msgbuf.h" + "include/any-linux-any/asm-generic/param.h" + "include/any-linux-any/asm-generic/poll.h" + "include/any-linux-any/asm-generic/posix_types.h" + "include/any-linux-any/asm-generic/resource.h" + "include/any-linux-any/asm-generic/sembuf.h" + "include/any-linux-any/asm-generic/setup.h" + "include/any-linux-any/asm-generic/shmbuf.h" + "include/any-linux-any/asm-generic/shmparam.h" + "include/any-linux-any/asm-generic/siginfo.h" + "include/any-linux-any/asm-generic/signal-defs.h" + "include/any-linux-any/asm-generic/signal.h" + "include/any-linux-any/asm-generic/socket.h" + "include/any-linux-any/asm-generic/sockios.h" + "include/any-linux-any/asm-generic/stat.h" + "include/any-linux-any/asm-generic/statfs.h" + "include/any-linux-any/asm-generic/swab.h" + "include/any-linux-any/asm-generic/termbits.h" + "include/any-linux-any/asm-generic/termios.h" + "include/any-linux-any/asm-generic/types.h" + "include/any-linux-any/asm-generic/ucontext.h" + "include/any-linux-any/asm-generic/unistd.h" + "include/any-linux-any/asm/a.out.h" + "include/any-linux-any/asm/auxvec.h" + "include/any-linux-any/asm/bitfield.h" + "include/any-linux-any/asm/bitsperlong.h" + "include/any-linux-any/asm/boot.h" + "include/any-linux-any/asm/bootparam.h" + "include/any-linux-any/asm/bootx.h" + "include/any-linux-any/asm/bpf_perf_event.h" + "include/any-linux-any/asm/break.h" + "include/any-linux-any/asm/byteorder.h" + "include/any-linux-any/asm/cachectl.h" + "include/any-linux-any/asm/cputable.h" + "include/any-linux-any/asm/debugreg.h" + "include/any-linux-any/asm/e820.h" + "include/any-linux-any/asm/eeh.h" + "include/any-linux-any/asm/elf.h" + "include/any-linux-any/asm/epapr_hcalls.h" + "include/any-linux-any/asm/errno.h" + "include/any-linux-any/asm/fcntl.h" + "include/any-linux-any/asm/hw_breakpoint.h" + "include/any-linux-any/asm/hwcap.h" + "include/any-linux-any/asm/hwcap2.h" + "include/any-linux-any/asm/inst.h" + "include/any-linux-any/asm/ioctl.h" + "include/any-linux-any/asm/ioctls.h" + "include/any-linux-any/asm/ipcbuf.h" + "include/any-linux-any/asm/ist.h" + "include/any-linux-any/asm/kvm.h" + "include/any-linux-any/asm/kvm_para.h" + "include/any-linux-any/asm/kvm_perf.h" + "include/any-linux-any/asm/ldt.h" + "include/any-linux-any/asm/mce.h" + "include/any-linux-any/asm/mman.h" + "include/any-linux-any/asm/msgbuf.h" + "include/any-linux-any/asm/msr.h" + "include/any-linux-any/asm/mtrr.h" + "include/any-linux-any/asm/nvram.h" + "include/any-linux-any/asm/opal-prd.h" + "include/any-linux-any/asm/param.h" + "include/any-linux-any/asm/perf_event.h" + "include/any-linux-any/asm/perf_regs.h" + "include/any-linux-any/asm/poll.h" + "include/any-linux-any/asm/posix_types.h" + "include/any-linux-any/asm/posix_types_32.h" + "include/any-linux-any/asm/posix_types_64.h" + "include/any-linux-any/asm/posix_types_x32.h" + "include/any-linux-any/asm/prctl.h" + "include/any-linux-any/asm/processor-flags.h" + "include/any-linux-any/asm/ps3fb.h" + "include/any-linux-any/asm/ptrace-abi.h" + "include/any-linux-any/asm/ptrace.h" + "include/any-linux-any/asm/reg.h" + "include/any-linux-any/asm/resource.h" + "include/any-linux-any/asm/sembuf.h" + "include/any-linux-any/asm/setup.h" + "include/any-linux-any/asm/sgidefs.h" + "include/any-linux-any/asm/shmbuf.h" + "include/any-linux-any/asm/sigcontext.h" + "include/any-linux-any/asm/sigcontext32.h" + "include/any-linux-any/asm/siginfo.h" + "include/any-linux-any/asm/signal.h" + "include/any-linux-any/asm/socket.h" + "include/any-linux-any/asm/sockios.h" + "include/any-linux-any/asm/spu_info.h" + "include/any-linux-any/asm/stat.h" + "include/any-linux-any/asm/statfs.h" + "include/any-linux-any/asm/svm.h" + "include/any-linux-any/asm/swab.h" + "include/any-linux-any/asm/syscalls.h" + "include/any-linux-any/asm/sysmips.h" + "include/any-linux-any/asm/termbits.h" + "include/any-linux-any/asm/termios.h" + "include/any-linux-any/asm/tm.h" + "include/any-linux-any/asm/types.h" + "include/any-linux-any/asm/ucontext.h" + "include/any-linux-any/asm/unistd-common.h" + "include/any-linux-any/asm/unistd-eabi.h" + "include/any-linux-any/asm/unistd-oabi.h" + "include/any-linux-any/asm/unistd.h" + "include/any-linux-any/asm/unistd_32.h" + "include/any-linux-any/asm/unistd_64.h" + "include/any-linux-any/asm/unistd_x32.h" + "include/any-linux-any/asm/vm86.h" + "include/any-linux-any/asm/vmx.h" + "include/any-linux-any/asm/vsyscall.h" + "include/any-linux-any/linux/a.out.h" + "include/any-linux-any/linux/acct.h" + "include/any-linux-any/linux/adb.h" + "include/any-linux-any/linux/adfs_fs.h" + "include/any-linux-any/linux/affs_hardblocks.h" + "include/any-linux-any/linux/agpgart.h" + "include/any-linux-any/linux/aio_abi.h" + "include/any-linux-any/linux/am437x-vpfe.h" + "include/any-linux-any/linux/android/binder.h" + "include/any-linux-any/linux/apm_bios.h" + "include/any-linux-any/linux/arcfb.h" + "include/any-linux-any/linux/arm_sdei.h" + "include/any-linux-any/linux/aspeed-lpc-ctrl.h" + "include/any-linux-any/linux/atalk.h" + "include/any-linux-any/linux/atm.h" + "include/any-linux-any/linux/atm_eni.h" + "include/any-linux-any/linux/atm_he.h" + "include/any-linux-any/linux/atm_idt77105.h" + "include/any-linux-any/linux/atm_nicstar.h" + "include/any-linux-any/linux/atm_tcp.h" + "include/any-linux-any/linux/atm_zatm.h" + "include/any-linux-any/linux/atmapi.h" + "include/any-linux-any/linux/atmarp.h" + "include/any-linux-any/linux/atmbr2684.h" + "include/any-linux-any/linux/atmclip.h" + "include/any-linux-any/linux/atmdev.h" + "include/any-linux-any/linux/atmioc.h" + "include/any-linux-any/linux/atmlec.h" + "include/any-linux-any/linux/atmmpc.h" + "include/any-linux-any/linux/atmppp.h" + "include/any-linux-any/linux/atmsap.h" + "include/any-linux-any/linux/atmsvc.h" + "include/any-linux-any/linux/audit.h" + "include/any-linux-any/linux/auto_dev-ioctl.h" + "include/any-linux-any/linux/auto_fs.h" + "include/any-linux-any/linux/auto_fs4.h" + "include/any-linux-any/linux/auxvec.h" + "include/any-linux-any/linux/ax25.h" + "include/any-linux-any/linux/b1lli.h" + "include/any-linux-any/linux/batadv_packet.h" + "include/any-linux-any/linux/batman_adv.h" + "include/any-linux-any/linux/baycom.h" + "include/any-linux-any/linux/bcache.h" + "include/any-linux-any/linux/bcm933xx_hcs.h" + "include/any-linux-any/linux/bfs_fs.h" + "include/any-linux-any/linux/binfmts.h" + "include/any-linux-any/linux/blkpg.h" + "include/any-linux-any/linux/blktrace_api.h" + "include/any-linux-any/linux/blkzoned.h" + "include/any-linux-any/linux/bpf.h" + "include/any-linux-any/linux/bpf_common.h" + "include/any-linux-any/linux/bpf_perf_event.h" + "include/any-linux-any/linux/bpfilter.h" + "include/any-linux-any/linux/bpqether.h" + "include/any-linux-any/linux/bsg.h" + "include/any-linux-any/linux/bt-bmc.h" + "include/any-linux-any/linux/btf.h" + "include/any-linux-any/linux/btrfs.h" + "include/any-linux-any/linux/btrfs_tree.h" + "include/any-linux-any/linux/byteorder/big_endian.h" + "include/any-linux-any/linux/byteorder/little_endian.h" + "include/any-linux-any/linux/caif/caif_socket.h" + "include/any-linux-any/linux/caif/if_caif.h" + "include/any-linux-any/linux/can.h" + "include/any-linux-any/linux/can/bcm.h" + "include/any-linux-any/linux/can/error.h" + "include/any-linux-any/linux/can/gw.h" + "include/any-linux-any/linux/can/netlink.h" + "include/any-linux-any/linux/can/raw.h" + "include/any-linux-any/linux/can/vxcan.h" + "include/any-linux-any/linux/capability.h" + "include/any-linux-any/linux/capi.h" + "include/any-linux-any/linux/cciss_defs.h" + "include/any-linux-any/linux/cciss_ioctl.h" + "include/any-linux-any/linux/cdrom.h" + "include/any-linux-any/linux/cec-funcs.h" + "include/any-linux-any/linux/cec.h" + "include/any-linux-any/linux/cgroupstats.h" + "include/any-linux-any/linux/chio.h" + "include/any-linux-any/linux/cifs/cifs_mount.h" + "include/any-linux-any/linux/cm4000_cs.h" + "include/any-linux-any/linux/cn_proc.h" + "include/any-linux-any/linux/coda.h" + "include/any-linux-any/linux/coda_psdev.h" + "include/any-linux-any/linux/coff.h" + "include/any-linux-any/linux/connector.h" + "include/any-linux-any/linux/const.h" + "include/any-linux-any/linux/coresight-stm.h" + "include/any-linux-any/linux/cramfs_fs.h" + "include/any-linux-any/linux/cryptouser.h" + "include/any-linux-any/linux/cuda.h" + "include/any-linux-any/linux/cyclades.h" + "include/any-linux-any/linux/cycx_cfm.h" + "include/any-linux-any/linux/dcbnl.h" + "include/any-linux-any/linux/dccp.h" + "include/any-linux-any/linux/devlink.h" + "include/any-linux-any/linux/dlm.h" + "include/any-linux-any/linux/dlm_device.h" + "include/any-linux-any/linux/dlm_netlink.h" + "include/any-linux-any/linux/dlm_plock.h" + "include/any-linux-any/linux/dlmconstants.h" + "include/any-linux-any/linux/dm-ioctl.h" + "include/any-linux-any/linux/dm-log-userspace.h" + "include/any-linux-any/linux/dma-buf.h" + "include/any-linux-any/linux/dn.h" + "include/any-linux-any/linux/dqblk_xfs.h" + "include/any-linux-any/linux/dvb/audio.h" + "include/any-linux-any/linux/dvb/ca.h" + "include/any-linux-any/linux/dvb/dmx.h" + "include/any-linux-any/linux/dvb/frontend.h" + "include/any-linux-any/linux/dvb/net.h" + "include/any-linux-any/linux/dvb/osd.h" + "include/any-linux-any/linux/dvb/version.h" + "include/any-linux-any/linux/dvb/video.h" + "include/any-linux-any/linux/edd.h" + "include/any-linux-any/linux/efs_fs_sb.h" + "include/any-linux-any/linux/elf-em.h" + "include/any-linux-any/linux/elf-fdpic.h" + "include/any-linux-any/linux/elf.h" + "include/any-linux-any/linux/elfcore.h" + "include/any-linux-any/linux/errno.h" + "include/any-linux-any/linux/errqueue.h" + "include/any-linux-any/linux/erspan.h" + "include/any-linux-any/linux/ethtool.h" + "include/any-linux-any/linux/eventpoll.h" + "include/any-linux-any/linux/fadvise.h" + "include/any-linux-any/linux/falloc.h" + "include/any-linux-any/linux/fanotify.h" + "include/any-linux-any/linux/fb.h" + "include/any-linux-any/linux/fcntl.h" + "include/any-linux-any/linux/fd.h" + "include/any-linux-any/linux/fdreg.h" + "include/any-linux-any/linux/fib_rules.h" + "include/any-linux-any/linux/fiemap.h" + "include/any-linux-any/linux/filter.h" + "include/any-linux-any/linux/firewire-cdev.h" + "include/any-linux-any/linux/firewire-constants.h" + "include/any-linux-any/linux/flat.h" + "include/any-linux-any/linux/fou.h" + "include/any-linux-any/linux/fpga-dfl.h" + "include/any-linux-any/linux/fs.h" + "include/any-linux-any/linux/fsi.h" + "include/any-linux-any/linux/fsl_hypervisor.h" + "include/any-linux-any/linux/fsmap.h" + "include/any-linux-any/linux/fuse.h" + "include/any-linux-any/linux/futex.h" + "include/any-linux-any/linux/gameport.h" + "include/any-linux-any/linux/gen_stats.h" + "include/any-linux-any/linux/genetlink.h" + "include/any-linux-any/linux/genwqe/genwqe_card.h" + "include/any-linux-any/linux/gfs2_ondisk.h" + "include/any-linux-any/linux/gigaset_dev.h" + "include/any-linux-any/linux/gpio.h" + "include/any-linux-any/linux/gsmmux.h" + "include/any-linux-any/linux/gtp.h" + "include/any-linux-any/linux/hash_info.h" + "include/any-linux-any/linux/hdlc.h" + "include/any-linux-any/linux/hdlc/ioctl.h" + "include/any-linux-any/linux/hdlcdrv.h" + "include/any-linux-any/linux/hdreg.h" + "include/any-linux-any/linux/hid.h" + "include/any-linux-any/linux/hiddev.h" + "include/any-linux-any/linux/hidraw.h" + "include/any-linux-any/linux/hpet.h" + "include/any-linux-any/linux/hsi/cs-protocol.h" + "include/any-linux-any/linux/hsi/hsi_char.h" + "include/any-linux-any/linux/hsr_netlink.h" + "include/any-linux-any/linux/hw_breakpoint.h" + "include/any-linux-any/linux/hyperv.h" + "include/any-linux-any/linux/hysdn_if.h" + "include/any-linux-any/linux/i2c-dev.h" + "include/any-linux-any/linux/i2c.h" + "include/any-linux-any/linux/i2o-dev.h" + "include/any-linux-any/linux/i8k.h" + "include/any-linux-any/linux/icmp.h" + "include/any-linux-any/linux/icmpv6.h" + "include/any-linux-any/linux/if.h" + "include/any-linux-any/linux/if_addr.h" + "include/any-linux-any/linux/if_addrlabel.h" + "include/any-linux-any/linux/if_alg.h" + "include/any-linux-any/linux/if_arcnet.h" + "include/any-linux-any/linux/if_arp.h" + "include/any-linux-any/linux/if_bonding.h" + "include/any-linux-any/linux/if_bridge.h" + "include/any-linux-any/linux/if_cablemodem.h" + "include/any-linux-any/linux/if_eql.h" + "include/any-linux-any/linux/if_ether.h" + "include/any-linux-any/linux/if_fc.h" + "include/any-linux-any/linux/if_fddi.h" + "include/any-linux-any/linux/if_frad.h" + "include/any-linux-any/linux/if_hippi.h" + "include/any-linux-any/linux/if_infiniband.h" + "include/any-linux-any/linux/if_link.h" + "include/any-linux-any/linux/if_ltalk.h" + "include/any-linux-any/linux/if_macsec.h" + "include/any-linux-any/linux/if_packet.h" + "include/any-linux-any/linux/if_phonet.h" + "include/any-linux-any/linux/if_plip.h" + "include/any-linux-any/linux/if_ppp.h" + "include/any-linux-any/linux/if_pppol2tp.h" + "include/any-linux-any/linux/if_pppox.h" + "include/any-linux-any/linux/if_slip.h" + "include/any-linux-any/linux/if_team.h" + "include/any-linux-any/linux/if_tun.h" + "include/any-linux-any/linux/if_tunnel.h" + "include/any-linux-any/linux/if_vlan.h" + "include/any-linux-any/linux/if_x25.h" + "include/any-linux-any/linux/if_xdp.h" + "include/any-linux-any/linux/ife.h" + "include/any-linux-any/linux/igmp.h" + "include/any-linux-any/linux/iio/events.h" + "include/any-linux-any/linux/iio/types.h" + "include/any-linux-any/linux/ila.h" + "include/any-linux-any/linux/in.h" + "include/any-linux-any/linux/in6.h" + "include/any-linux-any/linux/in_route.h" + "include/any-linux-any/linux/inet_diag.h" + "include/any-linux-any/linux/inotify.h" + "include/any-linux-any/linux/input-event-codes.h" + "include/any-linux-any/linux/input.h" + "include/any-linux-any/linux/ioctl.h" + "include/any-linux-any/linux/ip.h" + "include/any-linux-any/linux/ip6_tunnel.h" + "include/any-linux-any/linux/ip_vs.h" + "include/any-linux-any/linux/ipc.h" + "include/any-linux-any/linux/ipmi.h" + "include/any-linux-any/linux/ipmi_bmc.h" + "include/any-linux-any/linux/ipmi_msgdefs.h" + "include/any-linux-any/linux/ipsec.h" + "include/any-linux-any/linux/ipv6.h" + "include/any-linux-any/linux/ipv6_route.h" + "include/any-linux-any/linux/ipx.h" + "include/any-linux-any/linux/irqnr.h" + "include/any-linux-any/linux/isdn.h" + "include/any-linux-any/linux/isdn/capicmd.h" + "include/any-linux-any/linux/isdn_divertif.h" + "include/any-linux-any/linux/isdn_ppp.h" + "include/any-linux-any/linux/isdnif.h" + "include/any-linux-any/linux/iso_fs.h" + "include/any-linux-any/linux/ivtv.h" + "include/any-linux-any/linux/ivtvfb.h" + "include/any-linux-any/linux/jffs2.h" + "include/any-linux-any/linux/joystick.h" + "include/any-linux-any/linux/kcm.h" + "include/any-linux-any/linux/kcmp.h" + "include/any-linux-any/linux/kcov.h" + "include/any-linux-any/linux/kd.h" + "include/any-linux-any/linux/kdev_t.h" + "include/any-linux-any/linux/kernel-page-flags.h" + "include/any-linux-any/linux/kernel.h" + "include/any-linux-any/linux/kernelcapi.h" + "include/any-linux-any/linux/kexec.h" + "include/any-linux-any/linux/keyboard.h" + "include/any-linux-any/linux/keyctl.h" + "include/any-linux-any/linux/kfd_ioctl.h" + "include/any-linux-any/linux/kvm.h" + "include/any-linux-any/linux/kvm_para.h" + "include/any-linux-any/linux/l2tp.h" + "include/any-linux-any/linux/libc-compat.h" + "include/any-linux-any/linux/lightnvm.h" + "include/any-linux-any/linux/limits.h" + "include/any-linux-any/linux/lirc.h" + "include/any-linux-any/linux/llc.h" + "include/any-linux-any/linux/loop.h" + "include/any-linux-any/linux/lp.h" + "include/any-linux-any/linux/lwtunnel.h" + "include/any-linux-any/linux/magic.h" + "include/any-linux-any/linux/major.h" + "include/any-linux-any/linux/map_to_7segment.h" + "include/any-linux-any/linux/matroxfb.h" + "include/any-linux-any/linux/max2175.h" + "include/any-linux-any/linux/mdio.h" + "include/any-linux-any/linux/media-bus-format.h" + "include/any-linux-any/linux/media.h" + "include/any-linux-any/linux/mei.h" + "include/any-linux-any/linux/membarrier.h" + "include/any-linux-any/linux/memfd.h" + "include/any-linux-any/linux/mempolicy.h" + "include/any-linux-any/linux/meye.h" + "include/any-linux-any/linux/mic_common.h" + "include/any-linux-any/linux/mic_ioctl.h" + "include/any-linux-any/linux/mii.h" + "include/any-linux-any/linux/minix_fs.h" + "include/any-linux-any/linux/mman.h" + "include/any-linux-any/linux/mmc/ioctl.h" + "include/any-linux-any/linux/mmtimer.h" + "include/any-linux-any/linux/module.h" + "include/any-linux-any/linux/mpls.h" + "include/any-linux-any/linux/mpls_iptunnel.h" + "include/any-linux-any/linux/mqueue.h" + "include/any-linux-any/linux/mroute.h" + "include/any-linux-any/linux/mroute6.h" + "include/any-linux-any/linux/msdos_fs.h" + "include/any-linux-any/linux/msg.h" + "include/any-linux-any/linux/mtio.h" + "include/any-linux-any/linux/n_r3964.h" + "include/any-linux-any/linux/nbd-netlink.h" + "include/any-linux-any/linux/nbd.h" + "include/any-linux-any/linux/ncsi.h" + "include/any-linux-any/linux/ndctl.h" + "include/any-linux-any/linux/neighbour.h" + "include/any-linux-any/linux/net.h" + "include/any-linux-any/linux/net_dropmon.h" + "include/any-linux-any/linux/net_namespace.h" + "include/any-linux-any/linux/net_tstamp.h" + "include/any-linux-any/linux/netconf.h" + "include/any-linux-any/linux/netdevice.h" + "include/any-linux-any/linux/netfilter.h" + "include/any-linux-any/linux/netfilter/ipset/ip_set.h" + "include/any-linux-any/linux/netfilter/ipset/ip_set_bitmap.h" + "include/any-linux-any/linux/netfilter/ipset/ip_set_hash.h" + "include/any-linux-any/linux/netfilter/ipset/ip_set_list.h" + "include/any-linux-any/linux/netfilter/nf_conntrack_common.h" + "include/any-linux-any/linux/netfilter/nf_conntrack_ftp.h" + "include/any-linux-any/linux/netfilter/nf_conntrack_sctp.h" + "include/any-linux-any/linux/netfilter/nf_conntrack_tcp.h" + "include/any-linux-any/linux/netfilter/nf_conntrack_tuple_common.h" + "include/any-linux-any/linux/netfilter/nf_log.h" + "include/any-linux-any/linux/netfilter/nf_nat.h" + "include/any-linux-any/linux/netfilter/nf_tables.h" + "include/any-linux-any/linux/netfilter/nf_tables_compat.h" + "include/any-linux-any/linux/netfilter/nfnetlink.h" + "include/any-linux-any/linux/netfilter/nfnetlink_acct.h" + "include/any-linux-any/linux/netfilter/nfnetlink_compat.h" + "include/any-linux-any/linux/netfilter/nfnetlink_conntrack.h" + "include/any-linux-any/linux/netfilter/nfnetlink_cthelper.h" + "include/any-linux-any/linux/netfilter/nfnetlink_cttimeout.h" + "include/any-linux-any/linux/netfilter/nfnetlink_log.h" + "include/any-linux-any/linux/netfilter/nfnetlink_osf.h" + "include/any-linux-any/linux/netfilter/nfnetlink_queue.h" + "include/any-linux-any/linux/netfilter/x_tables.h" + "include/any-linux-any/linux/netfilter/xt_AUDIT.h" + "include/any-linux-any/linux/netfilter/xt_CHECKSUM.h" + "include/any-linux-any/linux/netfilter/xt_CLASSIFY.h" + "include/any-linux-any/linux/netfilter/xt_CONNSECMARK.h" + "include/any-linux-any/linux/netfilter/xt_CT.h" + "include/any-linux-any/linux/netfilter/xt_HMARK.h" + "include/any-linux-any/linux/netfilter/xt_IDLETIMER.h" + "include/any-linux-any/linux/netfilter/xt_LED.h" + "include/any-linux-any/linux/netfilter/xt_LOG.h" + "include/any-linux-any/linux/netfilter/xt_NFLOG.h" + "include/any-linux-any/linux/netfilter/xt_NFQUEUE.h" + "include/any-linux-any/linux/netfilter/xt_SECMARK.h" + "include/any-linux-any/linux/netfilter/xt_SYNPROXY.h" + "include/any-linux-any/linux/netfilter/xt_TCPOPTSTRIP.h" + "include/any-linux-any/linux/netfilter/xt_TEE.h" + "include/any-linux-any/linux/netfilter/xt_TPROXY.h" + "include/any-linux-any/linux/netfilter/xt_addrtype.h" + "include/any-linux-any/linux/netfilter/xt_bpf.h" + "include/any-linux-any/linux/netfilter/xt_cgroup.h" + "include/any-linux-any/linux/netfilter/xt_cluster.h" + "include/any-linux-any/linux/netfilter/xt_comment.h" + "include/any-linux-any/linux/netfilter/xt_connbytes.h" + "include/any-linux-any/linux/netfilter/xt_connlabel.h" + "include/any-linux-any/linux/netfilter/xt_connlimit.h" + "include/any-linux-any/linux/netfilter/xt_connmark.h" + "include/any-linux-any/linux/netfilter/xt_conntrack.h" + "include/any-linux-any/linux/netfilter/xt_cpu.h" + "include/any-linux-any/linux/netfilter/xt_dccp.h" + "include/any-linux-any/linux/netfilter/xt_devgroup.h" + "include/any-linux-any/linux/netfilter/xt_dscp.h" + "include/any-linux-any/linux/netfilter/xt_ecn.h" + "include/any-linux-any/linux/netfilter/xt_esp.h" + "include/any-linux-any/linux/netfilter/xt_hashlimit.h" + "include/any-linux-any/linux/netfilter/xt_helper.h" + "include/any-linux-any/linux/netfilter/xt_ipcomp.h" + "include/any-linux-any/linux/netfilter/xt_iprange.h" + "include/any-linux-any/linux/netfilter/xt_ipvs.h" + "include/any-linux-any/linux/netfilter/xt_l2tp.h" + "include/any-linux-any/linux/netfilter/xt_length.h" + "include/any-linux-any/linux/netfilter/xt_limit.h" + "include/any-linux-any/linux/netfilter/xt_mac.h" + "include/any-linux-any/linux/netfilter/xt_mark.h" + "include/any-linux-any/linux/netfilter/xt_multiport.h" + "include/any-linux-any/linux/netfilter/xt_nfacct.h" + "include/any-linux-any/linux/netfilter/xt_osf.h" + "include/any-linux-any/linux/netfilter/xt_owner.h" + "include/any-linux-any/linux/netfilter/xt_physdev.h" + "include/any-linux-any/linux/netfilter/xt_pkttype.h" + "include/any-linux-any/linux/netfilter/xt_policy.h" + "include/any-linux-any/linux/netfilter/xt_quota.h" + "include/any-linux-any/linux/netfilter/xt_rateest.h" + "include/any-linux-any/linux/netfilter/xt_realm.h" + "include/any-linux-any/linux/netfilter/xt_recent.h" + "include/any-linux-any/linux/netfilter/xt_rpfilter.h" + "include/any-linux-any/linux/netfilter/xt_sctp.h" + "include/any-linux-any/linux/netfilter/xt_set.h" + "include/any-linux-any/linux/netfilter/xt_socket.h" + "include/any-linux-any/linux/netfilter/xt_state.h" + "include/any-linux-any/linux/netfilter/xt_statistic.h" + "include/any-linux-any/linux/netfilter/xt_string.h" + "include/any-linux-any/linux/netfilter/xt_tcpmss.h" + "include/any-linux-any/linux/netfilter/xt_tcpudp.h" + "include/any-linux-any/linux/netfilter/xt_time.h" + "include/any-linux-any/linux/netfilter/xt_u32.h" + "include/any-linux-any/linux/netfilter_arp.h" + "include/any-linux-any/linux/netfilter_arp/arp_tables.h" + "include/any-linux-any/linux/netfilter_arp/arpt_mangle.h" + "include/any-linux-any/linux/netfilter_bridge.h" + "include/any-linux-any/linux/netfilter_bridge/ebt_802_3.h" + "include/any-linux-any/linux/netfilter_bridge/ebt_among.h" + "include/any-linux-any/linux/netfilter_bridge/ebt_arp.h" + "include/any-linux-any/linux/netfilter_bridge/ebt_arpreply.h" + "include/any-linux-any/linux/netfilter_bridge/ebt_ip.h" + "include/any-linux-any/linux/netfilter_bridge/ebt_ip6.h" + "include/any-linux-any/linux/netfilter_bridge/ebt_limit.h" + "include/any-linux-any/linux/netfilter_bridge/ebt_log.h" + "include/any-linux-any/linux/netfilter_bridge/ebt_mark_m.h" + "include/any-linux-any/linux/netfilter_bridge/ebt_mark_t.h" + "include/any-linux-any/linux/netfilter_bridge/ebt_nat.h" + "include/any-linux-any/linux/netfilter_bridge/ebt_nflog.h" + "include/any-linux-any/linux/netfilter_bridge/ebt_pkttype.h" + "include/any-linux-any/linux/netfilter_bridge/ebt_redirect.h" + "include/any-linux-any/linux/netfilter_bridge/ebt_stp.h" + "include/any-linux-any/linux/netfilter_bridge/ebt_vlan.h" + "include/any-linux-any/linux/netfilter_bridge/ebtables.h" + "include/any-linux-any/linux/netfilter_decnet.h" + "include/any-linux-any/linux/netfilter_ipv4.h" + "include/any-linux-any/linux/netfilter_ipv4/ip_tables.h" + "include/any-linux-any/linux/netfilter_ipv4/ipt_CLUSTERIP.h" + "include/any-linux-any/linux/netfilter_ipv4/ipt_LOG.h" + "include/any-linux-any/linux/netfilter_ipv4/ipt_REJECT.h" + "include/any-linux-any/linux/netfilter_ipv4/ipt_ah.h" + "include/any-linux-any/linux/netfilter_ipv4/ipt_ecn.h" + "include/any-linux-any/linux/netfilter_ipv4/ipt_ttl.h" + "include/any-linux-any/linux/netfilter_ipv6.h" + "include/any-linux-any/linux/netfilter_ipv6/ip6_tables.h" + "include/any-linux-any/linux/netfilter_ipv6/ip6t_LOG.h" + "include/any-linux-any/linux/netfilter_ipv6/ip6t_NPT.h" + "include/any-linux-any/linux/netfilter_ipv6/ip6t_REJECT.h" + "include/any-linux-any/linux/netfilter_ipv6/ip6t_ah.h" + "include/any-linux-any/linux/netfilter_ipv6/ip6t_frag.h" + "include/any-linux-any/linux/netfilter_ipv6/ip6t_hl.h" + "include/any-linux-any/linux/netfilter_ipv6/ip6t_ipv6header.h" + "include/any-linux-any/linux/netfilter_ipv6/ip6t_mh.h" + "include/any-linux-any/linux/netfilter_ipv6/ip6t_opts.h" + "include/any-linux-any/linux/netfilter_ipv6/ip6t_rt.h" + "include/any-linux-any/linux/netfilter_ipv6/ip6t_srh.h" + "include/any-linux-any/linux/netlink.h" + "include/any-linux-any/linux/netlink_diag.h" + "include/any-linux-any/linux/netrom.h" + "include/any-linux-any/linux/nfc.h" + "include/any-linux-any/linux/nfs.h" + "include/any-linux-any/linux/nfs2.h" + "include/any-linux-any/linux/nfs3.h" + "include/any-linux-any/linux/nfs4.h" + "include/any-linux-any/linux/nfs4_mount.h" + "include/any-linux-any/linux/nfs_fs.h" + "include/any-linux-any/linux/nfs_idmap.h" + "include/any-linux-any/linux/nfs_mount.h" + "include/any-linux-any/linux/nfsacl.h" + "include/any-linux-any/linux/nfsd/cld.h" + "include/any-linux-any/linux/nfsd/debug.h" + "include/any-linux-any/linux/nfsd/export.h" + "include/any-linux-any/linux/nfsd/nfsfh.h" + "include/any-linux-any/linux/nfsd/stats.h" + "include/any-linux-any/linux/nilfs2_api.h" + "include/any-linux-any/linux/nilfs2_ondisk.h" + "include/any-linux-any/linux/nl80211.h" + "include/any-linux-any/linux/nsfs.h" + "include/any-linux-any/linux/nubus.h" + "include/any-linux-any/linux/nvme_ioctl.h" + "include/any-linux-any/linux/nvram.h" + "include/any-linux-any/linux/omap3isp.h" + "include/any-linux-any/linux/omapfb.h" + "include/any-linux-any/linux/oom.h" + "include/any-linux-any/linux/openvswitch.h" + "include/any-linux-any/linux/packet_diag.h" + "include/any-linux-any/linux/param.h" + "include/any-linux-any/linux/parport.h" + "include/any-linux-any/linux/patchkey.h" + "include/any-linux-any/linux/pci.h" + "include/any-linux-any/linux/pci_regs.h" + "include/any-linux-any/linux/pcitest.h" + "include/any-linux-any/linux/perf_event.h" + "include/any-linux-any/linux/personality.h" + "include/any-linux-any/linux/pfkeyv2.h" + "include/any-linux-any/linux/pg.h" + "include/any-linux-any/linux/phantom.h" + "include/any-linux-any/linux/phonet.h" + "include/any-linux-any/linux/pkt_cls.h" + "include/any-linux-any/linux/pkt_sched.h" + "include/any-linux-any/linux/pktcdvd.h" + "include/any-linux-any/linux/pmu.h" + "include/any-linux-any/linux/poll.h" + "include/any-linux-any/linux/posix_acl.h" + "include/any-linux-any/linux/posix_acl_xattr.h" + "include/any-linux-any/linux/posix_types.h" + "include/any-linux-any/linux/ppdev.h" + "include/any-linux-any/linux/ppp-comp.h" + "include/any-linux-any/linux/ppp-ioctl.h" + "include/any-linux-any/linux/ppp_defs.h" + "include/any-linux-any/linux/pps.h" + "include/any-linux-any/linux/pr.h" + "include/any-linux-any/linux/prctl.h" + "include/any-linux-any/linux/psample.h" + "include/any-linux-any/linux/psci.h" + "include/any-linux-any/linux/psp-sev.h" + "include/any-linux-any/linux/ptp_clock.h" + "include/any-linux-any/linux/ptrace.h" + "include/any-linux-any/linux/qemu_fw_cfg.h" + "include/any-linux-any/linux/qnx4_fs.h" + "include/any-linux-any/linux/qnxtypes.h" + "include/any-linux-any/linux/qrtr.h" + "include/any-linux-any/linux/quota.h" + "include/any-linux-any/linux/radeonfb.h" + "include/any-linux-any/linux/raid/md_p.h" + "include/any-linux-any/linux/raid/md_u.h" + "include/any-linux-any/linux/random.h" + "include/any-linux-any/linux/raw.h" + "include/any-linux-any/linux/rds.h" + "include/any-linux-any/linux/reboot.h" + "include/any-linux-any/linux/reiserfs_fs.h" + "include/any-linux-any/linux/reiserfs_xattr.h" + "include/any-linux-any/linux/resource.h" + "include/any-linux-any/linux/rfkill.h" + "include/any-linux-any/linux/rio_cm_cdev.h" + "include/any-linux-any/linux/rio_mport_cdev.h" + "include/any-linux-any/linux/romfs_fs.h" + "include/any-linux-any/linux/rose.h" + "include/any-linux-any/linux/route.h" + "include/any-linux-any/linux/rpmsg.h" + "include/any-linux-any/linux/rseq.h" + "include/any-linux-any/linux/rtc.h" + "include/any-linux-any/linux/rtnetlink.h" + "include/any-linux-any/linux/rxrpc.h" + "include/any-linux-any/linux/scc.h" + "include/any-linux-any/linux/sched.h" + "include/any-linux-any/linux/sched/types.h" + "include/any-linux-any/linux/scif_ioctl.h" + "include/any-linux-any/linux/screen_info.h" + "include/any-linux-any/linux/sctp.h" + "include/any-linux-any/linux/sdla.h" + "include/any-linux-any/linux/seccomp.h" + "include/any-linux-any/linux/securebits.h" + "include/any-linux-any/linux/sed-opal.h" + "include/any-linux-any/linux/seg6.h" + "include/any-linux-any/linux/seg6_genl.h" + "include/any-linux-any/linux/seg6_hmac.h" + "include/any-linux-any/linux/seg6_iptunnel.h" + "include/any-linux-any/linux/seg6_local.h" + "include/any-linux-any/linux/selinux_netlink.h" + "include/any-linux-any/linux/sem.h" + "include/any-linux-any/linux/serial.h" + "include/any-linux-any/linux/serial_core.h" + "include/any-linux-any/linux/serial_reg.h" + "include/any-linux-any/linux/serio.h" + "include/any-linux-any/linux/shm.h" + "include/any-linux-any/linux/signal.h" + "include/any-linux-any/linux/signalfd.h" + "include/any-linux-any/linux/smc.h" + "include/any-linux-any/linux/smc_diag.h" + "include/any-linux-any/linux/smiapp.h" + "include/any-linux-any/linux/snmp.h" + "include/any-linux-any/linux/sock_diag.h" + "include/any-linux-any/linux/socket.h" + "include/any-linux-any/linux/sockios.h" + "include/any-linux-any/linux/sonet.h" + "include/any-linux-any/linux/sonypi.h" + "include/any-linux-any/linux/sound.h" + "include/any-linux-any/linux/soundcard.h" + "include/any-linux-any/linux/spi/spidev.h" + "include/any-linux-any/linux/stat.h" + "include/any-linux-any/linux/stddef.h" + "include/any-linux-any/linux/stm.h" + "include/any-linux-any/linux/string.h" + "include/any-linux-any/linux/sunrpc/debug.h" + "include/any-linux-any/linux/suspend_ioctls.h" + "include/any-linux-any/linux/swab.h" + "include/any-linux-any/linux/switchtec_ioctl.h" + "include/any-linux-any/linux/sync_file.h" + "include/any-linux-any/linux/synclink.h" + "include/any-linux-any/linux/sysctl.h" + "include/any-linux-any/linux/sysinfo.h" + "include/any-linux-any/linux/target_core_user.h" + "include/any-linux-any/linux/taskstats.h" + "include/any-linux-any/linux/tc_act/tc_bpf.h" + "include/any-linux-any/linux/tc_act/tc_connmark.h" + "include/any-linux-any/linux/tc_act/tc_csum.h" + "include/any-linux-any/linux/tc_act/tc_defact.h" + "include/any-linux-any/linux/tc_act/tc_gact.h" + "include/any-linux-any/linux/tc_act/tc_ife.h" + "include/any-linux-any/linux/tc_act/tc_ipt.h" + "include/any-linux-any/linux/tc_act/tc_mirred.h" + "include/any-linux-any/linux/tc_act/tc_nat.h" + "include/any-linux-any/linux/tc_act/tc_pedit.h" + "include/any-linux-any/linux/tc_act/tc_sample.h" + "include/any-linux-any/linux/tc_act/tc_skbedit.h" + "include/any-linux-any/linux/tc_act/tc_skbmod.h" + "include/any-linux-any/linux/tc_act/tc_tunnel_key.h" + "include/any-linux-any/linux/tc_act/tc_vlan.h" + "include/any-linux-any/linux/tc_ematch/tc_em_cmp.h" + "include/any-linux-any/linux/tc_ematch/tc_em_ipt.h" + "include/any-linux-any/linux/tc_ematch/tc_em_meta.h" + "include/any-linux-any/linux/tc_ematch/tc_em_nbyte.h" + "include/any-linux-any/linux/tc_ematch/tc_em_text.h" + "include/any-linux-any/linux/tcp.h" + "include/any-linux-any/linux/tcp_metrics.h" + "include/any-linux-any/linux/tee.h" + "include/any-linux-any/linux/termios.h" + "include/any-linux-any/linux/thermal.h" + "include/any-linux-any/linux/time.h" + "include/any-linux-any/linux/timerfd.h" + "include/any-linux-any/linux/times.h" + "include/any-linux-any/linux/timex.h" + "include/any-linux-any/linux/tiocl.h" + "include/any-linux-any/linux/tipc.h" + "include/any-linux-any/linux/tipc_config.h" + "include/any-linux-any/linux/tipc_netlink.h" + "include/any-linux-any/linux/tipc_sockets_diag.h" + "include/any-linux-any/linux/tls.h" + "include/any-linux-any/linux/toshiba.h" + "include/any-linux-any/linux/tty.h" + "include/any-linux-any/linux/tty_flags.h" + "include/any-linux-any/linux/types.h" + "include/any-linux-any/linux/udf_fs_i.h" + "include/any-linux-any/linux/udp.h" + "include/any-linux-any/linux/uhid.h" + "include/any-linux-any/linux/uinput.h" + "include/any-linux-any/linux/uio.h" + "include/any-linux-any/linux/uleds.h" + "include/any-linux-any/linux/ultrasound.h" + "include/any-linux-any/linux/un.h" + "include/any-linux-any/linux/unistd.h" + "include/any-linux-any/linux/unix_diag.h" + "include/any-linux-any/linux/usb/audio.h" + "include/any-linux-any/linux/usb/cdc-wdm.h" + "include/any-linux-any/linux/usb/cdc.h" + "include/any-linux-any/linux/usb/ch11.h" + "include/any-linux-any/linux/usb/ch9.h" + "include/any-linux-any/linux/usb/charger.h" + "include/any-linux-any/linux/usb/functionfs.h" + "include/any-linux-any/linux/usb/g_printer.h" + "include/any-linux-any/linux/usb/g_uvc.h" + "include/any-linux-any/linux/usb/gadgetfs.h" + "include/any-linux-any/linux/usb/midi.h" + "include/any-linux-any/linux/usb/tmc.h" + "include/any-linux-any/linux/usb/video.h" + "include/any-linux-any/linux/usbdevice_fs.h" + "include/any-linux-any/linux/usbip.h" + "include/any-linux-any/linux/userfaultfd.h" + "include/any-linux-any/linux/userio.h" + "include/any-linux-any/linux/utime.h" + "include/any-linux-any/linux/utsname.h" + "include/any-linux-any/linux/uuid.h" + "include/any-linux-any/linux/uvcvideo.h" + "include/any-linux-any/linux/v4l2-common.h" + "include/any-linux-any/linux/v4l2-controls.h" + "include/any-linux-any/linux/v4l2-dv-timings.h" + "include/any-linux-any/linux/v4l2-mediabus.h" + "include/any-linux-any/linux/v4l2-subdev.h" + "include/any-linux-any/linux/vbox_err.h" + "include/any-linux-any/linux/vbox_vmmdev_types.h" + "include/any-linux-any/linux/vboxguest.h" + "include/any-linux-any/linux/version.h" + "include/any-linux-any/linux/veth.h" + "include/any-linux-any/linux/vfio.h" + "include/any-linux-any/linux/vfio_ccw.h" + "include/any-linux-any/linux/vhost.h" + "include/any-linux-any/linux/videodev2.h" + "include/any-linux-any/linux/virtio_9p.h" + "include/any-linux-any/linux/virtio_balloon.h" + "include/any-linux-any/linux/virtio_blk.h" + "include/any-linux-any/linux/virtio_config.h" + "include/any-linux-any/linux/virtio_console.h" + "include/any-linux-any/linux/virtio_crypto.h" + "include/any-linux-any/linux/virtio_gpu.h" + "include/any-linux-any/linux/virtio_ids.h" + "include/any-linux-any/linux/virtio_input.h" + "include/any-linux-any/linux/virtio_mmio.h" + "include/any-linux-any/linux/virtio_net.h" + "include/any-linux-any/linux/virtio_pci.h" + "include/any-linux-any/linux/virtio_ring.h" + "include/any-linux-any/linux/virtio_rng.h" + "include/any-linux-any/linux/virtio_scsi.h" + "include/any-linux-any/linux/virtio_types.h" + "include/any-linux-any/linux/virtio_vsock.h" + "include/any-linux-any/linux/vm_sockets.h" + "include/any-linux-any/linux/vm_sockets_diag.h" + "include/any-linux-any/linux/vmcore.h" + "include/any-linux-any/linux/vsockmon.h" + "include/any-linux-any/linux/vt.h" + "include/any-linux-any/linux/vtpm_proxy.h" + "include/any-linux-any/linux/wait.h" + "include/any-linux-any/linux/wanrouter.h" + "include/any-linux-any/linux/watchdog.h" + "include/any-linux-any/linux/wimax.h" + "include/any-linux-any/linux/wimax/i2400m.h" + "include/any-linux-any/linux/wireless.h" + "include/any-linux-any/linux/wmi.h" + "include/any-linux-any/linux/x25.h" + "include/any-linux-any/linux/xattr.h" + "include/any-linux-any/linux/xfrm.h" + "include/any-linux-any/linux/xilinx-v4l2-controls.h" + "include/any-linux-any/linux/zorro.h" + "include/any-linux-any/linux/zorro_ids.h" + "include/arm-linux-any/asm/fcntl.h" + "include/arm-linux-any/asm/ioctls.h" + "include/arm-linux-any/asm/mman.h" + "include/arm-linux-any/asm/statfs.h" + "include/arm-linux-any/asm/swab.h" + "include/arm-linux-any/asm/types.h" "include/arm-linux-gnueabi/bits/endian.h" "include/arm-linux-gnueabi/bits/fcntl.h" "include/arm-linux-gnueabi/bits/fenv.h" @@ -3112,7 +3931,6 @@ set(ZIG_LIBC_FILES "include/arm-linux-gnueabi/sys/ptrace.h" "include/arm-linux-gnueabi/sys/ucontext.h" "include/arm-linux-gnueabi/sys/user.h" - "include/arm-linux-gnueabihf/asm/unistd.h" "include/arm-linux-gnueabihf/bits/endian.h" "include/arm-linux-gnueabihf/bits/fcntl.h" "include/arm-linux-gnueabihf/bits/fenv.h" @@ -3134,12 +3952,6 @@ set(ZIG_LIBC_FILES "include/arm-linux-gnueabihf/sys/ptrace.h" "include/arm-linux-gnueabihf/sys/ucontext.h" "include/arm-linux-gnueabihf/sys/user.h" - "include/arm-linux-musleabi/asm/fcntl.h" - "include/arm-linux-musleabi/asm/ioctls.h" - "include/arm-linux-musleabi/asm/mman.h" - "include/arm-linux-musleabi/asm/statfs.h" - "include/arm-linux-musleabi/asm/swab.h" - "include/arm-linux-musleabi/asm/types.h" "include/arm-linux-musleabi/bfd.h" "include/arm-linux-musleabi/bfd_stdint.h" "include/arm-linux-musleabi/bits/fcntl.h" @@ -3149,12 +3961,6 @@ set(ZIG_LIBC_FILES "include/arm-linux-musleabi/bits/ptrace.h" "include/arm-linux-musleabi/bits/shm.h" "include/arm-linux-musleabi/bits/stdint.h" - "include/arm-linux-musleabihf/asm/fcntl.h" - "include/arm-linux-musleabihf/asm/ioctls.h" - "include/arm-linux-musleabihf/asm/mman.h" - "include/arm-linux-musleabihf/asm/statfs.h" - "include/arm-linux-musleabihf/asm/swab.h" - "include/arm-linux-musleabihf/asm/types.h" "include/arm-linux-musleabihf/bfd.h" "include/arm-linux-musleabihf/bfd_stdint.h" "include/arm-linux-musleabihf/bits/fcntl.h" @@ -3164,7 +3970,12 @@ set(ZIG_LIBC_FILES "include/arm-linux-musleabihf/bits/ptrace.h" "include/arm-linux-musleabihf/bits/shm.h" "include/arm-linux-musleabihf/bits/stdint.h" - "include/armeb-linux-gnueabi/asm/unistd.h" + "include/armeb-linux-any/asm/fcntl.h" + "include/armeb-linux-any/asm/ioctls.h" + "include/armeb-linux-any/asm/mman.h" + "include/armeb-linux-any/asm/statfs.h" + "include/armeb-linux-any/asm/swab.h" + "include/armeb-linux-any/asm/types.h" "include/armeb-linux-gnueabi/bits/endian.h" "include/armeb-linux-gnueabi/bits/fcntl.h" "include/armeb-linux-gnueabi/bits/fenv.h" @@ -3186,7 +3997,6 @@ set(ZIG_LIBC_FILES "include/armeb-linux-gnueabi/sys/ptrace.h" "include/armeb-linux-gnueabi/sys/ucontext.h" "include/armeb-linux-gnueabi/sys/user.h" - "include/armeb-linux-gnueabihf/asm/unistd.h" "include/armeb-linux-gnueabihf/bits/endian.h" "include/armeb-linux-gnueabihf/bits/fcntl.h" "include/armeb-linux-gnueabihf/bits/fenv.h" @@ -3208,12 +4018,6 @@ set(ZIG_LIBC_FILES "include/armeb-linux-gnueabihf/sys/ptrace.h" "include/armeb-linux-gnueabihf/sys/ucontext.h" "include/armeb-linux-gnueabihf/sys/user.h" - "include/armeb-linux-musleabi/asm/fcntl.h" - "include/armeb-linux-musleabi/asm/ioctls.h" - "include/armeb-linux-musleabi/asm/mman.h" - "include/armeb-linux-musleabi/asm/statfs.h" - "include/armeb-linux-musleabi/asm/swab.h" - "include/armeb-linux-musleabi/asm/types.h" "include/armeb-linux-musleabi/bfd.h" "include/armeb-linux-musleabi/bfd_stdint.h" "include/armeb-linux-musleabi/bits/fcntl.h" @@ -3223,12 +4027,6 @@ set(ZIG_LIBC_FILES "include/armeb-linux-musleabi/bits/ptrace.h" "include/armeb-linux-musleabi/bits/shm.h" "include/armeb-linux-musleabi/bits/stdint.h" - "include/armeb-linux-musleabihf/asm/fcntl.h" - "include/armeb-linux-musleabihf/asm/ioctls.h" - "include/armeb-linux-musleabihf/asm/mman.h" - "include/armeb-linux-musleabihf/asm/statfs.h" - "include/armeb-linux-musleabihf/asm/swab.h" - "include/armeb-linux-musleabihf/asm/types.h" "include/armeb-linux-musleabihf/bfd.h" "include/armeb-linux-musleabihf/bfd_stdint.h" "include/armeb-linux-musleabihf/bits/fcntl.h" @@ -3251,10 +4049,6 @@ set(ZIG_LIBC_FILES "include/generic-glibc/arpa/nameser_compat.h" "include/generic-glibc/arpa/telnet.h" "include/generic-glibc/arpa/tftp.h" - "include/generic-glibc/asm-generic/bitsperlong.h" - "include/generic-glibc/asm-generic/unistd.h" - "include/generic-glibc/asm/unistd_32.h" - "include/generic-glibc/asm/unistd_64.h" "include/generic-glibc/assert.h" "include/generic-glibc/bits/a.out.h" "include/generic-glibc/bits/argp-ldbl.h" @@ -3512,7 +4306,6 @@ set(ZIG_LIBC_FILES "include/generic-glibc/libintl.h" "include/generic-glibc/limits.h" "include/generic-glibc/link.h" - "include/generic-glibc/linux/limits.h" "include/generic-glibc/locale.h" "include/generic-glibc/malloc.h" "include/generic-glibc/math.h" @@ -3719,128 +4512,6 @@ set(ZIG_LIBC_FILES "include/generic-musl/arpa/nameser_compat.h" "include/generic-musl/arpa/telnet.h" "include/generic-musl/arpa/tftp.h" - "include/generic-musl/asm-generic/auxvec.h" - "include/generic-musl/asm-generic/bitsperlong.h" - "include/generic-musl/asm-generic/bpf_perf_event.h" - "include/generic-musl/asm-generic/errno-base.h" - "include/generic-musl/asm-generic/errno.h" - "include/generic-musl/asm-generic/fcntl.h" - "include/generic-musl/asm-generic/hugetlb_encode.h" - "include/generic-musl/asm-generic/int-l64.h" - "include/generic-musl/asm-generic/int-ll64.h" - "include/generic-musl/asm-generic/ioctl.h" - "include/generic-musl/asm-generic/ioctls.h" - "include/generic-musl/asm-generic/ipcbuf.h" - "include/generic-musl/asm-generic/kvm_para.h" - "include/generic-musl/asm-generic/mman-common.h" - "include/generic-musl/asm-generic/mman.h" - "include/generic-musl/asm-generic/msgbuf.h" - "include/generic-musl/asm-generic/param.h" - "include/generic-musl/asm-generic/poll.h" - "include/generic-musl/asm-generic/posix_types.h" - "include/generic-musl/asm-generic/resource.h" - "include/generic-musl/asm-generic/sembuf.h" - "include/generic-musl/asm-generic/setup.h" - "include/generic-musl/asm-generic/shmbuf.h" - "include/generic-musl/asm-generic/shmparam.h" - "include/generic-musl/asm-generic/siginfo.h" - "include/generic-musl/asm-generic/signal-defs.h" - "include/generic-musl/asm-generic/signal.h" - "include/generic-musl/asm-generic/socket.h" - "include/generic-musl/asm-generic/sockios.h" - "include/generic-musl/asm-generic/stat.h" - "include/generic-musl/asm-generic/statfs.h" - "include/generic-musl/asm-generic/swab.h" - "include/generic-musl/asm-generic/termbits.h" - "include/generic-musl/asm-generic/termios.h" - "include/generic-musl/asm-generic/types.h" - "include/generic-musl/asm-generic/ucontext.h" - "include/generic-musl/asm-generic/unistd.h" - "include/generic-musl/asm/a.out.h" - "include/generic-musl/asm/auxvec.h" - "include/generic-musl/asm/bitfield.h" - "include/generic-musl/asm/bitsperlong.h" - "include/generic-musl/asm/boot.h" - "include/generic-musl/asm/bootparam.h" - "include/generic-musl/asm/bootx.h" - "include/generic-musl/asm/bpf_perf_event.h" - "include/generic-musl/asm/break.h" - "include/generic-musl/asm/byteorder.h" - "include/generic-musl/asm/cachectl.h" - "include/generic-musl/asm/cputable.h" - "include/generic-musl/asm/debugreg.h" - "include/generic-musl/asm/e820.h" - "include/generic-musl/asm/eeh.h" - "include/generic-musl/asm/elf.h" - "include/generic-musl/asm/epapr_hcalls.h" - "include/generic-musl/asm/errno.h" - "include/generic-musl/asm/fcntl.h" - "include/generic-musl/asm/hw_breakpoint.h" - "include/generic-musl/asm/hwcap.h" - "include/generic-musl/asm/hwcap2.h" - "include/generic-musl/asm/inst.h" - "include/generic-musl/asm/ioctl.h" - "include/generic-musl/asm/ioctls.h" - "include/generic-musl/asm/ipcbuf.h" - "include/generic-musl/asm/ist.h" - "include/generic-musl/asm/kvm.h" - "include/generic-musl/asm/kvm_para.h" - "include/generic-musl/asm/kvm_perf.h" - "include/generic-musl/asm/ldt.h" - "include/generic-musl/asm/mce.h" - "include/generic-musl/asm/mman.h" - "include/generic-musl/asm/msgbuf.h" - "include/generic-musl/asm/msr.h" - "include/generic-musl/asm/mtrr.h" - "include/generic-musl/asm/nvram.h" - "include/generic-musl/asm/opal-prd.h" - "include/generic-musl/asm/param.h" - "include/generic-musl/asm/perf_event.h" - "include/generic-musl/asm/perf_regs.h" - "include/generic-musl/asm/poll.h" - "include/generic-musl/asm/posix_types.h" - "include/generic-musl/asm/posix_types_32.h" - "include/generic-musl/asm/posix_types_64.h" - "include/generic-musl/asm/posix_types_x32.h" - "include/generic-musl/asm/prctl.h" - "include/generic-musl/asm/processor-flags.h" - "include/generic-musl/asm/ps3fb.h" - "include/generic-musl/asm/ptrace-abi.h" - "include/generic-musl/asm/ptrace.h" - "include/generic-musl/asm/reg.h" - "include/generic-musl/asm/resource.h" - "include/generic-musl/asm/sembuf.h" - "include/generic-musl/asm/setup.h" - "include/generic-musl/asm/sgidefs.h" - "include/generic-musl/asm/shmbuf.h" - "include/generic-musl/asm/sigcontext.h" - "include/generic-musl/asm/sigcontext32.h" - "include/generic-musl/asm/siginfo.h" - "include/generic-musl/asm/signal.h" - "include/generic-musl/asm/socket.h" - "include/generic-musl/asm/sockios.h" - "include/generic-musl/asm/spu_info.h" - "include/generic-musl/asm/stat.h" - "include/generic-musl/asm/statfs.h" - "include/generic-musl/asm/svm.h" - "include/generic-musl/asm/swab.h" - "include/generic-musl/asm/syscalls.h" - "include/generic-musl/asm/sysmips.h" - "include/generic-musl/asm/termbits.h" - "include/generic-musl/asm/termios.h" - "include/generic-musl/asm/tm.h" - "include/generic-musl/asm/types.h" - "include/generic-musl/asm/ucontext.h" - "include/generic-musl/asm/unistd-common.h" - "include/generic-musl/asm/unistd-eabi.h" - "include/generic-musl/asm/unistd-oabi.h" - "include/generic-musl/asm/unistd.h" - "include/generic-musl/asm/unistd_32.h" - "include/generic-musl/asm/unistd_64.h" - "include/generic-musl/asm/unistd_x32.h" - "include/generic-musl/asm/vm86.h" - "include/generic-musl/asm/vmx.h" - "include/generic-musl/asm/vsyscall.h" "include/generic-musl/assert.h" "include/generic-musl/bfd.h" "include/generic-musl/bfdlink.h" @@ -3937,702 +4608,6 @@ set(ZIG_LIBC_FILES "include/generic-musl/libintl.h" "include/generic-musl/limits.h" "include/generic-musl/link.h" - "include/generic-musl/linux/a.out.h" - "include/generic-musl/linux/acct.h" - "include/generic-musl/linux/adb.h" - "include/generic-musl/linux/adfs_fs.h" - "include/generic-musl/linux/affs_hardblocks.h" - "include/generic-musl/linux/agpgart.h" - "include/generic-musl/linux/aio_abi.h" - "include/generic-musl/linux/am437x-vpfe.h" - "include/generic-musl/linux/android/binder.h" - "include/generic-musl/linux/apm_bios.h" - "include/generic-musl/linux/arcfb.h" - "include/generic-musl/linux/arm_sdei.h" - "include/generic-musl/linux/aspeed-lpc-ctrl.h" - "include/generic-musl/linux/atalk.h" - "include/generic-musl/linux/atm.h" - "include/generic-musl/linux/atm_eni.h" - "include/generic-musl/linux/atm_he.h" - "include/generic-musl/linux/atm_idt77105.h" - "include/generic-musl/linux/atm_nicstar.h" - "include/generic-musl/linux/atm_tcp.h" - "include/generic-musl/linux/atm_zatm.h" - "include/generic-musl/linux/atmapi.h" - "include/generic-musl/linux/atmarp.h" - "include/generic-musl/linux/atmbr2684.h" - "include/generic-musl/linux/atmclip.h" - "include/generic-musl/linux/atmdev.h" - "include/generic-musl/linux/atmioc.h" - "include/generic-musl/linux/atmlec.h" - "include/generic-musl/linux/atmmpc.h" - "include/generic-musl/linux/atmppp.h" - "include/generic-musl/linux/atmsap.h" - "include/generic-musl/linux/atmsvc.h" - "include/generic-musl/linux/audit.h" - "include/generic-musl/linux/auto_dev-ioctl.h" - "include/generic-musl/linux/auto_fs.h" - "include/generic-musl/linux/auto_fs4.h" - "include/generic-musl/linux/auxvec.h" - "include/generic-musl/linux/ax25.h" - "include/generic-musl/linux/b1lli.h" - "include/generic-musl/linux/batadv_packet.h" - "include/generic-musl/linux/batman_adv.h" - "include/generic-musl/linux/baycom.h" - "include/generic-musl/linux/bcache.h" - "include/generic-musl/linux/bcm933xx_hcs.h" - "include/generic-musl/linux/bfs_fs.h" - "include/generic-musl/linux/binfmts.h" - "include/generic-musl/linux/blkpg.h" - "include/generic-musl/linux/blktrace_api.h" - "include/generic-musl/linux/blkzoned.h" - "include/generic-musl/linux/bpf.h" - "include/generic-musl/linux/bpf_common.h" - "include/generic-musl/linux/bpf_perf_event.h" - "include/generic-musl/linux/bpfilter.h" - "include/generic-musl/linux/bpqether.h" - "include/generic-musl/linux/bsg.h" - "include/generic-musl/linux/bt-bmc.h" - "include/generic-musl/linux/btf.h" - "include/generic-musl/linux/btrfs.h" - "include/generic-musl/linux/btrfs_tree.h" - "include/generic-musl/linux/byteorder/big_endian.h" - "include/generic-musl/linux/byteorder/little_endian.h" - "include/generic-musl/linux/caif/caif_socket.h" - "include/generic-musl/linux/caif/if_caif.h" - "include/generic-musl/linux/can.h" - "include/generic-musl/linux/can/bcm.h" - "include/generic-musl/linux/can/error.h" - "include/generic-musl/linux/can/gw.h" - "include/generic-musl/linux/can/netlink.h" - "include/generic-musl/linux/can/raw.h" - "include/generic-musl/linux/can/vxcan.h" - "include/generic-musl/linux/capability.h" - "include/generic-musl/linux/capi.h" - "include/generic-musl/linux/cciss_defs.h" - "include/generic-musl/linux/cciss_ioctl.h" - "include/generic-musl/linux/cdrom.h" - "include/generic-musl/linux/cec-funcs.h" - "include/generic-musl/linux/cec.h" - "include/generic-musl/linux/cgroupstats.h" - "include/generic-musl/linux/chio.h" - "include/generic-musl/linux/cifs/cifs_mount.h" - "include/generic-musl/linux/cm4000_cs.h" - "include/generic-musl/linux/cn_proc.h" - "include/generic-musl/linux/coda.h" - "include/generic-musl/linux/coda_psdev.h" - "include/generic-musl/linux/coff.h" - "include/generic-musl/linux/connector.h" - "include/generic-musl/linux/const.h" - "include/generic-musl/linux/coresight-stm.h" - "include/generic-musl/linux/cramfs_fs.h" - "include/generic-musl/linux/cryptouser.h" - "include/generic-musl/linux/cuda.h" - "include/generic-musl/linux/cyclades.h" - "include/generic-musl/linux/cycx_cfm.h" - "include/generic-musl/linux/dcbnl.h" - "include/generic-musl/linux/dccp.h" - "include/generic-musl/linux/devlink.h" - "include/generic-musl/linux/dlm.h" - "include/generic-musl/linux/dlm_device.h" - "include/generic-musl/linux/dlm_netlink.h" - "include/generic-musl/linux/dlm_plock.h" - "include/generic-musl/linux/dlmconstants.h" - "include/generic-musl/linux/dm-ioctl.h" - "include/generic-musl/linux/dm-log-userspace.h" - "include/generic-musl/linux/dma-buf.h" - "include/generic-musl/linux/dn.h" - "include/generic-musl/linux/dqblk_xfs.h" - "include/generic-musl/linux/dvb/audio.h" - "include/generic-musl/linux/dvb/ca.h" - "include/generic-musl/linux/dvb/dmx.h" - "include/generic-musl/linux/dvb/frontend.h" - "include/generic-musl/linux/dvb/net.h" - "include/generic-musl/linux/dvb/osd.h" - "include/generic-musl/linux/dvb/version.h" - "include/generic-musl/linux/dvb/video.h" - "include/generic-musl/linux/edd.h" - "include/generic-musl/linux/efs_fs_sb.h" - "include/generic-musl/linux/elf-em.h" - "include/generic-musl/linux/elf-fdpic.h" - "include/generic-musl/linux/elf.h" - "include/generic-musl/linux/elfcore.h" - "include/generic-musl/linux/errno.h" - "include/generic-musl/linux/errqueue.h" - "include/generic-musl/linux/erspan.h" - "include/generic-musl/linux/ethtool.h" - "include/generic-musl/linux/eventpoll.h" - "include/generic-musl/linux/fadvise.h" - "include/generic-musl/linux/falloc.h" - "include/generic-musl/linux/fanotify.h" - "include/generic-musl/linux/fb.h" - "include/generic-musl/linux/fcntl.h" - "include/generic-musl/linux/fd.h" - "include/generic-musl/linux/fdreg.h" - "include/generic-musl/linux/fib_rules.h" - "include/generic-musl/linux/fiemap.h" - "include/generic-musl/linux/filter.h" - "include/generic-musl/linux/firewire-cdev.h" - "include/generic-musl/linux/firewire-constants.h" - "include/generic-musl/linux/flat.h" - "include/generic-musl/linux/fou.h" - "include/generic-musl/linux/fpga-dfl.h" - "include/generic-musl/linux/fs.h" - "include/generic-musl/linux/fsi.h" - "include/generic-musl/linux/fsl_hypervisor.h" - "include/generic-musl/linux/fsmap.h" - "include/generic-musl/linux/fuse.h" - "include/generic-musl/linux/futex.h" - "include/generic-musl/linux/gameport.h" - "include/generic-musl/linux/gen_stats.h" - "include/generic-musl/linux/genetlink.h" - "include/generic-musl/linux/genwqe/genwqe_card.h" - "include/generic-musl/linux/gfs2_ondisk.h" - "include/generic-musl/linux/gigaset_dev.h" - "include/generic-musl/linux/gpio.h" - "include/generic-musl/linux/gsmmux.h" - "include/generic-musl/linux/gtp.h" - "include/generic-musl/linux/hash_info.h" - "include/generic-musl/linux/hdlc.h" - "include/generic-musl/linux/hdlc/ioctl.h" - "include/generic-musl/linux/hdlcdrv.h" - "include/generic-musl/linux/hdreg.h" - "include/generic-musl/linux/hid.h" - "include/generic-musl/linux/hiddev.h" - "include/generic-musl/linux/hidraw.h" - "include/generic-musl/linux/hpet.h" - "include/generic-musl/linux/hsi/cs-protocol.h" - "include/generic-musl/linux/hsi/hsi_char.h" - "include/generic-musl/linux/hsr_netlink.h" - "include/generic-musl/linux/hw_breakpoint.h" - "include/generic-musl/linux/hyperv.h" - "include/generic-musl/linux/hysdn_if.h" - "include/generic-musl/linux/i2c-dev.h" - "include/generic-musl/linux/i2c.h" - "include/generic-musl/linux/i2o-dev.h" - "include/generic-musl/linux/i8k.h" - "include/generic-musl/linux/icmp.h" - "include/generic-musl/linux/icmpv6.h" - "include/generic-musl/linux/if.h" - "include/generic-musl/linux/if_addr.h" - "include/generic-musl/linux/if_addrlabel.h" - "include/generic-musl/linux/if_alg.h" - "include/generic-musl/linux/if_arcnet.h" - "include/generic-musl/linux/if_arp.h" - "include/generic-musl/linux/if_bonding.h" - "include/generic-musl/linux/if_bridge.h" - "include/generic-musl/linux/if_cablemodem.h" - "include/generic-musl/linux/if_eql.h" - "include/generic-musl/linux/if_ether.h" - "include/generic-musl/linux/if_fc.h" - "include/generic-musl/linux/if_fddi.h" - "include/generic-musl/linux/if_frad.h" - "include/generic-musl/linux/if_hippi.h" - "include/generic-musl/linux/if_infiniband.h" - "include/generic-musl/linux/if_link.h" - "include/generic-musl/linux/if_ltalk.h" - "include/generic-musl/linux/if_macsec.h" - "include/generic-musl/linux/if_packet.h" - "include/generic-musl/linux/if_phonet.h" - "include/generic-musl/linux/if_plip.h" - "include/generic-musl/linux/if_ppp.h" - "include/generic-musl/linux/if_pppol2tp.h" - "include/generic-musl/linux/if_pppox.h" - "include/generic-musl/linux/if_slip.h" - "include/generic-musl/linux/if_team.h" - "include/generic-musl/linux/if_tun.h" - "include/generic-musl/linux/if_tunnel.h" - "include/generic-musl/linux/if_vlan.h" - "include/generic-musl/linux/if_x25.h" - "include/generic-musl/linux/if_xdp.h" - "include/generic-musl/linux/ife.h" - "include/generic-musl/linux/igmp.h" - "include/generic-musl/linux/iio/events.h" - "include/generic-musl/linux/iio/types.h" - "include/generic-musl/linux/ila.h" - "include/generic-musl/linux/in.h" - "include/generic-musl/linux/in6.h" - "include/generic-musl/linux/in_route.h" - "include/generic-musl/linux/inet_diag.h" - "include/generic-musl/linux/inotify.h" - "include/generic-musl/linux/input-event-codes.h" - "include/generic-musl/linux/input.h" - "include/generic-musl/linux/ioctl.h" - "include/generic-musl/linux/ip.h" - "include/generic-musl/linux/ip6_tunnel.h" - "include/generic-musl/linux/ip_vs.h" - "include/generic-musl/linux/ipc.h" - "include/generic-musl/linux/ipmi.h" - "include/generic-musl/linux/ipmi_bmc.h" - "include/generic-musl/linux/ipmi_msgdefs.h" - "include/generic-musl/linux/ipsec.h" - "include/generic-musl/linux/ipv6.h" - "include/generic-musl/linux/ipv6_route.h" - "include/generic-musl/linux/ipx.h" - "include/generic-musl/linux/irqnr.h" - "include/generic-musl/linux/isdn.h" - "include/generic-musl/linux/isdn/capicmd.h" - "include/generic-musl/linux/isdn_divertif.h" - "include/generic-musl/linux/isdn_ppp.h" - "include/generic-musl/linux/isdnif.h" - "include/generic-musl/linux/iso_fs.h" - "include/generic-musl/linux/ivtv.h" - "include/generic-musl/linux/ivtvfb.h" - "include/generic-musl/linux/jffs2.h" - "include/generic-musl/linux/joystick.h" - "include/generic-musl/linux/kcm.h" - "include/generic-musl/linux/kcmp.h" - "include/generic-musl/linux/kcov.h" - "include/generic-musl/linux/kd.h" - "include/generic-musl/linux/kdev_t.h" - "include/generic-musl/linux/kernel-page-flags.h" - "include/generic-musl/linux/kernel.h" - "include/generic-musl/linux/kernelcapi.h" - "include/generic-musl/linux/kexec.h" - "include/generic-musl/linux/keyboard.h" - "include/generic-musl/linux/keyctl.h" - "include/generic-musl/linux/kfd_ioctl.h" - "include/generic-musl/linux/kvm.h" - "include/generic-musl/linux/kvm_para.h" - "include/generic-musl/linux/l2tp.h" - "include/generic-musl/linux/libc-compat.h" - "include/generic-musl/linux/lightnvm.h" - "include/generic-musl/linux/limits.h" - "include/generic-musl/linux/lirc.h" - "include/generic-musl/linux/llc.h" - "include/generic-musl/linux/loop.h" - "include/generic-musl/linux/lp.h" - "include/generic-musl/linux/lwtunnel.h" - "include/generic-musl/linux/magic.h" - "include/generic-musl/linux/major.h" - "include/generic-musl/linux/map_to_7segment.h" - "include/generic-musl/linux/matroxfb.h" - "include/generic-musl/linux/max2175.h" - "include/generic-musl/linux/mdio.h" - "include/generic-musl/linux/media-bus-format.h" - "include/generic-musl/linux/media.h" - "include/generic-musl/linux/mei.h" - "include/generic-musl/linux/membarrier.h" - "include/generic-musl/linux/memfd.h" - "include/generic-musl/linux/mempolicy.h" - "include/generic-musl/linux/meye.h" - "include/generic-musl/linux/mic_common.h" - "include/generic-musl/linux/mic_ioctl.h" - "include/generic-musl/linux/mii.h" - "include/generic-musl/linux/minix_fs.h" - "include/generic-musl/linux/mman.h" - "include/generic-musl/linux/mmc/ioctl.h" - "include/generic-musl/linux/mmtimer.h" - "include/generic-musl/linux/module.h" - "include/generic-musl/linux/mpls.h" - "include/generic-musl/linux/mpls_iptunnel.h" - "include/generic-musl/linux/mqueue.h" - "include/generic-musl/linux/mroute.h" - "include/generic-musl/linux/mroute6.h" - "include/generic-musl/linux/msdos_fs.h" - "include/generic-musl/linux/msg.h" - "include/generic-musl/linux/mtio.h" - "include/generic-musl/linux/n_r3964.h" - "include/generic-musl/linux/nbd-netlink.h" - "include/generic-musl/linux/nbd.h" - "include/generic-musl/linux/ncsi.h" - "include/generic-musl/linux/ndctl.h" - "include/generic-musl/linux/neighbour.h" - "include/generic-musl/linux/net.h" - "include/generic-musl/linux/net_dropmon.h" - "include/generic-musl/linux/net_namespace.h" - "include/generic-musl/linux/net_tstamp.h" - "include/generic-musl/linux/netconf.h" - "include/generic-musl/linux/netdevice.h" - "include/generic-musl/linux/netfilter.h" - "include/generic-musl/linux/netfilter/ipset/ip_set.h" - "include/generic-musl/linux/netfilter/ipset/ip_set_bitmap.h" - "include/generic-musl/linux/netfilter/ipset/ip_set_hash.h" - "include/generic-musl/linux/netfilter/ipset/ip_set_list.h" - "include/generic-musl/linux/netfilter/nf_conntrack_common.h" - "include/generic-musl/linux/netfilter/nf_conntrack_ftp.h" - "include/generic-musl/linux/netfilter/nf_conntrack_sctp.h" - "include/generic-musl/linux/netfilter/nf_conntrack_tcp.h" - "include/generic-musl/linux/netfilter/nf_conntrack_tuple_common.h" - "include/generic-musl/linux/netfilter/nf_log.h" - "include/generic-musl/linux/netfilter/nf_nat.h" - "include/generic-musl/linux/netfilter/nf_tables.h" - "include/generic-musl/linux/netfilter/nf_tables_compat.h" - "include/generic-musl/linux/netfilter/nfnetlink.h" - "include/generic-musl/linux/netfilter/nfnetlink_acct.h" - "include/generic-musl/linux/netfilter/nfnetlink_compat.h" - "include/generic-musl/linux/netfilter/nfnetlink_conntrack.h" - "include/generic-musl/linux/netfilter/nfnetlink_cthelper.h" - "include/generic-musl/linux/netfilter/nfnetlink_cttimeout.h" - "include/generic-musl/linux/netfilter/nfnetlink_log.h" - "include/generic-musl/linux/netfilter/nfnetlink_osf.h" - "include/generic-musl/linux/netfilter/nfnetlink_queue.h" - "include/generic-musl/linux/netfilter/x_tables.h" - "include/generic-musl/linux/netfilter/xt_AUDIT.h" - "include/generic-musl/linux/netfilter/xt_CHECKSUM.h" - "include/generic-musl/linux/netfilter/xt_CLASSIFY.h" - "include/generic-musl/linux/netfilter/xt_CONNSECMARK.h" - "include/generic-musl/linux/netfilter/xt_CT.h" - "include/generic-musl/linux/netfilter/xt_HMARK.h" - "include/generic-musl/linux/netfilter/xt_IDLETIMER.h" - "include/generic-musl/linux/netfilter/xt_LED.h" - "include/generic-musl/linux/netfilter/xt_LOG.h" - "include/generic-musl/linux/netfilter/xt_NFLOG.h" - "include/generic-musl/linux/netfilter/xt_NFQUEUE.h" - "include/generic-musl/linux/netfilter/xt_SECMARK.h" - "include/generic-musl/linux/netfilter/xt_SYNPROXY.h" - "include/generic-musl/linux/netfilter/xt_TCPOPTSTRIP.h" - "include/generic-musl/linux/netfilter/xt_TEE.h" - "include/generic-musl/linux/netfilter/xt_TPROXY.h" - "include/generic-musl/linux/netfilter/xt_addrtype.h" - "include/generic-musl/linux/netfilter/xt_bpf.h" - "include/generic-musl/linux/netfilter/xt_cgroup.h" - "include/generic-musl/linux/netfilter/xt_cluster.h" - "include/generic-musl/linux/netfilter/xt_comment.h" - "include/generic-musl/linux/netfilter/xt_connbytes.h" - "include/generic-musl/linux/netfilter/xt_connlabel.h" - "include/generic-musl/linux/netfilter/xt_connlimit.h" - "include/generic-musl/linux/netfilter/xt_connmark.h" - "include/generic-musl/linux/netfilter/xt_conntrack.h" - "include/generic-musl/linux/netfilter/xt_cpu.h" - "include/generic-musl/linux/netfilter/xt_dccp.h" - "include/generic-musl/linux/netfilter/xt_devgroup.h" - "include/generic-musl/linux/netfilter/xt_dscp.h" - "include/generic-musl/linux/netfilter/xt_ecn.h" - "include/generic-musl/linux/netfilter/xt_esp.h" - "include/generic-musl/linux/netfilter/xt_hashlimit.h" - "include/generic-musl/linux/netfilter/xt_helper.h" - "include/generic-musl/linux/netfilter/xt_ipcomp.h" - "include/generic-musl/linux/netfilter/xt_iprange.h" - "include/generic-musl/linux/netfilter/xt_ipvs.h" - "include/generic-musl/linux/netfilter/xt_l2tp.h" - "include/generic-musl/linux/netfilter/xt_length.h" - "include/generic-musl/linux/netfilter/xt_limit.h" - "include/generic-musl/linux/netfilter/xt_mac.h" - "include/generic-musl/linux/netfilter/xt_mark.h" - "include/generic-musl/linux/netfilter/xt_multiport.h" - "include/generic-musl/linux/netfilter/xt_nfacct.h" - "include/generic-musl/linux/netfilter/xt_osf.h" - "include/generic-musl/linux/netfilter/xt_owner.h" - "include/generic-musl/linux/netfilter/xt_physdev.h" - "include/generic-musl/linux/netfilter/xt_pkttype.h" - "include/generic-musl/linux/netfilter/xt_policy.h" - "include/generic-musl/linux/netfilter/xt_quota.h" - "include/generic-musl/linux/netfilter/xt_rateest.h" - "include/generic-musl/linux/netfilter/xt_realm.h" - "include/generic-musl/linux/netfilter/xt_recent.h" - "include/generic-musl/linux/netfilter/xt_rpfilter.h" - "include/generic-musl/linux/netfilter/xt_sctp.h" - "include/generic-musl/linux/netfilter/xt_set.h" - "include/generic-musl/linux/netfilter/xt_socket.h" - "include/generic-musl/linux/netfilter/xt_state.h" - "include/generic-musl/linux/netfilter/xt_statistic.h" - "include/generic-musl/linux/netfilter/xt_string.h" - "include/generic-musl/linux/netfilter/xt_tcpmss.h" - "include/generic-musl/linux/netfilter/xt_tcpudp.h" - "include/generic-musl/linux/netfilter/xt_time.h" - "include/generic-musl/linux/netfilter/xt_u32.h" - "include/generic-musl/linux/netfilter_arp.h" - "include/generic-musl/linux/netfilter_arp/arp_tables.h" - "include/generic-musl/linux/netfilter_arp/arpt_mangle.h" - "include/generic-musl/linux/netfilter_bridge.h" - "include/generic-musl/linux/netfilter_bridge/ebt_802_3.h" - "include/generic-musl/linux/netfilter_bridge/ebt_among.h" - "include/generic-musl/linux/netfilter_bridge/ebt_arp.h" - "include/generic-musl/linux/netfilter_bridge/ebt_arpreply.h" - "include/generic-musl/linux/netfilter_bridge/ebt_ip.h" - "include/generic-musl/linux/netfilter_bridge/ebt_ip6.h" - "include/generic-musl/linux/netfilter_bridge/ebt_limit.h" - "include/generic-musl/linux/netfilter_bridge/ebt_log.h" - "include/generic-musl/linux/netfilter_bridge/ebt_mark_m.h" - "include/generic-musl/linux/netfilter_bridge/ebt_mark_t.h" - "include/generic-musl/linux/netfilter_bridge/ebt_nat.h" - "include/generic-musl/linux/netfilter_bridge/ebt_nflog.h" - "include/generic-musl/linux/netfilter_bridge/ebt_pkttype.h" - "include/generic-musl/linux/netfilter_bridge/ebt_redirect.h" - "include/generic-musl/linux/netfilter_bridge/ebt_stp.h" - "include/generic-musl/linux/netfilter_bridge/ebt_vlan.h" - "include/generic-musl/linux/netfilter_bridge/ebtables.h" - "include/generic-musl/linux/netfilter_decnet.h" - "include/generic-musl/linux/netfilter_ipv4.h" - "include/generic-musl/linux/netfilter_ipv4/ip_tables.h" - "include/generic-musl/linux/netfilter_ipv4/ipt_CLUSTERIP.h" - "include/generic-musl/linux/netfilter_ipv4/ipt_LOG.h" - "include/generic-musl/linux/netfilter_ipv4/ipt_REJECT.h" - "include/generic-musl/linux/netfilter_ipv4/ipt_ah.h" - "include/generic-musl/linux/netfilter_ipv4/ipt_ecn.h" - "include/generic-musl/linux/netfilter_ipv4/ipt_ttl.h" - "include/generic-musl/linux/netfilter_ipv6.h" - "include/generic-musl/linux/netfilter_ipv6/ip6_tables.h" - "include/generic-musl/linux/netfilter_ipv6/ip6t_LOG.h" - "include/generic-musl/linux/netfilter_ipv6/ip6t_NPT.h" - "include/generic-musl/linux/netfilter_ipv6/ip6t_REJECT.h" - "include/generic-musl/linux/netfilter_ipv6/ip6t_ah.h" - "include/generic-musl/linux/netfilter_ipv6/ip6t_frag.h" - "include/generic-musl/linux/netfilter_ipv6/ip6t_hl.h" - "include/generic-musl/linux/netfilter_ipv6/ip6t_ipv6header.h" - "include/generic-musl/linux/netfilter_ipv6/ip6t_mh.h" - "include/generic-musl/linux/netfilter_ipv6/ip6t_opts.h" - "include/generic-musl/linux/netfilter_ipv6/ip6t_rt.h" - "include/generic-musl/linux/netfilter_ipv6/ip6t_srh.h" - "include/generic-musl/linux/netlink.h" - "include/generic-musl/linux/netlink_diag.h" - "include/generic-musl/linux/netrom.h" - "include/generic-musl/linux/nfc.h" - "include/generic-musl/linux/nfs.h" - "include/generic-musl/linux/nfs2.h" - "include/generic-musl/linux/nfs3.h" - "include/generic-musl/linux/nfs4.h" - "include/generic-musl/linux/nfs4_mount.h" - "include/generic-musl/linux/nfs_fs.h" - "include/generic-musl/linux/nfs_idmap.h" - "include/generic-musl/linux/nfs_mount.h" - "include/generic-musl/linux/nfsacl.h" - "include/generic-musl/linux/nfsd/cld.h" - "include/generic-musl/linux/nfsd/debug.h" - "include/generic-musl/linux/nfsd/export.h" - "include/generic-musl/linux/nfsd/nfsfh.h" - "include/generic-musl/linux/nfsd/stats.h" - "include/generic-musl/linux/nilfs2_api.h" - "include/generic-musl/linux/nilfs2_ondisk.h" - "include/generic-musl/linux/nl80211.h" - "include/generic-musl/linux/nsfs.h" - "include/generic-musl/linux/nubus.h" - "include/generic-musl/linux/nvme_ioctl.h" - "include/generic-musl/linux/nvram.h" - "include/generic-musl/linux/omap3isp.h" - "include/generic-musl/linux/omapfb.h" - "include/generic-musl/linux/oom.h" - "include/generic-musl/linux/openvswitch.h" - "include/generic-musl/linux/packet_diag.h" - "include/generic-musl/linux/param.h" - "include/generic-musl/linux/parport.h" - "include/generic-musl/linux/patchkey.h" - "include/generic-musl/linux/pci.h" - "include/generic-musl/linux/pci_regs.h" - "include/generic-musl/linux/pcitest.h" - "include/generic-musl/linux/perf_event.h" - "include/generic-musl/linux/personality.h" - "include/generic-musl/linux/pfkeyv2.h" - "include/generic-musl/linux/pg.h" - "include/generic-musl/linux/phantom.h" - "include/generic-musl/linux/phonet.h" - "include/generic-musl/linux/pkt_cls.h" - "include/generic-musl/linux/pkt_sched.h" - "include/generic-musl/linux/pktcdvd.h" - "include/generic-musl/linux/pmu.h" - "include/generic-musl/linux/poll.h" - "include/generic-musl/linux/posix_acl.h" - "include/generic-musl/linux/posix_acl_xattr.h" - "include/generic-musl/linux/posix_types.h" - "include/generic-musl/linux/ppdev.h" - "include/generic-musl/linux/ppp-comp.h" - "include/generic-musl/linux/ppp-ioctl.h" - "include/generic-musl/linux/ppp_defs.h" - "include/generic-musl/linux/pps.h" - "include/generic-musl/linux/pr.h" - "include/generic-musl/linux/prctl.h" - "include/generic-musl/linux/psample.h" - "include/generic-musl/linux/psci.h" - "include/generic-musl/linux/psp-sev.h" - "include/generic-musl/linux/ptp_clock.h" - "include/generic-musl/linux/ptrace.h" - "include/generic-musl/linux/qemu_fw_cfg.h" - "include/generic-musl/linux/qnx4_fs.h" - "include/generic-musl/linux/qnxtypes.h" - "include/generic-musl/linux/qrtr.h" - "include/generic-musl/linux/quota.h" - "include/generic-musl/linux/radeonfb.h" - "include/generic-musl/linux/raid/md_p.h" - "include/generic-musl/linux/raid/md_u.h" - "include/generic-musl/linux/random.h" - "include/generic-musl/linux/raw.h" - "include/generic-musl/linux/rds.h" - "include/generic-musl/linux/reboot.h" - "include/generic-musl/linux/reiserfs_fs.h" - "include/generic-musl/linux/reiserfs_xattr.h" - "include/generic-musl/linux/resource.h" - "include/generic-musl/linux/rfkill.h" - "include/generic-musl/linux/rio_cm_cdev.h" - "include/generic-musl/linux/rio_mport_cdev.h" - "include/generic-musl/linux/romfs_fs.h" - "include/generic-musl/linux/rose.h" - "include/generic-musl/linux/route.h" - "include/generic-musl/linux/rpmsg.h" - "include/generic-musl/linux/rseq.h" - "include/generic-musl/linux/rtc.h" - "include/generic-musl/linux/rtnetlink.h" - "include/generic-musl/linux/rxrpc.h" - "include/generic-musl/linux/scc.h" - "include/generic-musl/linux/sched.h" - "include/generic-musl/linux/sched/types.h" - "include/generic-musl/linux/scif_ioctl.h" - "include/generic-musl/linux/screen_info.h" - "include/generic-musl/linux/sctp.h" - "include/generic-musl/linux/sdla.h" - "include/generic-musl/linux/seccomp.h" - "include/generic-musl/linux/securebits.h" - "include/generic-musl/linux/sed-opal.h" - "include/generic-musl/linux/seg6.h" - "include/generic-musl/linux/seg6_genl.h" - "include/generic-musl/linux/seg6_hmac.h" - "include/generic-musl/linux/seg6_iptunnel.h" - "include/generic-musl/linux/seg6_local.h" - "include/generic-musl/linux/selinux_netlink.h" - "include/generic-musl/linux/sem.h" - "include/generic-musl/linux/serial.h" - "include/generic-musl/linux/serial_core.h" - "include/generic-musl/linux/serial_reg.h" - "include/generic-musl/linux/serio.h" - "include/generic-musl/linux/shm.h" - "include/generic-musl/linux/signal.h" - "include/generic-musl/linux/signalfd.h" - "include/generic-musl/linux/smc.h" - "include/generic-musl/linux/smc_diag.h" - "include/generic-musl/linux/smiapp.h" - "include/generic-musl/linux/snmp.h" - "include/generic-musl/linux/sock_diag.h" - "include/generic-musl/linux/socket.h" - "include/generic-musl/linux/sockios.h" - "include/generic-musl/linux/sonet.h" - "include/generic-musl/linux/sonypi.h" - "include/generic-musl/linux/sound.h" - "include/generic-musl/linux/soundcard.h" - "include/generic-musl/linux/spi/spidev.h" - "include/generic-musl/linux/stat.h" - "include/generic-musl/linux/stddef.h" - "include/generic-musl/linux/stm.h" - "include/generic-musl/linux/string.h" - "include/generic-musl/linux/sunrpc/debug.h" - "include/generic-musl/linux/suspend_ioctls.h" - "include/generic-musl/linux/swab.h" - "include/generic-musl/linux/switchtec_ioctl.h" - "include/generic-musl/linux/sync_file.h" - "include/generic-musl/linux/synclink.h" - "include/generic-musl/linux/sysctl.h" - "include/generic-musl/linux/sysinfo.h" - "include/generic-musl/linux/target_core_user.h" - "include/generic-musl/linux/taskstats.h" - "include/generic-musl/linux/tc_act/tc_bpf.h" - "include/generic-musl/linux/tc_act/tc_connmark.h" - "include/generic-musl/linux/tc_act/tc_csum.h" - "include/generic-musl/linux/tc_act/tc_defact.h" - "include/generic-musl/linux/tc_act/tc_gact.h" - "include/generic-musl/linux/tc_act/tc_ife.h" - "include/generic-musl/linux/tc_act/tc_ipt.h" - "include/generic-musl/linux/tc_act/tc_mirred.h" - "include/generic-musl/linux/tc_act/tc_nat.h" - "include/generic-musl/linux/tc_act/tc_pedit.h" - "include/generic-musl/linux/tc_act/tc_sample.h" - "include/generic-musl/linux/tc_act/tc_skbedit.h" - "include/generic-musl/linux/tc_act/tc_skbmod.h" - "include/generic-musl/linux/tc_act/tc_tunnel_key.h" - "include/generic-musl/linux/tc_act/tc_vlan.h" - "include/generic-musl/linux/tc_ematch/tc_em_cmp.h" - "include/generic-musl/linux/tc_ematch/tc_em_ipt.h" - "include/generic-musl/linux/tc_ematch/tc_em_meta.h" - "include/generic-musl/linux/tc_ematch/tc_em_nbyte.h" - "include/generic-musl/linux/tc_ematch/tc_em_text.h" - "include/generic-musl/linux/tcp.h" - "include/generic-musl/linux/tcp_metrics.h" - "include/generic-musl/linux/tee.h" - "include/generic-musl/linux/termios.h" - "include/generic-musl/linux/thermal.h" - "include/generic-musl/linux/time.h" - "include/generic-musl/linux/timerfd.h" - "include/generic-musl/linux/times.h" - "include/generic-musl/linux/timex.h" - "include/generic-musl/linux/tiocl.h" - "include/generic-musl/linux/tipc.h" - "include/generic-musl/linux/tipc_config.h" - "include/generic-musl/linux/tipc_netlink.h" - "include/generic-musl/linux/tipc_sockets_diag.h" - "include/generic-musl/linux/tls.h" - "include/generic-musl/linux/toshiba.h" - "include/generic-musl/linux/tty.h" - "include/generic-musl/linux/tty_flags.h" - "include/generic-musl/linux/types.h" - "include/generic-musl/linux/udf_fs_i.h" - "include/generic-musl/linux/udp.h" - "include/generic-musl/linux/uhid.h" - "include/generic-musl/linux/uinput.h" - "include/generic-musl/linux/uio.h" - "include/generic-musl/linux/uleds.h" - "include/generic-musl/linux/ultrasound.h" - "include/generic-musl/linux/un.h" - "include/generic-musl/linux/unistd.h" - "include/generic-musl/linux/unix_diag.h" - "include/generic-musl/linux/usb/audio.h" - "include/generic-musl/linux/usb/cdc-wdm.h" - "include/generic-musl/linux/usb/cdc.h" - "include/generic-musl/linux/usb/ch11.h" - "include/generic-musl/linux/usb/ch9.h" - "include/generic-musl/linux/usb/charger.h" - "include/generic-musl/linux/usb/functionfs.h" - "include/generic-musl/linux/usb/g_printer.h" - "include/generic-musl/linux/usb/g_uvc.h" - "include/generic-musl/linux/usb/gadgetfs.h" - "include/generic-musl/linux/usb/midi.h" - "include/generic-musl/linux/usb/tmc.h" - "include/generic-musl/linux/usb/video.h" - "include/generic-musl/linux/usbdevice_fs.h" - "include/generic-musl/linux/usbip.h" - "include/generic-musl/linux/userfaultfd.h" - "include/generic-musl/linux/userio.h" - "include/generic-musl/linux/utime.h" - "include/generic-musl/linux/utsname.h" - "include/generic-musl/linux/uuid.h" - "include/generic-musl/linux/uvcvideo.h" - "include/generic-musl/linux/v4l2-common.h" - "include/generic-musl/linux/v4l2-controls.h" - "include/generic-musl/linux/v4l2-dv-timings.h" - "include/generic-musl/linux/v4l2-mediabus.h" - "include/generic-musl/linux/v4l2-subdev.h" - "include/generic-musl/linux/vbox_err.h" - "include/generic-musl/linux/vbox_vmmdev_types.h" - "include/generic-musl/linux/vboxguest.h" - "include/generic-musl/linux/version.h" - "include/generic-musl/linux/veth.h" - "include/generic-musl/linux/vfio.h" - "include/generic-musl/linux/vfio_ccw.h" - "include/generic-musl/linux/vhost.h" - "include/generic-musl/linux/videodev2.h" - "include/generic-musl/linux/virtio_9p.h" - "include/generic-musl/linux/virtio_balloon.h" - "include/generic-musl/linux/virtio_blk.h" - "include/generic-musl/linux/virtio_config.h" - "include/generic-musl/linux/virtio_console.h" - "include/generic-musl/linux/virtio_crypto.h" - "include/generic-musl/linux/virtio_gpu.h" - "include/generic-musl/linux/virtio_ids.h" - "include/generic-musl/linux/virtio_input.h" - "include/generic-musl/linux/virtio_mmio.h" - "include/generic-musl/linux/virtio_net.h" - "include/generic-musl/linux/virtio_pci.h" - "include/generic-musl/linux/virtio_ring.h" - "include/generic-musl/linux/virtio_rng.h" - "include/generic-musl/linux/virtio_scsi.h" - "include/generic-musl/linux/virtio_types.h" - "include/generic-musl/linux/virtio_vsock.h" - "include/generic-musl/linux/vm_sockets.h" - "include/generic-musl/linux/vm_sockets_diag.h" - "include/generic-musl/linux/vmcore.h" - "include/generic-musl/linux/vsockmon.h" - "include/generic-musl/linux/vt.h" - "include/generic-musl/linux/vtpm_proxy.h" - "include/generic-musl/linux/wait.h" - "include/generic-musl/linux/wanrouter.h" - "include/generic-musl/linux/watchdog.h" - "include/generic-musl/linux/wimax.h" - "include/generic-musl/linux/wimax/i2400m.h" - "include/generic-musl/linux/wireless.h" - "include/generic-musl/linux/wmi.h" - "include/generic-musl/linux/x25.h" - "include/generic-musl/linux/xattr.h" - "include/generic-musl/linux/xfrm.h" - "include/generic-musl/linux/xilinx-v4l2-controls.h" - "include/generic-musl/linux/zorro.h" - "include/generic-musl/linux/zorro_ids.h" "include/generic-musl/locale.h" "include/generic-musl/malloc.h" "include/generic-musl/math.h" @@ -4841,7 +4816,28 @@ set(ZIG_LIBC_FILES "include/generic-musl/xen/gntalloc.h" "include/generic-musl/xen/gntdev.h" "include/generic-musl/xen/privcmd.h" - "include/i386-linux-gnu/asm/unistd.h" + "include/i386-linux-any/asm/auxvec.h" + "include/i386-linux-any/asm/bitsperlong.h" + "include/i386-linux-any/asm/byteorder.h" + "include/i386-linux-any/asm/kvm.h" + "include/i386-linux-any/asm/kvm_para.h" + "include/i386-linux-any/asm/mman.h" + "include/i386-linux-any/asm/msgbuf.h" + "include/i386-linux-any/asm/perf_regs.h" + "include/i386-linux-any/asm/posix_types.h" + "include/i386-linux-any/asm/ptrace.h" + "include/i386-linux-any/asm/sembuf.h" + "include/i386-linux-any/asm/setup.h" + "include/i386-linux-any/asm/shmbuf.h" + "include/i386-linux-any/asm/sigcontext.h" + "include/i386-linux-any/asm/siginfo.h" + "include/i386-linux-any/asm/signal.h" + "include/i386-linux-any/asm/stat.h" + "include/i386-linux-any/asm/statfs.h" + "include/i386-linux-any/asm/swab.h" + "include/i386-linux-any/asm/types.h" + "include/i386-linux-any/asm/ucontext.h" + "include/i386-linux-any/asm/unistd.h" "include/i386-linux-gnu/bits/a.out.h" "include/i386-linux-gnu/bits/endian.h" "include/i386-linux-gnu/bits/environments.h" @@ -4882,28 +4878,6 @@ set(ZIG_LIBC_FILES "include/i386-linux-gnu/sys/ptrace.h" "include/i386-linux-gnu/sys/ucontext.h" "include/i386-linux-gnu/sys/user.h" - "include/i386-linux-musl/asm/auxvec.h" - "include/i386-linux-musl/asm/bitsperlong.h" - "include/i386-linux-musl/asm/byteorder.h" - "include/i386-linux-musl/asm/kvm.h" - "include/i386-linux-musl/asm/kvm_para.h" - "include/i386-linux-musl/asm/mman.h" - "include/i386-linux-musl/asm/msgbuf.h" - "include/i386-linux-musl/asm/perf_regs.h" - "include/i386-linux-musl/asm/posix_types.h" - "include/i386-linux-musl/asm/ptrace.h" - "include/i386-linux-musl/asm/sembuf.h" - "include/i386-linux-musl/asm/setup.h" - "include/i386-linux-musl/asm/shmbuf.h" - "include/i386-linux-musl/asm/sigcontext.h" - "include/i386-linux-musl/asm/siginfo.h" - "include/i386-linux-musl/asm/signal.h" - "include/i386-linux-musl/asm/stat.h" - "include/i386-linux-musl/asm/statfs.h" - "include/i386-linux-musl/asm/swab.h" - "include/i386-linux-musl/asm/types.h" - "include/i386-linux-musl/asm/ucontext.h" - "include/i386-linux-musl/asm/unistd.h" "include/i386-linux-musl/bfd.h" "include/i386-linux-musl/bfd_stdint.h" "include/i386-linux-musl/bits/alltypes.h" @@ -4923,8 +4897,38 @@ set(ZIG_LIBC_FILES "include/i386-linux-musl/bits/stdint.h" "include/i386-linux-musl/bits/syscall.h" "include/i386-linux-musl/bits/user.h" - "include/mips-linux-gnu/asm/sgidefs.h" - "include/mips-linux-gnu/asm/unistd.h" + "include/mips-linux-any/asm/auxvec.h" + "include/mips-linux-any/asm/bitsperlong.h" + "include/mips-linux-any/asm/byteorder.h" + "include/mips-linux-any/asm/errno.h" + "include/mips-linux-any/asm/fcntl.h" + "include/mips-linux-any/asm/hwcap.h" + "include/mips-linux-any/asm/ioctl.h" + "include/mips-linux-any/asm/ioctls.h" + "include/mips-linux-any/asm/kvm.h" + "include/mips-linux-any/asm/kvm_para.h" + "include/mips-linux-any/asm/mman.h" + "include/mips-linux-any/asm/msgbuf.h" + "include/mips-linux-any/asm/param.h" + "include/mips-linux-any/asm/poll.h" + "include/mips-linux-any/asm/posix_types.h" + "include/mips-linux-any/asm/ptrace.h" + "include/mips-linux-any/asm/resource.h" + "include/mips-linux-any/asm/sembuf.h" + "include/mips-linux-any/asm/setup.h" + "include/mips-linux-any/asm/shmbuf.h" + "include/mips-linux-any/asm/sigcontext.h" + "include/mips-linux-any/asm/siginfo.h" + "include/mips-linux-any/asm/signal.h" + "include/mips-linux-any/asm/socket.h" + "include/mips-linux-any/asm/sockios.h" + "include/mips-linux-any/asm/stat.h" + "include/mips-linux-any/asm/statfs.h" + "include/mips-linux-any/asm/swab.h" + "include/mips-linux-any/asm/termbits.h" + "include/mips-linux-any/asm/termios.h" + "include/mips-linux-any/asm/types.h" + "include/mips-linux-any/asm/unistd.h" "include/mips-linux-gnu/bits/dlfcn.h" "include/mips-linux-gnu/bits/errno.h" "include/mips-linux-gnu/bits/eventfd.h" @@ -4954,38 +4958,6 @@ set(ZIG_LIBC_FILES "include/mips-linux-gnu/bits/timerfd.h" "include/mips-linux-gnu/bits/types/stack_t.h" "include/mips-linux-gnu/ieee754.h" - "include/mips-linux-musl/asm/auxvec.h" - "include/mips-linux-musl/asm/bitsperlong.h" - "include/mips-linux-musl/asm/byteorder.h" - "include/mips-linux-musl/asm/errno.h" - "include/mips-linux-musl/asm/fcntl.h" - "include/mips-linux-musl/asm/hwcap.h" - "include/mips-linux-musl/asm/ioctl.h" - "include/mips-linux-musl/asm/ioctls.h" - "include/mips-linux-musl/asm/kvm.h" - "include/mips-linux-musl/asm/kvm_para.h" - "include/mips-linux-musl/asm/mman.h" - "include/mips-linux-musl/asm/msgbuf.h" - "include/mips-linux-musl/asm/param.h" - "include/mips-linux-musl/asm/poll.h" - "include/mips-linux-musl/asm/posix_types.h" - "include/mips-linux-musl/asm/ptrace.h" - "include/mips-linux-musl/asm/resource.h" - "include/mips-linux-musl/asm/sembuf.h" - "include/mips-linux-musl/asm/setup.h" - "include/mips-linux-musl/asm/shmbuf.h" - "include/mips-linux-musl/asm/sigcontext.h" - "include/mips-linux-musl/asm/siginfo.h" - "include/mips-linux-musl/asm/signal.h" - "include/mips-linux-musl/asm/socket.h" - "include/mips-linux-musl/asm/sockios.h" - "include/mips-linux-musl/asm/stat.h" - "include/mips-linux-musl/asm/statfs.h" - "include/mips-linux-musl/asm/swab.h" - "include/mips-linux-musl/asm/termbits.h" - "include/mips-linux-musl/asm/termios.h" - "include/mips-linux-musl/asm/types.h" - "include/mips-linux-musl/asm/unistd.h" "include/mips-linux-musl/bfd.h" "include/mips-linux-musl/bfd_stdint.h" "include/mips-linux-musl/bits/alltypes.h" @@ -5011,8 +4983,38 @@ set(ZIG_LIBC_FILES "include/mips-linux-musl/bits/syscall.h" "include/mips-linux-musl/bits/termios.h" "include/mips-linux-musl/bits/user.h" - "include/mips64-linux-gnuabi64/asm/sgidefs.h" - "include/mips64-linux-gnuabi64/asm/unistd.h" + "include/mips64-linux-any/asm/auxvec.h" + "include/mips64-linux-any/asm/bitsperlong.h" + "include/mips64-linux-any/asm/byteorder.h" + "include/mips64-linux-any/asm/errno.h" + "include/mips64-linux-any/asm/fcntl.h" + "include/mips64-linux-any/asm/hwcap.h" + "include/mips64-linux-any/asm/ioctl.h" + "include/mips64-linux-any/asm/ioctls.h" + "include/mips64-linux-any/asm/kvm.h" + "include/mips64-linux-any/asm/kvm_para.h" + "include/mips64-linux-any/asm/mman.h" + "include/mips64-linux-any/asm/msgbuf.h" + "include/mips64-linux-any/asm/param.h" + "include/mips64-linux-any/asm/poll.h" + "include/mips64-linux-any/asm/posix_types.h" + "include/mips64-linux-any/asm/ptrace.h" + "include/mips64-linux-any/asm/resource.h" + "include/mips64-linux-any/asm/sembuf.h" + "include/mips64-linux-any/asm/setup.h" + "include/mips64-linux-any/asm/shmbuf.h" + "include/mips64-linux-any/asm/sigcontext.h" + "include/mips64-linux-any/asm/siginfo.h" + "include/mips64-linux-any/asm/signal.h" + "include/mips64-linux-any/asm/socket.h" + "include/mips64-linux-any/asm/sockios.h" + "include/mips64-linux-any/asm/stat.h" + "include/mips64-linux-any/asm/statfs.h" + "include/mips64-linux-any/asm/swab.h" + "include/mips64-linux-any/asm/termbits.h" + "include/mips64-linux-any/asm/termios.h" + "include/mips64-linux-any/asm/types.h" + "include/mips64-linux-any/asm/unistd.h" "include/mips64-linux-gnuabi64/bits/dlfcn.h" "include/mips64-linux-gnuabi64/bits/errno.h" "include/mips64-linux-gnuabi64/bits/eventfd.h" @@ -5042,8 +5044,6 @@ set(ZIG_LIBC_FILES "include/mips64-linux-gnuabi64/bits/timerfd.h" "include/mips64-linux-gnuabi64/bits/types/stack_t.h" "include/mips64-linux-gnuabi64/ieee754.h" - "include/mips64-linux-gnuabin32/asm/sgidefs.h" - "include/mips64-linux-gnuabin32/asm/unistd.h" "include/mips64-linux-gnuabin32/bits/dlfcn.h" "include/mips64-linux-gnuabin32/bits/errno.h" "include/mips64-linux-gnuabin32/bits/eventfd.h" @@ -5073,38 +5073,6 @@ set(ZIG_LIBC_FILES "include/mips64-linux-gnuabin32/bits/timerfd.h" "include/mips64-linux-gnuabin32/bits/types/stack_t.h" "include/mips64-linux-gnuabin32/ieee754.h" - "include/mips64-linux-musl/asm/auxvec.h" - "include/mips64-linux-musl/asm/bitsperlong.h" - "include/mips64-linux-musl/asm/byteorder.h" - "include/mips64-linux-musl/asm/errno.h" - "include/mips64-linux-musl/asm/fcntl.h" - "include/mips64-linux-musl/asm/hwcap.h" - "include/mips64-linux-musl/asm/ioctl.h" - "include/mips64-linux-musl/asm/ioctls.h" - "include/mips64-linux-musl/asm/kvm.h" - "include/mips64-linux-musl/asm/kvm_para.h" - "include/mips64-linux-musl/asm/mman.h" - "include/mips64-linux-musl/asm/msgbuf.h" - "include/mips64-linux-musl/asm/param.h" - "include/mips64-linux-musl/asm/poll.h" - "include/mips64-linux-musl/asm/posix_types.h" - "include/mips64-linux-musl/asm/ptrace.h" - "include/mips64-linux-musl/asm/resource.h" - "include/mips64-linux-musl/asm/sembuf.h" - "include/mips64-linux-musl/asm/setup.h" - "include/mips64-linux-musl/asm/shmbuf.h" - "include/mips64-linux-musl/asm/sigcontext.h" - "include/mips64-linux-musl/asm/siginfo.h" - "include/mips64-linux-musl/asm/signal.h" - "include/mips64-linux-musl/asm/socket.h" - "include/mips64-linux-musl/asm/sockios.h" - "include/mips64-linux-musl/asm/stat.h" - "include/mips64-linux-musl/asm/statfs.h" - "include/mips64-linux-musl/asm/swab.h" - "include/mips64-linux-musl/asm/termbits.h" - "include/mips64-linux-musl/asm/termios.h" - "include/mips64-linux-musl/asm/types.h" - "include/mips64-linux-musl/asm/unistd.h" "include/mips64-linux-musl/bfd_stdint.h" "include/mips64-linux-musl/bits/alltypes.h" "include/mips64-linux-musl/bits/endian.h" @@ -5131,8 +5099,38 @@ set(ZIG_LIBC_FILES "include/mips64-linux-musl/bits/syscall.h" "include/mips64-linux-musl/bits/termios.h" "include/mips64-linux-musl/bits/user.h" - "include/mips64el-linux-gnuabi64/asm/sgidefs.h" - "include/mips64el-linux-gnuabi64/asm/unistd.h" + "include/mips64el-linux-any/asm/auxvec.h" + "include/mips64el-linux-any/asm/bitsperlong.h" + "include/mips64el-linux-any/asm/byteorder.h" + "include/mips64el-linux-any/asm/errno.h" + "include/mips64el-linux-any/asm/fcntl.h" + "include/mips64el-linux-any/asm/hwcap.h" + "include/mips64el-linux-any/asm/ioctl.h" + "include/mips64el-linux-any/asm/ioctls.h" + "include/mips64el-linux-any/asm/kvm.h" + "include/mips64el-linux-any/asm/kvm_para.h" + "include/mips64el-linux-any/asm/mman.h" + "include/mips64el-linux-any/asm/msgbuf.h" + "include/mips64el-linux-any/asm/param.h" + "include/mips64el-linux-any/asm/poll.h" + "include/mips64el-linux-any/asm/posix_types.h" + "include/mips64el-linux-any/asm/ptrace.h" + "include/mips64el-linux-any/asm/resource.h" + "include/mips64el-linux-any/asm/sembuf.h" + "include/mips64el-linux-any/asm/setup.h" + "include/mips64el-linux-any/asm/shmbuf.h" + "include/mips64el-linux-any/asm/sigcontext.h" + "include/mips64el-linux-any/asm/siginfo.h" + "include/mips64el-linux-any/asm/signal.h" + "include/mips64el-linux-any/asm/socket.h" + "include/mips64el-linux-any/asm/sockios.h" + "include/mips64el-linux-any/asm/stat.h" + "include/mips64el-linux-any/asm/statfs.h" + "include/mips64el-linux-any/asm/swab.h" + "include/mips64el-linux-any/asm/termbits.h" + "include/mips64el-linux-any/asm/termios.h" + "include/mips64el-linux-any/asm/types.h" + "include/mips64el-linux-any/asm/unistd.h" "include/mips64el-linux-gnuabi64/bits/dlfcn.h" "include/mips64el-linux-gnuabi64/bits/errno.h" "include/mips64el-linux-gnuabi64/bits/eventfd.h" @@ -5162,8 +5160,6 @@ set(ZIG_LIBC_FILES "include/mips64el-linux-gnuabi64/bits/timerfd.h" "include/mips64el-linux-gnuabi64/bits/types/stack_t.h" "include/mips64el-linux-gnuabi64/ieee754.h" - "include/mips64el-linux-gnuabin32/asm/sgidefs.h" - "include/mips64el-linux-gnuabin32/asm/unistd.h" "include/mips64el-linux-gnuabin32/bits/dlfcn.h" "include/mips64el-linux-gnuabin32/bits/errno.h" "include/mips64el-linux-gnuabin32/bits/eventfd.h" @@ -5193,38 +5189,6 @@ set(ZIG_LIBC_FILES "include/mips64el-linux-gnuabin32/bits/timerfd.h" "include/mips64el-linux-gnuabin32/bits/types/stack_t.h" "include/mips64el-linux-gnuabin32/ieee754.h" - "include/mips64el-linux-musl/asm/auxvec.h" - "include/mips64el-linux-musl/asm/bitsperlong.h" - "include/mips64el-linux-musl/asm/byteorder.h" - "include/mips64el-linux-musl/asm/errno.h" - "include/mips64el-linux-musl/asm/fcntl.h" - "include/mips64el-linux-musl/asm/hwcap.h" - "include/mips64el-linux-musl/asm/ioctl.h" - "include/mips64el-linux-musl/asm/ioctls.h" - "include/mips64el-linux-musl/asm/kvm.h" - "include/mips64el-linux-musl/asm/kvm_para.h" - "include/mips64el-linux-musl/asm/mman.h" - "include/mips64el-linux-musl/asm/msgbuf.h" - "include/mips64el-linux-musl/asm/param.h" - "include/mips64el-linux-musl/asm/poll.h" - "include/mips64el-linux-musl/asm/posix_types.h" - "include/mips64el-linux-musl/asm/ptrace.h" - "include/mips64el-linux-musl/asm/resource.h" - "include/mips64el-linux-musl/asm/sembuf.h" - "include/mips64el-linux-musl/asm/setup.h" - "include/mips64el-linux-musl/asm/shmbuf.h" - "include/mips64el-linux-musl/asm/sigcontext.h" - "include/mips64el-linux-musl/asm/siginfo.h" - "include/mips64el-linux-musl/asm/signal.h" - "include/mips64el-linux-musl/asm/socket.h" - "include/mips64el-linux-musl/asm/sockios.h" - "include/mips64el-linux-musl/asm/stat.h" - "include/mips64el-linux-musl/asm/statfs.h" - "include/mips64el-linux-musl/asm/swab.h" - "include/mips64el-linux-musl/asm/termbits.h" - "include/mips64el-linux-musl/asm/termios.h" - "include/mips64el-linux-musl/asm/types.h" - "include/mips64el-linux-musl/asm/unistd.h" "include/mips64el-linux-musl/bfd_stdint.h" "include/mips64el-linux-musl/bits/alltypes.h" "include/mips64el-linux-musl/bits/endian.h" @@ -5251,8 +5215,38 @@ set(ZIG_LIBC_FILES "include/mips64el-linux-musl/bits/syscall.h" "include/mips64el-linux-musl/bits/termios.h" "include/mips64el-linux-musl/bits/user.h" - "include/mipsel-linux-gnu/asm/sgidefs.h" - "include/mipsel-linux-gnu/asm/unistd.h" + "include/mipsel-linux-any/asm/auxvec.h" + "include/mipsel-linux-any/asm/bitsperlong.h" + "include/mipsel-linux-any/asm/byteorder.h" + "include/mipsel-linux-any/asm/errno.h" + "include/mipsel-linux-any/asm/fcntl.h" + "include/mipsel-linux-any/asm/hwcap.h" + "include/mipsel-linux-any/asm/ioctl.h" + "include/mipsel-linux-any/asm/ioctls.h" + "include/mipsel-linux-any/asm/kvm.h" + "include/mipsel-linux-any/asm/kvm_para.h" + "include/mipsel-linux-any/asm/mman.h" + "include/mipsel-linux-any/asm/msgbuf.h" + "include/mipsel-linux-any/asm/param.h" + "include/mipsel-linux-any/asm/poll.h" + "include/mipsel-linux-any/asm/posix_types.h" + "include/mipsel-linux-any/asm/ptrace.h" + "include/mipsel-linux-any/asm/resource.h" + "include/mipsel-linux-any/asm/sembuf.h" + "include/mipsel-linux-any/asm/setup.h" + "include/mipsel-linux-any/asm/shmbuf.h" + "include/mipsel-linux-any/asm/sigcontext.h" + "include/mipsel-linux-any/asm/siginfo.h" + "include/mipsel-linux-any/asm/signal.h" + "include/mipsel-linux-any/asm/socket.h" + "include/mipsel-linux-any/asm/sockios.h" + "include/mipsel-linux-any/asm/stat.h" + "include/mipsel-linux-any/asm/statfs.h" + "include/mipsel-linux-any/asm/swab.h" + "include/mipsel-linux-any/asm/termbits.h" + "include/mipsel-linux-any/asm/termios.h" + "include/mipsel-linux-any/asm/types.h" + "include/mipsel-linux-any/asm/unistd.h" "include/mipsel-linux-gnu/bits/dlfcn.h" "include/mipsel-linux-gnu/bits/errno.h" "include/mipsel-linux-gnu/bits/eventfd.h" @@ -5282,38 +5276,6 @@ set(ZIG_LIBC_FILES "include/mipsel-linux-gnu/bits/timerfd.h" "include/mipsel-linux-gnu/bits/types/stack_t.h" "include/mipsel-linux-gnu/ieee754.h" - "include/mipsel-linux-musl/asm/auxvec.h" - "include/mipsel-linux-musl/asm/bitsperlong.h" - "include/mipsel-linux-musl/asm/byteorder.h" - "include/mipsel-linux-musl/asm/errno.h" - "include/mipsel-linux-musl/asm/fcntl.h" - "include/mipsel-linux-musl/asm/hwcap.h" - "include/mipsel-linux-musl/asm/ioctl.h" - "include/mipsel-linux-musl/asm/ioctls.h" - "include/mipsel-linux-musl/asm/kvm.h" - "include/mipsel-linux-musl/asm/kvm_para.h" - "include/mipsel-linux-musl/asm/mman.h" - "include/mipsel-linux-musl/asm/msgbuf.h" - "include/mipsel-linux-musl/asm/param.h" - "include/mipsel-linux-musl/asm/poll.h" - "include/mipsel-linux-musl/asm/posix_types.h" - "include/mipsel-linux-musl/asm/ptrace.h" - "include/mipsel-linux-musl/asm/resource.h" - "include/mipsel-linux-musl/asm/sembuf.h" - "include/mipsel-linux-musl/asm/setup.h" - "include/mipsel-linux-musl/asm/shmbuf.h" - "include/mipsel-linux-musl/asm/sigcontext.h" - "include/mipsel-linux-musl/asm/siginfo.h" - "include/mipsel-linux-musl/asm/signal.h" - "include/mipsel-linux-musl/asm/socket.h" - "include/mipsel-linux-musl/asm/sockios.h" - "include/mipsel-linux-musl/asm/stat.h" - "include/mipsel-linux-musl/asm/statfs.h" - "include/mipsel-linux-musl/asm/swab.h" - "include/mipsel-linux-musl/asm/termbits.h" - "include/mipsel-linux-musl/asm/termios.h" - "include/mipsel-linux-musl/asm/types.h" - "include/mipsel-linux-musl/asm/unistd.h" "include/mipsel-linux-musl/bfd.h" "include/mipsel-linux-musl/bfd_stdint.h" "include/mipsel-linux-musl/bits/alltypes.h" @@ -5339,7 +5301,35 @@ set(ZIG_LIBC_FILES "include/mipsel-linux-musl/bits/syscall.h" "include/mipsel-linux-musl/bits/termios.h" "include/mipsel-linux-musl/bits/user.h" - "include/powerpc-linux-gnu/asm/unistd.h" + "include/powerpc-linux-any/asm/auxvec.h" + "include/powerpc-linux-any/asm/bitsperlong.h" + "include/powerpc-linux-any/asm/byteorder.h" + "include/powerpc-linux-any/asm/errno.h" + "include/powerpc-linux-any/asm/fcntl.h" + "include/powerpc-linux-any/asm/ioctl.h" + "include/powerpc-linux-any/asm/ioctls.h" + "include/powerpc-linux-any/asm/ipcbuf.h" + "include/powerpc-linux-any/asm/kvm.h" + "include/powerpc-linux-any/asm/kvm_para.h" + "include/powerpc-linux-any/asm/mman.h" + "include/powerpc-linux-any/asm/msgbuf.h" + "include/powerpc-linux-any/asm/perf_regs.h" + "include/powerpc-linux-any/asm/posix_types.h" + "include/powerpc-linux-any/asm/ptrace.h" + "include/powerpc-linux-any/asm/sembuf.h" + "include/powerpc-linux-any/asm/setup.h" + "include/powerpc-linux-any/asm/shmbuf.h" + "include/powerpc-linux-any/asm/sigcontext.h" + "include/powerpc-linux-any/asm/siginfo.h" + "include/powerpc-linux-any/asm/signal.h" + "include/powerpc-linux-any/asm/socket.h" + "include/powerpc-linux-any/asm/stat.h" + "include/powerpc-linux-any/asm/swab.h" + "include/powerpc-linux-any/asm/termbits.h" + "include/powerpc-linux-any/asm/termios.h" + "include/powerpc-linux-any/asm/types.h" + "include/powerpc-linux-any/asm/ucontext.h" + "include/powerpc-linux-any/asm/unistd.h" "include/powerpc-linux-gnu/bits/endian.h" "include/powerpc-linux-gnu/bits/environments.h" "include/powerpc-linux-gnu/bits/fcntl.h" @@ -5380,35 +5370,6 @@ set(ZIG_LIBC_FILES "include/powerpc-linux-gnu/sys/ptrace.h" "include/powerpc-linux-gnu/sys/ucontext.h" "include/powerpc-linux-gnu/sys/user.h" - "include/powerpc-linux-musl/asm/auxvec.h" - "include/powerpc-linux-musl/asm/bitsperlong.h" - "include/powerpc-linux-musl/asm/byteorder.h" - "include/powerpc-linux-musl/asm/errno.h" - "include/powerpc-linux-musl/asm/fcntl.h" - "include/powerpc-linux-musl/asm/ioctl.h" - "include/powerpc-linux-musl/asm/ioctls.h" - "include/powerpc-linux-musl/asm/ipcbuf.h" - "include/powerpc-linux-musl/asm/kvm.h" - "include/powerpc-linux-musl/asm/kvm_para.h" - "include/powerpc-linux-musl/asm/mman.h" - "include/powerpc-linux-musl/asm/msgbuf.h" - "include/powerpc-linux-musl/asm/perf_regs.h" - "include/powerpc-linux-musl/asm/posix_types.h" - "include/powerpc-linux-musl/asm/ptrace.h" - "include/powerpc-linux-musl/asm/sembuf.h" - "include/powerpc-linux-musl/asm/setup.h" - "include/powerpc-linux-musl/asm/shmbuf.h" - "include/powerpc-linux-musl/asm/sigcontext.h" - "include/powerpc-linux-musl/asm/siginfo.h" - "include/powerpc-linux-musl/asm/signal.h" - "include/powerpc-linux-musl/asm/socket.h" - "include/powerpc-linux-musl/asm/stat.h" - "include/powerpc-linux-musl/asm/swab.h" - "include/powerpc-linux-musl/asm/termbits.h" - "include/powerpc-linux-musl/asm/termios.h" - "include/powerpc-linux-musl/asm/types.h" - "include/powerpc-linux-musl/asm/ucontext.h" - "include/powerpc-linux-musl/asm/unistd.h" "include/powerpc-linux-musl/bfd.h" "include/powerpc-linux-musl/bfd_stdint.h" "include/powerpc-linux-musl/bits/alltypes.h" @@ -5432,7 +5393,35 @@ set(ZIG_LIBC_FILES "include/powerpc-linux-musl/bits/syscall.h" "include/powerpc-linux-musl/bits/termios.h" "include/powerpc-linux-musl/bits/user.h" - "include/powerpc64-linux-gnu/asm/unistd.h" + "include/powerpc64-linux-any/asm/auxvec.h" + "include/powerpc64-linux-any/asm/bitsperlong.h" + "include/powerpc64-linux-any/asm/byteorder.h" + "include/powerpc64-linux-any/asm/errno.h" + "include/powerpc64-linux-any/asm/fcntl.h" + "include/powerpc64-linux-any/asm/ioctl.h" + "include/powerpc64-linux-any/asm/ioctls.h" + "include/powerpc64-linux-any/asm/ipcbuf.h" + "include/powerpc64-linux-any/asm/kvm.h" + "include/powerpc64-linux-any/asm/kvm_para.h" + "include/powerpc64-linux-any/asm/mman.h" + "include/powerpc64-linux-any/asm/msgbuf.h" + "include/powerpc64-linux-any/asm/perf_regs.h" + "include/powerpc64-linux-any/asm/posix_types.h" + "include/powerpc64-linux-any/asm/ptrace.h" + "include/powerpc64-linux-any/asm/sembuf.h" + "include/powerpc64-linux-any/asm/setup.h" + "include/powerpc64-linux-any/asm/shmbuf.h" + "include/powerpc64-linux-any/asm/sigcontext.h" + "include/powerpc64-linux-any/asm/siginfo.h" + "include/powerpc64-linux-any/asm/signal.h" + "include/powerpc64-linux-any/asm/socket.h" + "include/powerpc64-linux-any/asm/stat.h" + "include/powerpc64-linux-any/asm/swab.h" + "include/powerpc64-linux-any/asm/termbits.h" + "include/powerpc64-linux-any/asm/termios.h" + "include/powerpc64-linux-any/asm/types.h" + "include/powerpc64-linux-any/asm/ucontext.h" + "include/powerpc64-linux-any/asm/unistd.h" "include/powerpc64-linux-gnu/bits/endian.h" "include/powerpc64-linux-gnu/bits/environments.h" "include/powerpc64-linux-gnu/bits/fcntl.h" @@ -5474,35 +5463,6 @@ set(ZIG_LIBC_FILES "include/powerpc64-linux-gnu/sys/ptrace.h" "include/powerpc64-linux-gnu/sys/ucontext.h" "include/powerpc64-linux-gnu/sys/user.h" - "include/powerpc64-linux-musl/asm/auxvec.h" - "include/powerpc64-linux-musl/asm/bitsperlong.h" - "include/powerpc64-linux-musl/asm/byteorder.h" - "include/powerpc64-linux-musl/asm/errno.h" - "include/powerpc64-linux-musl/asm/fcntl.h" - "include/powerpc64-linux-musl/asm/ioctl.h" - "include/powerpc64-linux-musl/asm/ioctls.h" - "include/powerpc64-linux-musl/asm/ipcbuf.h" - "include/powerpc64-linux-musl/asm/kvm.h" - "include/powerpc64-linux-musl/asm/kvm_para.h" - "include/powerpc64-linux-musl/asm/mman.h" - "include/powerpc64-linux-musl/asm/msgbuf.h" - "include/powerpc64-linux-musl/asm/perf_regs.h" - "include/powerpc64-linux-musl/asm/posix_types.h" - "include/powerpc64-linux-musl/asm/ptrace.h" - "include/powerpc64-linux-musl/asm/sembuf.h" - "include/powerpc64-linux-musl/asm/setup.h" - "include/powerpc64-linux-musl/asm/shmbuf.h" - "include/powerpc64-linux-musl/asm/sigcontext.h" - "include/powerpc64-linux-musl/asm/siginfo.h" - "include/powerpc64-linux-musl/asm/signal.h" - "include/powerpc64-linux-musl/asm/socket.h" - "include/powerpc64-linux-musl/asm/stat.h" - "include/powerpc64-linux-musl/asm/swab.h" - "include/powerpc64-linux-musl/asm/termbits.h" - "include/powerpc64-linux-musl/asm/termios.h" - "include/powerpc64-linux-musl/asm/types.h" - "include/powerpc64-linux-musl/asm/ucontext.h" - "include/powerpc64-linux-musl/asm/unistd.h" "include/powerpc64-linux-musl/bfd_stdint.h" "include/powerpc64-linux-musl/bits/alltypes.h" "include/powerpc64-linux-musl/bits/endian.h" @@ -5527,7 +5487,35 @@ set(ZIG_LIBC_FILES "include/powerpc64-linux-musl/bits/syscall.h" "include/powerpc64-linux-musl/bits/termios.h" "include/powerpc64-linux-musl/bits/user.h" - "include/powerpc64le-linux-gnu/asm/unistd.h" + "include/powerpc64le-linux-any/asm/auxvec.h" + "include/powerpc64le-linux-any/asm/bitsperlong.h" + "include/powerpc64le-linux-any/asm/byteorder.h" + "include/powerpc64le-linux-any/asm/errno.h" + "include/powerpc64le-linux-any/asm/fcntl.h" + "include/powerpc64le-linux-any/asm/ioctl.h" + "include/powerpc64le-linux-any/asm/ioctls.h" + "include/powerpc64le-linux-any/asm/ipcbuf.h" + "include/powerpc64le-linux-any/asm/kvm.h" + "include/powerpc64le-linux-any/asm/kvm_para.h" + "include/powerpc64le-linux-any/asm/mman.h" + "include/powerpc64le-linux-any/asm/msgbuf.h" + "include/powerpc64le-linux-any/asm/perf_regs.h" + "include/powerpc64le-linux-any/asm/posix_types.h" + "include/powerpc64le-linux-any/asm/ptrace.h" + "include/powerpc64le-linux-any/asm/sembuf.h" + "include/powerpc64le-linux-any/asm/setup.h" + "include/powerpc64le-linux-any/asm/shmbuf.h" + "include/powerpc64le-linux-any/asm/sigcontext.h" + "include/powerpc64le-linux-any/asm/siginfo.h" + "include/powerpc64le-linux-any/asm/signal.h" + "include/powerpc64le-linux-any/asm/socket.h" + "include/powerpc64le-linux-any/asm/stat.h" + "include/powerpc64le-linux-any/asm/swab.h" + "include/powerpc64le-linux-any/asm/termbits.h" + "include/powerpc64le-linux-any/asm/termios.h" + "include/powerpc64le-linux-any/asm/types.h" + "include/powerpc64le-linux-any/asm/ucontext.h" + "include/powerpc64le-linux-any/asm/unistd.h" "include/powerpc64le-linux-gnu/bits/endian.h" "include/powerpc64le-linux-gnu/bits/environments.h" "include/powerpc64le-linux-gnu/bits/fcntl.h" @@ -5569,35 +5557,6 @@ set(ZIG_LIBC_FILES "include/powerpc64le-linux-gnu/sys/ptrace.h" "include/powerpc64le-linux-gnu/sys/ucontext.h" "include/powerpc64le-linux-gnu/sys/user.h" - "include/powerpc64le-linux-musl/asm/auxvec.h" - "include/powerpc64le-linux-musl/asm/bitsperlong.h" - "include/powerpc64le-linux-musl/asm/byteorder.h" - "include/powerpc64le-linux-musl/asm/errno.h" - "include/powerpc64le-linux-musl/asm/fcntl.h" - "include/powerpc64le-linux-musl/asm/ioctl.h" - "include/powerpc64le-linux-musl/asm/ioctls.h" - "include/powerpc64le-linux-musl/asm/ipcbuf.h" - "include/powerpc64le-linux-musl/asm/kvm.h" - "include/powerpc64le-linux-musl/asm/kvm_para.h" - "include/powerpc64le-linux-musl/asm/mman.h" - "include/powerpc64le-linux-musl/asm/msgbuf.h" - "include/powerpc64le-linux-musl/asm/perf_regs.h" - "include/powerpc64le-linux-musl/asm/posix_types.h" - "include/powerpc64le-linux-musl/asm/ptrace.h" - "include/powerpc64le-linux-musl/asm/sembuf.h" - "include/powerpc64le-linux-musl/asm/setup.h" - "include/powerpc64le-linux-musl/asm/shmbuf.h" - "include/powerpc64le-linux-musl/asm/sigcontext.h" - "include/powerpc64le-linux-musl/asm/siginfo.h" - "include/powerpc64le-linux-musl/asm/signal.h" - "include/powerpc64le-linux-musl/asm/socket.h" - "include/powerpc64le-linux-musl/asm/stat.h" - "include/powerpc64le-linux-musl/asm/swab.h" - "include/powerpc64le-linux-musl/asm/termbits.h" - "include/powerpc64le-linux-musl/asm/termios.h" - "include/powerpc64le-linux-musl/asm/types.h" - "include/powerpc64le-linux-musl/asm/ucontext.h" - "include/powerpc64le-linux-musl/asm/unistd.h" "include/powerpc64le-linux-musl/bfd_stdint.h" "include/powerpc64le-linux-musl/bits/alltypes.h" "include/powerpc64le-linux-musl/bits/endian.h" @@ -5622,20 +5581,20 @@ set(ZIG_LIBC_FILES "include/powerpc64le-linux-musl/bits/syscall.h" "include/powerpc64le-linux-musl/bits/termios.h" "include/powerpc64le-linux-musl/bits/user.h" - "include/riscv32-linux-musl/asm/auxvec.h" - "include/riscv32-linux-musl/asm/bitsperlong.h" - "include/riscv32-linux-musl/asm/byteorder.h" - "include/riscv32-linux-musl/asm/elf.h" - "include/riscv32-linux-musl/asm/hwcap.h" - "include/riscv32-linux-musl/asm/posix_types.h" - "include/riscv32-linux-musl/asm/ptrace.h" - "include/riscv32-linux-musl/asm/setup.h" - "include/riscv32-linux-musl/asm/sigcontext.h" - "include/riscv32-linux-musl/asm/siginfo.h" - "include/riscv32-linux-musl/asm/signal.h" - "include/riscv32-linux-musl/asm/stat.h" - "include/riscv32-linux-musl/asm/ucontext.h" - "include/riscv32-linux-musl/asm/unistd.h" + "include/riscv32-linux-any/asm/auxvec.h" + "include/riscv32-linux-any/asm/bitsperlong.h" + "include/riscv32-linux-any/asm/byteorder.h" + "include/riscv32-linux-any/asm/elf.h" + "include/riscv32-linux-any/asm/hwcap.h" + "include/riscv32-linux-any/asm/posix_types.h" + "include/riscv32-linux-any/asm/ptrace.h" + "include/riscv32-linux-any/asm/setup.h" + "include/riscv32-linux-any/asm/sigcontext.h" + "include/riscv32-linux-any/asm/siginfo.h" + "include/riscv32-linux-any/asm/signal.h" + "include/riscv32-linux-any/asm/stat.h" + "include/riscv32-linux-any/asm/ucontext.h" + "include/riscv32-linux-any/asm/unistd.h" "include/riscv32-linux-musl/bfd.h" "include/riscv32-linux-musl/bfd_stdint.h" "include/riscv32-linux-musl/bits/alltypes.h" @@ -5660,7 +5619,20 @@ set(ZIG_LIBC_FILES "include/riscv32-linux-musl/signal.h" "include/riscv32-linux-musl/sys/signalfd.h" "include/riscv32-linux-musl/sys/socket.h" - "include/riscv64-linux-gnu/asm/unistd.h" + "include/riscv64-linux-any/asm/auxvec.h" + "include/riscv64-linux-any/asm/bitsperlong.h" + "include/riscv64-linux-any/asm/byteorder.h" + "include/riscv64-linux-any/asm/elf.h" + "include/riscv64-linux-any/asm/hwcap.h" + "include/riscv64-linux-any/asm/posix_types.h" + "include/riscv64-linux-any/asm/ptrace.h" + "include/riscv64-linux-any/asm/setup.h" + "include/riscv64-linux-any/asm/sigcontext.h" + "include/riscv64-linux-any/asm/siginfo.h" + "include/riscv64-linux-any/asm/signal.h" + "include/riscv64-linux-any/asm/stat.h" + "include/riscv64-linux-any/asm/ucontext.h" + "include/riscv64-linux-any/asm/unistd.h" "include/riscv64-linux-gnu/bits/endian.h" "include/riscv64-linux-gnu/bits/fcntl.h" "include/riscv64-linux-gnu/bits/fenv.h" @@ -5686,20 +5658,6 @@ set(ZIG_LIBC_FILES "include/riscv64-linux-gnu/sys/cachectl.h" "include/riscv64-linux-gnu/sys/ucontext.h" "include/riscv64-linux-gnu/sys/user.h" - "include/riscv64-linux-musl/asm/auxvec.h" - "include/riscv64-linux-musl/asm/bitsperlong.h" - "include/riscv64-linux-musl/asm/byteorder.h" - "include/riscv64-linux-musl/asm/elf.h" - "include/riscv64-linux-musl/asm/hwcap.h" - "include/riscv64-linux-musl/asm/posix_types.h" - "include/riscv64-linux-musl/asm/ptrace.h" - "include/riscv64-linux-musl/asm/setup.h" - "include/riscv64-linux-musl/asm/sigcontext.h" - "include/riscv64-linux-musl/asm/siginfo.h" - "include/riscv64-linux-musl/asm/signal.h" - "include/riscv64-linux-musl/asm/stat.h" - "include/riscv64-linux-musl/asm/ucontext.h" - "include/riscv64-linux-musl/asm/unistd.h" "include/riscv64-linux-musl/bfd_stdint.h" "include/riscv64-linux-musl/bits/alltypes.h" "include/riscv64-linux-musl/bits/endian.h" @@ -5724,7 +5682,52 @@ set(ZIG_LIBC_FILES "include/riscv64-linux-musl/signal.h" "include/riscv64-linux-musl/sys/signalfd.h" "include/riscv64-linux-musl/sys/socket.h" - "include/s390x-linux-gnu/asm/unistd.h" + "include/s390x-linux-any/asm/auxvec.h" + "include/s390x-linux-any/asm/bitsperlong.h" + "include/s390x-linux-any/asm/bpf_perf_event.h" + "include/s390x-linux-any/asm/byteorder.h" + "include/s390x-linux-any/asm/chpid.h" + "include/s390x-linux-any/asm/chsc.h" + "include/s390x-linux-any/asm/clp.h" + "include/s390x-linux-any/asm/cmb.h" + "include/s390x-linux-any/asm/dasd.h" + "include/s390x-linux-any/asm/debug.h" + "include/s390x-linux-any/asm/guarded_storage.h" + "include/s390x-linux-any/asm/hypfs.h" + "include/s390x-linux-any/asm/ioctls.h" + "include/s390x-linux-any/asm/ipcbuf.h" + "include/s390x-linux-any/asm/kvm.h" + "include/s390x-linux-any/asm/kvm_para.h" + "include/s390x-linux-any/asm/kvm_perf.h" + "include/s390x-linux-any/asm/monwriter.h" + "include/s390x-linux-any/asm/perf_regs.h" + "include/s390x-linux-any/asm/pkey.h" + "include/s390x-linux-any/asm/posix_types.h" + "include/s390x-linux-any/asm/ptrace.h" + "include/s390x-linux-any/asm/qeth.h" + "include/s390x-linux-any/asm/runtime_instr.h" + "include/s390x-linux-any/asm/schid.h" + "include/s390x-linux-any/asm/sclp_ctl.h" + "include/s390x-linux-any/asm/setup.h" + "include/s390x-linux-any/asm/sie.h" + "include/s390x-linux-any/asm/sigcontext.h" + "include/s390x-linux-any/asm/siginfo.h" + "include/s390x-linux-any/asm/signal.h" + "include/s390x-linux-any/asm/socket.h" + "include/s390x-linux-any/asm/stat.h" + "include/s390x-linux-any/asm/statfs.h" + "include/s390x-linux-any/asm/sthyi.h" + "include/s390x-linux-any/asm/tape390.h" + "include/s390x-linux-any/asm/termios.h" + "include/s390x-linux-any/asm/types.h" + "include/s390x-linux-any/asm/ucontext.h" + "include/s390x-linux-any/asm/unistd.h" + "include/s390x-linux-any/asm/unistd_32.h" + "include/s390x-linux-any/asm/unistd_64.h" + "include/s390x-linux-any/asm/virtio-ccw.h" + "include/s390x-linux-any/asm/vmcp.h" + "include/s390x-linux-any/asm/vtoc.h" + "include/s390x-linux-any/asm/zcrypt.h" "include/s390x-linux-gnu/bits/elfclass.h" "include/s390x-linux-gnu/bits/endian.h" "include/s390x-linux-gnu/bits/environments.h" @@ -5760,52 +5763,6 @@ set(ZIG_LIBC_FILES "include/s390x-linux-gnu/sys/ptrace.h" "include/s390x-linux-gnu/sys/ucontext.h" "include/s390x-linux-gnu/sys/user.h" - "include/s390x-linux-musl/asm/auxvec.h" - "include/s390x-linux-musl/asm/bitsperlong.h" - "include/s390x-linux-musl/asm/bpf_perf_event.h" - "include/s390x-linux-musl/asm/byteorder.h" - "include/s390x-linux-musl/asm/chpid.h" - "include/s390x-linux-musl/asm/chsc.h" - "include/s390x-linux-musl/asm/clp.h" - "include/s390x-linux-musl/asm/cmb.h" - "include/s390x-linux-musl/asm/dasd.h" - "include/s390x-linux-musl/asm/debug.h" - "include/s390x-linux-musl/asm/guarded_storage.h" - "include/s390x-linux-musl/asm/hypfs.h" - "include/s390x-linux-musl/asm/ioctls.h" - "include/s390x-linux-musl/asm/ipcbuf.h" - "include/s390x-linux-musl/asm/kvm.h" - "include/s390x-linux-musl/asm/kvm_para.h" - "include/s390x-linux-musl/asm/kvm_perf.h" - "include/s390x-linux-musl/asm/monwriter.h" - "include/s390x-linux-musl/asm/perf_regs.h" - "include/s390x-linux-musl/asm/pkey.h" - "include/s390x-linux-musl/asm/posix_types.h" - "include/s390x-linux-musl/asm/ptrace.h" - "include/s390x-linux-musl/asm/qeth.h" - "include/s390x-linux-musl/asm/runtime_instr.h" - "include/s390x-linux-musl/asm/schid.h" - "include/s390x-linux-musl/asm/sclp_ctl.h" - "include/s390x-linux-musl/asm/setup.h" - "include/s390x-linux-musl/asm/sie.h" - "include/s390x-linux-musl/asm/sigcontext.h" - "include/s390x-linux-musl/asm/siginfo.h" - "include/s390x-linux-musl/asm/signal.h" - "include/s390x-linux-musl/asm/socket.h" - "include/s390x-linux-musl/asm/stat.h" - "include/s390x-linux-musl/asm/statfs.h" - "include/s390x-linux-musl/asm/sthyi.h" - "include/s390x-linux-musl/asm/tape390.h" - "include/s390x-linux-musl/asm/termios.h" - "include/s390x-linux-musl/asm/types.h" - "include/s390x-linux-musl/asm/ucontext.h" - "include/s390x-linux-musl/asm/unistd.h" - "include/s390x-linux-musl/asm/unistd_32.h" - "include/s390x-linux-musl/asm/unistd_64.h" - "include/s390x-linux-musl/asm/virtio-ccw.h" - "include/s390x-linux-musl/asm/vmcp.h" - "include/s390x-linux-musl/asm/vtoc.h" - "include/s390x-linux-musl/asm/zcrypt.h" "include/s390x-linux-musl/bfd_stdint.h" "include/s390x-linux-musl/bits/alltypes.h" "include/s390x-linux-musl/bits/endian.h" @@ -5830,7 +5787,6 @@ set(ZIG_LIBC_FILES "include/s390x-linux-musl/bits/syscall.h" "include/s390x-linux-musl/bits/user.h" "include/sparc-linux-gnu/a.out.h" - "include/sparc-linux-gnu/asm/unistd.h" "include/sparc-linux-gnu/bits/a.out.h" "include/sparc-linux-gnu/bits/endian.h" "include/sparc-linux-gnu/bits/environments.h" @@ -5886,7 +5842,6 @@ set(ZIG_LIBC_FILES "include/sparc-linux-gnu/sys/ucontext.h" "include/sparc-linux-gnu/sys/user.h" "include/sparcv9-linux-gnu/a.out.h" - "include/sparcv9-linux-gnu/asm/unistd.h" "include/sparcv9-linux-gnu/bits/a.out.h" "include/sparcv9-linux-gnu/bits/endian.h" "include/sparcv9-linux-gnu/bits/environments.h" @@ -5940,7 +5895,28 @@ set(ZIG_LIBC_FILES "include/sparcv9-linux-gnu/sys/ptrace.h" "include/sparcv9-linux-gnu/sys/ucontext.h" "include/sparcv9-linux-gnu/sys/user.h" - "include/x86_64-linux-gnu/asm/unistd.h" + "include/x86_64-linux-any/asm/auxvec.h" + "include/x86_64-linux-any/asm/bitsperlong.h" + "include/x86_64-linux-any/asm/byteorder.h" + "include/x86_64-linux-any/asm/kvm.h" + "include/x86_64-linux-any/asm/kvm_para.h" + "include/x86_64-linux-any/asm/mman.h" + "include/x86_64-linux-any/asm/msgbuf.h" + "include/x86_64-linux-any/asm/perf_regs.h" + "include/x86_64-linux-any/asm/posix_types.h" + "include/x86_64-linux-any/asm/ptrace.h" + "include/x86_64-linux-any/asm/sembuf.h" + "include/x86_64-linux-any/asm/setup.h" + "include/x86_64-linux-any/asm/shmbuf.h" + "include/x86_64-linux-any/asm/sigcontext.h" + "include/x86_64-linux-any/asm/siginfo.h" + "include/x86_64-linux-any/asm/signal.h" + "include/x86_64-linux-any/asm/stat.h" + "include/x86_64-linux-any/asm/statfs.h" + "include/x86_64-linux-any/asm/swab.h" + "include/x86_64-linux-any/asm/types.h" + "include/x86_64-linux-any/asm/ucontext.h" + "include/x86_64-linux-any/asm/unistd.h" "include/x86_64-linux-gnu/bits/a.out.h" "include/x86_64-linux-gnu/bits/endian.h" "include/x86_64-linux-gnu/bits/environments.h" @@ -6025,28 +6001,6 @@ set(ZIG_LIBC_FILES "include/x86_64-linux-gnux32/sys/ptrace.h" "include/x86_64-linux-gnux32/sys/ucontext.h" "include/x86_64-linux-gnux32/sys/user.h" - "include/x86_64-linux-musl/asm/auxvec.h" - "include/x86_64-linux-musl/asm/bitsperlong.h" - "include/x86_64-linux-musl/asm/byteorder.h" - "include/x86_64-linux-musl/asm/kvm.h" - "include/x86_64-linux-musl/asm/kvm_para.h" - "include/x86_64-linux-musl/asm/mman.h" - "include/x86_64-linux-musl/asm/msgbuf.h" - "include/x86_64-linux-musl/asm/perf_regs.h" - "include/x86_64-linux-musl/asm/posix_types.h" - "include/x86_64-linux-musl/asm/ptrace.h" - "include/x86_64-linux-musl/asm/sembuf.h" - "include/x86_64-linux-musl/asm/setup.h" - "include/x86_64-linux-musl/asm/shmbuf.h" - "include/x86_64-linux-musl/asm/sigcontext.h" - "include/x86_64-linux-musl/asm/siginfo.h" - "include/x86_64-linux-musl/asm/signal.h" - "include/x86_64-linux-musl/asm/stat.h" - "include/x86_64-linux-musl/asm/statfs.h" - "include/x86_64-linux-musl/asm/swab.h" - "include/x86_64-linux-musl/asm/types.h" - "include/x86_64-linux-musl/asm/ucontext.h" - "include/x86_64-linux-musl/asm/unistd.h" "include/x86_64-linux-musl/bfd_stdint.h" "include/x86_64-linux-musl/bits/alltypes.h" "include/x86_64-linux-musl/bits/endian.h" diff --git a/doc/docgen.zig b/doc/docgen.zig index 3242220af4..1a9b6c1d72 100644 --- a/doc/docgen.zig +++ b/doc/docgen.zig @@ -707,7 +707,7 @@ const builtin_types = [][]const u8{ "f16", "f32", "f64", "f128", "c_longdouble", "c_short", "c_ushort", "c_int", "c_uint", "c_long", "c_ulong", "c_longlong", "c_ulonglong", "c_char", "c_void", "void", "bool", "isize", - "usize", "noreturn", "type", "error", "comptime_int", "comptime_float", + "usize", "noreturn", "type", "anyerror", "comptime_int", "comptime_float", }; fn isType(name: []const u8) bool { @@ -1183,11 +1183,21 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var "--output-dir", tmp_dir_name, }); + var mode_arg: []const u8 = ""; switch (code.mode) { builtin.Mode.Debug => {}, - builtin.Mode.ReleaseSafe => try test_args.append("--release-safe"), - builtin.Mode.ReleaseFast => try test_args.append("--release-fast"), - builtin.Mode.ReleaseSmall => try test_args.append("--release-small"), + builtin.Mode.ReleaseSafe => { + try test_args.append("--release-safe"); + mode_arg = " --release-safe"; + }, + builtin.Mode.ReleaseFast => { + try test_args.append("--release-fast"); + mode_arg = " --release-fast"; + }, + builtin.Mode.ReleaseSmall => { + try test_args.append("--release-small"); + mode_arg = " --release-small"; + }, } const result = try os.ChildProcess.exec(allocator, test_args.toSliceConst(), null, &env_map, max_doc_file_size); @@ -1217,7 +1227,12 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var } const escaped_stderr = try escapeHtml(allocator, result.stderr); const colored_stderr = try termColor(allocator, escaped_stderr); - try out.print("
$ zig test {}.zig\n{}
\n", code.name, colored_stderr); + try out.print( + "
$ zig test {}.zig{}\n{}
\n", + code.name, + mode_arg, + colored_stderr, + ); }, Code.Id.Obj => |maybe_error_match| { const name_plus_obj_ext = try std.fmt.allocPrint(allocator, "{}{}", code.name, obj_ext); diff --git a/doc/langref.html.in b/doc/langref.html.in index acf621c33f..b8ee292462 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -5890,10 +5890,11 @@ comptime { {#see_also|Import from C Header File|@cInclude|@cImport|@cUndef|void#} {#header_close#} {#header_open|@cImport#} -
{#syntax#}@cImport(expression) (namespace){#endsyntax#}
+
{#syntax#}@cImport(expression) type{#endsyntax#}

- This function parses C code and imports the functions, types, variables, and - compatible macro definitions into the result namespace. + This function parses C code and imports the functions, types, variables, + and compatible macro definitions into a new empty struct type, and then + returns that type.

{#syntax#}expression{#endsyntax#} is interpreted at compile time. The builtin functions @@ -6320,14 +6321,22 @@ export fn @"A function name that is a complete sentence."() void {} {#header_close#} {#header_open|@import#} -

{#syntax#}@import(comptime path: []u8) (namespace){#endsyntax#}
+
{#syntax#}@import(comptime path: []u8) type{#endsyntax#}

- This function finds a zig file corresponding to {#syntax#}path{#endsyntax#} and imports all the - public top level declarations into the resulting namespace. + This function finds a zig file corresponding to {#syntax#}path{#endsyntax#} and adds it to the build, + if it is not already added. +

+

+ Zig source files are implicitly structs, with a name equal to the file's basename with the extension + truncated. {#syntax#}@import{#endsyntax#} returns the struct type corresponding to the file. +

+

+ Declarations which have the {#syntax#}pub{#endsyntax#} keyword may be referenced from a different + source file than the one they are declared in.

{#syntax#}path{#endsyntax#} can be a relative or absolute path, or it can be the name of a package. - If it is a relative path, it is relative to the file that contains the {#syntax#}@import{#endsyntax#} + If it is a relative path, it is relative to the file that contains the {#syntax#}@import{#endsyntax#} function call.

@@ -6335,7 +6344,9 @@ export fn @"A function name that is a complete sentence."() void {}

{#see_also|Compile Variables|@embedFile#} {#header_close#} @@ -6769,8 +6780,32 @@ pub const FloatMode = enum { {#header_open|@setRuntimeSafety#}
{#syntax#}@setRuntimeSafety(safety_on: bool){#endsyntax#}

- Sets whether runtime safety checks are on for the scope that contains the function call. + Sets whether runtime safety checks are enabled for the scope that contains the function call.

+ {#code_begin|test_safety|integer overflow#} + {#code_release_fast#} +test "@setRuntimeSafety" { + // The builtin applies to the scope that it is called in. So here, integer overflow + // will not be caught in ReleaseFast and ReleaseSmall modes: + // var x: u8 = 255; + // x += 1; // undefined behavior in ReleaseFast/ReleaseSmall modes. + { + // However this block has safety enabled, so safety checks happen here, + // even in ReleaseFast and ReleaseSmall modes. + @setRuntimeSafety(true); + var x: u8 = 255; + x += 1; + + { + // The value can be overridden at any scope. So here integer overflow + // would not be caught in any build mode. + @setRuntimeSafety(false); + // var x: u8 = 255; + // x += 1; // undefined behavior in all build modes. + } + } +} + {#code_end#} {#header_close#} @@ -8177,28 +8212,68 @@ all your base are belong to us

$ zig targets
 Architectures:
-  armv8_2a
-  armv8_1a
-  armv8
-  armv8r
-  armv8m_baseline
-  armv8m_mainline
-  armv7
-  armv7em
-  armv7m
-  armv7s
-  armv7k
-  armv7ve
-  armv6
-  armv6m
-  armv6k
-  armv6t2
-  armv5
-  armv5te
-  armv4t
+  arm
+    v8_4a
+    v8_3a
+    v8_2a
+    v8_1a
+    v8
+    v8r
+    v8m_baseline
+    v8m_mainline
+    v7
+    v7em
+    v7m
+    v7s
+    v7k
+    v7ve
+    v6
+    v6m
+    v6k
+    v6t2
+    v5
+    v5te
+    v4t
   armeb
+    v8_4a
+    v8_3a
+    v8_2a
+    v8_1a
+    v8
+    v8r
+    v8m_baseline
+    v8m_mainline
+    v7
+    v7em
+    v7m
+    v7s
+    v7k
+    v7ve
+    v6
+    v6m
+    v6k
+    v6t2
+    v5
+    v5te
+    v4t
   aarch64
+    v8_4a
+    v8_3a
+    v8_2a
+    v8_1a
+    v8
+    v8r
+    v8m_baseline
+    v8m_mainline
   aarch64_be
+    v8_4a
+    v8_3a
+    v8_2a
+    v8_1a
+    v8
+    v8r
+    v8m_baseline
+    v8m_mainline
   avr
   bpfel
   bpfeb
@@ -8208,7 +8283,6 @@ Architectures:
   mips64
   mips64el
   msp430
-  nios2
   powerpc
   powerpc64
   powerpc64le
@@ -8220,32 +8294,58 @@ Architectures:
   sparcv9
   sparcel
   s390x
-  tce
-  tcele
   thumb
+    v8_4a
+    v8_3a
+    v8_2a
+    v8_1a
+    v8
+    v8r
+    v8m_baseline
+    v8m_mainline
+    v7
+    v7em
+    v7m
+    v7s
+    v7k
+    v7ve
+    v6
+    v6m
+    v6k
+    v6t2
+    v5
+    v5te
+    v4t
   thumbeb
+    v8_4a
+    v8_3a
+    v8_2a
+    v8_1a
+    v8
+    v8r
+    v8m_baseline
+    v8m_mainline
+    v7
+    v7em
+    v7m
+    v7s
+    v7k
+    v7ve
+    v6
+    v6m
+    v6k
+    v6t2
+    v5
+    v5te
+    v4t
   i386
   x86_64 (native)
   xcore
   nvptx
   nvptx64
-  le32
-  le64
-  amdil
-  amdil64
-  hsail
-  hsail64
-  spir
-  spir64
-  kalimbav3
-  kalimbav4
-  kalimbav5
-  shave
   lanai
   wasm32
   wasm64
-  renderscript32
-  renderscript64
 
 Operating Systems:
   freestanding
@@ -8268,7 +8368,6 @@ Operating Systems:
   rtems
   nacl
   cnk
-  bitrig
   aix
   cuda
   nvcl
@@ -8279,11 +8378,14 @@ Operating Systems:
   watchos
   mesa3d
   contiki
+  amdpal
   zen
+  uefi
 
-Environments:
-  unknown
+C ABIs:
+  none
   gnu (native)
+  gnuabin32
   gnuabi64
   gnueabi
   gnueabihf
@@ -8298,9 +8400,8 @@ Environments:
   msvc
   itanium
   cygnus
-  amdopencl
   coreclr
-  opencl
+ simulator

The Zig Standard Library ({#syntax#}@import("std"){#endsyntax#}) has architecture, environment, and operating system abstractions, and thus takes additional work to support more platforms. @@ -8433,6 +8534,19 @@ fn readU32Be() u32 {}

The codepoint U+000a (LF) (which is encoded as the single-byte value 0x0a) is the line terminator character. This character always terminates a line of zig source code (except possbly the last line of the file).

For some discussion on the rationale behind these design decisions, see issue #663

{#header_close#} + + {#header_open|Keyword Reference#} +

+ TODO the rest of the keywords. Most of these can just be links to the relevant section. +

+ {#header_open|Keyword: pub#} +

The {#syntax#}pub{#endsyntax#} in front of a top level declaration makes the + declaration available to reference from a different file than the one it is declared in.

+

TODO delete pub syntax for fields, or make it do something.

+ {#see_also|@import#} + {#header_close#} + {#header_close#} + {#header_open|Grammar#}
Root <- skip ContainerMembers eof
 
diff --git a/libc/include/aarch64-linux-musleabi/asm/auxvec.h b/libc/include/aarch64-linux-any/asm/auxvec.h
similarity index 100%
rename from libc/include/aarch64-linux-musleabi/asm/auxvec.h
rename to libc/include/aarch64-linux-any/asm/auxvec.h
diff --git a/libc/include/aarch64-linux-musleabi/asm/bitsperlong.h b/libc/include/aarch64-linux-any/asm/bitsperlong.h
similarity index 100%
rename from libc/include/aarch64-linux-musleabi/asm/bitsperlong.h
rename to libc/include/aarch64-linux-any/asm/bitsperlong.h
diff --git a/libc/include/aarch64-linux-musleabi/asm/bpf_perf_event.h b/libc/include/aarch64-linux-any/asm/bpf_perf_event.h
similarity index 100%
rename from libc/include/aarch64-linux-musleabi/asm/bpf_perf_event.h
rename to libc/include/aarch64-linux-any/asm/bpf_perf_event.h
diff --git a/libc/include/aarch64-linux-musleabi/asm/byteorder.h b/libc/include/aarch64-linux-any/asm/byteorder.h
similarity index 100%
rename from libc/include/aarch64-linux-musleabi/asm/byteorder.h
rename to libc/include/aarch64-linux-any/asm/byteorder.h
diff --git a/libc/include/aarch64-linux-musleabi/asm/fcntl.h b/libc/include/aarch64-linux-any/asm/fcntl.h
similarity index 100%
rename from libc/include/aarch64-linux-musleabi/asm/fcntl.h
rename to libc/include/aarch64-linux-any/asm/fcntl.h
diff --git a/libc/include/aarch64-linux-musleabi/asm/hwcap.h b/libc/include/aarch64-linux-any/asm/hwcap.h
similarity index 100%
rename from libc/include/aarch64-linux-musleabi/asm/hwcap.h
rename to libc/include/aarch64-linux-any/asm/hwcap.h
diff --git a/libc/include/aarch64-linux-musleabi/asm/kvm.h b/libc/include/aarch64-linux-any/asm/kvm.h
similarity index 100%
rename from libc/include/aarch64-linux-musleabi/asm/kvm.h
rename to libc/include/aarch64-linux-any/asm/kvm.h
diff --git a/libc/include/aarch64-linux-musleabi/asm/kvm_para.h b/libc/include/aarch64-linux-any/asm/kvm_para.h
similarity index 100%
rename from libc/include/aarch64-linux-musleabi/asm/kvm_para.h
rename to libc/include/aarch64-linux-any/asm/kvm_para.h
diff --git a/libc/include/aarch64-linux-musleabi/asm/param.h b/libc/include/aarch64-linux-any/asm/param.h
similarity index 100%
rename from libc/include/aarch64-linux-musleabi/asm/param.h
rename to libc/include/aarch64-linux-any/asm/param.h
diff --git a/libc/include/aarch64-linux-musleabi/asm/perf_regs.h b/libc/include/aarch64-linux-any/asm/perf_regs.h
similarity index 100%
rename from libc/include/aarch64-linux-musleabi/asm/perf_regs.h
rename to libc/include/aarch64-linux-any/asm/perf_regs.h
diff --git a/libc/include/aarch64-linux-musleabi/asm/posix_types.h b/libc/include/aarch64-linux-any/asm/posix_types.h
similarity index 100%
rename from libc/include/aarch64-linux-musleabi/asm/posix_types.h
rename to libc/include/aarch64-linux-any/asm/posix_types.h
diff --git a/libc/include/aarch64-linux-musleabi/asm/ptrace.h b/libc/include/aarch64-linux-any/asm/ptrace.h
similarity index 100%
rename from libc/include/aarch64-linux-musleabi/asm/ptrace.h
rename to libc/include/aarch64-linux-any/asm/ptrace.h
diff --git a/libc/include/aarch64-linux-musleabi/asm/setup.h b/libc/include/aarch64-linux-any/asm/setup.h
similarity index 100%
rename from libc/include/aarch64-linux-musleabi/asm/setup.h
rename to libc/include/aarch64-linux-any/asm/setup.h
diff --git a/libc/include/aarch64-linux-musleabi/asm/sigcontext.h b/libc/include/aarch64-linux-any/asm/sigcontext.h
similarity index 100%
rename from libc/include/aarch64-linux-musleabi/asm/sigcontext.h
rename to libc/include/aarch64-linux-any/asm/sigcontext.h
diff --git a/libc/include/aarch64-linux-musleabi/asm/siginfo.h b/libc/include/aarch64-linux-any/asm/siginfo.h
similarity index 100%
rename from libc/include/aarch64-linux-musleabi/asm/siginfo.h
rename to libc/include/aarch64-linux-any/asm/siginfo.h
diff --git a/libc/include/aarch64-linux-musleabi/asm/signal.h b/libc/include/aarch64-linux-any/asm/signal.h
similarity index 100%
rename from libc/include/aarch64-linux-musleabi/asm/signal.h
rename to libc/include/aarch64-linux-any/asm/signal.h
diff --git a/libc/include/aarch64-linux-musleabi/asm/stat.h b/libc/include/aarch64-linux-any/asm/stat.h
similarity index 100%
rename from libc/include/aarch64-linux-musleabi/asm/stat.h
rename to libc/include/aarch64-linux-any/asm/stat.h
diff --git a/libc/include/aarch64-linux-musleabi/asm/statfs.h b/libc/include/aarch64-linux-any/asm/statfs.h
similarity index 100%
rename from libc/include/aarch64-linux-musleabi/asm/statfs.h
rename to libc/include/aarch64-linux-any/asm/statfs.h
diff --git a/libc/include/aarch64-linux-musleabi/asm/ucontext.h b/libc/include/aarch64-linux-any/asm/ucontext.h
similarity index 100%
rename from libc/include/aarch64-linux-musleabi/asm/ucontext.h
rename to libc/include/aarch64-linux-any/asm/ucontext.h
diff --git a/libc/include/aarch64-linux-musleabi/asm/unistd.h b/libc/include/aarch64-linux-any/asm/unistd.h
similarity index 100%
rename from libc/include/aarch64-linux-musleabi/asm/unistd.h
rename to libc/include/aarch64-linux-any/asm/unistd.h
diff --git a/libc/include/aarch64-linux-gnu/asm/bitsperlong.h b/libc/include/aarch64-linux-gnu/asm/bitsperlong.h
deleted file mode 100644
index 485d60bee2..0000000000
--- a/libc/include/aarch64-linux-gnu/asm/bitsperlong.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- * Copyright (C) 2012 ARM Ltd.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see .
- */
-#ifndef __ASM_BITSPERLONG_H
-#define __ASM_BITSPERLONG_H
-
-#define __BITS_PER_LONG 64
-
-#include 
-
-#endif	/* __ASM_BITSPERLONG_H */
diff --git a/libc/include/aarch64-linux-gnu/asm/unistd.h b/libc/include/aarch64-linux-gnu/asm/unistd.h
deleted file mode 100644
index dae1584cf0..0000000000
--- a/libc/include/aarch64-linux-gnu/asm/unistd.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- * Copyright (C) 2012 ARM Ltd.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see .
- */
-
-#define __ARCH_WANT_RENAMEAT
-#define __ARCH_WANT_NEW_STAT
-
-#include 
diff --git a/libc/include/aarch64_be-linux-musl/asm/auxvec.h b/libc/include/aarch64_be-linux-any/asm/auxvec.h
similarity index 100%
rename from libc/include/aarch64_be-linux-musl/asm/auxvec.h
rename to libc/include/aarch64_be-linux-any/asm/auxvec.h
diff --git a/libc/include/aarch64_be-linux-musl/asm/bitsperlong.h b/libc/include/aarch64_be-linux-any/asm/bitsperlong.h
similarity index 100%
rename from libc/include/aarch64_be-linux-musl/asm/bitsperlong.h
rename to libc/include/aarch64_be-linux-any/asm/bitsperlong.h
diff --git a/libc/include/aarch64_be-linux-musl/asm/bpf_perf_event.h b/libc/include/aarch64_be-linux-any/asm/bpf_perf_event.h
similarity index 100%
rename from libc/include/aarch64_be-linux-musl/asm/bpf_perf_event.h
rename to libc/include/aarch64_be-linux-any/asm/bpf_perf_event.h
diff --git a/libc/include/aarch64_be-linux-musl/asm/byteorder.h b/libc/include/aarch64_be-linux-any/asm/byteorder.h
similarity index 100%
rename from libc/include/aarch64_be-linux-musl/asm/byteorder.h
rename to libc/include/aarch64_be-linux-any/asm/byteorder.h
diff --git a/libc/include/aarch64_be-linux-musl/asm/fcntl.h b/libc/include/aarch64_be-linux-any/asm/fcntl.h
similarity index 100%
rename from libc/include/aarch64_be-linux-musl/asm/fcntl.h
rename to libc/include/aarch64_be-linux-any/asm/fcntl.h
diff --git a/libc/include/aarch64_be-linux-musl/asm/hwcap.h b/libc/include/aarch64_be-linux-any/asm/hwcap.h
similarity index 100%
rename from libc/include/aarch64_be-linux-musl/asm/hwcap.h
rename to libc/include/aarch64_be-linux-any/asm/hwcap.h
diff --git a/libc/include/aarch64_be-linux-musl/asm/kvm.h b/libc/include/aarch64_be-linux-any/asm/kvm.h
similarity index 100%
rename from libc/include/aarch64_be-linux-musl/asm/kvm.h
rename to libc/include/aarch64_be-linux-any/asm/kvm.h
diff --git a/libc/include/aarch64_be-linux-musl/asm/kvm_para.h b/libc/include/aarch64_be-linux-any/asm/kvm_para.h
similarity index 100%
rename from libc/include/aarch64_be-linux-musl/asm/kvm_para.h
rename to libc/include/aarch64_be-linux-any/asm/kvm_para.h
diff --git a/libc/include/aarch64_be-linux-musl/asm/param.h b/libc/include/aarch64_be-linux-any/asm/param.h
similarity index 100%
rename from libc/include/aarch64_be-linux-musl/asm/param.h
rename to libc/include/aarch64_be-linux-any/asm/param.h
diff --git a/libc/include/aarch64_be-linux-musl/asm/perf_regs.h b/libc/include/aarch64_be-linux-any/asm/perf_regs.h
similarity index 100%
rename from libc/include/aarch64_be-linux-musl/asm/perf_regs.h
rename to libc/include/aarch64_be-linux-any/asm/perf_regs.h
diff --git a/libc/include/aarch64_be-linux-musl/asm/posix_types.h b/libc/include/aarch64_be-linux-any/asm/posix_types.h
similarity index 100%
rename from libc/include/aarch64_be-linux-musl/asm/posix_types.h
rename to libc/include/aarch64_be-linux-any/asm/posix_types.h
diff --git a/libc/include/aarch64_be-linux-musl/asm/ptrace.h b/libc/include/aarch64_be-linux-any/asm/ptrace.h
similarity index 100%
rename from libc/include/aarch64_be-linux-musl/asm/ptrace.h
rename to libc/include/aarch64_be-linux-any/asm/ptrace.h
diff --git a/libc/include/aarch64_be-linux-musl/asm/setup.h b/libc/include/aarch64_be-linux-any/asm/setup.h
similarity index 100%
rename from libc/include/aarch64_be-linux-musl/asm/setup.h
rename to libc/include/aarch64_be-linux-any/asm/setup.h
diff --git a/libc/include/aarch64_be-linux-musl/asm/sigcontext.h b/libc/include/aarch64_be-linux-any/asm/sigcontext.h
similarity index 100%
rename from libc/include/aarch64_be-linux-musl/asm/sigcontext.h
rename to libc/include/aarch64_be-linux-any/asm/sigcontext.h
diff --git a/libc/include/aarch64_be-linux-musl/asm/siginfo.h b/libc/include/aarch64_be-linux-any/asm/siginfo.h
similarity index 100%
rename from libc/include/aarch64_be-linux-musl/asm/siginfo.h
rename to libc/include/aarch64_be-linux-any/asm/siginfo.h
diff --git a/libc/include/aarch64_be-linux-musl/asm/signal.h b/libc/include/aarch64_be-linux-any/asm/signal.h
similarity index 100%
rename from libc/include/aarch64_be-linux-musl/asm/signal.h
rename to libc/include/aarch64_be-linux-any/asm/signal.h
diff --git a/libc/include/aarch64_be-linux-musl/asm/stat.h b/libc/include/aarch64_be-linux-any/asm/stat.h
similarity index 100%
rename from libc/include/aarch64_be-linux-musl/asm/stat.h
rename to libc/include/aarch64_be-linux-any/asm/stat.h
diff --git a/libc/include/aarch64_be-linux-musl/asm/statfs.h b/libc/include/aarch64_be-linux-any/asm/statfs.h
similarity index 100%
rename from libc/include/aarch64_be-linux-musl/asm/statfs.h
rename to libc/include/aarch64_be-linux-any/asm/statfs.h
diff --git a/libc/include/aarch64_be-linux-musl/asm/ucontext.h b/libc/include/aarch64_be-linux-any/asm/ucontext.h
similarity index 100%
rename from libc/include/aarch64_be-linux-musl/asm/ucontext.h
rename to libc/include/aarch64_be-linux-any/asm/ucontext.h
diff --git a/libc/include/aarch64_be-linux-musl/asm/unistd.h b/libc/include/aarch64_be-linux-any/asm/unistd.h
similarity index 100%
rename from libc/include/aarch64_be-linux-musl/asm/unistd.h
rename to libc/include/aarch64_be-linux-any/asm/unistd.h
diff --git a/libc/include/aarch64_be-linux-gnu/asm/bitsperlong.h b/libc/include/aarch64_be-linux-gnu/asm/bitsperlong.h
deleted file mode 100644
index 485d60bee2..0000000000
--- a/libc/include/aarch64_be-linux-gnu/asm/bitsperlong.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- * Copyright (C) 2012 ARM Ltd.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see .
- */
-#ifndef __ASM_BITSPERLONG_H
-#define __ASM_BITSPERLONG_H
-
-#define __BITS_PER_LONG 64
-
-#include 
-
-#endif	/* __ASM_BITSPERLONG_H */
diff --git a/libc/include/aarch64_be-linux-gnu/asm/unistd.h b/libc/include/aarch64_be-linux-gnu/asm/unistd.h
deleted file mode 100644
index dae1584cf0..0000000000
--- a/libc/include/aarch64_be-linux-gnu/asm/unistd.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- * Copyright (C) 2012 ARM Ltd.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see .
- */
-
-#define __ARCH_WANT_RENAMEAT
-#define __ARCH_WANT_NEW_STAT
-
-#include 
diff --git a/libc/include/generic-musl/asm-generic/auxvec.h b/libc/include/any-linux-any/asm-generic/auxvec.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/auxvec.h
rename to libc/include/any-linux-any/asm-generic/auxvec.h
diff --git a/libc/include/generic-musl/asm-generic/bitsperlong.h b/libc/include/any-linux-any/asm-generic/bitsperlong.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/bitsperlong.h
rename to libc/include/any-linux-any/asm-generic/bitsperlong.h
diff --git a/libc/include/generic-musl/asm-generic/bpf_perf_event.h b/libc/include/any-linux-any/asm-generic/bpf_perf_event.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/bpf_perf_event.h
rename to libc/include/any-linux-any/asm-generic/bpf_perf_event.h
diff --git a/libc/include/generic-musl/asm-generic/errno-base.h b/libc/include/any-linux-any/asm-generic/errno-base.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/errno-base.h
rename to libc/include/any-linux-any/asm-generic/errno-base.h
diff --git a/libc/include/generic-musl/asm-generic/errno.h b/libc/include/any-linux-any/asm-generic/errno.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/errno.h
rename to libc/include/any-linux-any/asm-generic/errno.h
diff --git a/libc/include/generic-musl/asm-generic/fcntl.h b/libc/include/any-linux-any/asm-generic/fcntl.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/fcntl.h
rename to libc/include/any-linux-any/asm-generic/fcntl.h
diff --git a/libc/include/generic-musl/asm-generic/hugetlb_encode.h b/libc/include/any-linux-any/asm-generic/hugetlb_encode.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/hugetlb_encode.h
rename to libc/include/any-linux-any/asm-generic/hugetlb_encode.h
diff --git a/libc/include/generic-musl/asm-generic/int-l64.h b/libc/include/any-linux-any/asm-generic/int-l64.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/int-l64.h
rename to libc/include/any-linux-any/asm-generic/int-l64.h
diff --git a/libc/include/generic-musl/asm-generic/int-ll64.h b/libc/include/any-linux-any/asm-generic/int-ll64.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/int-ll64.h
rename to libc/include/any-linux-any/asm-generic/int-ll64.h
diff --git a/libc/include/generic-musl/asm-generic/ioctl.h b/libc/include/any-linux-any/asm-generic/ioctl.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/ioctl.h
rename to libc/include/any-linux-any/asm-generic/ioctl.h
diff --git a/libc/include/generic-musl/asm-generic/ioctls.h b/libc/include/any-linux-any/asm-generic/ioctls.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/ioctls.h
rename to libc/include/any-linux-any/asm-generic/ioctls.h
diff --git a/libc/include/generic-musl/asm-generic/ipcbuf.h b/libc/include/any-linux-any/asm-generic/ipcbuf.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/ipcbuf.h
rename to libc/include/any-linux-any/asm-generic/ipcbuf.h
diff --git a/libc/include/generic-musl/asm-generic/kvm_para.h b/libc/include/any-linux-any/asm-generic/kvm_para.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/kvm_para.h
rename to libc/include/any-linux-any/asm-generic/kvm_para.h
diff --git a/libc/include/generic-musl/asm-generic/mman-common.h b/libc/include/any-linux-any/asm-generic/mman-common.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/mman-common.h
rename to libc/include/any-linux-any/asm-generic/mman-common.h
diff --git a/libc/include/generic-musl/asm-generic/mman.h b/libc/include/any-linux-any/asm-generic/mman.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/mman.h
rename to libc/include/any-linux-any/asm-generic/mman.h
diff --git a/libc/include/generic-musl/asm-generic/msgbuf.h b/libc/include/any-linux-any/asm-generic/msgbuf.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/msgbuf.h
rename to libc/include/any-linux-any/asm-generic/msgbuf.h
diff --git a/libc/include/generic-musl/asm-generic/param.h b/libc/include/any-linux-any/asm-generic/param.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/param.h
rename to libc/include/any-linux-any/asm-generic/param.h
diff --git a/libc/include/generic-musl/asm-generic/poll.h b/libc/include/any-linux-any/asm-generic/poll.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/poll.h
rename to libc/include/any-linux-any/asm-generic/poll.h
diff --git a/libc/include/generic-musl/asm-generic/posix_types.h b/libc/include/any-linux-any/asm-generic/posix_types.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/posix_types.h
rename to libc/include/any-linux-any/asm-generic/posix_types.h
diff --git a/libc/include/generic-musl/asm-generic/resource.h b/libc/include/any-linux-any/asm-generic/resource.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/resource.h
rename to libc/include/any-linux-any/asm-generic/resource.h
diff --git a/libc/include/generic-musl/asm-generic/sembuf.h b/libc/include/any-linux-any/asm-generic/sembuf.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/sembuf.h
rename to libc/include/any-linux-any/asm-generic/sembuf.h
diff --git a/libc/include/generic-musl/asm-generic/setup.h b/libc/include/any-linux-any/asm-generic/setup.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/setup.h
rename to libc/include/any-linux-any/asm-generic/setup.h
diff --git a/libc/include/generic-musl/asm-generic/shmbuf.h b/libc/include/any-linux-any/asm-generic/shmbuf.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/shmbuf.h
rename to libc/include/any-linux-any/asm-generic/shmbuf.h
diff --git a/libc/include/generic-musl/asm-generic/shmparam.h b/libc/include/any-linux-any/asm-generic/shmparam.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/shmparam.h
rename to libc/include/any-linux-any/asm-generic/shmparam.h
diff --git a/libc/include/generic-musl/asm-generic/siginfo.h b/libc/include/any-linux-any/asm-generic/siginfo.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/siginfo.h
rename to libc/include/any-linux-any/asm-generic/siginfo.h
diff --git a/libc/include/generic-musl/asm-generic/signal-defs.h b/libc/include/any-linux-any/asm-generic/signal-defs.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/signal-defs.h
rename to libc/include/any-linux-any/asm-generic/signal-defs.h
diff --git a/libc/include/generic-musl/asm-generic/signal.h b/libc/include/any-linux-any/asm-generic/signal.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/signal.h
rename to libc/include/any-linux-any/asm-generic/signal.h
diff --git a/libc/include/generic-musl/asm-generic/socket.h b/libc/include/any-linux-any/asm-generic/socket.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/socket.h
rename to libc/include/any-linux-any/asm-generic/socket.h
diff --git a/libc/include/generic-musl/asm-generic/sockios.h b/libc/include/any-linux-any/asm-generic/sockios.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/sockios.h
rename to libc/include/any-linux-any/asm-generic/sockios.h
diff --git a/libc/include/generic-musl/asm-generic/stat.h b/libc/include/any-linux-any/asm-generic/stat.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/stat.h
rename to libc/include/any-linux-any/asm-generic/stat.h
diff --git a/libc/include/generic-musl/asm-generic/statfs.h b/libc/include/any-linux-any/asm-generic/statfs.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/statfs.h
rename to libc/include/any-linux-any/asm-generic/statfs.h
diff --git a/libc/include/generic-musl/asm-generic/swab.h b/libc/include/any-linux-any/asm-generic/swab.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/swab.h
rename to libc/include/any-linux-any/asm-generic/swab.h
diff --git a/libc/include/generic-musl/asm-generic/termbits.h b/libc/include/any-linux-any/asm-generic/termbits.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/termbits.h
rename to libc/include/any-linux-any/asm-generic/termbits.h
diff --git a/libc/include/generic-musl/asm-generic/termios.h b/libc/include/any-linux-any/asm-generic/termios.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/termios.h
rename to libc/include/any-linux-any/asm-generic/termios.h
diff --git a/libc/include/generic-musl/asm-generic/types.h b/libc/include/any-linux-any/asm-generic/types.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/types.h
rename to libc/include/any-linux-any/asm-generic/types.h
diff --git a/libc/include/generic-musl/asm-generic/ucontext.h b/libc/include/any-linux-any/asm-generic/ucontext.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/ucontext.h
rename to libc/include/any-linux-any/asm-generic/ucontext.h
diff --git a/libc/include/generic-musl/asm-generic/unistd.h b/libc/include/any-linux-any/asm-generic/unistd.h
similarity index 100%
rename from libc/include/generic-musl/asm-generic/unistd.h
rename to libc/include/any-linux-any/asm-generic/unistd.h
diff --git a/libc/include/generic-musl/asm/a.out.h b/libc/include/any-linux-any/asm/a.out.h
similarity index 100%
rename from libc/include/generic-musl/asm/a.out.h
rename to libc/include/any-linux-any/asm/a.out.h
diff --git a/libc/include/generic-musl/asm/auxvec.h b/libc/include/any-linux-any/asm/auxvec.h
similarity index 100%
rename from libc/include/generic-musl/asm/auxvec.h
rename to libc/include/any-linux-any/asm/auxvec.h
diff --git a/libc/include/generic-musl/asm/bitfield.h b/libc/include/any-linux-any/asm/bitfield.h
similarity index 100%
rename from libc/include/generic-musl/asm/bitfield.h
rename to libc/include/any-linux-any/asm/bitfield.h
diff --git a/libc/include/generic-musl/asm/bitsperlong.h b/libc/include/any-linux-any/asm/bitsperlong.h
similarity index 100%
rename from libc/include/generic-musl/asm/bitsperlong.h
rename to libc/include/any-linux-any/asm/bitsperlong.h
diff --git a/libc/include/generic-musl/asm/boot.h b/libc/include/any-linux-any/asm/boot.h
similarity index 100%
rename from libc/include/generic-musl/asm/boot.h
rename to libc/include/any-linux-any/asm/boot.h
diff --git a/libc/include/generic-musl/asm/bootparam.h b/libc/include/any-linux-any/asm/bootparam.h
similarity index 100%
rename from libc/include/generic-musl/asm/bootparam.h
rename to libc/include/any-linux-any/asm/bootparam.h
diff --git a/libc/include/generic-musl/asm/bootx.h b/libc/include/any-linux-any/asm/bootx.h
similarity index 100%
rename from libc/include/generic-musl/asm/bootx.h
rename to libc/include/any-linux-any/asm/bootx.h
diff --git a/libc/include/generic-musl/asm/bpf_perf_event.h b/libc/include/any-linux-any/asm/bpf_perf_event.h
similarity index 100%
rename from libc/include/generic-musl/asm/bpf_perf_event.h
rename to libc/include/any-linux-any/asm/bpf_perf_event.h
diff --git a/libc/include/generic-musl/asm/break.h b/libc/include/any-linux-any/asm/break.h
similarity index 100%
rename from libc/include/generic-musl/asm/break.h
rename to libc/include/any-linux-any/asm/break.h
diff --git a/libc/include/generic-musl/asm/byteorder.h b/libc/include/any-linux-any/asm/byteorder.h
similarity index 100%
rename from libc/include/generic-musl/asm/byteorder.h
rename to libc/include/any-linux-any/asm/byteorder.h
diff --git a/libc/include/generic-musl/asm/cachectl.h b/libc/include/any-linux-any/asm/cachectl.h
similarity index 100%
rename from libc/include/generic-musl/asm/cachectl.h
rename to libc/include/any-linux-any/asm/cachectl.h
diff --git a/libc/include/generic-musl/asm/cputable.h b/libc/include/any-linux-any/asm/cputable.h
similarity index 100%
rename from libc/include/generic-musl/asm/cputable.h
rename to libc/include/any-linux-any/asm/cputable.h
diff --git a/libc/include/generic-musl/asm/debugreg.h b/libc/include/any-linux-any/asm/debugreg.h
similarity index 100%
rename from libc/include/generic-musl/asm/debugreg.h
rename to libc/include/any-linux-any/asm/debugreg.h
diff --git a/libc/include/generic-musl/asm/e820.h b/libc/include/any-linux-any/asm/e820.h
similarity index 100%
rename from libc/include/generic-musl/asm/e820.h
rename to libc/include/any-linux-any/asm/e820.h
diff --git a/libc/include/generic-musl/asm/eeh.h b/libc/include/any-linux-any/asm/eeh.h
similarity index 100%
rename from libc/include/generic-musl/asm/eeh.h
rename to libc/include/any-linux-any/asm/eeh.h
diff --git a/libc/include/generic-musl/asm/elf.h b/libc/include/any-linux-any/asm/elf.h
similarity index 100%
rename from libc/include/generic-musl/asm/elf.h
rename to libc/include/any-linux-any/asm/elf.h
diff --git a/libc/include/generic-musl/asm/epapr_hcalls.h b/libc/include/any-linux-any/asm/epapr_hcalls.h
similarity index 100%
rename from libc/include/generic-musl/asm/epapr_hcalls.h
rename to libc/include/any-linux-any/asm/epapr_hcalls.h
diff --git a/libc/include/generic-musl/asm/errno.h b/libc/include/any-linux-any/asm/errno.h
similarity index 100%
rename from libc/include/generic-musl/asm/errno.h
rename to libc/include/any-linux-any/asm/errno.h
diff --git a/libc/include/generic-musl/asm/fcntl.h b/libc/include/any-linux-any/asm/fcntl.h
similarity index 100%
rename from libc/include/generic-musl/asm/fcntl.h
rename to libc/include/any-linux-any/asm/fcntl.h
diff --git a/libc/include/generic-musl/asm/hw_breakpoint.h b/libc/include/any-linux-any/asm/hw_breakpoint.h
similarity index 100%
rename from libc/include/generic-musl/asm/hw_breakpoint.h
rename to libc/include/any-linux-any/asm/hw_breakpoint.h
diff --git a/libc/include/generic-musl/asm/hwcap.h b/libc/include/any-linux-any/asm/hwcap.h
similarity index 100%
rename from libc/include/generic-musl/asm/hwcap.h
rename to libc/include/any-linux-any/asm/hwcap.h
diff --git a/libc/include/generic-musl/asm/hwcap2.h b/libc/include/any-linux-any/asm/hwcap2.h
similarity index 100%
rename from libc/include/generic-musl/asm/hwcap2.h
rename to libc/include/any-linux-any/asm/hwcap2.h
diff --git a/libc/include/generic-musl/asm/inst.h b/libc/include/any-linux-any/asm/inst.h
similarity index 100%
rename from libc/include/generic-musl/asm/inst.h
rename to libc/include/any-linux-any/asm/inst.h
diff --git a/libc/include/generic-musl/asm/ioctl.h b/libc/include/any-linux-any/asm/ioctl.h
similarity index 100%
rename from libc/include/generic-musl/asm/ioctl.h
rename to libc/include/any-linux-any/asm/ioctl.h
diff --git a/libc/include/generic-musl/asm/ioctls.h b/libc/include/any-linux-any/asm/ioctls.h
similarity index 100%
rename from libc/include/generic-musl/asm/ioctls.h
rename to libc/include/any-linux-any/asm/ioctls.h
diff --git a/libc/include/generic-musl/asm/ipcbuf.h b/libc/include/any-linux-any/asm/ipcbuf.h
similarity index 100%
rename from libc/include/generic-musl/asm/ipcbuf.h
rename to libc/include/any-linux-any/asm/ipcbuf.h
diff --git a/libc/include/generic-musl/asm/ist.h b/libc/include/any-linux-any/asm/ist.h
similarity index 100%
rename from libc/include/generic-musl/asm/ist.h
rename to libc/include/any-linux-any/asm/ist.h
diff --git a/libc/include/generic-musl/asm/kvm.h b/libc/include/any-linux-any/asm/kvm.h
similarity index 100%
rename from libc/include/generic-musl/asm/kvm.h
rename to libc/include/any-linux-any/asm/kvm.h
diff --git a/libc/include/generic-musl/asm/kvm_para.h b/libc/include/any-linux-any/asm/kvm_para.h
similarity index 100%
rename from libc/include/generic-musl/asm/kvm_para.h
rename to libc/include/any-linux-any/asm/kvm_para.h
diff --git a/libc/include/generic-musl/asm/kvm_perf.h b/libc/include/any-linux-any/asm/kvm_perf.h
similarity index 100%
rename from libc/include/generic-musl/asm/kvm_perf.h
rename to libc/include/any-linux-any/asm/kvm_perf.h
diff --git a/libc/include/generic-musl/asm/ldt.h b/libc/include/any-linux-any/asm/ldt.h
similarity index 100%
rename from libc/include/generic-musl/asm/ldt.h
rename to libc/include/any-linux-any/asm/ldt.h
diff --git a/libc/include/generic-musl/asm/mce.h b/libc/include/any-linux-any/asm/mce.h
similarity index 100%
rename from libc/include/generic-musl/asm/mce.h
rename to libc/include/any-linux-any/asm/mce.h
diff --git a/libc/include/generic-musl/asm/mman.h b/libc/include/any-linux-any/asm/mman.h
similarity index 100%
rename from libc/include/generic-musl/asm/mman.h
rename to libc/include/any-linux-any/asm/mman.h
diff --git a/libc/include/generic-musl/asm/msgbuf.h b/libc/include/any-linux-any/asm/msgbuf.h
similarity index 100%
rename from libc/include/generic-musl/asm/msgbuf.h
rename to libc/include/any-linux-any/asm/msgbuf.h
diff --git a/libc/include/generic-musl/asm/msr.h b/libc/include/any-linux-any/asm/msr.h
similarity index 100%
rename from libc/include/generic-musl/asm/msr.h
rename to libc/include/any-linux-any/asm/msr.h
diff --git a/libc/include/generic-musl/asm/mtrr.h b/libc/include/any-linux-any/asm/mtrr.h
similarity index 100%
rename from libc/include/generic-musl/asm/mtrr.h
rename to libc/include/any-linux-any/asm/mtrr.h
diff --git a/libc/include/generic-musl/asm/nvram.h b/libc/include/any-linux-any/asm/nvram.h
similarity index 100%
rename from libc/include/generic-musl/asm/nvram.h
rename to libc/include/any-linux-any/asm/nvram.h
diff --git a/libc/include/generic-musl/asm/opal-prd.h b/libc/include/any-linux-any/asm/opal-prd.h
similarity index 100%
rename from libc/include/generic-musl/asm/opal-prd.h
rename to libc/include/any-linux-any/asm/opal-prd.h
diff --git a/libc/include/generic-musl/asm/param.h b/libc/include/any-linux-any/asm/param.h
similarity index 100%
rename from libc/include/generic-musl/asm/param.h
rename to libc/include/any-linux-any/asm/param.h
diff --git a/libc/include/generic-musl/asm/perf_event.h b/libc/include/any-linux-any/asm/perf_event.h
similarity index 100%
rename from libc/include/generic-musl/asm/perf_event.h
rename to libc/include/any-linux-any/asm/perf_event.h
diff --git a/libc/include/generic-musl/asm/perf_regs.h b/libc/include/any-linux-any/asm/perf_regs.h
similarity index 100%
rename from libc/include/generic-musl/asm/perf_regs.h
rename to libc/include/any-linux-any/asm/perf_regs.h
diff --git a/libc/include/generic-musl/asm/poll.h b/libc/include/any-linux-any/asm/poll.h
similarity index 100%
rename from libc/include/generic-musl/asm/poll.h
rename to libc/include/any-linux-any/asm/poll.h
diff --git a/libc/include/generic-musl/asm/posix_types.h b/libc/include/any-linux-any/asm/posix_types.h
similarity index 100%
rename from libc/include/generic-musl/asm/posix_types.h
rename to libc/include/any-linux-any/asm/posix_types.h
diff --git a/libc/include/generic-musl/asm/posix_types_32.h b/libc/include/any-linux-any/asm/posix_types_32.h
similarity index 100%
rename from libc/include/generic-musl/asm/posix_types_32.h
rename to libc/include/any-linux-any/asm/posix_types_32.h
diff --git a/libc/include/generic-musl/asm/posix_types_64.h b/libc/include/any-linux-any/asm/posix_types_64.h
similarity index 100%
rename from libc/include/generic-musl/asm/posix_types_64.h
rename to libc/include/any-linux-any/asm/posix_types_64.h
diff --git a/libc/include/generic-musl/asm/posix_types_x32.h b/libc/include/any-linux-any/asm/posix_types_x32.h
similarity index 100%
rename from libc/include/generic-musl/asm/posix_types_x32.h
rename to libc/include/any-linux-any/asm/posix_types_x32.h
diff --git a/libc/include/generic-musl/asm/prctl.h b/libc/include/any-linux-any/asm/prctl.h
similarity index 100%
rename from libc/include/generic-musl/asm/prctl.h
rename to libc/include/any-linux-any/asm/prctl.h
diff --git a/libc/include/generic-musl/asm/processor-flags.h b/libc/include/any-linux-any/asm/processor-flags.h
similarity index 100%
rename from libc/include/generic-musl/asm/processor-flags.h
rename to libc/include/any-linux-any/asm/processor-flags.h
diff --git a/libc/include/generic-musl/asm/ps3fb.h b/libc/include/any-linux-any/asm/ps3fb.h
similarity index 100%
rename from libc/include/generic-musl/asm/ps3fb.h
rename to libc/include/any-linux-any/asm/ps3fb.h
diff --git a/libc/include/generic-musl/asm/ptrace-abi.h b/libc/include/any-linux-any/asm/ptrace-abi.h
similarity index 100%
rename from libc/include/generic-musl/asm/ptrace-abi.h
rename to libc/include/any-linux-any/asm/ptrace-abi.h
diff --git a/libc/include/generic-musl/asm/ptrace.h b/libc/include/any-linux-any/asm/ptrace.h
similarity index 100%
rename from libc/include/generic-musl/asm/ptrace.h
rename to libc/include/any-linux-any/asm/ptrace.h
diff --git a/libc/include/generic-musl/asm/reg.h b/libc/include/any-linux-any/asm/reg.h
similarity index 100%
rename from libc/include/generic-musl/asm/reg.h
rename to libc/include/any-linux-any/asm/reg.h
diff --git a/libc/include/generic-musl/asm/resource.h b/libc/include/any-linux-any/asm/resource.h
similarity index 100%
rename from libc/include/generic-musl/asm/resource.h
rename to libc/include/any-linux-any/asm/resource.h
diff --git a/libc/include/generic-musl/asm/sembuf.h b/libc/include/any-linux-any/asm/sembuf.h
similarity index 100%
rename from libc/include/generic-musl/asm/sembuf.h
rename to libc/include/any-linux-any/asm/sembuf.h
diff --git a/libc/include/generic-musl/asm/setup.h b/libc/include/any-linux-any/asm/setup.h
similarity index 100%
rename from libc/include/generic-musl/asm/setup.h
rename to libc/include/any-linux-any/asm/setup.h
diff --git a/libc/include/generic-musl/asm/sgidefs.h b/libc/include/any-linux-any/asm/sgidefs.h
similarity index 100%
rename from libc/include/generic-musl/asm/sgidefs.h
rename to libc/include/any-linux-any/asm/sgidefs.h
diff --git a/libc/include/generic-musl/asm/shmbuf.h b/libc/include/any-linux-any/asm/shmbuf.h
similarity index 100%
rename from libc/include/generic-musl/asm/shmbuf.h
rename to libc/include/any-linux-any/asm/shmbuf.h
diff --git a/libc/include/generic-musl/asm/sigcontext.h b/libc/include/any-linux-any/asm/sigcontext.h
similarity index 100%
rename from libc/include/generic-musl/asm/sigcontext.h
rename to libc/include/any-linux-any/asm/sigcontext.h
diff --git a/libc/include/generic-musl/asm/sigcontext32.h b/libc/include/any-linux-any/asm/sigcontext32.h
similarity index 100%
rename from libc/include/generic-musl/asm/sigcontext32.h
rename to libc/include/any-linux-any/asm/sigcontext32.h
diff --git a/libc/include/generic-musl/asm/siginfo.h b/libc/include/any-linux-any/asm/siginfo.h
similarity index 100%
rename from libc/include/generic-musl/asm/siginfo.h
rename to libc/include/any-linux-any/asm/siginfo.h
diff --git a/libc/include/generic-musl/asm/signal.h b/libc/include/any-linux-any/asm/signal.h
similarity index 100%
rename from libc/include/generic-musl/asm/signal.h
rename to libc/include/any-linux-any/asm/signal.h
diff --git a/libc/include/generic-musl/asm/socket.h b/libc/include/any-linux-any/asm/socket.h
similarity index 100%
rename from libc/include/generic-musl/asm/socket.h
rename to libc/include/any-linux-any/asm/socket.h
diff --git a/libc/include/generic-musl/asm/sockios.h b/libc/include/any-linux-any/asm/sockios.h
similarity index 100%
rename from libc/include/generic-musl/asm/sockios.h
rename to libc/include/any-linux-any/asm/sockios.h
diff --git a/libc/include/generic-musl/asm/spu_info.h b/libc/include/any-linux-any/asm/spu_info.h
similarity index 100%
rename from libc/include/generic-musl/asm/spu_info.h
rename to libc/include/any-linux-any/asm/spu_info.h
diff --git a/libc/include/generic-musl/asm/stat.h b/libc/include/any-linux-any/asm/stat.h
similarity index 100%
rename from libc/include/generic-musl/asm/stat.h
rename to libc/include/any-linux-any/asm/stat.h
diff --git a/libc/include/generic-musl/asm/statfs.h b/libc/include/any-linux-any/asm/statfs.h
similarity index 100%
rename from libc/include/generic-musl/asm/statfs.h
rename to libc/include/any-linux-any/asm/statfs.h
diff --git a/libc/include/generic-musl/asm/svm.h b/libc/include/any-linux-any/asm/svm.h
similarity index 100%
rename from libc/include/generic-musl/asm/svm.h
rename to libc/include/any-linux-any/asm/svm.h
diff --git a/libc/include/generic-musl/asm/swab.h b/libc/include/any-linux-any/asm/swab.h
similarity index 100%
rename from libc/include/generic-musl/asm/swab.h
rename to libc/include/any-linux-any/asm/swab.h
diff --git a/libc/include/generic-musl/asm/syscalls.h b/libc/include/any-linux-any/asm/syscalls.h
similarity index 100%
rename from libc/include/generic-musl/asm/syscalls.h
rename to libc/include/any-linux-any/asm/syscalls.h
diff --git a/libc/include/generic-musl/asm/sysmips.h b/libc/include/any-linux-any/asm/sysmips.h
similarity index 100%
rename from libc/include/generic-musl/asm/sysmips.h
rename to libc/include/any-linux-any/asm/sysmips.h
diff --git a/libc/include/generic-musl/asm/termbits.h b/libc/include/any-linux-any/asm/termbits.h
similarity index 100%
rename from libc/include/generic-musl/asm/termbits.h
rename to libc/include/any-linux-any/asm/termbits.h
diff --git a/libc/include/generic-musl/asm/termios.h b/libc/include/any-linux-any/asm/termios.h
similarity index 100%
rename from libc/include/generic-musl/asm/termios.h
rename to libc/include/any-linux-any/asm/termios.h
diff --git a/libc/include/generic-musl/asm/tm.h b/libc/include/any-linux-any/asm/tm.h
similarity index 100%
rename from libc/include/generic-musl/asm/tm.h
rename to libc/include/any-linux-any/asm/tm.h
diff --git a/libc/include/generic-musl/asm/types.h b/libc/include/any-linux-any/asm/types.h
similarity index 100%
rename from libc/include/generic-musl/asm/types.h
rename to libc/include/any-linux-any/asm/types.h
diff --git a/libc/include/generic-musl/asm/ucontext.h b/libc/include/any-linux-any/asm/ucontext.h
similarity index 100%
rename from libc/include/generic-musl/asm/ucontext.h
rename to libc/include/any-linux-any/asm/ucontext.h
diff --git a/libc/include/generic-musl/asm/unistd-common.h b/libc/include/any-linux-any/asm/unistd-common.h
similarity index 100%
rename from libc/include/generic-musl/asm/unistd-common.h
rename to libc/include/any-linux-any/asm/unistd-common.h
diff --git a/libc/include/generic-musl/asm/unistd-eabi.h b/libc/include/any-linux-any/asm/unistd-eabi.h
similarity index 100%
rename from libc/include/generic-musl/asm/unistd-eabi.h
rename to libc/include/any-linux-any/asm/unistd-eabi.h
diff --git a/libc/include/generic-musl/asm/unistd-oabi.h b/libc/include/any-linux-any/asm/unistd-oabi.h
similarity index 100%
rename from libc/include/generic-musl/asm/unistd-oabi.h
rename to libc/include/any-linux-any/asm/unistd-oabi.h
diff --git a/libc/include/generic-musl/asm/unistd.h b/libc/include/any-linux-any/asm/unistd.h
similarity index 100%
rename from libc/include/generic-musl/asm/unistd.h
rename to libc/include/any-linux-any/asm/unistd.h
diff --git a/libc/include/generic-musl/asm/unistd_32.h b/libc/include/any-linux-any/asm/unistd_32.h
similarity index 100%
rename from libc/include/generic-musl/asm/unistd_32.h
rename to libc/include/any-linux-any/asm/unistd_32.h
diff --git a/libc/include/generic-musl/asm/unistd_64.h b/libc/include/any-linux-any/asm/unistd_64.h
similarity index 100%
rename from libc/include/generic-musl/asm/unistd_64.h
rename to libc/include/any-linux-any/asm/unistd_64.h
diff --git a/libc/include/generic-musl/asm/unistd_x32.h b/libc/include/any-linux-any/asm/unistd_x32.h
similarity index 100%
rename from libc/include/generic-musl/asm/unistd_x32.h
rename to libc/include/any-linux-any/asm/unistd_x32.h
diff --git a/libc/include/generic-musl/asm/vm86.h b/libc/include/any-linux-any/asm/vm86.h
similarity index 100%
rename from libc/include/generic-musl/asm/vm86.h
rename to libc/include/any-linux-any/asm/vm86.h
diff --git a/libc/include/generic-musl/asm/vmx.h b/libc/include/any-linux-any/asm/vmx.h
similarity index 100%
rename from libc/include/generic-musl/asm/vmx.h
rename to libc/include/any-linux-any/asm/vmx.h
diff --git a/libc/include/generic-musl/asm/vsyscall.h b/libc/include/any-linux-any/asm/vsyscall.h
similarity index 100%
rename from libc/include/generic-musl/asm/vsyscall.h
rename to libc/include/any-linux-any/asm/vsyscall.h
diff --git a/libc/include/generic-musl/linux/a.out.h b/libc/include/any-linux-any/linux/a.out.h
similarity index 100%
rename from libc/include/generic-musl/linux/a.out.h
rename to libc/include/any-linux-any/linux/a.out.h
diff --git a/libc/include/generic-musl/linux/acct.h b/libc/include/any-linux-any/linux/acct.h
similarity index 100%
rename from libc/include/generic-musl/linux/acct.h
rename to libc/include/any-linux-any/linux/acct.h
diff --git a/libc/include/generic-musl/linux/adb.h b/libc/include/any-linux-any/linux/adb.h
similarity index 100%
rename from libc/include/generic-musl/linux/adb.h
rename to libc/include/any-linux-any/linux/adb.h
diff --git a/libc/include/generic-musl/linux/adfs_fs.h b/libc/include/any-linux-any/linux/adfs_fs.h
similarity index 100%
rename from libc/include/generic-musl/linux/adfs_fs.h
rename to libc/include/any-linux-any/linux/adfs_fs.h
diff --git a/libc/include/generic-musl/linux/affs_hardblocks.h b/libc/include/any-linux-any/linux/affs_hardblocks.h
similarity index 100%
rename from libc/include/generic-musl/linux/affs_hardblocks.h
rename to libc/include/any-linux-any/linux/affs_hardblocks.h
diff --git a/libc/include/generic-musl/linux/agpgart.h b/libc/include/any-linux-any/linux/agpgart.h
similarity index 100%
rename from libc/include/generic-musl/linux/agpgart.h
rename to libc/include/any-linux-any/linux/agpgart.h
diff --git a/libc/include/generic-musl/linux/aio_abi.h b/libc/include/any-linux-any/linux/aio_abi.h
similarity index 100%
rename from libc/include/generic-musl/linux/aio_abi.h
rename to libc/include/any-linux-any/linux/aio_abi.h
diff --git a/libc/include/generic-musl/linux/am437x-vpfe.h b/libc/include/any-linux-any/linux/am437x-vpfe.h
similarity index 100%
rename from libc/include/generic-musl/linux/am437x-vpfe.h
rename to libc/include/any-linux-any/linux/am437x-vpfe.h
diff --git a/libc/include/generic-musl/linux/android/binder.h b/libc/include/any-linux-any/linux/android/binder.h
similarity index 100%
rename from libc/include/generic-musl/linux/android/binder.h
rename to libc/include/any-linux-any/linux/android/binder.h
diff --git a/libc/include/generic-musl/linux/apm_bios.h b/libc/include/any-linux-any/linux/apm_bios.h
similarity index 100%
rename from libc/include/generic-musl/linux/apm_bios.h
rename to libc/include/any-linux-any/linux/apm_bios.h
diff --git a/libc/include/generic-musl/linux/arcfb.h b/libc/include/any-linux-any/linux/arcfb.h
similarity index 100%
rename from libc/include/generic-musl/linux/arcfb.h
rename to libc/include/any-linux-any/linux/arcfb.h
diff --git a/libc/include/generic-musl/linux/arm_sdei.h b/libc/include/any-linux-any/linux/arm_sdei.h
similarity index 100%
rename from libc/include/generic-musl/linux/arm_sdei.h
rename to libc/include/any-linux-any/linux/arm_sdei.h
diff --git a/libc/include/generic-musl/linux/aspeed-lpc-ctrl.h b/libc/include/any-linux-any/linux/aspeed-lpc-ctrl.h
similarity index 100%
rename from libc/include/generic-musl/linux/aspeed-lpc-ctrl.h
rename to libc/include/any-linux-any/linux/aspeed-lpc-ctrl.h
diff --git a/libc/include/generic-musl/linux/atalk.h b/libc/include/any-linux-any/linux/atalk.h
similarity index 100%
rename from libc/include/generic-musl/linux/atalk.h
rename to libc/include/any-linux-any/linux/atalk.h
diff --git a/libc/include/generic-musl/linux/atm.h b/libc/include/any-linux-any/linux/atm.h
similarity index 100%
rename from libc/include/generic-musl/linux/atm.h
rename to libc/include/any-linux-any/linux/atm.h
diff --git a/libc/include/generic-musl/linux/atm_eni.h b/libc/include/any-linux-any/linux/atm_eni.h
similarity index 100%
rename from libc/include/generic-musl/linux/atm_eni.h
rename to libc/include/any-linux-any/linux/atm_eni.h
diff --git a/libc/include/generic-musl/linux/atm_he.h b/libc/include/any-linux-any/linux/atm_he.h
similarity index 100%
rename from libc/include/generic-musl/linux/atm_he.h
rename to libc/include/any-linux-any/linux/atm_he.h
diff --git a/libc/include/generic-musl/linux/atm_idt77105.h b/libc/include/any-linux-any/linux/atm_idt77105.h
similarity index 100%
rename from libc/include/generic-musl/linux/atm_idt77105.h
rename to libc/include/any-linux-any/linux/atm_idt77105.h
diff --git a/libc/include/generic-musl/linux/atm_nicstar.h b/libc/include/any-linux-any/linux/atm_nicstar.h
similarity index 100%
rename from libc/include/generic-musl/linux/atm_nicstar.h
rename to libc/include/any-linux-any/linux/atm_nicstar.h
diff --git a/libc/include/generic-musl/linux/atm_tcp.h b/libc/include/any-linux-any/linux/atm_tcp.h
similarity index 100%
rename from libc/include/generic-musl/linux/atm_tcp.h
rename to libc/include/any-linux-any/linux/atm_tcp.h
diff --git a/libc/include/generic-musl/linux/atm_zatm.h b/libc/include/any-linux-any/linux/atm_zatm.h
similarity index 100%
rename from libc/include/generic-musl/linux/atm_zatm.h
rename to libc/include/any-linux-any/linux/atm_zatm.h
diff --git a/libc/include/generic-musl/linux/atmapi.h b/libc/include/any-linux-any/linux/atmapi.h
similarity index 100%
rename from libc/include/generic-musl/linux/atmapi.h
rename to libc/include/any-linux-any/linux/atmapi.h
diff --git a/libc/include/generic-musl/linux/atmarp.h b/libc/include/any-linux-any/linux/atmarp.h
similarity index 100%
rename from libc/include/generic-musl/linux/atmarp.h
rename to libc/include/any-linux-any/linux/atmarp.h
diff --git a/libc/include/generic-musl/linux/atmbr2684.h b/libc/include/any-linux-any/linux/atmbr2684.h
similarity index 100%
rename from libc/include/generic-musl/linux/atmbr2684.h
rename to libc/include/any-linux-any/linux/atmbr2684.h
diff --git a/libc/include/generic-musl/linux/atmclip.h b/libc/include/any-linux-any/linux/atmclip.h
similarity index 100%
rename from libc/include/generic-musl/linux/atmclip.h
rename to libc/include/any-linux-any/linux/atmclip.h
diff --git a/libc/include/generic-musl/linux/atmdev.h b/libc/include/any-linux-any/linux/atmdev.h
similarity index 100%
rename from libc/include/generic-musl/linux/atmdev.h
rename to libc/include/any-linux-any/linux/atmdev.h
diff --git a/libc/include/generic-musl/linux/atmioc.h b/libc/include/any-linux-any/linux/atmioc.h
similarity index 100%
rename from libc/include/generic-musl/linux/atmioc.h
rename to libc/include/any-linux-any/linux/atmioc.h
diff --git a/libc/include/generic-musl/linux/atmlec.h b/libc/include/any-linux-any/linux/atmlec.h
similarity index 100%
rename from libc/include/generic-musl/linux/atmlec.h
rename to libc/include/any-linux-any/linux/atmlec.h
diff --git a/libc/include/generic-musl/linux/atmmpc.h b/libc/include/any-linux-any/linux/atmmpc.h
similarity index 100%
rename from libc/include/generic-musl/linux/atmmpc.h
rename to libc/include/any-linux-any/linux/atmmpc.h
diff --git a/libc/include/generic-musl/linux/atmppp.h b/libc/include/any-linux-any/linux/atmppp.h
similarity index 100%
rename from libc/include/generic-musl/linux/atmppp.h
rename to libc/include/any-linux-any/linux/atmppp.h
diff --git a/libc/include/generic-musl/linux/atmsap.h b/libc/include/any-linux-any/linux/atmsap.h
similarity index 100%
rename from libc/include/generic-musl/linux/atmsap.h
rename to libc/include/any-linux-any/linux/atmsap.h
diff --git a/libc/include/generic-musl/linux/atmsvc.h b/libc/include/any-linux-any/linux/atmsvc.h
similarity index 100%
rename from libc/include/generic-musl/linux/atmsvc.h
rename to libc/include/any-linux-any/linux/atmsvc.h
diff --git a/libc/include/generic-musl/linux/audit.h b/libc/include/any-linux-any/linux/audit.h
similarity index 100%
rename from libc/include/generic-musl/linux/audit.h
rename to libc/include/any-linux-any/linux/audit.h
diff --git a/libc/include/generic-musl/linux/auto_dev-ioctl.h b/libc/include/any-linux-any/linux/auto_dev-ioctl.h
similarity index 100%
rename from libc/include/generic-musl/linux/auto_dev-ioctl.h
rename to libc/include/any-linux-any/linux/auto_dev-ioctl.h
diff --git a/libc/include/generic-musl/linux/auto_fs.h b/libc/include/any-linux-any/linux/auto_fs.h
similarity index 100%
rename from libc/include/generic-musl/linux/auto_fs.h
rename to libc/include/any-linux-any/linux/auto_fs.h
diff --git a/libc/include/generic-musl/linux/auto_fs4.h b/libc/include/any-linux-any/linux/auto_fs4.h
similarity index 100%
rename from libc/include/generic-musl/linux/auto_fs4.h
rename to libc/include/any-linux-any/linux/auto_fs4.h
diff --git a/libc/include/generic-musl/linux/auxvec.h b/libc/include/any-linux-any/linux/auxvec.h
similarity index 100%
rename from libc/include/generic-musl/linux/auxvec.h
rename to libc/include/any-linux-any/linux/auxvec.h
diff --git a/libc/include/generic-musl/linux/ax25.h b/libc/include/any-linux-any/linux/ax25.h
similarity index 100%
rename from libc/include/generic-musl/linux/ax25.h
rename to libc/include/any-linux-any/linux/ax25.h
diff --git a/libc/include/generic-musl/linux/b1lli.h b/libc/include/any-linux-any/linux/b1lli.h
similarity index 100%
rename from libc/include/generic-musl/linux/b1lli.h
rename to libc/include/any-linux-any/linux/b1lli.h
diff --git a/libc/include/generic-musl/linux/batadv_packet.h b/libc/include/any-linux-any/linux/batadv_packet.h
similarity index 100%
rename from libc/include/generic-musl/linux/batadv_packet.h
rename to libc/include/any-linux-any/linux/batadv_packet.h
diff --git a/libc/include/generic-musl/linux/batman_adv.h b/libc/include/any-linux-any/linux/batman_adv.h
similarity index 100%
rename from libc/include/generic-musl/linux/batman_adv.h
rename to libc/include/any-linux-any/linux/batman_adv.h
diff --git a/libc/include/generic-musl/linux/baycom.h b/libc/include/any-linux-any/linux/baycom.h
similarity index 100%
rename from libc/include/generic-musl/linux/baycom.h
rename to libc/include/any-linux-any/linux/baycom.h
diff --git a/libc/include/generic-musl/linux/bcache.h b/libc/include/any-linux-any/linux/bcache.h
similarity index 100%
rename from libc/include/generic-musl/linux/bcache.h
rename to libc/include/any-linux-any/linux/bcache.h
diff --git a/libc/include/generic-musl/linux/bcm933xx_hcs.h b/libc/include/any-linux-any/linux/bcm933xx_hcs.h
similarity index 100%
rename from libc/include/generic-musl/linux/bcm933xx_hcs.h
rename to libc/include/any-linux-any/linux/bcm933xx_hcs.h
diff --git a/libc/include/generic-musl/linux/bfs_fs.h b/libc/include/any-linux-any/linux/bfs_fs.h
similarity index 100%
rename from libc/include/generic-musl/linux/bfs_fs.h
rename to libc/include/any-linux-any/linux/bfs_fs.h
diff --git a/libc/include/generic-musl/linux/binfmts.h b/libc/include/any-linux-any/linux/binfmts.h
similarity index 100%
rename from libc/include/generic-musl/linux/binfmts.h
rename to libc/include/any-linux-any/linux/binfmts.h
diff --git a/libc/include/generic-musl/linux/blkpg.h b/libc/include/any-linux-any/linux/blkpg.h
similarity index 100%
rename from libc/include/generic-musl/linux/blkpg.h
rename to libc/include/any-linux-any/linux/blkpg.h
diff --git a/libc/include/generic-musl/linux/blktrace_api.h b/libc/include/any-linux-any/linux/blktrace_api.h
similarity index 100%
rename from libc/include/generic-musl/linux/blktrace_api.h
rename to libc/include/any-linux-any/linux/blktrace_api.h
diff --git a/libc/include/generic-musl/linux/blkzoned.h b/libc/include/any-linux-any/linux/blkzoned.h
similarity index 100%
rename from libc/include/generic-musl/linux/blkzoned.h
rename to libc/include/any-linux-any/linux/blkzoned.h
diff --git a/libc/include/generic-musl/linux/bpf.h b/libc/include/any-linux-any/linux/bpf.h
similarity index 100%
rename from libc/include/generic-musl/linux/bpf.h
rename to libc/include/any-linux-any/linux/bpf.h
diff --git a/libc/include/generic-musl/linux/bpf_common.h b/libc/include/any-linux-any/linux/bpf_common.h
similarity index 100%
rename from libc/include/generic-musl/linux/bpf_common.h
rename to libc/include/any-linux-any/linux/bpf_common.h
diff --git a/libc/include/generic-musl/linux/bpf_perf_event.h b/libc/include/any-linux-any/linux/bpf_perf_event.h
similarity index 100%
rename from libc/include/generic-musl/linux/bpf_perf_event.h
rename to libc/include/any-linux-any/linux/bpf_perf_event.h
diff --git a/libc/include/generic-musl/linux/bpfilter.h b/libc/include/any-linux-any/linux/bpfilter.h
similarity index 100%
rename from libc/include/generic-musl/linux/bpfilter.h
rename to libc/include/any-linux-any/linux/bpfilter.h
diff --git a/libc/include/generic-musl/linux/bpqether.h b/libc/include/any-linux-any/linux/bpqether.h
similarity index 100%
rename from libc/include/generic-musl/linux/bpqether.h
rename to libc/include/any-linux-any/linux/bpqether.h
diff --git a/libc/include/generic-musl/linux/bsg.h b/libc/include/any-linux-any/linux/bsg.h
similarity index 100%
rename from libc/include/generic-musl/linux/bsg.h
rename to libc/include/any-linux-any/linux/bsg.h
diff --git a/libc/include/generic-musl/linux/bt-bmc.h b/libc/include/any-linux-any/linux/bt-bmc.h
similarity index 100%
rename from libc/include/generic-musl/linux/bt-bmc.h
rename to libc/include/any-linux-any/linux/bt-bmc.h
diff --git a/libc/include/generic-musl/linux/btf.h b/libc/include/any-linux-any/linux/btf.h
similarity index 100%
rename from libc/include/generic-musl/linux/btf.h
rename to libc/include/any-linux-any/linux/btf.h
diff --git a/libc/include/generic-musl/linux/btrfs.h b/libc/include/any-linux-any/linux/btrfs.h
similarity index 100%
rename from libc/include/generic-musl/linux/btrfs.h
rename to libc/include/any-linux-any/linux/btrfs.h
diff --git a/libc/include/generic-musl/linux/btrfs_tree.h b/libc/include/any-linux-any/linux/btrfs_tree.h
similarity index 100%
rename from libc/include/generic-musl/linux/btrfs_tree.h
rename to libc/include/any-linux-any/linux/btrfs_tree.h
diff --git a/libc/include/generic-musl/linux/byteorder/big_endian.h b/libc/include/any-linux-any/linux/byteorder/big_endian.h
similarity index 100%
rename from libc/include/generic-musl/linux/byteorder/big_endian.h
rename to libc/include/any-linux-any/linux/byteorder/big_endian.h
diff --git a/libc/include/generic-musl/linux/byteorder/little_endian.h b/libc/include/any-linux-any/linux/byteorder/little_endian.h
similarity index 100%
rename from libc/include/generic-musl/linux/byteorder/little_endian.h
rename to libc/include/any-linux-any/linux/byteorder/little_endian.h
diff --git a/libc/include/generic-musl/linux/caif/caif_socket.h b/libc/include/any-linux-any/linux/caif/caif_socket.h
similarity index 100%
rename from libc/include/generic-musl/linux/caif/caif_socket.h
rename to libc/include/any-linux-any/linux/caif/caif_socket.h
diff --git a/libc/include/generic-musl/linux/caif/if_caif.h b/libc/include/any-linux-any/linux/caif/if_caif.h
similarity index 100%
rename from libc/include/generic-musl/linux/caif/if_caif.h
rename to libc/include/any-linux-any/linux/caif/if_caif.h
diff --git a/libc/include/generic-musl/linux/can.h b/libc/include/any-linux-any/linux/can.h
similarity index 100%
rename from libc/include/generic-musl/linux/can.h
rename to libc/include/any-linux-any/linux/can.h
diff --git a/libc/include/generic-musl/linux/can/bcm.h b/libc/include/any-linux-any/linux/can/bcm.h
similarity index 100%
rename from libc/include/generic-musl/linux/can/bcm.h
rename to libc/include/any-linux-any/linux/can/bcm.h
diff --git a/libc/include/generic-musl/linux/can/error.h b/libc/include/any-linux-any/linux/can/error.h
similarity index 100%
rename from libc/include/generic-musl/linux/can/error.h
rename to libc/include/any-linux-any/linux/can/error.h
diff --git a/libc/include/generic-musl/linux/can/gw.h b/libc/include/any-linux-any/linux/can/gw.h
similarity index 100%
rename from libc/include/generic-musl/linux/can/gw.h
rename to libc/include/any-linux-any/linux/can/gw.h
diff --git a/libc/include/generic-musl/linux/can/netlink.h b/libc/include/any-linux-any/linux/can/netlink.h
similarity index 100%
rename from libc/include/generic-musl/linux/can/netlink.h
rename to libc/include/any-linux-any/linux/can/netlink.h
diff --git a/libc/include/generic-musl/linux/can/raw.h b/libc/include/any-linux-any/linux/can/raw.h
similarity index 100%
rename from libc/include/generic-musl/linux/can/raw.h
rename to libc/include/any-linux-any/linux/can/raw.h
diff --git a/libc/include/generic-musl/linux/can/vxcan.h b/libc/include/any-linux-any/linux/can/vxcan.h
similarity index 100%
rename from libc/include/generic-musl/linux/can/vxcan.h
rename to libc/include/any-linux-any/linux/can/vxcan.h
diff --git a/libc/include/generic-musl/linux/capability.h b/libc/include/any-linux-any/linux/capability.h
similarity index 100%
rename from libc/include/generic-musl/linux/capability.h
rename to libc/include/any-linux-any/linux/capability.h
diff --git a/libc/include/generic-musl/linux/capi.h b/libc/include/any-linux-any/linux/capi.h
similarity index 100%
rename from libc/include/generic-musl/linux/capi.h
rename to libc/include/any-linux-any/linux/capi.h
diff --git a/libc/include/generic-musl/linux/cciss_defs.h b/libc/include/any-linux-any/linux/cciss_defs.h
similarity index 100%
rename from libc/include/generic-musl/linux/cciss_defs.h
rename to libc/include/any-linux-any/linux/cciss_defs.h
diff --git a/libc/include/generic-musl/linux/cciss_ioctl.h b/libc/include/any-linux-any/linux/cciss_ioctl.h
similarity index 100%
rename from libc/include/generic-musl/linux/cciss_ioctl.h
rename to libc/include/any-linux-any/linux/cciss_ioctl.h
diff --git a/libc/include/generic-musl/linux/cdrom.h b/libc/include/any-linux-any/linux/cdrom.h
similarity index 100%
rename from libc/include/generic-musl/linux/cdrom.h
rename to libc/include/any-linux-any/linux/cdrom.h
diff --git a/libc/include/generic-musl/linux/cec-funcs.h b/libc/include/any-linux-any/linux/cec-funcs.h
similarity index 100%
rename from libc/include/generic-musl/linux/cec-funcs.h
rename to libc/include/any-linux-any/linux/cec-funcs.h
diff --git a/libc/include/generic-musl/linux/cec.h b/libc/include/any-linux-any/linux/cec.h
similarity index 100%
rename from libc/include/generic-musl/linux/cec.h
rename to libc/include/any-linux-any/linux/cec.h
diff --git a/libc/include/generic-musl/linux/cgroupstats.h b/libc/include/any-linux-any/linux/cgroupstats.h
similarity index 100%
rename from libc/include/generic-musl/linux/cgroupstats.h
rename to libc/include/any-linux-any/linux/cgroupstats.h
diff --git a/libc/include/generic-musl/linux/chio.h b/libc/include/any-linux-any/linux/chio.h
similarity index 100%
rename from libc/include/generic-musl/linux/chio.h
rename to libc/include/any-linux-any/linux/chio.h
diff --git a/libc/include/generic-musl/linux/cifs/cifs_mount.h b/libc/include/any-linux-any/linux/cifs/cifs_mount.h
similarity index 100%
rename from libc/include/generic-musl/linux/cifs/cifs_mount.h
rename to libc/include/any-linux-any/linux/cifs/cifs_mount.h
diff --git a/libc/include/generic-musl/linux/cm4000_cs.h b/libc/include/any-linux-any/linux/cm4000_cs.h
similarity index 100%
rename from libc/include/generic-musl/linux/cm4000_cs.h
rename to libc/include/any-linux-any/linux/cm4000_cs.h
diff --git a/libc/include/generic-musl/linux/cn_proc.h b/libc/include/any-linux-any/linux/cn_proc.h
similarity index 100%
rename from libc/include/generic-musl/linux/cn_proc.h
rename to libc/include/any-linux-any/linux/cn_proc.h
diff --git a/libc/include/generic-musl/linux/coda.h b/libc/include/any-linux-any/linux/coda.h
similarity index 100%
rename from libc/include/generic-musl/linux/coda.h
rename to libc/include/any-linux-any/linux/coda.h
diff --git a/libc/include/generic-musl/linux/coda_psdev.h b/libc/include/any-linux-any/linux/coda_psdev.h
similarity index 100%
rename from libc/include/generic-musl/linux/coda_psdev.h
rename to libc/include/any-linux-any/linux/coda_psdev.h
diff --git a/libc/include/generic-musl/linux/coff.h b/libc/include/any-linux-any/linux/coff.h
similarity index 100%
rename from libc/include/generic-musl/linux/coff.h
rename to libc/include/any-linux-any/linux/coff.h
diff --git a/libc/include/generic-musl/linux/connector.h b/libc/include/any-linux-any/linux/connector.h
similarity index 100%
rename from libc/include/generic-musl/linux/connector.h
rename to libc/include/any-linux-any/linux/connector.h
diff --git a/libc/include/generic-musl/linux/const.h b/libc/include/any-linux-any/linux/const.h
similarity index 100%
rename from libc/include/generic-musl/linux/const.h
rename to libc/include/any-linux-any/linux/const.h
diff --git a/libc/include/generic-musl/linux/coresight-stm.h b/libc/include/any-linux-any/linux/coresight-stm.h
similarity index 100%
rename from libc/include/generic-musl/linux/coresight-stm.h
rename to libc/include/any-linux-any/linux/coresight-stm.h
diff --git a/libc/include/generic-musl/linux/cramfs_fs.h b/libc/include/any-linux-any/linux/cramfs_fs.h
similarity index 100%
rename from libc/include/generic-musl/linux/cramfs_fs.h
rename to libc/include/any-linux-any/linux/cramfs_fs.h
diff --git a/libc/include/generic-musl/linux/cryptouser.h b/libc/include/any-linux-any/linux/cryptouser.h
similarity index 100%
rename from libc/include/generic-musl/linux/cryptouser.h
rename to libc/include/any-linux-any/linux/cryptouser.h
diff --git a/libc/include/generic-musl/linux/cuda.h b/libc/include/any-linux-any/linux/cuda.h
similarity index 100%
rename from libc/include/generic-musl/linux/cuda.h
rename to libc/include/any-linux-any/linux/cuda.h
diff --git a/libc/include/generic-musl/linux/cyclades.h b/libc/include/any-linux-any/linux/cyclades.h
similarity index 100%
rename from libc/include/generic-musl/linux/cyclades.h
rename to libc/include/any-linux-any/linux/cyclades.h
diff --git a/libc/include/generic-musl/linux/cycx_cfm.h b/libc/include/any-linux-any/linux/cycx_cfm.h
similarity index 100%
rename from libc/include/generic-musl/linux/cycx_cfm.h
rename to libc/include/any-linux-any/linux/cycx_cfm.h
diff --git a/libc/include/generic-musl/linux/dcbnl.h b/libc/include/any-linux-any/linux/dcbnl.h
similarity index 100%
rename from libc/include/generic-musl/linux/dcbnl.h
rename to libc/include/any-linux-any/linux/dcbnl.h
diff --git a/libc/include/generic-musl/linux/dccp.h b/libc/include/any-linux-any/linux/dccp.h
similarity index 100%
rename from libc/include/generic-musl/linux/dccp.h
rename to libc/include/any-linux-any/linux/dccp.h
diff --git a/libc/include/generic-musl/linux/devlink.h b/libc/include/any-linux-any/linux/devlink.h
similarity index 100%
rename from libc/include/generic-musl/linux/devlink.h
rename to libc/include/any-linux-any/linux/devlink.h
diff --git a/libc/include/generic-musl/linux/dlm.h b/libc/include/any-linux-any/linux/dlm.h
similarity index 100%
rename from libc/include/generic-musl/linux/dlm.h
rename to libc/include/any-linux-any/linux/dlm.h
diff --git a/libc/include/generic-musl/linux/dlm_device.h b/libc/include/any-linux-any/linux/dlm_device.h
similarity index 100%
rename from libc/include/generic-musl/linux/dlm_device.h
rename to libc/include/any-linux-any/linux/dlm_device.h
diff --git a/libc/include/generic-musl/linux/dlm_netlink.h b/libc/include/any-linux-any/linux/dlm_netlink.h
similarity index 100%
rename from libc/include/generic-musl/linux/dlm_netlink.h
rename to libc/include/any-linux-any/linux/dlm_netlink.h
diff --git a/libc/include/generic-musl/linux/dlm_plock.h b/libc/include/any-linux-any/linux/dlm_plock.h
similarity index 100%
rename from libc/include/generic-musl/linux/dlm_plock.h
rename to libc/include/any-linux-any/linux/dlm_plock.h
diff --git a/libc/include/generic-musl/linux/dlmconstants.h b/libc/include/any-linux-any/linux/dlmconstants.h
similarity index 100%
rename from libc/include/generic-musl/linux/dlmconstants.h
rename to libc/include/any-linux-any/linux/dlmconstants.h
diff --git a/libc/include/generic-musl/linux/dm-ioctl.h b/libc/include/any-linux-any/linux/dm-ioctl.h
similarity index 100%
rename from libc/include/generic-musl/linux/dm-ioctl.h
rename to libc/include/any-linux-any/linux/dm-ioctl.h
diff --git a/libc/include/generic-musl/linux/dm-log-userspace.h b/libc/include/any-linux-any/linux/dm-log-userspace.h
similarity index 100%
rename from libc/include/generic-musl/linux/dm-log-userspace.h
rename to libc/include/any-linux-any/linux/dm-log-userspace.h
diff --git a/libc/include/generic-musl/linux/dma-buf.h b/libc/include/any-linux-any/linux/dma-buf.h
similarity index 100%
rename from libc/include/generic-musl/linux/dma-buf.h
rename to libc/include/any-linux-any/linux/dma-buf.h
diff --git a/libc/include/generic-musl/linux/dn.h b/libc/include/any-linux-any/linux/dn.h
similarity index 100%
rename from libc/include/generic-musl/linux/dn.h
rename to libc/include/any-linux-any/linux/dn.h
diff --git a/libc/include/generic-musl/linux/dqblk_xfs.h b/libc/include/any-linux-any/linux/dqblk_xfs.h
similarity index 100%
rename from libc/include/generic-musl/linux/dqblk_xfs.h
rename to libc/include/any-linux-any/linux/dqblk_xfs.h
diff --git a/libc/include/generic-musl/linux/dvb/audio.h b/libc/include/any-linux-any/linux/dvb/audio.h
similarity index 100%
rename from libc/include/generic-musl/linux/dvb/audio.h
rename to libc/include/any-linux-any/linux/dvb/audio.h
diff --git a/libc/include/generic-musl/linux/dvb/ca.h b/libc/include/any-linux-any/linux/dvb/ca.h
similarity index 100%
rename from libc/include/generic-musl/linux/dvb/ca.h
rename to libc/include/any-linux-any/linux/dvb/ca.h
diff --git a/libc/include/generic-musl/linux/dvb/dmx.h b/libc/include/any-linux-any/linux/dvb/dmx.h
similarity index 100%
rename from libc/include/generic-musl/linux/dvb/dmx.h
rename to libc/include/any-linux-any/linux/dvb/dmx.h
diff --git a/libc/include/generic-musl/linux/dvb/frontend.h b/libc/include/any-linux-any/linux/dvb/frontend.h
similarity index 100%
rename from libc/include/generic-musl/linux/dvb/frontend.h
rename to libc/include/any-linux-any/linux/dvb/frontend.h
diff --git a/libc/include/generic-musl/linux/dvb/net.h b/libc/include/any-linux-any/linux/dvb/net.h
similarity index 100%
rename from libc/include/generic-musl/linux/dvb/net.h
rename to libc/include/any-linux-any/linux/dvb/net.h
diff --git a/libc/include/generic-musl/linux/dvb/osd.h b/libc/include/any-linux-any/linux/dvb/osd.h
similarity index 100%
rename from libc/include/generic-musl/linux/dvb/osd.h
rename to libc/include/any-linux-any/linux/dvb/osd.h
diff --git a/libc/include/generic-musl/linux/dvb/version.h b/libc/include/any-linux-any/linux/dvb/version.h
similarity index 100%
rename from libc/include/generic-musl/linux/dvb/version.h
rename to libc/include/any-linux-any/linux/dvb/version.h
diff --git a/libc/include/generic-musl/linux/dvb/video.h b/libc/include/any-linux-any/linux/dvb/video.h
similarity index 100%
rename from libc/include/generic-musl/linux/dvb/video.h
rename to libc/include/any-linux-any/linux/dvb/video.h
diff --git a/libc/include/generic-musl/linux/edd.h b/libc/include/any-linux-any/linux/edd.h
similarity index 100%
rename from libc/include/generic-musl/linux/edd.h
rename to libc/include/any-linux-any/linux/edd.h
diff --git a/libc/include/generic-musl/linux/efs_fs_sb.h b/libc/include/any-linux-any/linux/efs_fs_sb.h
similarity index 100%
rename from libc/include/generic-musl/linux/efs_fs_sb.h
rename to libc/include/any-linux-any/linux/efs_fs_sb.h
diff --git a/libc/include/generic-musl/linux/elf-em.h b/libc/include/any-linux-any/linux/elf-em.h
similarity index 100%
rename from libc/include/generic-musl/linux/elf-em.h
rename to libc/include/any-linux-any/linux/elf-em.h
diff --git a/libc/include/generic-musl/linux/elf-fdpic.h b/libc/include/any-linux-any/linux/elf-fdpic.h
similarity index 100%
rename from libc/include/generic-musl/linux/elf-fdpic.h
rename to libc/include/any-linux-any/linux/elf-fdpic.h
diff --git a/libc/include/generic-musl/linux/elf.h b/libc/include/any-linux-any/linux/elf.h
similarity index 100%
rename from libc/include/generic-musl/linux/elf.h
rename to libc/include/any-linux-any/linux/elf.h
diff --git a/libc/include/generic-musl/linux/elfcore.h b/libc/include/any-linux-any/linux/elfcore.h
similarity index 100%
rename from libc/include/generic-musl/linux/elfcore.h
rename to libc/include/any-linux-any/linux/elfcore.h
diff --git a/libc/include/generic-musl/linux/errno.h b/libc/include/any-linux-any/linux/errno.h
similarity index 100%
rename from libc/include/generic-musl/linux/errno.h
rename to libc/include/any-linux-any/linux/errno.h
diff --git a/libc/include/generic-musl/linux/errqueue.h b/libc/include/any-linux-any/linux/errqueue.h
similarity index 100%
rename from libc/include/generic-musl/linux/errqueue.h
rename to libc/include/any-linux-any/linux/errqueue.h
diff --git a/libc/include/generic-musl/linux/erspan.h b/libc/include/any-linux-any/linux/erspan.h
similarity index 100%
rename from libc/include/generic-musl/linux/erspan.h
rename to libc/include/any-linux-any/linux/erspan.h
diff --git a/libc/include/generic-musl/linux/ethtool.h b/libc/include/any-linux-any/linux/ethtool.h
similarity index 100%
rename from libc/include/generic-musl/linux/ethtool.h
rename to libc/include/any-linux-any/linux/ethtool.h
diff --git a/libc/include/generic-musl/linux/eventpoll.h b/libc/include/any-linux-any/linux/eventpoll.h
similarity index 100%
rename from libc/include/generic-musl/linux/eventpoll.h
rename to libc/include/any-linux-any/linux/eventpoll.h
diff --git a/libc/include/generic-musl/linux/fadvise.h b/libc/include/any-linux-any/linux/fadvise.h
similarity index 100%
rename from libc/include/generic-musl/linux/fadvise.h
rename to libc/include/any-linux-any/linux/fadvise.h
diff --git a/libc/include/generic-musl/linux/falloc.h b/libc/include/any-linux-any/linux/falloc.h
similarity index 100%
rename from libc/include/generic-musl/linux/falloc.h
rename to libc/include/any-linux-any/linux/falloc.h
diff --git a/libc/include/generic-musl/linux/fanotify.h b/libc/include/any-linux-any/linux/fanotify.h
similarity index 100%
rename from libc/include/generic-musl/linux/fanotify.h
rename to libc/include/any-linux-any/linux/fanotify.h
diff --git a/libc/include/generic-musl/linux/fb.h b/libc/include/any-linux-any/linux/fb.h
similarity index 100%
rename from libc/include/generic-musl/linux/fb.h
rename to libc/include/any-linux-any/linux/fb.h
diff --git a/libc/include/generic-musl/linux/fcntl.h b/libc/include/any-linux-any/linux/fcntl.h
similarity index 100%
rename from libc/include/generic-musl/linux/fcntl.h
rename to libc/include/any-linux-any/linux/fcntl.h
diff --git a/libc/include/generic-musl/linux/fd.h b/libc/include/any-linux-any/linux/fd.h
similarity index 100%
rename from libc/include/generic-musl/linux/fd.h
rename to libc/include/any-linux-any/linux/fd.h
diff --git a/libc/include/generic-musl/linux/fdreg.h b/libc/include/any-linux-any/linux/fdreg.h
similarity index 100%
rename from libc/include/generic-musl/linux/fdreg.h
rename to libc/include/any-linux-any/linux/fdreg.h
diff --git a/libc/include/generic-musl/linux/fib_rules.h b/libc/include/any-linux-any/linux/fib_rules.h
similarity index 100%
rename from libc/include/generic-musl/linux/fib_rules.h
rename to libc/include/any-linux-any/linux/fib_rules.h
diff --git a/libc/include/generic-musl/linux/fiemap.h b/libc/include/any-linux-any/linux/fiemap.h
similarity index 100%
rename from libc/include/generic-musl/linux/fiemap.h
rename to libc/include/any-linux-any/linux/fiemap.h
diff --git a/libc/include/generic-musl/linux/filter.h b/libc/include/any-linux-any/linux/filter.h
similarity index 100%
rename from libc/include/generic-musl/linux/filter.h
rename to libc/include/any-linux-any/linux/filter.h
diff --git a/libc/include/generic-musl/linux/firewire-cdev.h b/libc/include/any-linux-any/linux/firewire-cdev.h
similarity index 100%
rename from libc/include/generic-musl/linux/firewire-cdev.h
rename to libc/include/any-linux-any/linux/firewire-cdev.h
diff --git a/libc/include/generic-musl/linux/firewire-constants.h b/libc/include/any-linux-any/linux/firewire-constants.h
similarity index 100%
rename from libc/include/generic-musl/linux/firewire-constants.h
rename to libc/include/any-linux-any/linux/firewire-constants.h
diff --git a/libc/include/generic-musl/linux/flat.h b/libc/include/any-linux-any/linux/flat.h
similarity index 100%
rename from libc/include/generic-musl/linux/flat.h
rename to libc/include/any-linux-any/linux/flat.h
diff --git a/libc/include/generic-musl/linux/fou.h b/libc/include/any-linux-any/linux/fou.h
similarity index 100%
rename from libc/include/generic-musl/linux/fou.h
rename to libc/include/any-linux-any/linux/fou.h
diff --git a/libc/include/generic-musl/linux/fpga-dfl.h b/libc/include/any-linux-any/linux/fpga-dfl.h
similarity index 100%
rename from libc/include/generic-musl/linux/fpga-dfl.h
rename to libc/include/any-linux-any/linux/fpga-dfl.h
diff --git a/libc/include/generic-musl/linux/fs.h b/libc/include/any-linux-any/linux/fs.h
similarity index 100%
rename from libc/include/generic-musl/linux/fs.h
rename to libc/include/any-linux-any/linux/fs.h
diff --git a/libc/include/generic-musl/linux/fsi.h b/libc/include/any-linux-any/linux/fsi.h
similarity index 100%
rename from libc/include/generic-musl/linux/fsi.h
rename to libc/include/any-linux-any/linux/fsi.h
diff --git a/libc/include/generic-musl/linux/fsl_hypervisor.h b/libc/include/any-linux-any/linux/fsl_hypervisor.h
similarity index 100%
rename from libc/include/generic-musl/linux/fsl_hypervisor.h
rename to libc/include/any-linux-any/linux/fsl_hypervisor.h
diff --git a/libc/include/generic-musl/linux/fsmap.h b/libc/include/any-linux-any/linux/fsmap.h
similarity index 100%
rename from libc/include/generic-musl/linux/fsmap.h
rename to libc/include/any-linux-any/linux/fsmap.h
diff --git a/libc/include/generic-musl/linux/fuse.h b/libc/include/any-linux-any/linux/fuse.h
similarity index 100%
rename from libc/include/generic-musl/linux/fuse.h
rename to libc/include/any-linux-any/linux/fuse.h
diff --git a/libc/include/generic-musl/linux/futex.h b/libc/include/any-linux-any/linux/futex.h
similarity index 100%
rename from libc/include/generic-musl/linux/futex.h
rename to libc/include/any-linux-any/linux/futex.h
diff --git a/libc/include/generic-musl/linux/gameport.h b/libc/include/any-linux-any/linux/gameport.h
similarity index 100%
rename from libc/include/generic-musl/linux/gameport.h
rename to libc/include/any-linux-any/linux/gameport.h
diff --git a/libc/include/generic-musl/linux/gen_stats.h b/libc/include/any-linux-any/linux/gen_stats.h
similarity index 100%
rename from libc/include/generic-musl/linux/gen_stats.h
rename to libc/include/any-linux-any/linux/gen_stats.h
diff --git a/libc/include/generic-musl/linux/genetlink.h b/libc/include/any-linux-any/linux/genetlink.h
similarity index 100%
rename from libc/include/generic-musl/linux/genetlink.h
rename to libc/include/any-linux-any/linux/genetlink.h
diff --git a/libc/include/generic-musl/linux/genwqe/genwqe_card.h b/libc/include/any-linux-any/linux/genwqe/genwqe_card.h
similarity index 100%
rename from libc/include/generic-musl/linux/genwqe/genwqe_card.h
rename to libc/include/any-linux-any/linux/genwqe/genwqe_card.h
diff --git a/libc/include/generic-musl/linux/gfs2_ondisk.h b/libc/include/any-linux-any/linux/gfs2_ondisk.h
similarity index 100%
rename from libc/include/generic-musl/linux/gfs2_ondisk.h
rename to libc/include/any-linux-any/linux/gfs2_ondisk.h
diff --git a/libc/include/generic-musl/linux/gigaset_dev.h b/libc/include/any-linux-any/linux/gigaset_dev.h
similarity index 100%
rename from libc/include/generic-musl/linux/gigaset_dev.h
rename to libc/include/any-linux-any/linux/gigaset_dev.h
diff --git a/libc/include/generic-musl/linux/gpio.h b/libc/include/any-linux-any/linux/gpio.h
similarity index 100%
rename from libc/include/generic-musl/linux/gpio.h
rename to libc/include/any-linux-any/linux/gpio.h
diff --git a/libc/include/generic-musl/linux/gsmmux.h b/libc/include/any-linux-any/linux/gsmmux.h
similarity index 100%
rename from libc/include/generic-musl/linux/gsmmux.h
rename to libc/include/any-linux-any/linux/gsmmux.h
diff --git a/libc/include/generic-musl/linux/gtp.h b/libc/include/any-linux-any/linux/gtp.h
similarity index 100%
rename from libc/include/generic-musl/linux/gtp.h
rename to libc/include/any-linux-any/linux/gtp.h
diff --git a/libc/include/generic-musl/linux/hash_info.h b/libc/include/any-linux-any/linux/hash_info.h
similarity index 100%
rename from libc/include/generic-musl/linux/hash_info.h
rename to libc/include/any-linux-any/linux/hash_info.h
diff --git a/libc/include/generic-musl/linux/hdlc.h b/libc/include/any-linux-any/linux/hdlc.h
similarity index 100%
rename from libc/include/generic-musl/linux/hdlc.h
rename to libc/include/any-linux-any/linux/hdlc.h
diff --git a/libc/include/generic-musl/linux/hdlc/ioctl.h b/libc/include/any-linux-any/linux/hdlc/ioctl.h
similarity index 100%
rename from libc/include/generic-musl/linux/hdlc/ioctl.h
rename to libc/include/any-linux-any/linux/hdlc/ioctl.h
diff --git a/libc/include/generic-musl/linux/hdlcdrv.h b/libc/include/any-linux-any/linux/hdlcdrv.h
similarity index 100%
rename from libc/include/generic-musl/linux/hdlcdrv.h
rename to libc/include/any-linux-any/linux/hdlcdrv.h
diff --git a/libc/include/generic-musl/linux/hdreg.h b/libc/include/any-linux-any/linux/hdreg.h
similarity index 100%
rename from libc/include/generic-musl/linux/hdreg.h
rename to libc/include/any-linux-any/linux/hdreg.h
diff --git a/libc/include/generic-musl/linux/hid.h b/libc/include/any-linux-any/linux/hid.h
similarity index 100%
rename from libc/include/generic-musl/linux/hid.h
rename to libc/include/any-linux-any/linux/hid.h
diff --git a/libc/include/generic-musl/linux/hiddev.h b/libc/include/any-linux-any/linux/hiddev.h
similarity index 100%
rename from libc/include/generic-musl/linux/hiddev.h
rename to libc/include/any-linux-any/linux/hiddev.h
diff --git a/libc/include/generic-musl/linux/hidraw.h b/libc/include/any-linux-any/linux/hidraw.h
similarity index 100%
rename from libc/include/generic-musl/linux/hidraw.h
rename to libc/include/any-linux-any/linux/hidraw.h
diff --git a/libc/include/generic-musl/linux/hpet.h b/libc/include/any-linux-any/linux/hpet.h
similarity index 100%
rename from libc/include/generic-musl/linux/hpet.h
rename to libc/include/any-linux-any/linux/hpet.h
diff --git a/libc/include/generic-musl/linux/hsi/cs-protocol.h b/libc/include/any-linux-any/linux/hsi/cs-protocol.h
similarity index 100%
rename from libc/include/generic-musl/linux/hsi/cs-protocol.h
rename to libc/include/any-linux-any/linux/hsi/cs-protocol.h
diff --git a/libc/include/generic-musl/linux/hsi/hsi_char.h b/libc/include/any-linux-any/linux/hsi/hsi_char.h
similarity index 100%
rename from libc/include/generic-musl/linux/hsi/hsi_char.h
rename to libc/include/any-linux-any/linux/hsi/hsi_char.h
diff --git a/libc/include/generic-musl/linux/hsr_netlink.h b/libc/include/any-linux-any/linux/hsr_netlink.h
similarity index 100%
rename from libc/include/generic-musl/linux/hsr_netlink.h
rename to libc/include/any-linux-any/linux/hsr_netlink.h
diff --git a/libc/include/generic-musl/linux/hw_breakpoint.h b/libc/include/any-linux-any/linux/hw_breakpoint.h
similarity index 100%
rename from libc/include/generic-musl/linux/hw_breakpoint.h
rename to libc/include/any-linux-any/linux/hw_breakpoint.h
diff --git a/libc/include/generic-musl/linux/hyperv.h b/libc/include/any-linux-any/linux/hyperv.h
similarity index 100%
rename from libc/include/generic-musl/linux/hyperv.h
rename to libc/include/any-linux-any/linux/hyperv.h
diff --git a/libc/include/generic-musl/linux/hysdn_if.h b/libc/include/any-linux-any/linux/hysdn_if.h
similarity index 100%
rename from libc/include/generic-musl/linux/hysdn_if.h
rename to libc/include/any-linux-any/linux/hysdn_if.h
diff --git a/libc/include/generic-musl/linux/i2c-dev.h b/libc/include/any-linux-any/linux/i2c-dev.h
similarity index 100%
rename from libc/include/generic-musl/linux/i2c-dev.h
rename to libc/include/any-linux-any/linux/i2c-dev.h
diff --git a/libc/include/generic-musl/linux/i2c.h b/libc/include/any-linux-any/linux/i2c.h
similarity index 100%
rename from libc/include/generic-musl/linux/i2c.h
rename to libc/include/any-linux-any/linux/i2c.h
diff --git a/libc/include/generic-musl/linux/i2o-dev.h b/libc/include/any-linux-any/linux/i2o-dev.h
similarity index 100%
rename from libc/include/generic-musl/linux/i2o-dev.h
rename to libc/include/any-linux-any/linux/i2o-dev.h
diff --git a/libc/include/generic-musl/linux/i8k.h b/libc/include/any-linux-any/linux/i8k.h
similarity index 100%
rename from libc/include/generic-musl/linux/i8k.h
rename to libc/include/any-linux-any/linux/i8k.h
diff --git a/libc/include/generic-musl/linux/icmp.h b/libc/include/any-linux-any/linux/icmp.h
similarity index 100%
rename from libc/include/generic-musl/linux/icmp.h
rename to libc/include/any-linux-any/linux/icmp.h
diff --git a/libc/include/generic-musl/linux/icmpv6.h b/libc/include/any-linux-any/linux/icmpv6.h
similarity index 100%
rename from libc/include/generic-musl/linux/icmpv6.h
rename to libc/include/any-linux-any/linux/icmpv6.h
diff --git a/libc/include/generic-musl/linux/if.h b/libc/include/any-linux-any/linux/if.h
similarity index 100%
rename from libc/include/generic-musl/linux/if.h
rename to libc/include/any-linux-any/linux/if.h
diff --git a/libc/include/generic-musl/linux/if_addr.h b/libc/include/any-linux-any/linux/if_addr.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_addr.h
rename to libc/include/any-linux-any/linux/if_addr.h
diff --git a/libc/include/generic-musl/linux/if_addrlabel.h b/libc/include/any-linux-any/linux/if_addrlabel.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_addrlabel.h
rename to libc/include/any-linux-any/linux/if_addrlabel.h
diff --git a/libc/include/generic-musl/linux/if_alg.h b/libc/include/any-linux-any/linux/if_alg.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_alg.h
rename to libc/include/any-linux-any/linux/if_alg.h
diff --git a/libc/include/generic-musl/linux/if_arcnet.h b/libc/include/any-linux-any/linux/if_arcnet.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_arcnet.h
rename to libc/include/any-linux-any/linux/if_arcnet.h
diff --git a/libc/include/generic-musl/linux/if_arp.h b/libc/include/any-linux-any/linux/if_arp.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_arp.h
rename to libc/include/any-linux-any/linux/if_arp.h
diff --git a/libc/include/generic-musl/linux/if_bonding.h b/libc/include/any-linux-any/linux/if_bonding.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_bonding.h
rename to libc/include/any-linux-any/linux/if_bonding.h
diff --git a/libc/include/generic-musl/linux/if_bridge.h b/libc/include/any-linux-any/linux/if_bridge.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_bridge.h
rename to libc/include/any-linux-any/linux/if_bridge.h
diff --git a/libc/include/generic-musl/linux/if_cablemodem.h b/libc/include/any-linux-any/linux/if_cablemodem.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_cablemodem.h
rename to libc/include/any-linux-any/linux/if_cablemodem.h
diff --git a/libc/include/generic-musl/linux/if_eql.h b/libc/include/any-linux-any/linux/if_eql.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_eql.h
rename to libc/include/any-linux-any/linux/if_eql.h
diff --git a/libc/include/generic-musl/linux/if_ether.h b/libc/include/any-linux-any/linux/if_ether.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_ether.h
rename to libc/include/any-linux-any/linux/if_ether.h
diff --git a/libc/include/generic-musl/linux/if_fc.h b/libc/include/any-linux-any/linux/if_fc.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_fc.h
rename to libc/include/any-linux-any/linux/if_fc.h
diff --git a/libc/include/generic-musl/linux/if_fddi.h b/libc/include/any-linux-any/linux/if_fddi.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_fddi.h
rename to libc/include/any-linux-any/linux/if_fddi.h
diff --git a/libc/include/generic-musl/linux/if_frad.h b/libc/include/any-linux-any/linux/if_frad.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_frad.h
rename to libc/include/any-linux-any/linux/if_frad.h
diff --git a/libc/include/generic-musl/linux/if_hippi.h b/libc/include/any-linux-any/linux/if_hippi.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_hippi.h
rename to libc/include/any-linux-any/linux/if_hippi.h
diff --git a/libc/include/generic-musl/linux/if_infiniband.h b/libc/include/any-linux-any/linux/if_infiniband.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_infiniband.h
rename to libc/include/any-linux-any/linux/if_infiniband.h
diff --git a/libc/include/generic-musl/linux/if_link.h b/libc/include/any-linux-any/linux/if_link.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_link.h
rename to libc/include/any-linux-any/linux/if_link.h
diff --git a/libc/include/generic-musl/linux/if_ltalk.h b/libc/include/any-linux-any/linux/if_ltalk.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_ltalk.h
rename to libc/include/any-linux-any/linux/if_ltalk.h
diff --git a/libc/include/generic-musl/linux/if_macsec.h b/libc/include/any-linux-any/linux/if_macsec.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_macsec.h
rename to libc/include/any-linux-any/linux/if_macsec.h
diff --git a/libc/include/generic-musl/linux/if_packet.h b/libc/include/any-linux-any/linux/if_packet.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_packet.h
rename to libc/include/any-linux-any/linux/if_packet.h
diff --git a/libc/include/generic-musl/linux/if_phonet.h b/libc/include/any-linux-any/linux/if_phonet.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_phonet.h
rename to libc/include/any-linux-any/linux/if_phonet.h
diff --git a/libc/include/generic-musl/linux/if_plip.h b/libc/include/any-linux-any/linux/if_plip.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_plip.h
rename to libc/include/any-linux-any/linux/if_plip.h
diff --git a/libc/include/generic-musl/linux/if_ppp.h b/libc/include/any-linux-any/linux/if_ppp.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_ppp.h
rename to libc/include/any-linux-any/linux/if_ppp.h
diff --git a/libc/include/generic-musl/linux/if_pppol2tp.h b/libc/include/any-linux-any/linux/if_pppol2tp.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_pppol2tp.h
rename to libc/include/any-linux-any/linux/if_pppol2tp.h
diff --git a/libc/include/generic-musl/linux/if_pppox.h b/libc/include/any-linux-any/linux/if_pppox.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_pppox.h
rename to libc/include/any-linux-any/linux/if_pppox.h
diff --git a/libc/include/generic-musl/linux/if_slip.h b/libc/include/any-linux-any/linux/if_slip.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_slip.h
rename to libc/include/any-linux-any/linux/if_slip.h
diff --git a/libc/include/generic-musl/linux/if_team.h b/libc/include/any-linux-any/linux/if_team.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_team.h
rename to libc/include/any-linux-any/linux/if_team.h
diff --git a/libc/include/generic-musl/linux/if_tun.h b/libc/include/any-linux-any/linux/if_tun.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_tun.h
rename to libc/include/any-linux-any/linux/if_tun.h
diff --git a/libc/include/generic-musl/linux/if_tunnel.h b/libc/include/any-linux-any/linux/if_tunnel.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_tunnel.h
rename to libc/include/any-linux-any/linux/if_tunnel.h
diff --git a/libc/include/generic-musl/linux/if_vlan.h b/libc/include/any-linux-any/linux/if_vlan.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_vlan.h
rename to libc/include/any-linux-any/linux/if_vlan.h
diff --git a/libc/include/generic-musl/linux/if_x25.h b/libc/include/any-linux-any/linux/if_x25.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_x25.h
rename to libc/include/any-linux-any/linux/if_x25.h
diff --git a/libc/include/generic-musl/linux/if_xdp.h b/libc/include/any-linux-any/linux/if_xdp.h
similarity index 100%
rename from libc/include/generic-musl/linux/if_xdp.h
rename to libc/include/any-linux-any/linux/if_xdp.h
diff --git a/libc/include/generic-musl/linux/ife.h b/libc/include/any-linux-any/linux/ife.h
similarity index 100%
rename from libc/include/generic-musl/linux/ife.h
rename to libc/include/any-linux-any/linux/ife.h
diff --git a/libc/include/generic-musl/linux/igmp.h b/libc/include/any-linux-any/linux/igmp.h
similarity index 100%
rename from libc/include/generic-musl/linux/igmp.h
rename to libc/include/any-linux-any/linux/igmp.h
diff --git a/libc/include/generic-musl/linux/iio/events.h b/libc/include/any-linux-any/linux/iio/events.h
similarity index 100%
rename from libc/include/generic-musl/linux/iio/events.h
rename to libc/include/any-linux-any/linux/iio/events.h
diff --git a/libc/include/generic-musl/linux/iio/types.h b/libc/include/any-linux-any/linux/iio/types.h
similarity index 100%
rename from libc/include/generic-musl/linux/iio/types.h
rename to libc/include/any-linux-any/linux/iio/types.h
diff --git a/libc/include/generic-musl/linux/ila.h b/libc/include/any-linux-any/linux/ila.h
similarity index 100%
rename from libc/include/generic-musl/linux/ila.h
rename to libc/include/any-linux-any/linux/ila.h
diff --git a/libc/include/generic-musl/linux/in.h b/libc/include/any-linux-any/linux/in.h
similarity index 100%
rename from libc/include/generic-musl/linux/in.h
rename to libc/include/any-linux-any/linux/in.h
diff --git a/libc/include/generic-musl/linux/in6.h b/libc/include/any-linux-any/linux/in6.h
similarity index 100%
rename from libc/include/generic-musl/linux/in6.h
rename to libc/include/any-linux-any/linux/in6.h
diff --git a/libc/include/generic-musl/linux/in_route.h b/libc/include/any-linux-any/linux/in_route.h
similarity index 100%
rename from libc/include/generic-musl/linux/in_route.h
rename to libc/include/any-linux-any/linux/in_route.h
diff --git a/libc/include/generic-musl/linux/inet_diag.h b/libc/include/any-linux-any/linux/inet_diag.h
similarity index 100%
rename from libc/include/generic-musl/linux/inet_diag.h
rename to libc/include/any-linux-any/linux/inet_diag.h
diff --git a/libc/include/generic-musl/linux/inotify.h b/libc/include/any-linux-any/linux/inotify.h
similarity index 100%
rename from libc/include/generic-musl/linux/inotify.h
rename to libc/include/any-linux-any/linux/inotify.h
diff --git a/libc/include/generic-musl/linux/input-event-codes.h b/libc/include/any-linux-any/linux/input-event-codes.h
similarity index 100%
rename from libc/include/generic-musl/linux/input-event-codes.h
rename to libc/include/any-linux-any/linux/input-event-codes.h
diff --git a/libc/include/generic-musl/linux/input.h b/libc/include/any-linux-any/linux/input.h
similarity index 100%
rename from libc/include/generic-musl/linux/input.h
rename to libc/include/any-linux-any/linux/input.h
diff --git a/libc/include/generic-musl/linux/ioctl.h b/libc/include/any-linux-any/linux/ioctl.h
similarity index 100%
rename from libc/include/generic-musl/linux/ioctl.h
rename to libc/include/any-linux-any/linux/ioctl.h
diff --git a/libc/include/generic-musl/linux/ip.h b/libc/include/any-linux-any/linux/ip.h
similarity index 100%
rename from libc/include/generic-musl/linux/ip.h
rename to libc/include/any-linux-any/linux/ip.h
diff --git a/libc/include/generic-musl/linux/ip6_tunnel.h b/libc/include/any-linux-any/linux/ip6_tunnel.h
similarity index 100%
rename from libc/include/generic-musl/linux/ip6_tunnel.h
rename to libc/include/any-linux-any/linux/ip6_tunnel.h
diff --git a/libc/include/generic-musl/linux/ip_vs.h b/libc/include/any-linux-any/linux/ip_vs.h
similarity index 100%
rename from libc/include/generic-musl/linux/ip_vs.h
rename to libc/include/any-linux-any/linux/ip_vs.h
diff --git a/libc/include/generic-musl/linux/ipc.h b/libc/include/any-linux-any/linux/ipc.h
similarity index 100%
rename from libc/include/generic-musl/linux/ipc.h
rename to libc/include/any-linux-any/linux/ipc.h
diff --git a/libc/include/generic-musl/linux/ipmi.h b/libc/include/any-linux-any/linux/ipmi.h
similarity index 100%
rename from libc/include/generic-musl/linux/ipmi.h
rename to libc/include/any-linux-any/linux/ipmi.h
diff --git a/libc/include/generic-musl/linux/ipmi_bmc.h b/libc/include/any-linux-any/linux/ipmi_bmc.h
similarity index 100%
rename from libc/include/generic-musl/linux/ipmi_bmc.h
rename to libc/include/any-linux-any/linux/ipmi_bmc.h
diff --git a/libc/include/generic-musl/linux/ipmi_msgdefs.h b/libc/include/any-linux-any/linux/ipmi_msgdefs.h
similarity index 100%
rename from libc/include/generic-musl/linux/ipmi_msgdefs.h
rename to libc/include/any-linux-any/linux/ipmi_msgdefs.h
diff --git a/libc/include/generic-musl/linux/ipsec.h b/libc/include/any-linux-any/linux/ipsec.h
similarity index 100%
rename from libc/include/generic-musl/linux/ipsec.h
rename to libc/include/any-linux-any/linux/ipsec.h
diff --git a/libc/include/generic-musl/linux/ipv6.h b/libc/include/any-linux-any/linux/ipv6.h
similarity index 100%
rename from libc/include/generic-musl/linux/ipv6.h
rename to libc/include/any-linux-any/linux/ipv6.h
diff --git a/libc/include/generic-musl/linux/ipv6_route.h b/libc/include/any-linux-any/linux/ipv6_route.h
similarity index 100%
rename from libc/include/generic-musl/linux/ipv6_route.h
rename to libc/include/any-linux-any/linux/ipv6_route.h
diff --git a/libc/include/generic-musl/linux/ipx.h b/libc/include/any-linux-any/linux/ipx.h
similarity index 100%
rename from libc/include/generic-musl/linux/ipx.h
rename to libc/include/any-linux-any/linux/ipx.h
diff --git a/libc/include/generic-musl/linux/irqnr.h b/libc/include/any-linux-any/linux/irqnr.h
similarity index 100%
rename from libc/include/generic-musl/linux/irqnr.h
rename to libc/include/any-linux-any/linux/irqnr.h
diff --git a/libc/include/generic-musl/linux/isdn.h b/libc/include/any-linux-any/linux/isdn.h
similarity index 100%
rename from libc/include/generic-musl/linux/isdn.h
rename to libc/include/any-linux-any/linux/isdn.h
diff --git a/libc/include/generic-musl/linux/isdn/capicmd.h b/libc/include/any-linux-any/linux/isdn/capicmd.h
similarity index 100%
rename from libc/include/generic-musl/linux/isdn/capicmd.h
rename to libc/include/any-linux-any/linux/isdn/capicmd.h
diff --git a/libc/include/generic-musl/linux/isdn_divertif.h b/libc/include/any-linux-any/linux/isdn_divertif.h
similarity index 100%
rename from libc/include/generic-musl/linux/isdn_divertif.h
rename to libc/include/any-linux-any/linux/isdn_divertif.h
diff --git a/libc/include/generic-musl/linux/isdn_ppp.h b/libc/include/any-linux-any/linux/isdn_ppp.h
similarity index 100%
rename from libc/include/generic-musl/linux/isdn_ppp.h
rename to libc/include/any-linux-any/linux/isdn_ppp.h
diff --git a/libc/include/generic-musl/linux/isdnif.h b/libc/include/any-linux-any/linux/isdnif.h
similarity index 100%
rename from libc/include/generic-musl/linux/isdnif.h
rename to libc/include/any-linux-any/linux/isdnif.h
diff --git a/libc/include/generic-musl/linux/iso_fs.h b/libc/include/any-linux-any/linux/iso_fs.h
similarity index 100%
rename from libc/include/generic-musl/linux/iso_fs.h
rename to libc/include/any-linux-any/linux/iso_fs.h
diff --git a/libc/include/generic-musl/linux/ivtv.h b/libc/include/any-linux-any/linux/ivtv.h
similarity index 100%
rename from libc/include/generic-musl/linux/ivtv.h
rename to libc/include/any-linux-any/linux/ivtv.h
diff --git a/libc/include/generic-musl/linux/ivtvfb.h b/libc/include/any-linux-any/linux/ivtvfb.h
similarity index 100%
rename from libc/include/generic-musl/linux/ivtvfb.h
rename to libc/include/any-linux-any/linux/ivtvfb.h
diff --git a/libc/include/generic-musl/linux/jffs2.h b/libc/include/any-linux-any/linux/jffs2.h
similarity index 100%
rename from libc/include/generic-musl/linux/jffs2.h
rename to libc/include/any-linux-any/linux/jffs2.h
diff --git a/libc/include/generic-musl/linux/joystick.h b/libc/include/any-linux-any/linux/joystick.h
similarity index 100%
rename from libc/include/generic-musl/linux/joystick.h
rename to libc/include/any-linux-any/linux/joystick.h
diff --git a/libc/include/generic-musl/linux/kcm.h b/libc/include/any-linux-any/linux/kcm.h
similarity index 100%
rename from libc/include/generic-musl/linux/kcm.h
rename to libc/include/any-linux-any/linux/kcm.h
diff --git a/libc/include/generic-musl/linux/kcmp.h b/libc/include/any-linux-any/linux/kcmp.h
similarity index 100%
rename from libc/include/generic-musl/linux/kcmp.h
rename to libc/include/any-linux-any/linux/kcmp.h
diff --git a/libc/include/generic-musl/linux/kcov.h b/libc/include/any-linux-any/linux/kcov.h
similarity index 100%
rename from libc/include/generic-musl/linux/kcov.h
rename to libc/include/any-linux-any/linux/kcov.h
diff --git a/libc/include/generic-musl/linux/kd.h b/libc/include/any-linux-any/linux/kd.h
similarity index 100%
rename from libc/include/generic-musl/linux/kd.h
rename to libc/include/any-linux-any/linux/kd.h
diff --git a/libc/include/generic-musl/linux/kdev_t.h b/libc/include/any-linux-any/linux/kdev_t.h
similarity index 100%
rename from libc/include/generic-musl/linux/kdev_t.h
rename to libc/include/any-linux-any/linux/kdev_t.h
diff --git a/libc/include/generic-musl/linux/kernel-page-flags.h b/libc/include/any-linux-any/linux/kernel-page-flags.h
similarity index 100%
rename from libc/include/generic-musl/linux/kernel-page-flags.h
rename to libc/include/any-linux-any/linux/kernel-page-flags.h
diff --git a/libc/include/generic-musl/linux/kernel.h b/libc/include/any-linux-any/linux/kernel.h
similarity index 100%
rename from libc/include/generic-musl/linux/kernel.h
rename to libc/include/any-linux-any/linux/kernel.h
diff --git a/libc/include/generic-musl/linux/kernelcapi.h b/libc/include/any-linux-any/linux/kernelcapi.h
similarity index 100%
rename from libc/include/generic-musl/linux/kernelcapi.h
rename to libc/include/any-linux-any/linux/kernelcapi.h
diff --git a/libc/include/generic-musl/linux/kexec.h b/libc/include/any-linux-any/linux/kexec.h
similarity index 100%
rename from libc/include/generic-musl/linux/kexec.h
rename to libc/include/any-linux-any/linux/kexec.h
diff --git a/libc/include/generic-musl/linux/keyboard.h b/libc/include/any-linux-any/linux/keyboard.h
similarity index 100%
rename from libc/include/generic-musl/linux/keyboard.h
rename to libc/include/any-linux-any/linux/keyboard.h
diff --git a/libc/include/generic-musl/linux/keyctl.h b/libc/include/any-linux-any/linux/keyctl.h
similarity index 100%
rename from libc/include/generic-musl/linux/keyctl.h
rename to libc/include/any-linux-any/linux/keyctl.h
diff --git a/libc/include/generic-musl/linux/kfd_ioctl.h b/libc/include/any-linux-any/linux/kfd_ioctl.h
similarity index 100%
rename from libc/include/generic-musl/linux/kfd_ioctl.h
rename to libc/include/any-linux-any/linux/kfd_ioctl.h
diff --git a/libc/include/generic-musl/linux/kvm.h b/libc/include/any-linux-any/linux/kvm.h
similarity index 100%
rename from libc/include/generic-musl/linux/kvm.h
rename to libc/include/any-linux-any/linux/kvm.h
diff --git a/libc/include/generic-musl/linux/kvm_para.h b/libc/include/any-linux-any/linux/kvm_para.h
similarity index 100%
rename from libc/include/generic-musl/linux/kvm_para.h
rename to libc/include/any-linux-any/linux/kvm_para.h
diff --git a/libc/include/generic-musl/linux/l2tp.h b/libc/include/any-linux-any/linux/l2tp.h
similarity index 100%
rename from libc/include/generic-musl/linux/l2tp.h
rename to libc/include/any-linux-any/linux/l2tp.h
diff --git a/libc/include/generic-musl/linux/libc-compat.h b/libc/include/any-linux-any/linux/libc-compat.h
similarity index 100%
rename from libc/include/generic-musl/linux/libc-compat.h
rename to libc/include/any-linux-any/linux/libc-compat.h
diff --git a/libc/include/generic-musl/linux/lightnvm.h b/libc/include/any-linux-any/linux/lightnvm.h
similarity index 100%
rename from libc/include/generic-musl/linux/lightnvm.h
rename to libc/include/any-linux-any/linux/lightnvm.h
diff --git a/libc/include/generic-musl/linux/limits.h b/libc/include/any-linux-any/linux/limits.h
similarity index 100%
rename from libc/include/generic-musl/linux/limits.h
rename to libc/include/any-linux-any/linux/limits.h
diff --git a/libc/include/generic-musl/linux/lirc.h b/libc/include/any-linux-any/linux/lirc.h
similarity index 100%
rename from libc/include/generic-musl/linux/lirc.h
rename to libc/include/any-linux-any/linux/lirc.h
diff --git a/libc/include/generic-musl/linux/llc.h b/libc/include/any-linux-any/linux/llc.h
similarity index 100%
rename from libc/include/generic-musl/linux/llc.h
rename to libc/include/any-linux-any/linux/llc.h
diff --git a/libc/include/generic-musl/linux/loop.h b/libc/include/any-linux-any/linux/loop.h
similarity index 100%
rename from libc/include/generic-musl/linux/loop.h
rename to libc/include/any-linux-any/linux/loop.h
diff --git a/libc/include/generic-musl/linux/lp.h b/libc/include/any-linux-any/linux/lp.h
similarity index 100%
rename from libc/include/generic-musl/linux/lp.h
rename to libc/include/any-linux-any/linux/lp.h
diff --git a/libc/include/generic-musl/linux/lwtunnel.h b/libc/include/any-linux-any/linux/lwtunnel.h
similarity index 100%
rename from libc/include/generic-musl/linux/lwtunnel.h
rename to libc/include/any-linux-any/linux/lwtunnel.h
diff --git a/libc/include/generic-musl/linux/magic.h b/libc/include/any-linux-any/linux/magic.h
similarity index 100%
rename from libc/include/generic-musl/linux/magic.h
rename to libc/include/any-linux-any/linux/magic.h
diff --git a/libc/include/generic-musl/linux/major.h b/libc/include/any-linux-any/linux/major.h
similarity index 100%
rename from libc/include/generic-musl/linux/major.h
rename to libc/include/any-linux-any/linux/major.h
diff --git a/libc/include/generic-musl/linux/map_to_7segment.h b/libc/include/any-linux-any/linux/map_to_7segment.h
similarity index 100%
rename from libc/include/generic-musl/linux/map_to_7segment.h
rename to libc/include/any-linux-any/linux/map_to_7segment.h
diff --git a/libc/include/generic-musl/linux/matroxfb.h b/libc/include/any-linux-any/linux/matroxfb.h
similarity index 100%
rename from libc/include/generic-musl/linux/matroxfb.h
rename to libc/include/any-linux-any/linux/matroxfb.h
diff --git a/libc/include/generic-musl/linux/max2175.h b/libc/include/any-linux-any/linux/max2175.h
similarity index 100%
rename from libc/include/generic-musl/linux/max2175.h
rename to libc/include/any-linux-any/linux/max2175.h
diff --git a/libc/include/generic-musl/linux/mdio.h b/libc/include/any-linux-any/linux/mdio.h
similarity index 100%
rename from libc/include/generic-musl/linux/mdio.h
rename to libc/include/any-linux-any/linux/mdio.h
diff --git a/libc/include/generic-musl/linux/media-bus-format.h b/libc/include/any-linux-any/linux/media-bus-format.h
similarity index 100%
rename from libc/include/generic-musl/linux/media-bus-format.h
rename to libc/include/any-linux-any/linux/media-bus-format.h
diff --git a/libc/include/generic-musl/linux/media.h b/libc/include/any-linux-any/linux/media.h
similarity index 100%
rename from libc/include/generic-musl/linux/media.h
rename to libc/include/any-linux-any/linux/media.h
diff --git a/libc/include/generic-musl/linux/mei.h b/libc/include/any-linux-any/linux/mei.h
similarity index 100%
rename from libc/include/generic-musl/linux/mei.h
rename to libc/include/any-linux-any/linux/mei.h
diff --git a/libc/include/generic-musl/linux/membarrier.h b/libc/include/any-linux-any/linux/membarrier.h
similarity index 100%
rename from libc/include/generic-musl/linux/membarrier.h
rename to libc/include/any-linux-any/linux/membarrier.h
diff --git a/libc/include/generic-musl/linux/memfd.h b/libc/include/any-linux-any/linux/memfd.h
similarity index 100%
rename from libc/include/generic-musl/linux/memfd.h
rename to libc/include/any-linux-any/linux/memfd.h
diff --git a/libc/include/generic-musl/linux/mempolicy.h b/libc/include/any-linux-any/linux/mempolicy.h
similarity index 100%
rename from libc/include/generic-musl/linux/mempolicy.h
rename to libc/include/any-linux-any/linux/mempolicy.h
diff --git a/libc/include/generic-musl/linux/meye.h b/libc/include/any-linux-any/linux/meye.h
similarity index 100%
rename from libc/include/generic-musl/linux/meye.h
rename to libc/include/any-linux-any/linux/meye.h
diff --git a/libc/include/generic-musl/linux/mic_common.h b/libc/include/any-linux-any/linux/mic_common.h
similarity index 100%
rename from libc/include/generic-musl/linux/mic_common.h
rename to libc/include/any-linux-any/linux/mic_common.h
diff --git a/libc/include/generic-musl/linux/mic_ioctl.h b/libc/include/any-linux-any/linux/mic_ioctl.h
similarity index 100%
rename from libc/include/generic-musl/linux/mic_ioctl.h
rename to libc/include/any-linux-any/linux/mic_ioctl.h
diff --git a/libc/include/generic-musl/linux/mii.h b/libc/include/any-linux-any/linux/mii.h
similarity index 100%
rename from libc/include/generic-musl/linux/mii.h
rename to libc/include/any-linux-any/linux/mii.h
diff --git a/libc/include/generic-musl/linux/minix_fs.h b/libc/include/any-linux-any/linux/minix_fs.h
similarity index 100%
rename from libc/include/generic-musl/linux/minix_fs.h
rename to libc/include/any-linux-any/linux/minix_fs.h
diff --git a/libc/include/generic-musl/linux/mman.h b/libc/include/any-linux-any/linux/mman.h
similarity index 100%
rename from libc/include/generic-musl/linux/mman.h
rename to libc/include/any-linux-any/linux/mman.h
diff --git a/libc/include/generic-musl/linux/mmc/ioctl.h b/libc/include/any-linux-any/linux/mmc/ioctl.h
similarity index 100%
rename from libc/include/generic-musl/linux/mmc/ioctl.h
rename to libc/include/any-linux-any/linux/mmc/ioctl.h
diff --git a/libc/include/generic-musl/linux/mmtimer.h b/libc/include/any-linux-any/linux/mmtimer.h
similarity index 100%
rename from libc/include/generic-musl/linux/mmtimer.h
rename to libc/include/any-linux-any/linux/mmtimer.h
diff --git a/libc/include/generic-musl/linux/module.h b/libc/include/any-linux-any/linux/module.h
similarity index 100%
rename from libc/include/generic-musl/linux/module.h
rename to libc/include/any-linux-any/linux/module.h
diff --git a/libc/include/generic-musl/linux/mpls.h b/libc/include/any-linux-any/linux/mpls.h
similarity index 100%
rename from libc/include/generic-musl/linux/mpls.h
rename to libc/include/any-linux-any/linux/mpls.h
diff --git a/libc/include/generic-musl/linux/mpls_iptunnel.h b/libc/include/any-linux-any/linux/mpls_iptunnel.h
similarity index 100%
rename from libc/include/generic-musl/linux/mpls_iptunnel.h
rename to libc/include/any-linux-any/linux/mpls_iptunnel.h
diff --git a/libc/include/generic-musl/linux/mqueue.h b/libc/include/any-linux-any/linux/mqueue.h
similarity index 100%
rename from libc/include/generic-musl/linux/mqueue.h
rename to libc/include/any-linux-any/linux/mqueue.h
diff --git a/libc/include/generic-musl/linux/mroute.h b/libc/include/any-linux-any/linux/mroute.h
similarity index 100%
rename from libc/include/generic-musl/linux/mroute.h
rename to libc/include/any-linux-any/linux/mroute.h
diff --git a/libc/include/generic-musl/linux/mroute6.h b/libc/include/any-linux-any/linux/mroute6.h
similarity index 100%
rename from libc/include/generic-musl/linux/mroute6.h
rename to libc/include/any-linux-any/linux/mroute6.h
diff --git a/libc/include/generic-musl/linux/msdos_fs.h b/libc/include/any-linux-any/linux/msdos_fs.h
similarity index 100%
rename from libc/include/generic-musl/linux/msdos_fs.h
rename to libc/include/any-linux-any/linux/msdos_fs.h
diff --git a/libc/include/generic-musl/linux/msg.h b/libc/include/any-linux-any/linux/msg.h
similarity index 100%
rename from libc/include/generic-musl/linux/msg.h
rename to libc/include/any-linux-any/linux/msg.h
diff --git a/libc/include/generic-musl/linux/mtio.h b/libc/include/any-linux-any/linux/mtio.h
similarity index 100%
rename from libc/include/generic-musl/linux/mtio.h
rename to libc/include/any-linux-any/linux/mtio.h
diff --git a/libc/include/generic-musl/linux/n_r3964.h b/libc/include/any-linux-any/linux/n_r3964.h
similarity index 100%
rename from libc/include/generic-musl/linux/n_r3964.h
rename to libc/include/any-linux-any/linux/n_r3964.h
diff --git a/libc/include/generic-musl/linux/nbd-netlink.h b/libc/include/any-linux-any/linux/nbd-netlink.h
similarity index 100%
rename from libc/include/generic-musl/linux/nbd-netlink.h
rename to libc/include/any-linux-any/linux/nbd-netlink.h
diff --git a/libc/include/generic-musl/linux/nbd.h b/libc/include/any-linux-any/linux/nbd.h
similarity index 100%
rename from libc/include/generic-musl/linux/nbd.h
rename to libc/include/any-linux-any/linux/nbd.h
diff --git a/libc/include/generic-musl/linux/ncsi.h b/libc/include/any-linux-any/linux/ncsi.h
similarity index 100%
rename from libc/include/generic-musl/linux/ncsi.h
rename to libc/include/any-linux-any/linux/ncsi.h
diff --git a/libc/include/generic-musl/linux/ndctl.h b/libc/include/any-linux-any/linux/ndctl.h
similarity index 100%
rename from libc/include/generic-musl/linux/ndctl.h
rename to libc/include/any-linux-any/linux/ndctl.h
diff --git a/libc/include/generic-musl/linux/neighbour.h b/libc/include/any-linux-any/linux/neighbour.h
similarity index 100%
rename from libc/include/generic-musl/linux/neighbour.h
rename to libc/include/any-linux-any/linux/neighbour.h
diff --git a/libc/include/generic-musl/linux/net.h b/libc/include/any-linux-any/linux/net.h
similarity index 100%
rename from libc/include/generic-musl/linux/net.h
rename to libc/include/any-linux-any/linux/net.h
diff --git a/libc/include/generic-musl/linux/net_dropmon.h b/libc/include/any-linux-any/linux/net_dropmon.h
similarity index 100%
rename from libc/include/generic-musl/linux/net_dropmon.h
rename to libc/include/any-linux-any/linux/net_dropmon.h
diff --git a/libc/include/generic-musl/linux/net_namespace.h b/libc/include/any-linux-any/linux/net_namespace.h
similarity index 100%
rename from libc/include/generic-musl/linux/net_namespace.h
rename to libc/include/any-linux-any/linux/net_namespace.h
diff --git a/libc/include/generic-musl/linux/net_tstamp.h b/libc/include/any-linux-any/linux/net_tstamp.h
similarity index 100%
rename from libc/include/generic-musl/linux/net_tstamp.h
rename to libc/include/any-linux-any/linux/net_tstamp.h
diff --git a/libc/include/generic-musl/linux/netconf.h b/libc/include/any-linux-any/linux/netconf.h
similarity index 100%
rename from libc/include/generic-musl/linux/netconf.h
rename to libc/include/any-linux-any/linux/netconf.h
diff --git a/libc/include/generic-musl/linux/netdevice.h b/libc/include/any-linux-any/linux/netdevice.h
similarity index 100%
rename from libc/include/generic-musl/linux/netdevice.h
rename to libc/include/any-linux-any/linux/netdevice.h
diff --git a/libc/include/generic-musl/linux/netfilter.h b/libc/include/any-linux-any/linux/netfilter.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter.h
rename to libc/include/any-linux-any/linux/netfilter.h
diff --git a/libc/include/generic-musl/linux/netfilter/ipset/ip_set.h b/libc/include/any-linux-any/linux/netfilter/ipset/ip_set.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/ipset/ip_set.h
rename to libc/include/any-linux-any/linux/netfilter/ipset/ip_set.h
diff --git a/libc/include/generic-musl/linux/netfilter/ipset/ip_set_bitmap.h b/libc/include/any-linux-any/linux/netfilter/ipset/ip_set_bitmap.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/ipset/ip_set_bitmap.h
rename to libc/include/any-linux-any/linux/netfilter/ipset/ip_set_bitmap.h
diff --git a/libc/include/generic-musl/linux/netfilter/ipset/ip_set_hash.h b/libc/include/any-linux-any/linux/netfilter/ipset/ip_set_hash.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/ipset/ip_set_hash.h
rename to libc/include/any-linux-any/linux/netfilter/ipset/ip_set_hash.h
diff --git a/libc/include/generic-musl/linux/netfilter/ipset/ip_set_list.h b/libc/include/any-linux-any/linux/netfilter/ipset/ip_set_list.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/ipset/ip_set_list.h
rename to libc/include/any-linux-any/linux/netfilter/ipset/ip_set_list.h
diff --git a/libc/include/generic-musl/linux/netfilter/nf_conntrack_common.h b/libc/include/any-linux-any/linux/netfilter/nf_conntrack_common.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/nf_conntrack_common.h
rename to libc/include/any-linux-any/linux/netfilter/nf_conntrack_common.h
diff --git a/libc/include/generic-musl/linux/netfilter/nf_conntrack_ftp.h b/libc/include/any-linux-any/linux/netfilter/nf_conntrack_ftp.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/nf_conntrack_ftp.h
rename to libc/include/any-linux-any/linux/netfilter/nf_conntrack_ftp.h
diff --git a/libc/include/generic-musl/linux/netfilter/nf_conntrack_sctp.h b/libc/include/any-linux-any/linux/netfilter/nf_conntrack_sctp.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/nf_conntrack_sctp.h
rename to libc/include/any-linux-any/linux/netfilter/nf_conntrack_sctp.h
diff --git a/libc/include/generic-musl/linux/netfilter/nf_conntrack_tcp.h b/libc/include/any-linux-any/linux/netfilter/nf_conntrack_tcp.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/nf_conntrack_tcp.h
rename to libc/include/any-linux-any/linux/netfilter/nf_conntrack_tcp.h
diff --git a/libc/include/generic-musl/linux/netfilter/nf_conntrack_tuple_common.h b/libc/include/any-linux-any/linux/netfilter/nf_conntrack_tuple_common.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/nf_conntrack_tuple_common.h
rename to libc/include/any-linux-any/linux/netfilter/nf_conntrack_tuple_common.h
diff --git a/libc/include/generic-musl/linux/netfilter/nf_log.h b/libc/include/any-linux-any/linux/netfilter/nf_log.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/nf_log.h
rename to libc/include/any-linux-any/linux/netfilter/nf_log.h
diff --git a/libc/include/generic-musl/linux/netfilter/nf_nat.h b/libc/include/any-linux-any/linux/netfilter/nf_nat.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/nf_nat.h
rename to libc/include/any-linux-any/linux/netfilter/nf_nat.h
diff --git a/libc/include/generic-musl/linux/netfilter/nf_tables.h b/libc/include/any-linux-any/linux/netfilter/nf_tables.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/nf_tables.h
rename to libc/include/any-linux-any/linux/netfilter/nf_tables.h
diff --git a/libc/include/generic-musl/linux/netfilter/nf_tables_compat.h b/libc/include/any-linux-any/linux/netfilter/nf_tables_compat.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/nf_tables_compat.h
rename to libc/include/any-linux-any/linux/netfilter/nf_tables_compat.h
diff --git a/libc/include/generic-musl/linux/netfilter/nfnetlink.h b/libc/include/any-linux-any/linux/netfilter/nfnetlink.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/nfnetlink.h
rename to libc/include/any-linux-any/linux/netfilter/nfnetlink.h
diff --git a/libc/include/generic-musl/linux/netfilter/nfnetlink_acct.h b/libc/include/any-linux-any/linux/netfilter/nfnetlink_acct.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/nfnetlink_acct.h
rename to libc/include/any-linux-any/linux/netfilter/nfnetlink_acct.h
diff --git a/libc/include/generic-musl/linux/netfilter/nfnetlink_compat.h b/libc/include/any-linux-any/linux/netfilter/nfnetlink_compat.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/nfnetlink_compat.h
rename to libc/include/any-linux-any/linux/netfilter/nfnetlink_compat.h
diff --git a/libc/include/generic-musl/linux/netfilter/nfnetlink_conntrack.h b/libc/include/any-linux-any/linux/netfilter/nfnetlink_conntrack.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/nfnetlink_conntrack.h
rename to libc/include/any-linux-any/linux/netfilter/nfnetlink_conntrack.h
diff --git a/libc/include/generic-musl/linux/netfilter/nfnetlink_cthelper.h b/libc/include/any-linux-any/linux/netfilter/nfnetlink_cthelper.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/nfnetlink_cthelper.h
rename to libc/include/any-linux-any/linux/netfilter/nfnetlink_cthelper.h
diff --git a/libc/include/generic-musl/linux/netfilter/nfnetlink_cttimeout.h b/libc/include/any-linux-any/linux/netfilter/nfnetlink_cttimeout.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/nfnetlink_cttimeout.h
rename to libc/include/any-linux-any/linux/netfilter/nfnetlink_cttimeout.h
diff --git a/libc/include/generic-musl/linux/netfilter/nfnetlink_log.h b/libc/include/any-linux-any/linux/netfilter/nfnetlink_log.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/nfnetlink_log.h
rename to libc/include/any-linux-any/linux/netfilter/nfnetlink_log.h
diff --git a/libc/include/generic-musl/linux/netfilter/nfnetlink_osf.h b/libc/include/any-linux-any/linux/netfilter/nfnetlink_osf.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/nfnetlink_osf.h
rename to libc/include/any-linux-any/linux/netfilter/nfnetlink_osf.h
diff --git a/libc/include/generic-musl/linux/netfilter/nfnetlink_queue.h b/libc/include/any-linux-any/linux/netfilter/nfnetlink_queue.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/nfnetlink_queue.h
rename to libc/include/any-linux-any/linux/netfilter/nfnetlink_queue.h
diff --git a/libc/include/generic-musl/linux/netfilter/x_tables.h b/libc/include/any-linux-any/linux/netfilter/x_tables.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/x_tables.h
rename to libc/include/any-linux-any/linux/netfilter/x_tables.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_AUDIT.h b/libc/include/any-linux-any/linux/netfilter/xt_AUDIT.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_AUDIT.h
rename to libc/include/any-linux-any/linux/netfilter/xt_AUDIT.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_CHECKSUM.h b/libc/include/any-linux-any/linux/netfilter/xt_CHECKSUM.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_CHECKSUM.h
rename to libc/include/any-linux-any/linux/netfilter/xt_CHECKSUM.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_CLASSIFY.h b/libc/include/any-linux-any/linux/netfilter/xt_CLASSIFY.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_CLASSIFY.h
rename to libc/include/any-linux-any/linux/netfilter/xt_CLASSIFY.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_CONNSECMARK.h b/libc/include/any-linux-any/linux/netfilter/xt_CONNSECMARK.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_CONNSECMARK.h
rename to libc/include/any-linux-any/linux/netfilter/xt_CONNSECMARK.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_CT.h b/libc/include/any-linux-any/linux/netfilter/xt_CT.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_CT.h
rename to libc/include/any-linux-any/linux/netfilter/xt_CT.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_HMARK.h b/libc/include/any-linux-any/linux/netfilter/xt_HMARK.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_HMARK.h
rename to libc/include/any-linux-any/linux/netfilter/xt_HMARK.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_IDLETIMER.h b/libc/include/any-linux-any/linux/netfilter/xt_IDLETIMER.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_IDLETIMER.h
rename to libc/include/any-linux-any/linux/netfilter/xt_IDLETIMER.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_LED.h b/libc/include/any-linux-any/linux/netfilter/xt_LED.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_LED.h
rename to libc/include/any-linux-any/linux/netfilter/xt_LED.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_LOG.h b/libc/include/any-linux-any/linux/netfilter/xt_LOG.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_LOG.h
rename to libc/include/any-linux-any/linux/netfilter/xt_LOG.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_NFLOG.h b/libc/include/any-linux-any/linux/netfilter/xt_NFLOG.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_NFLOG.h
rename to libc/include/any-linux-any/linux/netfilter/xt_NFLOG.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_NFQUEUE.h b/libc/include/any-linux-any/linux/netfilter/xt_NFQUEUE.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_NFQUEUE.h
rename to libc/include/any-linux-any/linux/netfilter/xt_NFQUEUE.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_SECMARK.h b/libc/include/any-linux-any/linux/netfilter/xt_SECMARK.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_SECMARK.h
rename to libc/include/any-linux-any/linux/netfilter/xt_SECMARK.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_SYNPROXY.h b/libc/include/any-linux-any/linux/netfilter/xt_SYNPROXY.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_SYNPROXY.h
rename to libc/include/any-linux-any/linux/netfilter/xt_SYNPROXY.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_TCPOPTSTRIP.h b/libc/include/any-linux-any/linux/netfilter/xt_TCPOPTSTRIP.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_TCPOPTSTRIP.h
rename to libc/include/any-linux-any/linux/netfilter/xt_TCPOPTSTRIP.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_TEE.h b/libc/include/any-linux-any/linux/netfilter/xt_TEE.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_TEE.h
rename to libc/include/any-linux-any/linux/netfilter/xt_TEE.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_TPROXY.h b/libc/include/any-linux-any/linux/netfilter/xt_TPROXY.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_TPROXY.h
rename to libc/include/any-linux-any/linux/netfilter/xt_TPROXY.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_addrtype.h b/libc/include/any-linux-any/linux/netfilter/xt_addrtype.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_addrtype.h
rename to libc/include/any-linux-any/linux/netfilter/xt_addrtype.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_bpf.h b/libc/include/any-linux-any/linux/netfilter/xt_bpf.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_bpf.h
rename to libc/include/any-linux-any/linux/netfilter/xt_bpf.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_cgroup.h b/libc/include/any-linux-any/linux/netfilter/xt_cgroup.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_cgroup.h
rename to libc/include/any-linux-any/linux/netfilter/xt_cgroup.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_cluster.h b/libc/include/any-linux-any/linux/netfilter/xt_cluster.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_cluster.h
rename to libc/include/any-linux-any/linux/netfilter/xt_cluster.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_comment.h b/libc/include/any-linux-any/linux/netfilter/xt_comment.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_comment.h
rename to libc/include/any-linux-any/linux/netfilter/xt_comment.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_connbytes.h b/libc/include/any-linux-any/linux/netfilter/xt_connbytes.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_connbytes.h
rename to libc/include/any-linux-any/linux/netfilter/xt_connbytes.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_connlabel.h b/libc/include/any-linux-any/linux/netfilter/xt_connlabel.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_connlabel.h
rename to libc/include/any-linux-any/linux/netfilter/xt_connlabel.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_connlimit.h b/libc/include/any-linux-any/linux/netfilter/xt_connlimit.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_connlimit.h
rename to libc/include/any-linux-any/linux/netfilter/xt_connlimit.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_connmark.h b/libc/include/any-linux-any/linux/netfilter/xt_connmark.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_connmark.h
rename to libc/include/any-linux-any/linux/netfilter/xt_connmark.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_conntrack.h b/libc/include/any-linux-any/linux/netfilter/xt_conntrack.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_conntrack.h
rename to libc/include/any-linux-any/linux/netfilter/xt_conntrack.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_cpu.h b/libc/include/any-linux-any/linux/netfilter/xt_cpu.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_cpu.h
rename to libc/include/any-linux-any/linux/netfilter/xt_cpu.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_dccp.h b/libc/include/any-linux-any/linux/netfilter/xt_dccp.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_dccp.h
rename to libc/include/any-linux-any/linux/netfilter/xt_dccp.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_devgroup.h b/libc/include/any-linux-any/linux/netfilter/xt_devgroup.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_devgroup.h
rename to libc/include/any-linux-any/linux/netfilter/xt_devgroup.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_dscp.h b/libc/include/any-linux-any/linux/netfilter/xt_dscp.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_dscp.h
rename to libc/include/any-linux-any/linux/netfilter/xt_dscp.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_ecn.h b/libc/include/any-linux-any/linux/netfilter/xt_ecn.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_ecn.h
rename to libc/include/any-linux-any/linux/netfilter/xt_ecn.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_esp.h b/libc/include/any-linux-any/linux/netfilter/xt_esp.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_esp.h
rename to libc/include/any-linux-any/linux/netfilter/xt_esp.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_hashlimit.h b/libc/include/any-linux-any/linux/netfilter/xt_hashlimit.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_hashlimit.h
rename to libc/include/any-linux-any/linux/netfilter/xt_hashlimit.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_helper.h b/libc/include/any-linux-any/linux/netfilter/xt_helper.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_helper.h
rename to libc/include/any-linux-any/linux/netfilter/xt_helper.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_ipcomp.h b/libc/include/any-linux-any/linux/netfilter/xt_ipcomp.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_ipcomp.h
rename to libc/include/any-linux-any/linux/netfilter/xt_ipcomp.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_iprange.h b/libc/include/any-linux-any/linux/netfilter/xt_iprange.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_iprange.h
rename to libc/include/any-linux-any/linux/netfilter/xt_iprange.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_ipvs.h b/libc/include/any-linux-any/linux/netfilter/xt_ipvs.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_ipvs.h
rename to libc/include/any-linux-any/linux/netfilter/xt_ipvs.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_l2tp.h b/libc/include/any-linux-any/linux/netfilter/xt_l2tp.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_l2tp.h
rename to libc/include/any-linux-any/linux/netfilter/xt_l2tp.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_length.h b/libc/include/any-linux-any/linux/netfilter/xt_length.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_length.h
rename to libc/include/any-linux-any/linux/netfilter/xt_length.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_limit.h b/libc/include/any-linux-any/linux/netfilter/xt_limit.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_limit.h
rename to libc/include/any-linux-any/linux/netfilter/xt_limit.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_mac.h b/libc/include/any-linux-any/linux/netfilter/xt_mac.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_mac.h
rename to libc/include/any-linux-any/linux/netfilter/xt_mac.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_mark.h b/libc/include/any-linux-any/linux/netfilter/xt_mark.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_mark.h
rename to libc/include/any-linux-any/linux/netfilter/xt_mark.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_multiport.h b/libc/include/any-linux-any/linux/netfilter/xt_multiport.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_multiport.h
rename to libc/include/any-linux-any/linux/netfilter/xt_multiport.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_nfacct.h b/libc/include/any-linux-any/linux/netfilter/xt_nfacct.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_nfacct.h
rename to libc/include/any-linux-any/linux/netfilter/xt_nfacct.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_osf.h b/libc/include/any-linux-any/linux/netfilter/xt_osf.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_osf.h
rename to libc/include/any-linux-any/linux/netfilter/xt_osf.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_owner.h b/libc/include/any-linux-any/linux/netfilter/xt_owner.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_owner.h
rename to libc/include/any-linux-any/linux/netfilter/xt_owner.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_physdev.h b/libc/include/any-linux-any/linux/netfilter/xt_physdev.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_physdev.h
rename to libc/include/any-linux-any/linux/netfilter/xt_physdev.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_pkttype.h b/libc/include/any-linux-any/linux/netfilter/xt_pkttype.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_pkttype.h
rename to libc/include/any-linux-any/linux/netfilter/xt_pkttype.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_policy.h b/libc/include/any-linux-any/linux/netfilter/xt_policy.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_policy.h
rename to libc/include/any-linux-any/linux/netfilter/xt_policy.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_quota.h b/libc/include/any-linux-any/linux/netfilter/xt_quota.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_quota.h
rename to libc/include/any-linux-any/linux/netfilter/xt_quota.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_rateest.h b/libc/include/any-linux-any/linux/netfilter/xt_rateest.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_rateest.h
rename to libc/include/any-linux-any/linux/netfilter/xt_rateest.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_realm.h b/libc/include/any-linux-any/linux/netfilter/xt_realm.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_realm.h
rename to libc/include/any-linux-any/linux/netfilter/xt_realm.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_recent.h b/libc/include/any-linux-any/linux/netfilter/xt_recent.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_recent.h
rename to libc/include/any-linux-any/linux/netfilter/xt_recent.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_rpfilter.h b/libc/include/any-linux-any/linux/netfilter/xt_rpfilter.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_rpfilter.h
rename to libc/include/any-linux-any/linux/netfilter/xt_rpfilter.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_sctp.h b/libc/include/any-linux-any/linux/netfilter/xt_sctp.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_sctp.h
rename to libc/include/any-linux-any/linux/netfilter/xt_sctp.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_set.h b/libc/include/any-linux-any/linux/netfilter/xt_set.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_set.h
rename to libc/include/any-linux-any/linux/netfilter/xt_set.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_socket.h b/libc/include/any-linux-any/linux/netfilter/xt_socket.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_socket.h
rename to libc/include/any-linux-any/linux/netfilter/xt_socket.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_state.h b/libc/include/any-linux-any/linux/netfilter/xt_state.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_state.h
rename to libc/include/any-linux-any/linux/netfilter/xt_state.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_statistic.h b/libc/include/any-linux-any/linux/netfilter/xt_statistic.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_statistic.h
rename to libc/include/any-linux-any/linux/netfilter/xt_statistic.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_string.h b/libc/include/any-linux-any/linux/netfilter/xt_string.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_string.h
rename to libc/include/any-linux-any/linux/netfilter/xt_string.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_tcpmss.h b/libc/include/any-linux-any/linux/netfilter/xt_tcpmss.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_tcpmss.h
rename to libc/include/any-linux-any/linux/netfilter/xt_tcpmss.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_tcpudp.h b/libc/include/any-linux-any/linux/netfilter/xt_tcpudp.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_tcpudp.h
rename to libc/include/any-linux-any/linux/netfilter/xt_tcpudp.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_time.h b/libc/include/any-linux-any/linux/netfilter/xt_time.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_time.h
rename to libc/include/any-linux-any/linux/netfilter/xt_time.h
diff --git a/libc/include/generic-musl/linux/netfilter/xt_u32.h b/libc/include/any-linux-any/linux/netfilter/xt_u32.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter/xt_u32.h
rename to libc/include/any-linux-any/linux/netfilter/xt_u32.h
diff --git a/libc/include/generic-musl/linux/netfilter_arp.h b/libc/include/any-linux-any/linux/netfilter_arp.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_arp.h
rename to libc/include/any-linux-any/linux/netfilter_arp.h
diff --git a/libc/include/generic-musl/linux/netfilter_arp/arp_tables.h b/libc/include/any-linux-any/linux/netfilter_arp/arp_tables.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_arp/arp_tables.h
rename to libc/include/any-linux-any/linux/netfilter_arp/arp_tables.h
diff --git a/libc/include/generic-musl/linux/netfilter_arp/arpt_mangle.h b/libc/include/any-linux-any/linux/netfilter_arp/arpt_mangle.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_arp/arpt_mangle.h
rename to libc/include/any-linux-any/linux/netfilter_arp/arpt_mangle.h
diff --git a/libc/include/generic-musl/linux/netfilter_bridge.h b/libc/include/any-linux-any/linux/netfilter_bridge.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_bridge.h
rename to libc/include/any-linux-any/linux/netfilter_bridge.h
diff --git a/libc/include/generic-musl/linux/netfilter_bridge/ebt_802_3.h b/libc/include/any-linux-any/linux/netfilter_bridge/ebt_802_3.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_bridge/ebt_802_3.h
rename to libc/include/any-linux-any/linux/netfilter_bridge/ebt_802_3.h
diff --git a/libc/include/generic-musl/linux/netfilter_bridge/ebt_among.h b/libc/include/any-linux-any/linux/netfilter_bridge/ebt_among.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_bridge/ebt_among.h
rename to libc/include/any-linux-any/linux/netfilter_bridge/ebt_among.h
diff --git a/libc/include/generic-musl/linux/netfilter_bridge/ebt_arp.h b/libc/include/any-linux-any/linux/netfilter_bridge/ebt_arp.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_bridge/ebt_arp.h
rename to libc/include/any-linux-any/linux/netfilter_bridge/ebt_arp.h
diff --git a/libc/include/generic-musl/linux/netfilter_bridge/ebt_arpreply.h b/libc/include/any-linux-any/linux/netfilter_bridge/ebt_arpreply.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_bridge/ebt_arpreply.h
rename to libc/include/any-linux-any/linux/netfilter_bridge/ebt_arpreply.h
diff --git a/libc/include/generic-musl/linux/netfilter_bridge/ebt_ip.h b/libc/include/any-linux-any/linux/netfilter_bridge/ebt_ip.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_bridge/ebt_ip.h
rename to libc/include/any-linux-any/linux/netfilter_bridge/ebt_ip.h
diff --git a/libc/include/generic-musl/linux/netfilter_bridge/ebt_ip6.h b/libc/include/any-linux-any/linux/netfilter_bridge/ebt_ip6.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_bridge/ebt_ip6.h
rename to libc/include/any-linux-any/linux/netfilter_bridge/ebt_ip6.h
diff --git a/libc/include/generic-musl/linux/netfilter_bridge/ebt_limit.h b/libc/include/any-linux-any/linux/netfilter_bridge/ebt_limit.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_bridge/ebt_limit.h
rename to libc/include/any-linux-any/linux/netfilter_bridge/ebt_limit.h
diff --git a/libc/include/generic-musl/linux/netfilter_bridge/ebt_log.h b/libc/include/any-linux-any/linux/netfilter_bridge/ebt_log.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_bridge/ebt_log.h
rename to libc/include/any-linux-any/linux/netfilter_bridge/ebt_log.h
diff --git a/libc/include/generic-musl/linux/netfilter_bridge/ebt_mark_m.h b/libc/include/any-linux-any/linux/netfilter_bridge/ebt_mark_m.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_bridge/ebt_mark_m.h
rename to libc/include/any-linux-any/linux/netfilter_bridge/ebt_mark_m.h
diff --git a/libc/include/generic-musl/linux/netfilter_bridge/ebt_mark_t.h b/libc/include/any-linux-any/linux/netfilter_bridge/ebt_mark_t.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_bridge/ebt_mark_t.h
rename to libc/include/any-linux-any/linux/netfilter_bridge/ebt_mark_t.h
diff --git a/libc/include/generic-musl/linux/netfilter_bridge/ebt_nat.h b/libc/include/any-linux-any/linux/netfilter_bridge/ebt_nat.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_bridge/ebt_nat.h
rename to libc/include/any-linux-any/linux/netfilter_bridge/ebt_nat.h
diff --git a/libc/include/generic-musl/linux/netfilter_bridge/ebt_nflog.h b/libc/include/any-linux-any/linux/netfilter_bridge/ebt_nflog.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_bridge/ebt_nflog.h
rename to libc/include/any-linux-any/linux/netfilter_bridge/ebt_nflog.h
diff --git a/libc/include/generic-musl/linux/netfilter_bridge/ebt_pkttype.h b/libc/include/any-linux-any/linux/netfilter_bridge/ebt_pkttype.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_bridge/ebt_pkttype.h
rename to libc/include/any-linux-any/linux/netfilter_bridge/ebt_pkttype.h
diff --git a/libc/include/generic-musl/linux/netfilter_bridge/ebt_redirect.h b/libc/include/any-linux-any/linux/netfilter_bridge/ebt_redirect.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_bridge/ebt_redirect.h
rename to libc/include/any-linux-any/linux/netfilter_bridge/ebt_redirect.h
diff --git a/libc/include/generic-musl/linux/netfilter_bridge/ebt_stp.h b/libc/include/any-linux-any/linux/netfilter_bridge/ebt_stp.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_bridge/ebt_stp.h
rename to libc/include/any-linux-any/linux/netfilter_bridge/ebt_stp.h
diff --git a/libc/include/generic-musl/linux/netfilter_bridge/ebt_vlan.h b/libc/include/any-linux-any/linux/netfilter_bridge/ebt_vlan.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_bridge/ebt_vlan.h
rename to libc/include/any-linux-any/linux/netfilter_bridge/ebt_vlan.h
diff --git a/libc/include/generic-musl/linux/netfilter_bridge/ebtables.h b/libc/include/any-linux-any/linux/netfilter_bridge/ebtables.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_bridge/ebtables.h
rename to libc/include/any-linux-any/linux/netfilter_bridge/ebtables.h
diff --git a/libc/include/generic-musl/linux/netfilter_decnet.h b/libc/include/any-linux-any/linux/netfilter_decnet.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_decnet.h
rename to libc/include/any-linux-any/linux/netfilter_decnet.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv4.h b/libc/include/any-linux-any/linux/netfilter_ipv4.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv4.h
rename to libc/include/any-linux-any/linux/netfilter_ipv4.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv4/ip_tables.h b/libc/include/any-linux-any/linux/netfilter_ipv4/ip_tables.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv4/ip_tables.h
rename to libc/include/any-linux-any/linux/netfilter_ipv4/ip_tables.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv4/ipt_CLUSTERIP.h b/libc/include/any-linux-any/linux/netfilter_ipv4/ipt_CLUSTERIP.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv4/ipt_CLUSTERIP.h
rename to libc/include/any-linux-any/linux/netfilter_ipv4/ipt_CLUSTERIP.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv4/ipt_LOG.h b/libc/include/any-linux-any/linux/netfilter_ipv4/ipt_LOG.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv4/ipt_LOG.h
rename to libc/include/any-linux-any/linux/netfilter_ipv4/ipt_LOG.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv4/ipt_REJECT.h b/libc/include/any-linux-any/linux/netfilter_ipv4/ipt_REJECT.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv4/ipt_REJECT.h
rename to libc/include/any-linux-any/linux/netfilter_ipv4/ipt_REJECT.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv4/ipt_ah.h b/libc/include/any-linux-any/linux/netfilter_ipv4/ipt_ah.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv4/ipt_ah.h
rename to libc/include/any-linux-any/linux/netfilter_ipv4/ipt_ah.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv4/ipt_ecn.h b/libc/include/any-linux-any/linux/netfilter_ipv4/ipt_ecn.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv4/ipt_ecn.h
rename to libc/include/any-linux-any/linux/netfilter_ipv4/ipt_ecn.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv4/ipt_ttl.h b/libc/include/any-linux-any/linux/netfilter_ipv4/ipt_ttl.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv4/ipt_ttl.h
rename to libc/include/any-linux-any/linux/netfilter_ipv4/ipt_ttl.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv6.h b/libc/include/any-linux-any/linux/netfilter_ipv6.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv6.h
rename to libc/include/any-linux-any/linux/netfilter_ipv6.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv6/ip6_tables.h b/libc/include/any-linux-any/linux/netfilter_ipv6/ip6_tables.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv6/ip6_tables.h
rename to libc/include/any-linux-any/linux/netfilter_ipv6/ip6_tables.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv6/ip6t_LOG.h b/libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_LOG.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv6/ip6t_LOG.h
rename to libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_LOG.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv6/ip6t_NPT.h b/libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_NPT.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv6/ip6t_NPT.h
rename to libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_NPT.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv6/ip6t_REJECT.h b/libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_REJECT.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv6/ip6t_REJECT.h
rename to libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_REJECT.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv6/ip6t_ah.h b/libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_ah.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv6/ip6t_ah.h
rename to libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_ah.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv6/ip6t_frag.h b/libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_frag.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv6/ip6t_frag.h
rename to libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_frag.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv6/ip6t_hl.h b/libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_hl.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv6/ip6t_hl.h
rename to libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_hl.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv6/ip6t_ipv6header.h b/libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_ipv6header.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv6/ip6t_ipv6header.h
rename to libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_ipv6header.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv6/ip6t_mh.h b/libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_mh.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv6/ip6t_mh.h
rename to libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_mh.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv6/ip6t_opts.h b/libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_opts.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv6/ip6t_opts.h
rename to libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_opts.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv6/ip6t_rt.h b/libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_rt.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv6/ip6t_rt.h
rename to libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_rt.h
diff --git a/libc/include/generic-musl/linux/netfilter_ipv6/ip6t_srh.h b/libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_srh.h
similarity index 100%
rename from libc/include/generic-musl/linux/netfilter_ipv6/ip6t_srh.h
rename to libc/include/any-linux-any/linux/netfilter_ipv6/ip6t_srh.h
diff --git a/libc/include/generic-musl/linux/netlink.h b/libc/include/any-linux-any/linux/netlink.h
similarity index 100%
rename from libc/include/generic-musl/linux/netlink.h
rename to libc/include/any-linux-any/linux/netlink.h
diff --git a/libc/include/generic-musl/linux/netlink_diag.h b/libc/include/any-linux-any/linux/netlink_diag.h
similarity index 100%
rename from libc/include/generic-musl/linux/netlink_diag.h
rename to libc/include/any-linux-any/linux/netlink_diag.h
diff --git a/libc/include/generic-musl/linux/netrom.h b/libc/include/any-linux-any/linux/netrom.h
similarity index 100%
rename from libc/include/generic-musl/linux/netrom.h
rename to libc/include/any-linux-any/linux/netrom.h
diff --git a/libc/include/generic-musl/linux/nfc.h b/libc/include/any-linux-any/linux/nfc.h
similarity index 100%
rename from libc/include/generic-musl/linux/nfc.h
rename to libc/include/any-linux-any/linux/nfc.h
diff --git a/libc/include/generic-musl/linux/nfs.h b/libc/include/any-linux-any/linux/nfs.h
similarity index 100%
rename from libc/include/generic-musl/linux/nfs.h
rename to libc/include/any-linux-any/linux/nfs.h
diff --git a/libc/include/generic-musl/linux/nfs2.h b/libc/include/any-linux-any/linux/nfs2.h
similarity index 100%
rename from libc/include/generic-musl/linux/nfs2.h
rename to libc/include/any-linux-any/linux/nfs2.h
diff --git a/libc/include/generic-musl/linux/nfs3.h b/libc/include/any-linux-any/linux/nfs3.h
similarity index 100%
rename from libc/include/generic-musl/linux/nfs3.h
rename to libc/include/any-linux-any/linux/nfs3.h
diff --git a/libc/include/generic-musl/linux/nfs4.h b/libc/include/any-linux-any/linux/nfs4.h
similarity index 100%
rename from libc/include/generic-musl/linux/nfs4.h
rename to libc/include/any-linux-any/linux/nfs4.h
diff --git a/libc/include/generic-musl/linux/nfs4_mount.h b/libc/include/any-linux-any/linux/nfs4_mount.h
similarity index 100%
rename from libc/include/generic-musl/linux/nfs4_mount.h
rename to libc/include/any-linux-any/linux/nfs4_mount.h
diff --git a/libc/include/generic-musl/linux/nfs_fs.h b/libc/include/any-linux-any/linux/nfs_fs.h
similarity index 100%
rename from libc/include/generic-musl/linux/nfs_fs.h
rename to libc/include/any-linux-any/linux/nfs_fs.h
diff --git a/libc/include/generic-musl/linux/nfs_idmap.h b/libc/include/any-linux-any/linux/nfs_idmap.h
similarity index 100%
rename from libc/include/generic-musl/linux/nfs_idmap.h
rename to libc/include/any-linux-any/linux/nfs_idmap.h
diff --git a/libc/include/generic-musl/linux/nfs_mount.h b/libc/include/any-linux-any/linux/nfs_mount.h
similarity index 100%
rename from libc/include/generic-musl/linux/nfs_mount.h
rename to libc/include/any-linux-any/linux/nfs_mount.h
diff --git a/libc/include/generic-musl/linux/nfsacl.h b/libc/include/any-linux-any/linux/nfsacl.h
similarity index 100%
rename from libc/include/generic-musl/linux/nfsacl.h
rename to libc/include/any-linux-any/linux/nfsacl.h
diff --git a/libc/include/generic-musl/linux/nfsd/cld.h b/libc/include/any-linux-any/linux/nfsd/cld.h
similarity index 100%
rename from libc/include/generic-musl/linux/nfsd/cld.h
rename to libc/include/any-linux-any/linux/nfsd/cld.h
diff --git a/libc/include/generic-musl/linux/nfsd/debug.h b/libc/include/any-linux-any/linux/nfsd/debug.h
similarity index 100%
rename from libc/include/generic-musl/linux/nfsd/debug.h
rename to libc/include/any-linux-any/linux/nfsd/debug.h
diff --git a/libc/include/generic-musl/linux/nfsd/export.h b/libc/include/any-linux-any/linux/nfsd/export.h
similarity index 100%
rename from libc/include/generic-musl/linux/nfsd/export.h
rename to libc/include/any-linux-any/linux/nfsd/export.h
diff --git a/libc/include/generic-musl/linux/nfsd/nfsfh.h b/libc/include/any-linux-any/linux/nfsd/nfsfh.h
similarity index 100%
rename from libc/include/generic-musl/linux/nfsd/nfsfh.h
rename to libc/include/any-linux-any/linux/nfsd/nfsfh.h
diff --git a/libc/include/generic-musl/linux/nfsd/stats.h b/libc/include/any-linux-any/linux/nfsd/stats.h
similarity index 100%
rename from libc/include/generic-musl/linux/nfsd/stats.h
rename to libc/include/any-linux-any/linux/nfsd/stats.h
diff --git a/libc/include/generic-musl/linux/nilfs2_api.h b/libc/include/any-linux-any/linux/nilfs2_api.h
similarity index 100%
rename from libc/include/generic-musl/linux/nilfs2_api.h
rename to libc/include/any-linux-any/linux/nilfs2_api.h
diff --git a/libc/include/generic-musl/linux/nilfs2_ondisk.h b/libc/include/any-linux-any/linux/nilfs2_ondisk.h
similarity index 100%
rename from libc/include/generic-musl/linux/nilfs2_ondisk.h
rename to libc/include/any-linux-any/linux/nilfs2_ondisk.h
diff --git a/libc/include/generic-musl/linux/nl80211.h b/libc/include/any-linux-any/linux/nl80211.h
similarity index 100%
rename from libc/include/generic-musl/linux/nl80211.h
rename to libc/include/any-linux-any/linux/nl80211.h
diff --git a/libc/include/generic-musl/linux/nsfs.h b/libc/include/any-linux-any/linux/nsfs.h
similarity index 100%
rename from libc/include/generic-musl/linux/nsfs.h
rename to libc/include/any-linux-any/linux/nsfs.h
diff --git a/libc/include/generic-musl/linux/nubus.h b/libc/include/any-linux-any/linux/nubus.h
similarity index 100%
rename from libc/include/generic-musl/linux/nubus.h
rename to libc/include/any-linux-any/linux/nubus.h
diff --git a/libc/include/generic-musl/linux/nvme_ioctl.h b/libc/include/any-linux-any/linux/nvme_ioctl.h
similarity index 100%
rename from libc/include/generic-musl/linux/nvme_ioctl.h
rename to libc/include/any-linux-any/linux/nvme_ioctl.h
diff --git a/libc/include/generic-musl/linux/nvram.h b/libc/include/any-linux-any/linux/nvram.h
similarity index 100%
rename from libc/include/generic-musl/linux/nvram.h
rename to libc/include/any-linux-any/linux/nvram.h
diff --git a/libc/include/generic-musl/linux/omap3isp.h b/libc/include/any-linux-any/linux/omap3isp.h
similarity index 100%
rename from libc/include/generic-musl/linux/omap3isp.h
rename to libc/include/any-linux-any/linux/omap3isp.h
diff --git a/libc/include/generic-musl/linux/omapfb.h b/libc/include/any-linux-any/linux/omapfb.h
similarity index 100%
rename from libc/include/generic-musl/linux/omapfb.h
rename to libc/include/any-linux-any/linux/omapfb.h
diff --git a/libc/include/generic-musl/linux/oom.h b/libc/include/any-linux-any/linux/oom.h
similarity index 100%
rename from libc/include/generic-musl/linux/oom.h
rename to libc/include/any-linux-any/linux/oom.h
diff --git a/libc/include/generic-musl/linux/openvswitch.h b/libc/include/any-linux-any/linux/openvswitch.h
similarity index 100%
rename from libc/include/generic-musl/linux/openvswitch.h
rename to libc/include/any-linux-any/linux/openvswitch.h
diff --git a/libc/include/generic-musl/linux/packet_diag.h b/libc/include/any-linux-any/linux/packet_diag.h
similarity index 100%
rename from libc/include/generic-musl/linux/packet_diag.h
rename to libc/include/any-linux-any/linux/packet_diag.h
diff --git a/libc/include/generic-musl/linux/param.h b/libc/include/any-linux-any/linux/param.h
similarity index 100%
rename from libc/include/generic-musl/linux/param.h
rename to libc/include/any-linux-any/linux/param.h
diff --git a/libc/include/generic-musl/linux/parport.h b/libc/include/any-linux-any/linux/parport.h
similarity index 100%
rename from libc/include/generic-musl/linux/parport.h
rename to libc/include/any-linux-any/linux/parport.h
diff --git a/libc/include/generic-musl/linux/patchkey.h b/libc/include/any-linux-any/linux/patchkey.h
similarity index 100%
rename from libc/include/generic-musl/linux/patchkey.h
rename to libc/include/any-linux-any/linux/patchkey.h
diff --git a/libc/include/generic-musl/linux/pci.h b/libc/include/any-linux-any/linux/pci.h
similarity index 100%
rename from libc/include/generic-musl/linux/pci.h
rename to libc/include/any-linux-any/linux/pci.h
diff --git a/libc/include/generic-musl/linux/pci_regs.h b/libc/include/any-linux-any/linux/pci_regs.h
similarity index 100%
rename from libc/include/generic-musl/linux/pci_regs.h
rename to libc/include/any-linux-any/linux/pci_regs.h
diff --git a/libc/include/generic-musl/linux/pcitest.h b/libc/include/any-linux-any/linux/pcitest.h
similarity index 100%
rename from libc/include/generic-musl/linux/pcitest.h
rename to libc/include/any-linux-any/linux/pcitest.h
diff --git a/libc/include/generic-musl/linux/perf_event.h b/libc/include/any-linux-any/linux/perf_event.h
similarity index 100%
rename from libc/include/generic-musl/linux/perf_event.h
rename to libc/include/any-linux-any/linux/perf_event.h
diff --git a/libc/include/generic-musl/linux/personality.h b/libc/include/any-linux-any/linux/personality.h
similarity index 100%
rename from libc/include/generic-musl/linux/personality.h
rename to libc/include/any-linux-any/linux/personality.h
diff --git a/libc/include/generic-musl/linux/pfkeyv2.h b/libc/include/any-linux-any/linux/pfkeyv2.h
similarity index 100%
rename from libc/include/generic-musl/linux/pfkeyv2.h
rename to libc/include/any-linux-any/linux/pfkeyv2.h
diff --git a/libc/include/generic-musl/linux/pg.h b/libc/include/any-linux-any/linux/pg.h
similarity index 100%
rename from libc/include/generic-musl/linux/pg.h
rename to libc/include/any-linux-any/linux/pg.h
diff --git a/libc/include/generic-musl/linux/phantom.h b/libc/include/any-linux-any/linux/phantom.h
similarity index 100%
rename from libc/include/generic-musl/linux/phantom.h
rename to libc/include/any-linux-any/linux/phantom.h
diff --git a/libc/include/generic-musl/linux/phonet.h b/libc/include/any-linux-any/linux/phonet.h
similarity index 100%
rename from libc/include/generic-musl/linux/phonet.h
rename to libc/include/any-linux-any/linux/phonet.h
diff --git a/libc/include/generic-musl/linux/pkt_cls.h b/libc/include/any-linux-any/linux/pkt_cls.h
similarity index 100%
rename from libc/include/generic-musl/linux/pkt_cls.h
rename to libc/include/any-linux-any/linux/pkt_cls.h
diff --git a/libc/include/generic-musl/linux/pkt_sched.h b/libc/include/any-linux-any/linux/pkt_sched.h
similarity index 100%
rename from libc/include/generic-musl/linux/pkt_sched.h
rename to libc/include/any-linux-any/linux/pkt_sched.h
diff --git a/libc/include/generic-musl/linux/pktcdvd.h b/libc/include/any-linux-any/linux/pktcdvd.h
similarity index 100%
rename from libc/include/generic-musl/linux/pktcdvd.h
rename to libc/include/any-linux-any/linux/pktcdvd.h
diff --git a/libc/include/generic-musl/linux/pmu.h b/libc/include/any-linux-any/linux/pmu.h
similarity index 100%
rename from libc/include/generic-musl/linux/pmu.h
rename to libc/include/any-linux-any/linux/pmu.h
diff --git a/libc/include/generic-musl/linux/poll.h b/libc/include/any-linux-any/linux/poll.h
similarity index 100%
rename from libc/include/generic-musl/linux/poll.h
rename to libc/include/any-linux-any/linux/poll.h
diff --git a/libc/include/generic-musl/linux/posix_acl.h b/libc/include/any-linux-any/linux/posix_acl.h
similarity index 100%
rename from libc/include/generic-musl/linux/posix_acl.h
rename to libc/include/any-linux-any/linux/posix_acl.h
diff --git a/libc/include/generic-musl/linux/posix_acl_xattr.h b/libc/include/any-linux-any/linux/posix_acl_xattr.h
similarity index 100%
rename from libc/include/generic-musl/linux/posix_acl_xattr.h
rename to libc/include/any-linux-any/linux/posix_acl_xattr.h
diff --git a/libc/include/generic-musl/linux/posix_types.h b/libc/include/any-linux-any/linux/posix_types.h
similarity index 100%
rename from libc/include/generic-musl/linux/posix_types.h
rename to libc/include/any-linux-any/linux/posix_types.h
diff --git a/libc/include/generic-musl/linux/ppdev.h b/libc/include/any-linux-any/linux/ppdev.h
similarity index 100%
rename from libc/include/generic-musl/linux/ppdev.h
rename to libc/include/any-linux-any/linux/ppdev.h
diff --git a/libc/include/generic-musl/linux/ppp-comp.h b/libc/include/any-linux-any/linux/ppp-comp.h
similarity index 100%
rename from libc/include/generic-musl/linux/ppp-comp.h
rename to libc/include/any-linux-any/linux/ppp-comp.h
diff --git a/libc/include/generic-musl/linux/ppp-ioctl.h b/libc/include/any-linux-any/linux/ppp-ioctl.h
similarity index 100%
rename from libc/include/generic-musl/linux/ppp-ioctl.h
rename to libc/include/any-linux-any/linux/ppp-ioctl.h
diff --git a/libc/include/generic-musl/linux/ppp_defs.h b/libc/include/any-linux-any/linux/ppp_defs.h
similarity index 100%
rename from libc/include/generic-musl/linux/ppp_defs.h
rename to libc/include/any-linux-any/linux/ppp_defs.h
diff --git a/libc/include/generic-musl/linux/pps.h b/libc/include/any-linux-any/linux/pps.h
similarity index 100%
rename from libc/include/generic-musl/linux/pps.h
rename to libc/include/any-linux-any/linux/pps.h
diff --git a/libc/include/generic-musl/linux/pr.h b/libc/include/any-linux-any/linux/pr.h
similarity index 100%
rename from libc/include/generic-musl/linux/pr.h
rename to libc/include/any-linux-any/linux/pr.h
diff --git a/libc/include/generic-musl/linux/prctl.h b/libc/include/any-linux-any/linux/prctl.h
similarity index 100%
rename from libc/include/generic-musl/linux/prctl.h
rename to libc/include/any-linux-any/linux/prctl.h
diff --git a/libc/include/generic-musl/linux/psample.h b/libc/include/any-linux-any/linux/psample.h
similarity index 100%
rename from libc/include/generic-musl/linux/psample.h
rename to libc/include/any-linux-any/linux/psample.h
diff --git a/libc/include/generic-musl/linux/psci.h b/libc/include/any-linux-any/linux/psci.h
similarity index 100%
rename from libc/include/generic-musl/linux/psci.h
rename to libc/include/any-linux-any/linux/psci.h
diff --git a/libc/include/generic-musl/linux/psp-sev.h b/libc/include/any-linux-any/linux/psp-sev.h
similarity index 100%
rename from libc/include/generic-musl/linux/psp-sev.h
rename to libc/include/any-linux-any/linux/psp-sev.h
diff --git a/libc/include/generic-musl/linux/ptp_clock.h b/libc/include/any-linux-any/linux/ptp_clock.h
similarity index 100%
rename from libc/include/generic-musl/linux/ptp_clock.h
rename to libc/include/any-linux-any/linux/ptp_clock.h
diff --git a/libc/include/generic-musl/linux/ptrace.h b/libc/include/any-linux-any/linux/ptrace.h
similarity index 100%
rename from libc/include/generic-musl/linux/ptrace.h
rename to libc/include/any-linux-any/linux/ptrace.h
diff --git a/libc/include/generic-musl/linux/qemu_fw_cfg.h b/libc/include/any-linux-any/linux/qemu_fw_cfg.h
similarity index 100%
rename from libc/include/generic-musl/linux/qemu_fw_cfg.h
rename to libc/include/any-linux-any/linux/qemu_fw_cfg.h
diff --git a/libc/include/generic-musl/linux/qnx4_fs.h b/libc/include/any-linux-any/linux/qnx4_fs.h
similarity index 100%
rename from libc/include/generic-musl/linux/qnx4_fs.h
rename to libc/include/any-linux-any/linux/qnx4_fs.h
diff --git a/libc/include/generic-musl/linux/qnxtypes.h b/libc/include/any-linux-any/linux/qnxtypes.h
similarity index 100%
rename from libc/include/generic-musl/linux/qnxtypes.h
rename to libc/include/any-linux-any/linux/qnxtypes.h
diff --git a/libc/include/generic-musl/linux/qrtr.h b/libc/include/any-linux-any/linux/qrtr.h
similarity index 100%
rename from libc/include/generic-musl/linux/qrtr.h
rename to libc/include/any-linux-any/linux/qrtr.h
diff --git a/libc/include/generic-musl/linux/quota.h b/libc/include/any-linux-any/linux/quota.h
similarity index 100%
rename from libc/include/generic-musl/linux/quota.h
rename to libc/include/any-linux-any/linux/quota.h
diff --git a/libc/include/generic-musl/linux/radeonfb.h b/libc/include/any-linux-any/linux/radeonfb.h
similarity index 100%
rename from libc/include/generic-musl/linux/radeonfb.h
rename to libc/include/any-linux-any/linux/radeonfb.h
diff --git a/libc/include/generic-musl/linux/raid/md_p.h b/libc/include/any-linux-any/linux/raid/md_p.h
similarity index 100%
rename from libc/include/generic-musl/linux/raid/md_p.h
rename to libc/include/any-linux-any/linux/raid/md_p.h
diff --git a/libc/include/generic-musl/linux/raid/md_u.h b/libc/include/any-linux-any/linux/raid/md_u.h
similarity index 100%
rename from libc/include/generic-musl/linux/raid/md_u.h
rename to libc/include/any-linux-any/linux/raid/md_u.h
diff --git a/libc/include/generic-musl/linux/random.h b/libc/include/any-linux-any/linux/random.h
similarity index 100%
rename from libc/include/generic-musl/linux/random.h
rename to libc/include/any-linux-any/linux/random.h
diff --git a/libc/include/generic-musl/linux/raw.h b/libc/include/any-linux-any/linux/raw.h
similarity index 100%
rename from libc/include/generic-musl/linux/raw.h
rename to libc/include/any-linux-any/linux/raw.h
diff --git a/libc/include/generic-musl/linux/rds.h b/libc/include/any-linux-any/linux/rds.h
similarity index 100%
rename from libc/include/generic-musl/linux/rds.h
rename to libc/include/any-linux-any/linux/rds.h
diff --git a/libc/include/generic-musl/linux/reboot.h b/libc/include/any-linux-any/linux/reboot.h
similarity index 100%
rename from libc/include/generic-musl/linux/reboot.h
rename to libc/include/any-linux-any/linux/reboot.h
diff --git a/libc/include/generic-musl/linux/reiserfs_fs.h b/libc/include/any-linux-any/linux/reiserfs_fs.h
similarity index 100%
rename from libc/include/generic-musl/linux/reiserfs_fs.h
rename to libc/include/any-linux-any/linux/reiserfs_fs.h
diff --git a/libc/include/generic-musl/linux/reiserfs_xattr.h b/libc/include/any-linux-any/linux/reiserfs_xattr.h
similarity index 100%
rename from libc/include/generic-musl/linux/reiserfs_xattr.h
rename to libc/include/any-linux-any/linux/reiserfs_xattr.h
diff --git a/libc/include/generic-musl/linux/resource.h b/libc/include/any-linux-any/linux/resource.h
similarity index 100%
rename from libc/include/generic-musl/linux/resource.h
rename to libc/include/any-linux-any/linux/resource.h
diff --git a/libc/include/generic-musl/linux/rfkill.h b/libc/include/any-linux-any/linux/rfkill.h
similarity index 100%
rename from libc/include/generic-musl/linux/rfkill.h
rename to libc/include/any-linux-any/linux/rfkill.h
diff --git a/libc/include/generic-musl/linux/rio_cm_cdev.h b/libc/include/any-linux-any/linux/rio_cm_cdev.h
similarity index 100%
rename from libc/include/generic-musl/linux/rio_cm_cdev.h
rename to libc/include/any-linux-any/linux/rio_cm_cdev.h
diff --git a/libc/include/generic-musl/linux/rio_mport_cdev.h b/libc/include/any-linux-any/linux/rio_mport_cdev.h
similarity index 100%
rename from libc/include/generic-musl/linux/rio_mport_cdev.h
rename to libc/include/any-linux-any/linux/rio_mport_cdev.h
diff --git a/libc/include/generic-musl/linux/romfs_fs.h b/libc/include/any-linux-any/linux/romfs_fs.h
similarity index 100%
rename from libc/include/generic-musl/linux/romfs_fs.h
rename to libc/include/any-linux-any/linux/romfs_fs.h
diff --git a/libc/include/generic-musl/linux/rose.h b/libc/include/any-linux-any/linux/rose.h
similarity index 100%
rename from libc/include/generic-musl/linux/rose.h
rename to libc/include/any-linux-any/linux/rose.h
diff --git a/libc/include/generic-musl/linux/route.h b/libc/include/any-linux-any/linux/route.h
similarity index 100%
rename from libc/include/generic-musl/linux/route.h
rename to libc/include/any-linux-any/linux/route.h
diff --git a/libc/include/generic-musl/linux/rpmsg.h b/libc/include/any-linux-any/linux/rpmsg.h
similarity index 100%
rename from libc/include/generic-musl/linux/rpmsg.h
rename to libc/include/any-linux-any/linux/rpmsg.h
diff --git a/libc/include/generic-musl/linux/rseq.h b/libc/include/any-linux-any/linux/rseq.h
similarity index 100%
rename from libc/include/generic-musl/linux/rseq.h
rename to libc/include/any-linux-any/linux/rseq.h
diff --git a/libc/include/generic-musl/linux/rtc.h b/libc/include/any-linux-any/linux/rtc.h
similarity index 100%
rename from libc/include/generic-musl/linux/rtc.h
rename to libc/include/any-linux-any/linux/rtc.h
diff --git a/libc/include/generic-musl/linux/rtnetlink.h b/libc/include/any-linux-any/linux/rtnetlink.h
similarity index 100%
rename from libc/include/generic-musl/linux/rtnetlink.h
rename to libc/include/any-linux-any/linux/rtnetlink.h
diff --git a/libc/include/generic-musl/linux/rxrpc.h b/libc/include/any-linux-any/linux/rxrpc.h
similarity index 100%
rename from libc/include/generic-musl/linux/rxrpc.h
rename to libc/include/any-linux-any/linux/rxrpc.h
diff --git a/libc/include/generic-musl/linux/scc.h b/libc/include/any-linux-any/linux/scc.h
similarity index 100%
rename from libc/include/generic-musl/linux/scc.h
rename to libc/include/any-linux-any/linux/scc.h
diff --git a/libc/include/generic-musl/linux/sched.h b/libc/include/any-linux-any/linux/sched.h
similarity index 100%
rename from libc/include/generic-musl/linux/sched.h
rename to libc/include/any-linux-any/linux/sched.h
diff --git a/libc/include/generic-musl/linux/sched/types.h b/libc/include/any-linux-any/linux/sched/types.h
similarity index 100%
rename from libc/include/generic-musl/linux/sched/types.h
rename to libc/include/any-linux-any/linux/sched/types.h
diff --git a/libc/include/generic-musl/linux/scif_ioctl.h b/libc/include/any-linux-any/linux/scif_ioctl.h
similarity index 100%
rename from libc/include/generic-musl/linux/scif_ioctl.h
rename to libc/include/any-linux-any/linux/scif_ioctl.h
diff --git a/libc/include/generic-musl/linux/screen_info.h b/libc/include/any-linux-any/linux/screen_info.h
similarity index 100%
rename from libc/include/generic-musl/linux/screen_info.h
rename to libc/include/any-linux-any/linux/screen_info.h
diff --git a/libc/include/generic-musl/linux/sctp.h b/libc/include/any-linux-any/linux/sctp.h
similarity index 100%
rename from libc/include/generic-musl/linux/sctp.h
rename to libc/include/any-linux-any/linux/sctp.h
diff --git a/libc/include/generic-musl/linux/sdla.h b/libc/include/any-linux-any/linux/sdla.h
similarity index 100%
rename from libc/include/generic-musl/linux/sdla.h
rename to libc/include/any-linux-any/linux/sdla.h
diff --git a/libc/include/generic-musl/linux/seccomp.h b/libc/include/any-linux-any/linux/seccomp.h
similarity index 100%
rename from libc/include/generic-musl/linux/seccomp.h
rename to libc/include/any-linux-any/linux/seccomp.h
diff --git a/libc/include/generic-musl/linux/securebits.h b/libc/include/any-linux-any/linux/securebits.h
similarity index 100%
rename from libc/include/generic-musl/linux/securebits.h
rename to libc/include/any-linux-any/linux/securebits.h
diff --git a/libc/include/generic-musl/linux/sed-opal.h b/libc/include/any-linux-any/linux/sed-opal.h
similarity index 100%
rename from libc/include/generic-musl/linux/sed-opal.h
rename to libc/include/any-linux-any/linux/sed-opal.h
diff --git a/libc/include/generic-musl/linux/seg6.h b/libc/include/any-linux-any/linux/seg6.h
similarity index 100%
rename from libc/include/generic-musl/linux/seg6.h
rename to libc/include/any-linux-any/linux/seg6.h
diff --git a/libc/include/generic-musl/linux/seg6_genl.h b/libc/include/any-linux-any/linux/seg6_genl.h
similarity index 100%
rename from libc/include/generic-musl/linux/seg6_genl.h
rename to libc/include/any-linux-any/linux/seg6_genl.h
diff --git a/libc/include/generic-musl/linux/seg6_hmac.h b/libc/include/any-linux-any/linux/seg6_hmac.h
similarity index 100%
rename from libc/include/generic-musl/linux/seg6_hmac.h
rename to libc/include/any-linux-any/linux/seg6_hmac.h
diff --git a/libc/include/generic-musl/linux/seg6_iptunnel.h b/libc/include/any-linux-any/linux/seg6_iptunnel.h
similarity index 100%
rename from libc/include/generic-musl/linux/seg6_iptunnel.h
rename to libc/include/any-linux-any/linux/seg6_iptunnel.h
diff --git a/libc/include/generic-musl/linux/seg6_local.h b/libc/include/any-linux-any/linux/seg6_local.h
similarity index 100%
rename from libc/include/generic-musl/linux/seg6_local.h
rename to libc/include/any-linux-any/linux/seg6_local.h
diff --git a/libc/include/generic-musl/linux/selinux_netlink.h b/libc/include/any-linux-any/linux/selinux_netlink.h
similarity index 100%
rename from libc/include/generic-musl/linux/selinux_netlink.h
rename to libc/include/any-linux-any/linux/selinux_netlink.h
diff --git a/libc/include/generic-musl/linux/sem.h b/libc/include/any-linux-any/linux/sem.h
similarity index 100%
rename from libc/include/generic-musl/linux/sem.h
rename to libc/include/any-linux-any/linux/sem.h
diff --git a/libc/include/generic-musl/linux/serial.h b/libc/include/any-linux-any/linux/serial.h
similarity index 100%
rename from libc/include/generic-musl/linux/serial.h
rename to libc/include/any-linux-any/linux/serial.h
diff --git a/libc/include/generic-musl/linux/serial_core.h b/libc/include/any-linux-any/linux/serial_core.h
similarity index 100%
rename from libc/include/generic-musl/linux/serial_core.h
rename to libc/include/any-linux-any/linux/serial_core.h
diff --git a/libc/include/generic-musl/linux/serial_reg.h b/libc/include/any-linux-any/linux/serial_reg.h
similarity index 100%
rename from libc/include/generic-musl/linux/serial_reg.h
rename to libc/include/any-linux-any/linux/serial_reg.h
diff --git a/libc/include/generic-musl/linux/serio.h b/libc/include/any-linux-any/linux/serio.h
similarity index 100%
rename from libc/include/generic-musl/linux/serio.h
rename to libc/include/any-linux-any/linux/serio.h
diff --git a/libc/include/generic-musl/linux/shm.h b/libc/include/any-linux-any/linux/shm.h
similarity index 100%
rename from libc/include/generic-musl/linux/shm.h
rename to libc/include/any-linux-any/linux/shm.h
diff --git a/libc/include/generic-musl/linux/signal.h b/libc/include/any-linux-any/linux/signal.h
similarity index 100%
rename from libc/include/generic-musl/linux/signal.h
rename to libc/include/any-linux-any/linux/signal.h
diff --git a/libc/include/generic-musl/linux/signalfd.h b/libc/include/any-linux-any/linux/signalfd.h
similarity index 100%
rename from libc/include/generic-musl/linux/signalfd.h
rename to libc/include/any-linux-any/linux/signalfd.h
diff --git a/libc/include/generic-musl/linux/smc.h b/libc/include/any-linux-any/linux/smc.h
similarity index 100%
rename from libc/include/generic-musl/linux/smc.h
rename to libc/include/any-linux-any/linux/smc.h
diff --git a/libc/include/generic-musl/linux/smc_diag.h b/libc/include/any-linux-any/linux/smc_diag.h
similarity index 100%
rename from libc/include/generic-musl/linux/smc_diag.h
rename to libc/include/any-linux-any/linux/smc_diag.h
diff --git a/libc/include/generic-musl/linux/smiapp.h b/libc/include/any-linux-any/linux/smiapp.h
similarity index 100%
rename from libc/include/generic-musl/linux/smiapp.h
rename to libc/include/any-linux-any/linux/smiapp.h
diff --git a/libc/include/generic-musl/linux/snmp.h b/libc/include/any-linux-any/linux/snmp.h
similarity index 100%
rename from libc/include/generic-musl/linux/snmp.h
rename to libc/include/any-linux-any/linux/snmp.h
diff --git a/libc/include/generic-musl/linux/sock_diag.h b/libc/include/any-linux-any/linux/sock_diag.h
similarity index 100%
rename from libc/include/generic-musl/linux/sock_diag.h
rename to libc/include/any-linux-any/linux/sock_diag.h
diff --git a/libc/include/generic-musl/linux/socket.h b/libc/include/any-linux-any/linux/socket.h
similarity index 100%
rename from libc/include/generic-musl/linux/socket.h
rename to libc/include/any-linux-any/linux/socket.h
diff --git a/libc/include/generic-musl/linux/sockios.h b/libc/include/any-linux-any/linux/sockios.h
similarity index 100%
rename from libc/include/generic-musl/linux/sockios.h
rename to libc/include/any-linux-any/linux/sockios.h
diff --git a/libc/include/generic-musl/linux/sonet.h b/libc/include/any-linux-any/linux/sonet.h
similarity index 100%
rename from libc/include/generic-musl/linux/sonet.h
rename to libc/include/any-linux-any/linux/sonet.h
diff --git a/libc/include/generic-musl/linux/sonypi.h b/libc/include/any-linux-any/linux/sonypi.h
similarity index 100%
rename from libc/include/generic-musl/linux/sonypi.h
rename to libc/include/any-linux-any/linux/sonypi.h
diff --git a/libc/include/generic-musl/linux/sound.h b/libc/include/any-linux-any/linux/sound.h
similarity index 100%
rename from libc/include/generic-musl/linux/sound.h
rename to libc/include/any-linux-any/linux/sound.h
diff --git a/libc/include/generic-musl/linux/soundcard.h b/libc/include/any-linux-any/linux/soundcard.h
similarity index 100%
rename from libc/include/generic-musl/linux/soundcard.h
rename to libc/include/any-linux-any/linux/soundcard.h
diff --git a/libc/include/generic-musl/linux/spi/spidev.h b/libc/include/any-linux-any/linux/spi/spidev.h
similarity index 100%
rename from libc/include/generic-musl/linux/spi/spidev.h
rename to libc/include/any-linux-any/linux/spi/spidev.h
diff --git a/libc/include/generic-musl/linux/stat.h b/libc/include/any-linux-any/linux/stat.h
similarity index 100%
rename from libc/include/generic-musl/linux/stat.h
rename to libc/include/any-linux-any/linux/stat.h
diff --git a/libc/include/generic-musl/linux/stddef.h b/libc/include/any-linux-any/linux/stddef.h
similarity index 100%
rename from libc/include/generic-musl/linux/stddef.h
rename to libc/include/any-linux-any/linux/stddef.h
diff --git a/libc/include/generic-musl/linux/stm.h b/libc/include/any-linux-any/linux/stm.h
similarity index 100%
rename from libc/include/generic-musl/linux/stm.h
rename to libc/include/any-linux-any/linux/stm.h
diff --git a/libc/include/generic-musl/linux/string.h b/libc/include/any-linux-any/linux/string.h
similarity index 100%
rename from libc/include/generic-musl/linux/string.h
rename to libc/include/any-linux-any/linux/string.h
diff --git a/libc/include/generic-musl/linux/sunrpc/debug.h b/libc/include/any-linux-any/linux/sunrpc/debug.h
similarity index 100%
rename from libc/include/generic-musl/linux/sunrpc/debug.h
rename to libc/include/any-linux-any/linux/sunrpc/debug.h
diff --git a/libc/include/generic-musl/linux/suspend_ioctls.h b/libc/include/any-linux-any/linux/suspend_ioctls.h
similarity index 100%
rename from libc/include/generic-musl/linux/suspend_ioctls.h
rename to libc/include/any-linux-any/linux/suspend_ioctls.h
diff --git a/libc/include/generic-musl/linux/swab.h b/libc/include/any-linux-any/linux/swab.h
similarity index 100%
rename from libc/include/generic-musl/linux/swab.h
rename to libc/include/any-linux-any/linux/swab.h
diff --git a/libc/include/generic-musl/linux/switchtec_ioctl.h b/libc/include/any-linux-any/linux/switchtec_ioctl.h
similarity index 100%
rename from libc/include/generic-musl/linux/switchtec_ioctl.h
rename to libc/include/any-linux-any/linux/switchtec_ioctl.h
diff --git a/libc/include/generic-musl/linux/sync_file.h b/libc/include/any-linux-any/linux/sync_file.h
similarity index 100%
rename from libc/include/generic-musl/linux/sync_file.h
rename to libc/include/any-linux-any/linux/sync_file.h
diff --git a/libc/include/generic-musl/linux/synclink.h b/libc/include/any-linux-any/linux/synclink.h
similarity index 100%
rename from libc/include/generic-musl/linux/synclink.h
rename to libc/include/any-linux-any/linux/synclink.h
diff --git a/libc/include/generic-musl/linux/sysctl.h b/libc/include/any-linux-any/linux/sysctl.h
similarity index 100%
rename from libc/include/generic-musl/linux/sysctl.h
rename to libc/include/any-linux-any/linux/sysctl.h
diff --git a/libc/include/generic-musl/linux/sysinfo.h b/libc/include/any-linux-any/linux/sysinfo.h
similarity index 100%
rename from libc/include/generic-musl/linux/sysinfo.h
rename to libc/include/any-linux-any/linux/sysinfo.h
diff --git a/libc/include/generic-musl/linux/target_core_user.h b/libc/include/any-linux-any/linux/target_core_user.h
similarity index 100%
rename from libc/include/generic-musl/linux/target_core_user.h
rename to libc/include/any-linux-any/linux/target_core_user.h
diff --git a/libc/include/generic-musl/linux/taskstats.h b/libc/include/any-linux-any/linux/taskstats.h
similarity index 100%
rename from libc/include/generic-musl/linux/taskstats.h
rename to libc/include/any-linux-any/linux/taskstats.h
diff --git a/libc/include/generic-musl/linux/tc_act/tc_bpf.h b/libc/include/any-linux-any/linux/tc_act/tc_bpf.h
similarity index 100%
rename from libc/include/generic-musl/linux/tc_act/tc_bpf.h
rename to libc/include/any-linux-any/linux/tc_act/tc_bpf.h
diff --git a/libc/include/generic-musl/linux/tc_act/tc_connmark.h b/libc/include/any-linux-any/linux/tc_act/tc_connmark.h
similarity index 100%
rename from libc/include/generic-musl/linux/tc_act/tc_connmark.h
rename to libc/include/any-linux-any/linux/tc_act/tc_connmark.h
diff --git a/libc/include/generic-musl/linux/tc_act/tc_csum.h b/libc/include/any-linux-any/linux/tc_act/tc_csum.h
similarity index 100%
rename from libc/include/generic-musl/linux/tc_act/tc_csum.h
rename to libc/include/any-linux-any/linux/tc_act/tc_csum.h
diff --git a/libc/include/generic-musl/linux/tc_act/tc_defact.h b/libc/include/any-linux-any/linux/tc_act/tc_defact.h
similarity index 100%
rename from libc/include/generic-musl/linux/tc_act/tc_defact.h
rename to libc/include/any-linux-any/linux/tc_act/tc_defact.h
diff --git a/libc/include/generic-musl/linux/tc_act/tc_gact.h b/libc/include/any-linux-any/linux/tc_act/tc_gact.h
similarity index 100%
rename from libc/include/generic-musl/linux/tc_act/tc_gact.h
rename to libc/include/any-linux-any/linux/tc_act/tc_gact.h
diff --git a/libc/include/generic-musl/linux/tc_act/tc_ife.h b/libc/include/any-linux-any/linux/tc_act/tc_ife.h
similarity index 100%
rename from libc/include/generic-musl/linux/tc_act/tc_ife.h
rename to libc/include/any-linux-any/linux/tc_act/tc_ife.h
diff --git a/libc/include/generic-musl/linux/tc_act/tc_ipt.h b/libc/include/any-linux-any/linux/tc_act/tc_ipt.h
similarity index 100%
rename from libc/include/generic-musl/linux/tc_act/tc_ipt.h
rename to libc/include/any-linux-any/linux/tc_act/tc_ipt.h
diff --git a/libc/include/generic-musl/linux/tc_act/tc_mirred.h b/libc/include/any-linux-any/linux/tc_act/tc_mirred.h
similarity index 100%
rename from libc/include/generic-musl/linux/tc_act/tc_mirred.h
rename to libc/include/any-linux-any/linux/tc_act/tc_mirred.h
diff --git a/libc/include/generic-musl/linux/tc_act/tc_nat.h b/libc/include/any-linux-any/linux/tc_act/tc_nat.h
similarity index 100%
rename from libc/include/generic-musl/linux/tc_act/tc_nat.h
rename to libc/include/any-linux-any/linux/tc_act/tc_nat.h
diff --git a/libc/include/generic-musl/linux/tc_act/tc_pedit.h b/libc/include/any-linux-any/linux/tc_act/tc_pedit.h
similarity index 100%
rename from libc/include/generic-musl/linux/tc_act/tc_pedit.h
rename to libc/include/any-linux-any/linux/tc_act/tc_pedit.h
diff --git a/libc/include/generic-musl/linux/tc_act/tc_sample.h b/libc/include/any-linux-any/linux/tc_act/tc_sample.h
similarity index 100%
rename from libc/include/generic-musl/linux/tc_act/tc_sample.h
rename to libc/include/any-linux-any/linux/tc_act/tc_sample.h
diff --git a/libc/include/generic-musl/linux/tc_act/tc_skbedit.h b/libc/include/any-linux-any/linux/tc_act/tc_skbedit.h
similarity index 100%
rename from libc/include/generic-musl/linux/tc_act/tc_skbedit.h
rename to libc/include/any-linux-any/linux/tc_act/tc_skbedit.h
diff --git a/libc/include/generic-musl/linux/tc_act/tc_skbmod.h b/libc/include/any-linux-any/linux/tc_act/tc_skbmod.h
similarity index 100%
rename from libc/include/generic-musl/linux/tc_act/tc_skbmod.h
rename to libc/include/any-linux-any/linux/tc_act/tc_skbmod.h
diff --git a/libc/include/generic-musl/linux/tc_act/tc_tunnel_key.h b/libc/include/any-linux-any/linux/tc_act/tc_tunnel_key.h
similarity index 100%
rename from libc/include/generic-musl/linux/tc_act/tc_tunnel_key.h
rename to libc/include/any-linux-any/linux/tc_act/tc_tunnel_key.h
diff --git a/libc/include/generic-musl/linux/tc_act/tc_vlan.h b/libc/include/any-linux-any/linux/tc_act/tc_vlan.h
similarity index 100%
rename from libc/include/generic-musl/linux/tc_act/tc_vlan.h
rename to libc/include/any-linux-any/linux/tc_act/tc_vlan.h
diff --git a/libc/include/generic-musl/linux/tc_ematch/tc_em_cmp.h b/libc/include/any-linux-any/linux/tc_ematch/tc_em_cmp.h
similarity index 100%
rename from libc/include/generic-musl/linux/tc_ematch/tc_em_cmp.h
rename to libc/include/any-linux-any/linux/tc_ematch/tc_em_cmp.h
diff --git a/libc/include/generic-musl/linux/tc_ematch/tc_em_ipt.h b/libc/include/any-linux-any/linux/tc_ematch/tc_em_ipt.h
similarity index 100%
rename from libc/include/generic-musl/linux/tc_ematch/tc_em_ipt.h
rename to libc/include/any-linux-any/linux/tc_ematch/tc_em_ipt.h
diff --git a/libc/include/generic-musl/linux/tc_ematch/tc_em_meta.h b/libc/include/any-linux-any/linux/tc_ematch/tc_em_meta.h
similarity index 100%
rename from libc/include/generic-musl/linux/tc_ematch/tc_em_meta.h
rename to libc/include/any-linux-any/linux/tc_ematch/tc_em_meta.h
diff --git a/libc/include/generic-musl/linux/tc_ematch/tc_em_nbyte.h b/libc/include/any-linux-any/linux/tc_ematch/tc_em_nbyte.h
similarity index 100%
rename from libc/include/generic-musl/linux/tc_ematch/tc_em_nbyte.h
rename to libc/include/any-linux-any/linux/tc_ematch/tc_em_nbyte.h
diff --git a/libc/include/generic-musl/linux/tc_ematch/tc_em_text.h b/libc/include/any-linux-any/linux/tc_ematch/tc_em_text.h
similarity index 100%
rename from libc/include/generic-musl/linux/tc_ematch/tc_em_text.h
rename to libc/include/any-linux-any/linux/tc_ematch/tc_em_text.h
diff --git a/libc/include/generic-musl/linux/tcp.h b/libc/include/any-linux-any/linux/tcp.h
similarity index 100%
rename from libc/include/generic-musl/linux/tcp.h
rename to libc/include/any-linux-any/linux/tcp.h
diff --git a/libc/include/generic-musl/linux/tcp_metrics.h b/libc/include/any-linux-any/linux/tcp_metrics.h
similarity index 100%
rename from libc/include/generic-musl/linux/tcp_metrics.h
rename to libc/include/any-linux-any/linux/tcp_metrics.h
diff --git a/libc/include/generic-musl/linux/tee.h b/libc/include/any-linux-any/linux/tee.h
similarity index 100%
rename from libc/include/generic-musl/linux/tee.h
rename to libc/include/any-linux-any/linux/tee.h
diff --git a/libc/include/generic-musl/linux/termios.h b/libc/include/any-linux-any/linux/termios.h
similarity index 100%
rename from libc/include/generic-musl/linux/termios.h
rename to libc/include/any-linux-any/linux/termios.h
diff --git a/libc/include/generic-musl/linux/thermal.h b/libc/include/any-linux-any/linux/thermal.h
similarity index 100%
rename from libc/include/generic-musl/linux/thermal.h
rename to libc/include/any-linux-any/linux/thermal.h
diff --git a/libc/include/generic-musl/linux/time.h b/libc/include/any-linux-any/linux/time.h
similarity index 100%
rename from libc/include/generic-musl/linux/time.h
rename to libc/include/any-linux-any/linux/time.h
diff --git a/libc/include/generic-musl/linux/timerfd.h b/libc/include/any-linux-any/linux/timerfd.h
similarity index 100%
rename from libc/include/generic-musl/linux/timerfd.h
rename to libc/include/any-linux-any/linux/timerfd.h
diff --git a/libc/include/generic-musl/linux/times.h b/libc/include/any-linux-any/linux/times.h
similarity index 100%
rename from libc/include/generic-musl/linux/times.h
rename to libc/include/any-linux-any/linux/times.h
diff --git a/libc/include/generic-musl/linux/timex.h b/libc/include/any-linux-any/linux/timex.h
similarity index 100%
rename from libc/include/generic-musl/linux/timex.h
rename to libc/include/any-linux-any/linux/timex.h
diff --git a/libc/include/generic-musl/linux/tiocl.h b/libc/include/any-linux-any/linux/tiocl.h
similarity index 100%
rename from libc/include/generic-musl/linux/tiocl.h
rename to libc/include/any-linux-any/linux/tiocl.h
diff --git a/libc/include/generic-musl/linux/tipc.h b/libc/include/any-linux-any/linux/tipc.h
similarity index 100%
rename from libc/include/generic-musl/linux/tipc.h
rename to libc/include/any-linux-any/linux/tipc.h
diff --git a/libc/include/generic-musl/linux/tipc_config.h b/libc/include/any-linux-any/linux/tipc_config.h
similarity index 100%
rename from libc/include/generic-musl/linux/tipc_config.h
rename to libc/include/any-linux-any/linux/tipc_config.h
diff --git a/libc/include/generic-musl/linux/tipc_netlink.h b/libc/include/any-linux-any/linux/tipc_netlink.h
similarity index 100%
rename from libc/include/generic-musl/linux/tipc_netlink.h
rename to libc/include/any-linux-any/linux/tipc_netlink.h
diff --git a/libc/include/generic-musl/linux/tipc_sockets_diag.h b/libc/include/any-linux-any/linux/tipc_sockets_diag.h
similarity index 100%
rename from libc/include/generic-musl/linux/tipc_sockets_diag.h
rename to libc/include/any-linux-any/linux/tipc_sockets_diag.h
diff --git a/libc/include/generic-musl/linux/tls.h b/libc/include/any-linux-any/linux/tls.h
similarity index 100%
rename from libc/include/generic-musl/linux/tls.h
rename to libc/include/any-linux-any/linux/tls.h
diff --git a/libc/include/generic-musl/linux/toshiba.h b/libc/include/any-linux-any/linux/toshiba.h
similarity index 100%
rename from libc/include/generic-musl/linux/toshiba.h
rename to libc/include/any-linux-any/linux/toshiba.h
diff --git a/libc/include/generic-musl/linux/tty.h b/libc/include/any-linux-any/linux/tty.h
similarity index 100%
rename from libc/include/generic-musl/linux/tty.h
rename to libc/include/any-linux-any/linux/tty.h
diff --git a/libc/include/generic-musl/linux/tty_flags.h b/libc/include/any-linux-any/linux/tty_flags.h
similarity index 100%
rename from libc/include/generic-musl/linux/tty_flags.h
rename to libc/include/any-linux-any/linux/tty_flags.h
diff --git a/libc/include/generic-musl/linux/types.h b/libc/include/any-linux-any/linux/types.h
similarity index 100%
rename from libc/include/generic-musl/linux/types.h
rename to libc/include/any-linux-any/linux/types.h
diff --git a/libc/include/generic-musl/linux/udf_fs_i.h b/libc/include/any-linux-any/linux/udf_fs_i.h
similarity index 100%
rename from libc/include/generic-musl/linux/udf_fs_i.h
rename to libc/include/any-linux-any/linux/udf_fs_i.h
diff --git a/libc/include/generic-musl/linux/udp.h b/libc/include/any-linux-any/linux/udp.h
similarity index 100%
rename from libc/include/generic-musl/linux/udp.h
rename to libc/include/any-linux-any/linux/udp.h
diff --git a/libc/include/generic-musl/linux/uhid.h b/libc/include/any-linux-any/linux/uhid.h
similarity index 100%
rename from libc/include/generic-musl/linux/uhid.h
rename to libc/include/any-linux-any/linux/uhid.h
diff --git a/libc/include/generic-musl/linux/uinput.h b/libc/include/any-linux-any/linux/uinput.h
similarity index 100%
rename from libc/include/generic-musl/linux/uinput.h
rename to libc/include/any-linux-any/linux/uinput.h
diff --git a/libc/include/generic-musl/linux/uio.h b/libc/include/any-linux-any/linux/uio.h
similarity index 100%
rename from libc/include/generic-musl/linux/uio.h
rename to libc/include/any-linux-any/linux/uio.h
diff --git a/libc/include/generic-musl/linux/uleds.h b/libc/include/any-linux-any/linux/uleds.h
similarity index 100%
rename from libc/include/generic-musl/linux/uleds.h
rename to libc/include/any-linux-any/linux/uleds.h
diff --git a/libc/include/generic-musl/linux/ultrasound.h b/libc/include/any-linux-any/linux/ultrasound.h
similarity index 100%
rename from libc/include/generic-musl/linux/ultrasound.h
rename to libc/include/any-linux-any/linux/ultrasound.h
diff --git a/libc/include/generic-musl/linux/un.h b/libc/include/any-linux-any/linux/un.h
similarity index 100%
rename from libc/include/generic-musl/linux/un.h
rename to libc/include/any-linux-any/linux/un.h
diff --git a/libc/include/generic-musl/linux/unistd.h b/libc/include/any-linux-any/linux/unistd.h
similarity index 100%
rename from libc/include/generic-musl/linux/unistd.h
rename to libc/include/any-linux-any/linux/unistd.h
diff --git a/libc/include/generic-musl/linux/unix_diag.h b/libc/include/any-linux-any/linux/unix_diag.h
similarity index 100%
rename from libc/include/generic-musl/linux/unix_diag.h
rename to libc/include/any-linux-any/linux/unix_diag.h
diff --git a/libc/include/generic-musl/linux/usb/audio.h b/libc/include/any-linux-any/linux/usb/audio.h
similarity index 100%
rename from libc/include/generic-musl/linux/usb/audio.h
rename to libc/include/any-linux-any/linux/usb/audio.h
diff --git a/libc/include/generic-musl/linux/usb/cdc-wdm.h b/libc/include/any-linux-any/linux/usb/cdc-wdm.h
similarity index 100%
rename from libc/include/generic-musl/linux/usb/cdc-wdm.h
rename to libc/include/any-linux-any/linux/usb/cdc-wdm.h
diff --git a/libc/include/generic-musl/linux/usb/cdc.h b/libc/include/any-linux-any/linux/usb/cdc.h
similarity index 100%
rename from libc/include/generic-musl/linux/usb/cdc.h
rename to libc/include/any-linux-any/linux/usb/cdc.h
diff --git a/libc/include/generic-musl/linux/usb/ch11.h b/libc/include/any-linux-any/linux/usb/ch11.h
similarity index 100%
rename from libc/include/generic-musl/linux/usb/ch11.h
rename to libc/include/any-linux-any/linux/usb/ch11.h
diff --git a/libc/include/generic-musl/linux/usb/ch9.h b/libc/include/any-linux-any/linux/usb/ch9.h
similarity index 100%
rename from libc/include/generic-musl/linux/usb/ch9.h
rename to libc/include/any-linux-any/linux/usb/ch9.h
diff --git a/libc/include/generic-musl/linux/usb/charger.h b/libc/include/any-linux-any/linux/usb/charger.h
similarity index 100%
rename from libc/include/generic-musl/linux/usb/charger.h
rename to libc/include/any-linux-any/linux/usb/charger.h
diff --git a/libc/include/generic-musl/linux/usb/functionfs.h b/libc/include/any-linux-any/linux/usb/functionfs.h
similarity index 100%
rename from libc/include/generic-musl/linux/usb/functionfs.h
rename to libc/include/any-linux-any/linux/usb/functionfs.h
diff --git a/libc/include/generic-musl/linux/usb/g_printer.h b/libc/include/any-linux-any/linux/usb/g_printer.h
similarity index 100%
rename from libc/include/generic-musl/linux/usb/g_printer.h
rename to libc/include/any-linux-any/linux/usb/g_printer.h
diff --git a/libc/include/generic-musl/linux/usb/g_uvc.h b/libc/include/any-linux-any/linux/usb/g_uvc.h
similarity index 100%
rename from libc/include/generic-musl/linux/usb/g_uvc.h
rename to libc/include/any-linux-any/linux/usb/g_uvc.h
diff --git a/libc/include/generic-musl/linux/usb/gadgetfs.h b/libc/include/any-linux-any/linux/usb/gadgetfs.h
similarity index 100%
rename from libc/include/generic-musl/linux/usb/gadgetfs.h
rename to libc/include/any-linux-any/linux/usb/gadgetfs.h
diff --git a/libc/include/generic-musl/linux/usb/midi.h b/libc/include/any-linux-any/linux/usb/midi.h
similarity index 100%
rename from libc/include/generic-musl/linux/usb/midi.h
rename to libc/include/any-linux-any/linux/usb/midi.h
diff --git a/libc/include/generic-musl/linux/usb/tmc.h b/libc/include/any-linux-any/linux/usb/tmc.h
similarity index 100%
rename from libc/include/generic-musl/linux/usb/tmc.h
rename to libc/include/any-linux-any/linux/usb/tmc.h
diff --git a/libc/include/generic-musl/linux/usb/video.h b/libc/include/any-linux-any/linux/usb/video.h
similarity index 100%
rename from libc/include/generic-musl/linux/usb/video.h
rename to libc/include/any-linux-any/linux/usb/video.h
diff --git a/libc/include/generic-musl/linux/usbdevice_fs.h b/libc/include/any-linux-any/linux/usbdevice_fs.h
similarity index 100%
rename from libc/include/generic-musl/linux/usbdevice_fs.h
rename to libc/include/any-linux-any/linux/usbdevice_fs.h
diff --git a/libc/include/generic-musl/linux/usbip.h b/libc/include/any-linux-any/linux/usbip.h
similarity index 100%
rename from libc/include/generic-musl/linux/usbip.h
rename to libc/include/any-linux-any/linux/usbip.h
diff --git a/libc/include/generic-musl/linux/userfaultfd.h b/libc/include/any-linux-any/linux/userfaultfd.h
similarity index 100%
rename from libc/include/generic-musl/linux/userfaultfd.h
rename to libc/include/any-linux-any/linux/userfaultfd.h
diff --git a/libc/include/generic-musl/linux/userio.h b/libc/include/any-linux-any/linux/userio.h
similarity index 100%
rename from libc/include/generic-musl/linux/userio.h
rename to libc/include/any-linux-any/linux/userio.h
diff --git a/libc/include/generic-musl/linux/utime.h b/libc/include/any-linux-any/linux/utime.h
similarity index 100%
rename from libc/include/generic-musl/linux/utime.h
rename to libc/include/any-linux-any/linux/utime.h
diff --git a/libc/include/generic-musl/linux/utsname.h b/libc/include/any-linux-any/linux/utsname.h
similarity index 100%
rename from libc/include/generic-musl/linux/utsname.h
rename to libc/include/any-linux-any/linux/utsname.h
diff --git a/libc/include/generic-musl/linux/uuid.h b/libc/include/any-linux-any/linux/uuid.h
similarity index 100%
rename from libc/include/generic-musl/linux/uuid.h
rename to libc/include/any-linux-any/linux/uuid.h
diff --git a/libc/include/generic-musl/linux/uvcvideo.h b/libc/include/any-linux-any/linux/uvcvideo.h
similarity index 100%
rename from libc/include/generic-musl/linux/uvcvideo.h
rename to libc/include/any-linux-any/linux/uvcvideo.h
diff --git a/libc/include/generic-musl/linux/v4l2-common.h b/libc/include/any-linux-any/linux/v4l2-common.h
similarity index 100%
rename from libc/include/generic-musl/linux/v4l2-common.h
rename to libc/include/any-linux-any/linux/v4l2-common.h
diff --git a/libc/include/generic-musl/linux/v4l2-controls.h b/libc/include/any-linux-any/linux/v4l2-controls.h
similarity index 100%
rename from libc/include/generic-musl/linux/v4l2-controls.h
rename to libc/include/any-linux-any/linux/v4l2-controls.h
diff --git a/libc/include/generic-musl/linux/v4l2-dv-timings.h b/libc/include/any-linux-any/linux/v4l2-dv-timings.h
similarity index 100%
rename from libc/include/generic-musl/linux/v4l2-dv-timings.h
rename to libc/include/any-linux-any/linux/v4l2-dv-timings.h
diff --git a/libc/include/generic-musl/linux/v4l2-mediabus.h b/libc/include/any-linux-any/linux/v4l2-mediabus.h
similarity index 100%
rename from libc/include/generic-musl/linux/v4l2-mediabus.h
rename to libc/include/any-linux-any/linux/v4l2-mediabus.h
diff --git a/libc/include/generic-musl/linux/v4l2-subdev.h b/libc/include/any-linux-any/linux/v4l2-subdev.h
similarity index 100%
rename from libc/include/generic-musl/linux/v4l2-subdev.h
rename to libc/include/any-linux-any/linux/v4l2-subdev.h
diff --git a/libc/include/generic-musl/linux/vbox_err.h b/libc/include/any-linux-any/linux/vbox_err.h
similarity index 100%
rename from libc/include/generic-musl/linux/vbox_err.h
rename to libc/include/any-linux-any/linux/vbox_err.h
diff --git a/libc/include/generic-musl/linux/vbox_vmmdev_types.h b/libc/include/any-linux-any/linux/vbox_vmmdev_types.h
similarity index 100%
rename from libc/include/generic-musl/linux/vbox_vmmdev_types.h
rename to libc/include/any-linux-any/linux/vbox_vmmdev_types.h
diff --git a/libc/include/generic-musl/linux/vboxguest.h b/libc/include/any-linux-any/linux/vboxguest.h
similarity index 100%
rename from libc/include/generic-musl/linux/vboxguest.h
rename to libc/include/any-linux-any/linux/vboxguest.h
diff --git a/libc/include/generic-musl/linux/version.h b/libc/include/any-linux-any/linux/version.h
similarity index 100%
rename from libc/include/generic-musl/linux/version.h
rename to libc/include/any-linux-any/linux/version.h
diff --git a/libc/include/generic-musl/linux/veth.h b/libc/include/any-linux-any/linux/veth.h
similarity index 100%
rename from libc/include/generic-musl/linux/veth.h
rename to libc/include/any-linux-any/linux/veth.h
diff --git a/libc/include/generic-musl/linux/vfio.h b/libc/include/any-linux-any/linux/vfio.h
similarity index 100%
rename from libc/include/generic-musl/linux/vfio.h
rename to libc/include/any-linux-any/linux/vfio.h
diff --git a/libc/include/generic-musl/linux/vfio_ccw.h b/libc/include/any-linux-any/linux/vfio_ccw.h
similarity index 100%
rename from libc/include/generic-musl/linux/vfio_ccw.h
rename to libc/include/any-linux-any/linux/vfio_ccw.h
diff --git a/libc/include/generic-musl/linux/vhost.h b/libc/include/any-linux-any/linux/vhost.h
similarity index 100%
rename from libc/include/generic-musl/linux/vhost.h
rename to libc/include/any-linux-any/linux/vhost.h
diff --git a/libc/include/generic-musl/linux/videodev2.h b/libc/include/any-linux-any/linux/videodev2.h
similarity index 100%
rename from libc/include/generic-musl/linux/videodev2.h
rename to libc/include/any-linux-any/linux/videodev2.h
diff --git a/libc/include/generic-musl/linux/virtio_9p.h b/libc/include/any-linux-any/linux/virtio_9p.h
similarity index 100%
rename from libc/include/generic-musl/linux/virtio_9p.h
rename to libc/include/any-linux-any/linux/virtio_9p.h
diff --git a/libc/include/generic-musl/linux/virtio_balloon.h b/libc/include/any-linux-any/linux/virtio_balloon.h
similarity index 100%
rename from libc/include/generic-musl/linux/virtio_balloon.h
rename to libc/include/any-linux-any/linux/virtio_balloon.h
diff --git a/libc/include/generic-musl/linux/virtio_blk.h b/libc/include/any-linux-any/linux/virtio_blk.h
similarity index 100%
rename from libc/include/generic-musl/linux/virtio_blk.h
rename to libc/include/any-linux-any/linux/virtio_blk.h
diff --git a/libc/include/generic-musl/linux/virtio_config.h b/libc/include/any-linux-any/linux/virtio_config.h
similarity index 100%
rename from libc/include/generic-musl/linux/virtio_config.h
rename to libc/include/any-linux-any/linux/virtio_config.h
diff --git a/libc/include/generic-musl/linux/virtio_console.h b/libc/include/any-linux-any/linux/virtio_console.h
similarity index 100%
rename from libc/include/generic-musl/linux/virtio_console.h
rename to libc/include/any-linux-any/linux/virtio_console.h
diff --git a/libc/include/generic-musl/linux/virtio_crypto.h b/libc/include/any-linux-any/linux/virtio_crypto.h
similarity index 100%
rename from libc/include/generic-musl/linux/virtio_crypto.h
rename to libc/include/any-linux-any/linux/virtio_crypto.h
diff --git a/libc/include/generic-musl/linux/virtio_gpu.h b/libc/include/any-linux-any/linux/virtio_gpu.h
similarity index 100%
rename from libc/include/generic-musl/linux/virtio_gpu.h
rename to libc/include/any-linux-any/linux/virtio_gpu.h
diff --git a/libc/include/generic-musl/linux/virtio_ids.h b/libc/include/any-linux-any/linux/virtio_ids.h
similarity index 100%
rename from libc/include/generic-musl/linux/virtio_ids.h
rename to libc/include/any-linux-any/linux/virtio_ids.h
diff --git a/libc/include/generic-musl/linux/virtio_input.h b/libc/include/any-linux-any/linux/virtio_input.h
similarity index 100%
rename from libc/include/generic-musl/linux/virtio_input.h
rename to libc/include/any-linux-any/linux/virtio_input.h
diff --git a/libc/include/generic-musl/linux/virtio_mmio.h b/libc/include/any-linux-any/linux/virtio_mmio.h
similarity index 100%
rename from libc/include/generic-musl/linux/virtio_mmio.h
rename to libc/include/any-linux-any/linux/virtio_mmio.h
diff --git a/libc/include/generic-musl/linux/virtio_net.h b/libc/include/any-linux-any/linux/virtio_net.h
similarity index 100%
rename from libc/include/generic-musl/linux/virtio_net.h
rename to libc/include/any-linux-any/linux/virtio_net.h
diff --git a/libc/include/generic-musl/linux/virtio_pci.h b/libc/include/any-linux-any/linux/virtio_pci.h
similarity index 100%
rename from libc/include/generic-musl/linux/virtio_pci.h
rename to libc/include/any-linux-any/linux/virtio_pci.h
diff --git a/libc/include/generic-musl/linux/virtio_ring.h b/libc/include/any-linux-any/linux/virtio_ring.h
similarity index 100%
rename from libc/include/generic-musl/linux/virtio_ring.h
rename to libc/include/any-linux-any/linux/virtio_ring.h
diff --git a/libc/include/generic-musl/linux/virtio_rng.h b/libc/include/any-linux-any/linux/virtio_rng.h
similarity index 100%
rename from libc/include/generic-musl/linux/virtio_rng.h
rename to libc/include/any-linux-any/linux/virtio_rng.h
diff --git a/libc/include/generic-musl/linux/virtio_scsi.h b/libc/include/any-linux-any/linux/virtio_scsi.h
similarity index 100%
rename from libc/include/generic-musl/linux/virtio_scsi.h
rename to libc/include/any-linux-any/linux/virtio_scsi.h
diff --git a/libc/include/generic-musl/linux/virtio_types.h b/libc/include/any-linux-any/linux/virtio_types.h
similarity index 100%
rename from libc/include/generic-musl/linux/virtio_types.h
rename to libc/include/any-linux-any/linux/virtio_types.h
diff --git a/libc/include/generic-musl/linux/virtio_vsock.h b/libc/include/any-linux-any/linux/virtio_vsock.h
similarity index 100%
rename from libc/include/generic-musl/linux/virtio_vsock.h
rename to libc/include/any-linux-any/linux/virtio_vsock.h
diff --git a/libc/include/generic-musl/linux/vm_sockets.h b/libc/include/any-linux-any/linux/vm_sockets.h
similarity index 100%
rename from libc/include/generic-musl/linux/vm_sockets.h
rename to libc/include/any-linux-any/linux/vm_sockets.h
diff --git a/libc/include/generic-musl/linux/vm_sockets_diag.h b/libc/include/any-linux-any/linux/vm_sockets_diag.h
similarity index 100%
rename from libc/include/generic-musl/linux/vm_sockets_diag.h
rename to libc/include/any-linux-any/linux/vm_sockets_diag.h
diff --git a/libc/include/generic-musl/linux/vmcore.h b/libc/include/any-linux-any/linux/vmcore.h
similarity index 100%
rename from libc/include/generic-musl/linux/vmcore.h
rename to libc/include/any-linux-any/linux/vmcore.h
diff --git a/libc/include/generic-musl/linux/vsockmon.h b/libc/include/any-linux-any/linux/vsockmon.h
similarity index 100%
rename from libc/include/generic-musl/linux/vsockmon.h
rename to libc/include/any-linux-any/linux/vsockmon.h
diff --git a/libc/include/generic-musl/linux/vt.h b/libc/include/any-linux-any/linux/vt.h
similarity index 100%
rename from libc/include/generic-musl/linux/vt.h
rename to libc/include/any-linux-any/linux/vt.h
diff --git a/libc/include/generic-musl/linux/vtpm_proxy.h b/libc/include/any-linux-any/linux/vtpm_proxy.h
similarity index 100%
rename from libc/include/generic-musl/linux/vtpm_proxy.h
rename to libc/include/any-linux-any/linux/vtpm_proxy.h
diff --git a/libc/include/generic-musl/linux/wait.h b/libc/include/any-linux-any/linux/wait.h
similarity index 100%
rename from libc/include/generic-musl/linux/wait.h
rename to libc/include/any-linux-any/linux/wait.h
diff --git a/libc/include/generic-musl/linux/wanrouter.h b/libc/include/any-linux-any/linux/wanrouter.h
similarity index 100%
rename from libc/include/generic-musl/linux/wanrouter.h
rename to libc/include/any-linux-any/linux/wanrouter.h
diff --git a/libc/include/generic-musl/linux/watchdog.h b/libc/include/any-linux-any/linux/watchdog.h
similarity index 100%
rename from libc/include/generic-musl/linux/watchdog.h
rename to libc/include/any-linux-any/linux/watchdog.h
diff --git a/libc/include/generic-musl/linux/wimax.h b/libc/include/any-linux-any/linux/wimax.h
similarity index 100%
rename from libc/include/generic-musl/linux/wimax.h
rename to libc/include/any-linux-any/linux/wimax.h
diff --git a/libc/include/generic-musl/linux/wimax/i2400m.h b/libc/include/any-linux-any/linux/wimax/i2400m.h
similarity index 100%
rename from libc/include/generic-musl/linux/wimax/i2400m.h
rename to libc/include/any-linux-any/linux/wimax/i2400m.h
diff --git a/libc/include/generic-musl/linux/wireless.h b/libc/include/any-linux-any/linux/wireless.h
similarity index 100%
rename from libc/include/generic-musl/linux/wireless.h
rename to libc/include/any-linux-any/linux/wireless.h
diff --git a/libc/include/generic-musl/linux/wmi.h b/libc/include/any-linux-any/linux/wmi.h
similarity index 100%
rename from libc/include/generic-musl/linux/wmi.h
rename to libc/include/any-linux-any/linux/wmi.h
diff --git a/libc/include/generic-musl/linux/x25.h b/libc/include/any-linux-any/linux/x25.h
similarity index 100%
rename from libc/include/generic-musl/linux/x25.h
rename to libc/include/any-linux-any/linux/x25.h
diff --git a/libc/include/generic-musl/linux/xattr.h b/libc/include/any-linux-any/linux/xattr.h
similarity index 100%
rename from libc/include/generic-musl/linux/xattr.h
rename to libc/include/any-linux-any/linux/xattr.h
diff --git a/libc/include/generic-musl/linux/xfrm.h b/libc/include/any-linux-any/linux/xfrm.h
similarity index 100%
rename from libc/include/generic-musl/linux/xfrm.h
rename to libc/include/any-linux-any/linux/xfrm.h
diff --git a/libc/include/generic-musl/linux/xilinx-v4l2-controls.h b/libc/include/any-linux-any/linux/xilinx-v4l2-controls.h
similarity index 100%
rename from libc/include/generic-musl/linux/xilinx-v4l2-controls.h
rename to libc/include/any-linux-any/linux/xilinx-v4l2-controls.h
diff --git a/libc/include/generic-musl/linux/zorro.h b/libc/include/any-linux-any/linux/zorro.h
similarity index 100%
rename from libc/include/generic-musl/linux/zorro.h
rename to libc/include/any-linux-any/linux/zorro.h
diff --git a/libc/include/generic-musl/linux/zorro_ids.h b/libc/include/any-linux-any/linux/zorro_ids.h
similarity index 100%
rename from libc/include/generic-musl/linux/zorro_ids.h
rename to libc/include/any-linux-any/linux/zorro_ids.h
diff --git a/libc/include/arm-linux-musleabi/asm/fcntl.h b/libc/include/arm-linux-any/asm/fcntl.h
similarity index 100%
rename from libc/include/arm-linux-musleabi/asm/fcntl.h
rename to libc/include/arm-linux-any/asm/fcntl.h
diff --git a/libc/include/arm-linux-musleabi/asm/ioctls.h b/libc/include/arm-linux-any/asm/ioctls.h
similarity index 100%
rename from libc/include/arm-linux-musleabi/asm/ioctls.h
rename to libc/include/arm-linux-any/asm/ioctls.h
diff --git a/libc/include/arm-linux-musleabi/asm/mman.h b/libc/include/arm-linux-any/asm/mman.h
similarity index 100%
rename from libc/include/arm-linux-musleabi/asm/mman.h
rename to libc/include/arm-linux-any/asm/mman.h
diff --git a/libc/include/arm-linux-musleabi/asm/statfs.h b/libc/include/arm-linux-any/asm/statfs.h
similarity index 100%
rename from libc/include/arm-linux-musleabi/asm/statfs.h
rename to libc/include/arm-linux-any/asm/statfs.h
diff --git a/libc/include/arm-linux-musleabi/asm/swab.h b/libc/include/arm-linux-any/asm/swab.h
similarity index 100%
rename from libc/include/arm-linux-musleabi/asm/swab.h
rename to libc/include/arm-linux-any/asm/swab.h
diff --git a/libc/include/arm-linux-musleabi/asm/types.h b/libc/include/arm-linux-any/asm/types.h
similarity index 100%
rename from libc/include/arm-linux-musleabi/asm/types.h
rename to libc/include/arm-linux-any/asm/types.h
diff --git a/libc/include/arm-linux-gnueabi/asm/unistd.h b/libc/include/arm-linux-gnueabi/asm/unistd.h
deleted file mode 100644
index 93ecf8aa4f..0000000000
--- a/libc/include/arm-linux-gnueabi/asm/unistd.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- *  arch/arm/include/asm/unistd.h
- *
- *  Copyright (C) 2001-2005 Russell King
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * Please forward _all_ changes to this file to rmk@arm.linux.org.uk,
- * no matter what the change is.  Thanks!
- */
-#ifndef _UAPI__ASM_ARM_UNISTD_H
-#define _UAPI__ASM_ARM_UNISTD_H
-
-#define __NR_OABI_SYSCALL_BASE	0x900000
-
-#if defined(__thumb__) || defined(__ARM_EABI__)
-#define __NR_SYSCALL_BASE	0
-#include 
-#else
-#define __NR_SYSCALL_BASE	__NR_OABI_SYSCALL_BASE
-#include 
-#endif
-
-#include 
-#define __NR_sync_file_range2		__NR_arm_sync_file_range
-
-/*
- * The following SWIs are ARM private.
- */
-#define __ARM_NR_BASE			(__NR_SYSCALL_BASE+0x0f0000)
-#define __ARM_NR_breakpoint		(__ARM_NR_BASE+1)
-#define __ARM_NR_cacheflush		(__ARM_NR_BASE+2)
-#define __ARM_NR_usr26			(__ARM_NR_BASE+3)
-#define __ARM_NR_usr32			(__ARM_NR_BASE+4)
-#define __ARM_NR_set_tls		(__ARM_NR_BASE+5)
-#define __ARM_NR_get_tls		(__ARM_NR_BASE+6)
-
-#endif /* _UAPI__ASM_ARM_UNISTD_H */
diff --git a/libc/include/arm-linux-gnueabihf/asm/unistd.h b/libc/include/arm-linux-gnueabihf/asm/unistd.h
deleted file mode 100644
index 93ecf8aa4f..0000000000
--- a/libc/include/arm-linux-gnueabihf/asm/unistd.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- *  arch/arm/include/asm/unistd.h
- *
- *  Copyright (C) 2001-2005 Russell King
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * Please forward _all_ changes to this file to rmk@arm.linux.org.uk,
- * no matter what the change is.  Thanks!
- */
-#ifndef _UAPI__ASM_ARM_UNISTD_H
-#define _UAPI__ASM_ARM_UNISTD_H
-
-#define __NR_OABI_SYSCALL_BASE	0x900000
-
-#if defined(__thumb__) || defined(__ARM_EABI__)
-#define __NR_SYSCALL_BASE	0
-#include 
-#else
-#define __NR_SYSCALL_BASE	__NR_OABI_SYSCALL_BASE
-#include 
-#endif
-
-#include 
-#define __NR_sync_file_range2		__NR_arm_sync_file_range
-
-/*
- * The following SWIs are ARM private.
- */
-#define __ARM_NR_BASE			(__NR_SYSCALL_BASE+0x0f0000)
-#define __ARM_NR_breakpoint		(__ARM_NR_BASE+1)
-#define __ARM_NR_cacheflush		(__ARM_NR_BASE+2)
-#define __ARM_NR_usr26			(__ARM_NR_BASE+3)
-#define __ARM_NR_usr32			(__ARM_NR_BASE+4)
-#define __ARM_NR_set_tls		(__ARM_NR_BASE+5)
-#define __ARM_NR_get_tls		(__ARM_NR_BASE+6)
-
-#endif /* _UAPI__ASM_ARM_UNISTD_H */
diff --git a/libc/include/arm-linux-musleabihf/asm/fcntl.h b/libc/include/armeb-linux-any/asm/fcntl.h
similarity index 100%
rename from libc/include/arm-linux-musleabihf/asm/fcntl.h
rename to libc/include/armeb-linux-any/asm/fcntl.h
diff --git a/libc/include/arm-linux-musleabihf/asm/ioctls.h b/libc/include/armeb-linux-any/asm/ioctls.h
similarity index 100%
rename from libc/include/arm-linux-musleabihf/asm/ioctls.h
rename to libc/include/armeb-linux-any/asm/ioctls.h
diff --git a/libc/include/arm-linux-musleabihf/asm/mman.h b/libc/include/armeb-linux-any/asm/mman.h
similarity index 100%
rename from libc/include/arm-linux-musleabihf/asm/mman.h
rename to libc/include/armeb-linux-any/asm/mman.h
diff --git a/libc/include/arm-linux-musleabihf/asm/statfs.h b/libc/include/armeb-linux-any/asm/statfs.h
similarity index 100%
rename from libc/include/arm-linux-musleabihf/asm/statfs.h
rename to libc/include/armeb-linux-any/asm/statfs.h
diff --git a/libc/include/arm-linux-musleabihf/asm/swab.h b/libc/include/armeb-linux-any/asm/swab.h
similarity index 100%
rename from libc/include/arm-linux-musleabihf/asm/swab.h
rename to libc/include/armeb-linux-any/asm/swab.h
diff --git a/libc/include/arm-linux-musleabihf/asm/types.h b/libc/include/armeb-linux-any/asm/types.h
similarity index 100%
rename from libc/include/arm-linux-musleabihf/asm/types.h
rename to libc/include/armeb-linux-any/asm/types.h
diff --git a/libc/include/armeb-linux-gnueabi/asm/unistd.h b/libc/include/armeb-linux-gnueabi/asm/unistd.h
deleted file mode 100644
index 93ecf8aa4f..0000000000
--- a/libc/include/armeb-linux-gnueabi/asm/unistd.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- *  arch/arm/include/asm/unistd.h
- *
- *  Copyright (C) 2001-2005 Russell King
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * Please forward _all_ changes to this file to rmk@arm.linux.org.uk,
- * no matter what the change is.  Thanks!
- */
-#ifndef _UAPI__ASM_ARM_UNISTD_H
-#define _UAPI__ASM_ARM_UNISTD_H
-
-#define __NR_OABI_SYSCALL_BASE	0x900000
-
-#if defined(__thumb__) || defined(__ARM_EABI__)
-#define __NR_SYSCALL_BASE	0
-#include 
-#else
-#define __NR_SYSCALL_BASE	__NR_OABI_SYSCALL_BASE
-#include 
-#endif
-
-#include 
-#define __NR_sync_file_range2		__NR_arm_sync_file_range
-
-/*
- * The following SWIs are ARM private.
- */
-#define __ARM_NR_BASE			(__NR_SYSCALL_BASE+0x0f0000)
-#define __ARM_NR_breakpoint		(__ARM_NR_BASE+1)
-#define __ARM_NR_cacheflush		(__ARM_NR_BASE+2)
-#define __ARM_NR_usr26			(__ARM_NR_BASE+3)
-#define __ARM_NR_usr32			(__ARM_NR_BASE+4)
-#define __ARM_NR_set_tls		(__ARM_NR_BASE+5)
-#define __ARM_NR_get_tls		(__ARM_NR_BASE+6)
-
-#endif /* _UAPI__ASM_ARM_UNISTD_H */
diff --git a/libc/include/armeb-linux-gnueabihf/asm/unistd.h b/libc/include/armeb-linux-gnueabihf/asm/unistd.h
deleted file mode 100644
index 93ecf8aa4f..0000000000
--- a/libc/include/armeb-linux-gnueabihf/asm/unistd.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- *  arch/arm/include/asm/unistd.h
- *
- *  Copyright (C) 2001-2005 Russell King
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * Please forward _all_ changes to this file to rmk@arm.linux.org.uk,
- * no matter what the change is.  Thanks!
- */
-#ifndef _UAPI__ASM_ARM_UNISTD_H
-#define _UAPI__ASM_ARM_UNISTD_H
-
-#define __NR_OABI_SYSCALL_BASE	0x900000
-
-#if defined(__thumb__) || defined(__ARM_EABI__)
-#define __NR_SYSCALL_BASE	0
-#include 
-#else
-#define __NR_SYSCALL_BASE	__NR_OABI_SYSCALL_BASE
-#include 
-#endif
-
-#include 
-#define __NR_sync_file_range2		__NR_arm_sync_file_range
-
-/*
- * The following SWIs are ARM private.
- */
-#define __ARM_NR_BASE			(__NR_SYSCALL_BASE+0x0f0000)
-#define __ARM_NR_breakpoint		(__ARM_NR_BASE+1)
-#define __ARM_NR_cacheflush		(__ARM_NR_BASE+2)
-#define __ARM_NR_usr26			(__ARM_NR_BASE+3)
-#define __ARM_NR_usr32			(__ARM_NR_BASE+4)
-#define __ARM_NR_set_tls		(__ARM_NR_BASE+5)
-#define __ARM_NR_get_tls		(__ARM_NR_BASE+6)
-
-#endif /* _UAPI__ASM_ARM_UNISTD_H */
diff --git a/libc/include/armeb-linux-musleabi/asm/fcntl.h b/libc/include/armeb-linux-musleabi/asm/fcntl.h
deleted file mode 100644
index cb37c755d8..0000000000
--- a/libc/include/armeb-linux-musleabi/asm/fcntl.h
+++ /dev/null
@@ -1,12 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-#ifndef _ARM_FCNTL_H
-#define _ARM_FCNTL_H
-
-#define O_DIRECTORY	 040000	/* must be a directory */
-#define O_NOFOLLOW	0100000	/* don't follow links */
-#define O_DIRECT	0200000	/* direct disk access hint - currently ignored */
-#define O_LARGEFILE	0400000
-
-#include 
-
-#endif
\ No newline at end of file
diff --git a/libc/include/armeb-linux-musleabi/asm/ioctls.h b/libc/include/armeb-linux-musleabi/asm/ioctls.h
deleted file mode 100644
index 9c66df15e6..0000000000
--- a/libc/include/armeb-linux-musleabi/asm/ioctls.h
+++ /dev/null
@@ -1,9 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-#ifndef __ASM_ARM_IOCTLS_H
-#define __ASM_ARM_IOCTLS_H
-
-#define FIOQSIZE	0x545E
-
-#include 
-
-#endif
\ No newline at end of file
diff --git a/libc/include/armeb-linux-musleabi/asm/mman.h b/libc/include/armeb-linux-musleabi/asm/mman.h
deleted file mode 100644
index ad0d0ee9e9..0000000000
--- a/libc/include/armeb-linux-musleabi/asm/mman.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#include 
-
-#define arch_mmap_check(addr, len, flags) \
-	(((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0)
\ No newline at end of file
diff --git a/libc/include/armeb-linux-musleabi/asm/statfs.h b/libc/include/armeb-linux-musleabi/asm/statfs.h
deleted file mode 100644
index 747d069fb5..0000000000
--- a/libc/include/armeb-linux-musleabi/asm/statfs.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-#ifndef _ASMARM_STATFS_H
-#define _ASMARM_STATFS_H
-
-/*
- * With EABI there is 4 bytes of padding added to this structure.
- * Let's pack it so the padding goes away to simplify dual ABI support.
- * Note that user space does NOT have to pack this structure.
- */
-#define ARCH_PACK_STATFS64 __attribute__((packed,aligned(4)))
-
-#include 
-#endif
\ No newline at end of file
diff --git a/libc/include/armeb-linux-musleabi/asm/swab.h b/libc/include/armeb-linux-musleabi/asm/swab.h
deleted file mode 100644
index 6bbffc60c7..0000000000
--- a/libc/include/armeb-linux-musleabi/asm/swab.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- *  arch/arm/include/asm/byteorder.h
- *
- * ARM Endian-ness.  In little endian mode, the data bus is connected such
- * that byte accesses appear as:
- *  0 = d0...d7, 1 = d8...d15, 2 = d16...d23, 3 = d24...d31
- * and word accesses (data or instruction) appear as:
- *  d0...d31
- *
- * When in big endian mode, byte accesses appear as:
- *  0 = d24...d31, 1 = d16...d23, 2 = d8...d15, 3 = d0...d7
- * and word accesses (data or instruction) appear as:
- *  d0...d31
- */
-#ifndef __ASM_ARM_SWAB_H
-#define __ASM_ARM_SWAB_H
-
-
-#include 
-
-#if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
-#  define __SWAB_64_THRU_32__
-#endif
-
-
-static __inline__  __u32 __arch_swab32(__u32 x)
-{
-	__u32 t;
-
-#ifndef __thumb__
-	if (!__builtin_constant_p(x)) {
-		/*
-		 * The compiler needs a bit of a hint here to always do the
-		 * right thing and not screw it up to different degrees
-		 * depending on the gcc version.
-		 */
-		__asm__ ("eor\t%0, %1, %1, ror #16" : "=r" (t) : "r" (x));
-	} else
-#endif
-		t = x ^ ((x << 16) | (x >> 16)); /* eor r1,r0,r0,ror #16 */
-
-	x = (x << 24) | (x >> 8);		/* mov r0,r0,ror #8      */
-	t &= ~0x00FF0000;			/* bic r1,r1,#0x00FF0000 */
-	x ^= (t >> 8);				/* eor r0,r0,r1,lsr #8   */
-
-	return x;
-}
-#define __arch_swab32 __arch_swab32
-
-
-#endif /* __ASM_ARM_SWAB_H */
\ No newline at end of file
diff --git a/libc/include/armeb-linux-musleabi/asm/types.h b/libc/include/armeb-linux-musleabi/asm/types.h
deleted file mode 100644
index e031ce467f..0000000000
--- a/libc/include/armeb-linux-musleabi/asm/types.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-#ifndef _ASM_TYPES_H
-#define _ASM_TYPES_H
-
-#include 
-
-/*
- * The C99 types uintXX_t that are usually defined in 'stdint.h' are not as
- * unambiguous on ARM as you would expect. For the types below, there is a
- * difference on ARM between GCC built for bare metal ARM, GCC built for glibc
- * and the kernel itself, which results in build errors if you try to build with
- * -ffreestanding and include 'stdint.h' (such as when you include 'arm_neon.h'
- * in order to use NEON intrinsics)
- *
- * As the typedefs for these types in 'stdint.h' are based on builtin defines
- * supplied by GCC, we can tweak these to align with the kernel's idea of those
- * types, so 'linux/types.h' and 'stdint.h' can be safely included from the same
- * source file (provided that -ffreestanding is used).
- *
- *                    int32_t         uint32_t               uintptr_t
- * bare metal GCC     long            unsigned long          unsigned int
- * glibc GCC          int             unsigned int           unsigned int
- * kernel             int             unsigned int           unsigned long
- */
-
-#ifdef __INT32_TYPE__
-#undef __INT32_TYPE__
-#define __INT32_TYPE__		int
-#endif
-
-#ifdef __UINT32_TYPE__
-#undef __UINT32_TYPE__
-#define __UINT32_TYPE__	unsigned int
-#endif
-
-#ifdef __UINTPTR_TYPE__
-#undef __UINTPTR_TYPE__
-#define __UINTPTR_TYPE__	unsigned long
-#endif
-
-#endif /* _ASM_TYPES_H */
\ No newline at end of file
diff --git a/libc/include/armeb-linux-musleabihf/asm/fcntl.h b/libc/include/armeb-linux-musleabihf/asm/fcntl.h
deleted file mode 100644
index cb37c755d8..0000000000
--- a/libc/include/armeb-linux-musleabihf/asm/fcntl.h
+++ /dev/null
@@ -1,12 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-#ifndef _ARM_FCNTL_H
-#define _ARM_FCNTL_H
-
-#define O_DIRECTORY	 040000	/* must be a directory */
-#define O_NOFOLLOW	0100000	/* don't follow links */
-#define O_DIRECT	0200000	/* direct disk access hint - currently ignored */
-#define O_LARGEFILE	0400000
-
-#include 
-
-#endif
\ No newline at end of file
diff --git a/libc/include/armeb-linux-musleabihf/asm/ioctls.h b/libc/include/armeb-linux-musleabihf/asm/ioctls.h
deleted file mode 100644
index 9c66df15e6..0000000000
--- a/libc/include/armeb-linux-musleabihf/asm/ioctls.h
+++ /dev/null
@@ -1,9 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-#ifndef __ASM_ARM_IOCTLS_H
-#define __ASM_ARM_IOCTLS_H
-
-#define FIOQSIZE	0x545E
-
-#include 
-
-#endif
\ No newline at end of file
diff --git a/libc/include/armeb-linux-musleabihf/asm/mman.h b/libc/include/armeb-linux-musleabihf/asm/mman.h
deleted file mode 100644
index ad0d0ee9e9..0000000000
--- a/libc/include/armeb-linux-musleabihf/asm/mman.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#include 
-
-#define arch_mmap_check(addr, len, flags) \
-	(((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0)
\ No newline at end of file
diff --git a/libc/include/armeb-linux-musleabihf/asm/statfs.h b/libc/include/armeb-linux-musleabihf/asm/statfs.h
deleted file mode 100644
index 747d069fb5..0000000000
--- a/libc/include/armeb-linux-musleabihf/asm/statfs.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-#ifndef _ASMARM_STATFS_H
-#define _ASMARM_STATFS_H
-
-/*
- * With EABI there is 4 bytes of padding added to this structure.
- * Let's pack it so the padding goes away to simplify dual ABI support.
- * Note that user space does NOT have to pack this structure.
- */
-#define ARCH_PACK_STATFS64 __attribute__((packed,aligned(4)))
-
-#include 
-#endif
\ No newline at end of file
diff --git a/libc/include/armeb-linux-musleabihf/asm/swab.h b/libc/include/armeb-linux-musleabihf/asm/swab.h
deleted file mode 100644
index 6bbffc60c7..0000000000
--- a/libc/include/armeb-linux-musleabihf/asm/swab.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- *  arch/arm/include/asm/byteorder.h
- *
- * ARM Endian-ness.  In little endian mode, the data bus is connected such
- * that byte accesses appear as:
- *  0 = d0...d7, 1 = d8...d15, 2 = d16...d23, 3 = d24...d31
- * and word accesses (data or instruction) appear as:
- *  d0...d31
- *
- * When in big endian mode, byte accesses appear as:
- *  0 = d24...d31, 1 = d16...d23, 2 = d8...d15, 3 = d0...d7
- * and word accesses (data or instruction) appear as:
- *  d0...d31
- */
-#ifndef __ASM_ARM_SWAB_H
-#define __ASM_ARM_SWAB_H
-
-
-#include 
-
-#if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
-#  define __SWAB_64_THRU_32__
-#endif
-
-
-static __inline__  __u32 __arch_swab32(__u32 x)
-{
-	__u32 t;
-
-#ifndef __thumb__
-	if (!__builtin_constant_p(x)) {
-		/*
-		 * The compiler needs a bit of a hint here to always do the
-		 * right thing and not screw it up to different degrees
-		 * depending on the gcc version.
-		 */
-		__asm__ ("eor\t%0, %1, %1, ror #16" : "=r" (t) : "r" (x));
-	} else
-#endif
-		t = x ^ ((x << 16) | (x >> 16)); /* eor r1,r0,r0,ror #16 */
-
-	x = (x << 24) | (x >> 8);		/* mov r0,r0,ror #8      */
-	t &= ~0x00FF0000;			/* bic r1,r1,#0x00FF0000 */
-	x ^= (t >> 8);				/* eor r0,r0,r1,lsr #8   */
-
-	return x;
-}
-#define __arch_swab32 __arch_swab32
-
-
-#endif /* __ASM_ARM_SWAB_H */
\ No newline at end of file
diff --git a/libc/include/armeb-linux-musleabihf/asm/types.h b/libc/include/armeb-linux-musleabihf/asm/types.h
deleted file mode 100644
index e031ce467f..0000000000
--- a/libc/include/armeb-linux-musleabihf/asm/types.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-#ifndef _ASM_TYPES_H
-#define _ASM_TYPES_H
-
-#include 
-
-/*
- * The C99 types uintXX_t that are usually defined in 'stdint.h' are not as
- * unambiguous on ARM as you would expect. For the types below, there is a
- * difference on ARM between GCC built for bare metal ARM, GCC built for glibc
- * and the kernel itself, which results in build errors if you try to build with
- * -ffreestanding and include 'stdint.h' (such as when you include 'arm_neon.h'
- * in order to use NEON intrinsics)
- *
- * As the typedefs for these types in 'stdint.h' are based on builtin defines
- * supplied by GCC, we can tweak these to align with the kernel's idea of those
- * types, so 'linux/types.h' and 'stdint.h' can be safely included from the same
- * source file (provided that -ffreestanding is used).
- *
- *                    int32_t         uint32_t               uintptr_t
- * bare metal GCC     long            unsigned long          unsigned int
- * glibc GCC          int             unsigned int           unsigned int
- * kernel             int             unsigned int           unsigned long
- */
-
-#ifdef __INT32_TYPE__
-#undef __INT32_TYPE__
-#define __INT32_TYPE__		int
-#endif
-
-#ifdef __UINT32_TYPE__
-#undef __UINT32_TYPE__
-#define __UINT32_TYPE__	unsigned int
-#endif
-
-#ifdef __UINTPTR_TYPE__
-#undef __UINTPTR_TYPE__
-#define __UINTPTR_TYPE__	unsigned long
-#endif
-
-#endif /* _ASM_TYPES_H */
\ No newline at end of file
diff --git a/libc/include/generic-glibc/asm-generic/bitsperlong.h b/libc/include/generic-glibc/asm-generic/bitsperlong.h
deleted file mode 100644
index 693d9a40eb..0000000000
--- a/libc/include/generic-glibc/asm-generic/bitsperlong.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-#ifndef _UAPI__ASM_GENERIC_BITS_PER_LONG
-#define _UAPI__ASM_GENERIC_BITS_PER_LONG
-
-/*
- * There seems to be no way of detecting this automatically from user
- * space, so 64 bit architectures should override this in their
- * bitsperlong.h. In particular, an architecture that supports
- * both 32 and 64 bit user space must not rely on CONFIG_64BIT
- * to decide it, but rather check a compiler provided macro.
- */
-#ifndef __BITS_PER_LONG
-#define __BITS_PER_LONG 32
-#endif
-
-#endif /* _UAPI__ASM_GENERIC_BITS_PER_LONG */
diff --git a/libc/include/generic-glibc/asm-generic/unistd.h b/libc/include/generic-glibc/asm-generic/unistd.h
deleted file mode 100644
index c7f3321fbe..0000000000
--- a/libc/include/generic-glibc/asm-generic/unistd.h
+++ /dev/null
@@ -1,791 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-#include 
-
-/*
- * This file contains the system call numbers, based on the
- * layout of the x86-64 architecture, which embeds the
- * pointer to the syscall in the table.
- *
- * As a basic principle, no duplication of functionality
- * should be added, e.g. we don't use lseek when llseek
- * is present. New architectures should use this file
- * and implement the less feature-full calls in user space.
- */
-
-#ifndef __SYSCALL
-#define __SYSCALL(x, y)
-#endif
-
-#if __BITS_PER_LONG == 32 || defined(__SYSCALL_COMPAT)
-#define __SC_3264(_nr, _32, _64) __SYSCALL(_nr, _32)
-#else
-#define __SC_3264(_nr, _32, _64) __SYSCALL(_nr, _64)
-#endif
-
-#ifdef __SYSCALL_COMPAT
-#define __SC_COMP(_nr, _sys, _comp) __SYSCALL(_nr, _comp)
-#define __SC_COMP_3264(_nr, _32, _64, _comp) __SYSCALL(_nr, _comp)
-#else
-#define __SC_COMP(_nr, _sys, _comp) __SYSCALL(_nr, _sys)
-#define __SC_COMP_3264(_nr, _32, _64, _comp) __SC_3264(_nr, _32, _64)
-#endif
-
-#define __NR_io_setup 0
-__SC_COMP(__NR_io_setup, sys_io_setup, compat_sys_io_setup)
-#define __NR_io_destroy 1
-__SYSCALL(__NR_io_destroy, sys_io_destroy)
-#define __NR_io_submit 2
-__SC_COMP(__NR_io_submit, sys_io_submit, compat_sys_io_submit)
-#define __NR_io_cancel 3
-__SYSCALL(__NR_io_cancel, sys_io_cancel)
-#define __NR_io_getevents 4
-__SC_COMP(__NR_io_getevents, sys_io_getevents, compat_sys_io_getevents)
-
-/* fs/xattr.c */
-#define __NR_setxattr 5
-__SYSCALL(__NR_setxattr, sys_setxattr)
-#define __NR_lsetxattr 6
-__SYSCALL(__NR_lsetxattr, sys_lsetxattr)
-#define __NR_fsetxattr 7
-__SYSCALL(__NR_fsetxattr, sys_fsetxattr)
-#define __NR_getxattr 8
-__SYSCALL(__NR_getxattr, sys_getxattr)
-#define __NR_lgetxattr 9
-__SYSCALL(__NR_lgetxattr, sys_lgetxattr)
-#define __NR_fgetxattr 10
-__SYSCALL(__NR_fgetxattr, sys_fgetxattr)
-#define __NR_listxattr 11
-__SYSCALL(__NR_listxattr, sys_listxattr)
-#define __NR_llistxattr 12
-__SYSCALL(__NR_llistxattr, sys_llistxattr)
-#define __NR_flistxattr 13
-__SYSCALL(__NR_flistxattr, sys_flistxattr)
-#define __NR_removexattr 14
-__SYSCALL(__NR_removexattr, sys_removexattr)
-#define __NR_lremovexattr 15
-__SYSCALL(__NR_lremovexattr, sys_lremovexattr)
-#define __NR_fremovexattr 16
-__SYSCALL(__NR_fremovexattr, sys_fremovexattr)
-
-/* fs/dcache.c */
-#define __NR_getcwd 17
-__SYSCALL(__NR_getcwd, sys_getcwd)
-
-/* fs/cookies.c */
-#define __NR_lookup_dcookie 18
-__SC_COMP(__NR_lookup_dcookie, sys_lookup_dcookie, compat_sys_lookup_dcookie)
-
-/* fs/eventfd.c */
-#define __NR_eventfd2 19
-__SYSCALL(__NR_eventfd2, sys_eventfd2)
-
-/* fs/eventpoll.c */
-#define __NR_epoll_create1 20
-__SYSCALL(__NR_epoll_create1, sys_epoll_create1)
-#define __NR_epoll_ctl 21
-__SYSCALL(__NR_epoll_ctl, sys_epoll_ctl)
-#define __NR_epoll_pwait 22
-__SC_COMP(__NR_epoll_pwait, sys_epoll_pwait, compat_sys_epoll_pwait)
-
-/* fs/fcntl.c */
-#define __NR_dup 23
-__SYSCALL(__NR_dup, sys_dup)
-#define __NR_dup3 24
-__SYSCALL(__NR_dup3, sys_dup3)
-#define __NR3264_fcntl 25
-__SC_COMP_3264(__NR3264_fcntl, sys_fcntl64, sys_fcntl, compat_sys_fcntl64)
-
-/* fs/inotify_user.c */
-#define __NR_inotify_init1 26
-__SYSCALL(__NR_inotify_init1, sys_inotify_init1)
-#define __NR_inotify_add_watch 27
-__SYSCALL(__NR_inotify_add_watch, sys_inotify_add_watch)
-#define __NR_inotify_rm_watch 28
-__SYSCALL(__NR_inotify_rm_watch, sys_inotify_rm_watch)
-
-/* fs/ioctl.c */
-#define __NR_ioctl 29
-__SC_COMP(__NR_ioctl, sys_ioctl, compat_sys_ioctl)
-
-/* fs/ioprio.c */
-#define __NR_ioprio_set 30
-__SYSCALL(__NR_ioprio_set, sys_ioprio_set)
-#define __NR_ioprio_get 31
-__SYSCALL(__NR_ioprio_get, sys_ioprio_get)
-
-/* fs/locks.c */
-#define __NR_flock 32
-__SYSCALL(__NR_flock, sys_flock)
-
-/* fs/namei.c */
-#define __NR_mknodat 33
-__SYSCALL(__NR_mknodat, sys_mknodat)
-#define __NR_mkdirat 34
-__SYSCALL(__NR_mkdirat, sys_mkdirat)
-#define __NR_unlinkat 35
-__SYSCALL(__NR_unlinkat, sys_unlinkat)
-#define __NR_symlinkat 36
-__SYSCALL(__NR_symlinkat, sys_symlinkat)
-#define __NR_linkat 37
-__SYSCALL(__NR_linkat, sys_linkat)
-#ifdef __ARCH_WANT_RENAMEAT
-/* renameat is superseded with flags by renameat2 */
-#define __NR_renameat 38
-__SYSCALL(__NR_renameat, sys_renameat)
-#endif /* __ARCH_WANT_RENAMEAT */
-
-/* fs/namespace.c */
-#define __NR_umount2 39
-__SYSCALL(__NR_umount2, sys_umount)
-#define __NR_mount 40
-__SC_COMP(__NR_mount, sys_mount, compat_sys_mount)
-#define __NR_pivot_root 41
-__SYSCALL(__NR_pivot_root, sys_pivot_root)
-
-/* fs/nfsctl.c */
-#define __NR_nfsservctl 42
-__SYSCALL(__NR_nfsservctl, sys_ni_syscall)
-
-/* fs/open.c */
-#define __NR3264_statfs 43
-__SC_COMP_3264(__NR3264_statfs, sys_statfs64, sys_statfs, \
-	       compat_sys_statfs64)
-#define __NR3264_fstatfs 44
-__SC_COMP_3264(__NR3264_fstatfs, sys_fstatfs64, sys_fstatfs, \
-	       compat_sys_fstatfs64)
-#define __NR3264_truncate 45
-__SC_COMP_3264(__NR3264_truncate, sys_truncate64, sys_truncate, \
-	       compat_sys_truncate64)
-#define __NR3264_ftruncate 46
-__SC_COMP_3264(__NR3264_ftruncate, sys_ftruncate64, sys_ftruncate, \
-	       compat_sys_ftruncate64)
-
-#define __NR_fallocate 47
-__SC_COMP(__NR_fallocate, sys_fallocate, compat_sys_fallocate)
-#define __NR_faccessat 48
-__SYSCALL(__NR_faccessat, sys_faccessat)
-#define __NR_chdir 49
-__SYSCALL(__NR_chdir, sys_chdir)
-#define __NR_fchdir 50
-__SYSCALL(__NR_fchdir, sys_fchdir)
-#define __NR_chroot 51
-__SYSCALL(__NR_chroot, sys_chroot)
-#define __NR_fchmod 52
-__SYSCALL(__NR_fchmod, sys_fchmod)
-#define __NR_fchmodat 53
-__SYSCALL(__NR_fchmodat, sys_fchmodat)
-#define __NR_fchownat 54
-__SYSCALL(__NR_fchownat, sys_fchownat)
-#define __NR_fchown 55
-__SYSCALL(__NR_fchown, sys_fchown)
-#define __NR_openat 56
-__SC_COMP(__NR_openat, sys_openat, compat_sys_openat)
-#define __NR_close 57
-__SYSCALL(__NR_close, sys_close)
-#define __NR_vhangup 58
-__SYSCALL(__NR_vhangup, sys_vhangup)
-
-/* fs/pipe.c */
-#define __NR_pipe2 59
-__SYSCALL(__NR_pipe2, sys_pipe2)
-
-/* fs/quota.c */
-#define __NR_quotactl 60
-__SYSCALL(__NR_quotactl, sys_quotactl)
-
-/* fs/readdir.c */
-#define __NR_getdents64 61
-__SYSCALL(__NR_getdents64, sys_getdents64)
-
-/* fs/read_write.c */
-#define __NR3264_lseek 62
-__SC_3264(__NR3264_lseek, sys_llseek, sys_lseek)
-#define __NR_read 63
-__SYSCALL(__NR_read, sys_read)
-#define __NR_write 64
-__SYSCALL(__NR_write, sys_write)
-#define __NR_readv 65
-__SC_COMP(__NR_readv, sys_readv, compat_sys_readv)
-#define __NR_writev 66
-__SC_COMP(__NR_writev, sys_writev, compat_sys_writev)
-#define __NR_pread64 67
-__SC_COMP(__NR_pread64, sys_pread64, compat_sys_pread64)
-#define __NR_pwrite64 68
-__SC_COMP(__NR_pwrite64, sys_pwrite64, compat_sys_pwrite64)
-#define __NR_preadv 69
-__SC_COMP(__NR_preadv, sys_preadv, compat_sys_preadv)
-#define __NR_pwritev 70
-__SC_COMP(__NR_pwritev, sys_pwritev, compat_sys_pwritev)
-
-/* fs/sendfile.c */
-#define __NR3264_sendfile 71
-__SYSCALL(__NR3264_sendfile, sys_sendfile64)
-
-/* fs/select.c */
-#define __NR_pselect6 72
-__SC_COMP(__NR_pselect6, sys_pselect6, compat_sys_pselect6)
-#define __NR_ppoll 73
-__SC_COMP(__NR_ppoll, sys_ppoll, compat_sys_ppoll)
-
-/* fs/signalfd.c */
-#define __NR_signalfd4 74
-__SC_COMP(__NR_signalfd4, sys_signalfd4, compat_sys_signalfd4)
-
-/* fs/splice.c */
-#define __NR_vmsplice 75
-__SC_COMP(__NR_vmsplice, sys_vmsplice, compat_sys_vmsplice)
-#define __NR_splice 76
-__SYSCALL(__NR_splice, sys_splice)
-#define __NR_tee 77
-__SYSCALL(__NR_tee, sys_tee)
-
-/* fs/stat.c */
-#define __NR_readlinkat 78
-__SYSCALL(__NR_readlinkat, sys_readlinkat)
-#if defined(__ARCH_WANT_NEW_STAT) || defined(__ARCH_WANT_STAT64)
-#define __NR3264_fstatat 79
-__SC_3264(__NR3264_fstatat, sys_fstatat64, sys_newfstatat)
-#define __NR3264_fstat 80
-__SC_3264(__NR3264_fstat, sys_fstat64, sys_newfstat)
-#endif
-
-/* fs/sync.c */
-#define __NR_sync 81
-__SYSCALL(__NR_sync, sys_sync)
-#define __NR_fsync 82
-__SYSCALL(__NR_fsync, sys_fsync)
-#define __NR_fdatasync 83
-__SYSCALL(__NR_fdatasync, sys_fdatasync)
-#ifdef __ARCH_WANT_SYNC_FILE_RANGE2
-#define __NR_sync_file_range2 84
-__SC_COMP(__NR_sync_file_range2, sys_sync_file_range2, \
-	  compat_sys_sync_file_range2)
-#else
-#define __NR_sync_file_range 84
-__SC_COMP(__NR_sync_file_range, sys_sync_file_range, \
-	  compat_sys_sync_file_range)
-#endif
-
-/* fs/timerfd.c */
-#define __NR_timerfd_create 85
-__SYSCALL(__NR_timerfd_create, sys_timerfd_create)
-#define __NR_timerfd_settime 86
-__SC_COMP(__NR_timerfd_settime, sys_timerfd_settime, \
-	  compat_sys_timerfd_settime)
-#define __NR_timerfd_gettime 87
-__SC_COMP(__NR_timerfd_gettime, sys_timerfd_gettime, \
-	  compat_sys_timerfd_gettime)
-
-/* fs/utimes.c */
-#define __NR_utimensat 88
-__SC_COMP(__NR_utimensat, sys_utimensat, compat_sys_utimensat)
-
-/* kernel/acct.c */
-#define __NR_acct 89
-__SYSCALL(__NR_acct, sys_acct)
-
-/* kernel/capability.c */
-#define __NR_capget 90
-__SYSCALL(__NR_capget, sys_capget)
-#define __NR_capset 91
-__SYSCALL(__NR_capset, sys_capset)
-
-/* kernel/exec_domain.c */
-#define __NR_personality 92
-__SYSCALL(__NR_personality, sys_personality)
-
-/* kernel/exit.c */
-#define __NR_exit 93
-__SYSCALL(__NR_exit, sys_exit)
-#define __NR_exit_group 94
-__SYSCALL(__NR_exit_group, sys_exit_group)
-#define __NR_waitid 95
-__SC_COMP(__NR_waitid, sys_waitid, compat_sys_waitid)
-
-/* kernel/fork.c */
-#define __NR_set_tid_address 96
-__SYSCALL(__NR_set_tid_address, sys_set_tid_address)
-#define __NR_unshare 97
-__SYSCALL(__NR_unshare, sys_unshare)
-
-/* kernel/futex.c */
-#define __NR_futex 98
-__SC_COMP(__NR_futex, sys_futex, compat_sys_futex)
-#define __NR_set_robust_list 99
-__SC_COMP(__NR_set_robust_list, sys_set_robust_list, \
-	  compat_sys_set_robust_list)
-#define __NR_get_robust_list 100
-__SC_COMP(__NR_get_robust_list, sys_get_robust_list, \
-	  compat_sys_get_robust_list)
-
-/* kernel/hrtimer.c */
-#define __NR_nanosleep 101
-__SC_COMP(__NR_nanosleep, sys_nanosleep, compat_sys_nanosleep)
-
-/* kernel/itimer.c */
-#define __NR_getitimer 102
-__SC_COMP(__NR_getitimer, sys_getitimer, compat_sys_getitimer)
-#define __NR_setitimer 103
-__SC_COMP(__NR_setitimer, sys_setitimer, compat_sys_setitimer)
-
-/* kernel/kexec.c */
-#define __NR_kexec_load 104
-__SC_COMP(__NR_kexec_load, sys_kexec_load, compat_sys_kexec_load)
-
-/* kernel/module.c */
-#define __NR_init_module 105
-__SYSCALL(__NR_init_module, sys_init_module)
-#define __NR_delete_module 106
-__SYSCALL(__NR_delete_module, sys_delete_module)
-
-/* kernel/posix-timers.c */
-#define __NR_timer_create 107
-__SC_COMP(__NR_timer_create, sys_timer_create, compat_sys_timer_create)
-#define __NR_timer_gettime 108
-__SC_COMP(__NR_timer_gettime, sys_timer_gettime, compat_sys_timer_gettime)
-#define __NR_timer_getoverrun 109
-__SYSCALL(__NR_timer_getoverrun, sys_timer_getoverrun)
-#define __NR_timer_settime 110
-__SC_COMP(__NR_timer_settime, sys_timer_settime, compat_sys_timer_settime)
-#define __NR_timer_delete 111
-__SYSCALL(__NR_timer_delete, sys_timer_delete)
-#define __NR_clock_settime 112
-__SC_COMP(__NR_clock_settime, sys_clock_settime, compat_sys_clock_settime)
-#define __NR_clock_gettime 113
-__SC_COMP(__NR_clock_gettime, sys_clock_gettime, compat_sys_clock_gettime)
-#define __NR_clock_getres 114
-__SC_COMP(__NR_clock_getres, sys_clock_getres, compat_sys_clock_getres)
-#define __NR_clock_nanosleep 115
-__SC_COMP(__NR_clock_nanosleep, sys_clock_nanosleep, \
-	  compat_sys_clock_nanosleep)
-
-/* kernel/printk.c */
-#define __NR_syslog 116
-__SYSCALL(__NR_syslog, sys_syslog)
-
-/* kernel/ptrace.c */
-#define __NR_ptrace 117
-__SYSCALL(__NR_ptrace, sys_ptrace)
-
-/* kernel/sched/core.c */
-#define __NR_sched_setparam 118
-__SYSCALL(__NR_sched_setparam, sys_sched_setparam)
-#define __NR_sched_setscheduler 119
-__SYSCALL(__NR_sched_setscheduler, sys_sched_setscheduler)
-#define __NR_sched_getscheduler 120
-__SYSCALL(__NR_sched_getscheduler, sys_sched_getscheduler)
-#define __NR_sched_getparam 121
-__SYSCALL(__NR_sched_getparam, sys_sched_getparam)
-#define __NR_sched_setaffinity 122
-__SC_COMP(__NR_sched_setaffinity, sys_sched_setaffinity, \
-	  compat_sys_sched_setaffinity)
-#define __NR_sched_getaffinity 123
-__SC_COMP(__NR_sched_getaffinity, sys_sched_getaffinity, \
-	  compat_sys_sched_getaffinity)
-#define __NR_sched_yield 124
-__SYSCALL(__NR_sched_yield, sys_sched_yield)
-#define __NR_sched_get_priority_max 125
-__SYSCALL(__NR_sched_get_priority_max, sys_sched_get_priority_max)
-#define __NR_sched_get_priority_min 126
-__SYSCALL(__NR_sched_get_priority_min, sys_sched_get_priority_min)
-#define __NR_sched_rr_get_interval 127
-__SC_COMP(__NR_sched_rr_get_interval, sys_sched_rr_get_interval, \
-	  compat_sys_sched_rr_get_interval)
-
-/* kernel/signal.c */
-#define __NR_restart_syscall 128
-__SYSCALL(__NR_restart_syscall, sys_restart_syscall)
-#define __NR_kill 129
-__SYSCALL(__NR_kill, sys_kill)
-#define __NR_tkill 130
-__SYSCALL(__NR_tkill, sys_tkill)
-#define __NR_tgkill 131
-__SYSCALL(__NR_tgkill, sys_tgkill)
-#define __NR_sigaltstack 132
-__SC_COMP(__NR_sigaltstack, sys_sigaltstack, compat_sys_sigaltstack)
-#define __NR_rt_sigsuspend 133
-__SC_COMP(__NR_rt_sigsuspend, sys_rt_sigsuspend, compat_sys_rt_sigsuspend)
-#define __NR_rt_sigaction 134
-__SC_COMP(__NR_rt_sigaction, sys_rt_sigaction, compat_sys_rt_sigaction)
-#define __NR_rt_sigprocmask 135
-__SC_COMP(__NR_rt_sigprocmask, sys_rt_sigprocmask, compat_sys_rt_sigprocmask)
-#define __NR_rt_sigpending 136
-__SC_COMP(__NR_rt_sigpending, sys_rt_sigpending, compat_sys_rt_sigpending)
-#define __NR_rt_sigtimedwait 137
-__SC_COMP(__NR_rt_sigtimedwait, sys_rt_sigtimedwait, \
-	  compat_sys_rt_sigtimedwait)
-#define __NR_rt_sigqueueinfo 138
-__SC_COMP(__NR_rt_sigqueueinfo, sys_rt_sigqueueinfo, \
-	  compat_sys_rt_sigqueueinfo)
-#define __NR_rt_sigreturn 139
-__SC_COMP(__NR_rt_sigreturn, sys_rt_sigreturn, compat_sys_rt_sigreturn)
-
-/* kernel/sys.c */
-#define __NR_setpriority 140
-__SYSCALL(__NR_setpriority, sys_setpriority)
-#define __NR_getpriority 141
-__SYSCALL(__NR_getpriority, sys_getpriority)
-#define __NR_reboot 142
-__SYSCALL(__NR_reboot, sys_reboot)
-#define __NR_setregid 143
-__SYSCALL(__NR_setregid, sys_setregid)
-#define __NR_setgid 144
-__SYSCALL(__NR_setgid, sys_setgid)
-#define __NR_setreuid 145
-__SYSCALL(__NR_setreuid, sys_setreuid)
-#define __NR_setuid 146
-__SYSCALL(__NR_setuid, sys_setuid)
-#define __NR_setresuid 147
-__SYSCALL(__NR_setresuid, sys_setresuid)
-#define __NR_getresuid 148
-__SYSCALL(__NR_getresuid, sys_getresuid)
-#define __NR_setresgid 149
-__SYSCALL(__NR_setresgid, sys_setresgid)
-#define __NR_getresgid 150
-__SYSCALL(__NR_getresgid, sys_getresgid)
-#define __NR_setfsuid 151
-__SYSCALL(__NR_setfsuid, sys_setfsuid)
-#define __NR_setfsgid 152
-__SYSCALL(__NR_setfsgid, sys_setfsgid)
-#define __NR_times 153
-__SC_COMP(__NR_times, sys_times, compat_sys_times)
-#define __NR_setpgid 154
-__SYSCALL(__NR_setpgid, sys_setpgid)
-#define __NR_getpgid 155
-__SYSCALL(__NR_getpgid, sys_getpgid)
-#define __NR_getsid 156
-__SYSCALL(__NR_getsid, sys_getsid)
-#define __NR_setsid 157
-__SYSCALL(__NR_setsid, sys_setsid)
-#define __NR_getgroups 158
-__SYSCALL(__NR_getgroups, sys_getgroups)
-#define __NR_setgroups 159
-__SYSCALL(__NR_setgroups, sys_setgroups)
-#define __NR_uname 160
-__SYSCALL(__NR_uname, sys_newuname)
-#define __NR_sethostname 161
-__SYSCALL(__NR_sethostname, sys_sethostname)
-#define __NR_setdomainname 162
-__SYSCALL(__NR_setdomainname, sys_setdomainname)
-#define __NR_getrlimit 163
-__SC_COMP(__NR_getrlimit, sys_getrlimit, compat_sys_getrlimit)
-#define __NR_setrlimit 164
-__SC_COMP(__NR_setrlimit, sys_setrlimit, compat_sys_setrlimit)
-#define __NR_getrusage 165
-__SC_COMP(__NR_getrusage, sys_getrusage, compat_sys_getrusage)
-#define __NR_umask 166
-__SYSCALL(__NR_umask, sys_umask)
-#define __NR_prctl 167
-__SYSCALL(__NR_prctl, sys_prctl)
-#define __NR_getcpu 168
-__SYSCALL(__NR_getcpu, sys_getcpu)
-
-/* kernel/time.c */
-#define __NR_gettimeofday 169
-__SC_COMP(__NR_gettimeofday, sys_gettimeofday, compat_sys_gettimeofday)
-#define __NR_settimeofday 170
-__SC_COMP(__NR_settimeofday, sys_settimeofday, compat_sys_settimeofday)
-#define __NR_adjtimex 171
-__SC_COMP(__NR_adjtimex, sys_adjtimex, compat_sys_adjtimex)
-
-/* kernel/timer.c */
-#define __NR_getpid 172
-__SYSCALL(__NR_getpid, sys_getpid)
-#define __NR_getppid 173
-__SYSCALL(__NR_getppid, sys_getppid)
-#define __NR_getuid 174
-__SYSCALL(__NR_getuid, sys_getuid)
-#define __NR_geteuid 175
-__SYSCALL(__NR_geteuid, sys_geteuid)
-#define __NR_getgid 176
-__SYSCALL(__NR_getgid, sys_getgid)
-#define __NR_getegid 177
-__SYSCALL(__NR_getegid, sys_getegid)
-#define __NR_gettid 178
-__SYSCALL(__NR_gettid, sys_gettid)
-#define __NR_sysinfo 179
-__SC_COMP(__NR_sysinfo, sys_sysinfo, compat_sys_sysinfo)
-
-/* ipc/mqueue.c */
-#define __NR_mq_open 180
-__SC_COMP(__NR_mq_open, sys_mq_open, compat_sys_mq_open)
-#define __NR_mq_unlink 181
-__SYSCALL(__NR_mq_unlink, sys_mq_unlink)
-#define __NR_mq_timedsend 182
-__SC_COMP(__NR_mq_timedsend, sys_mq_timedsend, compat_sys_mq_timedsend)
-#define __NR_mq_timedreceive 183
-__SC_COMP(__NR_mq_timedreceive, sys_mq_timedreceive, \
-	  compat_sys_mq_timedreceive)
-#define __NR_mq_notify 184
-__SC_COMP(__NR_mq_notify, sys_mq_notify, compat_sys_mq_notify)
-#define __NR_mq_getsetattr 185
-__SC_COMP(__NR_mq_getsetattr, sys_mq_getsetattr, compat_sys_mq_getsetattr)
-
-/* ipc/msg.c */
-#define __NR_msgget 186
-__SYSCALL(__NR_msgget, sys_msgget)
-#define __NR_msgctl 187
-__SC_COMP(__NR_msgctl, sys_msgctl, compat_sys_msgctl)
-#define __NR_msgrcv 188
-__SC_COMP(__NR_msgrcv, sys_msgrcv, compat_sys_msgrcv)
-#define __NR_msgsnd 189
-__SC_COMP(__NR_msgsnd, sys_msgsnd, compat_sys_msgsnd)
-
-/* ipc/sem.c */
-#define __NR_semget 190
-__SYSCALL(__NR_semget, sys_semget)
-#define __NR_semctl 191
-__SC_COMP(__NR_semctl, sys_semctl, compat_sys_semctl)
-#define __NR_semtimedop 192
-__SC_COMP(__NR_semtimedop, sys_semtimedop, compat_sys_semtimedop)
-#define __NR_semop 193
-__SYSCALL(__NR_semop, sys_semop)
-
-/* ipc/shm.c */
-#define __NR_shmget 194
-__SYSCALL(__NR_shmget, sys_shmget)
-#define __NR_shmctl 195
-__SC_COMP(__NR_shmctl, sys_shmctl, compat_sys_shmctl)
-#define __NR_shmat 196
-__SC_COMP(__NR_shmat, sys_shmat, compat_sys_shmat)
-#define __NR_shmdt 197
-__SYSCALL(__NR_shmdt, sys_shmdt)
-
-/* net/socket.c */
-#define __NR_socket 198
-__SYSCALL(__NR_socket, sys_socket)
-#define __NR_socketpair 199
-__SYSCALL(__NR_socketpair, sys_socketpair)
-#define __NR_bind 200
-__SYSCALL(__NR_bind, sys_bind)
-#define __NR_listen 201
-__SYSCALL(__NR_listen, sys_listen)
-#define __NR_accept 202
-__SYSCALL(__NR_accept, sys_accept)
-#define __NR_connect 203
-__SYSCALL(__NR_connect, sys_connect)
-#define __NR_getsockname 204
-__SYSCALL(__NR_getsockname, sys_getsockname)
-#define __NR_getpeername 205
-__SYSCALL(__NR_getpeername, sys_getpeername)
-#define __NR_sendto 206
-__SYSCALL(__NR_sendto, sys_sendto)
-#define __NR_recvfrom 207
-__SC_COMP(__NR_recvfrom, sys_recvfrom, compat_sys_recvfrom)
-#define __NR_setsockopt 208
-__SC_COMP(__NR_setsockopt, sys_setsockopt, compat_sys_setsockopt)
-#define __NR_getsockopt 209
-__SC_COMP(__NR_getsockopt, sys_getsockopt, compat_sys_getsockopt)
-#define __NR_shutdown 210
-__SYSCALL(__NR_shutdown, sys_shutdown)
-#define __NR_sendmsg 211
-__SC_COMP(__NR_sendmsg, sys_sendmsg, compat_sys_sendmsg)
-#define __NR_recvmsg 212
-__SC_COMP(__NR_recvmsg, sys_recvmsg, compat_sys_recvmsg)
-
-/* mm/filemap.c */
-#define __NR_readahead 213
-__SC_COMP(__NR_readahead, sys_readahead, compat_sys_readahead)
-
-/* mm/nommu.c, also with MMU */
-#define __NR_brk 214
-__SYSCALL(__NR_brk, sys_brk)
-#define __NR_munmap 215
-__SYSCALL(__NR_munmap, sys_munmap)
-#define __NR_mremap 216
-__SYSCALL(__NR_mremap, sys_mremap)
-
-/* security/keys/keyctl.c */
-#define __NR_add_key 217
-__SYSCALL(__NR_add_key, sys_add_key)
-#define __NR_request_key 218
-__SYSCALL(__NR_request_key, sys_request_key)
-#define __NR_keyctl 219
-__SC_COMP(__NR_keyctl, sys_keyctl, compat_sys_keyctl)
-
-/* arch/example/kernel/sys_example.c */
-#define __NR_clone 220
-__SYSCALL(__NR_clone, sys_clone)
-#define __NR_execve 221
-__SC_COMP(__NR_execve, sys_execve, compat_sys_execve)
-
-#define __NR3264_mmap 222
-__SC_3264(__NR3264_mmap, sys_mmap2, sys_mmap)
-/* mm/fadvise.c */
-#define __NR3264_fadvise64 223
-__SC_COMP(__NR3264_fadvise64, sys_fadvise64_64, compat_sys_fadvise64_64)
-
-/* mm/, CONFIG_MMU only */
-#ifndef __ARCH_NOMMU
-#define __NR_swapon 224
-__SYSCALL(__NR_swapon, sys_swapon)
-#define __NR_swapoff 225
-__SYSCALL(__NR_swapoff, sys_swapoff)
-#define __NR_mprotect 226
-__SYSCALL(__NR_mprotect, sys_mprotect)
-#define __NR_msync 227
-__SYSCALL(__NR_msync, sys_msync)
-#define __NR_mlock 228
-__SYSCALL(__NR_mlock, sys_mlock)
-#define __NR_munlock 229
-__SYSCALL(__NR_munlock, sys_munlock)
-#define __NR_mlockall 230
-__SYSCALL(__NR_mlockall, sys_mlockall)
-#define __NR_munlockall 231
-__SYSCALL(__NR_munlockall, sys_munlockall)
-#define __NR_mincore 232
-__SYSCALL(__NR_mincore, sys_mincore)
-#define __NR_madvise 233
-__SYSCALL(__NR_madvise, sys_madvise)
-#define __NR_remap_file_pages 234
-__SYSCALL(__NR_remap_file_pages, sys_remap_file_pages)
-#define __NR_mbind 235
-__SC_COMP(__NR_mbind, sys_mbind, compat_sys_mbind)
-#define __NR_get_mempolicy 236
-__SC_COMP(__NR_get_mempolicy, sys_get_mempolicy, compat_sys_get_mempolicy)
-#define __NR_set_mempolicy 237
-__SC_COMP(__NR_set_mempolicy, sys_set_mempolicy, compat_sys_set_mempolicy)
-#define __NR_migrate_pages 238
-__SC_COMP(__NR_migrate_pages, sys_migrate_pages, compat_sys_migrate_pages)
-#define __NR_move_pages 239
-__SC_COMP(__NR_move_pages, sys_move_pages, compat_sys_move_pages)
-#endif
-
-#define __NR_rt_tgsigqueueinfo 240
-__SC_COMP(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo, \
-	  compat_sys_rt_tgsigqueueinfo)
-#define __NR_perf_event_open 241
-__SYSCALL(__NR_perf_event_open, sys_perf_event_open)
-#define __NR_accept4 242
-__SYSCALL(__NR_accept4, sys_accept4)
-#define __NR_recvmmsg 243
-__SC_COMP(__NR_recvmmsg, sys_recvmmsg, compat_sys_recvmmsg)
-
-/*
- * Architectures may provide up to 16 syscalls of their own
- * starting with this value.
- */
-#define __NR_arch_specific_syscall 244
-
-#define __NR_wait4 260
-__SC_COMP(__NR_wait4, sys_wait4, compat_sys_wait4)
-#define __NR_prlimit64 261
-__SYSCALL(__NR_prlimit64, sys_prlimit64)
-#define __NR_fanotify_init 262
-__SYSCALL(__NR_fanotify_init, sys_fanotify_init)
-#define __NR_fanotify_mark 263
-__SYSCALL(__NR_fanotify_mark, sys_fanotify_mark)
-#define __NR_name_to_handle_at         264
-__SYSCALL(__NR_name_to_handle_at, sys_name_to_handle_at)
-#define __NR_open_by_handle_at         265
-__SC_COMP(__NR_open_by_handle_at, sys_open_by_handle_at, \
-	  compat_sys_open_by_handle_at)
-#define __NR_clock_adjtime 266
-__SC_COMP(__NR_clock_adjtime, sys_clock_adjtime, compat_sys_clock_adjtime)
-#define __NR_syncfs 267
-__SYSCALL(__NR_syncfs, sys_syncfs)
-#define __NR_setns 268
-__SYSCALL(__NR_setns, sys_setns)
-#define __NR_sendmmsg 269
-__SC_COMP(__NR_sendmmsg, sys_sendmmsg, compat_sys_sendmmsg)
-#define __NR_process_vm_readv 270
-__SC_COMP(__NR_process_vm_readv, sys_process_vm_readv, \
-          compat_sys_process_vm_readv)
-#define __NR_process_vm_writev 271
-__SC_COMP(__NR_process_vm_writev, sys_process_vm_writev, \
-          compat_sys_process_vm_writev)
-#define __NR_kcmp 272
-__SYSCALL(__NR_kcmp, sys_kcmp)
-#define __NR_finit_module 273
-__SYSCALL(__NR_finit_module, sys_finit_module)
-#define __NR_sched_setattr 274
-__SYSCALL(__NR_sched_setattr, sys_sched_setattr)
-#define __NR_sched_getattr 275
-__SYSCALL(__NR_sched_getattr, sys_sched_getattr)
-#define __NR_renameat2 276
-__SYSCALL(__NR_renameat2, sys_renameat2)
-#define __NR_seccomp 277
-__SYSCALL(__NR_seccomp, sys_seccomp)
-#define __NR_getrandom 278
-__SYSCALL(__NR_getrandom, sys_getrandom)
-#define __NR_memfd_create 279
-__SYSCALL(__NR_memfd_create, sys_memfd_create)
-#define __NR_bpf 280
-__SYSCALL(__NR_bpf, sys_bpf)
-#define __NR_execveat 281
-__SC_COMP(__NR_execveat, sys_execveat, compat_sys_execveat)
-#define __NR_userfaultfd 282
-__SYSCALL(__NR_userfaultfd, sys_userfaultfd)
-#define __NR_membarrier 283
-__SYSCALL(__NR_membarrier, sys_membarrier)
-#define __NR_mlock2 284
-__SYSCALL(__NR_mlock2, sys_mlock2)
-#define __NR_copy_file_range 285
-__SYSCALL(__NR_copy_file_range, sys_copy_file_range)
-#define __NR_preadv2 286
-__SC_COMP(__NR_preadv2, sys_preadv2, compat_sys_preadv2)
-#define __NR_pwritev2 287
-__SC_COMP(__NR_pwritev2, sys_pwritev2, compat_sys_pwritev2)
-#define __NR_pkey_mprotect 288
-__SYSCALL(__NR_pkey_mprotect, sys_pkey_mprotect)
-#define __NR_pkey_alloc 289
-__SYSCALL(__NR_pkey_alloc,    sys_pkey_alloc)
-#define __NR_pkey_free 290
-__SYSCALL(__NR_pkey_free,     sys_pkey_free)
-#define __NR_statx 291
-__SYSCALL(__NR_statx,     sys_statx)
-#define __NR_io_pgetevents 292
-__SC_COMP(__NR_io_pgetevents, sys_io_pgetevents, compat_sys_io_pgetevents)
-#define __NR_rseq 293
-__SYSCALL(__NR_rseq, sys_rseq)
-
-#undef __NR_syscalls
-#define __NR_syscalls 294
-
-/*
- * 32 bit systems traditionally used different
- * syscalls for off_t and loff_t arguments, while
- * 64 bit systems only need the off_t version.
- * For new 32 bit platforms, there is no need to
- * implement the old 32 bit off_t syscalls, so
- * they take different names.
- * Here we map the numbers so that both versions
- * use the same syscall table layout.
- */
-#if __BITS_PER_LONG == 64 && !defined(__SYSCALL_COMPAT)
-#define __NR_fcntl __NR3264_fcntl
-#define __NR_statfs __NR3264_statfs
-#define __NR_fstatfs __NR3264_fstatfs
-#define __NR_truncate __NR3264_truncate
-#define __NR_ftruncate __NR3264_ftruncate
-#define __NR_lseek __NR3264_lseek
-#define __NR_sendfile __NR3264_sendfile
-#if defined(__ARCH_WANT_NEW_STAT) || defined(__ARCH_WANT_STAT64)
-#define __NR_newfstatat __NR3264_fstatat
-#define __NR_fstat __NR3264_fstat
-#endif
-#define __NR_mmap __NR3264_mmap
-#define __NR_fadvise64 __NR3264_fadvise64
-#ifdef __NR3264_stat
-#define __NR_stat __NR3264_stat
-#define __NR_lstat __NR3264_lstat
-#endif
-#else
-#define __NR_fcntl64 __NR3264_fcntl
-#define __NR_statfs64 __NR3264_statfs
-#define __NR_fstatfs64 __NR3264_fstatfs
-#define __NR_truncate64 __NR3264_truncate
-#define __NR_ftruncate64 __NR3264_ftruncate
-#define __NR_llseek __NR3264_lseek
-#define __NR_sendfile64 __NR3264_sendfile
-#if defined(__ARCH_WANT_NEW_STAT) || defined(__ARCH_WANT_STAT64)
-#define __NR_fstatat64 __NR3264_fstatat
-#define __NR_fstat64 __NR3264_fstat
-#endif
-#define __NR_mmap2 __NR3264_mmap
-#define __NR_fadvise64_64 __NR3264_fadvise64
-#ifdef __NR3264_stat
-#define __NR_stat64 __NR3264_stat
-#define __NR_lstat64 __NR3264_lstat
-#endif
-#endif
diff --git a/libc/include/generic-glibc/asm/unistd_32.h b/libc/include/generic-glibc/asm/unistd_32.h
deleted file mode 100644
index 58f04cf3d1..0000000000
--- a/libc/include/generic-glibc/asm/unistd_32.h
+++ /dev/null
@@ -1,401 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-#ifndef __ASM_SH_UNISTD_32_H
-#define __ASM_SH_UNISTD_32_H
-
-/*
- * Copyright (C) 1999  Niibe Yutaka
- */
-
-/*
- * This file contains the system call numbers.
- */
-
-#define __NR_restart_syscall	  0
-#define __NR_exit		  1
-#define __NR_fork		  2
-#define __NR_read		  3
-#define __NR_write		  4
-#define __NR_open		  5
-#define __NR_close		  6
-#define __NR_waitpid		  7
-#define __NR_creat		  8
-#define __NR_link		  9
-#define __NR_unlink		 10
-#define __NR_execve		 11
-#define __NR_chdir		 12
-#define __NR_time		 13
-#define __NR_mknod		 14
-#define __NR_chmod		 15
-#define __NR_lchown		 16
-				 /* 17 was sys_break */
-#define __NR_oldstat		 18
-#define __NR_lseek		 19
-#define __NR_getpid		 20
-#define __NR_mount		 21
-#define __NR_umount		 22
-#define __NR_setuid		 23
-#define __NR_getuid		 24
-#define __NR_stime		 25
-#define __NR_ptrace		 26
-#define __NR_alarm		 27
-#define __NR_oldfstat		 28
-#define __NR_pause		 29
-#define __NR_utime		 30
-				 /* 31 was sys_stty */
-				 /* 32 was sys_gtty */
-#define __NR_access		 33
-#define __NR_nice		 34
-				 /* 35 was sys_ftime */
-#define __NR_sync		 36
-#define __NR_kill		 37
-#define __NR_rename		 38
-#define __NR_mkdir		 39
-#define __NR_rmdir		 40
-#define __NR_dup		 41
-#define __NR_pipe		 42
-#define __NR_times		 43
-				 /* 44 was sys_prof */
-#define __NR_brk		 45
-#define __NR_setgid		 46
-#define __NR_getgid		 47
-#define __NR_signal		 48
-#define __NR_geteuid		 49
-#define __NR_getegid		 50
-#define __NR_acct		 51
-#define __NR_umount2		 52
-				 /* 53 was sys_lock */
-#define __NR_ioctl		 54
-#define __NR_fcntl		 55
-				 /* 56 was sys_mpx */
-#define __NR_setpgid		 57
-				 /* 58 was sys_ulimit */
-				 /* 59 was sys_olduname */
-#define __NR_umask		 60
-#define __NR_chroot		 61
-#define __NR_ustat		 62
-#define __NR_dup2		 63
-#define __NR_getppid		 64
-#define __NR_getpgrp		 65
-#define __NR_setsid		 66
-#define __NR_sigaction		 67
-#define __NR_sgetmask		 68
-#define __NR_ssetmask		 69
-#define __NR_setreuid		 70
-#define __NR_setregid		 71
-#define __NR_sigsuspend		 72
-#define __NR_sigpending		 73
-#define __NR_sethostname	 74
-#define __NR_setrlimit		 75
-#define __NR_getrlimit		 76	/* Back compatible 2Gig limited rlimit */
-#define __NR_getrusage		 77
-#define __NR_gettimeofday	 78
-#define __NR_settimeofday	 79
-#define __NR_getgroups		 80
-#define __NR_setgroups		 81
-				 /* 82 was sys_oldselect */
-#define __NR_symlink		 83
-#define __NR_oldlstat		 84
-#define __NR_readlink		 85
-#define __NR_uselib		 86
-#define __NR_swapon		 87
-#define __NR_reboot		 88
-#define __NR_readdir		 89
-#define __NR_mmap		 90
-#define __NR_munmap		 91
-#define __NR_truncate		 92
-#define __NR_ftruncate		 93
-#define __NR_fchmod		 94
-#define __NR_fchown		 95
-#define __NR_getpriority	 96
-#define __NR_setpriority	 97
-				 /* 98 was sys_profil */
-#define __NR_statfs		 99
-#define __NR_fstatfs		100
-				/* 101 was sys_ioperm */
-#define __NR_socketcall		102
-#define __NR_syslog		103
-#define __NR_setitimer		104
-#define __NR_getitimer		105
-#define __NR_stat		106
-#define __NR_lstat		107
-#define __NR_fstat		108
-#define __NR_olduname		109
-				/* 110 was sys_iopl */
-#define __NR_vhangup		111
-				/* 112 was sys_idle */
-				/* 113 was sys_vm86old */
-#define __NR_wait4		114
-#define __NR_swapoff		115
-#define __NR_sysinfo		116
-#define __NR_ipc		117
-#define __NR_fsync		118
-#define __NR_sigreturn		119
-#define __NR_clone		120
-#define __NR_setdomainname	121
-#define __NR_uname		122
-#define __NR_cacheflush		123
-#define __NR_adjtimex		124
-#define __NR_mprotect		125
-#define __NR_sigprocmask	126
-				/* 127 was sys_create_module */
-#define __NR_init_module	128
-#define __NR_delete_module	129
-				/* 130 was sys_get_kernel_syms */
-#define __NR_quotactl		131
-#define __NR_getpgid		132
-#define __NR_fchdir		133
-#define __NR_bdflush		134
-#define __NR_sysfs		135
-#define __NR_personality	136
-				/* 137 was sys_afs_syscall */
-#define __NR_setfsuid		138
-#define __NR_setfsgid		139
-#define __NR__llseek		140
-#define __NR_getdents		141
-#define __NR__newselect		142
-#define __NR_flock		143
-#define __NR_msync		144
-#define __NR_readv		145
-#define __NR_writev		146
-#define __NR_getsid		147
-#define __NR_fdatasync		148
-#define __NR__sysctl		149
-#define __NR_mlock		150
-#define __NR_munlock		151
-#define __NR_mlockall		152
-#define __NR_munlockall		153
-#define __NR_sched_setparam		154
-#define __NR_sched_getparam		155
-#define __NR_sched_setscheduler		156
-#define __NR_sched_getscheduler		157
-#define __NR_sched_yield		158
-#define __NR_sched_get_priority_max	159
-#define __NR_sched_get_priority_min	160
-#define __NR_sched_rr_get_interval	161
-#define __NR_nanosleep		162
-#define __NR_mremap		163
-#define __NR_setresuid		164
-#define __NR_getresuid		165
-				/* 166 was sys_vm86 */
-				/* 167 was sys_query_module */
-#define __NR_poll		168
-#define __NR_nfsservctl		169
-#define __NR_setresgid		170
-#define __NR_getresgid		171
-#define __NR_prctl              172
-#define __NR_rt_sigreturn	173
-#define __NR_rt_sigaction	174
-#define __NR_rt_sigprocmask	175
-#define __NR_rt_sigpending	176
-#define __NR_rt_sigtimedwait	177
-#define __NR_rt_sigqueueinfo	178
-#define __NR_rt_sigsuspend	179
-#define __NR_pread64		180
-#define __NR_pwrite64		181
-#define __NR_chown		182
-#define __NR_getcwd		183
-#define __NR_capget		184
-#define __NR_capset		185
-#define __NR_sigaltstack	186
-#define __NR_sendfile		187
-				/* 188 reserved for sys_getpmsg */
-				/* 189 reserved for sys_putpmsg */
-#define __NR_vfork		190
-#define __NR_ugetrlimit		191	/* SuS compliant getrlimit */
-#define __NR_mmap2		192
-#define __NR_truncate64		193
-#define __NR_ftruncate64	194
-#define __NR_stat64		195
-#define __NR_lstat64		196
-#define __NR_fstat64		197
-#define __NR_lchown32		198
-#define __NR_getuid32		199
-#define __NR_getgid32		200
-#define __NR_geteuid32		201
-#define __NR_getegid32		202
-#define __NR_setreuid32		203
-#define __NR_setregid32		204
-#define __NR_getgroups32	205
-#define __NR_setgroups32	206
-#define __NR_fchown32		207
-#define __NR_setresuid32	208
-#define __NR_getresuid32	209
-#define __NR_setresgid32	210
-#define __NR_getresgid32	211
-#define __NR_chown32		212
-#define __NR_setuid32		213
-#define __NR_setgid32		214
-#define __NR_setfsuid32		215
-#define __NR_setfsgid32		216
-#define __NR_pivot_root		217
-#define __NR_mincore		218
-#define __NR_madvise		219
-#define __NR_getdents64		220
-#define __NR_fcntl64		221
-				/* 222 is reserved for tux */
-				/* 223 is unused */
-#define __NR_gettid		224
-#define __NR_readahead		225
-#define __NR_setxattr		226
-#define __NR_lsetxattr		227
-#define __NR_fsetxattr		228
-#define __NR_getxattr		229
-#define __NR_lgetxattr		230
-#define __NR_fgetxattr		231
-#define __NR_listxattr		232
-#define __NR_llistxattr		233
-#define __NR_flistxattr		234
-#define __NR_removexattr	235
-#define __NR_lremovexattr	236
-#define __NR_fremovexattr	237
-#define __NR_tkill		238
-#define __NR_sendfile64		239
-#define __NR_futex		240
-#define __NR_sched_setaffinity	241
-#define __NR_sched_getaffinity	242
-				/* 243 is reserved for set_thread_area */
-				/* 244 is reserved for get_thread_area */
-#define __NR_io_setup		245
-#define __NR_io_destroy		246
-#define __NR_io_getevents	247
-#define __NR_io_submit		248
-#define __NR_io_cancel		249
-#define __NR_fadvise64		250
-				/* 251 is unused */
-#define __NR_exit_group		252
-#define __NR_lookup_dcookie	253
-#define __NR_epoll_create	254
-#define __NR_epoll_ctl		255
-#define __NR_epoll_wait		256
-#define __NR_remap_file_pages	257
-#define __NR_set_tid_address	258
-#define __NR_timer_create	259
-#define __NR_timer_settime	(__NR_timer_create+1)
-#define __NR_timer_gettime	(__NR_timer_create+2)
-#define __NR_timer_getoverrun	(__NR_timer_create+3)
-#define __NR_timer_delete	(__NR_timer_create+4)
-#define __NR_clock_settime	(__NR_timer_create+5)
-#define __NR_clock_gettime	(__NR_timer_create+6)
-#define __NR_clock_getres	(__NR_timer_create+7)
-#define __NR_clock_nanosleep	(__NR_timer_create+8)
-#define __NR_statfs64		268
-#define __NR_fstatfs64		269
-#define __NR_tgkill		270
-#define __NR_utimes		271
-#define __NR_fadvise64_64	272
-				/* 273 is reserved for vserver */
-#define __NR_mbind              274
-#define __NR_get_mempolicy      275
-#define __NR_set_mempolicy      276
-#define __NR_mq_open            277
-#define __NR_mq_unlink          (__NR_mq_open+1)
-#define __NR_mq_timedsend       (__NR_mq_open+2)
-#define __NR_mq_timedreceive    (__NR_mq_open+3)
-#define __NR_mq_notify          (__NR_mq_open+4)
-#define __NR_mq_getsetattr      (__NR_mq_open+5)
-#define __NR_kexec_load		283
-#define __NR_waitid		284
-#define __NR_add_key		285
-#define __NR_request_key	286
-#define __NR_keyctl		287
-#define __NR_ioprio_set		288
-#define __NR_ioprio_get		289
-#define __NR_inotify_init	290
-#define __NR_inotify_add_watch	291
-#define __NR_inotify_rm_watch	292
-				/* 293 is unused */
-#define __NR_migrate_pages	294
-#define __NR_openat		295
-#define __NR_mkdirat		296
-#define __NR_mknodat		297
-#define __NR_fchownat		298
-#define __NR_futimesat		299
-#define __NR_fstatat64		300
-#define __NR_unlinkat		301
-#define __NR_renameat		302
-#define __NR_linkat		303
-#define __NR_symlinkat		304
-#define __NR_readlinkat		305
-#define __NR_fchmodat		306
-#define __NR_faccessat		307
-#define __NR_pselect6		308
-#define __NR_ppoll		309
-#define __NR_unshare		310
-#define __NR_set_robust_list	311
-#define __NR_get_robust_list	312
-#define __NR_splice		313
-#define __NR_sync_file_range	314
-#define __NR_tee		315
-#define __NR_vmsplice		316
-#define __NR_move_pages		317
-#define __NR_getcpu		318
-#define __NR_epoll_pwait	319
-#define __NR_utimensat		320
-#define __NR_signalfd		321
-#define __NR_timerfd_create	322
-#define __NR_eventfd		323
-#define __NR_fallocate		324
-#define __NR_timerfd_settime	325
-#define __NR_timerfd_gettime	326
-#define __NR_signalfd4		327
-#define __NR_eventfd2		328
-#define __NR_epoll_create1	329
-#define __NR_dup3		330
-#define __NR_pipe2		331
-#define __NR_inotify_init1	332
-#define __NR_preadv		333
-#define __NR_pwritev		334
-#define __NR_rt_tgsigqueueinfo	335
-#define __NR_perf_event_open	336
-#define __NR_fanotify_init	337
-#define __NR_fanotify_mark	338
-#define __NR_prlimit64		339
-
-/* Non-multiplexed socket family */
-#define __NR_socket		340
-#define __NR_bind		341
-#define __NR_connect		342
-#define __NR_listen		343
-#define __NR_accept		344
-#define __NR_getsockname	345
-#define __NR_getpeername	346
-#define __NR_socketpair		347
-#define __NR_send		348
-#define __NR_sendto		349
-#define __NR_recv		350
-#define __NR_recvfrom		351
-#define __NR_shutdown		352
-#define __NR_setsockopt		353
-#define __NR_getsockopt		354
-#define __NR_sendmsg		355
-#define __NR_recvmsg		356
-#define __NR_recvmmsg		357
-#define __NR_accept4		358
-#define __NR_name_to_handle_at	359
-#define __NR_open_by_handle_at	360
-#define __NR_clock_adjtime	361
-#define __NR_syncfs		362
-#define __NR_sendmmsg		363
-#define __NR_setns		364
-#define __NR_process_vm_readv	365
-#define __NR_process_vm_writev	366
-#define __NR_kcmp		367
-#define __NR_finit_module	368
-#define __NR_sched_getattr	369
-#define __NR_sched_setattr	370
-#define __NR_renameat2		371
-#define __NR_seccomp		372
-#define __NR_getrandom		373
-#define __NR_memfd_create	374
-#define __NR_bpf		375
-#define __NR_execveat		376
-#define __NR_userfaultfd	377
-#define __NR_membarrier		378
-#define __NR_mlock2		379
-#define __NR_copy_file_range	380
-#define __NR_preadv2		381
-#define __NR_pwritev2		382
-
-#define NR_syscalls 383
-
-#endif /* __ASM_SH_UNISTD_32_H */
diff --git a/libc/include/generic-glibc/asm/unistd_64.h b/libc/include/generic-glibc/asm/unistd_64.h
deleted file mode 100644
index 6f809a53aa..0000000000
--- a/libc/include/generic-glibc/asm/unistd_64.h
+++ /dev/null
@@ -1,421 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-#ifndef __ASM_SH_UNISTD_64_H
-#define __ASM_SH_UNISTD_64_H
-
-/*
- * include/asm-sh/unistd_64.h
- *
- * This file contains the system call numbers.
- *
- * Copyright (C) 2000, 2001  Paolo Alberelli
- * Copyright (C) 2003 - 2007 Paul Mundt
- * Copyright (C) 2004  Sean McGoogan
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- */
-#define __NR_restart_syscall	  0
-#define __NR_exit		  1
-#define __NR_fork		  2
-#define __NR_read		  3
-#define __NR_write		  4
-#define __NR_open		  5
-#define __NR_close		  6
-#define __NR_waitpid		  7
-#define __NR_creat		  8
-#define __NR_link		  9
-#define __NR_unlink		 10
-#define __NR_execve		 11
-#define __NR_chdir		 12
-#define __NR_time		 13
-#define __NR_mknod		 14
-#define __NR_chmod		 15
-#define __NR_lchown		 16
-				 /* 17 was sys_break */
-#define __NR_oldstat		 18
-#define __NR_lseek		 19
-#define __NR_getpid		 20
-#define __NR_mount		 21
-#define __NR_umount		 22
-#define __NR_setuid		 23
-#define __NR_getuid		 24
-#define __NR_stime		 25
-#define __NR_ptrace		 26
-#define __NR_alarm		 27
-#define __NR_oldfstat		 28
-#define __NR_pause		 29
-#define __NR_utime		 30
-				 /* 31 was sys_stty */
-				 /* 32 was sys_gtty */
-#define __NR_access		 33
-#define __NR_nice		 34
-				 /* 35 was sys_ftime */
-#define __NR_sync		 36
-#define __NR_kill		 37
-#define __NR_rename		 38
-#define __NR_mkdir		 39
-#define __NR_rmdir		 40
-#define __NR_dup		 41
-#define __NR_pipe		 42
-#define __NR_times		 43
-				 /* 44 was sys_prof */
-#define __NR_brk		 45
-#define __NR_setgid		 46
-#define __NR_getgid		 47
-#define __NR_signal		 48
-#define __NR_geteuid		 49
-#define __NR_getegid		 50
-#define __NR_acct		 51
-#define __NR_umount2		 52
-				 /* 53 was sys_lock */
-#define __NR_ioctl		 54
-#define __NR_fcntl		 55
-				 /* 56 was sys_mpx */
-#define __NR_setpgid		 57
-				 /* 58 was sys_ulimit */
-				 /* 59 was sys_olduname */
-#define __NR_umask		 60
-#define __NR_chroot		 61
-#define __NR_ustat		 62
-#define __NR_dup2		 63
-#define __NR_getppid		 64
-#define __NR_getpgrp		 65
-#define __NR_setsid		 66
-#define __NR_sigaction		 67
-#define __NR_sgetmask		 68
-#define __NR_ssetmask		 69
-#define __NR_setreuid		 70
-#define __NR_setregid		 71
-#define __NR_sigsuspend		 72
-#define __NR_sigpending		 73
-#define __NR_sethostname	 74
-#define __NR_setrlimit		 75
-#define __NR_getrlimit		 76	/* Back compatible 2Gig limited rlimit */
-#define __NR_getrusage		 77
-#define __NR_gettimeofday	 78
-#define __NR_settimeofday	 79
-#define __NR_getgroups		 80
-#define __NR_setgroups		 81
-				 /* 82 was sys_select */
-#define __NR_symlink		 83
-#define __NR_oldlstat		 84
-#define __NR_readlink		 85
-#define __NR_uselib		 86
-#define __NR_swapon		 87
-#define __NR_reboot		 88
-#define __NR_readdir		 89
-#define __NR_mmap		 90
-#define __NR_munmap		 91
-#define __NR_truncate		 92
-#define __NR_ftruncate		 93
-#define __NR_fchmod		 94
-#define __NR_fchown		 95
-#define __NR_getpriority	 96
-#define __NR_setpriority	 97
-				 /* 98 was sys_profil */
-#define __NR_statfs		 99
-#define __NR_fstatfs		100
-				/* 101 was sys_ioperm */
-#define __NR_socketcall		102	/* old implementation of socket systemcall */
-#define __NR_syslog		103
-#define __NR_setitimer		104
-#define __NR_getitimer		105
-#define __NR_stat		106
-#define __NR_lstat		107
-#define __NR_fstat		108
-#define __NR_olduname		109
-				/* 110 was sys_iopl */
-#define __NR_vhangup		111
-				/* 112 was sys_idle */
-				/* 113 was sys_vm86old */
-#define __NR_wait4		114
-#define __NR_swapoff		115
-#define __NR_sysinfo		116
-#define __NR_ipc		117
-#define __NR_fsync		118
-#define __NR_sigreturn		119
-#define __NR_clone		120
-#define __NR_setdomainname	121
-#define __NR_uname		122
-#define __NR_cacheflush		123
-#define __NR_adjtimex		124
-#define __NR_mprotect		125
-#define __NR_sigprocmask	126
-				/* 127 was sys_create_module */
-#define __NR_init_module	128
-#define __NR_delete_module	129
-				/* 130 was sys_get_kernel_syms */
-#define __NR_quotactl		131
-#define __NR_getpgid		132
-#define __NR_fchdir		133
-#define __NR_bdflush		134
-#define __NR_sysfs		135
-#define __NR_personality	136
-				/* 137 was sys_afs_syscall */
-#define __NR_setfsuid		138
-#define __NR_setfsgid		139
-#define __NR__llseek		140
-#define __NR_getdents		141
-#define __NR__newselect		142
-#define __NR_flock		143
-#define __NR_msync		144
-#define __NR_readv		145
-#define __NR_writev		146
-#define __NR_getsid		147
-#define __NR_fdatasync		148
-#define __NR__sysctl		149
-#define __NR_mlock		150
-#define __NR_munlock		151
-#define __NR_mlockall		152
-#define __NR_munlockall		153
-#define __NR_sched_setparam		154
-#define __NR_sched_getparam		155
-#define __NR_sched_setscheduler		156
-#define __NR_sched_getscheduler		157
-#define __NR_sched_yield		158
-#define __NR_sched_get_priority_max	159
-#define __NR_sched_get_priority_min	160
-#define __NR_sched_rr_get_interval	161
-#define __NR_nanosleep		162
-#define __NR_mremap		163
-#define __NR_setresuid		164
-#define __NR_getresuid		165
-				/* 166 was sys_vm86 */
-				/* 167 was sys_query_module */
-#define __NR_poll		168
-#define __NR_nfsservctl		169
-#define __NR_setresgid		170
-#define __NR_getresgid		171
-#define __NR_prctl              172
-#define __NR_rt_sigreturn	173
-#define __NR_rt_sigaction	174
-#define __NR_rt_sigprocmask	175
-#define __NR_rt_sigpending	176
-#define __NR_rt_sigtimedwait	177
-#define __NR_rt_sigqueueinfo	178
-#define __NR_rt_sigsuspend	179
-#define __NR_pread64		180
-#define __NR_pwrite64		181
-#define __NR_chown		182
-#define __NR_getcwd		183
-#define __NR_capget		184
-#define __NR_capset		185
-#define __NR_sigaltstack	186
-#define __NR_sendfile		187
-				/* 188 reserved for getpmsg */
-				/* 189 reserved for putpmsg */
-#define __NR_vfork		190
-#define __NR_ugetrlimit		191	/* SuS compliant getrlimit */
-#define __NR_mmap2		192
-#define __NR_truncate64		193
-#define __NR_ftruncate64	194
-#define __NR_stat64		195
-#define __NR_lstat64		196
-#define __NR_fstat64		197
-#define __NR_lchown32		198
-#define __NR_getuid32		199
-#define __NR_getgid32		200
-#define __NR_geteuid32		201
-#define __NR_getegid32		202
-#define __NR_setreuid32		203
-#define __NR_setregid32		204
-#define __NR_getgroups32	205
-#define __NR_setgroups32	206
-#define __NR_fchown32		207
-#define __NR_setresuid32	208
-#define __NR_getresuid32	209
-#define __NR_setresgid32	210
-#define __NR_getresgid32	211
-#define __NR_chown32		212
-#define __NR_setuid32		213
-#define __NR_setgid32		214
-#define __NR_setfsuid32		215
-#define __NR_setfsgid32		216
-#define __NR_pivot_root		217
-#define __NR_mincore		218
-#define __NR_madvise		219
-
-/* Non-multiplexed socket family */
-#define __NR_socket		220
-#define __NR_bind		221
-#define __NR_connect		222
-#define __NR_listen		223
-#define __NR_accept		224
-#define __NR_getsockname	225
-#define __NR_getpeername	226
-#define __NR_socketpair		227
-#define __NR_send		228
-#define __NR_sendto		229
-#define __NR_recv		230
-#define __NR_recvfrom		231
-#define __NR_shutdown		232
-#define __NR_setsockopt		233
-#define __NR_getsockopt		234
-#define __NR_sendmsg		235
-#define __NR_recvmsg		236
-
-/* Non-multiplexed IPC family */
-#define __NR_semop		237
-#define __NR_semget		238
-#define __NR_semctl		239
-#define __NR_msgsnd		240
-#define __NR_msgrcv		241
-#define __NR_msgget		242
-#define __NR_msgctl		243
-#define __NR_shmat		244
-#define __NR_shmdt		245
-#define __NR_shmget		246
-#define __NR_shmctl		247
-
-#define __NR_getdents64		248
-#define __NR_fcntl64		249
-				/* 250 is reserved for tux */
-				/* 251 is unused */
-#define __NR_gettid		252
-#define __NR_readahead		253
-#define __NR_setxattr		254
-#define __NR_lsetxattr		255
-#define __NR_fsetxattr		256
-#define __NR_getxattr		257
-#define __NR_lgetxattr		258
-#define __NR_fgetxattr		259
-#define __NR_listxattr		260
-#define __NR_llistxattr		261
-#define __NR_flistxattr		262
-#define __NR_removexattr	263
-#define __NR_lremovexattr	264
-#define __NR_fremovexattr	265
-#define __NR_tkill		266
-#define __NR_sendfile64		267
-#define __NR_futex		268
-#define __NR_sched_setaffinity	269
-#define __NR_sched_getaffinity	270
-				/* 271 is reserved for set_thread_area */
-				/* 272 is reserved for get_thread_area */
-#define __NR_io_setup		273
-#define __NR_io_destroy		274
-#define __NR_io_getevents	275
-#define __NR_io_submit		276
-#define __NR_io_cancel		277
-#define __NR_fadvise64		278
-				/* 279 is unused */
-#define __NR_exit_group		280
-
-#define __NR_lookup_dcookie	281
-#define __NR_epoll_create	282
-#define __NR_epoll_ctl		283
-#define __NR_epoll_wait		284
-#define __NR_remap_file_pages	285
-#define __NR_set_tid_address	286
-#define __NR_timer_create	287
-#define __NR_timer_settime	(__NR_timer_create+1)
-#define __NR_timer_gettime	(__NR_timer_create+2)
-#define __NR_timer_getoverrun	(__NR_timer_create+3)
-#define __NR_timer_delete	(__NR_timer_create+4)
-#define __NR_clock_settime	(__NR_timer_create+5)
-#define __NR_clock_gettime	(__NR_timer_create+6)
-#define __NR_clock_getres	(__NR_timer_create+7)
-#define __NR_clock_nanosleep	(__NR_timer_create+8)
-#define __NR_statfs64		296
-#define __NR_fstatfs64		297
-#define __NR_tgkill		298
-#define __NR_utimes		299
-#define __NR_fadvise64_64	300
-				/* 301 is reserved for vserver */
-				/* 302 is reserved for mbind */
-				/* 303 is reserved for get_mempolicy */
-				/* 304 is reserved for set_mempolicy */
-#define __NR_mq_open            305
-#define __NR_mq_unlink          (__NR_mq_open+1)
-#define __NR_mq_timedsend       (__NR_mq_open+2)
-#define __NR_mq_timedreceive    (__NR_mq_open+3)
-#define __NR_mq_notify          (__NR_mq_open+4)
-#define __NR_mq_getsetattr      (__NR_mq_open+5)
-				/* 311 is reserved for kexec */
-#define __NR_waitid		312
-#define __NR_add_key		313
-#define __NR_request_key	314
-#define __NR_keyctl		315
-#define __NR_ioprio_set		316
-#define __NR_ioprio_get		317
-#define __NR_inotify_init	318
-#define __NR_inotify_add_watch	319
-#define __NR_inotify_rm_watch	320
-				/* 321 is unused */
-#define __NR_migrate_pages	322
-#define __NR_openat		323
-#define __NR_mkdirat		324
-#define __NR_mknodat		325
-#define __NR_fchownat		326
-#define __NR_futimesat		327
-#define __NR_fstatat64		328
-#define __NR_unlinkat		329
-#define __NR_renameat		330
-#define __NR_linkat		331
-#define __NR_symlinkat		332
-#define __NR_readlinkat		333
-#define __NR_fchmodat		334
-#define __NR_faccessat		335
-#define __NR_pselect6		336
-#define __NR_ppoll		337
-#define __NR_unshare		338
-#define __NR_set_robust_list	339
-#define __NR_get_robust_list	340
-#define __NR_splice		341
-#define __NR_sync_file_range	342
-#define __NR_tee		343
-#define __NR_vmsplice		344
-#define __NR_move_pages		345
-#define __NR_getcpu		346
-#define __NR_epoll_pwait	347
-#define __NR_utimensat		348
-#define __NR_signalfd		349
-#define __NR_timerfd_create	350
-#define __NR_eventfd		351
-#define __NR_fallocate		352
-#define __NR_timerfd_settime	353
-#define __NR_timerfd_gettime	354
-#define __NR_signalfd4		355
-#define __NR_eventfd2		356
-#define __NR_epoll_create1	357
-#define __NR_dup3		358
-#define __NR_pipe2		359
-#define __NR_inotify_init1	360
-#define __NR_preadv		361
-#define __NR_pwritev		362
-#define __NR_rt_tgsigqueueinfo	363
-#define __NR_perf_event_open	364
-#define __NR_recvmmsg		365
-#define __NR_accept4		366
-#define __NR_fanotify_init	367
-#define __NR_fanotify_mark	368
-#define __NR_prlimit64		369
-#define __NR_name_to_handle_at	370
-#define __NR_open_by_handle_at	371
-#define __NR_clock_adjtime	372
-#define __NR_syncfs		373
-#define __NR_sendmmsg		374
-#define __NR_setns		375
-#define __NR_process_vm_readv	376
-#define __NR_process_vm_writev	377
-#define __NR_kcmp		378
-#define __NR_finit_module	379
-#define __NR_sched_getattr	380
-#define __NR_sched_setattr	381
-#define __NR_renameat2		382
-#define __NR_seccomp		383
-#define __NR_getrandom		384
-#define __NR_memfd_create	385
-#define __NR_bpf		386
-#define __NR_execveat		387
-#define __NR_userfaultfd	388
-#define __NR_membarrier		389
-#define __NR_mlock2		390
-#define __NR_copy_file_range	391
-#define __NR_preadv2		392
-#define __NR_pwritev2		393
-
-#define NR_syscalls 394
-
-#endif /* __ASM_SH_UNISTD_64_H */
diff --git a/libc/include/generic-glibc/linux/limits.h b/libc/include/generic-glibc/linux/limits.h
deleted file mode 100644
index c3547f0760..0000000000
--- a/libc/include/generic-glibc/linux/limits.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-#ifndef _LINUX_LIMITS_H
-#define _LINUX_LIMITS_H
-
-#define NR_OPEN	        1024
-
-#define NGROUPS_MAX    65536	/* supplemental group IDs are available */
-#define ARG_MAX       131072	/* # bytes of args + environ for exec() */
-#define LINK_MAX         127	/* # links a file may have */
-#define MAX_CANON        255	/* size of the canonical input queue */
-#define MAX_INPUT        255	/* size of the type-ahead buffer */
-#define NAME_MAX         255	/* # chars in a file name */
-#define PATH_MAX        4096	/* # chars in a path name including nul */
-#define PIPE_BUF        4096	/* # bytes in atomic write to a pipe */
-#define XATTR_NAME_MAX   255	/* # chars in an extended attribute name */
-#define XATTR_SIZE_MAX 65536	/* size of an extended attribute value (64k) */
-#define XATTR_LIST_MAX 65536	/* size of extended attribute namelist (64k) */
-
-#define RTSIG_MAX	  32
-
-#endif
diff --git a/libc/include/i386-linux-musl/asm/auxvec.h b/libc/include/i386-linux-any/asm/auxvec.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/auxvec.h
rename to libc/include/i386-linux-any/asm/auxvec.h
diff --git a/libc/include/i386-linux-musl/asm/bitsperlong.h b/libc/include/i386-linux-any/asm/bitsperlong.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/bitsperlong.h
rename to libc/include/i386-linux-any/asm/bitsperlong.h
diff --git a/libc/include/i386-linux-musl/asm/byteorder.h b/libc/include/i386-linux-any/asm/byteorder.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/byteorder.h
rename to libc/include/i386-linux-any/asm/byteorder.h
diff --git a/libc/include/i386-linux-musl/asm/kvm.h b/libc/include/i386-linux-any/asm/kvm.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/kvm.h
rename to libc/include/i386-linux-any/asm/kvm.h
diff --git a/libc/include/i386-linux-musl/asm/kvm_para.h b/libc/include/i386-linux-any/asm/kvm_para.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/kvm_para.h
rename to libc/include/i386-linux-any/asm/kvm_para.h
diff --git a/libc/include/i386-linux-musl/asm/mman.h b/libc/include/i386-linux-any/asm/mman.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/mman.h
rename to libc/include/i386-linux-any/asm/mman.h
diff --git a/libc/include/i386-linux-musl/asm/msgbuf.h b/libc/include/i386-linux-any/asm/msgbuf.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/msgbuf.h
rename to libc/include/i386-linux-any/asm/msgbuf.h
diff --git a/libc/include/i386-linux-musl/asm/perf_regs.h b/libc/include/i386-linux-any/asm/perf_regs.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/perf_regs.h
rename to libc/include/i386-linux-any/asm/perf_regs.h
diff --git a/libc/include/i386-linux-musl/asm/posix_types.h b/libc/include/i386-linux-any/asm/posix_types.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/posix_types.h
rename to libc/include/i386-linux-any/asm/posix_types.h
diff --git a/libc/include/i386-linux-musl/asm/ptrace.h b/libc/include/i386-linux-any/asm/ptrace.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/ptrace.h
rename to libc/include/i386-linux-any/asm/ptrace.h
diff --git a/libc/include/i386-linux-musl/asm/sembuf.h b/libc/include/i386-linux-any/asm/sembuf.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/sembuf.h
rename to libc/include/i386-linux-any/asm/sembuf.h
diff --git a/libc/include/i386-linux-musl/asm/setup.h b/libc/include/i386-linux-any/asm/setup.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/setup.h
rename to libc/include/i386-linux-any/asm/setup.h
diff --git a/libc/include/i386-linux-musl/asm/shmbuf.h b/libc/include/i386-linux-any/asm/shmbuf.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/shmbuf.h
rename to libc/include/i386-linux-any/asm/shmbuf.h
diff --git a/libc/include/i386-linux-musl/asm/sigcontext.h b/libc/include/i386-linux-any/asm/sigcontext.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/sigcontext.h
rename to libc/include/i386-linux-any/asm/sigcontext.h
diff --git a/libc/include/i386-linux-musl/asm/siginfo.h b/libc/include/i386-linux-any/asm/siginfo.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/siginfo.h
rename to libc/include/i386-linux-any/asm/siginfo.h
diff --git a/libc/include/i386-linux-musl/asm/signal.h b/libc/include/i386-linux-any/asm/signal.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/signal.h
rename to libc/include/i386-linux-any/asm/signal.h
diff --git a/libc/include/i386-linux-musl/asm/stat.h b/libc/include/i386-linux-any/asm/stat.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/stat.h
rename to libc/include/i386-linux-any/asm/stat.h
diff --git a/libc/include/i386-linux-musl/asm/statfs.h b/libc/include/i386-linux-any/asm/statfs.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/statfs.h
rename to libc/include/i386-linux-any/asm/statfs.h
diff --git a/libc/include/i386-linux-musl/asm/swab.h b/libc/include/i386-linux-any/asm/swab.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/swab.h
rename to libc/include/i386-linux-any/asm/swab.h
diff --git a/libc/include/i386-linux-musl/asm/types.h b/libc/include/i386-linux-any/asm/types.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/types.h
rename to libc/include/i386-linux-any/asm/types.h
diff --git a/libc/include/i386-linux-musl/asm/ucontext.h b/libc/include/i386-linux-any/asm/ucontext.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/ucontext.h
rename to libc/include/i386-linux-any/asm/ucontext.h
diff --git a/libc/include/i386-linux-musl/asm/unistd.h b/libc/include/i386-linux-any/asm/unistd.h
similarity index 100%
rename from libc/include/i386-linux-musl/asm/unistd.h
rename to libc/include/i386-linux-any/asm/unistd.h
diff --git a/libc/include/i386-linux-gnu/asm/unistd.h b/libc/include/i386-linux-gnu/asm/unistd.h
deleted file mode 100644
index 30d7d04d72..0000000000
--- a/libc/include/i386-linux-gnu/asm/unistd.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-#ifndef _UAPI_ASM_X86_UNISTD_H
-#define _UAPI_ASM_X86_UNISTD_H
-
-/* x32 syscall flag bit */
-#define __X32_SYSCALL_BIT	0x40000000
-
-#ifndef __KERNEL__
-# ifdef __i386__
-#  include 
-# elif defined(__ILP32__)
-#  include 
-# else
-#  include 
-# endif
-#endif
-
-#endif /* _UAPI_ASM_X86_UNISTD_H */
diff --git a/libc/include/mips-linux-musl/asm/auxvec.h b/libc/include/mips-linux-any/asm/auxvec.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/auxvec.h
rename to libc/include/mips-linux-any/asm/auxvec.h
diff --git a/libc/include/mips-linux-musl/asm/bitsperlong.h b/libc/include/mips-linux-any/asm/bitsperlong.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/bitsperlong.h
rename to libc/include/mips-linux-any/asm/bitsperlong.h
diff --git a/libc/include/mips-linux-musl/asm/byteorder.h b/libc/include/mips-linux-any/asm/byteorder.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/byteorder.h
rename to libc/include/mips-linux-any/asm/byteorder.h
diff --git a/libc/include/mips-linux-musl/asm/errno.h b/libc/include/mips-linux-any/asm/errno.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/errno.h
rename to libc/include/mips-linux-any/asm/errno.h
diff --git a/libc/include/mips-linux-musl/asm/fcntl.h b/libc/include/mips-linux-any/asm/fcntl.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/fcntl.h
rename to libc/include/mips-linux-any/asm/fcntl.h
diff --git a/libc/include/mips-linux-musl/asm/hwcap.h b/libc/include/mips-linux-any/asm/hwcap.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/hwcap.h
rename to libc/include/mips-linux-any/asm/hwcap.h
diff --git a/libc/include/mips-linux-musl/asm/ioctl.h b/libc/include/mips-linux-any/asm/ioctl.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/ioctl.h
rename to libc/include/mips-linux-any/asm/ioctl.h
diff --git a/libc/include/mips-linux-musl/asm/ioctls.h b/libc/include/mips-linux-any/asm/ioctls.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/ioctls.h
rename to libc/include/mips-linux-any/asm/ioctls.h
diff --git a/libc/include/mips-linux-musl/asm/kvm.h b/libc/include/mips-linux-any/asm/kvm.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/kvm.h
rename to libc/include/mips-linux-any/asm/kvm.h
diff --git a/libc/include/mips-linux-musl/asm/kvm_para.h b/libc/include/mips-linux-any/asm/kvm_para.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/kvm_para.h
rename to libc/include/mips-linux-any/asm/kvm_para.h
diff --git a/libc/include/mips-linux-musl/asm/mman.h b/libc/include/mips-linux-any/asm/mman.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/mman.h
rename to libc/include/mips-linux-any/asm/mman.h
diff --git a/libc/include/mips-linux-musl/asm/msgbuf.h b/libc/include/mips-linux-any/asm/msgbuf.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/msgbuf.h
rename to libc/include/mips-linux-any/asm/msgbuf.h
diff --git a/libc/include/mips-linux-musl/asm/param.h b/libc/include/mips-linux-any/asm/param.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/param.h
rename to libc/include/mips-linux-any/asm/param.h
diff --git a/libc/include/mips-linux-musl/asm/poll.h b/libc/include/mips-linux-any/asm/poll.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/poll.h
rename to libc/include/mips-linux-any/asm/poll.h
diff --git a/libc/include/mips-linux-musl/asm/posix_types.h b/libc/include/mips-linux-any/asm/posix_types.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/posix_types.h
rename to libc/include/mips-linux-any/asm/posix_types.h
diff --git a/libc/include/mips-linux-musl/asm/ptrace.h b/libc/include/mips-linux-any/asm/ptrace.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/ptrace.h
rename to libc/include/mips-linux-any/asm/ptrace.h
diff --git a/libc/include/mips-linux-musl/asm/resource.h b/libc/include/mips-linux-any/asm/resource.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/resource.h
rename to libc/include/mips-linux-any/asm/resource.h
diff --git a/libc/include/mips-linux-musl/asm/sembuf.h b/libc/include/mips-linux-any/asm/sembuf.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/sembuf.h
rename to libc/include/mips-linux-any/asm/sembuf.h
diff --git a/libc/include/mips-linux-musl/asm/setup.h b/libc/include/mips-linux-any/asm/setup.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/setup.h
rename to libc/include/mips-linux-any/asm/setup.h
diff --git a/libc/include/mips-linux-musl/asm/shmbuf.h b/libc/include/mips-linux-any/asm/shmbuf.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/shmbuf.h
rename to libc/include/mips-linux-any/asm/shmbuf.h
diff --git a/libc/include/mips-linux-musl/asm/sigcontext.h b/libc/include/mips-linux-any/asm/sigcontext.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/sigcontext.h
rename to libc/include/mips-linux-any/asm/sigcontext.h
diff --git a/libc/include/mips-linux-musl/asm/siginfo.h b/libc/include/mips-linux-any/asm/siginfo.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/siginfo.h
rename to libc/include/mips-linux-any/asm/siginfo.h
diff --git a/libc/include/mips-linux-musl/asm/signal.h b/libc/include/mips-linux-any/asm/signal.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/signal.h
rename to libc/include/mips-linux-any/asm/signal.h
diff --git a/libc/include/mips-linux-musl/asm/socket.h b/libc/include/mips-linux-any/asm/socket.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/socket.h
rename to libc/include/mips-linux-any/asm/socket.h
diff --git a/libc/include/mips-linux-musl/asm/sockios.h b/libc/include/mips-linux-any/asm/sockios.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/sockios.h
rename to libc/include/mips-linux-any/asm/sockios.h
diff --git a/libc/include/mips-linux-musl/asm/stat.h b/libc/include/mips-linux-any/asm/stat.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/stat.h
rename to libc/include/mips-linux-any/asm/stat.h
diff --git a/libc/include/mips-linux-musl/asm/statfs.h b/libc/include/mips-linux-any/asm/statfs.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/statfs.h
rename to libc/include/mips-linux-any/asm/statfs.h
diff --git a/libc/include/mips-linux-musl/asm/swab.h b/libc/include/mips-linux-any/asm/swab.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/swab.h
rename to libc/include/mips-linux-any/asm/swab.h
diff --git a/libc/include/mips-linux-musl/asm/termbits.h b/libc/include/mips-linux-any/asm/termbits.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/termbits.h
rename to libc/include/mips-linux-any/asm/termbits.h
diff --git a/libc/include/mips-linux-musl/asm/termios.h b/libc/include/mips-linux-any/asm/termios.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/termios.h
rename to libc/include/mips-linux-any/asm/termios.h
diff --git a/libc/include/mips-linux-musl/asm/types.h b/libc/include/mips-linux-any/asm/types.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/types.h
rename to libc/include/mips-linux-any/asm/types.h
diff --git a/libc/include/mips-linux-musl/asm/unistd.h b/libc/include/mips-linux-any/asm/unistd.h
similarity index 100%
rename from libc/include/mips-linux-musl/asm/unistd.h
rename to libc/include/mips-linux-any/asm/unistd.h
diff --git a/libc/include/mips-linux-gnu/asm/sgidefs.h b/libc/include/mips-linux-gnu/asm/sgidefs.h
deleted file mode 100644
index 26143e3b7c..0000000000
--- a/libc/include/mips-linux-gnu/asm/sgidefs.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 1996, 1999, 2001 Ralf Baechle
- * Copyright (C) 1999 Silicon Graphics, Inc.
- * Copyright (C) 2001 MIPS Technologies, Inc.
- */
-#ifndef __ASM_SGIDEFS_H
-#define __ASM_SGIDEFS_H
-
-/*
- * Using a Linux compiler for building Linux seems logic but not to
- * everybody.
- */
-#ifndef __linux__
-#error Use a Linux compiler or give up.
-#endif
-
-/*
- * Definitions for the ISA levels
- *
- * With the introduction of MIPS32 / MIPS64 instruction sets definitions
- * MIPS ISAs are no longer subsets of each other.  Therefore comparisons
- * on these symbols except with == may result in unexpected results and
- * are forbidden!
- */
-#define _MIPS_ISA_MIPS1		1
-#define _MIPS_ISA_MIPS2		2
-#define _MIPS_ISA_MIPS3		3
-#define _MIPS_ISA_MIPS4		4
-#define _MIPS_ISA_MIPS5		5
-#define _MIPS_ISA_MIPS32	6
-#define _MIPS_ISA_MIPS64	7
-
-/*
- * Subprogram calling convention
- */
-#define _MIPS_SIM_ABI32		1
-#define _MIPS_SIM_NABI32	2
-#define _MIPS_SIM_ABI64		3
-
-#endif /* __ASM_SGIDEFS_H */
diff --git a/libc/include/mips-linux-gnu/asm/unistd.h b/libc/include/mips-linux-gnu/asm/unistd.h
deleted file mode 100644
index f25dd1d83f..0000000000
--- a/libc/include/mips-linux-gnu/asm/unistd.h
+++ /dev/null
@@ -1,1101 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 1995, 96, 97, 98, 99, 2000 by Ralf Baechle
- * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
- *
- * Changed system calls macros _syscall5 - _syscall7 to push args 5 to 7 onto
- * the stack. Robin Farine for ACN S.A, Copyright (C) 1996 by ACN S.A
- */
-#ifndef _UAPI_ASM_UNISTD_H
-#define _UAPI_ASM_UNISTD_H
-
-#include 
-
-#if _MIPS_SIM == _MIPS_SIM_ABI32
-
-/*
- * Linux o32 style syscalls are in the range from 4000 to 4999.
- */
-#define __NR_Linux			4000
-#define __NR_syscall			(__NR_Linux +	0)
-#define __NR_exit			(__NR_Linux +	1)
-#define __NR_fork			(__NR_Linux +	2)
-#define __NR_read			(__NR_Linux +	3)
-#define __NR_write			(__NR_Linux +	4)
-#define __NR_open			(__NR_Linux +	5)
-#define __NR_close			(__NR_Linux +	6)
-#define __NR_waitpid			(__NR_Linux +	7)
-#define __NR_creat			(__NR_Linux +	8)
-#define __NR_link			(__NR_Linux +	9)
-#define __NR_unlink			(__NR_Linux +  10)
-#define __NR_execve			(__NR_Linux +  11)
-#define __NR_chdir			(__NR_Linux +  12)
-#define __NR_time			(__NR_Linux +  13)
-#define __NR_mknod			(__NR_Linux +  14)
-#define __NR_chmod			(__NR_Linux +  15)
-#define __NR_lchown			(__NR_Linux +  16)
-#define __NR_break			(__NR_Linux +  17)
-#define __NR_unused18			(__NR_Linux +  18)
-#define __NR_lseek			(__NR_Linux +  19)
-#define __NR_getpid			(__NR_Linux +  20)
-#define __NR_mount			(__NR_Linux +  21)
-#define __NR_umount			(__NR_Linux +  22)
-#define __NR_setuid			(__NR_Linux +  23)
-#define __NR_getuid			(__NR_Linux +  24)
-#define __NR_stime			(__NR_Linux +  25)
-#define __NR_ptrace			(__NR_Linux +  26)
-#define __NR_alarm			(__NR_Linux +  27)
-#define __NR_unused28			(__NR_Linux +  28)
-#define __NR_pause			(__NR_Linux +  29)
-#define __NR_utime			(__NR_Linux +  30)
-#define __NR_stty			(__NR_Linux +  31)
-#define __NR_gtty			(__NR_Linux +  32)
-#define __NR_access			(__NR_Linux +  33)
-#define __NR_nice			(__NR_Linux +  34)
-#define __NR_ftime			(__NR_Linux +  35)
-#define __NR_sync			(__NR_Linux +  36)
-#define __NR_kill			(__NR_Linux +  37)
-#define __NR_rename			(__NR_Linux +  38)
-#define __NR_mkdir			(__NR_Linux +  39)
-#define __NR_rmdir			(__NR_Linux +  40)
-#define __NR_dup			(__NR_Linux +  41)
-#define __NR_pipe			(__NR_Linux +  42)
-#define __NR_times			(__NR_Linux +  43)
-#define __NR_prof			(__NR_Linux +  44)
-#define __NR_brk			(__NR_Linux +  45)
-#define __NR_setgid			(__NR_Linux +  46)
-#define __NR_getgid			(__NR_Linux +  47)
-#define __NR_signal			(__NR_Linux +  48)
-#define __NR_geteuid			(__NR_Linux +  49)
-#define __NR_getegid			(__NR_Linux +  50)
-#define __NR_acct			(__NR_Linux +  51)
-#define __NR_umount2			(__NR_Linux +  52)
-#define __NR_lock			(__NR_Linux +  53)
-#define __NR_ioctl			(__NR_Linux +  54)
-#define __NR_fcntl			(__NR_Linux +  55)
-#define __NR_mpx			(__NR_Linux +  56)
-#define __NR_setpgid			(__NR_Linux +  57)
-#define __NR_ulimit			(__NR_Linux +  58)
-#define __NR_unused59			(__NR_Linux +  59)
-#define __NR_umask			(__NR_Linux +  60)
-#define __NR_chroot			(__NR_Linux +  61)
-#define __NR_ustat			(__NR_Linux +  62)
-#define __NR_dup2			(__NR_Linux +  63)
-#define __NR_getppid			(__NR_Linux +  64)
-#define __NR_getpgrp			(__NR_Linux +  65)
-#define __NR_setsid			(__NR_Linux +  66)
-#define __NR_sigaction			(__NR_Linux +  67)
-#define __NR_sgetmask			(__NR_Linux +  68)
-#define __NR_ssetmask			(__NR_Linux +  69)
-#define __NR_setreuid			(__NR_Linux +  70)
-#define __NR_setregid			(__NR_Linux +  71)
-#define __NR_sigsuspend			(__NR_Linux +  72)
-#define __NR_sigpending			(__NR_Linux +  73)
-#define __NR_sethostname		(__NR_Linux +  74)
-#define __NR_setrlimit			(__NR_Linux +  75)
-#define __NR_getrlimit			(__NR_Linux +  76)
-#define __NR_getrusage			(__NR_Linux +  77)
-#define __NR_gettimeofday		(__NR_Linux +  78)
-#define __NR_settimeofday		(__NR_Linux +  79)
-#define __NR_getgroups			(__NR_Linux +  80)
-#define __NR_setgroups			(__NR_Linux +  81)
-#define __NR_reserved82			(__NR_Linux +  82)
-#define __NR_symlink			(__NR_Linux +  83)
-#define __NR_unused84			(__NR_Linux +  84)
-#define __NR_readlink			(__NR_Linux +  85)
-#define __NR_uselib			(__NR_Linux +  86)
-#define __NR_swapon			(__NR_Linux +  87)
-#define __NR_reboot			(__NR_Linux +  88)
-#define __NR_readdir			(__NR_Linux +  89)
-#define __NR_mmap			(__NR_Linux +  90)
-#define __NR_munmap			(__NR_Linux +  91)
-#define __NR_truncate			(__NR_Linux +  92)
-#define __NR_ftruncate			(__NR_Linux +  93)
-#define __NR_fchmod			(__NR_Linux +  94)
-#define __NR_fchown			(__NR_Linux +  95)
-#define __NR_getpriority		(__NR_Linux +  96)
-#define __NR_setpriority		(__NR_Linux +  97)
-#define __NR_profil			(__NR_Linux +  98)
-#define __NR_statfs			(__NR_Linux +  99)
-#define __NR_fstatfs			(__NR_Linux + 100)
-#define __NR_ioperm			(__NR_Linux + 101)
-#define __NR_socketcall			(__NR_Linux + 102)
-#define __NR_syslog			(__NR_Linux + 103)
-#define __NR_setitimer			(__NR_Linux + 104)
-#define __NR_getitimer			(__NR_Linux + 105)
-#define __NR_stat			(__NR_Linux + 106)
-#define __NR_lstat			(__NR_Linux + 107)
-#define __NR_fstat			(__NR_Linux + 108)
-#define __NR_unused109			(__NR_Linux + 109)
-#define __NR_iopl			(__NR_Linux + 110)
-#define __NR_vhangup			(__NR_Linux + 111)
-#define __NR_idle			(__NR_Linux + 112)
-#define __NR_vm86			(__NR_Linux + 113)
-#define __NR_wait4			(__NR_Linux + 114)
-#define __NR_swapoff			(__NR_Linux + 115)
-#define __NR_sysinfo			(__NR_Linux + 116)
-#define __NR_ipc			(__NR_Linux + 117)
-#define __NR_fsync			(__NR_Linux + 118)
-#define __NR_sigreturn			(__NR_Linux + 119)
-#define __NR_clone			(__NR_Linux + 120)
-#define __NR_setdomainname		(__NR_Linux + 121)
-#define __NR_uname			(__NR_Linux + 122)
-#define __NR_modify_ldt			(__NR_Linux + 123)
-#define __NR_adjtimex			(__NR_Linux + 124)
-#define __NR_mprotect			(__NR_Linux + 125)
-#define __NR_sigprocmask		(__NR_Linux + 126)
-#define __NR_create_module		(__NR_Linux + 127)
-#define __NR_init_module		(__NR_Linux + 128)
-#define __NR_delete_module		(__NR_Linux + 129)
-#define __NR_get_kernel_syms		(__NR_Linux + 130)
-#define __NR_quotactl			(__NR_Linux + 131)
-#define __NR_getpgid			(__NR_Linux + 132)
-#define __NR_fchdir			(__NR_Linux + 133)
-#define __NR_bdflush			(__NR_Linux + 134)
-#define __NR_sysfs			(__NR_Linux + 135)
-#define __NR_personality		(__NR_Linux + 136)
-#define __NR_afs_syscall		(__NR_Linux + 137) /* Syscall for Andrew File System */
-#define __NR_setfsuid			(__NR_Linux + 138)
-#define __NR_setfsgid			(__NR_Linux + 139)
-#define __NR__llseek			(__NR_Linux + 140)
-#define __NR_getdents			(__NR_Linux + 141)
-#define __NR__newselect			(__NR_Linux + 142)
-#define __NR_flock			(__NR_Linux + 143)
-#define __NR_msync			(__NR_Linux + 144)
-#define __NR_readv			(__NR_Linux + 145)
-#define __NR_writev			(__NR_Linux + 146)
-#define __NR_cacheflush			(__NR_Linux + 147)
-#define __NR_cachectl			(__NR_Linux + 148)
-#define __NR_sysmips			(__NR_Linux + 149)
-#define __NR_unused150			(__NR_Linux + 150)
-#define __NR_getsid			(__NR_Linux + 151)
-#define __NR_fdatasync			(__NR_Linux + 152)
-#define __NR__sysctl			(__NR_Linux + 153)
-#define __NR_mlock			(__NR_Linux + 154)
-#define __NR_munlock			(__NR_Linux + 155)
-#define __NR_mlockall			(__NR_Linux + 156)
-#define __NR_munlockall			(__NR_Linux + 157)
-#define __NR_sched_setparam		(__NR_Linux + 158)
-#define __NR_sched_getparam		(__NR_Linux + 159)
-#define __NR_sched_setscheduler		(__NR_Linux + 160)
-#define __NR_sched_getscheduler		(__NR_Linux + 161)
-#define __NR_sched_yield		(__NR_Linux + 162)
-#define __NR_sched_get_priority_max	(__NR_Linux + 163)
-#define __NR_sched_get_priority_min	(__NR_Linux + 164)
-#define __NR_sched_rr_get_interval	(__NR_Linux + 165)
-#define __NR_nanosleep			(__NR_Linux + 166)
-#define __NR_mremap			(__NR_Linux + 167)
-#define __NR_accept			(__NR_Linux + 168)
-#define __NR_bind			(__NR_Linux + 169)
-#define __NR_connect			(__NR_Linux + 170)
-#define __NR_getpeername		(__NR_Linux + 171)
-#define __NR_getsockname		(__NR_Linux + 172)
-#define __NR_getsockopt			(__NR_Linux + 173)
-#define __NR_listen			(__NR_Linux + 174)
-#define __NR_recv			(__NR_Linux + 175)
-#define __NR_recvfrom			(__NR_Linux + 176)
-#define __NR_recvmsg			(__NR_Linux + 177)
-#define __NR_send			(__NR_Linux + 178)
-#define __NR_sendmsg			(__NR_Linux + 179)
-#define __NR_sendto			(__NR_Linux + 180)
-#define __NR_setsockopt			(__NR_Linux + 181)
-#define __NR_shutdown			(__NR_Linux + 182)
-#define __NR_socket			(__NR_Linux + 183)
-#define __NR_socketpair			(__NR_Linux + 184)
-#define __NR_setresuid			(__NR_Linux + 185)
-#define __NR_getresuid			(__NR_Linux + 186)
-#define __NR_query_module		(__NR_Linux + 187)
-#define __NR_poll			(__NR_Linux + 188)
-#define __NR_nfsservctl			(__NR_Linux + 189)
-#define __NR_setresgid			(__NR_Linux + 190)
-#define __NR_getresgid			(__NR_Linux + 191)
-#define __NR_prctl			(__NR_Linux + 192)
-#define __NR_rt_sigreturn		(__NR_Linux + 193)
-#define __NR_rt_sigaction		(__NR_Linux + 194)
-#define __NR_rt_sigprocmask		(__NR_Linux + 195)
-#define __NR_rt_sigpending		(__NR_Linux + 196)
-#define __NR_rt_sigtimedwait		(__NR_Linux + 197)
-#define __NR_rt_sigqueueinfo		(__NR_Linux + 198)
-#define __NR_rt_sigsuspend		(__NR_Linux + 199)
-#define __NR_pread64			(__NR_Linux + 200)
-#define __NR_pwrite64			(__NR_Linux + 201)
-#define __NR_chown			(__NR_Linux + 202)
-#define __NR_getcwd			(__NR_Linux + 203)
-#define __NR_capget			(__NR_Linux + 204)
-#define __NR_capset			(__NR_Linux + 205)
-#define __NR_sigaltstack		(__NR_Linux + 206)
-#define __NR_sendfile			(__NR_Linux + 207)
-#define __NR_getpmsg			(__NR_Linux + 208)
-#define __NR_putpmsg			(__NR_Linux + 209)
-#define __NR_mmap2			(__NR_Linux + 210)
-#define __NR_truncate64			(__NR_Linux + 211)
-#define __NR_ftruncate64		(__NR_Linux + 212)
-#define __NR_stat64			(__NR_Linux + 213)
-#define __NR_lstat64			(__NR_Linux + 214)
-#define __NR_fstat64			(__NR_Linux + 215)
-#define __NR_pivot_root			(__NR_Linux + 216)
-#define __NR_mincore			(__NR_Linux + 217)
-#define __NR_madvise			(__NR_Linux + 218)
-#define __NR_getdents64			(__NR_Linux + 219)
-#define __NR_fcntl64			(__NR_Linux + 220)
-#define __NR_reserved221		(__NR_Linux + 221)
-#define __NR_gettid			(__NR_Linux + 222)
-#define __NR_readahead			(__NR_Linux + 223)
-#define __NR_setxattr			(__NR_Linux + 224)
-#define __NR_lsetxattr			(__NR_Linux + 225)
-#define __NR_fsetxattr			(__NR_Linux + 226)
-#define __NR_getxattr			(__NR_Linux + 227)
-#define __NR_lgetxattr			(__NR_Linux + 228)
-#define __NR_fgetxattr			(__NR_Linux + 229)
-#define __NR_listxattr			(__NR_Linux + 230)
-#define __NR_llistxattr			(__NR_Linux + 231)
-#define __NR_flistxattr			(__NR_Linux + 232)
-#define __NR_removexattr		(__NR_Linux + 233)
-#define __NR_lremovexattr		(__NR_Linux + 234)
-#define __NR_fremovexattr		(__NR_Linux + 235)
-#define __NR_tkill			(__NR_Linux + 236)
-#define __NR_sendfile64			(__NR_Linux + 237)
-#define __NR_futex			(__NR_Linux + 238)
-#define __NR_sched_setaffinity		(__NR_Linux + 239)
-#define __NR_sched_getaffinity		(__NR_Linux + 240)
-#define __NR_io_setup			(__NR_Linux + 241)
-#define __NR_io_destroy			(__NR_Linux + 242)
-#define __NR_io_getevents		(__NR_Linux + 243)
-#define __NR_io_submit			(__NR_Linux + 244)
-#define __NR_io_cancel			(__NR_Linux + 245)
-#define __NR_exit_group			(__NR_Linux + 246)
-#define __NR_lookup_dcookie		(__NR_Linux + 247)
-#define __NR_epoll_create		(__NR_Linux + 248)
-#define __NR_epoll_ctl			(__NR_Linux + 249)
-#define __NR_epoll_wait			(__NR_Linux + 250)
-#define __NR_remap_file_pages		(__NR_Linux + 251)
-#define __NR_set_tid_address		(__NR_Linux + 252)
-#define __NR_restart_syscall		(__NR_Linux + 253)
-#define __NR_fadvise64			(__NR_Linux + 254)
-#define __NR_statfs64			(__NR_Linux + 255)
-#define __NR_fstatfs64			(__NR_Linux + 256)
-#define __NR_timer_create		(__NR_Linux + 257)
-#define __NR_timer_settime		(__NR_Linux + 258)
-#define __NR_timer_gettime		(__NR_Linux + 259)
-#define __NR_timer_getoverrun		(__NR_Linux + 260)
-#define __NR_timer_delete		(__NR_Linux + 261)
-#define __NR_clock_settime		(__NR_Linux + 262)
-#define __NR_clock_gettime		(__NR_Linux + 263)
-#define __NR_clock_getres		(__NR_Linux + 264)
-#define __NR_clock_nanosleep		(__NR_Linux + 265)
-#define __NR_tgkill			(__NR_Linux + 266)
-#define __NR_utimes			(__NR_Linux + 267)
-#define __NR_mbind			(__NR_Linux + 268)
-#define __NR_get_mempolicy		(__NR_Linux + 269)
-#define __NR_set_mempolicy		(__NR_Linux + 270)
-#define __NR_mq_open			(__NR_Linux + 271)
-#define __NR_mq_unlink			(__NR_Linux + 272)
-#define __NR_mq_timedsend		(__NR_Linux + 273)
-#define __NR_mq_timedreceive		(__NR_Linux + 274)
-#define __NR_mq_notify			(__NR_Linux + 275)
-#define __NR_mq_getsetattr		(__NR_Linux + 276)
-#define __NR_vserver			(__NR_Linux + 277)
-#define __NR_waitid			(__NR_Linux + 278)
-/* #define __NR_sys_setaltroot		(__NR_Linux + 279) */
-#define __NR_add_key			(__NR_Linux + 280)
-#define __NR_request_key		(__NR_Linux + 281)
-#define __NR_keyctl			(__NR_Linux + 282)
-#define __NR_set_thread_area		(__NR_Linux + 283)
-#define __NR_inotify_init		(__NR_Linux + 284)
-#define __NR_inotify_add_watch		(__NR_Linux + 285)
-#define __NR_inotify_rm_watch		(__NR_Linux + 286)
-#define __NR_migrate_pages		(__NR_Linux + 287)
-#define __NR_openat			(__NR_Linux + 288)
-#define __NR_mkdirat			(__NR_Linux + 289)
-#define __NR_mknodat			(__NR_Linux + 290)
-#define __NR_fchownat			(__NR_Linux + 291)
-#define __NR_futimesat			(__NR_Linux + 292)
-#define __NR_fstatat64			(__NR_Linux + 293)
-#define __NR_unlinkat			(__NR_Linux + 294)
-#define __NR_renameat			(__NR_Linux + 295)
-#define __NR_linkat			(__NR_Linux + 296)
-#define __NR_symlinkat			(__NR_Linux + 297)
-#define __NR_readlinkat			(__NR_Linux + 298)
-#define __NR_fchmodat			(__NR_Linux + 299)
-#define __NR_faccessat			(__NR_Linux + 300)
-#define __NR_pselect6			(__NR_Linux + 301)
-#define __NR_ppoll			(__NR_Linux + 302)
-#define __NR_unshare			(__NR_Linux + 303)
-#define __NR_splice			(__NR_Linux + 304)
-#define __NR_sync_file_range		(__NR_Linux + 305)
-#define __NR_tee			(__NR_Linux + 306)
-#define __NR_vmsplice			(__NR_Linux + 307)
-#define __NR_move_pages			(__NR_Linux + 308)
-#define __NR_set_robust_list		(__NR_Linux + 309)
-#define __NR_get_robust_list		(__NR_Linux + 310)
-#define __NR_kexec_load			(__NR_Linux + 311)
-#define __NR_getcpu			(__NR_Linux + 312)
-#define __NR_epoll_pwait		(__NR_Linux + 313)
-#define __NR_ioprio_set			(__NR_Linux + 314)
-#define __NR_ioprio_get			(__NR_Linux + 315)
-#define __NR_utimensat			(__NR_Linux + 316)
-#define __NR_signalfd			(__NR_Linux + 317)
-#define __NR_timerfd			(__NR_Linux + 318)
-#define __NR_eventfd			(__NR_Linux + 319)
-#define __NR_fallocate			(__NR_Linux + 320)
-#define __NR_timerfd_create		(__NR_Linux + 321)
-#define __NR_timerfd_gettime		(__NR_Linux + 322)
-#define __NR_timerfd_settime		(__NR_Linux + 323)
-#define __NR_signalfd4			(__NR_Linux + 324)
-#define __NR_eventfd2			(__NR_Linux + 325)
-#define __NR_epoll_create1		(__NR_Linux + 326)
-#define __NR_dup3			(__NR_Linux + 327)
-#define __NR_pipe2			(__NR_Linux + 328)
-#define __NR_inotify_init1		(__NR_Linux + 329)
-#define __NR_preadv			(__NR_Linux + 330)
-#define __NR_pwritev			(__NR_Linux + 331)
-#define __NR_rt_tgsigqueueinfo		(__NR_Linux + 332)
-#define __NR_perf_event_open		(__NR_Linux + 333)
-#define __NR_accept4			(__NR_Linux + 334)
-#define __NR_recvmmsg			(__NR_Linux + 335)
-#define __NR_fanotify_init		(__NR_Linux + 336)
-#define __NR_fanotify_mark		(__NR_Linux + 337)
-#define __NR_prlimit64			(__NR_Linux + 338)
-#define __NR_name_to_handle_at		(__NR_Linux + 339)
-#define __NR_open_by_handle_at		(__NR_Linux + 340)
-#define __NR_clock_adjtime		(__NR_Linux + 341)
-#define __NR_syncfs			(__NR_Linux + 342)
-#define __NR_sendmmsg			(__NR_Linux + 343)
-#define __NR_setns			(__NR_Linux + 344)
-#define __NR_process_vm_readv		(__NR_Linux + 345)
-#define __NR_process_vm_writev		(__NR_Linux + 346)
-#define __NR_kcmp			(__NR_Linux + 347)
-#define __NR_finit_module		(__NR_Linux + 348)
-#define __NR_sched_setattr		(__NR_Linux + 349)
-#define __NR_sched_getattr		(__NR_Linux + 350)
-#define __NR_renameat2			(__NR_Linux + 351)
-#define __NR_seccomp			(__NR_Linux + 352)
-#define __NR_getrandom			(__NR_Linux + 353)
-#define __NR_memfd_create		(__NR_Linux + 354)
-#define __NR_bpf			(__NR_Linux + 355)
-#define __NR_execveat			(__NR_Linux + 356)
-#define __NR_userfaultfd		(__NR_Linux + 357)
-#define __NR_membarrier			(__NR_Linux + 358)
-#define __NR_mlock2			(__NR_Linux + 359)
-#define __NR_copy_file_range		(__NR_Linux + 360)
-#define __NR_preadv2			(__NR_Linux + 361)
-#define __NR_pwritev2			(__NR_Linux + 362)
-#define __NR_pkey_mprotect		(__NR_Linux + 363)
-#define __NR_pkey_alloc			(__NR_Linux + 364)
-#define __NR_pkey_free			(__NR_Linux + 365)
-#define __NR_statx			(__NR_Linux + 366)
-#define __NR_rseq			(__NR_Linux + 367)
-#define __NR_io_pgetevents		(__NR_Linux + 368)
-
-
-/*
- * Offset of the last Linux o32 flavoured syscall
- */
-#define __NR_Linux_syscalls		368
-
-#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
-
-#define __NR_O32_Linux			4000
-#define __NR_O32_Linux_syscalls		368
-
-#if _MIPS_SIM == _MIPS_SIM_ABI64
-
-/*
- * Linux 64-bit syscalls are in the range from 5000 to 5999.
- */
-#define __NR_Linux			5000
-#define __NR_read			(__NR_Linux +	0)
-#define __NR_write			(__NR_Linux +	1)
-#define __NR_open			(__NR_Linux +	2)
-#define __NR_close			(__NR_Linux +	3)
-#define __NR_stat			(__NR_Linux +	4)
-#define __NR_fstat			(__NR_Linux +	5)
-#define __NR_lstat			(__NR_Linux +	6)
-#define __NR_poll			(__NR_Linux +	7)
-#define __NR_lseek			(__NR_Linux +	8)
-#define __NR_mmap			(__NR_Linux +	9)
-#define __NR_mprotect			(__NR_Linux +  10)
-#define __NR_munmap			(__NR_Linux +  11)
-#define __NR_brk			(__NR_Linux +  12)
-#define __NR_rt_sigaction		(__NR_Linux +  13)
-#define __NR_rt_sigprocmask		(__NR_Linux +  14)
-#define __NR_ioctl			(__NR_Linux +  15)
-#define __NR_pread64			(__NR_Linux +  16)
-#define __NR_pwrite64			(__NR_Linux +  17)
-#define __NR_readv			(__NR_Linux +  18)
-#define __NR_writev			(__NR_Linux +  19)
-#define __NR_access			(__NR_Linux +  20)
-#define __NR_pipe			(__NR_Linux +  21)
-#define __NR__newselect			(__NR_Linux +  22)
-#define __NR_sched_yield		(__NR_Linux +  23)
-#define __NR_mremap			(__NR_Linux +  24)
-#define __NR_msync			(__NR_Linux +  25)
-#define __NR_mincore			(__NR_Linux +  26)
-#define __NR_madvise			(__NR_Linux +  27)
-#define __NR_shmget			(__NR_Linux +  28)
-#define __NR_shmat			(__NR_Linux +  29)
-#define __NR_shmctl			(__NR_Linux +  30)
-#define __NR_dup			(__NR_Linux +  31)
-#define __NR_dup2			(__NR_Linux +  32)
-#define __NR_pause			(__NR_Linux +  33)
-#define __NR_nanosleep			(__NR_Linux +  34)
-#define __NR_getitimer			(__NR_Linux +  35)
-#define __NR_setitimer			(__NR_Linux +  36)
-#define __NR_alarm			(__NR_Linux +  37)
-#define __NR_getpid			(__NR_Linux +  38)
-#define __NR_sendfile			(__NR_Linux +  39)
-#define __NR_socket			(__NR_Linux +  40)
-#define __NR_connect			(__NR_Linux +  41)
-#define __NR_accept			(__NR_Linux +  42)
-#define __NR_sendto			(__NR_Linux +  43)
-#define __NR_recvfrom			(__NR_Linux +  44)
-#define __NR_sendmsg			(__NR_Linux +  45)
-#define __NR_recvmsg			(__NR_Linux +  46)
-#define __NR_shutdown			(__NR_Linux +  47)
-#define __NR_bind			(__NR_Linux +  48)
-#define __NR_listen			(__NR_Linux +  49)
-#define __NR_getsockname		(__NR_Linux +  50)
-#define __NR_getpeername		(__NR_Linux +  51)
-#define __NR_socketpair			(__NR_Linux +  52)
-#define __NR_setsockopt			(__NR_Linux +  53)
-#define __NR_getsockopt			(__NR_Linux +  54)
-#define __NR_clone			(__NR_Linux +  55)
-#define __NR_fork			(__NR_Linux +  56)
-#define __NR_execve			(__NR_Linux +  57)
-#define __NR_exit			(__NR_Linux +  58)
-#define __NR_wait4			(__NR_Linux +  59)
-#define __NR_kill			(__NR_Linux +  60)
-#define __NR_uname			(__NR_Linux +  61)
-#define __NR_semget			(__NR_Linux +  62)
-#define __NR_semop			(__NR_Linux +  63)
-#define __NR_semctl			(__NR_Linux +  64)
-#define __NR_shmdt			(__NR_Linux +  65)
-#define __NR_msgget			(__NR_Linux +  66)
-#define __NR_msgsnd			(__NR_Linux +  67)
-#define __NR_msgrcv			(__NR_Linux +  68)
-#define __NR_msgctl			(__NR_Linux +  69)
-#define __NR_fcntl			(__NR_Linux +  70)
-#define __NR_flock			(__NR_Linux +  71)
-#define __NR_fsync			(__NR_Linux +  72)
-#define __NR_fdatasync			(__NR_Linux +  73)
-#define __NR_truncate			(__NR_Linux +  74)
-#define __NR_ftruncate			(__NR_Linux +  75)
-#define __NR_getdents			(__NR_Linux +  76)
-#define __NR_getcwd			(__NR_Linux +  77)
-#define __NR_chdir			(__NR_Linux +  78)
-#define __NR_fchdir			(__NR_Linux +  79)
-#define __NR_rename			(__NR_Linux +  80)
-#define __NR_mkdir			(__NR_Linux +  81)
-#define __NR_rmdir			(__NR_Linux +  82)
-#define __NR_creat			(__NR_Linux +  83)
-#define __NR_link			(__NR_Linux +  84)
-#define __NR_unlink			(__NR_Linux +  85)
-#define __NR_symlink			(__NR_Linux +  86)
-#define __NR_readlink			(__NR_Linux +  87)
-#define __NR_chmod			(__NR_Linux +  88)
-#define __NR_fchmod			(__NR_Linux +  89)
-#define __NR_chown			(__NR_Linux +  90)
-#define __NR_fchown			(__NR_Linux +  91)
-#define __NR_lchown			(__NR_Linux +  92)
-#define __NR_umask			(__NR_Linux +  93)
-#define __NR_gettimeofday		(__NR_Linux +  94)
-#define __NR_getrlimit			(__NR_Linux +  95)
-#define __NR_getrusage			(__NR_Linux +  96)
-#define __NR_sysinfo			(__NR_Linux +  97)
-#define __NR_times			(__NR_Linux +  98)
-#define __NR_ptrace			(__NR_Linux +  99)
-#define __NR_getuid			(__NR_Linux + 100)
-#define __NR_syslog			(__NR_Linux + 101)
-#define __NR_getgid			(__NR_Linux + 102)
-#define __NR_setuid			(__NR_Linux + 103)
-#define __NR_setgid			(__NR_Linux + 104)
-#define __NR_geteuid			(__NR_Linux + 105)
-#define __NR_getegid			(__NR_Linux + 106)
-#define __NR_setpgid			(__NR_Linux + 107)
-#define __NR_getppid			(__NR_Linux + 108)
-#define __NR_getpgrp			(__NR_Linux + 109)
-#define __NR_setsid			(__NR_Linux + 110)
-#define __NR_setreuid			(__NR_Linux + 111)
-#define __NR_setregid			(__NR_Linux + 112)
-#define __NR_getgroups			(__NR_Linux + 113)
-#define __NR_setgroups			(__NR_Linux + 114)
-#define __NR_setresuid			(__NR_Linux + 115)
-#define __NR_getresuid			(__NR_Linux + 116)
-#define __NR_setresgid			(__NR_Linux + 117)
-#define __NR_getresgid			(__NR_Linux + 118)
-#define __NR_getpgid			(__NR_Linux + 119)
-#define __NR_setfsuid			(__NR_Linux + 120)
-#define __NR_setfsgid			(__NR_Linux + 121)
-#define __NR_getsid			(__NR_Linux + 122)
-#define __NR_capget			(__NR_Linux + 123)
-#define __NR_capset			(__NR_Linux + 124)
-#define __NR_rt_sigpending		(__NR_Linux + 125)
-#define __NR_rt_sigtimedwait		(__NR_Linux + 126)
-#define __NR_rt_sigqueueinfo		(__NR_Linux + 127)
-#define __NR_rt_sigsuspend		(__NR_Linux + 128)
-#define __NR_sigaltstack		(__NR_Linux + 129)
-#define __NR_utime			(__NR_Linux + 130)
-#define __NR_mknod			(__NR_Linux + 131)
-#define __NR_personality		(__NR_Linux + 132)
-#define __NR_ustat			(__NR_Linux + 133)
-#define __NR_statfs			(__NR_Linux + 134)
-#define __NR_fstatfs			(__NR_Linux + 135)
-#define __NR_sysfs			(__NR_Linux + 136)
-#define __NR_getpriority		(__NR_Linux + 137)
-#define __NR_setpriority		(__NR_Linux + 138)
-#define __NR_sched_setparam		(__NR_Linux + 139)
-#define __NR_sched_getparam		(__NR_Linux + 140)
-#define __NR_sched_setscheduler		(__NR_Linux + 141)
-#define __NR_sched_getscheduler		(__NR_Linux + 142)
-#define __NR_sched_get_priority_max	(__NR_Linux + 143)
-#define __NR_sched_get_priority_min	(__NR_Linux + 144)
-#define __NR_sched_rr_get_interval	(__NR_Linux + 145)
-#define __NR_mlock			(__NR_Linux + 146)
-#define __NR_munlock			(__NR_Linux + 147)
-#define __NR_mlockall			(__NR_Linux + 148)
-#define __NR_munlockall			(__NR_Linux + 149)
-#define __NR_vhangup			(__NR_Linux + 150)
-#define __NR_pivot_root			(__NR_Linux + 151)
-#define __NR__sysctl			(__NR_Linux + 152)
-#define __NR_prctl			(__NR_Linux + 153)
-#define __NR_adjtimex			(__NR_Linux + 154)
-#define __NR_setrlimit			(__NR_Linux + 155)
-#define __NR_chroot			(__NR_Linux + 156)
-#define __NR_sync			(__NR_Linux + 157)
-#define __NR_acct			(__NR_Linux + 158)
-#define __NR_settimeofday		(__NR_Linux + 159)
-#define __NR_mount			(__NR_Linux + 160)
-#define __NR_umount2			(__NR_Linux + 161)
-#define __NR_swapon			(__NR_Linux + 162)
-#define __NR_swapoff			(__NR_Linux + 163)
-#define __NR_reboot			(__NR_Linux + 164)
-#define __NR_sethostname		(__NR_Linux + 165)
-#define __NR_setdomainname		(__NR_Linux + 166)
-#define __NR_create_module		(__NR_Linux + 167)
-#define __NR_init_module		(__NR_Linux + 168)
-#define __NR_delete_module		(__NR_Linux + 169)
-#define __NR_get_kernel_syms		(__NR_Linux + 170)
-#define __NR_query_module		(__NR_Linux + 171)
-#define __NR_quotactl			(__NR_Linux + 172)
-#define __NR_nfsservctl			(__NR_Linux + 173)
-#define __NR_getpmsg			(__NR_Linux + 174)
-#define __NR_putpmsg			(__NR_Linux + 175)
-#define __NR_afs_syscall		(__NR_Linux + 176)
-#define __NR_reserved177		(__NR_Linux + 177)
-#define __NR_gettid			(__NR_Linux + 178)
-#define __NR_readahead			(__NR_Linux + 179)
-#define __NR_setxattr			(__NR_Linux + 180)
-#define __NR_lsetxattr			(__NR_Linux + 181)
-#define __NR_fsetxattr			(__NR_Linux + 182)
-#define __NR_getxattr			(__NR_Linux + 183)
-#define __NR_lgetxattr			(__NR_Linux + 184)
-#define __NR_fgetxattr			(__NR_Linux + 185)
-#define __NR_listxattr			(__NR_Linux + 186)
-#define __NR_llistxattr			(__NR_Linux + 187)
-#define __NR_flistxattr			(__NR_Linux + 188)
-#define __NR_removexattr		(__NR_Linux + 189)
-#define __NR_lremovexattr		(__NR_Linux + 190)
-#define __NR_fremovexattr		(__NR_Linux + 191)
-#define __NR_tkill			(__NR_Linux + 192)
-#define __NR_reserved193		(__NR_Linux + 193)
-#define __NR_futex			(__NR_Linux + 194)
-#define __NR_sched_setaffinity		(__NR_Linux + 195)
-#define __NR_sched_getaffinity		(__NR_Linux + 196)
-#define __NR_cacheflush			(__NR_Linux + 197)
-#define __NR_cachectl			(__NR_Linux + 198)
-#define __NR_sysmips			(__NR_Linux + 199)
-#define __NR_io_setup			(__NR_Linux + 200)
-#define __NR_io_destroy			(__NR_Linux + 201)
-#define __NR_io_getevents		(__NR_Linux + 202)
-#define __NR_io_submit			(__NR_Linux + 203)
-#define __NR_io_cancel			(__NR_Linux + 204)
-#define __NR_exit_group			(__NR_Linux + 205)
-#define __NR_lookup_dcookie		(__NR_Linux + 206)
-#define __NR_epoll_create		(__NR_Linux + 207)
-#define __NR_epoll_ctl			(__NR_Linux + 208)
-#define __NR_epoll_wait			(__NR_Linux + 209)
-#define __NR_remap_file_pages		(__NR_Linux + 210)
-#define __NR_rt_sigreturn		(__NR_Linux + 211)
-#define __NR_set_tid_address		(__NR_Linux + 212)
-#define __NR_restart_syscall		(__NR_Linux + 213)
-#define __NR_semtimedop			(__NR_Linux + 214)
-#define __NR_fadvise64			(__NR_Linux + 215)
-#define __NR_timer_create		(__NR_Linux + 216)
-#define __NR_timer_settime		(__NR_Linux + 217)
-#define __NR_timer_gettime		(__NR_Linux + 218)
-#define __NR_timer_getoverrun		(__NR_Linux + 219)
-#define __NR_timer_delete		(__NR_Linux + 220)
-#define __NR_clock_settime		(__NR_Linux + 221)
-#define __NR_clock_gettime		(__NR_Linux + 222)
-#define __NR_clock_getres		(__NR_Linux + 223)
-#define __NR_clock_nanosleep		(__NR_Linux + 224)
-#define __NR_tgkill			(__NR_Linux + 225)
-#define __NR_utimes			(__NR_Linux + 226)
-#define __NR_mbind			(__NR_Linux + 227)
-#define __NR_get_mempolicy		(__NR_Linux + 228)
-#define __NR_set_mempolicy		(__NR_Linux + 229)
-#define __NR_mq_open			(__NR_Linux + 230)
-#define __NR_mq_unlink			(__NR_Linux + 231)
-#define __NR_mq_timedsend		(__NR_Linux + 232)
-#define __NR_mq_timedreceive		(__NR_Linux + 233)
-#define __NR_mq_notify			(__NR_Linux + 234)
-#define __NR_mq_getsetattr		(__NR_Linux + 235)
-#define __NR_vserver			(__NR_Linux + 236)
-#define __NR_waitid			(__NR_Linux + 237)
-/* #define __NR_sys_setaltroot		(__NR_Linux + 238) */
-#define __NR_add_key			(__NR_Linux + 239)
-#define __NR_request_key		(__NR_Linux + 240)
-#define __NR_keyctl			(__NR_Linux + 241)
-#define __NR_set_thread_area		(__NR_Linux + 242)
-#define __NR_inotify_init		(__NR_Linux + 243)
-#define __NR_inotify_add_watch		(__NR_Linux + 244)
-#define __NR_inotify_rm_watch		(__NR_Linux + 245)
-#define __NR_migrate_pages		(__NR_Linux + 246)
-#define __NR_openat			(__NR_Linux + 247)
-#define __NR_mkdirat			(__NR_Linux + 248)
-#define __NR_mknodat			(__NR_Linux + 249)
-#define __NR_fchownat			(__NR_Linux + 250)
-#define __NR_futimesat			(__NR_Linux + 251)
-#define __NR_newfstatat			(__NR_Linux + 252)
-#define __NR_unlinkat			(__NR_Linux + 253)
-#define __NR_renameat			(__NR_Linux + 254)
-#define __NR_linkat			(__NR_Linux + 255)
-#define __NR_symlinkat			(__NR_Linux + 256)
-#define __NR_readlinkat			(__NR_Linux + 257)
-#define __NR_fchmodat			(__NR_Linux + 258)
-#define __NR_faccessat			(__NR_Linux + 259)
-#define __NR_pselect6			(__NR_Linux + 260)
-#define __NR_ppoll			(__NR_Linux + 261)
-#define __NR_unshare			(__NR_Linux + 262)
-#define __NR_splice			(__NR_Linux + 263)
-#define __NR_sync_file_range		(__NR_Linux + 264)
-#define __NR_tee			(__NR_Linux + 265)
-#define __NR_vmsplice			(__NR_Linux + 266)
-#define __NR_move_pages			(__NR_Linux + 267)
-#define __NR_set_robust_list		(__NR_Linux + 268)
-#define __NR_get_robust_list		(__NR_Linux + 269)
-#define __NR_kexec_load			(__NR_Linux + 270)
-#define __NR_getcpu			(__NR_Linux + 271)
-#define __NR_epoll_pwait		(__NR_Linux + 272)
-#define __NR_ioprio_set			(__NR_Linux + 273)
-#define __NR_ioprio_get			(__NR_Linux + 274)
-#define __NR_utimensat			(__NR_Linux + 275)
-#define __NR_signalfd			(__NR_Linux + 276)
-#define __NR_timerfd			(__NR_Linux + 277)
-#define __NR_eventfd			(__NR_Linux + 278)
-#define __NR_fallocate			(__NR_Linux + 279)
-#define __NR_timerfd_create		(__NR_Linux + 280)
-#define __NR_timerfd_gettime		(__NR_Linux + 281)
-#define __NR_timerfd_settime		(__NR_Linux + 282)
-#define __NR_signalfd4			(__NR_Linux + 283)
-#define __NR_eventfd2			(__NR_Linux + 284)
-#define __NR_epoll_create1		(__NR_Linux + 285)
-#define __NR_dup3			(__NR_Linux + 286)
-#define __NR_pipe2			(__NR_Linux + 287)
-#define __NR_inotify_init1		(__NR_Linux + 288)
-#define __NR_preadv			(__NR_Linux + 289)
-#define __NR_pwritev			(__NR_Linux + 290)
-#define __NR_rt_tgsigqueueinfo		(__NR_Linux + 291)
-#define __NR_perf_event_open		(__NR_Linux + 292)
-#define __NR_accept4			(__NR_Linux + 293)
-#define __NR_recvmmsg			(__NR_Linux + 294)
-#define __NR_fanotify_init		(__NR_Linux + 295)
-#define __NR_fanotify_mark		(__NR_Linux + 296)
-#define __NR_prlimit64			(__NR_Linux + 297)
-#define __NR_name_to_handle_at		(__NR_Linux + 298)
-#define __NR_open_by_handle_at		(__NR_Linux + 299)
-#define __NR_clock_adjtime		(__NR_Linux + 300)
-#define __NR_syncfs			(__NR_Linux + 301)
-#define __NR_sendmmsg			(__NR_Linux + 302)
-#define __NR_setns			(__NR_Linux + 303)
-#define __NR_process_vm_readv		(__NR_Linux + 304)
-#define __NR_process_vm_writev		(__NR_Linux + 305)
-#define __NR_kcmp			(__NR_Linux + 306)
-#define __NR_finit_module		(__NR_Linux + 307)
-#define __NR_getdents64			(__NR_Linux + 308)
-#define __NR_sched_setattr		(__NR_Linux + 309)
-#define __NR_sched_getattr		(__NR_Linux + 310)
-#define __NR_renameat2			(__NR_Linux + 311)
-#define __NR_seccomp			(__NR_Linux + 312)
-#define __NR_getrandom			(__NR_Linux + 313)
-#define __NR_memfd_create		(__NR_Linux + 314)
-#define __NR_bpf			(__NR_Linux + 315)
-#define __NR_execveat			(__NR_Linux + 316)
-#define __NR_userfaultfd		(__NR_Linux + 317)
-#define __NR_membarrier			(__NR_Linux + 318)
-#define __NR_mlock2			(__NR_Linux + 319)
-#define __NR_copy_file_range		(__NR_Linux + 320)
-#define __NR_preadv2			(__NR_Linux + 321)
-#define __NR_pwritev2			(__NR_Linux + 322)
-#define __NR_pkey_mprotect		(__NR_Linux + 323)
-#define __NR_pkey_alloc			(__NR_Linux + 324)
-#define __NR_pkey_free			(__NR_Linux + 325)
-#define __NR_statx			(__NR_Linux + 326)
-#define __NR_rseq			(__NR_Linux + 327)
-#define __NR_io_pgetevents		(__NR_Linux + 328)
-
-/*
- * Offset of the last Linux 64-bit flavoured syscall
- */
-#define __NR_Linux_syscalls		328
-
-#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
-
-#define __NR_64_Linux			5000
-#define __NR_64_Linux_syscalls		328
-
-#if _MIPS_SIM == _MIPS_SIM_NABI32
-
-/*
- * Linux N32 syscalls are in the range from 6000 to 6999.
- */
-#define __NR_Linux			6000
-#define __NR_read			(__NR_Linux +	0)
-#define __NR_write			(__NR_Linux +	1)
-#define __NR_open			(__NR_Linux +	2)
-#define __NR_close			(__NR_Linux +	3)
-#define __NR_stat			(__NR_Linux +	4)
-#define __NR_fstat			(__NR_Linux +	5)
-#define __NR_lstat			(__NR_Linux +	6)
-#define __NR_poll			(__NR_Linux +	7)
-#define __NR_lseek			(__NR_Linux +	8)
-#define __NR_mmap			(__NR_Linux +	9)
-#define __NR_mprotect			(__NR_Linux +  10)
-#define __NR_munmap			(__NR_Linux +  11)
-#define __NR_brk			(__NR_Linux +  12)
-#define __NR_rt_sigaction		(__NR_Linux +  13)
-#define __NR_rt_sigprocmask		(__NR_Linux +  14)
-#define __NR_ioctl			(__NR_Linux +  15)
-#define __NR_pread64			(__NR_Linux +  16)
-#define __NR_pwrite64			(__NR_Linux +  17)
-#define __NR_readv			(__NR_Linux +  18)
-#define __NR_writev			(__NR_Linux +  19)
-#define __NR_access			(__NR_Linux +  20)
-#define __NR_pipe			(__NR_Linux +  21)
-#define __NR__newselect			(__NR_Linux +  22)
-#define __NR_sched_yield		(__NR_Linux +  23)
-#define __NR_mremap			(__NR_Linux +  24)
-#define __NR_msync			(__NR_Linux +  25)
-#define __NR_mincore			(__NR_Linux +  26)
-#define __NR_madvise			(__NR_Linux +  27)
-#define __NR_shmget			(__NR_Linux +  28)
-#define __NR_shmat			(__NR_Linux +  29)
-#define __NR_shmctl			(__NR_Linux +  30)
-#define __NR_dup			(__NR_Linux +  31)
-#define __NR_dup2			(__NR_Linux +  32)
-#define __NR_pause			(__NR_Linux +  33)
-#define __NR_nanosleep			(__NR_Linux +  34)
-#define __NR_getitimer			(__NR_Linux +  35)
-#define __NR_setitimer			(__NR_Linux +  36)
-#define __NR_alarm			(__NR_Linux +  37)
-#define __NR_getpid			(__NR_Linux +  38)
-#define __NR_sendfile			(__NR_Linux +  39)
-#define __NR_socket			(__NR_Linux +  40)
-#define __NR_connect			(__NR_Linux +  41)
-#define __NR_accept			(__NR_Linux +  42)
-#define __NR_sendto			(__NR_Linux +  43)
-#define __NR_recvfrom			(__NR_Linux +  44)
-#define __NR_sendmsg			(__NR_Linux +  45)
-#define __NR_recvmsg			(__NR_Linux +  46)
-#define __NR_shutdown			(__NR_Linux +  47)
-#define __NR_bind			(__NR_Linux +  48)
-#define __NR_listen			(__NR_Linux +  49)
-#define __NR_getsockname		(__NR_Linux +  50)
-#define __NR_getpeername		(__NR_Linux +  51)
-#define __NR_socketpair			(__NR_Linux +  52)
-#define __NR_setsockopt			(__NR_Linux +  53)
-#define __NR_getsockopt			(__NR_Linux +  54)
-#define __NR_clone			(__NR_Linux +  55)
-#define __NR_fork			(__NR_Linux +  56)
-#define __NR_execve			(__NR_Linux +  57)
-#define __NR_exit			(__NR_Linux +  58)
-#define __NR_wait4			(__NR_Linux +  59)
-#define __NR_kill			(__NR_Linux +  60)
-#define __NR_uname			(__NR_Linux +  61)
-#define __NR_semget			(__NR_Linux +  62)
-#define __NR_semop			(__NR_Linux +  63)
-#define __NR_semctl			(__NR_Linux +  64)
-#define __NR_shmdt			(__NR_Linux +  65)
-#define __NR_msgget			(__NR_Linux +  66)
-#define __NR_msgsnd			(__NR_Linux +  67)
-#define __NR_msgrcv			(__NR_Linux +  68)
-#define __NR_msgctl			(__NR_Linux +  69)
-#define __NR_fcntl			(__NR_Linux +  70)
-#define __NR_flock			(__NR_Linux +  71)
-#define __NR_fsync			(__NR_Linux +  72)
-#define __NR_fdatasync			(__NR_Linux +  73)
-#define __NR_truncate			(__NR_Linux +  74)
-#define __NR_ftruncate			(__NR_Linux +  75)
-#define __NR_getdents			(__NR_Linux +  76)
-#define __NR_getcwd			(__NR_Linux +  77)
-#define __NR_chdir			(__NR_Linux +  78)
-#define __NR_fchdir			(__NR_Linux +  79)
-#define __NR_rename			(__NR_Linux +  80)
-#define __NR_mkdir			(__NR_Linux +  81)
-#define __NR_rmdir			(__NR_Linux +  82)
-#define __NR_creat			(__NR_Linux +  83)
-#define __NR_link			(__NR_Linux +  84)
-#define __NR_unlink			(__NR_Linux +  85)
-#define __NR_symlink			(__NR_Linux +  86)
-#define __NR_readlink			(__NR_Linux +  87)
-#define __NR_chmod			(__NR_Linux +  88)
-#define __NR_fchmod			(__NR_Linux +  89)
-#define __NR_chown			(__NR_Linux +  90)
-#define __NR_fchown			(__NR_Linux +  91)
-#define __NR_lchown			(__NR_Linux +  92)
-#define __NR_umask			(__NR_Linux +  93)
-#define __NR_gettimeofday		(__NR_Linux +  94)
-#define __NR_getrlimit			(__NR_Linux +  95)
-#define __NR_getrusage			(__NR_Linux +  96)
-#define __NR_sysinfo			(__NR_Linux +  97)
-#define __NR_times			(__NR_Linux +  98)
-#define __NR_ptrace			(__NR_Linux +  99)
-#define __NR_getuid			(__NR_Linux + 100)
-#define __NR_syslog			(__NR_Linux + 101)
-#define __NR_getgid			(__NR_Linux + 102)
-#define __NR_setuid			(__NR_Linux + 103)
-#define __NR_setgid			(__NR_Linux + 104)
-#define __NR_geteuid			(__NR_Linux + 105)
-#define __NR_getegid			(__NR_Linux + 106)
-#define __NR_setpgid			(__NR_Linux + 107)
-#define __NR_getppid			(__NR_Linux + 108)
-#define __NR_getpgrp			(__NR_Linux + 109)
-#define __NR_setsid			(__NR_Linux + 110)
-#define __NR_setreuid			(__NR_Linux + 111)
-#define __NR_setregid			(__NR_Linux + 112)
-#define __NR_getgroups			(__NR_Linux + 113)
-#define __NR_setgroups			(__NR_Linux + 114)
-#define __NR_setresuid			(__NR_Linux + 115)
-#define __NR_getresuid			(__NR_Linux + 116)
-#define __NR_setresgid			(__NR_Linux + 117)
-#define __NR_getresgid			(__NR_Linux + 118)
-#define __NR_getpgid			(__NR_Linux + 119)
-#define __NR_setfsuid			(__NR_Linux + 120)
-#define __NR_setfsgid			(__NR_Linux + 121)
-#define __NR_getsid			(__NR_Linux + 122)
-#define __NR_capget			(__NR_Linux + 123)
-#define __NR_capset			(__NR_Linux + 124)
-#define __NR_rt_sigpending		(__NR_Linux + 125)
-#define __NR_rt_sigtimedwait		(__NR_Linux + 126)
-#define __NR_rt_sigqueueinfo		(__NR_Linux + 127)
-#define __NR_rt_sigsuspend		(__NR_Linux + 128)
-#define __NR_sigaltstack		(__NR_Linux + 129)
-#define __NR_utime			(__NR_Linux + 130)
-#define __NR_mknod			(__NR_Linux + 131)
-#define __NR_personality		(__NR_Linux + 132)
-#define __NR_ustat			(__NR_Linux + 133)
-#define __NR_statfs			(__NR_Linux + 134)
-#define __NR_fstatfs			(__NR_Linux + 135)
-#define __NR_sysfs			(__NR_Linux + 136)
-#define __NR_getpriority		(__NR_Linux + 137)
-#define __NR_setpriority		(__NR_Linux + 138)
-#define __NR_sched_setparam		(__NR_Linux + 139)
-#define __NR_sched_getparam		(__NR_Linux + 140)
-#define __NR_sched_setscheduler		(__NR_Linux + 141)
-#define __NR_sched_getscheduler		(__NR_Linux + 142)
-#define __NR_sched_get_priority_max	(__NR_Linux + 143)
-#define __NR_sched_get_priority_min	(__NR_Linux + 144)
-#define __NR_sched_rr_get_interval	(__NR_Linux + 145)
-#define __NR_mlock			(__NR_Linux + 146)
-#define __NR_munlock			(__NR_Linux + 147)
-#define __NR_mlockall			(__NR_Linux + 148)
-#define __NR_munlockall			(__NR_Linux + 149)
-#define __NR_vhangup			(__NR_Linux + 150)
-#define __NR_pivot_root			(__NR_Linux + 151)
-#define __NR__sysctl			(__NR_Linux + 152)
-#define __NR_prctl			(__NR_Linux + 153)
-#define __NR_adjtimex			(__NR_Linux + 154)
-#define __NR_setrlimit			(__NR_Linux + 155)
-#define __NR_chroot			(__NR_Linux + 156)
-#define __NR_sync			(__NR_Linux + 157)
-#define __NR_acct			(__NR_Linux + 158)
-#define __NR_settimeofday		(__NR_Linux + 159)
-#define __NR_mount			(__NR_Linux + 160)
-#define __NR_umount2			(__NR_Linux + 161)
-#define __NR_swapon			(__NR_Linux + 162)
-#define __NR_swapoff			(__NR_Linux + 163)
-#define __NR_reboot			(__NR_Linux + 164)
-#define __NR_sethostname		(__NR_Linux + 165)
-#define __NR_setdomainname		(__NR_Linux + 166)
-#define __NR_create_module		(__NR_Linux + 167)
-#define __NR_init_module		(__NR_Linux + 168)
-#define __NR_delete_module		(__NR_Linux + 169)
-#define __NR_get_kernel_syms		(__NR_Linux + 170)
-#define __NR_query_module		(__NR_Linux + 171)
-#define __NR_quotactl			(__NR_Linux + 172)
-#define __NR_nfsservctl			(__NR_Linux + 173)
-#define __NR_getpmsg			(__NR_Linux + 174)
-#define __NR_putpmsg			(__NR_Linux + 175)
-#define __NR_afs_syscall		(__NR_Linux + 176)
-#define __NR_reserved177		(__NR_Linux + 177)
-#define __NR_gettid			(__NR_Linux + 178)
-#define __NR_readahead			(__NR_Linux + 179)
-#define __NR_setxattr			(__NR_Linux + 180)
-#define __NR_lsetxattr			(__NR_Linux + 181)
-#define __NR_fsetxattr			(__NR_Linux + 182)
-#define __NR_getxattr			(__NR_Linux + 183)
-#define __NR_lgetxattr			(__NR_Linux + 184)
-#define __NR_fgetxattr			(__NR_Linux + 185)
-#define __NR_listxattr			(__NR_Linux + 186)
-#define __NR_llistxattr			(__NR_Linux + 187)
-#define __NR_flistxattr			(__NR_Linux + 188)
-#define __NR_removexattr		(__NR_Linux + 189)
-#define __NR_lremovexattr		(__NR_Linux + 190)
-#define __NR_fremovexattr		(__NR_Linux + 191)
-#define __NR_tkill			(__NR_Linux + 192)
-#define __NR_reserved193		(__NR_Linux + 193)
-#define __NR_futex			(__NR_Linux + 194)
-#define __NR_sched_setaffinity		(__NR_Linux + 195)
-#define __NR_sched_getaffinity		(__NR_Linux + 196)
-#define __NR_cacheflush			(__NR_Linux + 197)
-#define __NR_cachectl			(__NR_Linux + 198)
-#define __NR_sysmips			(__NR_Linux + 199)
-#define __NR_io_setup			(__NR_Linux + 200)
-#define __NR_io_destroy			(__NR_Linux + 201)
-#define __NR_io_getevents		(__NR_Linux + 202)
-#define __NR_io_submit			(__NR_Linux + 203)
-#define __NR_io_cancel			(__NR_Linux + 204)
-#define __NR_exit_group			(__NR_Linux + 205)
-#define __NR_lookup_dcookie		(__NR_Linux + 206)
-#define __NR_epoll_create		(__NR_Linux + 207)
-#define __NR_epoll_ctl			(__NR_Linux + 208)
-#define __NR_epoll_wait			(__NR_Linux + 209)
-#define __NR_remap_file_pages		(__NR_Linux + 210)
-#define __NR_rt_sigreturn		(__NR_Linux + 211)
-#define __NR_fcntl64			(__NR_Linux + 212)
-#define __NR_set_tid_address		(__NR_Linux + 213)
-#define __NR_restart_syscall		(__NR_Linux + 214)
-#define __NR_semtimedop			(__NR_Linux + 215)
-#define __NR_fadvise64			(__NR_Linux + 216)
-#define __NR_statfs64			(__NR_Linux + 217)
-#define __NR_fstatfs64			(__NR_Linux + 218)
-#define __NR_sendfile64			(__NR_Linux + 219)
-#define __NR_timer_create		(__NR_Linux + 220)
-#define __NR_timer_settime		(__NR_Linux + 221)
-#define __NR_timer_gettime		(__NR_Linux + 222)
-#define __NR_timer_getoverrun		(__NR_Linux + 223)
-#define __NR_timer_delete		(__NR_Linux + 224)
-#define __NR_clock_settime		(__NR_Linux + 225)
-#define __NR_clock_gettime		(__NR_Linux + 226)
-#define __NR_clock_getres		(__NR_Linux + 227)
-#define __NR_clock_nanosleep		(__NR_Linux + 228)
-#define __NR_tgkill			(__NR_Linux + 229)
-#define __NR_utimes			(__NR_Linux + 230)
-#define __NR_mbind			(__NR_Linux + 231)
-#define __NR_get_mempolicy		(__NR_Linux + 232)
-#define __NR_set_mempolicy		(__NR_Linux + 233)
-#define __NR_mq_open			(__NR_Linux + 234)
-#define __NR_mq_unlink			(__NR_Linux + 235)
-#define __NR_mq_timedsend		(__NR_Linux + 236)
-#define __NR_mq_timedreceive		(__NR_Linux + 237)
-#define __NR_mq_notify			(__NR_Linux + 238)
-#define __NR_mq_getsetattr		(__NR_Linux + 239)
-#define __NR_vserver			(__NR_Linux + 240)
-#define __NR_waitid			(__NR_Linux + 241)
-/* #define __NR_sys_setaltroot		(__NR_Linux + 242) */
-#define __NR_add_key			(__NR_Linux + 243)
-#define __NR_request_key		(__NR_Linux + 244)
-#define __NR_keyctl			(__NR_Linux + 245)
-#define __NR_set_thread_area		(__NR_Linux + 246)
-#define __NR_inotify_init		(__NR_Linux + 247)
-#define __NR_inotify_add_watch		(__NR_Linux + 248)
-#define __NR_inotify_rm_watch		(__NR_Linux + 249)
-#define __NR_migrate_pages		(__NR_Linux + 250)
-#define __NR_openat			(__NR_Linux + 251)
-#define __NR_mkdirat			(__NR_Linux + 252)
-#define __NR_mknodat			(__NR_Linux + 253)
-#define __NR_fchownat			(__NR_Linux + 254)
-#define __NR_futimesat			(__NR_Linux + 255)
-#define __NR_newfstatat			(__NR_Linux + 256)
-#define __NR_unlinkat			(__NR_Linux + 257)
-#define __NR_renameat			(__NR_Linux + 258)
-#define __NR_linkat			(__NR_Linux + 259)
-#define __NR_symlinkat			(__NR_Linux + 260)
-#define __NR_readlinkat			(__NR_Linux + 261)
-#define __NR_fchmodat			(__NR_Linux + 262)
-#define __NR_faccessat			(__NR_Linux + 263)
-#define __NR_pselect6			(__NR_Linux + 264)
-#define __NR_ppoll			(__NR_Linux + 265)
-#define __NR_unshare			(__NR_Linux + 266)
-#define __NR_splice			(__NR_Linux + 267)
-#define __NR_sync_file_range		(__NR_Linux + 268)
-#define __NR_tee			(__NR_Linux + 269)
-#define __NR_vmsplice			(__NR_Linux + 270)
-#define __NR_move_pages			(__NR_Linux + 271)
-#define __NR_set_robust_list		(__NR_Linux + 272)
-#define __NR_get_robust_list		(__NR_Linux + 273)
-#define __NR_kexec_load			(__NR_Linux + 274)
-#define __NR_getcpu			(__NR_Linux + 275)
-#define __NR_epoll_pwait		(__NR_Linux + 276)
-#define __NR_ioprio_set			(__NR_Linux + 277)
-#define __NR_ioprio_get			(__NR_Linux + 278)
-#define __NR_utimensat			(__NR_Linux + 279)
-#define __NR_signalfd			(__NR_Linux + 280)
-#define __NR_timerfd			(__NR_Linux + 281)
-#define __NR_eventfd			(__NR_Linux + 282)
-#define __NR_fallocate			(__NR_Linux + 283)
-#define __NR_timerfd_create		(__NR_Linux + 284)
-#define __NR_timerfd_gettime		(__NR_Linux + 285)
-#define __NR_timerfd_settime		(__NR_Linux + 286)
-#define __NR_signalfd4			(__NR_Linux + 287)
-#define __NR_eventfd2			(__NR_Linux + 288)
-#define __NR_epoll_create1		(__NR_Linux + 289)
-#define __NR_dup3			(__NR_Linux + 290)
-#define __NR_pipe2			(__NR_Linux + 291)
-#define __NR_inotify_init1		(__NR_Linux + 292)
-#define __NR_preadv			(__NR_Linux + 293)
-#define __NR_pwritev			(__NR_Linux + 294)
-#define __NR_rt_tgsigqueueinfo		(__NR_Linux + 295)
-#define __NR_perf_event_open		(__NR_Linux + 296)
-#define __NR_accept4			(__NR_Linux + 297)
-#define __NR_recvmmsg			(__NR_Linux + 298)
-#define __NR_getdents64			(__NR_Linux + 299)
-#define __NR_fanotify_init		(__NR_Linux + 300)
-#define __NR_fanotify_mark		(__NR_Linux + 301)
-#define __NR_prlimit64			(__NR_Linux + 302)
-#define __NR_name_to_handle_at		(__NR_Linux + 303)
-#define __NR_open_by_handle_at		(__NR_Linux + 304)
-#define __NR_clock_adjtime		(__NR_Linux + 305)
-#define __NR_syncfs			(__NR_Linux + 306)
-#define __NR_sendmmsg			(__NR_Linux + 307)
-#define __NR_setns			(__NR_Linux + 308)
-#define __NR_process_vm_readv		(__NR_Linux + 309)
-#define __NR_process_vm_writev		(__NR_Linux + 310)
-#define __NR_kcmp			(__NR_Linux + 311)
-#define __NR_finit_module		(__NR_Linux + 312)
-#define __NR_sched_setattr		(__NR_Linux + 313)
-#define __NR_sched_getattr		(__NR_Linux + 314)
-#define __NR_renameat2			(__NR_Linux + 315)
-#define __NR_seccomp			(__NR_Linux + 316)
-#define __NR_getrandom			(__NR_Linux + 317)
-#define __NR_memfd_create		(__NR_Linux + 318)
-#define __NR_bpf			(__NR_Linux + 319)
-#define __NR_execveat			(__NR_Linux + 320)
-#define __NR_userfaultfd		(__NR_Linux + 321)
-#define __NR_membarrier			(__NR_Linux + 322)
-#define __NR_mlock2			(__NR_Linux + 323)
-#define __NR_copy_file_range		(__NR_Linux + 324)
-#define __NR_preadv2			(__NR_Linux + 325)
-#define __NR_pwritev2			(__NR_Linux + 326)
-#define __NR_pkey_mprotect		(__NR_Linux + 327)
-#define __NR_pkey_alloc			(__NR_Linux + 328)
-#define __NR_pkey_free			(__NR_Linux + 329)
-#define __NR_statx			(__NR_Linux + 330)
-#define __NR_rseq			(__NR_Linux + 331)
-#define __NR_io_pgetevents		(__NR_Linux + 332)
-
-/*
- * Offset of the last N32 flavoured syscall
- */
-#define __NR_Linux_syscalls		332
-
-#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
-
-#define __NR_N32_Linux			6000
-#define __NR_N32_Linux_syscalls		332
-
-#endif /* _UAPI_ASM_UNISTD_H */
diff --git a/libc/include/mips64-linux-musl/asm/auxvec.h b/libc/include/mips64-linux-any/asm/auxvec.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/auxvec.h
rename to libc/include/mips64-linux-any/asm/auxvec.h
diff --git a/libc/include/mips64-linux-musl/asm/bitsperlong.h b/libc/include/mips64-linux-any/asm/bitsperlong.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/bitsperlong.h
rename to libc/include/mips64-linux-any/asm/bitsperlong.h
diff --git a/libc/include/mips64-linux-musl/asm/byteorder.h b/libc/include/mips64-linux-any/asm/byteorder.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/byteorder.h
rename to libc/include/mips64-linux-any/asm/byteorder.h
diff --git a/libc/include/mips64-linux-musl/asm/errno.h b/libc/include/mips64-linux-any/asm/errno.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/errno.h
rename to libc/include/mips64-linux-any/asm/errno.h
diff --git a/libc/include/mips64-linux-musl/asm/fcntl.h b/libc/include/mips64-linux-any/asm/fcntl.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/fcntl.h
rename to libc/include/mips64-linux-any/asm/fcntl.h
diff --git a/libc/include/mips64-linux-musl/asm/hwcap.h b/libc/include/mips64-linux-any/asm/hwcap.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/hwcap.h
rename to libc/include/mips64-linux-any/asm/hwcap.h
diff --git a/libc/include/mips64-linux-musl/asm/ioctl.h b/libc/include/mips64-linux-any/asm/ioctl.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/ioctl.h
rename to libc/include/mips64-linux-any/asm/ioctl.h
diff --git a/libc/include/mips64-linux-musl/asm/ioctls.h b/libc/include/mips64-linux-any/asm/ioctls.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/ioctls.h
rename to libc/include/mips64-linux-any/asm/ioctls.h
diff --git a/libc/include/mips64-linux-musl/asm/kvm.h b/libc/include/mips64-linux-any/asm/kvm.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/kvm.h
rename to libc/include/mips64-linux-any/asm/kvm.h
diff --git a/libc/include/mips64-linux-musl/asm/kvm_para.h b/libc/include/mips64-linux-any/asm/kvm_para.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/kvm_para.h
rename to libc/include/mips64-linux-any/asm/kvm_para.h
diff --git a/libc/include/mips64-linux-musl/asm/mman.h b/libc/include/mips64-linux-any/asm/mman.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/mman.h
rename to libc/include/mips64-linux-any/asm/mman.h
diff --git a/libc/include/mips64-linux-musl/asm/msgbuf.h b/libc/include/mips64-linux-any/asm/msgbuf.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/msgbuf.h
rename to libc/include/mips64-linux-any/asm/msgbuf.h
diff --git a/libc/include/mips64-linux-musl/asm/param.h b/libc/include/mips64-linux-any/asm/param.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/param.h
rename to libc/include/mips64-linux-any/asm/param.h
diff --git a/libc/include/mips64-linux-musl/asm/poll.h b/libc/include/mips64-linux-any/asm/poll.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/poll.h
rename to libc/include/mips64-linux-any/asm/poll.h
diff --git a/libc/include/mips64-linux-musl/asm/posix_types.h b/libc/include/mips64-linux-any/asm/posix_types.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/posix_types.h
rename to libc/include/mips64-linux-any/asm/posix_types.h
diff --git a/libc/include/mips64-linux-musl/asm/ptrace.h b/libc/include/mips64-linux-any/asm/ptrace.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/ptrace.h
rename to libc/include/mips64-linux-any/asm/ptrace.h
diff --git a/libc/include/mips64-linux-musl/asm/resource.h b/libc/include/mips64-linux-any/asm/resource.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/resource.h
rename to libc/include/mips64-linux-any/asm/resource.h
diff --git a/libc/include/mips64-linux-musl/asm/sembuf.h b/libc/include/mips64-linux-any/asm/sembuf.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/sembuf.h
rename to libc/include/mips64-linux-any/asm/sembuf.h
diff --git a/libc/include/mips64-linux-musl/asm/setup.h b/libc/include/mips64-linux-any/asm/setup.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/setup.h
rename to libc/include/mips64-linux-any/asm/setup.h
diff --git a/libc/include/mips64-linux-musl/asm/shmbuf.h b/libc/include/mips64-linux-any/asm/shmbuf.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/shmbuf.h
rename to libc/include/mips64-linux-any/asm/shmbuf.h
diff --git a/libc/include/mips64-linux-musl/asm/sigcontext.h b/libc/include/mips64-linux-any/asm/sigcontext.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/sigcontext.h
rename to libc/include/mips64-linux-any/asm/sigcontext.h
diff --git a/libc/include/mips64-linux-musl/asm/siginfo.h b/libc/include/mips64-linux-any/asm/siginfo.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/siginfo.h
rename to libc/include/mips64-linux-any/asm/siginfo.h
diff --git a/libc/include/mips64-linux-musl/asm/signal.h b/libc/include/mips64-linux-any/asm/signal.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/signal.h
rename to libc/include/mips64-linux-any/asm/signal.h
diff --git a/libc/include/mips64-linux-musl/asm/socket.h b/libc/include/mips64-linux-any/asm/socket.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/socket.h
rename to libc/include/mips64-linux-any/asm/socket.h
diff --git a/libc/include/mips64-linux-musl/asm/sockios.h b/libc/include/mips64-linux-any/asm/sockios.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/sockios.h
rename to libc/include/mips64-linux-any/asm/sockios.h
diff --git a/libc/include/mips64-linux-musl/asm/stat.h b/libc/include/mips64-linux-any/asm/stat.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/stat.h
rename to libc/include/mips64-linux-any/asm/stat.h
diff --git a/libc/include/mips64-linux-musl/asm/statfs.h b/libc/include/mips64-linux-any/asm/statfs.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/statfs.h
rename to libc/include/mips64-linux-any/asm/statfs.h
diff --git a/libc/include/mips64-linux-musl/asm/swab.h b/libc/include/mips64-linux-any/asm/swab.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/swab.h
rename to libc/include/mips64-linux-any/asm/swab.h
diff --git a/libc/include/mips64-linux-musl/asm/termbits.h b/libc/include/mips64-linux-any/asm/termbits.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/termbits.h
rename to libc/include/mips64-linux-any/asm/termbits.h
diff --git a/libc/include/mips64-linux-musl/asm/termios.h b/libc/include/mips64-linux-any/asm/termios.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/termios.h
rename to libc/include/mips64-linux-any/asm/termios.h
diff --git a/libc/include/mips64-linux-musl/asm/types.h b/libc/include/mips64-linux-any/asm/types.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/types.h
rename to libc/include/mips64-linux-any/asm/types.h
diff --git a/libc/include/mips64-linux-musl/asm/unistd.h b/libc/include/mips64-linux-any/asm/unistd.h
similarity index 100%
rename from libc/include/mips64-linux-musl/asm/unistd.h
rename to libc/include/mips64-linux-any/asm/unistd.h
diff --git a/libc/include/mips64-linux-gnuabi64/asm/sgidefs.h b/libc/include/mips64-linux-gnuabi64/asm/sgidefs.h
deleted file mode 100644
index 26143e3b7c..0000000000
--- a/libc/include/mips64-linux-gnuabi64/asm/sgidefs.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 1996, 1999, 2001 Ralf Baechle
- * Copyright (C) 1999 Silicon Graphics, Inc.
- * Copyright (C) 2001 MIPS Technologies, Inc.
- */
-#ifndef __ASM_SGIDEFS_H
-#define __ASM_SGIDEFS_H
-
-/*
- * Using a Linux compiler for building Linux seems logic but not to
- * everybody.
- */
-#ifndef __linux__
-#error Use a Linux compiler or give up.
-#endif
-
-/*
- * Definitions for the ISA levels
- *
- * With the introduction of MIPS32 / MIPS64 instruction sets definitions
- * MIPS ISAs are no longer subsets of each other.  Therefore comparisons
- * on these symbols except with == may result in unexpected results and
- * are forbidden!
- */
-#define _MIPS_ISA_MIPS1		1
-#define _MIPS_ISA_MIPS2		2
-#define _MIPS_ISA_MIPS3		3
-#define _MIPS_ISA_MIPS4		4
-#define _MIPS_ISA_MIPS5		5
-#define _MIPS_ISA_MIPS32	6
-#define _MIPS_ISA_MIPS64	7
-
-/*
- * Subprogram calling convention
- */
-#define _MIPS_SIM_ABI32		1
-#define _MIPS_SIM_NABI32	2
-#define _MIPS_SIM_ABI64		3
-
-#endif /* __ASM_SGIDEFS_H */
diff --git a/libc/include/mips64-linux-gnuabi64/asm/unistd.h b/libc/include/mips64-linux-gnuabi64/asm/unistd.h
deleted file mode 100644
index f25dd1d83f..0000000000
--- a/libc/include/mips64-linux-gnuabi64/asm/unistd.h
+++ /dev/null
@@ -1,1101 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 1995, 96, 97, 98, 99, 2000 by Ralf Baechle
- * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
- *
- * Changed system calls macros _syscall5 - _syscall7 to push args 5 to 7 onto
- * the stack. Robin Farine for ACN S.A, Copyright (C) 1996 by ACN S.A
- */
-#ifndef _UAPI_ASM_UNISTD_H
-#define _UAPI_ASM_UNISTD_H
-
-#include 
-
-#if _MIPS_SIM == _MIPS_SIM_ABI32
-
-/*
- * Linux o32 style syscalls are in the range from 4000 to 4999.
- */
-#define __NR_Linux			4000
-#define __NR_syscall			(__NR_Linux +	0)
-#define __NR_exit			(__NR_Linux +	1)
-#define __NR_fork			(__NR_Linux +	2)
-#define __NR_read			(__NR_Linux +	3)
-#define __NR_write			(__NR_Linux +	4)
-#define __NR_open			(__NR_Linux +	5)
-#define __NR_close			(__NR_Linux +	6)
-#define __NR_waitpid			(__NR_Linux +	7)
-#define __NR_creat			(__NR_Linux +	8)
-#define __NR_link			(__NR_Linux +	9)
-#define __NR_unlink			(__NR_Linux +  10)
-#define __NR_execve			(__NR_Linux +  11)
-#define __NR_chdir			(__NR_Linux +  12)
-#define __NR_time			(__NR_Linux +  13)
-#define __NR_mknod			(__NR_Linux +  14)
-#define __NR_chmod			(__NR_Linux +  15)
-#define __NR_lchown			(__NR_Linux +  16)
-#define __NR_break			(__NR_Linux +  17)
-#define __NR_unused18			(__NR_Linux +  18)
-#define __NR_lseek			(__NR_Linux +  19)
-#define __NR_getpid			(__NR_Linux +  20)
-#define __NR_mount			(__NR_Linux +  21)
-#define __NR_umount			(__NR_Linux +  22)
-#define __NR_setuid			(__NR_Linux +  23)
-#define __NR_getuid			(__NR_Linux +  24)
-#define __NR_stime			(__NR_Linux +  25)
-#define __NR_ptrace			(__NR_Linux +  26)
-#define __NR_alarm			(__NR_Linux +  27)
-#define __NR_unused28			(__NR_Linux +  28)
-#define __NR_pause			(__NR_Linux +  29)
-#define __NR_utime			(__NR_Linux +  30)
-#define __NR_stty			(__NR_Linux +  31)
-#define __NR_gtty			(__NR_Linux +  32)
-#define __NR_access			(__NR_Linux +  33)
-#define __NR_nice			(__NR_Linux +  34)
-#define __NR_ftime			(__NR_Linux +  35)
-#define __NR_sync			(__NR_Linux +  36)
-#define __NR_kill			(__NR_Linux +  37)
-#define __NR_rename			(__NR_Linux +  38)
-#define __NR_mkdir			(__NR_Linux +  39)
-#define __NR_rmdir			(__NR_Linux +  40)
-#define __NR_dup			(__NR_Linux +  41)
-#define __NR_pipe			(__NR_Linux +  42)
-#define __NR_times			(__NR_Linux +  43)
-#define __NR_prof			(__NR_Linux +  44)
-#define __NR_brk			(__NR_Linux +  45)
-#define __NR_setgid			(__NR_Linux +  46)
-#define __NR_getgid			(__NR_Linux +  47)
-#define __NR_signal			(__NR_Linux +  48)
-#define __NR_geteuid			(__NR_Linux +  49)
-#define __NR_getegid			(__NR_Linux +  50)
-#define __NR_acct			(__NR_Linux +  51)
-#define __NR_umount2			(__NR_Linux +  52)
-#define __NR_lock			(__NR_Linux +  53)
-#define __NR_ioctl			(__NR_Linux +  54)
-#define __NR_fcntl			(__NR_Linux +  55)
-#define __NR_mpx			(__NR_Linux +  56)
-#define __NR_setpgid			(__NR_Linux +  57)
-#define __NR_ulimit			(__NR_Linux +  58)
-#define __NR_unused59			(__NR_Linux +  59)
-#define __NR_umask			(__NR_Linux +  60)
-#define __NR_chroot			(__NR_Linux +  61)
-#define __NR_ustat			(__NR_Linux +  62)
-#define __NR_dup2			(__NR_Linux +  63)
-#define __NR_getppid			(__NR_Linux +  64)
-#define __NR_getpgrp			(__NR_Linux +  65)
-#define __NR_setsid			(__NR_Linux +  66)
-#define __NR_sigaction			(__NR_Linux +  67)
-#define __NR_sgetmask			(__NR_Linux +  68)
-#define __NR_ssetmask			(__NR_Linux +  69)
-#define __NR_setreuid			(__NR_Linux +  70)
-#define __NR_setregid			(__NR_Linux +  71)
-#define __NR_sigsuspend			(__NR_Linux +  72)
-#define __NR_sigpending			(__NR_Linux +  73)
-#define __NR_sethostname		(__NR_Linux +  74)
-#define __NR_setrlimit			(__NR_Linux +  75)
-#define __NR_getrlimit			(__NR_Linux +  76)
-#define __NR_getrusage			(__NR_Linux +  77)
-#define __NR_gettimeofday		(__NR_Linux +  78)
-#define __NR_settimeofday		(__NR_Linux +  79)
-#define __NR_getgroups			(__NR_Linux +  80)
-#define __NR_setgroups			(__NR_Linux +  81)
-#define __NR_reserved82			(__NR_Linux +  82)
-#define __NR_symlink			(__NR_Linux +  83)
-#define __NR_unused84			(__NR_Linux +  84)
-#define __NR_readlink			(__NR_Linux +  85)
-#define __NR_uselib			(__NR_Linux +  86)
-#define __NR_swapon			(__NR_Linux +  87)
-#define __NR_reboot			(__NR_Linux +  88)
-#define __NR_readdir			(__NR_Linux +  89)
-#define __NR_mmap			(__NR_Linux +  90)
-#define __NR_munmap			(__NR_Linux +  91)
-#define __NR_truncate			(__NR_Linux +  92)
-#define __NR_ftruncate			(__NR_Linux +  93)
-#define __NR_fchmod			(__NR_Linux +  94)
-#define __NR_fchown			(__NR_Linux +  95)
-#define __NR_getpriority		(__NR_Linux +  96)
-#define __NR_setpriority		(__NR_Linux +  97)
-#define __NR_profil			(__NR_Linux +  98)
-#define __NR_statfs			(__NR_Linux +  99)
-#define __NR_fstatfs			(__NR_Linux + 100)
-#define __NR_ioperm			(__NR_Linux + 101)
-#define __NR_socketcall			(__NR_Linux + 102)
-#define __NR_syslog			(__NR_Linux + 103)
-#define __NR_setitimer			(__NR_Linux + 104)
-#define __NR_getitimer			(__NR_Linux + 105)
-#define __NR_stat			(__NR_Linux + 106)
-#define __NR_lstat			(__NR_Linux + 107)
-#define __NR_fstat			(__NR_Linux + 108)
-#define __NR_unused109			(__NR_Linux + 109)
-#define __NR_iopl			(__NR_Linux + 110)
-#define __NR_vhangup			(__NR_Linux + 111)
-#define __NR_idle			(__NR_Linux + 112)
-#define __NR_vm86			(__NR_Linux + 113)
-#define __NR_wait4			(__NR_Linux + 114)
-#define __NR_swapoff			(__NR_Linux + 115)
-#define __NR_sysinfo			(__NR_Linux + 116)
-#define __NR_ipc			(__NR_Linux + 117)
-#define __NR_fsync			(__NR_Linux + 118)
-#define __NR_sigreturn			(__NR_Linux + 119)
-#define __NR_clone			(__NR_Linux + 120)
-#define __NR_setdomainname		(__NR_Linux + 121)
-#define __NR_uname			(__NR_Linux + 122)
-#define __NR_modify_ldt			(__NR_Linux + 123)
-#define __NR_adjtimex			(__NR_Linux + 124)
-#define __NR_mprotect			(__NR_Linux + 125)
-#define __NR_sigprocmask		(__NR_Linux + 126)
-#define __NR_create_module		(__NR_Linux + 127)
-#define __NR_init_module		(__NR_Linux + 128)
-#define __NR_delete_module		(__NR_Linux + 129)
-#define __NR_get_kernel_syms		(__NR_Linux + 130)
-#define __NR_quotactl			(__NR_Linux + 131)
-#define __NR_getpgid			(__NR_Linux + 132)
-#define __NR_fchdir			(__NR_Linux + 133)
-#define __NR_bdflush			(__NR_Linux + 134)
-#define __NR_sysfs			(__NR_Linux + 135)
-#define __NR_personality		(__NR_Linux + 136)
-#define __NR_afs_syscall		(__NR_Linux + 137) /* Syscall for Andrew File System */
-#define __NR_setfsuid			(__NR_Linux + 138)
-#define __NR_setfsgid			(__NR_Linux + 139)
-#define __NR__llseek			(__NR_Linux + 140)
-#define __NR_getdents			(__NR_Linux + 141)
-#define __NR__newselect			(__NR_Linux + 142)
-#define __NR_flock			(__NR_Linux + 143)
-#define __NR_msync			(__NR_Linux + 144)
-#define __NR_readv			(__NR_Linux + 145)
-#define __NR_writev			(__NR_Linux + 146)
-#define __NR_cacheflush			(__NR_Linux + 147)
-#define __NR_cachectl			(__NR_Linux + 148)
-#define __NR_sysmips			(__NR_Linux + 149)
-#define __NR_unused150			(__NR_Linux + 150)
-#define __NR_getsid			(__NR_Linux + 151)
-#define __NR_fdatasync			(__NR_Linux + 152)
-#define __NR__sysctl			(__NR_Linux + 153)
-#define __NR_mlock			(__NR_Linux + 154)
-#define __NR_munlock			(__NR_Linux + 155)
-#define __NR_mlockall			(__NR_Linux + 156)
-#define __NR_munlockall			(__NR_Linux + 157)
-#define __NR_sched_setparam		(__NR_Linux + 158)
-#define __NR_sched_getparam		(__NR_Linux + 159)
-#define __NR_sched_setscheduler		(__NR_Linux + 160)
-#define __NR_sched_getscheduler		(__NR_Linux + 161)
-#define __NR_sched_yield		(__NR_Linux + 162)
-#define __NR_sched_get_priority_max	(__NR_Linux + 163)
-#define __NR_sched_get_priority_min	(__NR_Linux + 164)
-#define __NR_sched_rr_get_interval	(__NR_Linux + 165)
-#define __NR_nanosleep			(__NR_Linux + 166)
-#define __NR_mremap			(__NR_Linux + 167)
-#define __NR_accept			(__NR_Linux + 168)
-#define __NR_bind			(__NR_Linux + 169)
-#define __NR_connect			(__NR_Linux + 170)
-#define __NR_getpeername		(__NR_Linux + 171)
-#define __NR_getsockname		(__NR_Linux + 172)
-#define __NR_getsockopt			(__NR_Linux + 173)
-#define __NR_listen			(__NR_Linux + 174)
-#define __NR_recv			(__NR_Linux + 175)
-#define __NR_recvfrom			(__NR_Linux + 176)
-#define __NR_recvmsg			(__NR_Linux + 177)
-#define __NR_send			(__NR_Linux + 178)
-#define __NR_sendmsg			(__NR_Linux + 179)
-#define __NR_sendto			(__NR_Linux + 180)
-#define __NR_setsockopt			(__NR_Linux + 181)
-#define __NR_shutdown			(__NR_Linux + 182)
-#define __NR_socket			(__NR_Linux + 183)
-#define __NR_socketpair			(__NR_Linux + 184)
-#define __NR_setresuid			(__NR_Linux + 185)
-#define __NR_getresuid			(__NR_Linux + 186)
-#define __NR_query_module		(__NR_Linux + 187)
-#define __NR_poll			(__NR_Linux + 188)
-#define __NR_nfsservctl			(__NR_Linux + 189)
-#define __NR_setresgid			(__NR_Linux + 190)
-#define __NR_getresgid			(__NR_Linux + 191)
-#define __NR_prctl			(__NR_Linux + 192)
-#define __NR_rt_sigreturn		(__NR_Linux + 193)
-#define __NR_rt_sigaction		(__NR_Linux + 194)
-#define __NR_rt_sigprocmask		(__NR_Linux + 195)
-#define __NR_rt_sigpending		(__NR_Linux + 196)
-#define __NR_rt_sigtimedwait		(__NR_Linux + 197)
-#define __NR_rt_sigqueueinfo		(__NR_Linux + 198)
-#define __NR_rt_sigsuspend		(__NR_Linux + 199)
-#define __NR_pread64			(__NR_Linux + 200)
-#define __NR_pwrite64			(__NR_Linux + 201)
-#define __NR_chown			(__NR_Linux + 202)
-#define __NR_getcwd			(__NR_Linux + 203)
-#define __NR_capget			(__NR_Linux + 204)
-#define __NR_capset			(__NR_Linux + 205)
-#define __NR_sigaltstack		(__NR_Linux + 206)
-#define __NR_sendfile			(__NR_Linux + 207)
-#define __NR_getpmsg			(__NR_Linux + 208)
-#define __NR_putpmsg			(__NR_Linux + 209)
-#define __NR_mmap2			(__NR_Linux + 210)
-#define __NR_truncate64			(__NR_Linux + 211)
-#define __NR_ftruncate64		(__NR_Linux + 212)
-#define __NR_stat64			(__NR_Linux + 213)
-#define __NR_lstat64			(__NR_Linux + 214)
-#define __NR_fstat64			(__NR_Linux + 215)
-#define __NR_pivot_root			(__NR_Linux + 216)
-#define __NR_mincore			(__NR_Linux + 217)
-#define __NR_madvise			(__NR_Linux + 218)
-#define __NR_getdents64			(__NR_Linux + 219)
-#define __NR_fcntl64			(__NR_Linux + 220)
-#define __NR_reserved221		(__NR_Linux + 221)
-#define __NR_gettid			(__NR_Linux + 222)
-#define __NR_readahead			(__NR_Linux + 223)
-#define __NR_setxattr			(__NR_Linux + 224)
-#define __NR_lsetxattr			(__NR_Linux + 225)
-#define __NR_fsetxattr			(__NR_Linux + 226)
-#define __NR_getxattr			(__NR_Linux + 227)
-#define __NR_lgetxattr			(__NR_Linux + 228)
-#define __NR_fgetxattr			(__NR_Linux + 229)
-#define __NR_listxattr			(__NR_Linux + 230)
-#define __NR_llistxattr			(__NR_Linux + 231)
-#define __NR_flistxattr			(__NR_Linux + 232)
-#define __NR_removexattr		(__NR_Linux + 233)
-#define __NR_lremovexattr		(__NR_Linux + 234)
-#define __NR_fremovexattr		(__NR_Linux + 235)
-#define __NR_tkill			(__NR_Linux + 236)
-#define __NR_sendfile64			(__NR_Linux + 237)
-#define __NR_futex			(__NR_Linux + 238)
-#define __NR_sched_setaffinity		(__NR_Linux + 239)
-#define __NR_sched_getaffinity		(__NR_Linux + 240)
-#define __NR_io_setup			(__NR_Linux + 241)
-#define __NR_io_destroy			(__NR_Linux + 242)
-#define __NR_io_getevents		(__NR_Linux + 243)
-#define __NR_io_submit			(__NR_Linux + 244)
-#define __NR_io_cancel			(__NR_Linux + 245)
-#define __NR_exit_group			(__NR_Linux + 246)
-#define __NR_lookup_dcookie		(__NR_Linux + 247)
-#define __NR_epoll_create		(__NR_Linux + 248)
-#define __NR_epoll_ctl			(__NR_Linux + 249)
-#define __NR_epoll_wait			(__NR_Linux + 250)
-#define __NR_remap_file_pages		(__NR_Linux + 251)
-#define __NR_set_tid_address		(__NR_Linux + 252)
-#define __NR_restart_syscall		(__NR_Linux + 253)
-#define __NR_fadvise64			(__NR_Linux + 254)
-#define __NR_statfs64			(__NR_Linux + 255)
-#define __NR_fstatfs64			(__NR_Linux + 256)
-#define __NR_timer_create		(__NR_Linux + 257)
-#define __NR_timer_settime		(__NR_Linux + 258)
-#define __NR_timer_gettime		(__NR_Linux + 259)
-#define __NR_timer_getoverrun		(__NR_Linux + 260)
-#define __NR_timer_delete		(__NR_Linux + 261)
-#define __NR_clock_settime		(__NR_Linux + 262)
-#define __NR_clock_gettime		(__NR_Linux + 263)
-#define __NR_clock_getres		(__NR_Linux + 264)
-#define __NR_clock_nanosleep		(__NR_Linux + 265)
-#define __NR_tgkill			(__NR_Linux + 266)
-#define __NR_utimes			(__NR_Linux + 267)
-#define __NR_mbind			(__NR_Linux + 268)
-#define __NR_get_mempolicy		(__NR_Linux + 269)
-#define __NR_set_mempolicy		(__NR_Linux + 270)
-#define __NR_mq_open			(__NR_Linux + 271)
-#define __NR_mq_unlink			(__NR_Linux + 272)
-#define __NR_mq_timedsend		(__NR_Linux + 273)
-#define __NR_mq_timedreceive		(__NR_Linux + 274)
-#define __NR_mq_notify			(__NR_Linux + 275)
-#define __NR_mq_getsetattr		(__NR_Linux + 276)
-#define __NR_vserver			(__NR_Linux + 277)
-#define __NR_waitid			(__NR_Linux + 278)
-/* #define __NR_sys_setaltroot		(__NR_Linux + 279) */
-#define __NR_add_key			(__NR_Linux + 280)
-#define __NR_request_key		(__NR_Linux + 281)
-#define __NR_keyctl			(__NR_Linux + 282)
-#define __NR_set_thread_area		(__NR_Linux + 283)
-#define __NR_inotify_init		(__NR_Linux + 284)
-#define __NR_inotify_add_watch		(__NR_Linux + 285)
-#define __NR_inotify_rm_watch		(__NR_Linux + 286)
-#define __NR_migrate_pages		(__NR_Linux + 287)
-#define __NR_openat			(__NR_Linux + 288)
-#define __NR_mkdirat			(__NR_Linux + 289)
-#define __NR_mknodat			(__NR_Linux + 290)
-#define __NR_fchownat			(__NR_Linux + 291)
-#define __NR_futimesat			(__NR_Linux + 292)
-#define __NR_fstatat64			(__NR_Linux + 293)
-#define __NR_unlinkat			(__NR_Linux + 294)
-#define __NR_renameat			(__NR_Linux + 295)
-#define __NR_linkat			(__NR_Linux + 296)
-#define __NR_symlinkat			(__NR_Linux + 297)
-#define __NR_readlinkat			(__NR_Linux + 298)
-#define __NR_fchmodat			(__NR_Linux + 299)
-#define __NR_faccessat			(__NR_Linux + 300)
-#define __NR_pselect6			(__NR_Linux + 301)
-#define __NR_ppoll			(__NR_Linux + 302)
-#define __NR_unshare			(__NR_Linux + 303)
-#define __NR_splice			(__NR_Linux + 304)
-#define __NR_sync_file_range		(__NR_Linux + 305)
-#define __NR_tee			(__NR_Linux + 306)
-#define __NR_vmsplice			(__NR_Linux + 307)
-#define __NR_move_pages			(__NR_Linux + 308)
-#define __NR_set_robust_list		(__NR_Linux + 309)
-#define __NR_get_robust_list		(__NR_Linux + 310)
-#define __NR_kexec_load			(__NR_Linux + 311)
-#define __NR_getcpu			(__NR_Linux + 312)
-#define __NR_epoll_pwait		(__NR_Linux + 313)
-#define __NR_ioprio_set			(__NR_Linux + 314)
-#define __NR_ioprio_get			(__NR_Linux + 315)
-#define __NR_utimensat			(__NR_Linux + 316)
-#define __NR_signalfd			(__NR_Linux + 317)
-#define __NR_timerfd			(__NR_Linux + 318)
-#define __NR_eventfd			(__NR_Linux + 319)
-#define __NR_fallocate			(__NR_Linux + 320)
-#define __NR_timerfd_create		(__NR_Linux + 321)
-#define __NR_timerfd_gettime		(__NR_Linux + 322)
-#define __NR_timerfd_settime		(__NR_Linux + 323)
-#define __NR_signalfd4			(__NR_Linux + 324)
-#define __NR_eventfd2			(__NR_Linux + 325)
-#define __NR_epoll_create1		(__NR_Linux + 326)
-#define __NR_dup3			(__NR_Linux + 327)
-#define __NR_pipe2			(__NR_Linux + 328)
-#define __NR_inotify_init1		(__NR_Linux + 329)
-#define __NR_preadv			(__NR_Linux + 330)
-#define __NR_pwritev			(__NR_Linux + 331)
-#define __NR_rt_tgsigqueueinfo		(__NR_Linux + 332)
-#define __NR_perf_event_open		(__NR_Linux + 333)
-#define __NR_accept4			(__NR_Linux + 334)
-#define __NR_recvmmsg			(__NR_Linux + 335)
-#define __NR_fanotify_init		(__NR_Linux + 336)
-#define __NR_fanotify_mark		(__NR_Linux + 337)
-#define __NR_prlimit64			(__NR_Linux + 338)
-#define __NR_name_to_handle_at		(__NR_Linux + 339)
-#define __NR_open_by_handle_at		(__NR_Linux + 340)
-#define __NR_clock_adjtime		(__NR_Linux + 341)
-#define __NR_syncfs			(__NR_Linux + 342)
-#define __NR_sendmmsg			(__NR_Linux + 343)
-#define __NR_setns			(__NR_Linux + 344)
-#define __NR_process_vm_readv		(__NR_Linux + 345)
-#define __NR_process_vm_writev		(__NR_Linux + 346)
-#define __NR_kcmp			(__NR_Linux + 347)
-#define __NR_finit_module		(__NR_Linux + 348)
-#define __NR_sched_setattr		(__NR_Linux + 349)
-#define __NR_sched_getattr		(__NR_Linux + 350)
-#define __NR_renameat2			(__NR_Linux + 351)
-#define __NR_seccomp			(__NR_Linux + 352)
-#define __NR_getrandom			(__NR_Linux + 353)
-#define __NR_memfd_create		(__NR_Linux + 354)
-#define __NR_bpf			(__NR_Linux + 355)
-#define __NR_execveat			(__NR_Linux + 356)
-#define __NR_userfaultfd		(__NR_Linux + 357)
-#define __NR_membarrier			(__NR_Linux + 358)
-#define __NR_mlock2			(__NR_Linux + 359)
-#define __NR_copy_file_range		(__NR_Linux + 360)
-#define __NR_preadv2			(__NR_Linux + 361)
-#define __NR_pwritev2			(__NR_Linux + 362)
-#define __NR_pkey_mprotect		(__NR_Linux + 363)
-#define __NR_pkey_alloc			(__NR_Linux + 364)
-#define __NR_pkey_free			(__NR_Linux + 365)
-#define __NR_statx			(__NR_Linux + 366)
-#define __NR_rseq			(__NR_Linux + 367)
-#define __NR_io_pgetevents		(__NR_Linux + 368)
-
-
-/*
- * Offset of the last Linux o32 flavoured syscall
- */
-#define __NR_Linux_syscalls		368
-
-#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
-
-#define __NR_O32_Linux			4000
-#define __NR_O32_Linux_syscalls		368
-
-#if _MIPS_SIM == _MIPS_SIM_ABI64
-
-/*
- * Linux 64-bit syscalls are in the range from 5000 to 5999.
- */
-#define __NR_Linux			5000
-#define __NR_read			(__NR_Linux +	0)
-#define __NR_write			(__NR_Linux +	1)
-#define __NR_open			(__NR_Linux +	2)
-#define __NR_close			(__NR_Linux +	3)
-#define __NR_stat			(__NR_Linux +	4)
-#define __NR_fstat			(__NR_Linux +	5)
-#define __NR_lstat			(__NR_Linux +	6)
-#define __NR_poll			(__NR_Linux +	7)
-#define __NR_lseek			(__NR_Linux +	8)
-#define __NR_mmap			(__NR_Linux +	9)
-#define __NR_mprotect			(__NR_Linux +  10)
-#define __NR_munmap			(__NR_Linux +  11)
-#define __NR_brk			(__NR_Linux +  12)
-#define __NR_rt_sigaction		(__NR_Linux +  13)
-#define __NR_rt_sigprocmask		(__NR_Linux +  14)
-#define __NR_ioctl			(__NR_Linux +  15)
-#define __NR_pread64			(__NR_Linux +  16)
-#define __NR_pwrite64			(__NR_Linux +  17)
-#define __NR_readv			(__NR_Linux +  18)
-#define __NR_writev			(__NR_Linux +  19)
-#define __NR_access			(__NR_Linux +  20)
-#define __NR_pipe			(__NR_Linux +  21)
-#define __NR__newselect			(__NR_Linux +  22)
-#define __NR_sched_yield		(__NR_Linux +  23)
-#define __NR_mremap			(__NR_Linux +  24)
-#define __NR_msync			(__NR_Linux +  25)
-#define __NR_mincore			(__NR_Linux +  26)
-#define __NR_madvise			(__NR_Linux +  27)
-#define __NR_shmget			(__NR_Linux +  28)
-#define __NR_shmat			(__NR_Linux +  29)
-#define __NR_shmctl			(__NR_Linux +  30)
-#define __NR_dup			(__NR_Linux +  31)
-#define __NR_dup2			(__NR_Linux +  32)
-#define __NR_pause			(__NR_Linux +  33)
-#define __NR_nanosleep			(__NR_Linux +  34)
-#define __NR_getitimer			(__NR_Linux +  35)
-#define __NR_setitimer			(__NR_Linux +  36)
-#define __NR_alarm			(__NR_Linux +  37)
-#define __NR_getpid			(__NR_Linux +  38)
-#define __NR_sendfile			(__NR_Linux +  39)
-#define __NR_socket			(__NR_Linux +  40)
-#define __NR_connect			(__NR_Linux +  41)
-#define __NR_accept			(__NR_Linux +  42)
-#define __NR_sendto			(__NR_Linux +  43)
-#define __NR_recvfrom			(__NR_Linux +  44)
-#define __NR_sendmsg			(__NR_Linux +  45)
-#define __NR_recvmsg			(__NR_Linux +  46)
-#define __NR_shutdown			(__NR_Linux +  47)
-#define __NR_bind			(__NR_Linux +  48)
-#define __NR_listen			(__NR_Linux +  49)
-#define __NR_getsockname		(__NR_Linux +  50)
-#define __NR_getpeername		(__NR_Linux +  51)
-#define __NR_socketpair			(__NR_Linux +  52)
-#define __NR_setsockopt			(__NR_Linux +  53)
-#define __NR_getsockopt			(__NR_Linux +  54)
-#define __NR_clone			(__NR_Linux +  55)
-#define __NR_fork			(__NR_Linux +  56)
-#define __NR_execve			(__NR_Linux +  57)
-#define __NR_exit			(__NR_Linux +  58)
-#define __NR_wait4			(__NR_Linux +  59)
-#define __NR_kill			(__NR_Linux +  60)
-#define __NR_uname			(__NR_Linux +  61)
-#define __NR_semget			(__NR_Linux +  62)
-#define __NR_semop			(__NR_Linux +  63)
-#define __NR_semctl			(__NR_Linux +  64)
-#define __NR_shmdt			(__NR_Linux +  65)
-#define __NR_msgget			(__NR_Linux +  66)
-#define __NR_msgsnd			(__NR_Linux +  67)
-#define __NR_msgrcv			(__NR_Linux +  68)
-#define __NR_msgctl			(__NR_Linux +  69)
-#define __NR_fcntl			(__NR_Linux +  70)
-#define __NR_flock			(__NR_Linux +  71)
-#define __NR_fsync			(__NR_Linux +  72)
-#define __NR_fdatasync			(__NR_Linux +  73)
-#define __NR_truncate			(__NR_Linux +  74)
-#define __NR_ftruncate			(__NR_Linux +  75)
-#define __NR_getdents			(__NR_Linux +  76)
-#define __NR_getcwd			(__NR_Linux +  77)
-#define __NR_chdir			(__NR_Linux +  78)
-#define __NR_fchdir			(__NR_Linux +  79)
-#define __NR_rename			(__NR_Linux +  80)
-#define __NR_mkdir			(__NR_Linux +  81)
-#define __NR_rmdir			(__NR_Linux +  82)
-#define __NR_creat			(__NR_Linux +  83)
-#define __NR_link			(__NR_Linux +  84)
-#define __NR_unlink			(__NR_Linux +  85)
-#define __NR_symlink			(__NR_Linux +  86)
-#define __NR_readlink			(__NR_Linux +  87)
-#define __NR_chmod			(__NR_Linux +  88)
-#define __NR_fchmod			(__NR_Linux +  89)
-#define __NR_chown			(__NR_Linux +  90)
-#define __NR_fchown			(__NR_Linux +  91)
-#define __NR_lchown			(__NR_Linux +  92)
-#define __NR_umask			(__NR_Linux +  93)
-#define __NR_gettimeofday		(__NR_Linux +  94)
-#define __NR_getrlimit			(__NR_Linux +  95)
-#define __NR_getrusage			(__NR_Linux +  96)
-#define __NR_sysinfo			(__NR_Linux +  97)
-#define __NR_times			(__NR_Linux +  98)
-#define __NR_ptrace			(__NR_Linux +  99)
-#define __NR_getuid			(__NR_Linux + 100)
-#define __NR_syslog			(__NR_Linux + 101)
-#define __NR_getgid			(__NR_Linux + 102)
-#define __NR_setuid			(__NR_Linux + 103)
-#define __NR_setgid			(__NR_Linux + 104)
-#define __NR_geteuid			(__NR_Linux + 105)
-#define __NR_getegid			(__NR_Linux + 106)
-#define __NR_setpgid			(__NR_Linux + 107)
-#define __NR_getppid			(__NR_Linux + 108)
-#define __NR_getpgrp			(__NR_Linux + 109)
-#define __NR_setsid			(__NR_Linux + 110)
-#define __NR_setreuid			(__NR_Linux + 111)
-#define __NR_setregid			(__NR_Linux + 112)
-#define __NR_getgroups			(__NR_Linux + 113)
-#define __NR_setgroups			(__NR_Linux + 114)
-#define __NR_setresuid			(__NR_Linux + 115)
-#define __NR_getresuid			(__NR_Linux + 116)
-#define __NR_setresgid			(__NR_Linux + 117)
-#define __NR_getresgid			(__NR_Linux + 118)
-#define __NR_getpgid			(__NR_Linux + 119)
-#define __NR_setfsuid			(__NR_Linux + 120)
-#define __NR_setfsgid			(__NR_Linux + 121)
-#define __NR_getsid			(__NR_Linux + 122)
-#define __NR_capget			(__NR_Linux + 123)
-#define __NR_capset			(__NR_Linux + 124)
-#define __NR_rt_sigpending		(__NR_Linux + 125)
-#define __NR_rt_sigtimedwait		(__NR_Linux + 126)
-#define __NR_rt_sigqueueinfo		(__NR_Linux + 127)
-#define __NR_rt_sigsuspend		(__NR_Linux + 128)
-#define __NR_sigaltstack		(__NR_Linux + 129)
-#define __NR_utime			(__NR_Linux + 130)
-#define __NR_mknod			(__NR_Linux + 131)
-#define __NR_personality		(__NR_Linux + 132)
-#define __NR_ustat			(__NR_Linux + 133)
-#define __NR_statfs			(__NR_Linux + 134)
-#define __NR_fstatfs			(__NR_Linux + 135)
-#define __NR_sysfs			(__NR_Linux + 136)
-#define __NR_getpriority		(__NR_Linux + 137)
-#define __NR_setpriority		(__NR_Linux + 138)
-#define __NR_sched_setparam		(__NR_Linux + 139)
-#define __NR_sched_getparam		(__NR_Linux + 140)
-#define __NR_sched_setscheduler		(__NR_Linux + 141)
-#define __NR_sched_getscheduler		(__NR_Linux + 142)
-#define __NR_sched_get_priority_max	(__NR_Linux + 143)
-#define __NR_sched_get_priority_min	(__NR_Linux + 144)
-#define __NR_sched_rr_get_interval	(__NR_Linux + 145)
-#define __NR_mlock			(__NR_Linux + 146)
-#define __NR_munlock			(__NR_Linux + 147)
-#define __NR_mlockall			(__NR_Linux + 148)
-#define __NR_munlockall			(__NR_Linux + 149)
-#define __NR_vhangup			(__NR_Linux + 150)
-#define __NR_pivot_root			(__NR_Linux + 151)
-#define __NR__sysctl			(__NR_Linux + 152)
-#define __NR_prctl			(__NR_Linux + 153)
-#define __NR_adjtimex			(__NR_Linux + 154)
-#define __NR_setrlimit			(__NR_Linux + 155)
-#define __NR_chroot			(__NR_Linux + 156)
-#define __NR_sync			(__NR_Linux + 157)
-#define __NR_acct			(__NR_Linux + 158)
-#define __NR_settimeofday		(__NR_Linux + 159)
-#define __NR_mount			(__NR_Linux + 160)
-#define __NR_umount2			(__NR_Linux + 161)
-#define __NR_swapon			(__NR_Linux + 162)
-#define __NR_swapoff			(__NR_Linux + 163)
-#define __NR_reboot			(__NR_Linux + 164)
-#define __NR_sethostname		(__NR_Linux + 165)
-#define __NR_setdomainname		(__NR_Linux + 166)
-#define __NR_create_module		(__NR_Linux + 167)
-#define __NR_init_module		(__NR_Linux + 168)
-#define __NR_delete_module		(__NR_Linux + 169)
-#define __NR_get_kernel_syms		(__NR_Linux + 170)
-#define __NR_query_module		(__NR_Linux + 171)
-#define __NR_quotactl			(__NR_Linux + 172)
-#define __NR_nfsservctl			(__NR_Linux + 173)
-#define __NR_getpmsg			(__NR_Linux + 174)
-#define __NR_putpmsg			(__NR_Linux + 175)
-#define __NR_afs_syscall		(__NR_Linux + 176)
-#define __NR_reserved177		(__NR_Linux + 177)
-#define __NR_gettid			(__NR_Linux + 178)
-#define __NR_readahead			(__NR_Linux + 179)
-#define __NR_setxattr			(__NR_Linux + 180)
-#define __NR_lsetxattr			(__NR_Linux + 181)
-#define __NR_fsetxattr			(__NR_Linux + 182)
-#define __NR_getxattr			(__NR_Linux + 183)
-#define __NR_lgetxattr			(__NR_Linux + 184)
-#define __NR_fgetxattr			(__NR_Linux + 185)
-#define __NR_listxattr			(__NR_Linux + 186)
-#define __NR_llistxattr			(__NR_Linux + 187)
-#define __NR_flistxattr			(__NR_Linux + 188)
-#define __NR_removexattr		(__NR_Linux + 189)
-#define __NR_lremovexattr		(__NR_Linux + 190)
-#define __NR_fremovexattr		(__NR_Linux + 191)
-#define __NR_tkill			(__NR_Linux + 192)
-#define __NR_reserved193		(__NR_Linux + 193)
-#define __NR_futex			(__NR_Linux + 194)
-#define __NR_sched_setaffinity		(__NR_Linux + 195)
-#define __NR_sched_getaffinity		(__NR_Linux + 196)
-#define __NR_cacheflush			(__NR_Linux + 197)
-#define __NR_cachectl			(__NR_Linux + 198)
-#define __NR_sysmips			(__NR_Linux + 199)
-#define __NR_io_setup			(__NR_Linux + 200)
-#define __NR_io_destroy			(__NR_Linux + 201)
-#define __NR_io_getevents		(__NR_Linux + 202)
-#define __NR_io_submit			(__NR_Linux + 203)
-#define __NR_io_cancel			(__NR_Linux + 204)
-#define __NR_exit_group			(__NR_Linux + 205)
-#define __NR_lookup_dcookie		(__NR_Linux + 206)
-#define __NR_epoll_create		(__NR_Linux + 207)
-#define __NR_epoll_ctl			(__NR_Linux + 208)
-#define __NR_epoll_wait			(__NR_Linux + 209)
-#define __NR_remap_file_pages		(__NR_Linux + 210)
-#define __NR_rt_sigreturn		(__NR_Linux + 211)
-#define __NR_set_tid_address		(__NR_Linux + 212)
-#define __NR_restart_syscall		(__NR_Linux + 213)
-#define __NR_semtimedop			(__NR_Linux + 214)
-#define __NR_fadvise64			(__NR_Linux + 215)
-#define __NR_timer_create		(__NR_Linux + 216)
-#define __NR_timer_settime		(__NR_Linux + 217)
-#define __NR_timer_gettime		(__NR_Linux + 218)
-#define __NR_timer_getoverrun		(__NR_Linux + 219)
-#define __NR_timer_delete		(__NR_Linux + 220)
-#define __NR_clock_settime		(__NR_Linux + 221)
-#define __NR_clock_gettime		(__NR_Linux + 222)
-#define __NR_clock_getres		(__NR_Linux + 223)
-#define __NR_clock_nanosleep		(__NR_Linux + 224)
-#define __NR_tgkill			(__NR_Linux + 225)
-#define __NR_utimes			(__NR_Linux + 226)
-#define __NR_mbind			(__NR_Linux + 227)
-#define __NR_get_mempolicy		(__NR_Linux + 228)
-#define __NR_set_mempolicy		(__NR_Linux + 229)
-#define __NR_mq_open			(__NR_Linux + 230)
-#define __NR_mq_unlink			(__NR_Linux + 231)
-#define __NR_mq_timedsend		(__NR_Linux + 232)
-#define __NR_mq_timedreceive		(__NR_Linux + 233)
-#define __NR_mq_notify			(__NR_Linux + 234)
-#define __NR_mq_getsetattr		(__NR_Linux + 235)
-#define __NR_vserver			(__NR_Linux + 236)
-#define __NR_waitid			(__NR_Linux + 237)
-/* #define __NR_sys_setaltroot		(__NR_Linux + 238) */
-#define __NR_add_key			(__NR_Linux + 239)
-#define __NR_request_key		(__NR_Linux + 240)
-#define __NR_keyctl			(__NR_Linux + 241)
-#define __NR_set_thread_area		(__NR_Linux + 242)
-#define __NR_inotify_init		(__NR_Linux + 243)
-#define __NR_inotify_add_watch		(__NR_Linux + 244)
-#define __NR_inotify_rm_watch		(__NR_Linux + 245)
-#define __NR_migrate_pages		(__NR_Linux + 246)
-#define __NR_openat			(__NR_Linux + 247)
-#define __NR_mkdirat			(__NR_Linux + 248)
-#define __NR_mknodat			(__NR_Linux + 249)
-#define __NR_fchownat			(__NR_Linux + 250)
-#define __NR_futimesat			(__NR_Linux + 251)
-#define __NR_newfstatat			(__NR_Linux + 252)
-#define __NR_unlinkat			(__NR_Linux + 253)
-#define __NR_renameat			(__NR_Linux + 254)
-#define __NR_linkat			(__NR_Linux + 255)
-#define __NR_symlinkat			(__NR_Linux + 256)
-#define __NR_readlinkat			(__NR_Linux + 257)
-#define __NR_fchmodat			(__NR_Linux + 258)
-#define __NR_faccessat			(__NR_Linux + 259)
-#define __NR_pselect6			(__NR_Linux + 260)
-#define __NR_ppoll			(__NR_Linux + 261)
-#define __NR_unshare			(__NR_Linux + 262)
-#define __NR_splice			(__NR_Linux + 263)
-#define __NR_sync_file_range		(__NR_Linux + 264)
-#define __NR_tee			(__NR_Linux + 265)
-#define __NR_vmsplice			(__NR_Linux + 266)
-#define __NR_move_pages			(__NR_Linux + 267)
-#define __NR_set_robust_list		(__NR_Linux + 268)
-#define __NR_get_robust_list		(__NR_Linux + 269)
-#define __NR_kexec_load			(__NR_Linux + 270)
-#define __NR_getcpu			(__NR_Linux + 271)
-#define __NR_epoll_pwait		(__NR_Linux + 272)
-#define __NR_ioprio_set			(__NR_Linux + 273)
-#define __NR_ioprio_get			(__NR_Linux + 274)
-#define __NR_utimensat			(__NR_Linux + 275)
-#define __NR_signalfd			(__NR_Linux + 276)
-#define __NR_timerfd			(__NR_Linux + 277)
-#define __NR_eventfd			(__NR_Linux + 278)
-#define __NR_fallocate			(__NR_Linux + 279)
-#define __NR_timerfd_create		(__NR_Linux + 280)
-#define __NR_timerfd_gettime		(__NR_Linux + 281)
-#define __NR_timerfd_settime		(__NR_Linux + 282)
-#define __NR_signalfd4			(__NR_Linux + 283)
-#define __NR_eventfd2			(__NR_Linux + 284)
-#define __NR_epoll_create1		(__NR_Linux + 285)
-#define __NR_dup3			(__NR_Linux + 286)
-#define __NR_pipe2			(__NR_Linux + 287)
-#define __NR_inotify_init1		(__NR_Linux + 288)
-#define __NR_preadv			(__NR_Linux + 289)
-#define __NR_pwritev			(__NR_Linux + 290)
-#define __NR_rt_tgsigqueueinfo		(__NR_Linux + 291)
-#define __NR_perf_event_open		(__NR_Linux + 292)
-#define __NR_accept4			(__NR_Linux + 293)
-#define __NR_recvmmsg			(__NR_Linux + 294)
-#define __NR_fanotify_init		(__NR_Linux + 295)
-#define __NR_fanotify_mark		(__NR_Linux + 296)
-#define __NR_prlimit64			(__NR_Linux + 297)
-#define __NR_name_to_handle_at		(__NR_Linux + 298)
-#define __NR_open_by_handle_at		(__NR_Linux + 299)
-#define __NR_clock_adjtime		(__NR_Linux + 300)
-#define __NR_syncfs			(__NR_Linux + 301)
-#define __NR_sendmmsg			(__NR_Linux + 302)
-#define __NR_setns			(__NR_Linux + 303)
-#define __NR_process_vm_readv		(__NR_Linux + 304)
-#define __NR_process_vm_writev		(__NR_Linux + 305)
-#define __NR_kcmp			(__NR_Linux + 306)
-#define __NR_finit_module		(__NR_Linux + 307)
-#define __NR_getdents64			(__NR_Linux + 308)
-#define __NR_sched_setattr		(__NR_Linux + 309)
-#define __NR_sched_getattr		(__NR_Linux + 310)
-#define __NR_renameat2			(__NR_Linux + 311)
-#define __NR_seccomp			(__NR_Linux + 312)
-#define __NR_getrandom			(__NR_Linux + 313)
-#define __NR_memfd_create		(__NR_Linux + 314)
-#define __NR_bpf			(__NR_Linux + 315)
-#define __NR_execveat			(__NR_Linux + 316)
-#define __NR_userfaultfd		(__NR_Linux + 317)
-#define __NR_membarrier			(__NR_Linux + 318)
-#define __NR_mlock2			(__NR_Linux + 319)
-#define __NR_copy_file_range		(__NR_Linux + 320)
-#define __NR_preadv2			(__NR_Linux + 321)
-#define __NR_pwritev2			(__NR_Linux + 322)
-#define __NR_pkey_mprotect		(__NR_Linux + 323)
-#define __NR_pkey_alloc			(__NR_Linux + 324)
-#define __NR_pkey_free			(__NR_Linux + 325)
-#define __NR_statx			(__NR_Linux + 326)
-#define __NR_rseq			(__NR_Linux + 327)
-#define __NR_io_pgetevents		(__NR_Linux + 328)
-
-/*
- * Offset of the last Linux 64-bit flavoured syscall
- */
-#define __NR_Linux_syscalls		328
-
-#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
-
-#define __NR_64_Linux			5000
-#define __NR_64_Linux_syscalls		328
-
-#if _MIPS_SIM == _MIPS_SIM_NABI32
-
-/*
- * Linux N32 syscalls are in the range from 6000 to 6999.
- */
-#define __NR_Linux			6000
-#define __NR_read			(__NR_Linux +	0)
-#define __NR_write			(__NR_Linux +	1)
-#define __NR_open			(__NR_Linux +	2)
-#define __NR_close			(__NR_Linux +	3)
-#define __NR_stat			(__NR_Linux +	4)
-#define __NR_fstat			(__NR_Linux +	5)
-#define __NR_lstat			(__NR_Linux +	6)
-#define __NR_poll			(__NR_Linux +	7)
-#define __NR_lseek			(__NR_Linux +	8)
-#define __NR_mmap			(__NR_Linux +	9)
-#define __NR_mprotect			(__NR_Linux +  10)
-#define __NR_munmap			(__NR_Linux +  11)
-#define __NR_brk			(__NR_Linux +  12)
-#define __NR_rt_sigaction		(__NR_Linux +  13)
-#define __NR_rt_sigprocmask		(__NR_Linux +  14)
-#define __NR_ioctl			(__NR_Linux +  15)
-#define __NR_pread64			(__NR_Linux +  16)
-#define __NR_pwrite64			(__NR_Linux +  17)
-#define __NR_readv			(__NR_Linux +  18)
-#define __NR_writev			(__NR_Linux +  19)
-#define __NR_access			(__NR_Linux +  20)
-#define __NR_pipe			(__NR_Linux +  21)
-#define __NR__newselect			(__NR_Linux +  22)
-#define __NR_sched_yield		(__NR_Linux +  23)
-#define __NR_mremap			(__NR_Linux +  24)
-#define __NR_msync			(__NR_Linux +  25)
-#define __NR_mincore			(__NR_Linux +  26)
-#define __NR_madvise			(__NR_Linux +  27)
-#define __NR_shmget			(__NR_Linux +  28)
-#define __NR_shmat			(__NR_Linux +  29)
-#define __NR_shmctl			(__NR_Linux +  30)
-#define __NR_dup			(__NR_Linux +  31)
-#define __NR_dup2			(__NR_Linux +  32)
-#define __NR_pause			(__NR_Linux +  33)
-#define __NR_nanosleep			(__NR_Linux +  34)
-#define __NR_getitimer			(__NR_Linux +  35)
-#define __NR_setitimer			(__NR_Linux +  36)
-#define __NR_alarm			(__NR_Linux +  37)
-#define __NR_getpid			(__NR_Linux +  38)
-#define __NR_sendfile			(__NR_Linux +  39)
-#define __NR_socket			(__NR_Linux +  40)
-#define __NR_connect			(__NR_Linux +  41)
-#define __NR_accept			(__NR_Linux +  42)
-#define __NR_sendto			(__NR_Linux +  43)
-#define __NR_recvfrom			(__NR_Linux +  44)
-#define __NR_sendmsg			(__NR_Linux +  45)
-#define __NR_recvmsg			(__NR_Linux +  46)
-#define __NR_shutdown			(__NR_Linux +  47)
-#define __NR_bind			(__NR_Linux +  48)
-#define __NR_listen			(__NR_Linux +  49)
-#define __NR_getsockname		(__NR_Linux +  50)
-#define __NR_getpeername		(__NR_Linux +  51)
-#define __NR_socketpair			(__NR_Linux +  52)
-#define __NR_setsockopt			(__NR_Linux +  53)
-#define __NR_getsockopt			(__NR_Linux +  54)
-#define __NR_clone			(__NR_Linux +  55)
-#define __NR_fork			(__NR_Linux +  56)
-#define __NR_execve			(__NR_Linux +  57)
-#define __NR_exit			(__NR_Linux +  58)
-#define __NR_wait4			(__NR_Linux +  59)
-#define __NR_kill			(__NR_Linux +  60)
-#define __NR_uname			(__NR_Linux +  61)
-#define __NR_semget			(__NR_Linux +  62)
-#define __NR_semop			(__NR_Linux +  63)
-#define __NR_semctl			(__NR_Linux +  64)
-#define __NR_shmdt			(__NR_Linux +  65)
-#define __NR_msgget			(__NR_Linux +  66)
-#define __NR_msgsnd			(__NR_Linux +  67)
-#define __NR_msgrcv			(__NR_Linux +  68)
-#define __NR_msgctl			(__NR_Linux +  69)
-#define __NR_fcntl			(__NR_Linux +  70)
-#define __NR_flock			(__NR_Linux +  71)
-#define __NR_fsync			(__NR_Linux +  72)
-#define __NR_fdatasync			(__NR_Linux +  73)
-#define __NR_truncate			(__NR_Linux +  74)
-#define __NR_ftruncate			(__NR_Linux +  75)
-#define __NR_getdents			(__NR_Linux +  76)
-#define __NR_getcwd			(__NR_Linux +  77)
-#define __NR_chdir			(__NR_Linux +  78)
-#define __NR_fchdir			(__NR_Linux +  79)
-#define __NR_rename			(__NR_Linux +  80)
-#define __NR_mkdir			(__NR_Linux +  81)
-#define __NR_rmdir			(__NR_Linux +  82)
-#define __NR_creat			(__NR_Linux +  83)
-#define __NR_link			(__NR_Linux +  84)
-#define __NR_unlink			(__NR_Linux +  85)
-#define __NR_symlink			(__NR_Linux +  86)
-#define __NR_readlink			(__NR_Linux +  87)
-#define __NR_chmod			(__NR_Linux +  88)
-#define __NR_fchmod			(__NR_Linux +  89)
-#define __NR_chown			(__NR_Linux +  90)
-#define __NR_fchown			(__NR_Linux +  91)
-#define __NR_lchown			(__NR_Linux +  92)
-#define __NR_umask			(__NR_Linux +  93)
-#define __NR_gettimeofday		(__NR_Linux +  94)
-#define __NR_getrlimit			(__NR_Linux +  95)
-#define __NR_getrusage			(__NR_Linux +  96)
-#define __NR_sysinfo			(__NR_Linux +  97)
-#define __NR_times			(__NR_Linux +  98)
-#define __NR_ptrace			(__NR_Linux +  99)
-#define __NR_getuid			(__NR_Linux + 100)
-#define __NR_syslog			(__NR_Linux + 101)
-#define __NR_getgid			(__NR_Linux + 102)
-#define __NR_setuid			(__NR_Linux + 103)
-#define __NR_setgid			(__NR_Linux + 104)
-#define __NR_geteuid			(__NR_Linux + 105)
-#define __NR_getegid			(__NR_Linux + 106)
-#define __NR_setpgid			(__NR_Linux + 107)
-#define __NR_getppid			(__NR_Linux + 108)
-#define __NR_getpgrp			(__NR_Linux + 109)
-#define __NR_setsid			(__NR_Linux + 110)
-#define __NR_setreuid			(__NR_Linux + 111)
-#define __NR_setregid			(__NR_Linux + 112)
-#define __NR_getgroups			(__NR_Linux + 113)
-#define __NR_setgroups			(__NR_Linux + 114)
-#define __NR_setresuid			(__NR_Linux + 115)
-#define __NR_getresuid			(__NR_Linux + 116)
-#define __NR_setresgid			(__NR_Linux + 117)
-#define __NR_getresgid			(__NR_Linux + 118)
-#define __NR_getpgid			(__NR_Linux + 119)
-#define __NR_setfsuid			(__NR_Linux + 120)
-#define __NR_setfsgid			(__NR_Linux + 121)
-#define __NR_getsid			(__NR_Linux + 122)
-#define __NR_capget			(__NR_Linux + 123)
-#define __NR_capset			(__NR_Linux + 124)
-#define __NR_rt_sigpending		(__NR_Linux + 125)
-#define __NR_rt_sigtimedwait		(__NR_Linux + 126)
-#define __NR_rt_sigqueueinfo		(__NR_Linux + 127)
-#define __NR_rt_sigsuspend		(__NR_Linux + 128)
-#define __NR_sigaltstack		(__NR_Linux + 129)
-#define __NR_utime			(__NR_Linux + 130)
-#define __NR_mknod			(__NR_Linux + 131)
-#define __NR_personality		(__NR_Linux + 132)
-#define __NR_ustat			(__NR_Linux + 133)
-#define __NR_statfs			(__NR_Linux + 134)
-#define __NR_fstatfs			(__NR_Linux + 135)
-#define __NR_sysfs			(__NR_Linux + 136)
-#define __NR_getpriority		(__NR_Linux + 137)
-#define __NR_setpriority		(__NR_Linux + 138)
-#define __NR_sched_setparam		(__NR_Linux + 139)
-#define __NR_sched_getparam		(__NR_Linux + 140)
-#define __NR_sched_setscheduler		(__NR_Linux + 141)
-#define __NR_sched_getscheduler		(__NR_Linux + 142)
-#define __NR_sched_get_priority_max	(__NR_Linux + 143)
-#define __NR_sched_get_priority_min	(__NR_Linux + 144)
-#define __NR_sched_rr_get_interval	(__NR_Linux + 145)
-#define __NR_mlock			(__NR_Linux + 146)
-#define __NR_munlock			(__NR_Linux + 147)
-#define __NR_mlockall			(__NR_Linux + 148)
-#define __NR_munlockall			(__NR_Linux + 149)
-#define __NR_vhangup			(__NR_Linux + 150)
-#define __NR_pivot_root			(__NR_Linux + 151)
-#define __NR__sysctl			(__NR_Linux + 152)
-#define __NR_prctl			(__NR_Linux + 153)
-#define __NR_adjtimex			(__NR_Linux + 154)
-#define __NR_setrlimit			(__NR_Linux + 155)
-#define __NR_chroot			(__NR_Linux + 156)
-#define __NR_sync			(__NR_Linux + 157)
-#define __NR_acct			(__NR_Linux + 158)
-#define __NR_settimeofday		(__NR_Linux + 159)
-#define __NR_mount			(__NR_Linux + 160)
-#define __NR_umount2			(__NR_Linux + 161)
-#define __NR_swapon			(__NR_Linux + 162)
-#define __NR_swapoff			(__NR_Linux + 163)
-#define __NR_reboot			(__NR_Linux + 164)
-#define __NR_sethostname		(__NR_Linux + 165)
-#define __NR_setdomainname		(__NR_Linux + 166)
-#define __NR_create_module		(__NR_Linux + 167)
-#define __NR_init_module		(__NR_Linux + 168)
-#define __NR_delete_module		(__NR_Linux + 169)
-#define __NR_get_kernel_syms		(__NR_Linux + 170)
-#define __NR_query_module		(__NR_Linux + 171)
-#define __NR_quotactl			(__NR_Linux + 172)
-#define __NR_nfsservctl			(__NR_Linux + 173)
-#define __NR_getpmsg			(__NR_Linux + 174)
-#define __NR_putpmsg			(__NR_Linux + 175)
-#define __NR_afs_syscall		(__NR_Linux + 176)
-#define __NR_reserved177		(__NR_Linux + 177)
-#define __NR_gettid			(__NR_Linux + 178)
-#define __NR_readahead			(__NR_Linux + 179)
-#define __NR_setxattr			(__NR_Linux + 180)
-#define __NR_lsetxattr			(__NR_Linux + 181)
-#define __NR_fsetxattr			(__NR_Linux + 182)
-#define __NR_getxattr			(__NR_Linux + 183)
-#define __NR_lgetxattr			(__NR_Linux + 184)
-#define __NR_fgetxattr			(__NR_Linux + 185)
-#define __NR_listxattr			(__NR_Linux + 186)
-#define __NR_llistxattr			(__NR_Linux + 187)
-#define __NR_flistxattr			(__NR_Linux + 188)
-#define __NR_removexattr		(__NR_Linux + 189)
-#define __NR_lremovexattr		(__NR_Linux + 190)
-#define __NR_fremovexattr		(__NR_Linux + 191)
-#define __NR_tkill			(__NR_Linux + 192)
-#define __NR_reserved193		(__NR_Linux + 193)
-#define __NR_futex			(__NR_Linux + 194)
-#define __NR_sched_setaffinity		(__NR_Linux + 195)
-#define __NR_sched_getaffinity		(__NR_Linux + 196)
-#define __NR_cacheflush			(__NR_Linux + 197)
-#define __NR_cachectl			(__NR_Linux + 198)
-#define __NR_sysmips			(__NR_Linux + 199)
-#define __NR_io_setup			(__NR_Linux + 200)
-#define __NR_io_destroy			(__NR_Linux + 201)
-#define __NR_io_getevents		(__NR_Linux + 202)
-#define __NR_io_submit			(__NR_Linux + 203)
-#define __NR_io_cancel			(__NR_Linux + 204)
-#define __NR_exit_group			(__NR_Linux + 205)
-#define __NR_lookup_dcookie		(__NR_Linux + 206)
-#define __NR_epoll_create		(__NR_Linux + 207)
-#define __NR_epoll_ctl			(__NR_Linux + 208)
-#define __NR_epoll_wait			(__NR_Linux + 209)
-#define __NR_remap_file_pages		(__NR_Linux + 210)
-#define __NR_rt_sigreturn		(__NR_Linux + 211)
-#define __NR_fcntl64			(__NR_Linux + 212)
-#define __NR_set_tid_address		(__NR_Linux + 213)
-#define __NR_restart_syscall		(__NR_Linux + 214)
-#define __NR_semtimedop			(__NR_Linux + 215)
-#define __NR_fadvise64			(__NR_Linux + 216)
-#define __NR_statfs64			(__NR_Linux + 217)
-#define __NR_fstatfs64			(__NR_Linux + 218)
-#define __NR_sendfile64			(__NR_Linux + 219)
-#define __NR_timer_create		(__NR_Linux + 220)
-#define __NR_timer_settime		(__NR_Linux + 221)
-#define __NR_timer_gettime		(__NR_Linux + 222)
-#define __NR_timer_getoverrun		(__NR_Linux + 223)
-#define __NR_timer_delete		(__NR_Linux + 224)
-#define __NR_clock_settime		(__NR_Linux + 225)
-#define __NR_clock_gettime		(__NR_Linux + 226)
-#define __NR_clock_getres		(__NR_Linux + 227)
-#define __NR_clock_nanosleep		(__NR_Linux + 228)
-#define __NR_tgkill			(__NR_Linux + 229)
-#define __NR_utimes			(__NR_Linux + 230)
-#define __NR_mbind			(__NR_Linux + 231)
-#define __NR_get_mempolicy		(__NR_Linux + 232)
-#define __NR_set_mempolicy		(__NR_Linux + 233)
-#define __NR_mq_open			(__NR_Linux + 234)
-#define __NR_mq_unlink			(__NR_Linux + 235)
-#define __NR_mq_timedsend		(__NR_Linux + 236)
-#define __NR_mq_timedreceive		(__NR_Linux + 237)
-#define __NR_mq_notify			(__NR_Linux + 238)
-#define __NR_mq_getsetattr		(__NR_Linux + 239)
-#define __NR_vserver			(__NR_Linux + 240)
-#define __NR_waitid			(__NR_Linux + 241)
-/* #define __NR_sys_setaltroot		(__NR_Linux + 242) */
-#define __NR_add_key			(__NR_Linux + 243)
-#define __NR_request_key		(__NR_Linux + 244)
-#define __NR_keyctl			(__NR_Linux + 245)
-#define __NR_set_thread_area		(__NR_Linux + 246)
-#define __NR_inotify_init		(__NR_Linux + 247)
-#define __NR_inotify_add_watch		(__NR_Linux + 248)
-#define __NR_inotify_rm_watch		(__NR_Linux + 249)
-#define __NR_migrate_pages		(__NR_Linux + 250)
-#define __NR_openat			(__NR_Linux + 251)
-#define __NR_mkdirat			(__NR_Linux + 252)
-#define __NR_mknodat			(__NR_Linux + 253)
-#define __NR_fchownat			(__NR_Linux + 254)
-#define __NR_futimesat			(__NR_Linux + 255)
-#define __NR_newfstatat			(__NR_Linux + 256)
-#define __NR_unlinkat			(__NR_Linux + 257)
-#define __NR_renameat			(__NR_Linux + 258)
-#define __NR_linkat			(__NR_Linux + 259)
-#define __NR_symlinkat			(__NR_Linux + 260)
-#define __NR_readlinkat			(__NR_Linux + 261)
-#define __NR_fchmodat			(__NR_Linux + 262)
-#define __NR_faccessat			(__NR_Linux + 263)
-#define __NR_pselect6			(__NR_Linux + 264)
-#define __NR_ppoll			(__NR_Linux + 265)
-#define __NR_unshare			(__NR_Linux + 266)
-#define __NR_splice			(__NR_Linux + 267)
-#define __NR_sync_file_range		(__NR_Linux + 268)
-#define __NR_tee			(__NR_Linux + 269)
-#define __NR_vmsplice			(__NR_Linux + 270)
-#define __NR_move_pages			(__NR_Linux + 271)
-#define __NR_set_robust_list		(__NR_Linux + 272)
-#define __NR_get_robust_list		(__NR_Linux + 273)
-#define __NR_kexec_load			(__NR_Linux + 274)
-#define __NR_getcpu			(__NR_Linux + 275)
-#define __NR_epoll_pwait		(__NR_Linux + 276)
-#define __NR_ioprio_set			(__NR_Linux + 277)
-#define __NR_ioprio_get			(__NR_Linux + 278)
-#define __NR_utimensat			(__NR_Linux + 279)
-#define __NR_signalfd			(__NR_Linux + 280)
-#define __NR_timerfd			(__NR_Linux + 281)
-#define __NR_eventfd			(__NR_Linux + 282)
-#define __NR_fallocate			(__NR_Linux + 283)
-#define __NR_timerfd_create		(__NR_Linux + 284)
-#define __NR_timerfd_gettime		(__NR_Linux + 285)
-#define __NR_timerfd_settime		(__NR_Linux + 286)
-#define __NR_signalfd4			(__NR_Linux + 287)
-#define __NR_eventfd2			(__NR_Linux + 288)
-#define __NR_epoll_create1		(__NR_Linux + 289)
-#define __NR_dup3			(__NR_Linux + 290)
-#define __NR_pipe2			(__NR_Linux + 291)
-#define __NR_inotify_init1		(__NR_Linux + 292)
-#define __NR_preadv			(__NR_Linux + 293)
-#define __NR_pwritev			(__NR_Linux + 294)
-#define __NR_rt_tgsigqueueinfo		(__NR_Linux + 295)
-#define __NR_perf_event_open		(__NR_Linux + 296)
-#define __NR_accept4			(__NR_Linux + 297)
-#define __NR_recvmmsg			(__NR_Linux + 298)
-#define __NR_getdents64			(__NR_Linux + 299)
-#define __NR_fanotify_init		(__NR_Linux + 300)
-#define __NR_fanotify_mark		(__NR_Linux + 301)
-#define __NR_prlimit64			(__NR_Linux + 302)
-#define __NR_name_to_handle_at		(__NR_Linux + 303)
-#define __NR_open_by_handle_at		(__NR_Linux + 304)
-#define __NR_clock_adjtime		(__NR_Linux + 305)
-#define __NR_syncfs			(__NR_Linux + 306)
-#define __NR_sendmmsg			(__NR_Linux + 307)
-#define __NR_setns			(__NR_Linux + 308)
-#define __NR_process_vm_readv		(__NR_Linux + 309)
-#define __NR_process_vm_writev		(__NR_Linux + 310)
-#define __NR_kcmp			(__NR_Linux + 311)
-#define __NR_finit_module		(__NR_Linux + 312)
-#define __NR_sched_setattr		(__NR_Linux + 313)
-#define __NR_sched_getattr		(__NR_Linux + 314)
-#define __NR_renameat2			(__NR_Linux + 315)
-#define __NR_seccomp			(__NR_Linux + 316)
-#define __NR_getrandom			(__NR_Linux + 317)
-#define __NR_memfd_create		(__NR_Linux + 318)
-#define __NR_bpf			(__NR_Linux + 319)
-#define __NR_execveat			(__NR_Linux + 320)
-#define __NR_userfaultfd		(__NR_Linux + 321)
-#define __NR_membarrier			(__NR_Linux + 322)
-#define __NR_mlock2			(__NR_Linux + 323)
-#define __NR_copy_file_range		(__NR_Linux + 324)
-#define __NR_preadv2			(__NR_Linux + 325)
-#define __NR_pwritev2			(__NR_Linux + 326)
-#define __NR_pkey_mprotect		(__NR_Linux + 327)
-#define __NR_pkey_alloc			(__NR_Linux + 328)
-#define __NR_pkey_free			(__NR_Linux + 329)
-#define __NR_statx			(__NR_Linux + 330)
-#define __NR_rseq			(__NR_Linux + 331)
-#define __NR_io_pgetevents		(__NR_Linux + 332)
-
-/*
- * Offset of the last N32 flavoured syscall
- */
-#define __NR_Linux_syscalls		332
-
-#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
-
-#define __NR_N32_Linux			6000
-#define __NR_N32_Linux_syscalls		332
-
-#endif /* _UAPI_ASM_UNISTD_H */
diff --git a/libc/include/mips64-linux-gnuabin32/asm/sgidefs.h b/libc/include/mips64-linux-gnuabin32/asm/sgidefs.h
deleted file mode 100644
index 26143e3b7c..0000000000
--- a/libc/include/mips64-linux-gnuabin32/asm/sgidefs.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 1996, 1999, 2001 Ralf Baechle
- * Copyright (C) 1999 Silicon Graphics, Inc.
- * Copyright (C) 2001 MIPS Technologies, Inc.
- */
-#ifndef __ASM_SGIDEFS_H
-#define __ASM_SGIDEFS_H
-
-/*
- * Using a Linux compiler for building Linux seems logic but not to
- * everybody.
- */
-#ifndef __linux__
-#error Use a Linux compiler or give up.
-#endif
-
-/*
- * Definitions for the ISA levels
- *
- * With the introduction of MIPS32 / MIPS64 instruction sets definitions
- * MIPS ISAs are no longer subsets of each other.  Therefore comparisons
- * on these symbols except with == may result in unexpected results and
- * are forbidden!
- */
-#define _MIPS_ISA_MIPS1		1
-#define _MIPS_ISA_MIPS2		2
-#define _MIPS_ISA_MIPS3		3
-#define _MIPS_ISA_MIPS4		4
-#define _MIPS_ISA_MIPS5		5
-#define _MIPS_ISA_MIPS32	6
-#define _MIPS_ISA_MIPS64	7
-
-/*
- * Subprogram calling convention
- */
-#define _MIPS_SIM_ABI32		1
-#define _MIPS_SIM_NABI32	2
-#define _MIPS_SIM_ABI64		3
-
-#endif /* __ASM_SGIDEFS_H */
diff --git a/libc/include/mips64-linux-gnuabin32/asm/unistd.h b/libc/include/mips64-linux-gnuabin32/asm/unistd.h
deleted file mode 100644
index f25dd1d83f..0000000000
--- a/libc/include/mips64-linux-gnuabin32/asm/unistd.h
+++ /dev/null
@@ -1,1101 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 1995, 96, 97, 98, 99, 2000 by Ralf Baechle
- * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
- *
- * Changed system calls macros _syscall5 - _syscall7 to push args 5 to 7 onto
- * the stack. Robin Farine for ACN S.A, Copyright (C) 1996 by ACN S.A
- */
-#ifndef _UAPI_ASM_UNISTD_H
-#define _UAPI_ASM_UNISTD_H
-
-#include 
-
-#if _MIPS_SIM == _MIPS_SIM_ABI32
-
-/*
- * Linux o32 style syscalls are in the range from 4000 to 4999.
- */
-#define __NR_Linux			4000
-#define __NR_syscall			(__NR_Linux +	0)
-#define __NR_exit			(__NR_Linux +	1)
-#define __NR_fork			(__NR_Linux +	2)
-#define __NR_read			(__NR_Linux +	3)
-#define __NR_write			(__NR_Linux +	4)
-#define __NR_open			(__NR_Linux +	5)
-#define __NR_close			(__NR_Linux +	6)
-#define __NR_waitpid			(__NR_Linux +	7)
-#define __NR_creat			(__NR_Linux +	8)
-#define __NR_link			(__NR_Linux +	9)
-#define __NR_unlink			(__NR_Linux +  10)
-#define __NR_execve			(__NR_Linux +  11)
-#define __NR_chdir			(__NR_Linux +  12)
-#define __NR_time			(__NR_Linux +  13)
-#define __NR_mknod			(__NR_Linux +  14)
-#define __NR_chmod			(__NR_Linux +  15)
-#define __NR_lchown			(__NR_Linux +  16)
-#define __NR_break			(__NR_Linux +  17)
-#define __NR_unused18			(__NR_Linux +  18)
-#define __NR_lseek			(__NR_Linux +  19)
-#define __NR_getpid			(__NR_Linux +  20)
-#define __NR_mount			(__NR_Linux +  21)
-#define __NR_umount			(__NR_Linux +  22)
-#define __NR_setuid			(__NR_Linux +  23)
-#define __NR_getuid			(__NR_Linux +  24)
-#define __NR_stime			(__NR_Linux +  25)
-#define __NR_ptrace			(__NR_Linux +  26)
-#define __NR_alarm			(__NR_Linux +  27)
-#define __NR_unused28			(__NR_Linux +  28)
-#define __NR_pause			(__NR_Linux +  29)
-#define __NR_utime			(__NR_Linux +  30)
-#define __NR_stty			(__NR_Linux +  31)
-#define __NR_gtty			(__NR_Linux +  32)
-#define __NR_access			(__NR_Linux +  33)
-#define __NR_nice			(__NR_Linux +  34)
-#define __NR_ftime			(__NR_Linux +  35)
-#define __NR_sync			(__NR_Linux +  36)
-#define __NR_kill			(__NR_Linux +  37)
-#define __NR_rename			(__NR_Linux +  38)
-#define __NR_mkdir			(__NR_Linux +  39)
-#define __NR_rmdir			(__NR_Linux +  40)
-#define __NR_dup			(__NR_Linux +  41)
-#define __NR_pipe			(__NR_Linux +  42)
-#define __NR_times			(__NR_Linux +  43)
-#define __NR_prof			(__NR_Linux +  44)
-#define __NR_brk			(__NR_Linux +  45)
-#define __NR_setgid			(__NR_Linux +  46)
-#define __NR_getgid			(__NR_Linux +  47)
-#define __NR_signal			(__NR_Linux +  48)
-#define __NR_geteuid			(__NR_Linux +  49)
-#define __NR_getegid			(__NR_Linux +  50)
-#define __NR_acct			(__NR_Linux +  51)
-#define __NR_umount2			(__NR_Linux +  52)
-#define __NR_lock			(__NR_Linux +  53)
-#define __NR_ioctl			(__NR_Linux +  54)
-#define __NR_fcntl			(__NR_Linux +  55)
-#define __NR_mpx			(__NR_Linux +  56)
-#define __NR_setpgid			(__NR_Linux +  57)
-#define __NR_ulimit			(__NR_Linux +  58)
-#define __NR_unused59			(__NR_Linux +  59)
-#define __NR_umask			(__NR_Linux +  60)
-#define __NR_chroot			(__NR_Linux +  61)
-#define __NR_ustat			(__NR_Linux +  62)
-#define __NR_dup2			(__NR_Linux +  63)
-#define __NR_getppid			(__NR_Linux +  64)
-#define __NR_getpgrp			(__NR_Linux +  65)
-#define __NR_setsid			(__NR_Linux +  66)
-#define __NR_sigaction			(__NR_Linux +  67)
-#define __NR_sgetmask			(__NR_Linux +  68)
-#define __NR_ssetmask			(__NR_Linux +  69)
-#define __NR_setreuid			(__NR_Linux +  70)
-#define __NR_setregid			(__NR_Linux +  71)
-#define __NR_sigsuspend			(__NR_Linux +  72)
-#define __NR_sigpending			(__NR_Linux +  73)
-#define __NR_sethostname		(__NR_Linux +  74)
-#define __NR_setrlimit			(__NR_Linux +  75)
-#define __NR_getrlimit			(__NR_Linux +  76)
-#define __NR_getrusage			(__NR_Linux +  77)
-#define __NR_gettimeofday		(__NR_Linux +  78)
-#define __NR_settimeofday		(__NR_Linux +  79)
-#define __NR_getgroups			(__NR_Linux +  80)
-#define __NR_setgroups			(__NR_Linux +  81)
-#define __NR_reserved82			(__NR_Linux +  82)
-#define __NR_symlink			(__NR_Linux +  83)
-#define __NR_unused84			(__NR_Linux +  84)
-#define __NR_readlink			(__NR_Linux +  85)
-#define __NR_uselib			(__NR_Linux +  86)
-#define __NR_swapon			(__NR_Linux +  87)
-#define __NR_reboot			(__NR_Linux +  88)
-#define __NR_readdir			(__NR_Linux +  89)
-#define __NR_mmap			(__NR_Linux +  90)
-#define __NR_munmap			(__NR_Linux +  91)
-#define __NR_truncate			(__NR_Linux +  92)
-#define __NR_ftruncate			(__NR_Linux +  93)
-#define __NR_fchmod			(__NR_Linux +  94)
-#define __NR_fchown			(__NR_Linux +  95)
-#define __NR_getpriority		(__NR_Linux +  96)
-#define __NR_setpriority		(__NR_Linux +  97)
-#define __NR_profil			(__NR_Linux +  98)
-#define __NR_statfs			(__NR_Linux +  99)
-#define __NR_fstatfs			(__NR_Linux + 100)
-#define __NR_ioperm			(__NR_Linux + 101)
-#define __NR_socketcall			(__NR_Linux + 102)
-#define __NR_syslog			(__NR_Linux + 103)
-#define __NR_setitimer			(__NR_Linux + 104)
-#define __NR_getitimer			(__NR_Linux + 105)
-#define __NR_stat			(__NR_Linux + 106)
-#define __NR_lstat			(__NR_Linux + 107)
-#define __NR_fstat			(__NR_Linux + 108)
-#define __NR_unused109			(__NR_Linux + 109)
-#define __NR_iopl			(__NR_Linux + 110)
-#define __NR_vhangup			(__NR_Linux + 111)
-#define __NR_idle			(__NR_Linux + 112)
-#define __NR_vm86			(__NR_Linux + 113)
-#define __NR_wait4			(__NR_Linux + 114)
-#define __NR_swapoff			(__NR_Linux + 115)
-#define __NR_sysinfo			(__NR_Linux + 116)
-#define __NR_ipc			(__NR_Linux + 117)
-#define __NR_fsync			(__NR_Linux + 118)
-#define __NR_sigreturn			(__NR_Linux + 119)
-#define __NR_clone			(__NR_Linux + 120)
-#define __NR_setdomainname		(__NR_Linux + 121)
-#define __NR_uname			(__NR_Linux + 122)
-#define __NR_modify_ldt			(__NR_Linux + 123)
-#define __NR_adjtimex			(__NR_Linux + 124)
-#define __NR_mprotect			(__NR_Linux + 125)
-#define __NR_sigprocmask		(__NR_Linux + 126)
-#define __NR_create_module		(__NR_Linux + 127)
-#define __NR_init_module		(__NR_Linux + 128)
-#define __NR_delete_module		(__NR_Linux + 129)
-#define __NR_get_kernel_syms		(__NR_Linux + 130)
-#define __NR_quotactl			(__NR_Linux + 131)
-#define __NR_getpgid			(__NR_Linux + 132)
-#define __NR_fchdir			(__NR_Linux + 133)
-#define __NR_bdflush			(__NR_Linux + 134)
-#define __NR_sysfs			(__NR_Linux + 135)
-#define __NR_personality		(__NR_Linux + 136)
-#define __NR_afs_syscall		(__NR_Linux + 137) /* Syscall for Andrew File System */
-#define __NR_setfsuid			(__NR_Linux + 138)
-#define __NR_setfsgid			(__NR_Linux + 139)
-#define __NR__llseek			(__NR_Linux + 140)
-#define __NR_getdents			(__NR_Linux + 141)
-#define __NR__newselect			(__NR_Linux + 142)
-#define __NR_flock			(__NR_Linux + 143)
-#define __NR_msync			(__NR_Linux + 144)
-#define __NR_readv			(__NR_Linux + 145)
-#define __NR_writev			(__NR_Linux + 146)
-#define __NR_cacheflush			(__NR_Linux + 147)
-#define __NR_cachectl			(__NR_Linux + 148)
-#define __NR_sysmips			(__NR_Linux + 149)
-#define __NR_unused150			(__NR_Linux + 150)
-#define __NR_getsid			(__NR_Linux + 151)
-#define __NR_fdatasync			(__NR_Linux + 152)
-#define __NR__sysctl			(__NR_Linux + 153)
-#define __NR_mlock			(__NR_Linux + 154)
-#define __NR_munlock			(__NR_Linux + 155)
-#define __NR_mlockall			(__NR_Linux + 156)
-#define __NR_munlockall			(__NR_Linux + 157)
-#define __NR_sched_setparam		(__NR_Linux + 158)
-#define __NR_sched_getparam		(__NR_Linux + 159)
-#define __NR_sched_setscheduler		(__NR_Linux + 160)
-#define __NR_sched_getscheduler		(__NR_Linux + 161)
-#define __NR_sched_yield		(__NR_Linux + 162)
-#define __NR_sched_get_priority_max	(__NR_Linux + 163)
-#define __NR_sched_get_priority_min	(__NR_Linux + 164)
-#define __NR_sched_rr_get_interval	(__NR_Linux + 165)
-#define __NR_nanosleep			(__NR_Linux + 166)
-#define __NR_mremap			(__NR_Linux + 167)
-#define __NR_accept			(__NR_Linux + 168)
-#define __NR_bind			(__NR_Linux + 169)
-#define __NR_connect			(__NR_Linux + 170)
-#define __NR_getpeername		(__NR_Linux + 171)
-#define __NR_getsockname		(__NR_Linux + 172)
-#define __NR_getsockopt			(__NR_Linux + 173)
-#define __NR_listen			(__NR_Linux + 174)
-#define __NR_recv			(__NR_Linux + 175)
-#define __NR_recvfrom			(__NR_Linux + 176)
-#define __NR_recvmsg			(__NR_Linux + 177)
-#define __NR_send			(__NR_Linux + 178)
-#define __NR_sendmsg			(__NR_Linux + 179)
-#define __NR_sendto			(__NR_Linux + 180)
-#define __NR_setsockopt			(__NR_Linux + 181)
-#define __NR_shutdown			(__NR_Linux + 182)
-#define __NR_socket			(__NR_Linux + 183)
-#define __NR_socketpair			(__NR_Linux + 184)
-#define __NR_setresuid			(__NR_Linux + 185)
-#define __NR_getresuid			(__NR_Linux + 186)
-#define __NR_query_module		(__NR_Linux + 187)
-#define __NR_poll			(__NR_Linux + 188)
-#define __NR_nfsservctl			(__NR_Linux + 189)
-#define __NR_setresgid			(__NR_Linux + 190)
-#define __NR_getresgid			(__NR_Linux + 191)
-#define __NR_prctl			(__NR_Linux + 192)
-#define __NR_rt_sigreturn		(__NR_Linux + 193)
-#define __NR_rt_sigaction		(__NR_Linux + 194)
-#define __NR_rt_sigprocmask		(__NR_Linux + 195)
-#define __NR_rt_sigpending		(__NR_Linux + 196)
-#define __NR_rt_sigtimedwait		(__NR_Linux + 197)
-#define __NR_rt_sigqueueinfo		(__NR_Linux + 198)
-#define __NR_rt_sigsuspend		(__NR_Linux + 199)
-#define __NR_pread64			(__NR_Linux + 200)
-#define __NR_pwrite64			(__NR_Linux + 201)
-#define __NR_chown			(__NR_Linux + 202)
-#define __NR_getcwd			(__NR_Linux + 203)
-#define __NR_capget			(__NR_Linux + 204)
-#define __NR_capset			(__NR_Linux + 205)
-#define __NR_sigaltstack		(__NR_Linux + 206)
-#define __NR_sendfile			(__NR_Linux + 207)
-#define __NR_getpmsg			(__NR_Linux + 208)
-#define __NR_putpmsg			(__NR_Linux + 209)
-#define __NR_mmap2			(__NR_Linux + 210)
-#define __NR_truncate64			(__NR_Linux + 211)
-#define __NR_ftruncate64		(__NR_Linux + 212)
-#define __NR_stat64			(__NR_Linux + 213)
-#define __NR_lstat64			(__NR_Linux + 214)
-#define __NR_fstat64			(__NR_Linux + 215)
-#define __NR_pivot_root			(__NR_Linux + 216)
-#define __NR_mincore			(__NR_Linux + 217)
-#define __NR_madvise			(__NR_Linux + 218)
-#define __NR_getdents64			(__NR_Linux + 219)
-#define __NR_fcntl64			(__NR_Linux + 220)
-#define __NR_reserved221		(__NR_Linux + 221)
-#define __NR_gettid			(__NR_Linux + 222)
-#define __NR_readahead			(__NR_Linux + 223)
-#define __NR_setxattr			(__NR_Linux + 224)
-#define __NR_lsetxattr			(__NR_Linux + 225)
-#define __NR_fsetxattr			(__NR_Linux + 226)
-#define __NR_getxattr			(__NR_Linux + 227)
-#define __NR_lgetxattr			(__NR_Linux + 228)
-#define __NR_fgetxattr			(__NR_Linux + 229)
-#define __NR_listxattr			(__NR_Linux + 230)
-#define __NR_llistxattr			(__NR_Linux + 231)
-#define __NR_flistxattr			(__NR_Linux + 232)
-#define __NR_removexattr		(__NR_Linux + 233)
-#define __NR_lremovexattr		(__NR_Linux + 234)
-#define __NR_fremovexattr		(__NR_Linux + 235)
-#define __NR_tkill			(__NR_Linux + 236)
-#define __NR_sendfile64			(__NR_Linux + 237)
-#define __NR_futex			(__NR_Linux + 238)
-#define __NR_sched_setaffinity		(__NR_Linux + 239)
-#define __NR_sched_getaffinity		(__NR_Linux + 240)
-#define __NR_io_setup			(__NR_Linux + 241)
-#define __NR_io_destroy			(__NR_Linux + 242)
-#define __NR_io_getevents		(__NR_Linux + 243)
-#define __NR_io_submit			(__NR_Linux + 244)
-#define __NR_io_cancel			(__NR_Linux + 245)
-#define __NR_exit_group			(__NR_Linux + 246)
-#define __NR_lookup_dcookie		(__NR_Linux + 247)
-#define __NR_epoll_create		(__NR_Linux + 248)
-#define __NR_epoll_ctl			(__NR_Linux + 249)
-#define __NR_epoll_wait			(__NR_Linux + 250)
-#define __NR_remap_file_pages		(__NR_Linux + 251)
-#define __NR_set_tid_address		(__NR_Linux + 252)
-#define __NR_restart_syscall		(__NR_Linux + 253)
-#define __NR_fadvise64			(__NR_Linux + 254)
-#define __NR_statfs64			(__NR_Linux + 255)
-#define __NR_fstatfs64			(__NR_Linux + 256)
-#define __NR_timer_create		(__NR_Linux + 257)
-#define __NR_timer_settime		(__NR_Linux + 258)
-#define __NR_timer_gettime		(__NR_Linux + 259)
-#define __NR_timer_getoverrun		(__NR_Linux + 260)
-#define __NR_timer_delete		(__NR_Linux + 261)
-#define __NR_clock_settime		(__NR_Linux + 262)
-#define __NR_clock_gettime		(__NR_Linux + 263)
-#define __NR_clock_getres		(__NR_Linux + 264)
-#define __NR_clock_nanosleep		(__NR_Linux + 265)
-#define __NR_tgkill			(__NR_Linux + 266)
-#define __NR_utimes			(__NR_Linux + 267)
-#define __NR_mbind			(__NR_Linux + 268)
-#define __NR_get_mempolicy		(__NR_Linux + 269)
-#define __NR_set_mempolicy		(__NR_Linux + 270)
-#define __NR_mq_open			(__NR_Linux + 271)
-#define __NR_mq_unlink			(__NR_Linux + 272)
-#define __NR_mq_timedsend		(__NR_Linux + 273)
-#define __NR_mq_timedreceive		(__NR_Linux + 274)
-#define __NR_mq_notify			(__NR_Linux + 275)
-#define __NR_mq_getsetattr		(__NR_Linux + 276)
-#define __NR_vserver			(__NR_Linux + 277)
-#define __NR_waitid			(__NR_Linux + 278)
-/* #define __NR_sys_setaltroot		(__NR_Linux + 279) */
-#define __NR_add_key			(__NR_Linux + 280)
-#define __NR_request_key		(__NR_Linux + 281)
-#define __NR_keyctl			(__NR_Linux + 282)
-#define __NR_set_thread_area		(__NR_Linux + 283)
-#define __NR_inotify_init		(__NR_Linux + 284)
-#define __NR_inotify_add_watch		(__NR_Linux + 285)
-#define __NR_inotify_rm_watch		(__NR_Linux + 286)
-#define __NR_migrate_pages		(__NR_Linux + 287)
-#define __NR_openat			(__NR_Linux + 288)
-#define __NR_mkdirat			(__NR_Linux + 289)
-#define __NR_mknodat			(__NR_Linux + 290)
-#define __NR_fchownat			(__NR_Linux + 291)
-#define __NR_futimesat			(__NR_Linux + 292)
-#define __NR_fstatat64			(__NR_Linux + 293)
-#define __NR_unlinkat			(__NR_Linux + 294)
-#define __NR_renameat			(__NR_Linux + 295)
-#define __NR_linkat			(__NR_Linux + 296)
-#define __NR_symlinkat			(__NR_Linux + 297)
-#define __NR_readlinkat			(__NR_Linux + 298)
-#define __NR_fchmodat			(__NR_Linux + 299)
-#define __NR_faccessat			(__NR_Linux + 300)
-#define __NR_pselect6			(__NR_Linux + 301)
-#define __NR_ppoll			(__NR_Linux + 302)
-#define __NR_unshare			(__NR_Linux + 303)
-#define __NR_splice			(__NR_Linux + 304)
-#define __NR_sync_file_range		(__NR_Linux + 305)
-#define __NR_tee			(__NR_Linux + 306)
-#define __NR_vmsplice			(__NR_Linux + 307)
-#define __NR_move_pages			(__NR_Linux + 308)
-#define __NR_set_robust_list		(__NR_Linux + 309)
-#define __NR_get_robust_list		(__NR_Linux + 310)
-#define __NR_kexec_load			(__NR_Linux + 311)
-#define __NR_getcpu			(__NR_Linux + 312)
-#define __NR_epoll_pwait		(__NR_Linux + 313)
-#define __NR_ioprio_set			(__NR_Linux + 314)
-#define __NR_ioprio_get			(__NR_Linux + 315)
-#define __NR_utimensat			(__NR_Linux + 316)
-#define __NR_signalfd			(__NR_Linux + 317)
-#define __NR_timerfd			(__NR_Linux + 318)
-#define __NR_eventfd			(__NR_Linux + 319)
-#define __NR_fallocate			(__NR_Linux + 320)
-#define __NR_timerfd_create		(__NR_Linux + 321)
-#define __NR_timerfd_gettime		(__NR_Linux + 322)
-#define __NR_timerfd_settime		(__NR_Linux + 323)
-#define __NR_signalfd4			(__NR_Linux + 324)
-#define __NR_eventfd2			(__NR_Linux + 325)
-#define __NR_epoll_create1		(__NR_Linux + 326)
-#define __NR_dup3			(__NR_Linux + 327)
-#define __NR_pipe2			(__NR_Linux + 328)
-#define __NR_inotify_init1		(__NR_Linux + 329)
-#define __NR_preadv			(__NR_Linux + 330)
-#define __NR_pwritev			(__NR_Linux + 331)
-#define __NR_rt_tgsigqueueinfo		(__NR_Linux + 332)
-#define __NR_perf_event_open		(__NR_Linux + 333)
-#define __NR_accept4			(__NR_Linux + 334)
-#define __NR_recvmmsg			(__NR_Linux + 335)
-#define __NR_fanotify_init		(__NR_Linux + 336)
-#define __NR_fanotify_mark		(__NR_Linux + 337)
-#define __NR_prlimit64			(__NR_Linux + 338)
-#define __NR_name_to_handle_at		(__NR_Linux + 339)
-#define __NR_open_by_handle_at		(__NR_Linux + 340)
-#define __NR_clock_adjtime		(__NR_Linux + 341)
-#define __NR_syncfs			(__NR_Linux + 342)
-#define __NR_sendmmsg			(__NR_Linux + 343)
-#define __NR_setns			(__NR_Linux + 344)
-#define __NR_process_vm_readv		(__NR_Linux + 345)
-#define __NR_process_vm_writev		(__NR_Linux + 346)
-#define __NR_kcmp			(__NR_Linux + 347)
-#define __NR_finit_module		(__NR_Linux + 348)
-#define __NR_sched_setattr		(__NR_Linux + 349)
-#define __NR_sched_getattr		(__NR_Linux + 350)
-#define __NR_renameat2			(__NR_Linux + 351)
-#define __NR_seccomp			(__NR_Linux + 352)
-#define __NR_getrandom			(__NR_Linux + 353)
-#define __NR_memfd_create		(__NR_Linux + 354)
-#define __NR_bpf			(__NR_Linux + 355)
-#define __NR_execveat			(__NR_Linux + 356)
-#define __NR_userfaultfd		(__NR_Linux + 357)
-#define __NR_membarrier			(__NR_Linux + 358)
-#define __NR_mlock2			(__NR_Linux + 359)
-#define __NR_copy_file_range		(__NR_Linux + 360)
-#define __NR_preadv2			(__NR_Linux + 361)
-#define __NR_pwritev2			(__NR_Linux + 362)
-#define __NR_pkey_mprotect		(__NR_Linux + 363)
-#define __NR_pkey_alloc			(__NR_Linux + 364)
-#define __NR_pkey_free			(__NR_Linux + 365)
-#define __NR_statx			(__NR_Linux + 366)
-#define __NR_rseq			(__NR_Linux + 367)
-#define __NR_io_pgetevents		(__NR_Linux + 368)
-
-
-/*
- * Offset of the last Linux o32 flavoured syscall
- */
-#define __NR_Linux_syscalls		368
-
-#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
-
-#define __NR_O32_Linux			4000
-#define __NR_O32_Linux_syscalls		368
-
-#if _MIPS_SIM == _MIPS_SIM_ABI64
-
-/*
- * Linux 64-bit syscalls are in the range from 5000 to 5999.
- */
-#define __NR_Linux			5000
-#define __NR_read			(__NR_Linux +	0)
-#define __NR_write			(__NR_Linux +	1)
-#define __NR_open			(__NR_Linux +	2)
-#define __NR_close			(__NR_Linux +	3)
-#define __NR_stat			(__NR_Linux +	4)
-#define __NR_fstat			(__NR_Linux +	5)
-#define __NR_lstat			(__NR_Linux +	6)
-#define __NR_poll			(__NR_Linux +	7)
-#define __NR_lseek			(__NR_Linux +	8)
-#define __NR_mmap			(__NR_Linux +	9)
-#define __NR_mprotect			(__NR_Linux +  10)
-#define __NR_munmap			(__NR_Linux +  11)
-#define __NR_brk			(__NR_Linux +  12)
-#define __NR_rt_sigaction		(__NR_Linux +  13)
-#define __NR_rt_sigprocmask		(__NR_Linux +  14)
-#define __NR_ioctl			(__NR_Linux +  15)
-#define __NR_pread64			(__NR_Linux +  16)
-#define __NR_pwrite64			(__NR_Linux +  17)
-#define __NR_readv			(__NR_Linux +  18)
-#define __NR_writev			(__NR_Linux +  19)
-#define __NR_access			(__NR_Linux +  20)
-#define __NR_pipe			(__NR_Linux +  21)
-#define __NR__newselect			(__NR_Linux +  22)
-#define __NR_sched_yield		(__NR_Linux +  23)
-#define __NR_mremap			(__NR_Linux +  24)
-#define __NR_msync			(__NR_Linux +  25)
-#define __NR_mincore			(__NR_Linux +  26)
-#define __NR_madvise			(__NR_Linux +  27)
-#define __NR_shmget			(__NR_Linux +  28)
-#define __NR_shmat			(__NR_Linux +  29)
-#define __NR_shmctl			(__NR_Linux +  30)
-#define __NR_dup			(__NR_Linux +  31)
-#define __NR_dup2			(__NR_Linux +  32)
-#define __NR_pause			(__NR_Linux +  33)
-#define __NR_nanosleep			(__NR_Linux +  34)
-#define __NR_getitimer			(__NR_Linux +  35)
-#define __NR_setitimer			(__NR_Linux +  36)
-#define __NR_alarm			(__NR_Linux +  37)
-#define __NR_getpid			(__NR_Linux +  38)
-#define __NR_sendfile			(__NR_Linux +  39)
-#define __NR_socket			(__NR_Linux +  40)
-#define __NR_connect			(__NR_Linux +  41)
-#define __NR_accept			(__NR_Linux +  42)
-#define __NR_sendto			(__NR_Linux +  43)
-#define __NR_recvfrom			(__NR_Linux +  44)
-#define __NR_sendmsg			(__NR_Linux +  45)
-#define __NR_recvmsg			(__NR_Linux +  46)
-#define __NR_shutdown			(__NR_Linux +  47)
-#define __NR_bind			(__NR_Linux +  48)
-#define __NR_listen			(__NR_Linux +  49)
-#define __NR_getsockname		(__NR_Linux +  50)
-#define __NR_getpeername		(__NR_Linux +  51)
-#define __NR_socketpair			(__NR_Linux +  52)
-#define __NR_setsockopt			(__NR_Linux +  53)
-#define __NR_getsockopt			(__NR_Linux +  54)
-#define __NR_clone			(__NR_Linux +  55)
-#define __NR_fork			(__NR_Linux +  56)
-#define __NR_execve			(__NR_Linux +  57)
-#define __NR_exit			(__NR_Linux +  58)
-#define __NR_wait4			(__NR_Linux +  59)
-#define __NR_kill			(__NR_Linux +  60)
-#define __NR_uname			(__NR_Linux +  61)
-#define __NR_semget			(__NR_Linux +  62)
-#define __NR_semop			(__NR_Linux +  63)
-#define __NR_semctl			(__NR_Linux +  64)
-#define __NR_shmdt			(__NR_Linux +  65)
-#define __NR_msgget			(__NR_Linux +  66)
-#define __NR_msgsnd			(__NR_Linux +  67)
-#define __NR_msgrcv			(__NR_Linux +  68)
-#define __NR_msgctl			(__NR_Linux +  69)
-#define __NR_fcntl			(__NR_Linux +  70)
-#define __NR_flock			(__NR_Linux +  71)
-#define __NR_fsync			(__NR_Linux +  72)
-#define __NR_fdatasync			(__NR_Linux +  73)
-#define __NR_truncate			(__NR_Linux +  74)
-#define __NR_ftruncate			(__NR_Linux +  75)
-#define __NR_getdents			(__NR_Linux +  76)
-#define __NR_getcwd			(__NR_Linux +  77)
-#define __NR_chdir			(__NR_Linux +  78)
-#define __NR_fchdir			(__NR_Linux +  79)
-#define __NR_rename			(__NR_Linux +  80)
-#define __NR_mkdir			(__NR_Linux +  81)
-#define __NR_rmdir			(__NR_Linux +  82)
-#define __NR_creat			(__NR_Linux +  83)
-#define __NR_link			(__NR_Linux +  84)
-#define __NR_unlink			(__NR_Linux +  85)
-#define __NR_symlink			(__NR_Linux +  86)
-#define __NR_readlink			(__NR_Linux +  87)
-#define __NR_chmod			(__NR_Linux +  88)
-#define __NR_fchmod			(__NR_Linux +  89)
-#define __NR_chown			(__NR_Linux +  90)
-#define __NR_fchown			(__NR_Linux +  91)
-#define __NR_lchown			(__NR_Linux +  92)
-#define __NR_umask			(__NR_Linux +  93)
-#define __NR_gettimeofday		(__NR_Linux +  94)
-#define __NR_getrlimit			(__NR_Linux +  95)
-#define __NR_getrusage			(__NR_Linux +  96)
-#define __NR_sysinfo			(__NR_Linux +  97)
-#define __NR_times			(__NR_Linux +  98)
-#define __NR_ptrace			(__NR_Linux +  99)
-#define __NR_getuid			(__NR_Linux + 100)
-#define __NR_syslog			(__NR_Linux + 101)
-#define __NR_getgid			(__NR_Linux + 102)
-#define __NR_setuid			(__NR_Linux + 103)
-#define __NR_setgid			(__NR_Linux + 104)
-#define __NR_geteuid			(__NR_Linux + 105)
-#define __NR_getegid			(__NR_Linux + 106)
-#define __NR_setpgid			(__NR_Linux + 107)
-#define __NR_getppid			(__NR_Linux + 108)
-#define __NR_getpgrp			(__NR_Linux + 109)
-#define __NR_setsid			(__NR_Linux + 110)
-#define __NR_setreuid			(__NR_Linux + 111)
-#define __NR_setregid			(__NR_Linux + 112)
-#define __NR_getgroups			(__NR_Linux + 113)
-#define __NR_setgroups			(__NR_Linux + 114)
-#define __NR_setresuid			(__NR_Linux + 115)
-#define __NR_getresuid			(__NR_Linux + 116)
-#define __NR_setresgid			(__NR_Linux + 117)
-#define __NR_getresgid			(__NR_Linux + 118)
-#define __NR_getpgid			(__NR_Linux + 119)
-#define __NR_setfsuid			(__NR_Linux + 120)
-#define __NR_setfsgid			(__NR_Linux + 121)
-#define __NR_getsid			(__NR_Linux + 122)
-#define __NR_capget			(__NR_Linux + 123)
-#define __NR_capset			(__NR_Linux + 124)
-#define __NR_rt_sigpending		(__NR_Linux + 125)
-#define __NR_rt_sigtimedwait		(__NR_Linux + 126)
-#define __NR_rt_sigqueueinfo		(__NR_Linux + 127)
-#define __NR_rt_sigsuspend		(__NR_Linux + 128)
-#define __NR_sigaltstack		(__NR_Linux + 129)
-#define __NR_utime			(__NR_Linux + 130)
-#define __NR_mknod			(__NR_Linux + 131)
-#define __NR_personality		(__NR_Linux + 132)
-#define __NR_ustat			(__NR_Linux + 133)
-#define __NR_statfs			(__NR_Linux + 134)
-#define __NR_fstatfs			(__NR_Linux + 135)
-#define __NR_sysfs			(__NR_Linux + 136)
-#define __NR_getpriority		(__NR_Linux + 137)
-#define __NR_setpriority		(__NR_Linux + 138)
-#define __NR_sched_setparam		(__NR_Linux + 139)
-#define __NR_sched_getparam		(__NR_Linux + 140)
-#define __NR_sched_setscheduler		(__NR_Linux + 141)
-#define __NR_sched_getscheduler		(__NR_Linux + 142)
-#define __NR_sched_get_priority_max	(__NR_Linux + 143)
-#define __NR_sched_get_priority_min	(__NR_Linux + 144)
-#define __NR_sched_rr_get_interval	(__NR_Linux + 145)
-#define __NR_mlock			(__NR_Linux + 146)
-#define __NR_munlock			(__NR_Linux + 147)
-#define __NR_mlockall			(__NR_Linux + 148)
-#define __NR_munlockall			(__NR_Linux + 149)
-#define __NR_vhangup			(__NR_Linux + 150)
-#define __NR_pivot_root			(__NR_Linux + 151)
-#define __NR__sysctl			(__NR_Linux + 152)
-#define __NR_prctl			(__NR_Linux + 153)
-#define __NR_adjtimex			(__NR_Linux + 154)
-#define __NR_setrlimit			(__NR_Linux + 155)
-#define __NR_chroot			(__NR_Linux + 156)
-#define __NR_sync			(__NR_Linux + 157)
-#define __NR_acct			(__NR_Linux + 158)
-#define __NR_settimeofday		(__NR_Linux + 159)
-#define __NR_mount			(__NR_Linux + 160)
-#define __NR_umount2			(__NR_Linux + 161)
-#define __NR_swapon			(__NR_Linux + 162)
-#define __NR_swapoff			(__NR_Linux + 163)
-#define __NR_reboot			(__NR_Linux + 164)
-#define __NR_sethostname		(__NR_Linux + 165)
-#define __NR_setdomainname		(__NR_Linux + 166)
-#define __NR_create_module		(__NR_Linux + 167)
-#define __NR_init_module		(__NR_Linux + 168)
-#define __NR_delete_module		(__NR_Linux + 169)
-#define __NR_get_kernel_syms		(__NR_Linux + 170)
-#define __NR_query_module		(__NR_Linux + 171)
-#define __NR_quotactl			(__NR_Linux + 172)
-#define __NR_nfsservctl			(__NR_Linux + 173)
-#define __NR_getpmsg			(__NR_Linux + 174)
-#define __NR_putpmsg			(__NR_Linux + 175)
-#define __NR_afs_syscall		(__NR_Linux + 176)
-#define __NR_reserved177		(__NR_Linux + 177)
-#define __NR_gettid			(__NR_Linux + 178)
-#define __NR_readahead			(__NR_Linux + 179)
-#define __NR_setxattr			(__NR_Linux + 180)
-#define __NR_lsetxattr			(__NR_Linux + 181)
-#define __NR_fsetxattr			(__NR_Linux + 182)
-#define __NR_getxattr			(__NR_Linux + 183)
-#define __NR_lgetxattr			(__NR_Linux + 184)
-#define __NR_fgetxattr			(__NR_Linux + 185)
-#define __NR_listxattr			(__NR_Linux + 186)
-#define __NR_llistxattr			(__NR_Linux + 187)
-#define __NR_flistxattr			(__NR_Linux + 188)
-#define __NR_removexattr		(__NR_Linux + 189)
-#define __NR_lremovexattr		(__NR_Linux + 190)
-#define __NR_fremovexattr		(__NR_Linux + 191)
-#define __NR_tkill			(__NR_Linux + 192)
-#define __NR_reserved193		(__NR_Linux + 193)
-#define __NR_futex			(__NR_Linux + 194)
-#define __NR_sched_setaffinity		(__NR_Linux + 195)
-#define __NR_sched_getaffinity		(__NR_Linux + 196)
-#define __NR_cacheflush			(__NR_Linux + 197)
-#define __NR_cachectl			(__NR_Linux + 198)
-#define __NR_sysmips			(__NR_Linux + 199)
-#define __NR_io_setup			(__NR_Linux + 200)
-#define __NR_io_destroy			(__NR_Linux + 201)
-#define __NR_io_getevents		(__NR_Linux + 202)
-#define __NR_io_submit			(__NR_Linux + 203)
-#define __NR_io_cancel			(__NR_Linux + 204)
-#define __NR_exit_group			(__NR_Linux + 205)
-#define __NR_lookup_dcookie		(__NR_Linux + 206)
-#define __NR_epoll_create		(__NR_Linux + 207)
-#define __NR_epoll_ctl			(__NR_Linux + 208)
-#define __NR_epoll_wait			(__NR_Linux + 209)
-#define __NR_remap_file_pages		(__NR_Linux + 210)
-#define __NR_rt_sigreturn		(__NR_Linux + 211)
-#define __NR_set_tid_address		(__NR_Linux + 212)
-#define __NR_restart_syscall		(__NR_Linux + 213)
-#define __NR_semtimedop			(__NR_Linux + 214)
-#define __NR_fadvise64			(__NR_Linux + 215)
-#define __NR_timer_create		(__NR_Linux + 216)
-#define __NR_timer_settime		(__NR_Linux + 217)
-#define __NR_timer_gettime		(__NR_Linux + 218)
-#define __NR_timer_getoverrun		(__NR_Linux + 219)
-#define __NR_timer_delete		(__NR_Linux + 220)
-#define __NR_clock_settime		(__NR_Linux + 221)
-#define __NR_clock_gettime		(__NR_Linux + 222)
-#define __NR_clock_getres		(__NR_Linux + 223)
-#define __NR_clock_nanosleep		(__NR_Linux + 224)
-#define __NR_tgkill			(__NR_Linux + 225)
-#define __NR_utimes			(__NR_Linux + 226)
-#define __NR_mbind			(__NR_Linux + 227)
-#define __NR_get_mempolicy		(__NR_Linux + 228)
-#define __NR_set_mempolicy		(__NR_Linux + 229)
-#define __NR_mq_open			(__NR_Linux + 230)
-#define __NR_mq_unlink			(__NR_Linux + 231)
-#define __NR_mq_timedsend		(__NR_Linux + 232)
-#define __NR_mq_timedreceive		(__NR_Linux + 233)
-#define __NR_mq_notify			(__NR_Linux + 234)
-#define __NR_mq_getsetattr		(__NR_Linux + 235)
-#define __NR_vserver			(__NR_Linux + 236)
-#define __NR_waitid			(__NR_Linux + 237)
-/* #define __NR_sys_setaltroot		(__NR_Linux + 238) */
-#define __NR_add_key			(__NR_Linux + 239)
-#define __NR_request_key		(__NR_Linux + 240)
-#define __NR_keyctl			(__NR_Linux + 241)
-#define __NR_set_thread_area		(__NR_Linux + 242)
-#define __NR_inotify_init		(__NR_Linux + 243)
-#define __NR_inotify_add_watch		(__NR_Linux + 244)
-#define __NR_inotify_rm_watch		(__NR_Linux + 245)
-#define __NR_migrate_pages		(__NR_Linux + 246)
-#define __NR_openat			(__NR_Linux + 247)
-#define __NR_mkdirat			(__NR_Linux + 248)
-#define __NR_mknodat			(__NR_Linux + 249)
-#define __NR_fchownat			(__NR_Linux + 250)
-#define __NR_futimesat			(__NR_Linux + 251)
-#define __NR_newfstatat			(__NR_Linux + 252)
-#define __NR_unlinkat			(__NR_Linux + 253)
-#define __NR_renameat			(__NR_Linux + 254)
-#define __NR_linkat			(__NR_Linux + 255)
-#define __NR_symlinkat			(__NR_Linux + 256)
-#define __NR_readlinkat			(__NR_Linux + 257)
-#define __NR_fchmodat			(__NR_Linux + 258)
-#define __NR_faccessat			(__NR_Linux + 259)
-#define __NR_pselect6			(__NR_Linux + 260)
-#define __NR_ppoll			(__NR_Linux + 261)
-#define __NR_unshare			(__NR_Linux + 262)
-#define __NR_splice			(__NR_Linux + 263)
-#define __NR_sync_file_range		(__NR_Linux + 264)
-#define __NR_tee			(__NR_Linux + 265)
-#define __NR_vmsplice			(__NR_Linux + 266)
-#define __NR_move_pages			(__NR_Linux + 267)
-#define __NR_set_robust_list		(__NR_Linux + 268)
-#define __NR_get_robust_list		(__NR_Linux + 269)
-#define __NR_kexec_load			(__NR_Linux + 270)
-#define __NR_getcpu			(__NR_Linux + 271)
-#define __NR_epoll_pwait		(__NR_Linux + 272)
-#define __NR_ioprio_set			(__NR_Linux + 273)
-#define __NR_ioprio_get			(__NR_Linux + 274)
-#define __NR_utimensat			(__NR_Linux + 275)
-#define __NR_signalfd			(__NR_Linux + 276)
-#define __NR_timerfd			(__NR_Linux + 277)
-#define __NR_eventfd			(__NR_Linux + 278)
-#define __NR_fallocate			(__NR_Linux + 279)
-#define __NR_timerfd_create		(__NR_Linux + 280)
-#define __NR_timerfd_gettime		(__NR_Linux + 281)
-#define __NR_timerfd_settime		(__NR_Linux + 282)
-#define __NR_signalfd4			(__NR_Linux + 283)
-#define __NR_eventfd2			(__NR_Linux + 284)
-#define __NR_epoll_create1		(__NR_Linux + 285)
-#define __NR_dup3			(__NR_Linux + 286)
-#define __NR_pipe2			(__NR_Linux + 287)
-#define __NR_inotify_init1		(__NR_Linux + 288)
-#define __NR_preadv			(__NR_Linux + 289)
-#define __NR_pwritev			(__NR_Linux + 290)
-#define __NR_rt_tgsigqueueinfo		(__NR_Linux + 291)
-#define __NR_perf_event_open		(__NR_Linux + 292)
-#define __NR_accept4			(__NR_Linux + 293)
-#define __NR_recvmmsg			(__NR_Linux + 294)
-#define __NR_fanotify_init		(__NR_Linux + 295)
-#define __NR_fanotify_mark		(__NR_Linux + 296)
-#define __NR_prlimit64			(__NR_Linux + 297)
-#define __NR_name_to_handle_at		(__NR_Linux + 298)
-#define __NR_open_by_handle_at		(__NR_Linux + 299)
-#define __NR_clock_adjtime		(__NR_Linux + 300)
-#define __NR_syncfs			(__NR_Linux + 301)
-#define __NR_sendmmsg			(__NR_Linux + 302)
-#define __NR_setns			(__NR_Linux + 303)
-#define __NR_process_vm_readv		(__NR_Linux + 304)
-#define __NR_process_vm_writev		(__NR_Linux + 305)
-#define __NR_kcmp			(__NR_Linux + 306)
-#define __NR_finit_module		(__NR_Linux + 307)
-#define __NR_getdents64			(__NR_Linux + 308)
-#define __NR_sched_setattr		(__NR_Linux + 309)
-#define __NR_sched_getattr		(__NR_Linux + 310)
-#define __NR_renameat2			(__NR_Linux + 311)
-#define __NR_seccomp			(__NR_Linux + 312)
-#define __NR_getrandom			(__NR_Linux + 313)
-#define __NR_memfd_create		(__NR_Linux + 314)
-#define __NR_bpf			(__NR_Linux + 315)
-#define __NR_execveat			(__NR_Linux + 316)
-#define __NR_userfaultfd		(__NR_Linux + 317)
-#define __NR_membarrier			(__NR_Linux + 318)
-#define __NR_mlock2			(__NR_Linux + 319)
-#define __NR_copy_file_range		(__NR_Linux + 320)
-#define __NR_preadv2			(__NR_Linux + 321)
-#define __NR_pwritev2			(__NR_Linux + 322)
-#define __NR_pkey_mprotect		(__NR_Linux + 323)
-#define __NR_pkey_alloc			(__NR_Linux + 324)
-#define __NR_pkey_free			(__NR_Linux + 325)
-#define __NR_statx			(__NR_Linux + 326)
-#define __NR_rseq			(__NR_Linux + 327)
-#define __NR_io_pgetevents		(__NR_Linux + 328)
-
-/*
- * Offset of the last Linux 64-bit flavoured syscall
- */
-#define __NR_Linux_syscalls		328
-
-#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
-
-#define __NR_64_Linux			5000
-#define __NR_64_Linux_syscalls		328
-
-#if _MIPS_SIM == _MIPS_SIM_NABI32
-
-/*
- * Linux N32 syscalls are in the range from 6000 to 6999.
- */
-#define __NR_Linux			6000
-#define __NR_read			(__NR_Linux +	0)
-#define __NR_write			(__NR_Linux +	1)
-#define __NR_open			(__NR_Linux +	2)
-#define __NR_close			(__NR_Linux +	3)
-#define __NR_stat			(__NR_Linux +	4)
-#define __NR_fstat			(__NR_Linux +	5)
-#define __NR_lstat			(__NR_Linux +	6)
-#define __NR_poll			(__NR_Linux +	7)
-#define __NR_lseek			(__NR_Linux +	8)
-#define __NR_mmap			(__NR_Linux +	9)
-#define __NR_mprotect			(__NR_Linux +  10)
-#define __NR_munmap			(__NR_Linux +  11)
-#define __NR_brk			(__NR_Linux +  12)
-#define __NR_rt_sigaction		(__NR_Linux +  13)
-#define __NR_rt_sigprocmask		(__NR_Linux +  14)
-#define __NR_ioctl			(__NR_Linux +  15)
-#define __NR_pread64			(__NR_Linux +  16)
-#define __NR_pwrite64			(__NR_Linux +  17)
-#define __NR_readv			(__NR_Linux +  18)
-#define __NR_writev			(__NR_Linux +  19)
-#define __NR_access			(__NR_Linux +  20)
-#define __NR_pipe			(__NR_Linux +  21)
-#define __NR__newselect			(__NR_Linux +  22)
-#define __NR_sched_yield		(__NR_Linux +  23)
-#define __NR_mremap			(__NR_Linux +  24)
-#define __NR_msync			(__NR_Linux +  25)
-#define __NR_mincore			(__NR_Linux +  26)
-#define __NR_madvise			(__NR_Linux +  27)
-#define __NR_shmget			(__NR_Linux +  28)
-#define __NR_shmat			(__NR_Linux +  29)
-#define __NR_shmctl			(__NR_Linux +  30)
-#define __NR_dup			(__NR_Linux +  31)
-#define __NR_dup2			(__NR_Linux +  32)
-#define __NR_pause			(__NR_Linux +  33)
-#define __NR_nanosleep			(__NR_Linux +  34)
-#define __NR_getitimer			(__NR_Linux +  35)
-#define __NR_setitimer			(__NR_Linux +  36)
-#define __NR_alarm			(__NR_Linux +  37)
-#define __NR_getpid			(__NR_Linux +  38)
-#define __NR_sendfile			(__NR_Linux +  39)
-#define __NR_socket			(__NR_Linux +  40)
-#define __NR_connect			(__NR_Linux +  41)
-#define __NR_accept			(__NR_Linux +  42)
-#define __NR_sendto			(__NR_Linux +  43)
-#define __NR_recvfrom			(__NR_Linux +  44)
-#define __NR_sendmsg			(__NR_Linux +  45)
-#define __NR_recvmsg			(__NR_Linux +  46)
-#define __NR_shutdown			(__NR_Linux +  47)
-#define __NR_bind			(__NR_Linux +  48)
-#define __NR_listen			(__NR_Linux +  49)
-#define __NR_getsockname		(__NR_Linux +  50)
-#define __NR_getpeername		(__NR_Linux +  51)
-#define __NR_socketpair			(__NR_Linux +  52)
-#define __NR_setsockopt			(__NR_Linux +  53)
-#define __NR_getsockopt			(__NR_Linux +  54)
-#define __NR_clone			(__NR_Linux +  55)
-#define __NR_fork			(__NR_Linux +  56)
-#define __NR_execve			(__NR_Linux +  57)
-#define __NR_exit			(__NR_Linux +  58)
-#define __NR_wait4			(__NR_Linux +  59)
-#define __NR_kill			(__NR_Linux +  60)
-#define __NR_uname			(__NR_Linux +  61)
-#define __NR_semget			(__NR_Linux +  62)
-#define __NR_semop			(__NR_Linux +  63)
-#define __NR_semctl			(__NR_Linux +  64)
-#define __NR_shmdt			(__NR_Linux +  65)
-#define __NR_msgget			(__NR_Linux +  66)
-#define __NR_msgsnd			(__NR_Linux +  67)
-#define __NR_msgrcv			(__NR_Linux +  68)
-#define __NR_msgctl			(__NR_Linux +  69)
-#define __NR_fcntl			(__NR_Linux +  70)
-#define __NR_flock			(__NR_Linux +  71)
-#define __NR_fsync			(__NR_Linux +  72)
-#define __NR_fdatasync			(__NR_Linux +  73)
-#define __NR_truncate			(__NR_Linux +  74)
-#define __NR_ftruncate			(__NR_Linux +  75)
-#define __NR_getdents			(__NR_Linux +  76)
-#define __NR_getcwd			(__NR_Linux +  77)
-#define __NR_chdir			(__NR_Linux +  78)
-#define __NR_fchdir			(__NR_Linux +  79)
-#define __NR_rename			(__NR_Linux +  80)
-#define __NR_mkdir			(__NR_Linux +  81)
-#define __NR_rmdir			(__NR_Linux +  82)
-#define __NR_creat			(__NR_Linux +  83)
-#define __NR_link			(__NR_Linux +  84)
-#define __NR_unlink			(__NR_Linux +  85)
-#define __NR_symlink			(__NR_Linux +  86)
-#define __NR_readlink			(__NR_Linux +  87)
-#define __NR_chmod			(__NR_Linux +  88)
-#define __NR_fchmod			(__NR_Linux +  89)
-#define __NR_chown			(__NR_Linux +  90)
-#define __NR_fchown			(__NR_Linux +  91)
-#define __NR_lchown			(__NR_Linux +  92)
-#define __NR_umask			(__NR_Linux +  93)
-#define __NR_gettimeofday		(__NR_Linux +  94)
-#define __NR_getrlimit			(__NR_Linux +  95)
-#define __NR_getrusage			(__NR_Linux +  96)
-#define __NR_sysinfo			(__NR_Linux +  97)
-#define __NR_times			(__NR_Linux +  98)
-#define __NR_ptrace			(__NR_Linux +  99)
-#define __NR_getuid			(__NR_Linux + 100)
-#define __NR_syslog			(__NR_Linux + 101)
-#define __NR_getgid			(__NR_Linux + 102)
-#define __NR_setuid			(__NR_Linux + 103)
-#define __NR_setgid			(__NR_Linux + 104)
-#define __NR_geteuid			(__NR_Linux + 105)
-#define __NR_getegid			(__NR_Linux + 106)
-#define __NR_setpgid			(__NR_Linux + 107)
-#define __NR_getppid			(__NR_Linux + 108)
-#define __NR_getpgrp			(__NR_Linux + 109)
-#define __NR_setsid			(__NR_Linux + 110)
-#define __NR_setreuid			(__NR_Linux + 111)
-#define __NR_setregid			(__NR_Linux + 112)
-#define __NR_getgroups			(__NR_Linux + 113)
-#define __NR_setgroups			(__NR_Linux + 114)
-#define __NR_setresuid			(__NR_Linux + 115)
-#define __NR_getresuid			(__NR_Linux + 116)
-#define __NR_setresgid			(__NR_Linux + 117)
-#define __NR_getresgid			(__NR_Linux + 118)
-#define __NR_getpgid			(__NR_Linux + 119)
-#define __NR_setfsuid			(__NR_Linux + 120)
-#define __NR_setfsgid			(__NR_Linux + 121)
-#define __NR_getsid			(__NR_Linux + 122)
-#define __NR_capget			(__NR_Linux + 123)
-#define __NR_capset			(__NR_Linux + 124)
-#define __NR_rt_sigpending		(__NR_Linux + 125)
-#define __NR_rt_sigtimedwait		(__NR_Linux + 126)
-#define __NR_rt_sigqueueinfo		(__NR_Linux + 127)
-#define __NR_rt_sigsuspend		(__NR_Linux + 128)
-#define __NR_sigaltstack		(__NR_Linux + 129)
-#define __NR_utime			(__NR_Linux + 130)
-#define __NR_mknod			(__NR_Linux + 131)
-#define __NR_personality		(__NR_Linux + 132)
-#define __NR_ustat			(__NR_Linux + 133)
-#define __NR_statfs			(__NR_Linux + 134)
-#define __NR_fstatfs			(__NR_Linux + 135)
-#define __NR_sysfs			(__NR_Linux + 136)
-#define __NR_getpriority		(__NR_Linux + 137)
-#define __NR_setpriority		(__NR_Linux + 138)
-#define __NR_sched_setparam		(__NR_Linux + 139)
-#define __NR_sched_getparam		(__NR_Linux + 140)
-#define __NR_sched_setscheduler		(__NR_Linux + 141)
-#define __NR_sched_getscheduler		(__NR_Linux + 142)
-#define __NR_sched_get_priority_max	(__NR_Linux + 143)
-#define __NR_sched_get_priority_min	(__NR_Linux + 144)
-#define __NR_sched_rr_get_interval	(__NR_Linux + 145)
-#define __NR_mlock			(__NR_Linux + 146)
-#define __NR_munlock			(__NR_Linux + 147)
-#define __NR_mlockall			(__NR_Linux + 148)
-#define __NR_munlockall			(__NR_Linux + 149)
-#define __NR_vhangup			(__NR_Linux + 150)
-#define __NR_pivot_root			(__NR_Linux + 151)
-#define __NR__sysctl			(__NR_Linux + 152)
-#define __NR_prctl			(__NR_Linux + 153)
-#define __NR_adjtimex			(__NR_Linux + 154)
-#define __NR_setrlimit			(__NR_Linux + 155)
-#define __NR_chroot			(__NR_Linux + 156)
-#define __NR_sync			(__NR_Linux + 157)
-#define __NR_acct			(__NR_Linux + 158)
-#define __NR_settimeofday		(__NR_Linux + 159)
-#define __NR_mount			(__NR_Linux + 160)
-#define __NR_umount2			(__NR_Linux + 161)
-#define __NR_swapon			(__NR_Linux + 162)
-#define __NR_swapoff			(__NR_Linux + 163)
-#define __NR_reboot			(__NR_Linux + 164)
-#define __NR_sethostname		(__NR_Linux + 165)
-#define __NR_setdomainname		(__NR_Linux + 166)
-#define __NR_create_module		(__NR_Linux + 167)
-#define __NR_init_module		(__NR_Linux + 168)
-#define __NR_delete_module		(__NR_Linux + 169)
-#define __NR_get_kernel_syms		(__NR_Linux + 170)
-#define __NR_query_module		(__NR_Linux + 171)
-#define __NR_quotactl			(__NR_Linux + 172)
-#define __NR_nfsservctl			(__NR_Linux + 173)
-#define __NR_getpmsg			(__NR_Linux + 174)
-#define __NR_putpmsg			(__NR_Linux + 175)
-#define __NR_afs_syscall		(__NR_Linux + 176)
-#define __NR_reserved177		(__NR_Linux + 177)
-#define __NR_gettid			(__NR_Linux + 178)
-#define __NR_readahead			(__NR_Linux + 179)
-#define __NR_setxattr			(__NR_Linux + 180)
-#define __NR_lsetxattr			(__NR_Linux + 181)
-#define __NR_fsetxattr			(__NR_Linux + 182)
-#define __NR_getxattr			(__NR_Linux + 183)
-#define __NR_lgetxattr			(__NR_Linux + 184)
-#define __NR_fgetxattr			(__NR_Linux + 185)
-#define __NR_listxattr			(__NR_Linux + 186)
-#define __NR_llistxattr			(__NR_Linux + 187)
-#define __NR_flistxattr			(__NR_Linux + 188)
-#define __NR_removexattr		(__NR_Linux + 189)
-#define __NR_lremovexattr		(__NR_Linux + 190)
-#define __NR_fremovexattr		(__NR_Linux + 191)
-#define __NR_tkill			(__NR_Linux + 192)
-#define __NR_reserved193		(__NR_Linux + 193)
-#define __NR_futex			(__NR_Linux + 194)
-#define __NR_sched_setaffinity		(__NR_Linux + 195)
-#define __NR_sched_getaffinity		(__NR_Linux + 196)
-#define __NR_cacheflush			(__NR_Linux + 197)
-#define __NR_cachectl			(__NR_Linux + 198)
-#define __NR_sysmips			(__NR_Linux + 199)
-#define __NR_io_setup			(__NR_Linux + 200)
-#define __NR_io_destroy			(__NR_Linux + 201)
-#define __NR_io_getevents		(__NR_Linux + 202)
-#define __NR_io_submit			(__NR_Linux + 203)
-#define __NR_io_cancel			(__NR_Linux + 204)
-#define __NR_exit_group			(__NR_Linux + 205)
-#define __NR_lookup_dcookie		(__NR_Linux + 206)
-#define __NR_epoll_create		(__NR_Linux + 207)
-#define __NR_epoll_ctl			(__NR_Linux + 208)
-#define __NR_epoll_wait			(__NR_Linux + 209)
-#define __NR_remap_file_pages		(__NR_Linux + 210)
-#define __NR_rt_sigreturn		(__NR_Linux + 211)
-#define __NR_fcntl64			(__NR_Linux + 212)
-#define __NR_set_tid_address		(__NR_Linux + 213)
-#define __NR_restart_syscall		(__NR_Linux + 214)
-#define __NR_semtimedop			(__NR_Linux + 215)
-#define __NR_fadvise64			(__NR_Linux + 216)
-#define __NR_statfs64			(__NR_Linux + 217)
-#define __NR_fstatfs64			(__NR_Linux + 218)
-#define __NR_sendfile64			(__NR_Linux + 219)
-#define __NR_timer_create		(__NR_Linux + 220)
-#define __NR_timer_settime		(__NR_Linux + 221)
-#define __NR_timer_gettime		(__NR_Linux + 222)
-#define __NR_timer_getoverrun		(__NR_Linux + 223)
-#define __NR_timer_delete		(__NR_Linux + 224)
-#define __NR_clock_settime		(__NR_Linux + 225)
-#define __NR_clock_gettime		(__NR_Linux + 226)
-#define __NR_clock_getres		(__NR_Linux + 227)
-#define __NR_clock_nanosleep		(__NR_Linux + 228)
-#define __NR_tgkill			(__NR_Linux + 229)
-#define __NR_utimes			(__NR_Linux + 230)
-#define __NR_mbind			(__NR_Linux + 231)
-#define __NR_get_mempolicy		(__NR_Linux + 232)
-#define __NR_set_mempolicy		(__NR_Linux + 233)
-#define __NR_mq_open			(__NR_Linux + 234)
-#define __NR_mq_unlink			(__NR_Linux + 235)
-#define __NR_mq_timedsend		(__NR_Linux + 236)
-#define __NR_mq_timedreceive		(__NR_Linux + 237)
-#define __NR_mq_notify			(__NR_Linux + 238)
-#define __NR_mq_getsetattr		(__NR_Linux + 239)
-#define __NR_vserver			(__NR_Linux + 240)
-#define __NR_waitid			(__NR_Linux + 241)
-/* #define __NR_sys_setaltroot		(__NR_Linux + 242) */
-#define __NR_add_key			(__NR_Linux + 243)
-#define __NR_request_key		(__NR_Linux + 244)
-#define __NR_keyctl			(__NR_Linux + 245)
-#define __NR_set_thread_area		(__NR_Linux + 246)
-#define __NR_inotify_init		(__NR_Linux + 247)
-#define __NR_inotify_add_watch		(__NR_Linux + 248)
-#define __NR_inotify_rm_watch		(__NR_Linux + 249)
-#define __NR_migrate_pages		(__NR_Linux + 250)
-#define __NR_openat			(__NR_Linux + 251)
-#define __NR_mkdirat			(__NR_Linux + 252)
-#define __NR_mknodat			(__NR_Linux + 253)
-#define __NR_fchownat			(__NR_Linux + 254)
-#define __NR_futimesat			(__NR_Linux + 255)
-#define __NR_newfstatat			(__NR_Linux + 256)
-#define __NR_unlinkat			(__NR_Linux + 257)
-#define __NR_renameat			(__NR_Linux + 258)
-#define __NR_linkat			(__NR_Linux + 259)
-#define __NR_symlinkat			(__NR_Linux + 260)
-#define __NR_readlinkat			(__NR_Linux + 261)
-#define __NR_fchmodat			(__NR_Linux + 262)
-#define __NR_faccessat			(__NR_Linux + 263)
-#define __NR_pselect6			(__NR_Linux + 264)
-#define __NR_ppoll			(__NR_Linux + 265)
-#define __NR_unshare			(__NR_Linux + 266)
-#define __NR_splice			(__NR_Linux + 267)
-#define __NR_sync_file_range		(__NR_Linux + 268)
-#define __NR_tee			(__NR_Linux + 269)
-#define __NR_vmsplice			(__NR_Linux + 270)
-#define __NR_move_pages			(__NR_Linux + 271)
-#define __NR_set_robust_list		(__NR_Linux + 272)
-#define __NR_get_robust_list		(__NR_Linux + 273)
-#define __NR_kexec_load			(__NR_Linux + 274)
-#define __NR_getcpu			(__NR_Linux + 275)
-#define __NR_epoll_pwait		(__NR_Linux + 276)
-#define __NR_ioprio_set			(__NR_Linux + 277)
-#define __NR_ioprio_get			(__NR_Linux + 278)
-#define __NR_utimensat			(__NR_Linux + 279)
-#define __NR_signalfd			(__NR_Linux + 280)
-#define __NR_timerfd			(__NR_Linux + 281)
-#define __NR_eventfd			(__NR_Linux + 282)
-#define __NR_fallocate			(__NR_Linux + 283)
-#define __NR_timerfd_create		(__NR_Linux + 284)
-#define __NR_timerfd_gettime		(__NR_Linux + 285)
-#define __NR_timerfd_settime		(__NR_Linux + 286)
-#define __NR_signalfd4			(__NR_Linux + 287)
-#define __NR_eventfd2			(__NR_Linux + 288)
-#define __NR_epoll_create1		(__NR_Linux + 289)
-#define __NR_dup3			(__NR_Linux + 290)
-#define __NR_pipe2			(__NR_Linux + 291)
-#define __NR_inotify_init1		(__NR_Linux + 292)
-#define __NR_preadv			(__NR_Linux + 293)
-#define __NR_pwritev			(__NR_Linux + 294)
-#define __NR_rt_tgsigqueueinfo		(__NR_Linux + 295)
-#define __NR_perf_event_open		(__NR_Linux + 296)
-#define __NR_accept4			(__NR_Linux + 297)
-#define __NR_recvmmsg			(__NR_Linux + 298)
-#define __NR_getdents64			(__NR_Linux + 299)
-#define __NR_fanotify_init		(__NR_Linux + 300)
-#define __NR_fanotify_mark		(__NR_Linux + 301)
-#define __NR_prlimit64			(__NR_Linux + 302)
-#define __NR_name_to_handle_at		(__NR_Linux + 303)
-#define __NR_open_by_handle_at		(__NR_Linux + 304)
-#define __NR_clock_adjtime		(__NR_Linux + 305)
-#define __NR_syncfs			(__NR_Linux + 306)
-#define __NR_sendmmsg			(__NR_Linux + 307)
-#define __NR_setns			(__NR_Linux + 308)
-#define __NR_process_vm_readv		(__NR_Linux + 309)
-#define __NR_process_vm_writev		(__NR_Linux + 310)
-#define __NR_kcmp			(__NR_Linux + 311)
-#define __NR_finit_module		(__NR_Linux + 312)
-#define __NR_sched_setattr		(__NR_Linux + 313)
-#define __NR_sched_getattr		(__NR_Linux + 314)
-#define __NR_renameat2			(__NR_Linux + 315)
-#define __NR_seccomp			(__NR_Linux + 316)
-#define __NR_getrandom			(__NR_Linux + 317)
-#define __NR_memfd_create		(__NR_Linux + 318)
-#define __NR_bpf			(__NR_Linux + 319)
-#define __NR_execveat			(__NR_Linux + 320)
-#define __NR_userfaultfd		(__NR_Linux + 321)
-#define __NR_membarrier			(__NR_Linux + 322)
-#define __NR_mlock2			(__NR_Linux + 323)
-#define __NR_copy_file_range		(__NR_Linux + 324)
-#define __NR_preadv2			(__NR_Linux + 325)
-#define __NR_pwritev2			(__NR_Linux + 326)
-#define __NR_pkey_mprotect		(__NR_Linux + 327)
-#define __NR_pkey_alloc			(__NR_Linux + 328)
-#define __NR_pkey_free			(__NR_Linux + 329)
-#define __NR_statx			(__NR_Linux + 330)
-#define __NR_rseq			(__NR_Linux + 331)
-#define __NR_io_pgetevents		(__NR_Linux + 332)
-
-/*
- * Offset of the last N32 flavoured syscall
- */
-#define __NR_Linux_syscalls		332
-
-#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
-
-#define __NR_N32_Linux			6000
-#define __NR_N32_Linux_syscalls		332
-
-#endif /* _UAPI_ASM_UNISTD_H */
diff --git a/libc/include/mips64el-linux-musl/asm/auxvec.h b/libc/include/mips64el-linux-any/asm/auxvec.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/auxvec.h
rename to libc/include/mips64el-linux-any/asm/auxvec.h
diff --git a/libc/include/mips64el-linux-musl/asm/bitsperlong.h b/libc/include/mips64el-linux-any/asm/bitsperlong.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/bitsperlong.h
rename to libc/include/mips64el-linux-any/asm/bitsperlong.h
diff --git a/libc/include/mips64el-linux-musl/asm/byteorder.h b/libc/include/mips64el-linux-any/asm/byteorder.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/byteorder.h
rename to libc/include/mips64el-linux-any/asm/byteorder.h
diff --git a/libc/include/mips64el-linux-musl/asm/errno.h b/libc/include/mips64el-linux-any/asm/errno.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/errno.h
rename to libc/include/mips64el-linux-any/asm/errno.h
diff --git a/libc/include/mips64el-linux-musl/asm/fcntl.h b/libc/include/mips64el-linux-any/asm/fcntl.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/fcntl.h
rename to libc/include/mips64el-linux-any/asm/fcntl.h
diff --git a/libc/include/mips64el-linux-musl/asm/hwcap.h b/libc/include/mips64el-linux-any/asm/hwcap.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/hwcap.h
rename to libc/include/mips64el-linux-any/asm/hwcap.h
diff --git a/libc/include/mips64el-linux-musl/asm/ioctl.h b/libc/include/mips64el-linux-any/asm/ioctl.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/ioctl.h
rename to libc/include/mips64el-linux-any/asm/ioctl.h
diff --git a/libc/include/mips64el-linux-musl/asm/ioctls.h b/libc/include/mips64el-linux-any/asm/ioctls.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/ioctls.h
rename to libc/include/mips64el-linux-any/asm/ioctls.h
diff --git a/libc/include/mips64el-linux-musl/asm/kvm.h b/libc/include/mips64el-linux-any/asm/kvm.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/kvm.h
rename to libc/include/mips64el-linux-any/asm/kvm.h
diff --git a/libc/include/mips64el-linux-musl/asm/kvm_para.h b/libc/include/mips64el-linux-any/asm/kvm_para.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/kvm_para.h
rename to libc/include/mips64el-linux-any/asm/kvm_para.h
diff --git a/libc/include/mips64el-linux-musl/asm/mman.h b/libc/include/mips64el-linux-any/asm/mman.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/mman.h
rename to libc/include/mips64el-linux-any/asm/mman.h
diff --git a/libc/include/mips64el-linux-musl/asm/msgbuf.h b/libc/include/mips64el-linux-any/asm/msgbuf.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/msgbuf.h
rename to libc/include/mips64el-linux-any/asm/msgbuf.h
diff --git a/libc/include/mips64el-linux-musl/asm/param.h b/libc/include/mips64el-linux-any/asm/param.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/param.h
rename to libc/include/mips64el-linux-any/asm/param.h
diff --git a/libc/include/mips64el-linux-musl/asm/poll.h b/libc/include/mips64el-linux-any/asm/poll.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/poll.h
rename to libc/include/mips64el-linux-any/asm/poll.h
diff --git a/libc/include/mips64el-linux-musl/asm/posix_types.h b/libc/include/mips64el-linux-any/asm/posix_types.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/posix_types.h
rename to libc/include/mips64el-linux-any/asm/posix_types.h
diff --git a/libc/include/mips64el-linux-musl/asm/ptrace.h b/libc/include/mips64el-linux-any/asm/ptrace.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/ptrace.h
rename to libc/include/mips64el-linux-any/asm/ptrace.h
diff --git a/libc/include/mips64el-linux-musl/asm/resource.h b/libc/include/mips64el-linux-any/asm/resource.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/resource.h
rename to libc/include/mips64el-linux-any/asm/resource.h
diff --git a/libc/include/mips64el-linux-musl/asm/sembuf.h b/libc/include/mips64el-linux-any/asm/sembuf.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/sembuf.h
rename to libc/include/mips64el-linux-any/asm/sembuf.h
diff --git a/libc/include/mips64el-linux-musl/asm/setup.h b/libc/include/mips64el-linux-any/asm/setup.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/setup.h
rename to libc/include/mips64el-linux-any/asm/setup.h
diff --git a/libc/include/mips64el-linux-musl/asm/shmbuf.h b/libc/include/mips64el-linux-any/asm/shmbuf.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/shmbuf.h
rename to libc/include/mips64el-linux-any/asm/shmbuf.h
diff --git a/libc/include/mips64el-linux-musl/asm/sigcontext.h b/libc/include/mips64el-linux-any/asm/sigcontext.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/sigcontext.h
rename to libc/include/mips64el-linux-any/asm/sigcontext.h
diff --git a/libc/include/mips64el-linux-musl/asm/siginfo.h b/libc/include/mips64el-linux-any/asm/siginfo.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/siginfo.h
rename to libc/include/mips64el-linux-any/asm/siginfo.h
diff --git a/libc/include/mips64el-linux-musl/asm/signal.h b/libc/include/mips64el-linux-any/asm/signal.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/signal.h
rename to libc/include/mips64el-linux-any/asm/signal.h
diff --git a/libc/include/mips64el-linux-musl/asm/socket.h b/libc/include/mips64el-linux-any/asm/socket.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/socket.h
rename to libc/include/mips64el-linux-any/asm/socket.h
diff --git a/libc/include/mips64el-linux-musl/asm/sockios.h b/libc/include/mips64el-linux-any/asm/sockios.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/sockios.h
rename to libc/include/mips64el-linux-any/asm/sockios.h
diff --git a/libc/include/mips64el-linux-musl/asm/stat.h b/libc/include/mips64el-linux-any/asm/stat.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/stat.h
rename to libc/include/mips64el-linux-any/asm/stat.h
diff --git a/libc/include/mips64el-linux-musl/asm/statfs.h b/libc/include/mips64el-linux-any/asm/statfs.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/statfs.h
rename to libc/include/mips64el-linux-any/asm/statfs.h
diff --git a/libc/include/mips64el-linux-musl/asm/swab.h b/libc/include/mips64el-linux-any/asm/swab.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/swab.h
rename to libc/include/mips64el-linux-any/asm/swab.h
diff --git a/libc/include/mips64el-linux-musl/asm/termbits.h b/libc/include/mips64el-linux-any/asm/termbits.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/termbits.h
rename to libc/include/mips64el-linux-any/asm/termbits.h
diff --git a/libc/include/mips64el-linux-musl/asm/termios.h b/libc/include/mips64el-linux-any/asm/termios.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/termios.h
rename to libc/include/mips64el-linux-any/asm/termios.h
diff --git a/libc/include/mips64el-linux-musl/asm/types.h b/libc/include/mips64el-linux-any/asm/types.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/types.h
rename to libc/include/mips64el-linux-any/asm/types.h
diff --git a/libc/include/mips64el-linux-musl/asm/unistd.h b/libc/include/mips64el-linux-any/asm/unistd.h
similarity index 100%
rename from libc/include/mips64el-linux-musl/asm/unistd.h
rename to libc/include/mips64el-linux-any/asm/unistd.h
diff --git a/libc/include/mips64el-linux-gnuabi64/asm/sgidefs.h b/libc/include/mips64el-linux-gnuabi64/asm/sgidefs.h
deleted file mode 100644
index 26143e3b7c..0000000000
--- a/libc/include/mips64el-linux-gnuabi64/asm/sgidefs.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 1996, 1999, 2001 Ralf Baechle
- * Copyright (C) 1999 Silicon Graphics, Inc.
- * Copyright (C) 2001 MIPS Technologies, Inc.
- */
-#ifndef __ASM_SGIDEFS_H
-#define __ASM_SGIDEFS_H
-
-/*
- * Using a Linux compiler for building Linux seems logic but not to
- * everybody.
- */
-#ifndef __linux__
-#error Use a Linux compiler or give up.
-#endif
-
-/*
- * Definitions for the ISA levels
- *
- * With the introduction of MIPS32 / MIPS64 instruction sets definitions
- * MIPS ISAs are no longer subsets of each other.  Therefore comparisons
- * on these symbols except with == may result in unexpected results and
- * are forbidden!
- */
-#define _MIPS_ISA_MIPS1		1
-#define _MIPS_ISA_MIPS2		2
-#define _MIPS_ISA_MIPS3		3
-#define _MIPS_ISA_MIPS4		4
-#define _MIPS_ISA_MIPS5		5
-#define _MIPS_ISA_MIPS32	6
-#define _MIPS_ISA_MIPS64	7
-
-/*
- * Subprogram calling convention
- */
-#define _MIPS_SIM_ABI32		1
-#define _MIPS_SIM_NABI32	2
-#define _MIPS_SIM_ABI64		3
-
-#endif /* __ASM_SGIDEFS_H */
diff --git a/libc/include/mips64el-linux-gnuabi64/asm/unistd.h b/libc/include/mips64el-linux-gnuabi64/asm/unistd.h
deleted file mode 100644
index f25dd1d83f..0000000000
--- a/libc/include/mips64el-linux-gnuabi64/asm/unistd.h
+++ /dev/null
@@ -1,1101 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 1995, 96, 97, 98, 99, 2000 by Ralf Baechle
- * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
- *
- * Changed system calls macros _syscall5 - _syscall7 to push args 5 to 7 onto
- * the stack. Robin Farine for ACN S.A, Copyright (C) 1996 by ACN S.A
- */
-#ifndef _UAPI_ASM_UNISTD_H
-#define _UAPI_ASM_UNISTD_H
-
-#include 
-
-#if _MIPS_SIM == _MIPS_SIM_ABI32
-
-/*
- * Linux o32 style syscalls are in the range from 4000 to 4999.
- */
-#define __NR_Linux			4000
-#define __NR_syscall			(__NR_Linux +	0)
-#define __NR_exit			(__NR_Linux +	1)
-#define __NR_fork			(__NR_Linux +	2)
-#define __NR_read			(__NR_Linux +	3)
-#define __NR_write			(__NR_Linux +	4)
-#define __NR_open			(__NR_Linux +	5)
-#define __NR_close			(__NR_Linux +	6)
-#define __NR_waitpid			(__NR_Linux +	7)
-#define __NR_creat			(__NR_Linux +	8)
-#define __NR_link			(__NR_Linux +	9)
-#define __NR_unlink			(__NR_Linux +  10)
-#define __NR_execve			(__NR_Linux +  11)
-#define __NR_chdir			(__NR_Linux +  12)
-#define __NR_time			(__NR_Linux +  13)
-#define __NR_mknod			(__NR_Linux +  14)
-#define __NR_chmod			(__NR_Linux +  15)
-#define __NR_lchown			(__NR_Linux +  16)
-#define __NR_break			(__NR_Linux +  17)
-#define __NR_unused18			(__NR_Linux +  18)
-#define __NR_lseek			(__NR_Linux +  19)
-#define __NR_getpid			(__NR_Linux +  20)
-#define __NR_mount			(__NR_Linux +  21)
-#define __NR_umount			(__NR_Linux +  22)
-#define __NR_setuid			(__NR_Linux +  23)
-#define __NR_getuid			(__NR_Linux +  24)
-#define __NR_stime			(__NR_Linux +  25)
-#define __NR_ptrace			(__NR_Linux +  26)
-#define __NR_alarm			(__NR_Linux +  27)
-#define __NR_unused28			(__NR_Linux +  28)
-#define __NR_pause			(__NR_Linux +  29)
-#define __NR_utime			(__NR_Linux +  30)
-#define __NR_stty			(__NR_Linux +  31)
-#define __NR_gtty			(__NR_Linux +  32)
-#define __NR_access			(__NR_Linux +  33)
-#define __NR_nice			(__NR_Linux +  34)
-#define __NR_ftime			(__NR_Linux +  35)
-#define __NR_sync			(__NR_Linux +  36)
-#define __NR_kill			(__NR_Linux +  37)
-#define __NR_rename			(__NR_Linux +  38)
-#define __NR_mkdir			(__NR_Linux +  39)
-#define __NR_rmdir			(__NR_Linux +  40)
-#define __NR_dup			(__NR_Linux +  41)
-#define __NR_pipe			(__NR_Linux +  42)
-#define __NR_times			(__NR_Linux +  43)
-#define __NR_prof			(__NR_Linux +  44)
-#define __NR_brk			(__NR_Linux +  45)
-#define __NR_setgid			(__NR_Linux +  46)
-#define __NR_getgid			(__NR_Linux +  47)
-#define __NR_signal			(__NR_Linux +  48)
-#define __NR_geteuid			(__NR_Linux +  49)
-#define __NR_getegid			(__NR_Linux +  50)
-#define __NR_acct			(__NR_Linux +  51)
-#define __NR_umount2			(__NR_Linux +  52)
-#define __NR_lock			(__NR_Linux +  53)
-#define __NR_ioctl			(__NR_Linux +  54)
-#define __NR_fcntl			(__NR_Linux +  55)
-#define __NR_mpx			(__NR_Linux +  56)
-#define __NR_setpgid			(__NR_Linux +  57)
-#define __NR_ulimit			(__NR_Linux +  58)
-#define __NR_unused59			(__NR_Linux +  59)
-#define __NR_umask			(__NR_Linux +  60)
-#define __NR_chroot			(__NR_Linux +  61)
-#define __NR_ustat			(__NR_Linux +  62)
-#define __NR_dup2			(__NR_Linux +  63)
-#define __NR_getppid			(__NR_Linux +  64)
-#define __NR_getpgrp			(__NR_Linux +  65)
-#define __NR_setsid			(__NR_Linux +  66)
-#define __NR_sigaction			(__NR_Linux +  67)
-#define __NR_sgetmask			(__NR_Linux +  68)
-#define __NR_ssetmask			(__NR_Linux +  69)
-#define __NR_setreuid			(__NR_Linux +  70)
-#define __NR_setregid			(__NR_Linux +  71)
-#define __NR_sigsuspend			(__NR_Linux +  72)
-#define __NR_sigpending			(__NR_Linux +  73)
-#define __NR_sethostname		(__NR_Linux +  74)
-#define __NR_setrlimit			(__NR_Linux +  75)
-#define __NR_getrlimit			(__NR_Linux +  76)
-#define __NR_getrusage			(__NR_Linux +  77)
-#define __NR_gettimeofday		(__NR_Linux +  78)
-#define __NR_settimeofday		(__NR_Linux +  79)
-#define __NR_getgroups			(__NR_Linux +  80)
-#define __NR_setgroups			(__NR_Linux +  81)
-#define __NR_reserved82			(__NR_Linux +  82)
-#define __NR_symlink			(__NR_Linux +  83)
-#define __NR_unused84			(__NR_Linux +  84)
-#define __NR_readlink			(__NR_Linux +  85)
-#define __NR_uselib			(__NR_Linux +  86)
-#define __NR_swapon			(__NR_Linux +  87)
-#define __NR_reboot			(__NR_Linux +  88)
-#define __NR_readdir			(__NR_Linux +  89)
-#define __NR_mmap			(__NR_Linux +  90)
-#define __NR_munmap			(__NR_Linux +  91)
-#define __NR_truncate			(__NR_Linux +  92)
-#define __NR_ftruncate			(__NR_Linux +  93)
-#define __NR_fchmod			(__NR_Linux +  94)
-#define __NR_fchown			(__NR_Linux +  95)
-#define __NR_getpriority		(__NR_Linux +  96)
-#define __NR_setpriority		(__NR_Linux +  97)
-#define __NR_profil			(__NR_Linux +  98)
-#define __NR_statfs			(__NR_Linux +  99)
-#define __NR_fstatfs			(__NR_Linux + 100)
-#define __NR_ioperm			(__NR_Linux + 101)
-#define __NR_socketcall			(__NR_Linux + 102)
-#define __NR_syslog			(__NR_Linux + 103)
-#define __NR_setitimer			(__NR_Linux + 104)
-#define __NR_getitimer			(__NR_Linux + 105)
-#define __NR_stat			(__NR_Linux + 106)
-#define __NR_lstat			(__NR_Linux + 107)
-#define __NR_fstat			(__NR_Linux + 108)
-#define __NR_unused109			(__NR_Linux + 109)
-#define __NR_iopl			(__NR_Linux + 110)
-#define __NR_vhangup			(__NR_Linux + 111)
-#define __NR_idle			(__NR_Linux + 112)
-#define __NR_vm86			(__NR_Linux + 113)
-#define __NR_wait4			(__NR_Linux + 114)
-#define __NR_swapoff			(__NR_Linux + 115)
-#define __NR_sysinfo			(__NR_Linux + 116)
-#define __NR_ipc			(__NR_Linux + 117)
-#define __NR_fsync			(__NR_Linux + 118)
-#define __NR_sigreturn			(__NR_Linux + 119)
-#define __NR_clone			(__NR_Linux + 120)
-#define __NR_setdomainname		(__NR_Linux + 121)
-#define __NR_uname			(__NR_Linux + 122)
-#define __NR_modify_ldt			(__NR_Linux + 123)
-#define __NR_adjtimex			(__NR_Linux + 124)
-#define __NR_mprotect			(__NR_Linux + 125)
-#define __NR_sigprocmask		(__NR_Linux + 126)
-#define __NR_create_module		(__NR_Linux + 127)
-#define __NR_init_module		(__NR_Linux + 128)
-#define __NR_delete_module		(__NR_Linux + 129)
-#define __NR_get_kernel_syms		(__NR_Linux + 130)
-#define __NR_quotactl			(__NR_Linux + 131)
-#define __NR_getpgid			(__NR_Linux + 132)
-#define __NR_fchdir			(__NR_Linux + 133)
-#define __NR_bdflush			(__NR_Linux + 134)
-#define __NR_sysfs			(__NR_Linux + 135)
-#define __NR_personality		(__NR_Linux + 136)
-#define __NR_afs_syscall		(__NR_Linux + 137) /* Syscall for Andrew File System */
-#define __NR_setfsuid			(__NR_Linux + 138)
-#define __NR_setfsgid			(__NR_Linux + 139)
-#define __NR__llseek			(__NR_Linux + 140)
-#define __NR_getdents			(__NR_Linux + 141)
-#define __NR__newselect			(__NR_Linux + 142)
-#define __NR_flock			(__NR_Linux + 143)
-#define __NR_msync			(__NR_Linux + 144)
-#define __NR_readv			(__NR_Linux + 145)
-#define __NR_writev			(__NR_Linux + 146)
-#define __NR_cacheflush			(__NR_Linux + 147)
-#define __NR_cachectl			(__NR_Linux + 148)
-#define __NR_sysmips			(__NR_Linux + 149)
-#define __NR_unused150			(__NR_Linux + 150)
-#define __NR_getsid			(__NR_Linux + 151)
-#define __NR_fdatasync			(__NR_Linux + 152)
-#define __NR__sysctl			(__NR_Linux + 153)
-#define __NR_mlock			(__NR_Linux + 154)
-#define __NR_munlock			(__NR_Linux + 155)
-#define __NR_mlockall			(__NR_Linux + 156)
-#define __NR_munlockall			(__NR_Linux + 157)
-#define __NR_sched_setparam		(__NR_Linux + 158)
-#define __NR_sched_getparam		(__NR_Linux + 159)
-#define __NR_sched_setscheduler		(__NR_Linux + 160)
-#define __NR_sched_getscheduler		(__NR_Linux + 161)
-#define __NR_sched_yield		(__NR_Linux + 162)
-#define __NR_sched_get_priority_max	(__NR_Linux + 163)
-#define __NR_sched_get_priority_min	(__NR_Linux + 164)
-#define __NR_sched_rr_get_interval	(__NR_Linux + 165)
-#define __NR_nanosleep			(__NR_Linux + 166)
-#define __NR_mremap			(__NR_Linux + 167)
-#define __NR_accept			(__NR_Linux + 168)
-#define __NR_bind			(__NR_Linux + 169)
-#define __NR_connect			(__NR_Linux + 170)
-#define __NR_getpeername		(__NR_Linux + 171)
-#define __NR_getsockname		(__NR_Linux + 172)
-#define __NR_getsockopt			(__NR_Linux + 173)
-#define __NR_listen			(__NR_Linux + 174)
-#define __NR_recv			(__NR_Linux + 175)
-#define __NR_recvfrom			(__NR_Linux + 176)
-#define __NR_recvmsg			(__NR_Linux + 177)
-#define __NR_send			(__NR_Linux + 178)
-#define __NR_sendmsg			(__NR_Linux + 179)
-#define __NR_sendto			(__NR_Linux + 180)
-#define __NR_setsockopt			(__NR_Linux + 181)
-#define __NR_shutdown			(__NR_Linux + 182)
-#define __NR_socket			(__NR_Linux + 183)
-#define __NR_socketpair			(__NR_Linux + 184)
-#define __NR_setresuid			(__NR_Linux + 185)
-#define __NR_getresuid			(__NR_Linux + 186)
-#define __NR_query_module		(__NR_Linux + 187)
-#define __NR_poll			(__NR_Linux + 188)
-#define __NR_nfsservctl			(__NR_Linux + 189)
-#define __NR_setresgid			(__NR_Linux + 190)
-#define __NR_getresgid			(__NR_Linux + 191)
-#define __NR_prctl			(__NR_Linux + 192)
-#define __NR_rt_sigreturn		(__NR_Linux + 193)
-#define __NR_rt_sigaction		(__NR_Linux + 194)
-#define __NR_rt_sigprocmask		(__NR_Linux + 195)
-#define __NR_rt_sigpending		(__NR_Linux + 196)
-#define __NR_rt_sigtimedwait		(__NR_Linux + 197)
-#define __NR_rt_sigqueueinfo		(__NR_Linux + 198)
-#define __NR_rt_sigsuspend		(__NR_Linux + 199)
-#define __NR_pread64			(__NR_Linux + 200)
-#define __NR_pwrite64			(__NR_Linux + 201)
-#define __NR_chown			(__NR_Linux + 202)
-#define __NR_getcwd			(__NR_Linux + 203)
-#define __NR_capget			(__NR_Linux + 204)
-#define __NR_capset			(__NR_Linux + 205)
-#define __NR_sigaltstack		(__NR_Linux + 206)
-#define __NR_sendfile			(__NR_Linux + 207)
-#define __NR_getpmsg			(__NR_Linux + 208)
-#define __NR_putpmsg			(__NR_Linux + 209)
-#define __NR_mmap2			(__NR_Linux + 210)
-#define __NR_truncate64			(__NR_Linux + 211)
-#define __NR_ftruncate64		(__NR_Linux + 212)
-#define __NR_stat64			(__NR_Linux + 213)
-#define __NR_lstat64			(__NR_Linux + 214)
-#define __NR_fstat64			(__NR_Linux + 215)
-#define __NR_pivot_root			(__NR_Linux + 216)
-#define __NR_mincore			(__NR_Linux + 217)
-#define __NR_madvise			(__NR_Linux + 218)
-#define __NR_getdents64			(__NR_Linux + 219)
-#define __NR_fcntl64			(__NR_Linux + 220)
-#define __NR_reserved221		(__NR_Linux + 221)
-#define __NR_gettid			(__NR_Linux + 222)
-#define __NR_readahead			(__NR_Linux + 223)
-#define __NR_setxattr			(__NR_Linux + 224)
-#define __NR_lsetxattr			(__NR_Linux + 225)
-#define __NR_fsetxattr			(__NR_Linux + 226)
-#define __NR_getxattr			(__NR_Linux + 227)
-#define __NR_lgetxattr			(__NR_Linux + 228)
-#define __NR_fgetxattr			(__NR_Linux + 229)
-#define __NR_listxattr			(__NR_Linux + 230)
-#define __NR_llistxattr			(__NR_Linux + 231)
-#define __NR_flistxattr			(__NR_Linux + 232)
-#define __NR_removexattr		(__NR_Linux + 233)
-#define __NR_lremovexattr		(__NR_Linux + 234)
-#define __NR_fremovexattr		(__NR_Linux + 235)
-#define __NR_tkill			(__NR_Linux + 236)
-#define __NR_sendfile64			(__NR_Linux + 237)
-#define __NR_futex			(__NR_Linux + 238)
-#define __NR_sched_setaffinity		(__NR_Linux + 239)
-#define __NR_sched_getaffinity		(__NR_Linux + 240)
-#define __NR_io_setup			(__NR_Linux + 241)
-#define __NR_io_destroy			(__NR_Linux + 242)
-#define __NR_io_getevents		(__NR_Linux + 243)
-#define __NR_io_submit			(__NR_Linux + 244)
-#define __NR_io_cancel			(__NR_Linux + 245)
-#define __NR_exit_group			(__NR_Linux + 246)
-#define __NR_lookup_dcookie		(__NR_Linux + 247)
-#define __NR_epoll_create		(__NR_Linux + 248)
-#define __NR_epoll_ctl			(__NR_Linux + 249)
-#define __NR_epoll_wait			(__NR_Linux + 250)
-#define __NR_remap_file_pages		(__NR_Linux + 251)
-#define __NR_set_tid_address		(__NR_Linux + 252)
-#define __NR_restart_syscall		(__NR_Linux + 253)
-#define __NR_fadvise64			(__NR_Linux + 254)
-#define __NR_statfs64			(__NR_Linux + 255)
-#define __NR_fstatfs64			(__NR_Linux + 256)
-#define __NR_timer_create		(__NR_Linux + 257)
-#define __NR_timer_settime		(__NR_Linux + 258)
-#define __NR_timer_gettime		(__NR_Linux + 259)
-#define __NR_timer_getoverrun		(__NR_Linux + 260)
-#define __NR_timer_delete		(__NR_Linux + 261)
-#define __NR_clock_settime		(__NR_Linux + 262)
-#define __NR_clock_gettime		(__NR_Linux + 263)
-#define __NR_clock_getres		(__NR_Linux + 264)
-#define __NR_clock_nanosleep		(__NR_Linux + 265)
-#define __NR_tgkill			(__NR_Linux + 266)
-#define __NR_utimes			(__NR_Linux + 267)
-#define __NR_mbind			(__NR_Linux + 268)
-#define __NR_get_mempolicy		(__NR_Linux + 269)
-#define __NR_set_mempolicy		(__NR_Linux + 270)
-#define __NR_mq_open			(__NR_Linux + 271)
-#define __NR_mq_unlink			(__NR_Linux + 272)
-#define __NR_mq_timedsend		(__NR_Linux + 273)
-#define __NR_mq_timedreceive		(__NR_Linux + 274)
-#define __NR_mq_notify			(__NR_Linux + 275)
-#define __NR_mq_getsetattr		(__NR_Linux + 276)
-#define __NR_vserver			(__NR_Linux + 277)
-#define __NR_waitid			(__NR_Linux + 278)
-/* #define __NR_sys_setaltroot		(__NR_Linux + 279) */
-#define __NR_add_key			(__NR_Linux + 280)
-#define __NR_request_key		(__NR_Linux + 281)
-#define __NR_keyctl			(__NR_Linux + 282)
-#define __NR_set_thread_area		(__NR_Linux + 283)
-#define __NR_inotify_init		(__NR_Linux + 284)
-#define __NR_inotify_add_watch		(__NR_Linux + 285)
-#define __NR_inotify_rm_watch		(__NR_Linux + 286)
-#define __NR_migrate_pages		(__NR_Linux + 287)
-#define __NR_openat			(__NR_Linux + 288)
-#define __NR_mkdirat			(__NR_Linux + 289)
-#define __NR_mknodat			(__NR_Linux + 290)
-#define __NR_fchownat			(__NR_Linux + 291)
-#define __NR_futimesat			(__NR_Linux + 292)
-#define __NR_fstatat64			(__NR_Linux + 293)
-#define __NR_unlinkat			(__NR_Linux + 294)
-#define __NR_renameat			(__NR_Linux + 295)
-#define __NR_linkat			(__NR_Linux + 296)
-#define __NR_symlinkat			(__NR_Linux + 297)
-#define __NR_readlinkat			(__NR_Linux + 298)
-#define __NR_fchmodat			(__NR_Linux + 299)
-#define __NR_faccessat			(__NR_Linux + 300)
-#define __NR_pselect6			(__NR_Linux + 301)
-#define __NR_ppoll			(__NR_Linux + 302)
-#define __NR_unshare			(__NR_Linux + 303)
-#define __NR_splice			(__NR_Linux + 304)
-#define __NR_sync_file_range		(__NR_Linux + 305)
-#define __NR_tee			(__NR_Linux + 306)
-#define __NR_vmsplice			(__NR_Linux + 307)
-#define __NR_move_pages			(__NR_Linux + 308)
-#define __NR_set_robust_list		(__NR_Linux + 309)
-#define __NR_get_robust_list		(__NR_Linux + 310)
-#define __NR_kexec_load			(__NR_Linux + 311)
-#define __NR_getcpu			(__NR_Linux + 312)
-#define __NR_epoll_pwait		(__NR_Linux + 313)
-#define __NR_ioprio_set			(__NR_Linux + 314)
-#define __NR_ioprio_get			(__NR_Linux + 315)
-#define __NR_utimensat			(__NR_Linux + 316)
-#define __NR_signalfd			(__NR_Linux + 317)
-#define __NR_timerfd			(__NR_Linux + 318)
-#define __NR_eventfd			(__NR_Linux + 319)
-#define __NR_fallocate			(__NR_Linux + 320)
-#define __NR_timerfd_create		(__NR_Linux + 321)
-#define __NR_timerfd_gettime		(__NR_Linux + 322)
-#define __NR_timerfd_settime		(__NR_Linux + 323)
-#define __NR_signalfd4			(__NR_Linux + 324)
-#define __NR_eventfd2			(__NR_Linux + 325)
-#define __NR_epoll_create1		(__NR_Linux + 326)
-#define __NR_dup3			(__NR_Linux + 327)
-#define __NR_pipe2			(__NR_Linux + 328)
-#define __NR_inotify_init1		(__NR_Linux + 329)
-#define __NR_preadv			(__NR_Linux + 330)
-#define __NR_pwritev			(__NR_Linux + 331)
-#define __NR_rt_tgsigqueueinfo		(__NR_Linux + 332)
-#define __NR_perf_event_open		(__NR_Linux + 333)
-#define __NR_accept4			(__NR_Linux + 334)
-#define __NR_recvmmsg			(__NR_Linux + 335)
-#define __NR_fanotify_init		(__NR_Linux + 336)
-#define __NR_fanotify_mark		(__NR_Linux + 337)
-#define __NR_prlimit64			(__NR_Linux + 338)
-#define __NR_name_to_handle_at		(__NR_Linux + 339)
-#define __NR_open_by_handle_at		(__NR_Linux + 340)
-#define __NR_clock_adjtime		(__NR_Linux + 341)
-#define __NR_syncfs			(__NR_Linux + 342)
-#define __NR_sendmmsg			(__NR_Linux + 343)
-#define __NR_setns			(__NR_Linux + 344)
-#define __NR_process_vm_readv		(__NR_Linux + 345)
-#define __NR_process_vm_writev		(__NR_Linux + 346)
-#define __NR_kcmp			(__NR_Linux + 347)
-#define __NR_finit_module		(__NR_Linux + 348)
-#define __NR_sched_setattr		(__NR_Linux + 349)
-#define __NR_sched_getattr		(__NR_Linux + 350)
-#define __NR_renameat2			(__NR_Linux + 351)
-#define __NR_seccomp			(__NR_Linux + 352)
-#define __NR_getrandom			(__NR_Linux + 353)
-#define __NR_memfd_create		(__NR_Linux + 354)
-#define __NR_bpf			(__NR_Linux + 355)
-#define __NR_execveat			(__NR_Linux + 356)
-#define __NR_userfaultfd		(__NR_Linux + 357)
-#define __NR_membarrier			(__NR_Linux + 358)
-#define __NR_mlock2			(__NR_Linux + 359)
-#define __NR_copy_file_range		(__NR_Linux + 360)
-#define __NR_preadv2			(__NR_Linux + 361)
-#define __NR_pwritev2			(__NR_Linux + 362)
-#define __NR_pkey_mprotect		(__NR_Linux + 363)
-#define __NR_pkey_alloc			(__NR_Linux + 364)
-#define __NR_pkey_free			(__NR_Linux + 365)
-#define __NR_statx			(__NR_Linux + 366)
-#define __NR_rseq			(__NR_Linux + 367)
-#define __NR_io_pgetevents		(__NR_Linux + 368)
-
-
-/*
- * Offset of the last Linux o32 flavoured syscall
- */
-#define __NR_Linux_syscalls		368
-
-#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
-
-#define __NR_O32_Linux			4000
-#define __NR_O32_Linux_syscalls		368
-
-#if _MIPS_SIM == _MIPS_SIM_ABI64
-
-/*
- * Linux 64-bit syscalls are in the range from 5000 to 5999.
- */
-#define __NR_Linux			5000
-#define __NR_read			(__NR_Linux +	0)
-#define __NR_write			(__NR_Linux +	1)
-#define __NR_open			(__NR_Linux +	2)
-#define __NR_close			(__NR_Linux +	3)
-#define __NR_stat			(__NR_Linux +	4)
-#define __NR_fstat			(__NR_Linux +	5)
-#define __NR_lstat			(__NR_Linux +	6)
-#define __NR_poll			(__NR_Linux +	7)
-#define __NR_lseek			(__NR_Linux +	8)
-#define __NR_mmap			(__NR_Linux +	9)
-#define __NR_mprotect			(__NR_Linux +  10)
-#define __NR_munmap			(__NR_Linux +  11)
-#define __NR_brk			(__NR_Linux +  12)
-#define __NR_rt_sigaction		(__NR_Linux +  13)
-#define __NR_rt_sigprocmask		(__NR_Linux +  14)
-#define __NR_ioctl			(__NR_Linux +  15)
-#define __NR_pread64			(__NR_Linux +  16)
-#define __NR_pwrite64			(__NR_Linux +  17)
-#define __NR_readv			(__NR_Linux +  18)
-#define __NR_writev			(__NR_Linux +  19)
-#define __NR_access			(__NR_Linux +  20)
-#define __NR_pipe			(__NR_Linux +  21)
-#define __NR__newselect			(__NR_Linux +  22)
-#define __NR_sched_yield		(__NR_Linux +  23)
-#define __NR_mremap			(__NR_Linux +  24)
-#define __NR_msync			(__NR_Linux +  25)
-#define __NR_mincore			(__NR_Linux +  26)
-#define __NR_madvise			(__NR_Linux +  27)
-#define __NR_shmget			(__NR_Linux +  28)
-#define __NR_shmat			(__NR_Linux +  29)
-#define __NR_shmctl			(__NR_Linux +  30)
-#define __NR_dup			(__NR_Linux +  31)
-#define __NR_dup2			(__NR_Linux +  32)
-#define __NR_pause			(__NR_Linux +  33)
-#define __NR_nanosleep			(__NR_Linux +  34)
-#define __NR_getitimer			(__NR_Linux +  35)
-#define __NR_setitimer			(__NR_Linux +  36)
-#define __NR_alarm			(__NR_Linux +  37)
-#define __NR_getpid			(__NR_Linux +  38)
-#define __NR_sendfile			(__NR_Linux +  39)
-#define __NR_socket			(__NR_Linux +  40)
-#define __NR_connect			(__NR_Linux +  41)
-#define __NR_accept			(__NR_Linux +  42)
-#define __NR_sendto			(__NR_Linux +  43)
-#define __NR_recvfrom			(__NR_Linux +  44)
-#define __NR_sendmsg			(__NR_Linux +  45)
-#define __NR_recvmsg			(__NR_Linux +  46)
-#define __NR_shutdown			(__NR_Linux +  47)
-#define __NR_bind			(__NR_Linux +  48)
-#define __NR_listen			(__NR_Linux +  49)
-#define __NR_getsockname		(__NR_Linux +  50)
-#define __NR_getpeername		(__NR_Linux +  51)
-#define __NR_socketpair			(__NR_Linux +  52)
-#define __NR_setsockopt			(__NR_Linux +  53)
-#define __NR_getsockopt			(__NR_Linux +  54)
-#define __NR_clone			(__NR_Linux +  55)
-#define __NR_fork			(__NR_Linux +  56)
-#define __NR_execve			(__NR_Linux +  57)
-#define __NR_exit			(__NR_Linux +  58)
-#define __NR_wait4			(__NR_Linux +  59)
-#define __NR_kill			(__NR_Linux +  60)
-#define __NR_uname			(__NR_Linux +  61)
-#define __NR_semget			(__NR_Linux +  62)
-#define __NR_semop			(__NR_Linux +  63)
-#define __NR_semctl			(__NR_Linux +  64)
-#define __NR_shmdt			(__NR_Linux +  65)
-#define __NR_msgget			(__NR_Linux +  66)
-#define __NR_msgsnd			(__NR_Linux +  67)
-#define __NR_msgrcv			(__NR_Linux +  68)
-#define __NR_msgctl			(__NR_Linux +  69)
-#define __NR_fcntl			(__NR_Linux +  70)
-#define __NR_flock			(__NR_Linux +  71)
-#define __NR_fsync			(__NR_Linux +  72)
-#define __NR_fdatasync			(__NR_Linux +  73)
-#define __NR_truncate			(__NR_Linux +  74)
-#define __NR_ftruncate			(__NR_Linux +  75)
-#define __NR_getdents			(__NR_Linux +  76)
-#define __NR_getcwd			(__NR_Linux +  77)
-#define __NR_chdir			(__NR_Linux +  78)
-#define __NR_fchdir			(__NR_Linux +  79)
-#define __NR_rename			(__NR_Linux +  80)
-#define __NR_mkdir			(__NR_Linux +  81)
-#define __NR_rmdir			(__NR_Linux +  82)
-#define __NR_creat			(__NR_Linux +  83)
-#define __NR_link			(__NR_Linux +  84)
-#define __NR_unlink			(__NR_Linux +  85)
-#define __NR_symlink			(__NR_Linux +  86)
-#define __NR_readlink			(__NR_Linux +  87)
-#define __NR_chmod			(__NR_Linux +  88)
-#define __NR_fchmod			(__NR_Linux +  89)
-#define __NR_chown			(__NR_Linux +  90)
-#define __NR_fchown			(__NR_Linux +  91)
-#define __NR_lchown			(__NR_Linux +  92)
-#define __NR_umask			(__NR_Linux +  93)
-#define __NR_gettimeofday		(__NR_Linux +  94)
-#define __NR_getrlimit			(__NR_Linux +  95)
-#define __NR_getrusage			(__NR_Linux +  96)
-#define __NR_sysinfo			(__NR_Linux +  97)
-#define __NR_times			(__NR_Linux +  98)
-#define __NR_ptrace			(__NR_Linux +  99)
-#define __NR_getuid			(__NR_Linux + 100)
-#define __NR_syslog			(__NR_Linux + 101)
-#define __NR_getgid			(__NR_Linux + 102)
-#define __NR_setuid			(__NR_Linux + 103)
-#define __NR_setgid			(__NR_Linux + 104)
-#define __NR_geteuid			(__NR_Linux + 105)
-#define __NR_getegid			(__NR_Linux + 106)
-#define __NR_setpgid			(__NR_Linux + 107)
-#define __NR_getppid			(__NR_Linux + 108)
-#define __NR_getpgrp			(__NR_Linux + 109)
-#define __NR_setsid			(__NR_Linux + 110)
-#define __NR_setreuid			(__NR_Linux + 111)
-#define __NR_setregid			(__NR_Linux + 112)
-#define __NR_getgroups			(__NR_Linux + 113)
-#define __NR_setgroups			(__NR_Linux + 114)
-#define __NR_setresuid			(__NR_Linux + 115)
-#define __NR_getresuid			(__NR_Linux + 116)
-#define __NR_setresgid			(__NR_Linux + 117)
-#define __NR_getresgid			(__NR_Linux + 118)
-#define __NR_getpgid			(__NR_Linux + 119)
-#define __NR_setfsuid			(__NR_Linux + 120)
-#define __NR_setfsgid			(__NR_Linux + 121)
-#define __NR_getsid			(__NR_Linux + 122)
-#define __NR_capget			(__NR_Linux + 123)
-#define __NR_capset			(__NR_Linux + 124)
-#define __NR_rt_sigpending		(__NR_Linux + 125)
-#define __NR_rt_sigtimedwait		(__NR_Linux + 126)
-#define __NR_rt_sigqueueinfo		(__NR_Linux + 127)
-#define __NR_rt_sigsuspend		(__NR_Linux + 128)
-#define __NR_sigaltstack		(__NR_Linux + 129)
-#define __NR_utime			(__NR_Linux + 130)
-#define __NR_mknod			(__NR_Linux + 131)
-#define __NR_personality		(__NR_Linux + 132)
-#define __NR_ustat			(__NR_Linux + 133)
-#define __NR_statfs			(__NR_Linux + 134)
-#define __NR_fstatfs			(__NR_Linux + 135)
-#define __NR_sysfs			(__NR_Linux + 136)
-#define __NR_getpriority		(__NR_Linux + 137)
-#define __NR_setpriority		(__NR_Linux + 138)
-#define __NR_sched_setparam		(__NR_Linux + 139)
-#define __NR_sched_getparam		(__NR_Linux + 140)
-#define __NR_sched_setscheduler		(__NR_Linux + 141)
-#define __NR_sched_getscheduler		(__NR_Linux + 142)
-#define __NR_sched_get_priority_max	(__NR_Linux + 143)
-#define __NR_sched_get_priority_min	(__NR_Linux + 144)
-#define __NR_sched_rr_get_interval	(__NR_Linux + 145)
-#define __NR_mlock			(__NR_Linux + 146)
-#define __NR_munlock			(__NR_Linux + 147)
-#define __NR_mlockall			(__NR_Linux + 148)
-#define __NR_munlockall			(__NR_Linux + 149)
-#define __NR_vhangup			(__NR_Linux + 150)
-#define __NR_pivot_root			(__NR_Linux + 151)
-#define __NR__sysctl			(__NR_Linux + 152)
-#define __NR_prctl			(__NR_Linux + 153)
-#define __NR_adjtimex			(__NR_Linux + 154)
-#define __NR_setrlimit			(__NR_Linux + 155)
-#define __NR_chroot			(__NR_Linux + 156)
-#define __NR_sync			(__NR_Linux + 157)
-#define __NR_acct			(__NR_Linux + 158)
-#define __NR_settimeofday		(__NR_Linux + 159)
-#define __NR_mount			(__NR_Linux + 160)
-#define __NR_umount2			(__NR_Linux + 161)
-#define __NR_swapon			(__NR_Linux + 162)
-#define __NR_swapoff			(__NR_Linux + 163)
-#define __NR_reboot			(__NR_Linux + 164)
-#define __NR_sethostname		(__NR_Linux + 165)
-#define __NR_setdomainname		(__NR_Linux + 166)
-#define __NR_create_module		(__NR_Linux + 167)
-#define __NR_init_module		(__NR_Linux + 168)
-#define __NR_delete_module		(__NR_Linux + 169)
-#define __NR_get_kernel_syms		(__NR_Linux + 170)
-#define __NR_query_module		(__NR_Linux + 171)
-#define __NR_quotactl			(__NR_Linux + 172)
-#define __NR_nfsservctl			(__NR_Linux + 173)
-#define __NR_getpmsg			(__NR_Linux + 174)
-#define __NR_putpmsg			(__NR_Linux + 175)
-#define __NR_afs_syscall		(__NR_Linux + 176)
-#define __NR_reserved177		(__NR_Linux + 177)
-#define __NR_gettid			(__NR_Linux + 178)
-#define __NR_readahead			(__NR_Linux + 179)
-#define __NR_setxattr			(__NR_Linux + 180)
-#define __NR_lsetxattr			(__NR_Linux + 181)
-#define __NR_fsetxattr			(__NR_Linux + 182)
-#define __NR_getxattr			(__NR_Linux + 183)
-#define __NR_lgetxattr			(__NR_Linux + 184)
-#define __NR_fgetxattr			(__NR_Linux + 185)
-#define __NR_listxattr			(__NR_Linux + 186)
-#define __NR_llistxattr			(__NR_Linux + 187)
-#define __NR_flistxattr			(__NR_Linux + 188)
-#define __NR_removexattr		(__NR_Linux + 189)
-#define __NR_lremovexattr		(__NR_Linux + 190)
-#define __NR_fremovexattr		(__NR_Linux + 191)
-#define __NR_tkill			(__NR_Linux + 192)
-#define __NR_reserved193		(__NR_Linux + 193)
-#define __NR_futex			(__NR_Linux + 194)
-#define __NR_sched_setaffinity		(__NR_Linux + 195)
-#define __NR_sched_getaffinity		(__NR_Linux + 196)
-#define __NR_cacheflush			(__NR_Linux + 197)
-#define __NR_cachectl			(__NR_Linux + 198)
-#define __NR_sysmips			(__NR_Linux + 199)
-#define __NR_io_setup			(__NR_Linux + 200)
-#define __NR_io_destroy			(__NR_Linux + 201)
-#define __NR_io_getevents		(__NR_Linux + 202)
-#define __NR_io_submit			(__NR_Linux + 203)
-#define __NR_io_cancel			(__NR_Linux + 204)
-#define __NR_exit_group			(__NR_Linux + 205)
-#define __NR_lookup_dcookie		(__NR_Linux + 206)
-#define __NR_epoll_create		(__NR_Linux + 207)
-#define __NR_epoll_ctl			(__NR_Linux + 208)
-#define __NR_epoll_wait			(__NR_Linux + 209)
-#define __NR_remap_file_pages		(__NR_Linux + 210)
-#define __NR_rt_sigreturn		(__NR_Linux + 211)
-#define __NR_set_tid_address		(__NR_Linux + 212)
-#define __NR_restart_syscall		(__NR_Linux + 213)
-#define __NR_semtimedop			(__NR_Linux + 214)
-#define __NR_fadvise64			(__NR_Linux + 215)
-#define __NR_timer_create		(__NR_Linux + 216)
-#define __NR_timer_settime		(__NR_Linux + 217)
-#define __NR_timer_gettime		(__NR_Linux + 218)
-#define __NR_timer_getoverrun		(__NR_Linux + 219)
-#define __NR_timer_delete		(__NR_Linux + 220)
-#define __NR_clock_settime		(__NR_Linux + 221)
-#define __NR_clock_gettime		(__NR_Linux + 222)
-#define __NR_clock_getres		(__NR_Linux + 223)
-#define __NR_clock_nanosleep		(__NR_Linux + 224)
-#define __NR_tgkill			(__NR_Linux + 225)
-#define __NR_utimes			(__NR_Linux + 226)
-#define __NR_mbind			(__NR_Linux + 227)
-#define __NR_get_mempolicy		(__NR_Linux + 228)
-#define __NR_set_mempolicy		(__NR_Linux + 229)
-#define __NR_mq_open			(__NR_Linux + 230)
-#define __NR_mq_unlink			(__NR_Linux + 231)
-#define __NR_mq_timedsend		(__NR_Linux + 232)
-#define __NR_mq_timedreceive		(__NR_Linux + 233)
-#define __NR_mq_notify			(__NR_Linux + 234)
-#define __NR_mq_getsetattr		(__NR_Linux + 235)
-#define __NR_vserver			(__NR_Linux + 236)
-#define __NR_waitid			(__NR_Linux + 237)
-/* #define __NR_sys_setaltroot		(__NR_Linux + 238) */
-#define __NR_add_key			(__NR_Linux + 239)
-#define __NR_request_key		(__NR_Linux + 240)
-#define __NR_keyctl			(__NR_Linux + 241)
-#define __NR_set_thread_area		(__NR_Linux + 242)
-#define __NR_inotify_init		(__NR_Linux + 243)
-#define __NR_inotify_add_watch		(__NR_Linux + 244)
-#define __NR_inotify_rm_watch		(__NR_Linux + 245)
-#define __NR_migrate_pages		(__NR_Linux + 246)
-#define __NR_openat			(__NR_Linux + 247)
-#define __NR_mkdirat			(__NR_Linux + 248)
-#define __NR_mknodat			(__NR_Linux + 249)
-#define __NR_fchownat			(__NR_Linux + 250)
-#define __NR_futimesat			(__NR_Linux + 251)
-#define __NR_newfstatat			(__NR_Linux + 252)
-#define __NR_unlinkat			(__NR_Linux + 253)
-#define __NR_renameat			(__NR_Linux + 254)
-#define __NR_linkat			(__NR_Linux + 255)
-#define __NR_symlinkat			(__NR_Linux + 256)
-#define __NR_readlinkat			(__NR_Linux + 257)
-#define __NR_fchmodat			(__NR_Linux + 258)
-#define __NR_faccessat			(__NR_Linux + 259)
-#define __NR_pselect6			(__NR_Linux + 260)
-#define __NR_ppoll			(__NR_Linux + 261)
-#define __NR_unshare			(__NR_Linux + 262)
-#define __NR_splice			(__NR_Linux + 263)
-#define __NR_sync_file_range		(__NR_Linux + 264)
-#define __NR_tee			(__NR_Linux + 265)
-#define __NR_vmsplice			(__NR_Linux + 266)
-#define __NR_move_pages			(__NR_Linux + 267)
-#define __NR_set_robust_list		(__NR_Linux + 268)
-#define __NR_get_robust_list		(__NR_Linux + 269)
-#define __NR_kexec_load			(__NR_Linux + 270)
-#define __NR_getcpu			(__NR_Linux + 271)
-#define __NR_epoll_pwait		(__NR_Linux + 272)
-#define __NR_ioprio_set			(__NR_Linux + 273)
-#define __NR_ioprio_get			(__NR_Linux + 274)
-#define __NR_utimensat			(__NR_Linux + 275)
-#define __NR_signalfd			(__NR_Linux + 276)
-#define __NR_timerfd			(__NR_Linux + 277)
-#define __NR_eventfd			(__NR_Linux + 278)
-#define __NR_fallocate			(__NR_Linux + 279)
-#define __NR_timerfd_create		(__NR_Linux + 280)
-#define __NR_timerfd_gettime		(__NR_Linux + 281)
-#define __NR_timerfd_settime		(__NR_Linux + 282)
-#define __NR_signalfd4			(__NR_Linux + 283)
-#define __NR_eventfd2			(__NR_Linux + 284)
-#define __NR_epoll_create1		(__NR_Linux + 285)
-#define __NR_dup3			(__NR_Linux + 286)
-#define __NR_pipe2			(__NR_Linux + 287)
-#define __NR_inotify_init1		(__NR_Linux + 288)
-#define __NR_preadv			(__NR_Linux + 289)
-#define __NR_pwritev			(__NR_Linux + 290)
-#define __NR_rt_tgsigqueueinfo		(__NR_Linux + 291)
-#define __NR_perf_event_open		(__NR_Linux + 292)
-#define __NR_accept4			(__NR_Linux + 293)
-#define __NR_recvmmsg			(__NR_Linux + 294)
-#define __NR_fanotify_init		(__NR_Linux + 295)
-#define __NR_fanotify_mark		(__NR_Linux + 296)
-#define __NR_prlimit64			(__NR_Linux + 297)
-#define __NR_name_to_handle_at		(__NR_Linux + 298)
-#define __NR_open_by_handle_at		(__NR_Linux + 299)
-#define __NR_clock_adjtime		(__NR_Linux + 300)
-#define __NR_syncfs			(__NR_Linux + 301)
-#define __NR_sendmmsg			(__NR_Linux + 302)
-#define __NR_setns			(__NR_Linux + 303)
-#define __NR_process_vm_readv		(__NR_Linux + 304)
-#define __NR_process_vm_writev		(__NR_Linux + 305)
-#define __NR_kcmp			(__NR_Linux + 306)
-#define __NR_finit_module		(__NR_Linux + 307)
-#define __NR_getdents64			(__NR_Linux + 308)
-#define __NR_sched_setattr		(__NR_Linux + 309)
-#define __NR_sched_getattr		(__NR_Linux + 310)
-#define __NR_renameat2			(__NR_Linux + 311)
-#define __NR_seccomp			(__NR_Linux + 312)
-#define __NR_getrandom			(__NR_Linux + 313)
-#define __NR_memfd_create		(__NR_Linux + 314)
-#define __NR_bpf			(__NR_Linux + 315)
-#define __NR_execveat			(__NR_Linux + 316)
-#define __NR_userfaultfd		(__NR_Linux + 317)
-#define __NR_membarrier			(__NR_Linux + 318)
-#define __NR_mlock2			(__NR_Linux + 319)
-#define __NR_copy_file_range		(__NR_Linux + 320)
-#define __NR_preadv2			(__NR_Linux + 321)
-#define __NR_pwritev2			(__NR_Linux + 322)
-#define __NR_pkey_mprotect		(__NR_Linux + 323)
-#define __NR_pkey_alloc			(__NR_Linux + 324)
-#define __NR_pkey_free			(__NR_Linux + 325)
-#define __NR_statx			(__NR_Linux + 326)
-#define __NR_rseq			(__NR_Linux + 327)
-#define __NR_io_pgetevents		(__NR_Linux + 328)
-
-/*
- * Offset of the last Linux 64-bit flavoured syscall
- */
-#define __NR_Linux_syscalls		328
-
-#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
-
-#define __NR_64_Linux			5000
-#define __NR_64_Linux_syscalls		328
-
-#if _MIPS_SIM == _MIPS_SIM_NABI32
-
-/*
- * Linux N32 syscalls are in the range from 6000 to 6999.
- */
-#define __NR_Linux			6000
-#define __NR_read			(__NR_Linux +	0)
-#define __NR_write			(__NR_Linux +	1)
-#define __NR_open			(__NR_Linux +	2)
-#define __NR_close			(__NR_Linux +	3)
-#define __NR_stat			(__NR_Linux +	4)
-#define __NR_fstat			(__NR_Linux +	5)
-#define __NR_lstat			(__NR_Linux +	6)
-#define __NR_poll			(__NR_Linux +	7)
-#define __NR_lseek			(__NR_Linux +	8)
-#define __NR_mmap			(__NR_Linux +	9)
-#define __NR_mprotect			(__NR_Linux +  10)
-#define __NR_munmap			(__NR_Linux +  11)
-#define __NR_brk			(__NR_Linux +  12)
-#define __NR_rt_sigaction		(__NR_Linux +  13)
-#define __NR_rt_sigprocmask		(__NR_Linux +  14)
-#define __NR_ioctl			(__NR_Linux +  15)
-#define __NR_pread64			(__NR_Linux +  16)
-#define __NR_pwrite64			(__NR_Linux +  17)
-#define __NR_readv			(__NR_Linux +  18)
-#define __NR_writev			(__NR_Linux +  19)
-#define __NR_access			(__NR_Linux +  20)
-#define __NR_pipe			(__NR_Linux +  21)
-#define __NR__newselect			(__NR_Linux +  22)
-#define __NR_sched_yield		(__NR_Linux +  23)
-#define __NR_mremap			(__NR_Linux +  24)
-#define __NR_msync			(__NR_Linux +  25)
-#define __NR_mincore			(__NR_Linux +  26)
-#define __NR_madvise			(__NR_Linux +  27)
-#define __NR_shmget			(__NR_Linux +  28)
-#define __NR_shmat			(__NR_Linux +  29)
-#define __NR_shmctl			(__NR_Linux +  30)
-#define __NR_dup			(__NR_Linux +  31)
-#define __NR_dup2			(__NR_Linux +  32)
-#define __NR_pause			(__NR_Linux +  33)
-#define __NR_nanosleep			(__NR_Linux +  34)
-#define __NR_getitimer			(__NR_Linux +  35)
-#define __NR_setitimer			(__NR_Linux +  36)
-#define __NR_alarm			(__NR_Linux +  37)
-#define __NR_getpid			(__NR_Linux +  38)
-#define __NR_sendfile			(__NR_Linux +  39)
-#define __NR_socket			(__NR_Linux +  40)
-#define __NR_connect			(__NR_Linux +  41)
-#define __NR_accept			(__NR_Linux +  42)
-#define __NR_sendto			(__NR_Linux +  43)
-#define __NR_recvfrom			(__NR_Linux +  44)
-#define __NR_sendmsg			(__NR_Linux +  45)
-#define __NR_recvmsg			(__NR_Linux +  46)
-#define __NR_shutdown			(__NR_Linux +  47)
-#define __NR_bind			(__NR_Linux +  48)
-#define __NR_listen			(__NR_Linux +  49)
-#define __NR_getsockname		(__NR_Linux +  50)
-#define __NR_getpeername		(__NR_Linux +  51)
-#define __NR_socketpair			(__NR_Linux +  52)
-#define __NR_setsockopt			(__NR_Linux +  53)
-#define __NR_getsockopt			(__NR_Linux +  54)
-#define __NR_clone			(__NR_Linux +  55)
-#define __NR_fork			(__NR_Linux +  56)
-#define __NR_execve			(__NR_Linux +  57)
-#define __NR_exit			(__NR_Linux +  58)
-#define __NR_wait4			(__NR_Linux +  59)
-#define __NR_kill			(__NR_Linux +  60)
-#define __NR_uname			(__NR_Linux +  61)
-#define __NR_semget			(__NR_Linux +  62)
-#define __NR_semop			(__NR_Linux +  63)
-#define __NR_semctl			(__NR_Linux +  64)
-#define __NR_shmdt			(__NR_Linux +  65)
-#define __NR_msgget			(__NR_Linux +  66)
-#define __NR_msgsnd			(__NR_Linux +  67)
-#define __NR_msgrcv			(__NR_Linux +  68)
-#define __NR_msgctl			(__NR_Linux +  69)
-#define __NR_fcntl			(__NR_Linux +  70)
-#define __NR_flock			(__NR_Linux +  71)
-#define __NR_fsync			(__NR_Linux +  72)
-#define __NR_fdatasync			(__NR_Linux +  73)
-#define __NR_truncate			(__NR_Linux +  74)
-#define __NR_ftruncate			(__NR_Linux +  75)
-#define __NR_getdents			(__NR_Linux +  76)
-#define __NR_getcwd			(__NR_Linux +  77)
-#define __NR_chdir			(__NR_Linux +  78)
-#define __NR_fchdir			(__NR_Linux +  79)
-#define __NR_rename			(__NR_Linux +  80)
-#define __NR_mkdir			(__NR_Linux +  81)
-#define __NR_rmdir			(__NR_Linux +  82)
-#define __NR_creat			(__NR_Linux +  83)
-#define __NR_link			(__NR_Linux +  84)
-#define __NR_unlink			(__NR_Linux +  85)
-#define __NR_symlink			(__NR_Linux +  86)
-#define __NR_readlink			(__NR_Linux +  87)
-#define __NR_chmod			(__NR_Linux +  88)
-#define __NR_fchmod			(__NR_Linux +  89)
-#define __NR_chown			(__NR_Linux +  90)
-#define __NR_fchown			(__NR_Linux +  91)
-#define __NR_lchown			(__NR_Linux +  92)
-#define __NR_umask			(__NR_Linux +  93)
-#define __NR_gettimeofday		(__NR_Linux +  94)
-#define __NR_getrlimit			(__NR_Linux +  95)
-#define __NR_getrusage			(__NR_Linux +  96)
-#define __NR_sysinfo			(__NR_Linux +  97)
-#define __NR_times			(__NR_Linux +  98)
-#define __NR_ptrace			(__NR_Linux +  99)
-#define __NR_getuid			(__NR_Linux + 100)
-#define __NR_syslog			(__NR_Linux + 101)
-#define __NR_getgid			(__NR_Linux + 102)
-#define __NR_setuid			(__NR_Linux + 103)
-#define __NR_setgid			(__NR_Linux + 104)
-#define __NR_geteuid			(__NR_Linux + 105)
-#define __NR_getegid			(__NR_Linux + 106)
-#define __NR_setpgid			(__NR_Linux + 107)
-#define __NR_getppid			(__NR_Linux + 108)
-#define __NR_getpgrp			(__NR_Linux + 109)
-#define __NR_setsid			(__NR_Linux + 110)
-#define __NR_setreuid			(__NR_Linux + 111)
-#define __NR_setregid			(__NR_Linux + 112)
-#define __NR_getgroups			(__NR_Linux + 113)
-#define __NR_setgroups			(__NR_Linux + 114)
-#define __NR_setresuid			(__NR_Linux + 115)
-#define __NR_getresuid			(__NR_Linux + 116)
-#define __NR_setresgid			(__NR_Linux + 117)
-#define __NR_getresgid			(__NR_Linux + 118)
-#define __NR_getpgid			(__NR_Linux + 119)
-#define __NR_setfsuid			(__NR_Linux + 120)
-#define __NR_setfsgid			(__NR_Linux + 121)
-#define __NR_getsid			(__NR_Linux + 122)
-#define __NR_capget			(__NR_Linux + 123)
-#define __NR_capset			(__NR_Linux + 124)
-#define __NR_rt_sigpending		(__NR_Linux + 125)
-#define __NR_rt_sigtimedwait		(__NR_Linux + 126)
-#define __NR_rt_sigqueueinfo		(__NR_Linux + 127)
-#define __NR_rt_sigsuspend		(__NR_Linux + 128)
-#define __NR_sigaltstack		(__NR_Linux + 129)
-#define __NR_utime			(__NR_Linux + 130)
-#define __NR_mknod			(__NR_Linux + 131)
-#define __NR_personality		(__NR_Linux + 132)
-#define __NR_ustat			(__NR_Linux + 133)
-#define __NR_statfs			(__NR_Linux + 134)
-#define __NR_fstatfs			(__NR_Linux + 135)
-#define __NR_sysfs			(__NR_Linux + 136)
-#define __NR_getpriority		(__NR_Linux + 137)
-#define __NR_setpriority		(__NR_Linux + 138)
-#define __NR_sched_setparam		(__NR_Linux + 139)
-#define __NR_sched_getparam		(__NR_Linux + 140)
-#define __NR_sched_setscheduler		(__NR_Linux + 141)
-#define __NR_sched_getscheduler		(__NR_Linux + 142)
-#define __NR_sched_get_priority_max	(__NR_Linux + 143)
-#define __NR_sched_get_priority_min	(__NR_Linux + 144)
-#define __NR_sched_rr_get_interval	(__NR_Linux + 145)
-#define __NR_mlock			(__NR_Linux + 146)
-#define __NR_munlock			(__NR_Linux + 147)
-#define __NR_mlockall			(__NR_Linux + 148)
-#define __NR_munlockall			(__NR_Linux + 149)
-#define __NR_vhangup			(__NR_Linux + 150)
-#define __NR_pivot_root			(__NR_Linux + 151)
-#define __NR__sysctl			(__NR_Linux + 152)
-#define __NR_prctl			(__NR_Linux + 153)
-#define __NR_adjtimex			(__NR_Linux + 154)
-#define __NR_setrlimit			(__NR_Linux + 155)
-#define __NR_chroot			(__NR_Linux + 156)
-#define __NR_sync			(__NR_Linux + 157)
-#define __NR_acct			(__NR_Linux + 158)
-#define __NR_settimeofday		(__NR_Linux + 159)
-#define __NR_mount			(__NR_Linux + 160)
-#define __NR_umount2			(__NR_Linux + 161)
-#define __NR_swapon			(__NR_Linux + 162)
-#define __NR_swapoff			(__NR_Linux + 163)
-#define __NR_reboot			(__NR_Linux + 164)
-#define __NR_sethostname		(__NR_Linux + 165)
-#define __NR_setdomainname		(__NR_Linux + 166)
-#define __NR_create_module		(__NR_Linux + 167)
-#define __NR_init_module		(__NR_Linux + 168)
-#define __NR_delete_module		(__NR_Linux + 169)
-#define __NR_get_kernel_syms		(__NR_Linux + 170)
-#define __NR_query_module		(__NR_Linux + 171)
-#define __NR_quotactl			(__NR_Linux + 172)
-#define __NR_nfsservctl			(__NR_Linux + 173)
-#define __NR_getpmsg			(__NR_Linux + 174)
-#define __NR_putpmsg			(__NR_Linux + 175)
-#define __NR_afs_syscall		(__NR_Linux + 176)
-#define __NR_reserved177		(__NR_Linux + 177)
-#define __NR_gettid			(__NR_Linux + 178)
-#define __NR_readahead			(__NR_Linux + 179)
-#define __NR_setxattr			(__NR_Linux + 180)
-#define __NR_lsetxattr			(__NR_Linux + 181)
-#define __NR_fsetxattr			(__NR_Linux + 182)
-#define __NR_getxattr			(__NR_Linux + 183)
-#define __NR_lgetxattr			(__NR_Linux + 184)
-#define __NR_fgetxattr			(__NR_Linux + 185)
-#define __NR_listxattr			(__NR_Linux + 186)
-#define __NR_llistxattr			(__NR_Linux + 187)
-#define __NR_flistxattr			(__NR_Linux + 188)
-#define __NR_removexattr		(__NR_Linux + 189)
-#define __NR_lremovexattr		(__NR_Linux + 190)
-#define __NR_fremovexattr		(__NR_Linux + 191)
-#define __NR_tkill			(__NR_Linux + 192)
-#define __NR_reserved193		(__NR_Linux + 193)
-#define __NR_futex			(__NR_Linux + 194)
-#define __NR_sched_setaffinity		(__NR_Linux + 195)
-#define __NR_sched_getaffinity		(__NR_Linux + 196)
-#define __NR_cacheflush			(__NR_Linux + 197)
-#define __NR_cachectl			(__NR_Linux + 198)
-#define __NR_sysmips			(__NR_Linux + 199)
-#define __NR_io_setup			(__NR_Linux + 200)
-#define __NR_io_destroy			(__NR_Linux + 201)
-#define __NR_io_getevents		(__NR_Linux + 202)
-#define __NR_io_submit			(__NR_Linux + 203)
-#define __NR_io_cancel			(__NR_Linux + 204)
-#define __NR_exit_group			(__NR_Linux + 205)
-#define __NR_lookup_dcookie		(__NR_Linux + 206)
-#define __NR_epoll_create		(__NR_Linux + 207)
-#define __NR_epoll_ctl			(__NR_Linux + 208)
-#define __NR_epoll_wait			(__NR_Linux + 209)
-#define __NR_remap_file_pages		(__NR_Linux + 210)
-#define __NR_rt_sigreturn		(__NR_Linux + 211)
-#define __NR_fcntl64			(__NR_Linux + 212)
-#define __NR_set_tid_address		(__NR_Linux + 213)
-#define __NR_restart_syscall		(__NR_Linux + 214)
-#define __NR_semtimedop			(__NR_Linux + 215)
-#define __NR_fadvise64			(__NR_Linux + 216)
-#define __NR_statfs64			(__NR_Linux + 217)
-#define __NR_fstatfs64			(__NR_Linux + 218)
-#define __NR_sendfile64			(__NR_Linux + 219)
-#define __NR_timer_create		(__NR_Linux + 220)
-#define __NR_timer_settime		(__NR_Linux + 221)
-#define __NR_timer_gettime		(__NR_Linux + 222)
-#define __NR_timer_getoverrun		(__NR_Linux + 223)
-#define __NR_timer_delete		(__NR_Linux + 224)
-#define __NR_clock_settime		(__NR_Linux + 225)
-#define __NR_clock_gettime		(__NR_Linux + 226)
-#define __NR_clock_getres		(__NR_Linux + 227)
-#define __NR_clock_nanosleep		(__NR_Linux + 228)
-#define __NR_tgkill			(__NR_Linux + 229)
-#define __NR_utimes			(__NR_Linux + 230)
-#define __NR_mbind			(__NR_Linux + 231)
-#define __NR_get_mempolicy		(__NR_Linux + 232)
-#define __NR_set_mempolicy		(__NR_Linux + 233)
-#define __NR_mq_open			(__NR_Linux + 234)
-#define __NR_mq_unlink			(__NR_Linux + 235)
-#define __NR_mq_timedsend		(__NR_Linux + 236)
-#define __NR_mq_timedreceive		(__NR_Linux + 237)
-#define __NR_mq_notify			(__NR_Linux + 238)
-#define __NR_mq_getsetattr		(__NR_Linux + 239)
-#define __NR_vserver			(__NR_Linux + 240)
-#define __NR_waitid			(__NR_Linux + 241)
-/* #define __NR_sys_setaltroot		(__NR_Linux + 242) */
-#define __NR_add_key			(__NR_Linux + 243)
-#define __NR_request_key		(__NR_Linux + 244)
-#define __NR_keyctl			(__NR_Linux + 245)
-#define __NR_set_thread_area		(__NR_Linux + 246)
-#define __NR_inotify_init		(__NR_Linux + 247)
-#define __NR_inotify_add_watch		(__NR_Linux + 248)
-#define __NR_inotify_rm_watch		(__NR_Linux + 249)
-#define __NR_migrate_pages		(__NR_Linux + 250)
-#define __NR_openat			(__NR_Linux + 251)
-#define __NR_mkdirat			(__NR_Linux + 252)
-#define __NR_mknodat			(__NR_Linux + 253)
-#define __NR_fchownat			(__NR_Linux + 254)
-#define __NR_futimesat			(__NR_Linux + 255)
-#define __NR_newfstatat			(__NR_Linux + 256)
-#define __NR_unlinkat			(__NR_Linux + 257)
-#define __NR_renameat			(__NR_Linux + 258)
-#define __NR_linkat			(__NR_Linux + 259)
-#define __NR_symlinkat			(__NR_Linux + 260)
-#define __NR_readlinkat			(__NR_Linux + 261)
-#define __NR_fchmodat			(__NR_Linux + 262)
-#define __NR_faccessat			(__NR_Linux + 263)
-#define __NR_pselect6			(__NR_Linux + 264)
-#define __NR_ppoll			(__NR_Linux + 265)
-#define __NR_unshare			(__NR_Linux + 266)
-#define __NR_splice			(__NR_Linux + 267)
-#define __NR_sync_file_range		(__NR_Linux + 268)
-#define __NR_tee			(__NR_Linux + 269)
-#define __NR_vmsplice			(__NR_Linux + 270)
-#define __NR_move_pages			(__NR_Linux + 271)
-#define __NR_set_robust_list		(__NR_Linux + 272)
-#define __NR_get_robust_list		(__NR_Linux + 273)
-#define __NR_kexec_load			(__NR_Linux + 274)
-#define __NR_getcpu			(__NR_Linux + 275)
-#define __NR_epoll_pwait		(__NR_Linux + 276)
-#define __NR_ioprio_set			(__NR_Linux + 277)
-#define __NR_ioprio_get			(__NR_Linux + 278)
-#define __NR_utimensat			(__NR_Linux + 279)
-#define __NR_signalfd			(__NR_Linux + 280)
-#define __NR_timerfd			(__NR_Linux + 281)
-#define __NR_eventfd			(__NR_Linux + 282)
-#define __NR_fallocate			(__NR_Linux + 283)
-#define __NR_timerfd_create		(__NR_Linux + 284)
-#define __NR_timerfd_gettime		(__NR_Linux + 285)
-#define __NR_timerfd_settime		(__NR_Linux + 286)
-#define __NR_signalfd4			(__NR_Linux + 287)
-#define __NR_eventfd2			(__NR_Linux + 288)
-#define __NR_epoll_create1		(__NR_Linux + 289)
-#define __NR_dup3			(__NR_Linux + 290)
-#define __NR_pipe2			(__NR_Linux + 291)
-#define __NR_inotify_init1		(__NR_Linux + 292)
-#define __NR_preadv			(__NR_Linux + 293)
-#define __NR_pwritev			(__NR_Linux + 294)
-#define __NR_rt_tgsigqueueinfo		(__NR_Linux + 295)
-#define __NR_perf_event_open		(__NR_Linux + 296)
-#define __NR_accept4			(__NR_Linux + 297)
-#define __NR_recvmmsg			(__NR_Linux + 298)
-#define __NR_getdents64			(__NR_Linux + 299)
-#define __NR_fanotify_init		(__NR_Linux + 300)
-#define __NR_fanotify_mark		(__NR_Linux + 301)
-#define __NR_prlimit64			(__NR_Linux + 302)
-#define __NR_name_to_handle_at		(__NR_Linux + 303)
-#define __NR_open_by_handle_at		(__NR_Linux + 304)
-#define __NR_clock_adjtime		(__NR_Linux + 305)
-#define __NR_syncfs			(__NR_Linux + 306)
-#define __NR_sendmmsg			(__NR_Linux + 307)
-#define __NR_setns			(__NR_Linux + 308)
-#define __NR_process_vm_readv		(__NR_Linux + 309)
-#define __NR_process_vm_writev		(__NR_Linux + 310)
-#define __NR_kcmp			(__NR_Linux + 311)
-#define __NR_finit_module		(__NR_Linux + 312)
-#define __NR_sched_setattr		(__NR_Linux + 313)
-#define __NR_sched_getattr		(__NR_Linux + 314)
-#define __NR_renameat2			(__NR_Linux + 315)
-#define __NR_seccomp			(__NR_Linux + 316)
-#define __NR_getrandom			(__NR_Linux + 317)
-#define __NR_memfd_create		(__NR_Linux + 318)
-#define __NR_bpf			(__NR_Linux + 319)
-#define __NR_execveat			(__NR_Linux + 320)
-#define __NR_userfaultfd		(__NR_Linux + 321)
-#define __NR_membarrier			(__NR_Linux + 322)
-#define __NR_mlock2			(__NR_Linux + 323)
-#define __NR_copy_file_range		(__NR_Linux + 324)
-#define __NR_preadv2			(__NR_Linux + 325)
-#define __NR_pwritev2			(__NR_Linux + 326)
-#define __NR_pkey_mprotect		(__NR_Linux + 327)
-#define __NR_pkey_alloc			(__NR_Linux + 328)
-#define __NR_pkey_free			(__NR_Linux + 329)
-#define __NR_statx			(__NR_Linux + 330)
-#define __NR_rseq			(__NR_Linux + 331)
-#define __NR_io_pgetevents		(__NR_Linux + 332)
-
-/*
- * Offset of the last N32 flavoured syscall
- */
-#define __NR_Linux_syscalls		332
-
-#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
-
-#define __NR_N32_Linux			6000
-#define __NR_N32_Linux_syscalls		332
-
-#endif /* _UAPI_ASM_UNISTD_H */
diff --git a/libc/include/mips64el-linux-gnuabin32/asm/sgidefs.h b/libc/include/mips64el-linux-gnuabin32/asm/sgidefs.h
deleted file mode 100644
index 26143e3b7c..0000000000
--- a/libc/include/mips64el-linux-gnuabin32/asm/sgidefs.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 1996, 1999, 2001 Ralf Baechle
- * Copyright (C) 1999 Silicon Graphics, Inc.
- * Copyright (C) 2001 MIPS Technologies, Inc.
- */
-#ifndef __ASM_SGIDEFS_H
-#define __ASM_SGIDEFS_H
-
-/*
- * Using a Linux compiler for building Linux seems logic but not to
- * everybody.
- */
-#ifndef __linux__
-#error Use a Linux compiler or give up.
-#endif
-
-/*
- * Definitions for the ISA levels
- *
- * With the introduction of MIPS32 / MIPS64 instruction sets definitions
- * MIPS ISAs are no longer subsets of each other.  Therefore comparisons
- * on these symbols except with == may result in unexpected results and
- * are forbidden!
- */
-#define _MIPS_ISA_MIPS1		1
-#define _MIPS_ISA_MIPS2		2
-#define _MIPS_ISA_MIPS3		3
-#define _MIPS_ISA_MIPS4		4
-#define _MIPS_ISA_MIPS5		5
-#define _MIPS_ISA_MIPS32	6
-#define _MIPS_ISA_MIPS64	7
-
-/*
- * Subprogram calling convention
- */
-#define _MIPS_SIM_ABI32		1
-#define _MIPS_SIM_NABI32	2
-#define _MIPS_SIM_ABI64		3
-
-#endif /* __ASM_SGIDEFS_H */
diff --git a/libc/include/mips64el-linux-gnuabin32/asm/unistd.h b/libc/include/mips64el-linux-gnuabin32/asm/unistd.h
deleted file mode 100644
index f25dd1d83f..0000000000
--- a/libc/include/mips64el-linux-gnuabin32/asm/unistd.h
+++ /dev/null
@@ -1,1101 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 1995, 96, 97, 98, 99, 2000 by Ralf Baechle
- * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
- *
- * Changed system calls macros _syscall5 - _syscall7 to push args 5 to 7 onto
- * the stack. Robin Farine for ACN S.A, Copyright (C) 1996 by ACN S.A
- */
-#ifndef _UAPI_ASM_UNISTD_H
-#define _UAPI_ASM_UNISTD_H
-
-#include 
-
-#if _MIPS_SIM == _MIPS_SIM_ABI32
-
-/*
- * Linux o32 style syscalls are in the range from 4000 to 4999.
- */
-#define __NR_Linux			4000
-#define __NR_syscall			(__NR_Linux +	0)
-#define __NR_exit			(__NR_Linux +	1)
-#define __NR_fork			(__NR_Linux +	2)
-#define __NR_read			(__NR_Linux +	3)
-#define __NR_write			(__NR_Linux +	4)
-#define __NR_open			(__NR_Linux +	5)
-#define __NR_close			(__NR_Linux +	6)
-#define __NR_waitpid			(__NR_Linux +	7)
-#define __NR_creat			(__NR_Linux +	8)
-#define __NR_link			(__NR_Linux +	9)
-#define __NR_unlink			(__NR_Linux +  10)
-#define __NR_execve			(__NR_Linux +  11)
-#define __NR_chdir			(__NR_Linux +  12)
-#define __NR_time			(__NR_Linux +  13)
-#define __NR_mknod			(__NR_Linux +  14)
-#define __NR_chmod			(__NR_Linux +  15)
-#define __NR_lchown			(__NR_Linux +  16)
-#define __NR_break			(__NR_Linux +  17)
-#define __NR_unused18			(__NR_Linux +  18)
-#define __NR_lseek			(__NR_Linux +  19)
-#define __NR_getpid			(__NR_Linux +  20)
-#define __NR_mount			(__NR_Linux +  21)
-#define __NR_umount			(__NR_Linux +  22)
-#define __NR_setuid			(__NR_Linux +  23)
-#define __NR_getuid			(__NR_Linux +  24)
-#define __NR_stime			(__NR_Linux +  25)
-#define __NR_ptrace			(__NR_Linux +  26)
-#define __NR_alarm			(__NR_Linux +  27)
-#define __NR_unused28			(__NR_Linux +  28)
-#define __NR_pause			(__NR_Linux +  29)
-#define __NR_utime			(__NR_Linux +  30)
-#define __NR_stty			(__NR_Linux +  31)
-#define __NR_gtty			(__NR_Linux +  32)
-#define __NR_access			(__NR_Linux +  33)
-#define __NR_nice			(__NR_Linux +  34)
-#define __NR_ftime			(__NR_Linux +  35)
-#define __NR_sync			(__NR_Linux +  36)
-#define __NR_kill			(__NR_Linux +  37)
-#define __NR_rename			(__NR_Linux +  38)
-#define __NR_mkdir			(__NR_Linux +  39)
-#define __NR_rmdir			(__NR_Linux +  40)
-#define __NR_dup			(__NR_Linux +  41)
-#define __NR_pipe			(__NR_Linux +  42)
-#define __NR_times			(__NR_Linux +  43)
-#define __NR_prof			(__NR_Linux +  44)
-#define __NR_brk			(__NR_Linux +  45)
-#define __NR_setgid			(__NR_Linux +  46)
-#define __NR_getgid			(__NR_Linux +  47)
-#define __NR_signal			(__NR_Linux +  48)
-#define __NR_geteuid			(__NR_Linux +  49)
-#define __NR_getegid			(__NR_Linux +  50)
-#define __NR_acct			(__NR_Linux +  51)
-#define __NR_umount2			(__NR_Linux +  52)
-#define __NR_lock			(__NR_Linux +  53)
-#define __NR_ioctl			(__NR_Linux +  54)
-#define __NR_fcntl			(__NR_Linux +  55)
-#define __NR_mpx			(__NR_Linux +  56)
-#define __NR_setpgid			(__NR_Linux +  57)
-#define __NR_ulimit			(__NR_Linux +  58)
-#define __NR_unused59			(__NR_Linux +  59)
-#define __NR_umask			(__NR_Linux +  60)
-#define __NR_chroot			(__NR_Linux +  61)
-#define __NR_ustat			(__NR_Linux +  62)
-#define __NR_dup2			(__NR_Linux +  63)
-#define __NR_getppid			(__NR_Linux +  64)
-#define __NR_getpgrp			(__NR_Linux +  65)
-#define __NR_setsid			(__NR_Linux +  66)
-#define __NR_sigaction			(__NR_Linux +  67)
-#define __NR_sgetmask			(__NR_Linux +  68)
-#define __NR_ssetmask			(__NR_Linux +  69)
-#define __NR_setreuid			(__NR_Linux +  70)
-#define __NR_setregid			(__NR_Linux +  71)
-#define __NR_sigsuspend			(__NR_Linux +  72)
-#define __NR_sigpending			(__NR_Linux +  73)
-#define __NR_sethostname		(__NR_Linux +  74)
-#define __NR_setrlimit			(__NR_Linux +  75)
-#define __NR_getrlimit			(__NR_Linux +  76)
-#define __NR_getrusage			(__NR_Linux +  77)
-#define __NR_gettimeofday		(__NR_Linux +  78)
-#define __NR_settimeofday		(__NR_Linux +  79)
-#define __NR_getgroups			(__NR_Linux +  80)
-#define __NR_setgroups			(__NR_Linux +  81)
-#define __NR_reserved82			(__NR_Linux +  82)
-#define __NR_symlink			(__NR_Linux +  83)
-#define __NR_unused84			(__NR_Linux +  84)
-#define __NR_readlink			(__NR_Linux +  85)
-#define __NR_uselib			(__NR_Linux +  86)
-#define __NR_swapon			(__NR_Linux +  87)
-#define __NR_reboot			(__NR_Linux +  88)
-#define __NR_readdir			(__NR_Linux +  89)
-#define __NR_mmap			(__NR_Linux +  90)
-#define __NR_munmap			(__NR_Linux +  91)
-#define __NR_truncate			(__NR_Linux +  92)
-#define __NR_ftruncate			(__NR_Linux +  93)
-#define __NR_fchmod			(__NR_Linux +  94)
-#define __NR_fchown			(__NR_Linux +  95)
-#define __NR_getpriority		(__NR_Linux +  96)
-#define __NR_setpriority		(__NR_Linux +  97)
-#define __NR_profil			(__NR_Linux +  98)
-#define __NR_statfs			(__NR_Linux +  99)
-#define __NR_fstatfs			(__NR_Linux + 100)
-#define __NR_ioperm			(__NR_Linux + 101)
-#define __NR_socketcall			(__NR_Linux + 102)
-#define __NR_syslog			(__NR_Linux + 103)
-#define __NR_setitimer			(__NR_Linux + 104)
-#define __NR_getitimer			(__NR_Linux + 105)
-#define __NR_stat			(__NR_Linux + 106)
-#define __NR_lstat			(__NR_Linux + 107)
-#define __NR_fstat			(__NR_Linux + 108)
-#define __NR_unused109			(__NR_Linux + 109)
-#define __NR_iopl			(__NR_Linux + 110)
-#define __NR_vhangup			(__NR_Linux + 111)
-#define __NR_idle			(__NR_Linux + 112)
-#define __NR_vm86			(__NR_Linux + 113)
-#define __NR_wait4			(__NR_Linux + 114)
-#define __NR_swapoff			(__NR_Linux + 115)
-#define __NR_sysinfo			(__NR_Linux + 116)
-#define __NR_ipc			(__NR_Linux + 117)
-#define __NR_fsync			(__NR_Linux + 118)
-#define __NR_sigreturn			(__NR_Linux + 119)
-#define __NR_clone			(__NR_Linux + 120)
-#define __NR_setdomainname		(__NR_Linux + 121)
-#define __NR_uname			(__NR_Linux + 122)
-#define __NR_modify_ldt			(__NR_Linux + 123)
-#define __NR_adjtimex			(__NR_Linux + 124)
-#define __NR_mprotect			(__NR_Linux + 125)
-#define __NR_sigprocmask		(__NR_Linux + 126)
-#define __NR_create_module		(__NR_Linux + 127)
-#define __NR_init_module		(__NR_Linux + 128)
-#define __NR_delete_module		(__NR_Linux + 129)
-#define __NR_get_kernel_syms		(__NR_Linux + 130)
-#define __NR_quotactl			(__NR_Linux + 131)
-#define __NR_getpgid			(__NR_Linux + 132)
-#define __NR_fchdir			(__NR_Linux + 133)
-#define __NR_bdflush			(__NR_Linux + 134)
-#define __NR_sysfs			(__NR_Linux + 135)
-#define __NR_personality		(__NR_Linux + 136)
-#define __NR_afs_syscall		(__NR_Linux + 137) /* Syscall for Andrew File System */
-#define __NR_setfsuid			(__NR_Linux + 138)
-#define __NR_setfsgid			(__NR_Linux + 139)
-#define __NR__llseek			(__NR_Linux + 140)
-#define __NR_getdents			(__NR_Linux + 141)
-#define __NR__newselect			(__NR_Linux + 142)
-#define __NR_flock			(__NR_Linux + 143)
-#define __NR_msync			(__NR_Linux + 144)
-#define __NR_readv			(__NR_Linux + 145)
-#define __NR_writev			(__NR_Linux + 146)
-#define __NR_cacheflush			(__NR_Linux + 147)
-#define __NR_cachectl			(__NR_Linux + 148)
-#define __NR_sysmips			(__NR_Linux + 149)
-#define __NR_unused150			(__NR_Linux + 150)
-#define __NR_getsid			(__NR_Linux + 151)
-#define __NR_fdatasync			(__NR_Linux + 152)
-#define __NR__sysctl			(__NR_Linux + 153)
-#define __NR_mlock			(__NR_Linux + 154)
-#define __NR_munlock			(__NR_Linux + 155)
-#define __NR_mlockall			(__NR_Linux + 156)
-#define __NR_munlockall			(__NR_Linux + 157)
-#define __NR_sched_setparam		(__NR_Linux + 158)
-#define __NR_sched_getparam		(__NR_Linux + 159)
-#define __NR_sched_setscheduler		(__NR_Linux + 160)
-#define __NR_sched_getscheduler		(__NR_Linux + 161)
-#define __NR_sched_yield		(__NR_Linux + 162)
-#define __NR_sched_get_priority_max	(__NR_Linux + 163)
-#define __NR_sched_get_priority_min	(__NR_Linux + 164)
-#define __NR_sched_rr_get_interval	(__NR_Linux + 165)
-#define __NR_nanosleep			(__NR_Linux + 166)
-#define __NR_mremap			(__NR_Linux + 167)
-#define __NR_accept			(__NR_Linux + 168)
-#define __NR_bind			(__NR_Linux + 169)
-#define __NR_connect			(__NR_Linux + 170)
-#define __NR_getpeername		(__NR_Linux + 171)
-#define __NR_getsockname		(__NR_Linux + 172)
-#define __NR_getsockopt			(__NR_Linux + 173)
-#define __NR_listen			(__NR_Linux + 174)
-#define __NR_recv			(__NR_Linux + 175)
-#define __NR_recvfrom			(__NR_Linux + 176)
-#define __NR_recvmsg			(__NR_Linux + 177)
-#define __NR_send			(__NR_Linux + 178)
-#define __NR_sendmsg			(__NR_Linux + 179)
-#define __NR_sendto			(__NR_Linux + 180)
-#define __NR_setsockopt			(__NR_Linux + 181)
-#define __NR_shutdown			(__NR_Linux + 182)
-#define __NR_socket			(__NR_Linux + 183)
-#define __NR_socketpair			(__NR_Linux + 184)
-#define __NR_setresuid			(__NR_Linux + 185)
-#define __NR_getresuid			(__NR_Linux + 186)
-#define __NR_query_module		(__NR_Linux + 187)
-#define __NR_poll			(__NR_Linux + 188)
-#define __NR_nfsservctl			(__NR_Linux + 189)
-#define __NR_setresgid			(__NR_Linux + 190)
-#define __NR_getresgid			(__NR_Linux + 191)
-#define __NR_prctl			(__NR_Linux + 192)
-#define __NR_rt_sigreturn		(__NR_Linux + 193)
-#define __NR_rt_sigaction		(__NR_Linux + 194)
-#define __NR_rt_sigprocmask		(__NR_Linux + 195)
-#define __NR_rt_sigpending		(__NR_Linux + 196)
-#define __NR_rt_sigtimedwait		(__NR_Linux + 197)
-#define __NR_rt_sigqueueinfo		(__NR_Linux + 198)
-#define __NR_rt_sigsuspend		(__NR_Linux + 199)
-#define __NR_pread64			(__NR_Linux + 200)
-#define __NR_pwrite64			(__NR_Linux + 201)
-#define __NR_chown			(__NR_Linux + 202)
-#define __NR_getcwd			(__NR_Linux + 203)
-#define __NR_capget			(__NR_Linux + 204)
-#define __NR_capset			(__NR_Linux + 205)
-#define __NR_sigaltstack		(__NR_Linux + 206)
-#define __NR_sendfile			(__NR_Linux + 207)
-#define __NR_getpmsg			(__NR_Linux + 208)
-#define __NR_putpmsg			(__NR_Linux + 209)
-#define __NR_mmap2			(__NR_Linux + 210)
-#define __NR_truncate64			(__NR_Linux + 211)
-#define __NR_ftruncate64		(__NR_Linux + 212)
-#define __NR_stat64			(__NR_Linux + 213)
-#define __NR_lstat64			(__NR_Linux + 214)
-#define __NR_fstat64			(__NR_Linux + 215)
-#define __NR_pivot_root			(__NR_Linux + 216)
-#define __NR_mincore			(__NR_Linux + 217)
-#define __NR_madvise			(__NR_Linux + 218)
-#define __NR_getdents64			(__NR_Linux + 219)
-#define __NR_fcntl64			(__NR_Linux + 220)
-#define __NR_reserved221		(__NR_Linux + 221)
-#define __NR_gettid			(__NR_Linux + 222)
-#define __NR_readahead			(__NR_Linux + 223)
-#define __NR_setxattr			(__NR_Linux + 224)
-#define __NR_lsetxattr			(__NR_Linux + 225)
-#define __NR_fsetxattr			(__NR_Linux + 226)
-#define __NR_getxattr			(__NR_Linux + 227)
-#define __NR_lgetxattr			(__NR_Linux + 228)
-#define __NR_fgetxattr			(__NR_Linux + 229)
-#define __NR_listxattr			(__NR_Linux + 230)
-#define __NR_llistxattr			(__NR_Linux + 231)
-#define __NR_flistxattr			(__NR_Linux + 232)
-#define __NR_removexattr		(__NR_Linux + 233)
-#define __NR_lremovexattr		(__NR_Linux + 234)
-#define __NR_fremovexattr		(__NR_Linux + 235)
-#define __NR_tkill			(__NR_Linux + 236)
-#define __NR_sendfile64			(__NR_Linux + 237)
-#define __NR_futex			(__NR_Linux + 238)
-#define __NR_sched_setaffinity		(__NR_Linux + 239)
-#define __NR_sched_getaffinity		(__NR_Linux + 240)
-#define __NR_io_setup			(__NR_Linux + 241)
-#define __NR_io_destroy			(__NR_Linux + 242)
-#define __NR_io_getevents		(__NR_Linux + 243)
-#define __NR_io_submit			(__NR_Linux + 244)
-#define __NR_io_cancel			(__NR_Linux + 245)
-#define __NR_exit_group			(__NR_Linux + 246)
-#define __NR_lookup_dcookie		(__NR_Linux + 247)
-#define __NR_epoll_create		(__NR_Linux + 248)
-#define __NR_epoll_ctl			(__NR_Linux + 249)
-#define __NR_epoll_wait			(__NR_Linux + 250)
-#define __NR_remap_file_pages		(__NR_Linux + 251)
-#define __NR_set_tid_address		(__NR_Linux + 252)
-#define __NR_restart_syscall		(__NR_Linux + 253)
-#define __NR_fadvise64			(__NR_Linux + 254)
-#define __NR_statfs64			(__NR_Linux + 255)
-#define __NR_fstatfs64			(__NR_Linux + 256)
-#define __NR_timer_create		(__NR_Linux + 257)
-#define __NR_timer_settime		(__NR_Linux + 258)
-#define __NR_timer_gettime		(__NR_Linux + 259)
-#define __NR_timer_getoverrun		(__NR_Linux + 260)
-#define __NR_timer_delete		(__NR_Linux + 261)
-#define __NR_clock_settime		(__NR_Linux + 262)
-#define __NR_clock_gettime		(__NR_Linux + 263)
-#define __NR_clock_getres		(__NR_Linux + 264)
-#define __NR_clock_nanosleep		(__NR_Linux + 265)
-#define __NR_tgkill			(__NR_Linux + 266)
-#define __NR_utimes			(__NR_Linux + 267)
-#define __NR_mbind			(__NR_Linux + 268)
-#define __NR_get_mempolicy		(__NR_Linux + 269)
-#define __NR_set_mempolicy		(__NR_Linux + 270)
-#define __NR_mq_open			(__NR_Linux + 271)
-#define __NR_mq_unlink			(__NR_Linux + 272)
-#define __NR_mq_timedsend		(__NR_Linux + 273)
-#define __NR_mq_timedreceive		(__NR_Linux + 274)
-#define __NR_mq_notify			(__NR_Linux + 275)
-#define __NR_mq_getsetattr		(__NR_Linux + 276)
-#define __NR_vserver			(__NR_Linux + 277)
-#define __NR_waitid			(__NR_Linux + 278)
-/* #define __NR_sys_setaltroot		(__NR_Linux + 279) */
-#define __NR_add_key			(__NR_Linux + 280)
-#define __NR_request_key		(__NR_Linux + 281)
-#define __NR_keyctl			(__NR_Linux + 282)
-#define __NR_set_thread_area		(__NR_Linux + 283)
-#define __NR_inotify_init		(__NR_Linux + 284)
-#define __NR_inotify_add_watch		(__NR_Linux + 285)
-#define __NR_inotify_rm_watch		(__NR_Linux + 286)
-#define __NR_migrate_pages		(__NR_Linux + 287)
-#define __NR_openat			(__NR_Linux + 288)
-#define __NR_mkdirat			(__NR_Linux + 289)
-#define __NR_mknodat			(__NR_Linux + 290)
-#define __NR_fchownat			(__NR_Linux + 291)
-#define __NR_futimesat			(__NR_Linux + 292)
-#define __NR_fstatat64			(__NR_Linux + 293)
-#define __NR_unlinkat			(__NR_Linux + 294)
-#define __NR_renameat			(__NR_Linux + 295)
-#define __NR_linkat			(__NR_Linux + 296)
-#define __NR_symlinkat			(__NR_Linux + 297)
-#define __NR_readlinkat			(__NR_Linux + 298)
-#define __NR_fchmodat			(__NR_Linux + 299)
-#define __NR_faccessat			(__NR_Linux + 300)
-#define __NR_pselect6			(__NR_Linux + 301)
-#define __NR_ppoll			(__NR_Linux + 302)
-#define __NR_unshare			(__NR_Linux + 303)
-#define __NR_splice			(__NR_Linux + 304)
-#define __NR_sync_file_range		(__NR_Linux + 305)
-#define __NR_tee			(__NR_Linux + 306)
-#define __NR_vmsplice			(__NR_Linux + 307)
-#define __NR_move_pages			(__NR_Linux + 308)
-#define __NR_set_robust_list		(__NR_Linux + 309)
-#define __NR_get_robust_list		(__NR_Linux + 310)
-#define __NR_kexec_load			(__NR_Linux + 311)
-#define __NR_getcpu			(__NR_Linux + 312)
-#define __NR_epoll_pwait		(__NR_Linux + 313)
-#define __NR_ioprio_set			(__NR_Linux + 314)
-#define __NR_ioprio_get			(__NR_Linux + 315)
-#define __NR_utimensat			(__NR_Linux + 316)
-#define __NR_signalfd			(__NR_Linux + 317)
-#define __NR_timerfd			(__NR_Linux + 318)
-#define __NR_eventfd			(__NR_Linux + 319)
-#define __NR_fallocate			(__NR_Linux + 320)
-#define __NR_timerfd_create		(__NR_Linux + 321)
-#define __NR_timerfd_gettime		(__NR_Linux + 322)
-#define __NR_timerfd_settime		(__NR_Linux + 323)
-#define __NR_signalfd4			(__NR_Linux + 324)
-#define __NR_eventfd2			(__NR_Linux + 325)
-#define __NR_epoll_create1		(__NR_Linux + 326)
-#define __NR_dup3			(__NR_Linux + 327)
-#define __NR_pipe2			(__NR_Linux + 328)
-#define __NR_inotify_init1		(__NR_Linux + 329)
-#define __NR_preadv			(__NR_Linux + 330)
-#define __NR_pwritev			(__NR_Linux + 331)
-#define __NR_rt_tgsigqueueinfo		(__NR_Linux + 332)
-#define __NR_perf_event_open		(__NR_Linux + 333)
-#define __NR_accept4			(__NR_Linux + 334)
-#define __NR_recvmmsg			(__NR_Linux + 335)
-#define __NR_fanotify_init		(__NR_Linux + 336)
-#define __NR_fanotify_mark		(__NR_Linux + 337)
-#define __NR_prlimit64			(__NR_Linux + 338)
-#define __NR_name_to_handle_at		(__NR_Linux + 339)
-#define __NR_open_by_handle_at		(__NR_Linux + 340)
-#define __NR_clock_adjtime		(__NR_Linux + 341)
-#define __NR_syncfs			(__NR_Linux + 342)
-#define __NR_sendmmsg			(__NR_Linux + 343)
-#define __NR_setns			(__NR_Linux + 344)
-#define __NR_process_vm_readv		(__NR_Linux + 345)
-#define __NR_process_vm_writev		(__NR_Linux + 346)
-#define __NR_kcmp			(__NR_Linux + 347)
-#define __NR_finit_module		(__NR_Linux + 348)
-#define __NR_sched_setattr		(__NR_Linux + 349)
-#define __NR_sched_getattr		(__NR_Linux + 350)
-#define __NR_renameat2			(__NR_Linux + 351)
-#define __NR_seccomp			(__NR_Linux + 352)
-#define __NR_getrandom			(__NR_Linux + 353)
-#define __NR_memfd_create		(__NR_Linux + 354)
-#define __NR_bpf			(__NR_Linux + 355)
-#define __NR_execveat			(__NR_Linux + 356)
-#define __NR_userfaultfd		(__NR_Linux + 357)
-#define __NR_membarrier			(__NR_Linux + 358)
-#define __NR_mlock2			(__NR_Linux + 359)
-#define __NR_copy_file_range		(__NR_Linux + 360)
-#define __NR_preadv2			(__NR_Linux + 361)
-#define __NR_pwritev2			(__NR_Linux + 362)
-#define __NR_pkey_mprotect		(__NR_Linux + 363)
-#define __NR_pkey_alloc			(__NR_Linux + 364)
-#define __NR_pkey_free			(__NR_Linux + 365)
-#define __NR_statx			(__NR_Linux + 366)
-#define __NR_rseq			(__NR_Linux + 367)
-#define __NR_io_pgetevents		(__NR_Linux + 368)
-
-
-/*
- * Offset of the last Linux o32 flavoured syscall
- */
-#define __NR_Linux_syscalls		368
-
-#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
-
-#define __NR_O32_Linux			4000
-#define __NR_O32_Linux_syscalls		368
-
-#if _MIPS_SIM == _MIPS_SIM_ABI64
-
-/*
- * Linux 64-bit syscalls are in the range from 5000 to 5999.
- */
-#define __NR_Linux			5000
-#define __NR_read			(__NR_Linux +	0)
-#define __NR_write			(__NR_Linux +	1)
-#define __NR_open			(__NR_Linux +	2)
-#define __NR_close			(__NR_Linux +	3)
-#define __NR_stat			(__NR_Linux +	4)
-#define __NR_fstat			(__NR_Linux +	5)
-#define __NR_lstat			(__NR_Linux +	6)
-#define __NR_poll			(__NR_Linux +	7)
-#define __NR_lseek			(__NR_Linux +	8)
-#define __NR_mmap			(__NR_Linux +	9)
-#define __NR_mprotect			(__NR_Linux +  10)
-#define __NR_munmap			(__NR_Linux +  11)
-#define __NR_brk			(__NR_Linux +  12)
-#define __NR_rt_sigaction		(__NR_Linux +  13)
-#define __NR_rt_sigprocmask		(__NR_Linux +  14)
-#define __NR_ioctl			(__NR_Linux +  15)
-#define __NR_pread64			(__NR_Linux +  16)
-#define __NR_pwrite64			(__NR_Linux +  17)
-#define __NR_readv			(__NR_Linux +  18)
-#define __NR_writev			(__NR_Linux +  19)
-#define __NR_access			(__NR_Linux +  20)
-#define __NR_pipe			(__NR_Linux +  21)
-#define __NR__newselect			(__NR_Linux +  22)
-#define __NR_sched_yield		(__NR_Linux +  23)
-#define __NR_mremap			(__NR_Linux +  24)
-#define __NR_msync			(__NR_Linux +  25)
-#define __NR_mincore			(__NR_Linux +  26)
-#define __NR_madvise			(__NR_Linux +  27)
-#define __NR_shmget			(__NR_Linux +  28)
-#define __NR_shmat			(__NR_Linux +  29)
-#define __NR_shmctl			(__NR_Linux +  30)
-#define __NR_dup			(__NR_Linux +  31)
-#define __NR_dup2			(__NR_Linux +  32)
-#define __NR_pause			(__NR_Linux +  33)
-#define __NR_nanosleep			(__NR_Linux +  34)
-#define __NR_getitimer			(__NR_Linux +  35)
-#define __NR_setitimer			(__NR_Linux +  36)
-#define __NR_alarm			(__NR_Linux +  37)
-#define __NR_getpid			(__NR_Linux +  38)
-#define __NR_sendfile			(__NR_Linux +  39)
-#define __NR_socket			(__NR_Linux +  40)
-#define __NR_connect			(__NR_Linux +  41)
-#define __NR_accept			(__NR_Linux +  42)
-#define __NR_sendto			(__NR_Linux +  43)
-#define __NR_recvfrom			(__NR_Linux +  44)
-#define __NR_sendmsg			(__NR_Linux +  45)
-#define __NR_recvmsg			(__NR_Linux +  46)
-#define __NR_shutdown			(__NR_Linux +  47)
-#define __NR_bind			(__NR_Linux +  48)
-#define __NR_listen			(__NR_Linux +  49)
-#define __NR_getsockname		(__NR_Linux +  50)
-#define __NR_getpeername		(__NR_Linux +  51)
-#define __NR_socketpair			(__NR_Linux +  52)
-#define __NR_setsockopt			(__NR_Linux +  53)
-#define __NR_getsockopt			(__NR_Linux +  54)
-#define __NR_clone			(__NR_Linux +  55)
-#define __NR_fork			(__NR_Linux +  56)
-#define __NR_execve			(__NR_Linux +  57)
-#define __NR_exit			(__NR_Linux +  58)
-#define __NR_wait4			(__NR_Linux +  59)
-#define __NR_kill			(__NR_Linux +  60)
-#define __NR_uname			(__NR_Linux +  61)
-#define __NR_semget			(__NR_Linux +  62)
-#define __NR_semop			(__NR_Linux +  63)
-#define __NR_semctl			(__NR_Linux +  64)
-#define __NR_shmdt			(__NR_Linux +  65)
-#define __NR_msgget			(__NR_Linux +  66)
-#define __NR_msgsnd			(__NR_Linux +  67)
-#define __NR_msgrcv			(__NR_Linux +  68)
-#define __NR_msgctl			(__NR_Linux +  69)
-#define __NR_fcntl			(__NR_Linux +  70)
-#define __NR_flock			(__NR_Linux +  71)
-#define __NR_fsync			(__NR_Linux +  72)
-#define __NR_fdatasync			(__NR_Linux +  73)
-#define __NR_truncate			(__NR_Linux +  74)
-#define __NR_ftruncate			(__NR_Linux +  75)
-#define __NR_getdents			(__NR_Linux +  76)
-#define __NR_getcwd			(__NR_Linux +  77)
-#define __NR_chdir			(__NR_Linux +  78)
-#define __NR_fchdir			(__NR_Linux +  79)
-#define __NR_rename			(__NR_Linux +  80)
-#define __NR_mkdir			(__NR_Linux +  81)
-#define __NR_rmdir			(__NR_Linux +  82)
-#define __NR_creat			(__NR_Linux +  83)
-#define __NR_link			(__NR_Linux +  84)
-#define __NR_unlink			(__NR_Linux +  85)
-#define __NR_symlink			(__NR_Linux +  86)
-#define __NR_readlink			(__NR_Linux +  87)
-#define __NR_chmod			(__NR_Linux +  88)
-#define __NR_fchmod			(__NR_Linux +  89)
-#define __NR_chown			(__NR_Linux +  90)
-#define __NR_fchown			(__NR_Linux +  91)
-#define __NR_lchown			(__NR_Linux +  92)
-#define __NR_umask			(__NR_Linux +  93)
-#define __NR_gettimeofday		(__NR_Linux +  94)
-#define __NR_getrlimit			(__NR_Linux +  95)
-#define __NR_getrusage			(__NR_Linux +  96)
-#define __NR_sysinfo			(__NR_Linux +  97)
-#define __NR_times			(__NR_Linux +  98)
-#define __NR_ptrace			(__NR_Linux +  99)
-#define __NR_getuid			(__NR_Linux + 100)
-#define __NR_syslog			(__NR_Linux + 101)
-#define __NR_getgid			(__NR_Linux + 102)
-#define __NR_setuid			(__NR_Linux + 103)
-#define __NR_setgid			(__NR_Linux + 104)
-#define __NR_geteuid			(__NR_Linux + 105)
-#define __NR_getegid			(__NR_Linux + 106)
-#define __NR_setpgid			(__NR_Linux + 107)
-#define __NR_getppid			(__NR_Linux + 108)
-#define __NR_getpgrp			(__NR_Linux + 109)
-#define __NR_setsid			(__NR_Linux + 110)
-#define __NR_setreuid			(__NR_Linux + 111)
-#define __NR_setregid			(__NR_Linux + 112)
-#define __NR_getgroups			(__NR_Linux + 113)
-#define __NR_setgroups			(__NR_Linux + 114)
-#define __NR_setresuid			(__NR_Linux + 115)
-#define __NR_getresuid			(__NR_Linux + 116)
-#define __NR_setresgid			(__NR_Linux + 117)
-#define __NR_getresgid			(__NR_Linux + 118)
-#define __NR_getpgid			(__NR_Linux + 119)
-#define __NR_setfsuid			(__NR_Linux + 120)
-#define __NR_setfsgid			(__NR_Linux + 121)
-#define __NR_getsid			(__NR_Linux + 122)
-#define __NR_capget			(__NR_Linux + 123)
-#define __NR_capset			(__NR_Linux + 124)
-#define __NR_rt_sigpending		(__NR_Linux + 125)
-#define __NR_rt_sigtimedwait		(__NR_Linux + 126)
-#define __NR_rt_sigqueueinfo		(__NR_Linux + 127)
-#define __NR_rt_sigsuspend		(__NR_Linux + 128)
-#define __NR_sigaltstack		(__NR_Linux + 129)
-#define __NR_utime			(__NR_Linux + 130)
-#define __NR_mknod			(__NR_Linux + 131)
-#define __NR_personality		(__NR_Linux + 132)
-#define __NR_ustat			(__NR_Linux + 133)
-#define __NR_statfs			(__NR_Linux + 134)
-#define __NR_fstatfs			(__NR_Linux + 135)
-#define __NR_sysfs			(__NR_Linux + 136)
-#define __NR_getpriority		(__NR_Linux + 137)
-#define __NR_setpriority		(__NR_Linux + 138)
-#define __NR_sched_setparam		(__NR_Linux + 139)
-#define __NR_sched_getparam		(__NR_Linux + 140)
-#define __NR_sched_setscheduler		(__NR_Linux + 141)
-#define __NR_sched_getscheduler		(__NR_Linux + 142)
-#define __NR_sched_get_priority_max	(__NR_Linux + 143)
-#define __NR_sched_get_priority_min	(__NR_Linux + 144)
-#define __NR_sched_rr_get_interval	(__NR_Linux + 145)
-#define __NR_mlock			(__NR_Linux + 146)
-#define __NR_munlock			(__NR_Linux + 147)
-#define __NR_mlockall			(__NR_Linux + 148)
-#define __NR_munlockall			(__NR_Linux + 149)
-#define __NR_vhangup			(__NR_Linux + 150)
-#define __NR_pivot_root			(__NR_Linux + 151)
-#define __NR__sysctl			(__NR_Linux + 152)
-#define __NR_prctl			(__NR_Linux + 153)
-#define __NR_adjtimex			(__NR_Linux + 154)
-#define __NR_setrlimit			(__NR_Linux + 155)
-#define __NR_chroot			(__NR_Linux + 156)
-#define __NR_sync			(__NR_Linux + 157)
-#define __NR_acct			(__NR_Linux + 158)
-#define __NR_settimeofday		(__NR_Linux + 159)
-#define __NR_mount			(__NR_Linux + 160)
-#define __NR_umount2			(__NR_Linux + 161)
-#define __NR_swapon			(__NR_Linux + 162)
-#define __NR_swapoff			(__NR_Linux + 163)
-#define __NR_reboot			(__NR_Linux + 164)
-#define __NR_sethostname		(__NR_Linux + 165)
-#define __NR_setdomainname		(__NR_Linux + 166)
-#define __NR_create_module		(__NR_Linux + 167)
-#define __NR_init_module		(__NR_Linux + 168)
-#define __NR_delete_module		(__NR_Linux + 169)
-#define __NR_get_kernel_syms		(__NR_Linux + 170)
-#define __NR_query_module		(__NR_Linux + 171)
-#define __NR_quotactl			(__NR_Linux + 172)
-#define __NR_nfsservctl			(__NR_Linux + 173)
-#define __NR_getpmsg			(__NR_Linux + 174)
-#define __NR_putpmsg			(__NR_Linux + 175)
-#define __NR_afs_syscall		(__NR_Linux + 176)
-#define __NR_reserved177		(__NR_Linux + 177)
-#define __NR_gettid			(__NR_Linux + 178)
-#define __NR_readahead			(__NR_Linux + 179)
-#define __NR_setxattr			(__NR_Linux + 180)
-#define __NR_lsetxattr			(__NR_Linux + 181)
-#define __NR_fsetxattr			(__NR_Linux + 182)
-#define __NR_getxattr			(__NR_Linux + 183)
-#define __NR_lgetxattr			(__NR_Linux + 184)
-#define __NR_fgetxattr			(__NR_Linux + 185)
-#define __NR_listxattr			(__NR_Linux + 186)
-#define __NR_llistxattr			(__NR_Linux + 187)
-#define __NR_flistxattr			(__NR_Linux + 188)
-#define __NR_removexattr		(__NR_Linux + 189)
-#define __NR_lremovexattr		(__NR_Linux + 190)
-#define __NR_fremovexattr		(__NR_Linux + 191)
-#define __NR_tkill			(__NR_Linux + 192)
-#define __NR_reserved193		(__NR_Linux + 193)
-#define __NR_futex			(__NR_Linux + 194)
-#define __NR_sched_setaffinity		(__NR_Linux + 195)
-#define __NR_sched_getaffinity		(__NR_Linux + 196)
-#define __NR_cacheflush			(__NR_Linux + 197)
-#define __NR_cachectl			(__NR_Linux + 198)
-#define __NR_sysmips			(__NR_Linux + 199)
-#define __NR_io_setup			(__NR_Linux + 200)
-#define __NR_io_destroy			(__NR_Linux + 201)
-#define __NR_io_getevents		(__NR_Linux + 202)
-#define __NR_io_submit			(__NR_Linux + 203)
-#define __NR_io_cancel			(__NR_Linux + 204)
-#define __NR_exit_group			(__NR_Linux + 205)
-#define __NR_lookup_dcookie		(__NR_Linux + 206)
-#define __NR_epoll_create		(__NR_Linux + 207)
-#define __NR_epoll_ctl			(__NR_Linux + 208)
-#define __NR_epoll_wait			(__NR_Linux + 209)
-#define __NR_remap_file_pages		(__NR_Linux + 210)
-#define __NR_rt_sigreturn		(__NR_Linux + 211)
-#define __NR_set_tid_address		(__NR_Linux + 212)
-#define __NR_restart_syscall		(__NR_Linux + 213)
-#define __NR_semtimedop			(__NR_Linux + 214)
-#define __NR_fadvise64			(__NR_Linux + 215)
-#define __NR_timer_create		(__NR_Linux + 216)
-#define __NR_timer_settime		(__NR_Linux + 217)
-#define __NR_timer_gettime		(__NR_Linux + 218)
-#define __NR_timer_getoverrun		(__NR_Linux + 219)
-#define __NR_timer_delete		(__NR_Linux + 220)
-#define __NR_clock_settime		(__NR_Linux + 221)
-#define __NR_clock_gettime		(__NR_Linux + 222)
-#define __NR_clock_getres		(__NR_Linux + 223)
-#define __NR_clock_nanosleep		(__NR_Linux + 224)
-#define __NR_tgkill			(__NR_Linux + 225)
-#define __NR_utimes			(__NR_Linux + 226)
-#define __NR_mbind			(__NR_Linux + 227)
-#define __NR_get_mempolicy		(__NR_Linux + 228)
-#define __NR_set_mempolicy		(__NR_Linux + 229)
-#define __NR_mq_open			(__NR_Linux + 230)
-#define __NR_mq_unlink			(__NR_Linux + 231)
-#define __NR_mq_timedsend		(__NR_Linux + 232)
-#define __NR_mq_timedreceive		(__NR_Linux + 233)
-#define __NR_mq_notify			(__NR_Linux + 234)
-#define __NR_mq_getsetattr		(__NR_Linux + 235)
-#define __NR_vserver			(__NR_Linux + 236)
-#define __NR_waitid			(__NR_Linux + 237)
-/* #define __NR_sys_setaltroot		(__NR_Linux + 238) */
-#define __NR_add_key			(__NR_Linux + 239)
-#define __NR_request_key		(__NR_Linux + 240)
-#define __NR_keyctl			(__NR_Linux + 241)
-#define __NR_set_thread_area		(__NR_Linux + 242)
-#define __NR_inotify_init		(__NR_Linux + 243)
-#define __NR_inotify_add_watch		(__NR_Linux + 244)
-#define __NR_inotify_rm_watch		(__NR_Linux + 245)
-#define __NR_migrate_pages		(__NR_Linux + 246)
-#define __NR_openat			(__NR_Linux + 247)
-#define __NR_mkdirat			(__NR_Linux + 248)
-#define __NR_mknodat			(__NR_Linux + 249)
-#define __NR_fchownat			(__NR_Linux + 250)
-#define __NR_futimesat			(__NR_Linux + 251)
-#define __NR_newfstatat			(__NR_Linux + 252)
-#define __NR_unlinkat			(__NR_Linux + 253)
-#define __NR_renameat			(__NR_Linux + 254)
-#define __NR_linkat			(__NR_Linux + 255)
-#define __NR_symlinkat			(__NR_Linux + 256)
-#define __NR_readlinkat			(__NR_Linux + 257)
-#define __NR_fchmodat			(__NR_Linux + 258)
-#define __NR_faccessat			(__NR_Linux + 259)
-#define __NR_pselect6			(__NR_Linux + 260)
-#define __NR_ppoll			(__NR_Linux + 261)
-#define __NR_unshare			(__NR_Linux + 262)
-#define __NR_splice			(__NR_Linux + 263)
-#define __NR_sync_file_range		(__NR_Linux + 264)
-#define __NR_tee			(__NR_Linux + 265)
-#define __NR_vmsplice			(__NR_Linux + 266)
-#define __NR_move_pages			(__NR_Linux + 267)
-#define __NR_set_robust_list		(__NR_Linux + 268)
-#define __NR_get_robust_list		(__NR_Linux + 269)
-#define __NR_kexec_load			(__NR_Linux + 270)
-#define __NR_getcpu			(__NR_Linux + 271)
-#define __NR_epoll_pwait		(__NR_Linux + 272)
-#define __NR_ioprio_set			(__NR_Linux + 273)
-#define __NR_ioprio_get			(__NR_Linux + 274)
-#define __NR_utimensat			(__NR_Linux + 275)
-#define __NR_signalfd			(__NR_Linux + 276)
-#define __NR_timerfd			(__NR_Linux + 277)
-#define __NR_eventfd			(__NR_Linux + 278)
-#define __NR_fallocate			(__NR_Linux + 279)
-#define __NR_timerfd_create		(__NR_Linux + 280)
-#define __NR_timerfd_gettime		(__NR_Linux + 281)
-#define __NR_timerfd_settime		(__NR_Linux + 282)
-#define __NR_signalfd4			(__NR_Linux + 283)
-#define __NR_eventfd2			(__NR_Linux + 284)
-#define __NR_epoll_create1		(__NR_Linux + 285)
-#define __NR_dup3			(__NR_Linux + 286)
-#define __NR_pipe2			(__NR_Linux + 287)
-#define __NR_inotify_init1		(__NR_Linux + 288)
-#define __NR_preadv			(__NR_Linux + 289)
-#define __NR_pwritev			(__NR_Linux + 290)
-#define __NR_rt_tgsigqueueinfo		(__NR_Linux + 291)
-#define __NR_perf_event_open		(__NR_Linux + 292)
-#define __NR_accept4			(__NR_Linux + 293)
-#define __NR_recvmmsg			(__NR_Linux + 294)
-#define __NR_fanotify_init		(__NR_Linux + 295)
-#define __NR_fanotify_mark		(__NR_Linux + 296)
-#define __NR_prlimit64			(__NR_Linux + 297)
-#define __NR_name_to_handle_at		(__NR_Linux + 298)
-#define __NR_open_by_handle_at		(__NR_Linux + 299)
-#define __NR_clock_adjtime		(__NR_Linux + 300)
-#define __NR_syncfs			(__NR_Linux + 301)
-#define __NR_sendmmsg			(__NR_Linux + 302)
-#define __NR_setns			(__NR_Linux + 303)
-#define __NR_process_vm_readv		(__NR_Linux + 304)
-#define __NR_process_vm_writev		(__NR_Linux + 305)
-#define __NR_kcmp			(__NR_Linux + 306)
-#define __NR_finit_module		(__NR_Linux + 307)
-#define __NR_getdents64			(__NR_Linux + 308)
-#define __NR_sched_setattr		(__NR_Linux + 309)
-#define __NR_sched_getattr		(__NR_Linux + 310)
-#define __NR_renameat2			(__NR_Linux + 311)
-#define __NR_seccomp			(__NR_Linux + 312)
-#define __NR_getrandom			(__NR_Linux + 313)
-#define __NR_memfd_create		(__NR_Linux + 314)
-#define __NR_bpf			(__NR_Linux + 315)
-#define __NR_execveat			(__NR_Linux + 316)
-#define __NR_userfaultfd		(__NR_Linux + 317)
-#define __NR_membarrier			(__NR_Linux + 318)
-#define __NR_mlock2			(__NR_Linux + 319)
-#define __NR_copy_file_range		(__NR_Linux + 320)
-#define __NR_preadv2			(__NR_Linux + 321)
-#define __NR_pwritev2			(__NR_Linux + 322)
-#define __NR_pkey_mprotect		(__NR_Linux + 323)
-#define __NR_pkey_alloc			(__NR_Linux + 324)
-#define __NR_pkey_free			(__NR_Linux + 325)
-#define __NR_statx			(__NR_Linux + 326)
-#define __NR_rseq			(__NR_Linux + 327)
-#define __NR_io_pgetevents		(__NR_Linux + 328)
-
-/*
- * Offset of the last Linux 64-bit flavoured syscall
- */
-#define __NR_Linux_syscalls		328
-
-#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
-
-#define __NR_64_Linux			5000
-#define __NR_64_Linux_syscalls		328
-
-#if _MIPS_SIM == _MIPS_SIM_NABI32
-
-/*
- * Linux N32 syscalls are in the range from 6000 to 6999.
- */
-#define __NR_Linux			6000
-#define __NR_read			(__NR_Linux +	0)
-#define __NR_write			(__NR_Linux +	1)
-#define __NR_open			(__NR_Linux +	2)
-#define __NR_close			(__NR_Linux +	3)
-#define __NR_stat			(__NR_Linux +	4)
-#define __NR_fstat			(__NR_Linux +	5)
-#define __NR_lstat			(__NR_Linux +	6)
-#define __NR_poll			(__NR_Linux +	7)
-#define __NR_lseek			(__NR_Linux +	8)
-#define __NR_mmap			(__NR_Linux +	9)
-#define __NR_mprotect			(__NR_Linux +  10)
-#define __NR_munmap			(__NR_Linux +  11)
-#define __NR_brk			(__NR_Linux +  12)
-#define __NR_rt_sigaction		(__NR_Linux +  13)
-#define __NR_rt_sigprocmask		(__NR_Linux +  14)
-#define __NR_ioctl			(__NR_Linux +  15)
-#define __NR_pread64			(__NR_Linux +  16)
-#define __NR_pwrite64			(__NR_Linux +  17)
-#define __NR_readv			(__NR_Linux +  18)
-#define __NR_writev			(__NR_Linux +  19)
-#define __NR_access			(__NR_Linux +  20)
-#define __NR_pipe			(__NR_Linux +  21)
-#define __NR__newselect			(__NR_Linux +  22)
-#define __NR_sched_yield		(__NR_Linux +  23)
-#define __NR_mremap			(__NR_Linux +  24)
-#define __NR_msync			(__NR_Linux +  25)
-#define __NR_mincore			(__NR_Linux +  26)
-#define __NR_madvise			(__NR_Linux +  27)
-#define __NR_shmget			(__NR_Linux +  28)
-#define __NR_shmat			(__NR_Linux +  29)
-#define __NR_shmctl			(__NR_Linux +  30)
-#define __NR_dup			(__NR_Linux +  31)
-#define __NR_dup2			(__NR_Linux +  32)
-#define __NR_pause			(__NR_Linux +  33)
-#define __NR_nanosleep			(__NR_Linux +  34)
-#define __NR_getitimer			(__NR_Linux +  35)
-#define __NR_setitimer			(__NR_Linux +  36)
-#define __NR_alarm			(__NR_Linux +  37)
-#define __NR_getpid			(__NR_Linux +  38)
-#define __NR_sendfile			(__NR_Linux +  39)
-#define __NR_socket			(__NR_Linux +  40)
-#define __NR_connect			(__NR_Linux +  41)
-#define __NR_accept			(__NR_Linux +  42)
-#define __NR_sendto			(__NR_Linux +  43)
-#define __NR_recvfrom			(__NR_Linux +  44)
-#define __NR_sendmsg			(__NR_Linux +  45)
-#define __NR_recvmsg			(__NR_Linux +  46)
-#define __NR_shutdown			(__NR_Linux +  47)
-#define __NR_bind			(__NR_Linux +  48)
-#define __NR_listen			(__NR_Linux +  49)
-#define __NR_getsockname		(__NR_Linux +  50)
-#define __NR_getpeername		(__NR_Linux +  51)
-#define __NR_socketpair			(__NR_Linux +  52)
-#define __NR_setsockopt			(__NR_Linux +  53)
-#define __NR_getsockopt			(__NR_Linux +  54)
-#define __NR_clone			(__NR_Linux +  55)
-#define __NR_fork			(__NR_Linux +  56)
-#define __NR_execve			(__NR_Linux +  57)
-#define __NR_exit			(__NR_Linux +  58)
-#define __NR_wait4			(__NR_Linux +  59)
-#define __NR_kill			(__NR_Linux +  60)
-#define __NR_uname			(__NR_Linux +  61)
-#define __NR_semget			(__NR_Linux +  62)
-#define __NR_semop			(__NR_Linux +  63)
-#define __NR_semctl			(__NR_Linux +  64)
-#define __NR_shmdt			(__NR_Linux +  65)
-#define __NR_msgget			(__NR_Linux +  66)
-#define __NR_msgsnd			(__NR_Linux +  67)
-#define __NR_msgrcv			(__NR_Linux +  68)
-#define __NR_msgctl			(__NR_Linux +  69)
-#define __NR_fcntl			(__NR_Linux +  70)
-#define __NR_flock			(__NR_Linux +  71)
-#define __NR_fsync			(__NR_Linux +  72)
-#define __NR_fdatasync			(__NR_Linux +  73)
-#define __NR_truncate			(__NR_Linux +  74)
-#define __NR_ftruncate			(__NR_Linux +  75)
-#define __NR_getdents			(__NR_Linux +  76)
-#define __NR_getcwd			(__NR_Linux +  77)
-#define __NR_chdir			(__NR_Linux +  78)
-#define __NR_fchdir			(__NR_Linux +  79)
-#define __NR_rename			(__NR_Linux +  80)
-#define __NR_mkdir			(__NR_Linux +  81)
-#define __NR_rmdir			(__NR_Linux +  82)
-#define __NR_creat			(__NR_Linux +  83)
-#define __NR_link			(__NR_Linux +  84)
-#define __NR_unlink			(__NR_Linux +  85)
-#define __NR_symlink			(__NR_Linux +  86)
-#define __NR_readlink			(__NR_Linux +  87)
-#define __NR_chmod			(__NR_Linux +  88)
-#define __NR_fchmod			(__NR_Linux +  89)
-#define __NR_chown			(__NR_Linux +  90)
-#define __NR_fchown			(__NR_Linux +  91)
-#define __NR_lchown			(__NR_Linux +  92)
-#define __NR_umask			(__NR_Linux +  93)
-#define __NR_gettimeofday		(__NR_Linux +  94)
-#define __NR_getrlimit			(__NR_Linux +  95)
-#define __NR_getrusage			(__NR_Linux +  96)
-#define __NR_sysinfo			(__NR_Linux +  97)
-#define __NR_times			(__NR_Linux +  98)
-#define __NR_ptrace			(__NR_Linux +  99)
-#define __NR_getuid			(__NR_Linux + 100)
-#define __NR_syslog			(__NR_Linux + 101)
-#define __NR_getgid			(__NR_Linux + 102)
-#define __NR_setuid			(__NR_Linux + 103)
-#define __NR_setgid			(__NR_Linux + 104)
-#define __NR_geteuid			(__NR_Linux + 105)
-#define __NR_getegid			(__NR_Linux + 106)
-#define __NR_setpgid			(__NR_Linux + 107)
-#define __NR_getppid			(__NR_Linux + 108)
-#define __NR_getpgrp			(__NR_Linux + 109)
-#define __NR_setsid			(__NR_Linux + 110)
-#define __NR_setreuid			(__NR_Linux + 111)
-#define __NR_setregid			(__NR_Linux + 112)
-#define __NR_getgroups			(__NR_Linux + 113)
-#define __NR_setgroups			(__NR_Linux + 114)
-#define __NR_setresuid			(__NR_Linux + 115)
-#define __NR_getresuid			(__NR_Linux + 116)
-#define __NR_setresgid			(__NR_Linux + 117)
-#define __NR_getresgid			(__NR_Linux + 118)
-#define __NR_getpgid			(__NR_Linux + 119)
-#define __NR_setfsuid			(__NR_Linux + 120)
-#define __NR_setfsgid			(__NR_Linux + 121)
-#define __NR_getsid			(__NR_Linux + 122)
-#define __NR_capget			(__NR_Linux + 123)
-#define __NR_capset			(__NR_Linux + 124)
-#define __NR_rt_sigpending		(__NR_Linux + 125)
-#define __NR_rt_sigtimedwait		(__NR_Linux + 126)
-#define __NR_rt_sigqueueinfo		(__NR_Linux + 127)
-#define __NR_rt_sigsuspend		(__NR_Linux + 128)
-#define __NR_sigaltstack		(__NR_Linux + 129)
-#define __NR_utime			(__NR_Linux + 130)
-#define __NR_mknod			(__NR_Linux + 131)
-#define __NR_personality		(__NR_Linux + 132)
-#define __NR_ustat			(__NR_Linux + 133)
-#define __NR_statfs			(__NR_Linux + 134)
-#define __NR_fstatfs			(__NR_Linux + 135)
-#define __NR_sysfs			(__NR_Linux + 136)
-#define __NR_getpriority		(__NR_Linux + 137)
-#define __NR_setpriority		(__NR_Linux + 138)
-#define __NR_sched_setparam		(__NR_Linux + 139)
-#define __NR_sched_getparam		(__NR_Linux + 140)
-#define __NR_sched_setscheduler		(__NR_Linux + 141)
-#define __NR_sched_getscheduler		(__NR_Linux + 142)
-#define __NR_sched_get_priority_max	(__NR_Linux + 143)
-#define __NR_sched_get_priority_min	(__NR_Linux + 144)
-#define __NR_sched_rr_get_interval	(__NR_Linux + 145)
-#define __NR_mlock			(__NR_Linux + 146)
-#define __NR_munlock			(__NR_Linux + 147)
-#define __NR_mlockall			(__NR_Linux + 148)
-#define __NR_munlockall			(__NR_Linux + 149)
-#define __NR_vhangup			(__NR_Linux + 150)
-#define __NR_pivot_root			(__NR_Linux + 151)
-#define __NR__sysctl			(__NR_Linux + 152)
-#define __NR_prctl			(__NR_Linux + 153)
-#define __NR_adjtimex			(__NR_Linux + 154)
-#define __NR_setrlimit			(__NR_Linux + 155)
-#define __NR_chroot			(__NR_Linux + 156)
-#define __NR_sync			(__NR_Linux + 157)
-#define __NR_acct			(__NR_Linux + 158)
-#define __NR_settimeofday		(__NR_Linux + 159)
-#define __NR_mount			(__NR_Linux + 160)
-#define __NR_umount2			(__NR_Linux + 161)
-#define __NR_swapon			(__NR_Linux + 162)
-#define __NR_swapoff			(__NR_Linux + 163)
-#define __NR_reboot			(__NR_Linux + 164)
-#define __NR_sethostname		(__NR_Linux + 165)
-#define __NR_setdomainname		(__NR_Linux + 166)
-#define __NR_create_module		(__NR_Linux + 167)
-#define __NR_init_module		(__NR_Linux + 168)
-#define __NR_delete_module		(__NR_Linux + 169)
-#define __NR_get_kernel_syms		(__NR_Linux + 170)
-#define __NR_query_module		(__NR_Linux + 171)
-#define __NR_quotactl			(__NR_Linux + 172)
-#define __NR_nfsservctl			(__NR_Linux + 173)
-#define __NR_getpmsg			(__NR_Linux + 174)
-#define __NR_putpmsg			(__NR_Linux + 175)
-#define __NR_afs_syscall		(__NR_Linux + 176)
-#define __NR_reserved177		(__NR_Linux + 177)
-#define __NR_gettid			(__NR_Linux + 178)
-#define __NR_readahead			(__NR_Linux + 179)
-#define __NR_setxattr			(__NR_Linux + 180)
-#define __NR_lsetxattr			(__NR_Linux + 181)
-#define __NR_fsetxattr			(__NR_Linux + 182)
-#define __NR_getxattr			(__NR_Linux + 183)
-#define __NR_lgetxattr			(__NR_Linux + 184)
-#define __NR_fgetxattr			(__NR_Linux + 185)
-#define __NR_listxattr			(__NR_Linux + 186)
-#define __NR_llistxattr			(__NR_Linux + 187)
-#define __NR_flistxattr			(__NR_Linux + 188)
-#define __NR_removexattr		(__NR_Linux + 189)
-#define __NR_lremovexattr		(__NR_Linux + 190)
-#define __NR_fremovexattr		(__NR_Linux + 191)
-#define __NR_tkill			(__NR_Linux + 192)
-#define __NR_reserved193		(__NR_Linux + 193)
-#define __NR_futex			(__NR_Linux + 194)
-#define __NR_sched_setaffinity		(__NR_Linux + 195)
-#define __NR_sched_getaffinity		(__NR_Linux + 196)
-#define __NR_cacheflush			(__NR_Linux + 197)
-#define __NR_cachectl			(__NR_Linux + 198)
-#define __NR_sysmips			(__NR_Linux + 199)
-#define __NR_io_setup			(__NR_Linux + 200)
-#define __NR_io_destroy			(__NR_Linux + 201)
-#define __NR_io_getevents		(__NR_Linux + 202)
-#define __NR_io_submit			(__NR_Linux + 203)
-#define __NR_io_cancel			(__NR_Linux + 204)
-#define __NR_exit_group			(__NR_Linux + 205)
-#define __NR_lookup_dcookie		(__NR_Linux + 206)
-#define __NR_epoll_create		(__NR_Linux + 207)
-#define __NR_epoll_ctl			(__NR_Linux + 208)
-#define __NR_epoll_wait			(__NR_Linux + 209)
-#define __NR_remap_file_pages		(__NR_Linux + 210)
-#define __NR_rt_sigreturn		(__NR_Linux + 211)
-#define __NR_fcntl64			(__NR_Linux + 212)
-#define __NR_set_tid_address		(__NR_Linux + 213)
-#define __NR_restart_syscall		(__NR_Linux + 214)
-#define __NR_semtimedop			(__NR_Linux + 215)
-#define __NR_fadvise64			(__NR_Linux + 216)
-#define __NR_statfs64			(__NR_Linux + 217)
-#define __NR_fstatfs64			(__NR_Linux + 218)
-#define __NR_sendfile64			(__NR_Linux + 219)
-#define __NR_timer_create		(__NR_Linux + 220)
-#define __NR_timer_settime		(__NR_Linux + 221)
-#define __NR_timer_gettime		(__NR_Linux + 222)
-#define __NR_timer_getoverrun		(__NR_Linux + 223)
-#define __NR_timer_delete		(__NR_Linux + 224)
-#define __NR_clock_settime		(__NR_Linux + 225)
-#define __NR_clock_gettime		(__NR_Linux + 226)
-#define __NR_clock_getres		(__NR_Linux + 227)
-#define __NR_clock_nanosleep		(__NR_Linux + 228)
-#define __NR_tgkill			(__NR_Linux + 229)
-#define __NR_utimes			(__NR_Linux + 230)
-#define __NR_mbind			(__NR_Linux + 231)
-#define __NR_get_mempolicy		(__NR_Linux + 232)
-#define __NR_set_mempolicy		(__NR_Linux + 233)
-#define __NR_mq_open			(__NR_Linux + 234)
-#define __NR_mq_unlink			(__NR_Linux + 235)
-#define __NR_mq_timedsend		(__NR_Linux + 236)
-#define __NR_mq_timedreceive		(__NR_Linux + 237)
-#define __NR_mq_notify			(__NR_Linux + 238)
-#define __NR_mq_getsetattr		(__NR_Linux + 239)
-#define __NR_vserver			(__NR_Linux + 240)
-#define __NR_waitid			(__NR_Linux + 241)
-/* #define __NR_sys_setaltroot		(__NR_Linux + 242) */
-#define __NR_add_key			(__NR_Linux + 243)
-#define __NR_request_key		(__NR_Linux + 244)
-#define __NR_keyctl			(__NR_Linux + 245)
-#define __NR_set_thread_area		(__NR_Linux + 246)
-#define __NR_inotify_init		(__NR_Linux + 247)
-#define __NR_inotify_add_watch		(__NR_Linux + 248)
-#define __NR_inotify_rm_watch		(__NR_Linux + 249)
-#define __NR_migrate_pages		(__NR_Linux + 250)
-#define __NR_openat			(__NR_Linux + 251)
-#define __NR_mkdirat			(__NR_Linux + 252)
-#define __NR_mknodat			(__NR_Linux + 253)
-#define __NR_fchownat			(__NR_Linux + 254)
-#define __NR_futimesat			(__NR_Linux + 255)
-#define __NR_newfstatat			(__NR_Linux + 256)
-#define __NR_unlinkat			(__NR_Linux + 257)
-#define __NR_renameat			(__NR_Linux + 258)
-#define __NR_linkat			(__NR_Linux + 259)
-#define __NR_symlinkat			(__NR_Linux + 260)
-#define __NR_readlinkat			(__NR_Linux + 261)
-#define __NR_fchmodat			(__NR_Linux + 262)
-#define __NR_faccessat			(__NR_Linux + 263)
-#define __NR_pselect6			(__NR_Linux + 264)
-#define __NR_ppoll			(__NR_Linux + 265)
-#define __NR_unshare			(__NR_Linux + 266)
-#define __NR_splice			(__NR_Linux + 267)
-#define __NR_sync_file_range		(__NR_Linux + 268)
-#define __NR_tee			(__NR_Linux + 269)
-#define __NR_vmsplice			(__NR_Linux + 270)
-#define __NR_move_pages			(__NR_Linux + 271)
-#define __NR_set_robust_list		(__NR_Linux + 272)
-#define __NR_get_robust_list		(__NR_Linux + 273)
-#define __NR_kexec_load			(__NR_Linux + 274)
-#define __NR_getcpu			(__NR_Linux + 275)
-#define __NR_epoll_pwait		(__NR_Linux + 276)
-#define __NR_ioprio_set			(__NR_Linux + 277)
-#define __NR_ioprio_get			(__NR_Linux + 278)
-#define __NR_utimensat			(__NR_Linux + 279)
-#define __NR_signalfd			(__NR_Linux + 280)
-#define __NR_timerfd			(__NR_Linux + 281)
-#define __NR_eventfd			(__NR_Linux + 282)
-#define __NR_fallocate			(__NR_Linux + 283)
-#define __NR_timerfd_create		(__NR_Linux + 284)
-#define __NR_timerfd_gettime		(__NR_Linux + 285)
-#define __NR_timerfd_settime		(__NR_Linux + 286)
-#define __NR_signalfd4			(__NR_Linux + 287)
-#define __NR_eventfd2			(__NR_Linux + 288)
-#define __NR_epoll_create1		(__NR_Linux + 289)
-#define __NR_dup3			(__NR_Linux + 290)
-#define __NR_pipe2			(__NR_Linux + 291)
-#define __NR_inotify_init1		(__NR_Linux + 292)
-#define __NR_preadv			(__NR_Linux + 293)
-#define __NR_pwritev			(__NR_Linux + 294)
-#define __NR_rt_tgsigqueueinfo		(__NR_Linux + 295)
-#define __NR_perf_event_open		(__NR_Linux + 296)
-#define __NR_accept4			(__NR_Linux + 297)
-#define __NR_recvmmsg			(__NR_Linux + 298)
-#define __NR_getdents64			(__NR_Linux + 299)
-#define __NR_fanotify_init		(__NR_Linux + 300)
-#define __NR_fanotify_mark		(__NR_Linux + 301)
-#define __NR_prlimit64			(__NR_Linux + 302)
-#define __NR_name_to_handle_at		(__NR_Linux + 303)
-#define __NR_open_by_handle_at		(__NR_Linux + 304)
-#define __NR_clock_adjtime		(__NR_Linux + 305)
-#define __NR_syncfs			(__NR_Linux + 306)
-#define __NR_sendmmsg			(__NR_Linux + 307)
-#define __NR_setns			(__NR_Linux + 308)
-#define __NR_process_vm_readv		(__NR_Linux + 309)
-#define __NR_process_vm_writev		(__NR_Linux + 310)
-#define __NR_kcmp			(__NR_Linux + 311)
-#define __NR_finit_module		(__NR_Linux + 312)
-#define __NR_sched_setattr		(__NR_Linux + 313)
-#define __NR_sched_getattr		(__NR_Linux + 314)
-#define __NR_renameat2			(__NR_Linux + 315)
-#define __NR_seccomp			(__NR_Linux + 316)
-#define __NR_getrandom			(__NR_Linux + 317)
-#define __NR_memfd_create		(__NR_Linux + 318)
-#define __NR_bpf			(__NR_Linux + 319)
-#define __NR_execveat			(__NR_Linux + 320)
-#define __NR_userfaultfd		(__NR_Linux + 321)
-#define __NR_membarrier			(__NR_Linux + 322)
-#define __NR_mlock2			(__NR_Linux + 323)
-#define __NR_copy_file_range		(__NR_Linux + 324)
-#define __NR_preadv2			(__NR_Linux + 325)
-#define __NR_pwritev2			(__NR_Linux + 326)
-#define __NR_pkey_mprotect		(__NR_Linux + 327)
-#define __NR_pkey_alloc			(__NR_Linux + 328)
-#define __NR_pkey_free			(__NR_Linux + 329)
-#define __NR_statx			(__NR_Linux + 330)
-#define __NR_rseq			(__NR_Linux + 331)
-#define __NR_io_pgetevents		(__NR_Linux + 332)
-
-/*
- * Offset of the last N32 flavoured syscall
- */
-#define __NR_Linux_syscalls		332
-
-#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
-
-#define __NR_N32_Linux			6000
-#define __NR_N32_Linux_syscalls		332
-
-#endif /* _UAPI_ASM_UNISTD_H */
diff --git a/libc/include/mipsel-linux-musl/asm/auxvec.h b/libc/include/mipsel-linux-any/asm/auxvec.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/auxvec.h
rename to libc/include/mipsel-linux-any/asm/auxvec.h
diff --git a/libc/include/mipsel-linux-musl/asm/bitsperlong.h b/libc/include/mipsel-linux-any/asm/bitsperlong.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/bitsperlong.h
rename to libc/include/mipsel-linux-any/asm/bitsperlong.h
diff --git a/libc/include/mipsel-linux-musl/asm/byteorder.h b/libc/include/mipsel-linux-any/asm/byteorder.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/byteorder.h
rename to libc/include/mipsel-linux-any/asm/byteorder.h
diff --git a/libc/include/mipsel-linux-musl/asm/errno.h b/libc/include/mipsel-linux-any/asm/errno.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/errno.h
rename to libc/include/mipsel-linux-any/asm/errno.h
diff --git a/libc/include/mipsel-linux-musl/asm/fcntl.h b/libc/include/mipsel-linux-any/asm/fcntl.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/fcntl.h
rename to libc/include/mipsel-linux-any/asm/fcntl.h
diff --git a/libc/include/mipsel-linux-musl/asm/hwcap.h b/libc/include/mipsel-linux-any/asm/hwcap.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/hwcap.h
rename to libc/include/mipsel-linux-any/asm/hwcap.h
diff --git a/libc/include/mipsel-linux-musl/asm/ioctl.h b/libc/include/mipsel-linux-any/asm/ioctl.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/ioctl.h
rename to libc/include/mipsel-linux-any/asm/ioctl.h
diff --git a/libc/include/mipsel-linux-musl/asm/ioctls.h b/libc/include/mipsel-linux-any/asm/ioctls.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/ioctls.h
rename to libc/include/mipsel-linux-any/asm/ioctls.h
diff --git a/libc/include/mipsel-linux-musl/asm/kvm.h b/libc/include/mipsel-linux-any/asm/kvm.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/kvm.h
rename to libc/include/mipsel-linux-any/asm/kvm.h
diff --git a/libc/include/mipsel-linux-musl/asm/kvm_para.h b/libc/include/mipsel-linux-any/asm/kvm_para.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/kvm_para.h
rename to libc/include/mipsel-linux-any/asm/kvm_para.h
diff --git a/libc/include/mipsel-linux-musl/asm/mman.h b/libc/include/mipsel-linux-any/asm/mman.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/mman.h
rename to libc/include/mipsel-linux-any/asm/mman.h
diff --git a/libc/include/mipsel-linux-musl/asm/msgbuf.h b/libc/include/mipsel-linux-any/asm/msgbuf.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/msgbuf.h
rename to libc/include/mipsel-linux-any/asm/msgbuf.h
diff --git a/libc/include/mipsel-linux-musl/asm/param.h b/libc/include/mipsel-linux-any/asm/param.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/param.h
rename to libc/include/mipsel-linux-any/asm/param.h
diff --git a/libc/include/mipsel-linux-musl/asm/poll.h b/libc/include/mipsel-linux-any/asm/poll.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/poll.h
rename to libc/include/mipsel-linux-any/asm/poll.h
diff --git a/libc/include/mipsel-linux-musl/asm/posix_types.h b/libc/include/mipsel-linux-any/asm/posix_types.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/posix_types.h
rename to libc/include/mipsel-linux-any/asm/posix_types.h
diff --git a/libc/include/mipsel-linux-musl/asm/ptrace.h b/libc/include/mipsel-linux-any/asm/ptrace.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/ptrace.h
rename to libc/include/mipsel-linux-any/asm/ptrace.h
diff --git a/libc/include/mipsel-linux-musl/asm/resource.h b/libc/include/mipsel-linux-any/asm/resource.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/resource.h
rename to libc/include/mipsel-linux-any/asm/resource.h
diff --git a/libc/include/mipsel-linux-musl/asm/sembuf.h b/libc/include/mipsel-linux-any/asm/sembuf.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/sembuf.h
rename to libc/include/mipsel-linux-any/asm/sembuf.h
diff --git a/libc/include/mipsel-linux-musl/asm/setup.h b/libc/include/mipsel-linux-any/asm/setup.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/setup.h
rename to libc/include/mipsel-linux-any/asm/setup.h
diff --git a/libc/include/mipsel-linux-musl/asm/shmbuf.h b/libc/include/mipsel-linux-any/asm/shmbuf.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/shmbuf.h
rename to libc/include/mipsel-linux-any/asm/shmbuf.h
diff --git a/libc/include/mipsel-linux-musl/asm/sigcontext.h b/libc/include/mipsel-linux-any/asm/sigcontext.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/sigcontext.h
rename to libc/include/mipsel-linux-any/asm/sigcontext.h
diff --git a/libc/include/mipsel-linux-musl/asm/siginfo.h b/libc/include/mipsel-linux-any/asm/siginfo.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/siginfo.h
rename to libc/include/mipsel-linux-any/asm/siginfo.h
diff --git a/libc/include/mipsel-linux-musl/asm/signal.h b/libc/include/mipsel-linux-any/asm/signal.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/signal.h
rename to libc/include/mipsel-linux-any/asm/signal.h
diff --git a/libc/include/mipsel-linux-musl/asm/socket.h b/libc/include/mipsel-linux-any/asm/socket.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/socket.h
rename to libc/include/mipsel-linux-any/asm/socket.h
diff --git a/libc/include/mipsel-linux-musl/asm/sockios.h b/libc/include/mipsel-linux-any/asm/sockios.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/sockios.h
rename to libc/include/mipsel-linux-any/asm/sockios.h
diff --git a/libc/include/mipsel-linux-musl/asm/stat.h b/libc/include/mipsel-linux-any/asm/stat.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/stat.h
rename to libc/include/mipsel-linux-any/asm/stat.h
diff --git a/libc/include/mipsel-linux-musl/asm/statfs.h b/libc/include/mipsel-linux-any/asm/statfs.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/statfs.h
rename to libc/include/mipsel-linux-any/asm/statfs.h
diff --git a/libc/include/mipsel-linux-musl/asm/swab.h b/libc/include/mipsel-linux-any/asm/swab.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/swab.h
rename to libc/include/mipsel-linux-any/asm/swab.h
diff --git a/libc/include/mipsel-linux-musl/asm/termbits.h b/libc/include/mipsel-linux-any/asm/termbits.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/termbits.h
rename to libc/include/mipsel-linux-any/asm/termbits.h
diff --git a/libc/include/mipsel-linux-musl/asm/termios.h b/libc/include/mipsel-linux-any/asm/termios.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/termios.h
rename to libc/include/mipsel-linux-any/asm/termios.h
diff --git a/libc/include/mipsel-linux-musl/asm/types.h b/libc/include/mipsel-linux-any/asm/types.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/types.h
rename to libc/include/mipsel-linux-any/asm/types.h
diff --git a/libc/include/mipsel-linux-musl/asm/unistd.h b/libc/include/mipsel-linux-any/asm/unistd.h
similarity index 100%
rename from libc/include/mipsel-linux-musl/asm/unistd.h
rename to libc/include/mipsel-linux-any/asm/unistd.h
diff --git a/libc/include/mipsel-linux-gnu/asm/sgidefs.h b/libc/include/mipsel-linux-gnu/asm/sgidefs.h
deleted file mode 100644
index 26143e3b7c..0000000000
--- a/libc/include/mipsel-linux-gnu/asm/sgidefs.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 1996, 1999, 2001 Ralf Baechle
- * Copyright (C) 1999 Silicon Graphics, Inc.
- * Copyright (C) 2001 MIPS Technologies, Inc.
- */
-#ifndef __ASM_SGIDEFS_H
-#define __ASM_SGIDEFS_H
-
-/*
- * Using a Linux compiler for building Linux seems logic but not to
- * everybody.
- */
-#ifndef __linux__
-#error Use a Linux compiler or give up.
-#endif
-
-/*
- * Definitions for the ISA levels
- *
- * With the introduction of MIPS32 / MIPS64 instruction sets definitions
- * MIPS ISAs are no longer subsets of each other.  Therefore comparisons
- * on these symbols except with == may result in unexpected results and
- * are forbidden!
- */
-#define _MIPS_ISA_MIPS1		1
-#define _MIPS_ISA_MIPS2		2
-#define _MIPS_ISA_MIPS3		3
-#define _MIPS_ISA_MIPS4		4
-#define _MIPS_ISA_MIPS5		5
-#define _MIPS_ISA_MIPS32	6
-#define _MIPS_ISA_MIPS64	7
-
-/*
- * Subprogram calling convention
- */
-#define _MIPS_SIM_ABI32		1
-#define _MIPS_SIM_NABI32	2
-#define _MIPS_SIM_ABI64		3
-
-#endif /* __ASM_SGIDEFS_H */
diff --git a/libc/include/mipsel-linux-gnu/asm/unistd.h b/libc/include/mipsel-linux-gnu/asm/unistd.h
deleted file mode 100644
index f25dd1d83f..0000000000
--- a/libc/include/mipsel-linux-gnu/asm/unistd.h
+++ /dev/null
@@ -1,1101 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 1995, 96, 97, 98, 99, 2000 by Ralf Baechle
- * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
- *
- * Changed system calls macros _syscall5 - _syscall7 to push args 5 to 7 onto
- * the stack. Robin Farine for ACN S.A, Copyright (C) 1996 by ACN S.A
- */
-#ifndef _UAPI_ASM_UNISTD_H
-#define _UAPI_ASM_UNISTD_H
-
-#include 
-
-#if _MIPS_SIM == _MIPS_SIM_ABI32
-
-/*
- * Linux o32 style syscalls are in the range from 4000 to 4999.
- */
-#define __NR_Linux			4000
-#define __NR_syscall			(__NR_Linux +	0)
-#define __NR_exit			(__NR_Linux +	1)
-#define __NR_fork			(__NR_Linux +	2)
-#define __NR_read			(__NR_Linux +	3)
-#define __NR_write			(__NR_Linux +	4)
-#define __NR_open			(__NR_Linux +	5)
-#define __NR_close			(__NR_Linux +	6)
-#define __NR_waitpid			(__NR_Linux +	7)
-#define __NR_creat			(__NR_Linux +	8)
-#define __NR_link			(__NR_Linux +	9)
-#define __NR_unlink			(__NR_Linux +  10)
-#define __NR_execve			(__NR_Linux +  11)
-#define __NR_chdir			(__NR_Linux +  12)
-#define __NR_time			(__NR_Linux +  13)
-#define __NR_mknod			(__NR_Linux +  14)
-#define __NR_chmod			(__NR_Linux +  15)
-#define __NR_lchown			(__NR_Linux +  16)
-#define __NR_break			(__NR_Linux +  17)
-#define __NR_unused18			(__NR_Linux +  18)
-#define __NR_lseek			(__NR_Linux +  19)
-#define __NR_getpid			(__NR_Linux +  20)
-#define __NR_mount			(__NR_Linux +  21)
-#define __NR_umount			(__NR_Linux +  22)
-#define __NR_setuid			(__NR_Linux +  23)
-#define __NR_getuid			(__NR_Linux +  24)
-#define __NR_stime			(__NR_Linux +  25)
-#define __NR_ptrace			(__NR_Linux +  26)
-#define __NR_alarm			(__NR_Linux +  27)
-#define __NR_unused28			(__NR_Linux +  28)
-#define __NR_pause			(__NR_Linux +  29)
-#define __NR_utime			(__NR_Linux +  30)
-#define __NR_stty			(__NR_Linux +  31)
-#define __NR_gtty			(__NR_Linux +  32)
-#define __NR_access			(__NR_Linux +  33)
-#define __NR_nice			(__NR_Linux +  34)
-#define __NR_ftime			(__NR_Linux +  35)
-#define __NR_sync			(__NR_Linux +  36)
-#define __NR_kill			(__NR_Linux +  37)
-#define __NR_rename			(__NR_Linux +  38)
-#define __NR_mkdir			(__NR_Linux +  39)
-#define __NR_rmdir			(__NR_Linux +  40)
-#define __NR_dup			(__NR_Linux +  41)
-#define __NR_pipe			(__NR_Linux +  42)
-#define __NR_times			(__NR_Linux +  43)
-#define __NR_prof			(__NR_Linux +  44)
-#define __NR_brk			(__NR_Linux +  45)
-#define __NR_setgid			(__NR_Linux +  46)
-#define __NR_getgid			(__NR_Linux +  47)
-#define __NR_signal			(__NR_Linux +  48)
-#define __NR_geteuid			(__NR_Linux +  49)
-#define __NR_getegid			(__NR_Linux +  50)
-#define __NR_acct			(__NR_Linux +  51)
-#define __NR_umount2			(__NR_Linux +  52)
-#define __NR_lock			(__NR_Linux +  53)
-#define __NR_ioctl			(__NR_Linux +  54)
-#define __NR_fcntl			(__NR_Linux +  55)
-#define __NR_mpx			(__NR_Linux +  56)
-#define __NR_setpgid			(__NR_Linux +  57)
-#define __NR_ulimit			(__NR_Linux +  58)
-#define __NR_unused59			(__NR_Linux +  59)
-#define __NR_umask			(__NR_Linux +  60)
-#define __NR_chroot			(__NR_Linux +  61)
-#define __NR_ustat			(__NR_Linux +  62)
-#define __NR_dup2			(__NR_Linux +  63)
-#define __NR_getppid			(__NR_Linux +  64)
-#define __NR_getpgrp			(__NR_Linux +  65)
-#define __NR_setsid			(__NR_Linux +  66)
-#define __NR_sigaction			(__NR_Linux +  67)
-#define __NR_sgetmask			(__NR_Linux +  68)
-#define __NR_ssetmask			(__NR_Linux +  69)
-#define __NR_setreuid			(__NR_Linux +  70)
-#define __NR_setregid			(__NR_Linux +  71)
-#define __NR_sigsuspend			(__NR_Linux +  72)
-#define __NR_sigpending			(__NR_Linux +  73)
-#define __NR_sethostname		(__NR_Linux +  74)
-#define __NR_setrlimit			(__NR_Linux +  75)
-#define __NR_getrlimit			(__NR_Linux +  76)
-#define __NR_getrusage			(__NR_Linux +  77)
-#define __NR_gettimeofday		(__NR_Linux +  78)
-#define __NR_settimeofday		(__NR_Linux +  79)
-#define __NR_getgroups			(__NR_Linux +  80)
-#define __NR_setgroups			(__NR_Linux +  81)
-#define __NR_reserved82			(__NR_Linux +  82)
-#define __NR_symlink			(__NR_Linux +  83)
-#define __NR_unused84			(__NR_Linux +  84)
-#define __NR_readlink			(__NR_Linux +  85)
-#define __NR_uselib			(__NR_Linux +  86)
-#define __NR_swapon			(__NR_Linux +  87)
-#define __NR_reboot			(__NR_Linux +  88)
-#define __NR_readdir			(__NR_Linux +  89)
-#define __NR_mmap			(__NR_Linux +  90)
-#define __NR_munmap			(__NR_Linux +  91)
-#define __NR_truncate			(__NR_Linux +  92)
-#define __NR_ftruncate			(__NR_Linux +  93)
-#define __NR_fchmod			(__NR_Linux +  94)
-#define __NR_fchown			(__NR_Linux +  95)
-#define __NR_getpriority		(__NR_Linux +  96)
-#define __NR_setpriority		(__NR_Linux +  97)
-#define __NR_profil			(__NR_Linux +  98)
-#define __NR_statfs			(__NR_Linux +  99)
-#define __NR_fstatfs			(__NR_Linux + 100)
-#define __NR_ioperm			(__NR_Linux + 101)
-#define __NR_socketcall			(__NR_Linux + 102)
-#define __NR_syslog			(__NR_Linux + 103)
-#define __NR_setitimer			(__NR_Linux + 104)
-#define __NR_getitimer			(__NR_Linux + 105)
-#define __NR_stat			(__NR_Linux + 106)
-#define __NR_lstat			(__NR_Linux + 107)
-#define __NR_fstat			(__NR_Linux + 108)
-#define __NR_unused109			(__NR_Linux + 109)
-#define __NR_iopl			(__NR_Linux + 110)
-#define __NR_vhangup			(__NR_Linux + 111)
-#define __NR_idle			(__NR_Linux + 112)
-#define __NR_vm86			(__NR_Linux + 113)
-#define __NR_wait4			(__NR_Linux + 114)
-#define __NR_swapoff			(__NR_Linux + 115)
-#define __NR_sysinfo			(__NR_Linux + 116)
-#define __NR_ipc			(__NR_Linux + 117)
-#define __NR_fsync			(__NR_Linux + 118)
-#define __NR_sigreturn			(__NR_Linux + 119)
-#define __NR_clone			(__NR_Linux + 120)
-#define __NR_setdomainname		(__NR_Linux + 121)
-#define __NR_uname			(__NR_Linux + 122)
-#define __NR_modify_ldt			(__NR_Linux + 123)
-#define __NR_adjtimex			(__NR_Linux + 124)
-#define __NR_mprotect			(__NR_Linux + 125)
-#define __NR_sigprocmask		(__NR_Linux + 126)
-#define __NR_create_module		(__NR_Linux + 127)
-#define __NR_init_module		(__NR_Linux + 128)
-#define __NR_delete_module		(__NR_Linux + 129)
-#define __NR_get_kernel_syms		(__NR_Linux + 130)
-#define __NR_quotactl			(__NR_Linux + 131)
-#define __NR_getpgid			(__NR_Linux + 132)
-#define __NR_fchdir			(__NR_Linux + 133)
-#define __NR_bdflush			(__NR_Linux + 134)
-#define __NR_sysfs			(__NR_Linux + 135)
-#define __NR_personality		(__NR_Linux + 136)
-#define __NR_afs_syscall		(__NR_Linux + 137) /* Syscall for Andrew File System */
-#define __NR_setfsuid			(__NR_Linux + 138)
-#define __NR_setfsgid			(__NR_Linux + 139)
-#define __NR__llseek			(__NR_Linux + 140)
-#define __NR_getdents			(__NR_Linux + 141)
-#define __NR__newselect			(__NR_Linux + 142)
-#define __NR_flock			(__NR_Linux + 143)
-#define __NR_msync			(__NR_Linux + 144)
-#define __NR_readv			(__NR_Linux + 145)
-#define __NR_writev			(__NR_Linux + 146)
-#define __NR_cacheflush			(__NR_Linux + 147)
-#define __NR_cachectl			(__NR_Linux + 148)
-#define __NR_sysmips			(__NR_Linux + 149)
-#define __NR_unused150			(__NR_Linux + 150)
-#define __NR_getsid			(__NR_Linux + 151)
-#define __NR_fdatasync			(__NR_Linux + 152)
-#define __NR__sysctl			(__NR_Linux + 153)
-#define __NR_mlock			(__NR_Linux + 154)
-#define __NR_munlock			(__NR_Linux + 155)
-#define __NR_mlockall			(__NR_Linux + 156)
-#define __NR_munlockall			(__NR_Linux + 157)
-#define __NR_sched_setparam		(__NR_Linux + 158)
-#define __NR_sched_getparam		(__NR_Linux + 159)
-#define __NR_sched_setscheduler		(__NR_Linux + 160)
-#define __NR_sched_getscheduler		(__NR_Linux + 161)
-#define __NR_sched_yield		(__NR_Linux + 162)
-#define __NR_sched_get_priority_max	(__NR_Linux + 163)
-#define __NR_sched_get_priority_min	(__NR_Linux + 164)
-#define __NR_sched_rr_get_interval	(__NR_Linux + 165)
-#define __NR_nanosleep			(__NR_Linux + 166)
-#define __NR_mremap			(__NR_Linux + 167)
-#define __NR_accept			(__NR_Linux + 168)
-#define __NR_bind			(__NR_Linux + 169)
-#define __NR_connect			(__NR_Linux + 170)
-#define __NR_getpeername		(__NR_Linux + 171)
-#define __NR_getsockname		(__NR_Linux + 172)
-#define __NR_getsockopt			(__NR_Linux + 173)
-#define __NR_listen			(__NR_Linux + 174)
-#define __NR_recv			(__NR_Linux + 175)
-#define __NR_recvfrom			(__NR_Linux + 176)
-#define __NR_recvmsg			(__NR_Linux + 177)
-#define __NR_send			(__NR_Linux + 178)
-#define __NR_sendmsg			(__NR_Linux + 179)
-#define __NR_sendto			(__NR_Linux + 180)
-#define __NR_setsockopt			(__NR_Linux + 181)
-#define __NR_shutdown			(__NR_Linux + 182)
-#define __NR_socket			(__NR_Linux + 183)
-#define __NR_socketpair			(__NR_Linux + 184)
-#define __NR_setresuid			(__NR_Linux + 185)
-#define __NR_getresuid			(__NR_Linux + 186)
-#define __NR_query_module		(__NR_Linux + 187)
-#define __NR_poll			(__NR_Linux + 188)
-#define __NR_nfsservctl			(__NR_Linux + 189)
-#define __NR_setresgid			(__NR_Linux + 190)
-#define __NR_getresgid			(__NR_Linux + 191)
-#define __NR_prctl			(__NR_Linux + 192)
-#define __NR_rt_sigreturn		(__NR_Linux + 193)
-#define __NR_rt_sigaction		(__NR_Linux + 194)
-#define __NR_rt_sigprocmask		(__NR_Linux + 195)
-#define __NR_rt_sigpending		(__NR_Linux + 196)
-#define __NR_rt_sigtimedwait		(__NR_Linux + 197)
-#define __NR_rt_sigqueueinfo		(__NR_Linux + 198)
-#define __NR_rt_sigsuspend		(__NR_Linux + 199)
-#define __NR_pread64			(__NR_Linux + 200)
-#define __NR_pwrite64			(__NR_Linux + 201)
-#define __NR_chown			(__NR_Linux + 202)
-#define __NR_getcwd			(__NR_Linux + 203)
-#define __NR_capget			(__NR_Linux + 204)
-#define __NR_capset			(__NR_Linux + 205)
-#define __NR_sigaltstack		(__NR_Linux + 206)
-#define __NR_sendfile			(__NR_Linux + 207)
-#define __NR_getpmsg			(__NR_Linux + 208)
-#define __NR_putpmsg			(__NR_Linux + 209)
-#define __NR_mmap2			(__NR_Linux + 210)
-#define __NR_truncate64			(__NR_Linux + 211)
-#define __NR_ftruncate64		(__NR_Linux + 212)
-#define __NR_stat64			(__NR_Linux + 213)
-#define __NR_lstat64			(__NR_Linux + 214)
-#define __NR_fstat64			(__NR_Linux + 215)
-#define __NR_pivot_root			(__NR_Linux + 216)
-#define __NR_mincore			(__NR_Linux + 217)
-#define __NR_madvise			(__NR_Linux + 218)
-#define __NR_getdents64			(__NR_Linux + 219)
-#define __NR_fcntl64			(__NR_Linux + 220)
-#define __NR_reserved221		(__NR_Linux + 221)
-#define __NR_gettid			(__NR_Linux + 222)
-#define __NR_readahead			(__NR_Linux + 223)
-#define __NR_setxattr			(__NR_Linux + 224)
-#define __NR_lsetxattr			(__NR_Linux + 225)
-#define __NR_fsetxattr			(__NR_Linux + 226)
-#define __NR_getxattr			(__NR_Linux + 227)
-#define __NR_lgetxattr			(__NR_Linux + 228)
-#define __NR_fgetxattr			(__NR_Linux + 229)
-#define __NR_listxattr			(__NR_Linux + 230)
-#define __NR_llistxattr			(__NR_Linux + 231)
-#define __NR_flistxattr			(__NR_Linux + 232)
-#define __NR_removexattr		(__NR_Linux + 233)
-#define __NR_lremovexattr		(__NR_Linux + 234)
-#define __NR_fremovexattr		(__NR_Linux + 235)
-#define __NR_tkill			(__NR_Linux + 236)
-#define __NR_sendfile64			(__NR_Linux + 237)
-#define __NR_futex			(__NR_Linux + 238)
-#define __NR_sched_setaffinity		(__NR_Linux + 239)
-#define __NR_sched_getaffinity		(__NR_Linux + 240)
-#define __NR_io_setup			(__NR_Linux + 241)
-#define __NR_io_destroy			(__NR_Linux + 242)
-#define __NR_io_getevents		(__NR_Linux + 243)
-#define __NR_io_submit			(__NR_Linux + 244)
-#define __NR_io_cancel			(__NR_Linux + 245)
-#define __NR_exit_group			(__NR_Linux + 246)
-#define __NR_lookup_dcookie		(__NR_Linux + 247)
-#define __NR_epoll_create		(__NR_Linux + 248)
-#define __NR_epoll_ctl			(__NR_Linux + 249)
-#define __NR_epoll_wait			(__NR_Linux + 250)
-#define __NR_remap_file_pages		(__NR_Linux + 251)
-#define __NR_set_tid_address		(__NR_Linux + 252)
-#define __NR_restart_syscall		(__NR_Linux + 253)
-#define __NR_fadvise64			(__NR_Linux + 254)
-#define __NR_statfs64			(__NR_Linux + 255)
-#define __NR_fstatfs64			(__NR_Linux + 256)
-#define __NR_timer_create		(__NR_Linux + 257)
-#define __NR_timer_settime		(__NR_Linux + 258)
-#define __NR_timer_gettime		(__NR_Linux + 259)
-#define __NR_timer_getoverrun		(__NR_Linux + 260)
-#define __NR_timer_delete		(__NR_Linux + 261)
-#define __NR_clock_settime		(__NR_Linux + 262)
-#define __NR_clock_gettime		(__NR_Linux + 263)
-#define __NR_clock_getres		(__NR_Linux + 264)
-#define __NR_clock_nanosleep		(__NR_Linux + 265)
-#define __NR_tgkill			(__NR_Linux + 266)
-#define __NR_utimes			(__NR_Linux + 267)
-#define __NR_mbind			(__NR_Linux + 268)
-#define __NR_get_mempolicy		(__NR_Linux + 269)
-#define __NR_set_mempolicy		(__NR_Linux + 270)
-#define __NR_mq_open			(__NR_Linux + 271)
-#define __NR_mq_unlink			(__NR_Linux + 272)
-#define __NR_mq_timedsend		(__NR_Linux + 273)
-#define __NR_mq_timedreceive		(__NR_Linux + 274)
-#define __NR_mq_notify			(__NR_Linux + 275)
-#define __NR_mq_getsetattr		(__NR_Linux + 276)
-#define __NR_vserver			(__NR_Linux + 277)
-#define __NR_waitid			(__NR_Linux + 278)
-/* #define __NR_sys_setaltroot		(__NR_Linux + 279) */
-#define __NR_add_key			(__NR_Linux + 280)
-#define __NR_request_key		(__NR_Linux + 281)
-#define __NR_keyctl			(__NR_Linux + 282)
-#define __NR_set_thread_area		(__NR_Linux + 283)
-#define __NR_inotify_init		(__NR_Linux + 284)
-#define __NR_inotify_add_watch		(__NR_Linux + 285)
-#define __NR_inotify_rm_watch		(__NR_Linux + 286)
-#define __NR_migrate_pages		(__NR_Linux + 287)
-#define __NR_openat			(__NR_Linux + 288)
-#define __NR_mkdirat			(__NR_Linux + 289)
-#define __NR_mknodat			(__NR_Linux + 290)
-#define __NR_fchownat			(__NR_Linux + 291)
-#define __NR_futimesat			(__NR_Linux + 292)
-#define __NR_fstatat64			(__NR_Linux + 293)
-#define __NR_unlinkat			(__NR_Linux + 294)
-#define __NR_renameat			(__NR_Linux + 295)
-#define __NR_linkat			(__NR_Linux + 296)
-#define __NR_symlinkat			(__NR_Linux + 297)
-#define __NR_readlinkat			(__NR_Linux + 298)
-#define __NR_fchmodat			(__NR_Linux + 299)
-#define __NR_faccessat			(__NR_Linux + 300)
-#define __NR_pselect6			(__NR_Linux + 301)
-#define __NR_ppoll			(__NR_Linux + 302)
-#define __NR_unshare			(__NR_Linux + 303)
-#define __NR_splice			(__NR_Linux + 304)
-#define __NR_sync_file_range		(__NR_Linux + 305)
-#define __NR_tee			(__NR_Linux + 306)
-#define __NR_vmsplice			(__NR_Linux + 307)
-#define __NR_move_pages			(__NR_Linux + 308)
-#define __NR_set_robust_list		(__NR_Linux + 309)
-#define __NR_get_robust_list		(__NR_Linux + 310)
-#define __NR_kexec_load			(__NR_Linux + 311)
-#define __NR_getcpu			(__NR_Linux + 312)
-#define __NR_epoll_pwait		(__NR_Linux + 313)
-#define __NR_ioprio_set			(__NR_Linux + 314)
-#define __NR_ioprio_get			(__NR_Linux + 315)
-#define __NR_utimensat			(__NR_Linux + 316)
-#define __NR_signalfd			(__NR_Linux + 317)
-#define __NR_timerfd			(__NR_Linux + 318)
-#define __NR_eventfd			(__NR_Linux + 319)
-#define __NR_fallocate			(__NR_Linux + 320)
-#define __NR_timerfd_create		(__NR_Linux + 321)
-#define __NR_timerfd_gettime		(__NR_Linux + 322)
-#define __NR_timerfd_settime		(__NR_Linux + 323)
-#define __NR_signalfd4			(__NR_Linux + 324)
-#define __NR_eventfd2			(__NR_Linux + 325)
-#define __NR_epoll_create1		(__NR_Linux + 326)
-#define __NR_dup3			(__NR_Linux + 327)
-#define __NR_pipe2			(__NR_Linux + 328)
-#define __NR_inotify_init1		(__NR_Linux + 329)
-#define __NR_preadv			(__NR_Linux + 330)
-#define __NR_pwritev			(__NR_Linux + 331)
-#define __NR_rt_tgsigqueueinfo		(__NR_Linux + 332)
-#define __NR_perf_event_open		(__NR_Linux + 333)
-#define __NR_accept4			(__NR_Linux + 334)
-#define __NR_recvmmsg			(__NR_Linux + 335)
-#define __NR_fanotify_init		(__NR_Linux + 336)
-#define __NR_fanotify_mark		(__NR_Linux + 337)
-#define __NR_prlimit64			(__NR_Linux + 338)
-#define __NR_name_to_handle_at		(__NR_Linux + 339)
-#define __NR_open_by_handle_at		(__NR_Linux + 340)
-#define __NR_clock_adjtime		(__NR_Linux + 341)
-#define __NR_syncfs			(__NR_Linux + 342)
-#define __NR_sendmmsg			(__NR_Linux + 343)
-#define __NR_setns			(__NR_Linux + 344)
-#define __NR_process_vm_readv		(__NR_Linux + 345)
-#define __NR_process_vm_writev		(__NR_Linux + 346)
-#define __NR_kcmp			(__NR_Linux + 347)
-#define __NR_finit_module		(__NR_Linux + 348)
-#define __NR_sched_setattr		(__NR_Linux + 349)
-#define __NR_sched_getattr		(__NR_Linux + 350)
-#define __NR_renameat2			(__NR_Linux + 351)
-#define __NR_seccomp			(__NR_Linux + 352)
-#define __NR_getrandom			(__NR_Linux + 353)
-#define __NR_memfd_create		(__NR_Linux + 354)
-#define __NR_bpf			(__NR_Linux + 355)
-#define __NR_execveat			(__NR_Linux + 356)
-#define __NR_userfaultfd		(__NR_Linux + 357)
-#define __NR_membarrier			(__NR_Linux + 358)
-#define __NR_mlock2			(__NR_Linux + 359)
-#define __NR_copy_file_range		(__NR_Linux + 360)
-#define __NR_preadv2			(__NR_Linux + 361)
-#define __NR_pwritev2			(__NR_Linux + 362)
-#define __NR_pkey_mprotect		(__NR_Linux + 363)
-#define __NR_pkey_alloc			(__NR_Linux + 364)
-#define __NR_pkey_free			(__NR_Linux + 365)
-#define __NR_statx			(__NR_Linux + 366)
-#define __NR_rseq			(__NR_Linux + 367)
-#define __NR_io_pgetevents		(__NR_Linux + 368)
-
-
-/*
- * Offset of the last Linux o32 flavoured syscall
- */
-#define __NR_Linux_syscalls		368
-
-#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
-
-#define __NR_O32_Linux			4000
-#define __NR_O32_Linux_syscalls		368
-
-#if _MIPS_SIM == _MIPS_SIM_ABI64
-
-/*
- * Linux 64-bit syscalls are in the range from 5000 to 5999.
- */
-#define __NR_Linux			5000
-#define __NR_read			(__NR_Linux +	0)
-#define __NR_write			(__NR_Linux +	1)
-#define __NR_open			(__NR_Linux +	2)
-#define __NR_close			(__NR_Linux +	3)
-#define __NR_stat			(__NR_Linux +	4)
-#define __NR_fstat			(__NR_Linux +	5)
-#define __NR_lstat			(__NR_Linux +	6)
-#define __NR_poll			(__NR_Linux +	7)
-#define __NR_lseek			(__NR_Linux +	8)
-#define __NR_mmap			(__NR_Linux +	9)
-#define __NR_mprotect			(__NR_Linux +  10)
-#define __NR_munmap			(__NR_Linux +  11)
-#define __NR_brk			(__NR_Linux +  12)
-#define __NR_rt_sigaction		(__NR_Linux +  13)
-#define __NR_rt_sigprocmask		(__NR_Linux +  14)
-#define __NR_ioctl			(__NR_Linux +  15)
-#define __NR_pread64			(__NR_Linux +  16)
-#define __NR_pwrite64			(__NR_Linux +  17)
-#define __NR_readv			(__NR_Linux +  18)
-#define __NR_writev			(__NR_Linux +  19)
-#define __NR_access			(__NR_Linux +  20)
-#define __NR_pipe			(__NR_Linux +  21)
-#define __NR__newselect			(__NR_Linux +  22)
-#define __NR_sched_yield		(__NR_Linux +  23)
-#define __NR_mremap			(__NR_Linux +  24)
-#define __NR_msync			(__NR_Linux +  25)
-#define __NR_mincore			(__NR_Linux +  26)
-#define __NR_madvise			(__NR_Linux +  27)
-#define __NR_shmget			(__NR_Linux +  28)
-#define __NR_shmat			(__NR_Linux +  29)
-#define __NR_shmctl			(__NR_Linux +  30)
-#define __NR_dup			(__NR_Linux +  31)
-#define __NR_dup2			(__NR_Linux +  32)
-#define __NR_pause			(__NR_Linux +  33)
-#define __NR_nanosleep			(__NR_Linux +  34)
-#define __NR_getitimer			(__NR_Linux +  35)
-#define __NR_setitimer			(__NR_Linux +  36)
-#define __NR_alarm			(__NR_Linux +  37)
-#define __NR_getpid			(__NR_Linux +  38)
-#define __NR_sendfile			(__NR_Linux +  39)
-#define __NR_socket			(__NR_Linux +  40)
-#define __NR_connect			(__NR_Linux +  41)
-#define __NR_accept			(__NR_Linux +  42)
-#define __NR_sendto			(__NR_Linux +  43)
-#define __NR_recvfrom			(__NR_Linux +  44)
-#define __NR_sendmsg			(__NR_Linux +  45)
-#define __NR_recvmsg			(__NR_Linux +  46)
-#define __NR_shutdown			(__NR_Linux +  47)
-#define __NR_bind			(__NR_Linux +  48)
-#define __NR_listen			(__NR_Linux +  49)
-#define __NR_getsockname		(__NR_Linux +  50)
-#define __NR_getpeername		(__NR_Linux +  51)
-#define __NR_socketpair			(__NR_Linux +  52)
-#define __NR_setsockopt			(__NR_Linux +  53)
-#define __NR_getsockopt			(__NR_Linux +  54)
-#define __NR_clone			(__NR_Linux +  55)
-#define __NR_fork			(__NR_Linux +  56)
-#define __NR_execve			(__NR_Linux +  57)
-#define __NR_exit			(__NR_Linux +  58)
-#define __NR_wait4			(__NR_Linux +  59)
-#define __NR_kill			(__NR_Linux +  60)
-#define __NR_uname			(__NR_Linux +  61)
-#define __NR_semget			(__NR_Linux +  62)
-#define __NR_semop			(__NR_Linux +  63)
-#define __NR_semctl			(__NR_Linux +  64)
-#define __NR_shmdt			(__NR_Linux +  65)
-#define __NR_msgget			(__NR_Linux +  66)
-#define __NR_msgsnd			(__NR_Linux +  67)
-#define __NR_msgrcv			(__NR_Linux +  68)
-#define __NR_msgctl			(__NR_Linux +  69)
-#define __NR_fcntl			(__NR_Linux +  70)
-#define __NR_flock			(__NR_Linux +  71)
-#define __NR_fsync			(__NR_Linux +  72)
-#define __NR_fdatasync			(__NR_Linux +  73)
-#define __NR_truncate			(__NR_Linux +  74)
-#define __NR_ftruncate			(__NR_Linux +  75)
-#define __NR_getdents			(__NR_Linux +  76)
-#define __NR_getcwd			(__NR_Linux +  77)
-#define __NR_chdir			(__NR_Linux +  78)
-#define __NR_fchdir			(__NR_Linux +  79)
-#define __NR_rename			(__NR_Linux +  80)
-#define __NR_mkdir			(__NR_Linux +  81)
-#define __NR_rmdir			(__NR_Linux +  82)
-#define __NR_creat			(__NR_Linux +  83)
-#define __NR_link			(__NR_Linux +  84)
-#define __NR_unlink			(__NR_Linux +  85)
-#define __NR_symlink			(__NR_Linux +  86)
-#define __NR_readlink			(__NR_Linux +  87)
-#define __NR_chmod			(__NR_Linux +  88)
-#define __NR_fchmod			(__NR_Linux +  89)
-#define __NR_chown			(__NR_Linux +  90)
-#define __NR_fchown			(__NR_Linux +  91)
-#define __NR_lchown			(__NR_Linux +  92)
-#define __NR_umask			(__NR_Linux +  93)
-#define __NR_gettimeofday		(__NR_Linux +  94)
-#define __NR_getrlimit			(__NR_Linux +  95)
-#define __NR_getrusage			(__NR_Linux +  96)
-#define __NR_sysinfo			(__NR_Linux +  97)
-#define __NR_times			(__NR_Linux +  98)
-#define __NR_ptrace			(__NR_Linux +  99)
-#define __NR_getuid			(__NR_Linux + 100)
-#define __NR_syslog			(__NR_Linux + 101)
-#define __NR_getgid			(__NR_Linux + 102)
-#define __NR_setuid			(__NR_Linux + 103)
-#define __NR_setgid			(__NR_Linux + 104)
-#define __NR_geteuid			(__NR_Linux + 105)
-#define __NR_getegid			(__NR_Linux + 106)
-#define __NR_setpgid			(__NR_Linux + 107)
-#define __NR_getppid			(__NR_Linux + 108)
-#define __NR_getpgrp			(__NR_Linux + 109)
-#define __NR_setsid			(__NR_Linux + 110)
-#define __NR_setreuid			(__NR_Linux + 111)
-#define __NR_setregid			(__NR_Linux + 112)
-#define __NR_getgroups			(__NR_Linux + 113)
-#define __NR_setgroups			(__NR_Linux + 114)
-#define __NR_setresuid			(__NR_Linux + 115)
-#define __NR_getresuid			(__NR_Linux + 116)
-#define __NR_setresgid			(__NR_Linux + 117)
-#define __NR_getresgid			(__NR_Linux + 118)
-#define __NR_getpgid			(__NR_Linux + 119)
-#define __NR_setfsuid			(__NR_Linux + 120)
-#define __NR_setfsgid			(__NR_Linux + 121)
-#define __NR_getsid			(__NR_Linux + 122)
-#define __NR_capget			(__NR_Linux + 123)
-#define __NR_capset			(__NR_Linux + 124)
-#define __NR_rt_sigpending		(__NR_Linux + 125)
-#define __NR_rt_sigtimedwait		(__NR_Linux + 126)
-#define __NR_rt_sigqueueinfo		(__NR_Linux + 127)
-#define __NR_rt_sigsuspend		(__NR_Linux + 128)
-#define __NR_sigaltstack		(__NR_Linux + 129)
-#define __NR_utime			(__NR_Linux + 130)
-#define __NR_mknod			(__NR_Linux + 131)
-#define __NR_personality		(__NR_Linux + 132)
-#define __NR_ustat			(__NR_Linux + 133)
-#define __NR_statfs			(__NR_Linux + 134)
-#define __NR_fstatfs			(__NR_Linux + 135)
-#define __NR_sysfs			(__NR_Linux + 136)
-#define __NR_getpriority		(__NR_Linux + 137)
-#define __NR_setpriority		(__NR_Linux + 138)
-#define __NR_sched_setparam		(__NR_Linux + 139)
-#define __NR_sched_getparam		(__NR_Linux + 140)
-#define __NR_sched_setscheduler		(__NR_Linux + 141)
-#define __NR_sched_getscheduler		(__NR_Linux + 142)
-#define __NR_sched_get_priority_max	(__NR_Linux + 143)
-#define __NR_sched_get_priority_min	(__NR_Linux + 144)
-#define __NR_sched_rr_get_interval	(__NR_Linux + 145)
-#define __NR_mlock			(__NR_Linux + 146)
-#define __NR_munlock			(__NR_Linux + 147)
-#define __NR_mlockall			(__NR_Linux + 148)
-#define __NR_munlockall			(__NR_Linux + 149)
-#define __NR_vhangup			(__NR_Linux + 150)
-#define __NR_pivot_root			(__NR_Linux + 151)
-#define __NR__sysctl			(__NR_Linux + 152)
-#define __NR_prctl			(__NR_Linux + 153)
-#define __NR_adjtimex			(__NR_Linux + 154)
-#define __NR_setrlimit			(__NR_Linux + 155)
-#define __NR_chroot			(__NR_Linux + 156)
-#define __NR_sync			(__NR_Linux + 157)
-#define __NR_acct			(__NR_Linux + 158)
-#define __NR_settimeofday		(__NR_Linux + 159)
-#define __NR_mount			(__NR_Linux + 160)
-#define __NR_umount2			(__NR_Linux + 161)
-#define __NR_swapon			(__NR_Linux + 162)
-#define __NR_swapoff			(__NR_Linux + 163)
-#define __NR_reboot			(__NR_Linux + 164)
-#define __NR_sethostname		(__NR_Linux + 165)
-#define __NR_setdomainname		(__NR_Linux + 166)
-#define __NR_create_module		(__NR_Linux + 167)
-#define __NR_init_module		(__NR_Linux + 168)
-#define __NR_delete_module		(__NR_Linux + 169)
-#define __NR_get_kernel_syms		(__NR_Linux + 170)
-#define __NR_query_module		(__NR_Linux + 171)
-#define __NR_quotactl			(__NR_Linux + 172)
-#define __NR_nfsservctl			(__NR_Linux + 173)
-#define __NR_getpmsg			(__NR_Linux + 174)
-#define __NR_putpmsg			(__NR_Linux + 175)
-#define __NR_afs_syscall		(__NR_Linux + 176)
-#define __NR_reserved177		(__NR_Linux + 177)
-#define __NR_gettid			(__NR_Linux + 178)
-#define __NR_readahead			(__NR_Linux + 179)
-#define __NR_setxattr			(__NR_Linux + 180)
-#define __NR_lsetxattr			(__NR_Linux + 181)
-#define __NR_fsetxattr			(__NR_Linux + 182)
-#define __NR_getxattr			(__NR_Linux + 183)
-#define __NR_lgetxattr			(__NR_Linux + 184)
-#define __NR_fgetxattr			(__NR_Linux + 185)
-#define __NR_listxattr			(__NR_Linux + 186)
-#define __NR_llistxattr			(__NR_Linux + 187)
-#define __NR_flistxattr			(__NR_Linux + 188)
-#define __NR_removexattr		(__NR_Linux + 189)
-#define __NR_lremovexattr		(__NR_Linux + 190)
-#define __NR_fremovexattr		(__NR_Linux + 191)
-#define __NR_tkill			(__NR_Linux + 192)
-#define __NR_reserved193		(__NR_Linux + 193)
-#define __NR_futex			(__NR_Linux + 194)
-#define __NR_sched_setaffinity		(__NR_Linux + 195)
-#define __NR_sched_getaffinity		(__NR_Linux + 196)
-#define __NR_cacheflush			(__NR_Linux + 197)
-#define __NR_cachectl			(__NR_Linux + 198)
-#define __NR_sysmips			(__NR_Linux + 199)
-#define __NR_io_setup			(__NR_Linux + 200)
-#define __NR_io_destroy			(__NR_Linux + 201)
-#define __NR_io_getevents		(__NR_Linux + 202)
-#define __NR_io_submit			(__NR_Linux + 203)
-#define __NR_io_cancel			(__NR_Linux + 204)
-#define __NR_exit_group			(__NR_Linux + 205)
-#define __NR_lookup_dcookie		(__NR_Linux + 206)
-#define __NR_epoll_create		(__NR_Linux + 207)
-#define __NR_epoll_ctl			(__NR_Linux + 208)
-#define __NR_epoll_wait			(__NR_Linux + 209)
-#define __NR_remap_file_pages		(__NR_Linux + 210)
-#define __NR_rt_sigreturn		(__NR_Linux + 211)
-#define __NR_set_tid_address		(__NR_Linux + 212)
-#define __NR_restart_syscall		(__NR_Linux + 213)
-#define __NR_semtimedop			(__NR_Linux + 214)
-#define __NR_fadvise64			(__NR_Linux + 215)
-#define __NR_timer_create		(__NR_Linux + 216)
-#define __NR_timer_settime		(__NR_Linux + 217)
-#define __NR_timer_gettime		(__NR_Linux + 218)
-#define __NR_timer_getoverrun		(__NR_Linux + 219)
-#define __NR_timer_delete		(__NR_Linux + 220)
-#define __NR_clock_settime		(__NR_Linux + 221)
-#define __NR_clock_gettime		(__NR_Linux + 222)
-#define __NR_clock_getres		(__NR_Linux + 223)
-#define __NR_clock_nanosleep		(__NR_Linux + 224)
-#define __NR_tgkill			(__NR_Linux + 225)
-#define __NR_utimes			(__NR_Linux + 226)
-#define __NR_mbind			(__NR_Linux + 227)
-#define __NR_get_mempolicy		(__NR_Linux + 228)
-#define __NR_set_mempolicy		(__NR_Linux + 229)
-#define __NR_mq_open			(__NR_Linux + 230)
-#define __NR_mq_unlink			(__NR_Linux + 231)
-#define __NR_mq_timedsend		(__NR_Linux + 232)
-#define __NR_mq_timedreceive		(__NR_Linux + 233)
-#define __NR_mq_notify			(__NR_Linux + 234)
-#define __NR_mq_getsetattr		(__NR_Linux + 235)
-#define __NR_vserver			(__NR_Linux + 236)
-#define __NR_waitid			(__NR_Linux + 237)
-/* #define __NR_sys_setaltroot		(__NR_Linux + 238) */
-#define __NR_add_key			(__NR_Linux + 239)
-#define __NR_request_key		(__NR_Linux + 240)
-#define __NR_keyctl			(__NR_Linux + 241)
-#define __NR_set_thread_area		(__NR_Linux + 242)
-#define __NR_inotify_init		(__NR_Linux + 243)
-#define __NR_inotify_add_watch		(__NR_Linux + 244)
-#define __NR_inotify_rm_watch		(__NR_Linux + 245)
-#define __NR_migrate_pages		(__NR_Linux + 246)
-#define __NR_openat			(__NR_Linux + 247)
-#define __NR_mkdirat			(__NR_Linux + 248)
-#define __NR_mknodat			(__NR_Linux + 249)
-#define __NR_fchownat			(__NR_Linux + 250)
-#define __NR_futimesat			(__NR_Linux + 251)
-#define __NR_newfstatat			(__NR_Linux + 252)
-#define __NR_unlinkat			(__NR_Linux + 253)
-#define __NR_renameat			(__NR_Linux + 254)
-#define __NR_linkat			(__NR_Linux + 255)
-#define __NR_symlinkat			(__NR_Linux + 256)
-#define __NR_readlinkat			(__NR_Linux + 257)
-#define __NR_fchmodat			(__NR_Linux + 258)
-#define __NR_faccessat			(__NR_Linux + 259)
-#define __NR_pselect6			(__NR_Linux + 260)
-#define __NR_ppoll			(__NR_Linux + 261)
-#define __NR_unshare			(__NR_Linux + 262)
-#define __NR_splice			(__NR_Linux + 263)
-#define __NR_sync_file_range		(__NR_Linux + 264)
-#define __NR_tee			(__NR_Linux + 265)
-#define __NR_vmsplice			(__NR_Linux + 266)
-#define __NR_move_pages			(__NR_Linux + 267)
-#define __NR_set_robust_list		(__NR_Linux + 268)
-#define __NR_get_robust_list		(__NR_Linux + 269)
-#define __NR_kexec_load			(__NR_Linux + 270)
-#define __NR_getcpu			(__NR_Linux + 271)
-#define __NR_epoll_pwait		(__NR_Linux + 272)
-#define __NR_ioprio_set			(__NR_Linux + 273)
-#define __NR_ioprio_get			(__NR_Linux + 274)
-#define __NR_utimensat			(__NR_Linux + 275)
-#define __NR_signalfd			(__NR_Linux + 276)
-#define __NR_timerfd			(__NR_Linux + 277)
-#define __NR_eventfd			(__NR_Linux + 278)
-#define __NR_fallocate			(__NR_Linux + 279)
-#define __NR_timerfd_create		(__NR_Linux + 280)
-#define __NR_timerfd_gettime		(__NR_Linux + 281)
-#define __NR_timerfd_settime		(__NR_Linux + 282)
-#define __NR_signalfd4			(__NR_Linux + 283)
-#define __NR_eventfd2			(__NR_Linux + 284)
-#define __NR_epoll_create1		(__NR_Linux + 285)
-#define __NR_dup3			(__NR_Linux + 286)
-#define __NR_pipe2			(__NR_Linux + 287)
-#define __NR_inotify_init1		(__NR_Linux + 288)
-#define __NR_preadv			(__NR_Linux + 289)
-#define __NR_pwritev			(__NR_Linux + 290)
-#define __NR_rt_tgsigqueueinfo		(__NR_Linux + 291)
-#define __NR_perf_event_open		(__NR_Linux + 292)
-#define __NR_accept4			(__NR_Linux + 293)
-#define __NR_recvmmsg			(__NR_Linux + 294)
-#define __NR_fanotify_init		(__NR_Linux + 295)
-#define __NR_fanotify_mark		(__NR_Linux + 296)
-#define __NR_prlimit64			(__NR_Linux + 297)
-#define __NR_name_to_handle_at		(__NR_Linux + 298)
-#define __NR_open_by_handle_at		(__NR_Linux + 299)
-#define __NR_clock_adjtime		(__NR_Linux + 300)
-#define __NR_syncfs			(__NR_Linux + 301)
-#define __NR_sendmmsg			(__NR_Linux + 302)
-#define __NR_setns			(__NR_Linux + 303)
-#define __NR_process_vm_readv		(__NR_Linux + 304)
-#define __NR_process_vm_writev		(__NR_Linux + 305)
-#define __NR_kcmp			(__NR_Linux + 306)
-#define __NR_finit_module		(__NR_Linux + 307)
-#define __NR_getdents64			(__NR_Linux + 308)
-#define __NR_sched_setattr		(__NR_Linux + 309)
-#define __NR_sched_getattr		(__NR_Linux + 310)
-#define __NR_renameat2			(__NR_Linux + 311)
-#define __NR_seccomp			(__NR_Linux + 312)
-#define __NR_getrandom			(__NR_Linux + 313)
-#define __NR_memfd_create		(__NR_Linux + 314)
-#define __NR_bpf			(__NR_Linux + 315)
-#define __NR_execveat			(__NR_Linux + 316)
-#define __NR_userfaultfd		(__NR_Linux + 317)
-#define __NR_membarrier			(__NR_Linux + 318)
-#define __NR_mlock2			(__NR_Linux + 319)
-#define __NR_copy_file_range		(__NR_Linux + 320)
-#define __NR_preadv2			(__NR_Linux + 321)
-#define __NR_pwritev2			(__NR_Linux + 322)
-#define __NR_pkey_mprotect		(__NR_Linux + 323)
-#define __NR_pkey_alloc			(__NR_Linux + 324)
-#define __NR_pkey_free			(__NR_Linux + 325)
-#define __NR_statx			(__NR_Linux + 326)
-#define __NR_rseq			(__NR_Linux + 327)
-#define __NR_io_pgetevents		(__NR_Linux + 328)
-
-/*
- * Offset of the last Linux 64-bit flavoured syscall
- */
-#define __NR_Linux_syscalls		328
-
-#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
-
-#define __NR_64_Linux			5000
-#define __NR_64_Linux_syscalls		328
-
-#if _MIPS_SIM == _MIPS_SIM_NABI32
-
-/*
- * Linux N32 syscalls are in the range from 6000 to 6999.
- */
-#define __NR_Linux			6000
-#define __NR_read			(__NR_Linux +	0)
-#define __NR_write			(__NR_Linux +	1)
-#define __NR_open			(__NR_Linux +	2)
-#define __NR_close			(__NR_Linux +	3)
-#define __NR_stat			(__NR_Linux +	4)
-#define __NR_fstat			(__NR_Linux +	5)
-#define __NR_lstat			(__NR_Linux +	6)
-#define __NR_poll			(__NR_Linux +	7)
-#define __NR_lseek			(__NR_Linux +	8)
-#define __NR_mmap			(__NR_Linux +	9)
-#define __NR_mprotect			(__NR_Linux +  10)
-#define __NR_munmap			(__NR_Linux +  11)
-#define __NR_brk			(__NR_Linux +  12)
-#define __NR_rt_sigaction		(__NR_Linux +  13)
-#define __NR_rt_sigprocmask		(__NR_Linux +  14)
-#define __NR_ioctl			(__NR_Linux +  15)
-#define __NR_pread64			(__NR_Linux +  16)
-#define __NR_pwrite64			(__NR_Linux +  17)
-#define __NR_readv			(__NR_Linux +  18)
-#define __NR_writev			(__NR_Linux +  19)
-#define __NR_access			(__NR_Linux +  20)
-#define __NR_pipe			(__NR_Linux +  21)
-#define __NR__newselect			(__NR_Linux +  22)
-#define __NR_sched_yield		(__NR_Linux +  23)
-#define __NR_mremap			(__NR_Linux +  24)
-#define __NR_msync			(__NR_Linux +  25)
-#define __NR_mincore			(__NR_Linux +  26)
-#define __NR_madvise			(__NR_Linux +  27)
-#define __NR_shmget			(__NR_Linux +  28)
-#define __NR_shmat			(__NR_Linux +  29)
-#define __NR_shmctl			(__NR_Linux +  30)
-#define __NR_dup			(__NR_Linux +  31)
-#define __NR_dup2			(__NR_Linux +  32)
-#define __NR_pause			(__NR_Linux +  33)
-#define __NR_nanosleep			(__NR_Linux +  34)
-#define __NR_getitimer			(__NR_Linux +  35)
-#define __NR_setitimer			(__NR_Linux +  36)
-#define __NR_alarm			(__NR_Linux +  37)
-#define __NR_getpid			(__NR_Linux +  38)
-#define __NR_sendfile			(__NR_Linux +  39)
-#define __NR_socket			(__NR_Linux +  40)
-#define __NR_connect			(__NR_Linux +  41)
-#define __NR_accept			(__NR_Linux +  42)
-#define __NR_sendto			(__NR_Linux +  43)
-#define __NR_recvfrom			(__NR_Linux +  44)
-#define __NR_sendmsg			(__NR_Linux +  45)
-#define __NR_recvmsg			(__NR_Linux +  46)
-#define __NR_shutdown			(__NR_Linux +  47)
-#define __NR_bind			(__NR_Linux +  48)
-#define __NR_listen			(__NR_Linux +  49)
-#define __NR_getsockname		(__NR_Linux +  50)
-#define __NR_getpeername		(__NR_Linux +  51)
-#define __NR_socketpair			(__NR_Linux +  52)
-#define __NR_setsockopt			(__NR_Linux +  53)
-#define __NR_getsockopt			(__NR_Linux +  54)
-#define __NR_clone			(__NR_Linux +  55)
-#define __NR_fork			(__NR_Linux +  56)
-#define __NR_execve			(__NR_Linux +  57)
-#define __NR_exit			(__NR_Linux +  58)
-#define __NR_wait4			(__NR_Linux +  59)
-#define __NR_kill			(__NR_Linux +  60)
-#define __NR_uname			(__NR_Linux +  61)
-#define __NR_semget			(__NR_Linux +  62)
-#define __NR_semop			(__NR_Linux +  63)
-#define __NR_semctl			(__NR_Linux +  64)
-#define __NR_shmdt			(__NR_Linux +  65)
-#define __NR_msgget			(__NR_Linux +  66)
-#define __NR_msgsnd			(__NR_Linux +  67)
-#define __NR_msgrcv			(__NR_Linux +  68)
-#define __NR_msgctl			(__NR_Linux +  69)
-#define __NR_fcntl			(__NR_Linux +  70)
-#define __NR_flock			(__NR_Linux +  71)
-#define __NR_fsync			(__NR_Linux +  72)
-#define __NR_fdatasync			(__NR_Linux +  73)
-#define __NR_truncate			(__NR_Linux +  74)
-#define __NR_ftruncate			(__NR_Linux +  75)
-#define __NR_getdents			(__NR_Linux +  76)
-#define __NR_getcwd			(__NR_Linux +  77)
-#define __NR_chdir			(__NR_Linux +  78)
-#define __NR_fchdir			(__NR_Linux +  79)
-#define __NR_rename			(__NR_Linux +  80)
-#define __NR_mkdir			(__NR_Linux +  81)
-#define __NR_rmdir			(__NR_Linux +  82)
-#define __NR_creat			(__NR_Linux +  83)
-#define __NR_link			(__NR_Linux +  84)
-#define __NR_unlink			(__NR_Linux +  85)
-#define __NR_symlink			(__NR_Linux +  86)
-#define __NR_readlink			(__NR_Linux +  87)
-#define __NR_chmod			(__NR_Linux +  88)
-#define __NR_fchmod			(__NR_Linux +  89)
-#define __NR_chown			(__NR_Linux +  90)
-#define __NR_fchown			(__NR_Linux +  91)
-#define __NR_lchown			(__NR_Linux +  92)
-#define __NR_umask			(__NR_Linux +  93)
-#define __NR_gettimeofday		(__NR_Linux +  94)
-#define __NR_getrlimit			(__NR_Linux +  95)
-#define __NR_getrusage			(__NR_Linux +  96)
-#define __NR_sysinfo			(__NR_Linux +  97)
-#define __NR_times			(__NR_Linux +  98)
-#define __NR_ptrace			(__NR_Linux +  99)
-#define __NR_getuid			(__NR_Linux + 100)
-#define __NR_syslog			(__NR_Linux + 101)
-#define __NR_getgid			(__NR_Linux + 102)
-#define __NR_setuid			(__NR_Linux + 103)
-#define __NR_setgid			(__NR_Linux + 104)
-#define __NR_geteuid			(__NR_Linux + 105)
-#define __NR_getegid			(__NR_Linux + 106)
-#define __NR_setpgid			(__NR_Linux + 107)
-#define __NR_getppid			(__NR_Linux + 108)
-#define __NR_getpgrp			(__NR_Linux + 109)
-#define __NR_setsid			(__NR_Linux + 110)
-#define __NR_setreuid			(__NR_Linux + 111)
-#define __NR_setregid			(__NR_Linux + 112)
-#define __NR_getgroups			(__NR_Linux + 113)
-#define __NR_setgroups			(__NR_Linux + 114)
-#define __NR_setresuid			(__NR_Linux + 115)
-#define __NR_getresuid			(__NR_Linux + 116)
-#define __NR_setresgid			(__NR_Linux + 117)
-#define __NR_getresgid			(__NR_Linux + 118)
-#define __NR_getpgid			(__NR_Linux + 119)
-#define __NR_setfsuid			(__NR_Linux + 120)
-#define __NR_setfsgid			(__NR_Linux + 121)
-#define __NR_getsid			(__NR_Linux + 122)
-#define __NR_capget			(__NR_Linux + 123)
-#define __NR_capset			(__NR_Linux + 124)
-#define __NR_rt_sigpending		(__NR_Linux + 125)
-#define __NR_rt_sigtimedwait		(__NR_Linux + 126)
-#define __NR_rt_sigqueueinfo		(__NR_Linux + 127)
-#define __NR_rt_sigsuspend		(__NR_Linux + 128)
-#define __NR_sigaltstack		(__NR_Linux + 129)
-#define __NR_utime			(__NR_Linux + 130)
-#define __NR_mknod			(__NR_Linux + 131)
-#define __NR_personality		(__NR_Linux + 132)
-#define __NR_ustat			(__NR_Linux + 133)
-#define __NR_statfs			(__NR_Linux + 134)
-#define __NR_fstatfs			(__NR_Linux + 135)
-#define __NR_sysfs			(__NR_Linux + 136)
-#define __NR_getpriority		(__NR_Linux + 137)
-#define __NR_setpriority		(__NR_Linux + 138)
-#define __NR_sched_setparam		(__NR_Linux + 139)
-#define __NR_sched_getparam		(__NR_Linux + 140)
-#define __NR_sched_setscheduler		(__NR_Linux + 141)
-#define __NR_sched_getscheduler		(__NR_Linux + 142)
-#define __NR_sched_get_priority_max	(__NR_Linux + 143)
-#define __NR_sched_get_priority_min	(__NR_Linux + 144)
-#define __NR_sched_rr_get_interval	(__NR_Linux + 145)
-#define __NR_mlock			(__NR_Linux + 146)
-#define __NR_munlock			(__NR_Linux + 147)
-#define __NR_mlockall			(__NR_Linux + 148)
-#define __NR_munlockall			(__NR_Linux + 149)
-#define __NR_vhangup			(__NR_Linux + 150)
-#define __NR_pivot_root			(__NR_Linux + 151)
-#define __NR__sysctl			(__NR_Linux + 152)
-#define __NR_prctl			(__NR_Linux + 153)
-#define __NR_adjtimex			(__NR_Linux + 154)
-#define __NR_setrlimit			(__NR_Linux + 155)
-#define __NR_chroot			(__NR_Linux + 156)
-#define __NR_sync			(__NR_Linux + 157)
-#define __NR_acct			(__NR_Linux + 158)
-#define __NR_settimeofday		(__NR_Linux + 159)
-#define __NR_mount			(__NR_Linux + 160)
-#define __NR_umount2			(__NR_Linux + 161)
-#define __NR_swapon			(__NR_Linux + 162)
-#define __NR_swapoff			(__NR_Linux + 163)
-#define __NR_reboot			(__NR_Linux + 164)
-#define __NR_sethostname		(__NR_Linux + 165)
-#define __NR_setdomainname		(__NR_Linux + 166)
-#define __NR_create_module		(__NR_Linux + 167)
-#define __NR_init_module		(__NR_Linux + 168)
-#define __NR_delete_module		(__NR_Linux + 169)
-#define __NR_get_kernel_syms		(__NR_Linux + 170)
-#define __NR_query_module		(__NR_Linux + 171)
-#define __NR_quotactl			(__NR_Linux + 172)
-#define __NR_nfsservctl			(__NR_Linux + 173)
-#define __NR_getpmsg			(__NR_Linux + 174)
-#define __NR_putpmsg			(__NR_Linux + 175)
-#define __NR_afs_syscall		(__NR_Linux + 176)
-#define __NR_reserved177		(__NR_Linux + 177)
-#define __NR_gettid			(__NR_Linux + 178)
-#define __NR_readahead			(__NR_Linux + 179)
-#define __NR_setxattr			(__NR_Linux + 180)
-#define __NR_lsetxattr			(__NR_Linux + 181)
-#define __NR_fsetxattr			(__NR_Linux + 182)
-#define __NR_getxattr			(__NR_Linux + 183)
-#define __NR_lgetxattr			(__NR_Linux + 184)
-#define __NR_fgetxattr			(__NR_Linux + 185)
-#define __NR_listxattr			(__NR_Linux + 186)
-#define __NR_llistxattr			(__NR_Linux + 187)
-#define __NR_flistxattr			(__NR_Linux + 188)
-#define __NR_removexattr		(__NR_Linux + 189)
-#define __NR_lremovexattr		(__NR_Linux + 190)
-#define __NR_fremovexattr		(__NR_Linux + 191)
-#define __NR_tkill			(__NR_Linux + 192)
-#define __NR_reserved193		(__NR_Linux + 193)
-#define __NR_futex			(__NR_Linux + 194)
-#define __NR_sched_setaffinity		(__NR_Linux + 195)
-#define __NR_sched_getaffinity		(__NR_Linux + 196)
-#define __NR_cacheflush			(__NR_Linux + 197)
-#define __NR_cachectl			(__NR_Linux + 198)
-#define __NR_sysmips			(__NR_Linux + 199)
-#define __NR_io_setup			(__NR_Linux + 200)
-#define __NR_io_destroy			(__NR_Linux + 201)
-#define __NR_io_getevents		(__NR_Linux + 202)
-#define __NR_io_submit			(__NR_Linux + 203)
-#define __NR_io_cancel			(__NR_Linux + 204)
-#define __NR_exit_group			(__NR_Linux + 205)
-#define __NR_lookup_dcookie		(__NR_Linux + 206)
-#define __NR_epoll_create		(__NR_Linux + 207)
-#define __NR_epoll_ctl			(__NR_Linux + 208)
-#define __NR_epoll_wait			(__NR_Linux + 209)
-#define __NR_remap_file_pages		(__NR_Linux + 210)
-#define __NR_rt_sigreturn		(__NR_Linux + 211)
-#define __NR_fcntl64			(__NR_Linux + 212)
-#define __NR_set_tid_address		(__NR_Linux + 213)
-#define __NR_restart_syscall		(__NR_Linux + 214)
-#define __NR_semtimedop			(__NR_Linux + 215)
-#define __NR_fadvise64			(__NR_Linux + 216)
-#define __NR_statfs64			(__NR_Linux + 217)
-#define __NR_fstatfs64			(__NR_Linux + 218)
-#define __NR_sendfile64			(__NR_Linux + 219)
-#define __NR_timer_create		(__NR_Linux + 220)
-#define __NR_timer_settime		(__NR_Linux + 221)
-#define __NR_timer_gettime		(__NR_Linux + 222)
-#define __NR_timer_getoverrun		(__NR_Linux + 223)
-#define __NR_timer_delete		(__NR_Linux + 224)
-#define __NR_clock_settime		(__NR_Linux + 225)
-#define __NR_clock_gettime		(__NR_Linux + 226)
-#define __NR_clock_getres		(__NR_Linux + 227)
-#define __NR_clock_nanosleep		(__NR_Linux + 228)
-#define __NR_tgkill			(__NR_Linux + 229)
-#define __NR_utimes			(__NR_Linux + 230)
-#define __NR_mbind			(__NR_Linux + 231)
-#define __NR_get_mempolicy		(__NR_Linux + 232)
-#define __NR_set_mempolicy		(__NR_Linux + 233)
-#define __NR_mq_open			(__NR_Linux + 234)
-#define __NR_mq_unlink			(__NR_Linux + 235)
-#define __NR_mq_timedsend		(__NR_Linux + 236)
-#define __NR_mq_timedreceive		(__NR_Linux + 237)
-#define __NR_mq_notify			(__NR_Linux + 238)
-#define __NR_mq_getsetattr		(__NR_Linux + 239)
-#define __NR_vserver			(__NR_Linux + 240)
-#define __NR_waitid			(__NR_Linux + 241)
-/* #define __NR_sys_setaltroot		(__NR_Linux + 242) */
-#define __NR_add_key			(__NR_Linux + 243)
-#define __NR_request_key		(__NR_Linux + 244)
-#define __NR_keyctl			(__NR_Linux + 245)
-#define __NR_set_thread_area		(__NR_Linux + 246)
-#define __NR_inotify_init		(__NR_Linux + 247)
-#define __NR_inotify_add_watch		(__NR_Linux + 248)
-#define __NR_inotify_rm_watch		(__NR_Linux + 249)
-#define __NR_migrate_pages		(__NR_Linux + 250)
-#define __NR_openat			(__NR_Linux + 251)
-#define __NR_mkdirat			(__NR_Linux + 252)
-#define __NR_mknodat			(__NR_Linux + 253)
-#define __NR_fchownat			(__NR_Linux + 254)
-#define __NR_futimesat			(__NR_Linux + 255)
-#define __NR_newfstatat			(__NR_Linux + 256)
-#define __NR_unlinkat			(__NR_Linux + 257)
-#define __NR_renameat			(__NR_Linux + 258)
-#define __NR_linkat			(__NR_Linux + 259)
-#define __NR_symlinkat			(__NR_Linux + 260)
-#define __NR_readlinkat			(__NR_Linux + 261)
-#define __NR_fchmodat			(__NR_Linux + 262)
-#define __NR_faccessat			(__NR_Linux + 263)
-#define __NR_pselect6			(__NR_Linux + 264)
-#define __NR_ppoll			(__NR_Linux + 265)
-#define __NR_unshare			(__NR_Linux + 266)
-#define __NR_splice			(__NR_Linux + 267)
-#define __NR_sync_file_range		(__NR_Linux + 268)
-#define __NR_tee			(__NR_Linux + 269)
-#define __NR_vmsplice			(__NR_Linux + 270)
-#define __NR_move_pages			(__NR_Linux + 271)
-#define __NR_set_robust_list		(__NR_Linux + 272)
-#define __NR_get_robust_list		(__NR_Linux + 273)
-#define __NR_kexec_load			(__NR_Linux + 274)
-#define __NR_getcpu			(__NR_Linux + 275)
-#define __NR_epoll_pwait		(__NR_Linux + 276)
-#define __NR_ioprio_set			(__NR_Linux + 277)
-#define __NR_ioprio_get			(__NR_Linux + 278)
-#define __NR_utimensat			(__NR_Linux + 279)
-#define __NR_signalfd			(__NR_Linux + 280)
-#define __NR_timerfd			(__NR_Linux + 281)
-#define __NR_eventfd			(__NR_Linux + 282)
-#define __NR_fallocate			(__NR_Linux + 283)
-#define __NR_timerfd_create		(__NR_Linux + 284)
-#define __NR_timerfd_gettime		(__NR_Linux + 285)
-#define __NR_timerfd_settime		(__NR_Linux + 286)
-#define __NR_signalfd4			(__NR_Linux + 287)
-#define __NR_eventfd2			(__NR_Linux + 288)
-#define __NR_epoll_create1		(__NR_Linux + 289)
-#define __NR_dup3			(__NR_Linux + 290)
-#define __NR_pipe2			(__NR_Linux + 291)
-#define __NR_inotify_init1		(__NR_Linux + 292)
-#define __NR_preadv			(__NR_Linux + 293)
-#define __NR_pwritev			(__NR_Linux + 294)
-#define __NR_rt_tgsigqueueinfo		(__NR_Linux + 295)
-#define __NR_perf_event_open		(__NR_Linux + 296)
-#define __NR_accept4			(__NR_Linux + 297)
-#define __NR_recvmmsg			(__NR_Linux + 298)
-#define __NR_getdents64			(__NR_Linux + 299)
-#define __NR_fanotify_init		(__NR_Linux + 300)
-#define __NR_fanotify_mark		(__NR_Linux + 301)
-#define __NR_prlimit64			(__NR_Linux + 302)
-#define __NR_name_to_handle_at		(__NR_Linux + 303)
-#define __NR_open_by_handle_at		(__NR_Linux + 304)
-#define __NR_clock_adjtime		(__NR_Linux + 305)
-#define __NR_syncfs			(__NR_Linux + 306)
-#define __NR_sendmmsg			(__NR_Linux + 307)
-#define __NR_setns			(__NR_Linux + 308)
-#define __NR_process_vm_readv		(__NR_Linux + 309)
-#define __NR_process_vm_writev		(__NR_Linux + 310)
-#define __NR_kcmp			(__NR_Linux + 311)
-#define __NR_finit_module		(__NR_Linux + 312)
-#define __NR_sched_setattr		(__NR_Linux + 313)
-#define __NR_sched_getattr		(__NR_Linux + 314)
-#define __NR_renameat2			(__NR_Linux + 315)
-#define __NR_seccomp			(__NR_Linux + 316)
-#define __NR_getrandom			(__NR_Linux + 317)
-#define __NR_memfd_create		(__NR_Linux + 318)
-#define __NR_bpf			(__NR_Linux + 319)
-#define __NR_execveat			(__NR_Linux + 320)
-#define __NR_userfaultfd		(__NR_Linux + 321)
-#define __NR_membarrier			(__NR_Linux + 322)
-#define __NR_mlock2			(__NR_Linux + 323)
-#define __NR_copy_file_range		(__NR_Linux + 324)
-#define __NR_preadv2			(__NR_Linux + 325)
-#define __NR_pwritev2			(__NR_Linux + 326)
-#define __NR_pkey_mprotect		(__NR_Linux + 327)
-#define __NR_pkey_alloc			(__NR_Linux + 328)
-#define __NR_pkey_free			(__NR_Linux + 329)
-#define __NR_statx			(__NR_Linux + 330)
-#define __NR_rseq			(__NR_Linux + 331)
-#define __NR_io_pgetevents		(__NR_Linux + 332)
-
-/*
- * Offset of the last N32 flavoured syscall
- */
-#define __NR_Linux_syscalls		332
-
-#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
-
-#define __NR_N32_Linux			6000
-#define __NR_N32_Linux_syscalls		332
-
-#endif /* _UAPI_ASM_UNISTD_H */
diff --git a/libc/include/powerpc-linux-musl/asm/auxvec.h b/libc/include/powerpc-linux-any/asm/auxvec.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/auxvec.h
rename to libc/include/powerpc-linux-any/asm/auxvec.h
diff --git a/libc/include/powerpc-linux-musl/asm/bitsperlong.h b/libc/include/powerpc-linux-any/asm/bitsperlong.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/bitsperlong.h
rename to libc/include/powerpc-linux-any/asm/bitsperlong.h
diff --git a/libc/include/powerpc-linux-musl/asm/byteorder.h b/libc/include/powerpc-linux-any/asm/byteorder.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/byteorder.h
rename to libc/include/powerpc-linux-any/asm/byteorder.h
diff --git a/libc/include/powerpc-linux-musl/asm/errno.h b/libc/include/powerpc-linux-any/asm/errno.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/errno.h
rename to libc/include/powerpc-linux-any/asm/errno.h
diff --git a/libc/include/powerpc-linux-musl/asm/fcntl.h b/libc/include/powerpc-linux-any/asm/fcntl.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/fcntl.h
rename to libc/include/powerpc-linux-any/asm/fcntl.h
diff --git a/libc/include/powerpc-linux-musl/asm/ioctl.h b/libc/include/powerpc-linux-any/asm/ioctl.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/ioctl.h
rename to libc/include/powerpc-linux-any/asm/ioctl.h
diff --git a/libc/include/powerpc-linux-musl/asm/ioctls.h b/libc/include/powerpc-linux-any/asm/ioctls.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/ioctls.h
rename to libc/include/powerpc-linux-any/asm/ioctls.h
diff --git a/libc/include/powerpc-linux-musl/asm/ipcbuf.h b/libc/include/powerpc-linux-any/asm/ipcbuf.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/ipcbuf.h
rename to libc/include/powerpc-linux-any/asm/ipcbuf.h
diff --git a/libc/include/powerpc-linux-musl/asm/kvm.h b/libc/include/powerpc-linux-any/asm/kvm.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/kvm.h
rename to libc/include/powerpc-linux-any/asm/kvm.h
diff --git a/libc/include/powerpc-linux-musl/asm/kvm_para.h b/libc/include/powerpc-linux-any/asm/kvm_para.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/kvm_para.h
rename to libc/include/powerpc-linux-any/asm/kvm_para.h
diff --git a/libc/include/powerpc-linux-musl/asm/mman.h b/libc/include/powerpc-linux-any/asm/mman.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/mman.h
rename to libc/include/powerpc-linux-any/asm/mman.h
diff --git a/libc/include/powerpc-linux-musl/asm/msgbuf.h b/libc/include/powerpc-linux-any/asm/msgbuf.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/msgbuf.h
rename to libc/include/powerpc-linux-any/asm/msgbuf.h
diff --git a/libc/include/powerpc-linux-musl/asm/perf_regs.h b/libc/include/powerpc-linux-any/asm/perf_regs.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/perf_regs.h
rename to libc/include/powerpc-linux-any/asm/perf_regs.h
diff --git a/libc/include/powerpc-linux-musl/asm/posix_types.h b/libc/include/powerpc-linux-any/asm/posix_types.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/posix_types.h
rename to libc/include/powerpc-linux-any/asm/posix_types.h
diff --git a/libc/include/powerpc-linux-musl/asm/ptrace.h b/libc/include/powerpc-linux-any/asm/ptrace.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/ptrace.h
rename to libc/include/powerpc-linux-any/asm/ptrace.h
diff --git a/libc/include/powerpc-linux-musl/asm/sembuf.h b/libc/include/powerpc-linux-any/asm/sembuf.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/sembuf.h
rename to libc/include/powerpc-linux-any/asm/sembuf.h
diff --git a/libc/include/powerpc-linux-musl/asm/setup.h b/libc/include/powerpc-linux-any/asm/setup.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/setup.h
rename to libc/include/powerpc-linux-any/asm/setup.h
diff --git a/libc/include/powerpc-linux-musl/asm/shmbuf.h b/libc/include/powerpc-linux-any/asm/shmbuf.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/shmbuf.h
rename to libc/include/powerpc-linux-any/asm/shmbuf.h
diff --git a/libc/include/powerpc-linux-musl/asm/sigcontext.h b/libc/include/powerpc-linux-any/asm/sigcontext.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/sigcontext.h
rename to libc/include/powerpc-linux-any/asm/sigcontext.h
diff --git a/libc/include/powerpc-linux-musl/asm/siginfo.h b/libc/include/powerpc-linux-any/asm/siginfo.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/siginfo.h
rename to libc/include/powerpc-linux-any/asm/siginfo.h
diff --git a/libc/include/powerpc-linux-musl/asm/signal.h b/libc/include/powerpc-linux-any/asm/signal.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/signal.h
rename to libc/include/powerpc-linux-any/asm/signal.h
diff --git a/libc/include/powerpc-linux-musl/asm/socket.h b/libc/include/powerpc-linux-any/asm/socket.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/socket.h
rename to libc/include/powerpc-linux-any/asm/socket.h
diff --git a/libc/include/powerpc-linux-musl/asm/stat.h b/libc/include/powerpc-linux-any/asm/stat.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/stat.h
rename to libc/include/powerpc-linux-any/asm/stat.h
diff --git a/libc/include/powerpc-linux-musl/asm/swab.h b/libc/include/powerpc-linux-any/asm/swab.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/swab.h
rename to libc/include/powerpc-linux-any/asm/swab.h
diff --git a/libc/include/powerpc-linux-musl/asm/termbits.h b/libc/include/powerpc-linux-any/asm/termbits.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/termbits.h
rename to libc/include/powerpc-linux-any/asm/termbits.h
diff --git a/libc/include/powerpc-linux-musl/asm/termios.h b/libc/include/powerpc-linux-any/asm/termios.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/termios.h
rename to libc/include/powerpc-linux-any/asm/termios.h
diff --git a/libc/include/powerpc-linux-musl/asm/types.h b/libc/include/powerpc-linux-any/asm/types.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/types.h
rename to libc/include/powerpc-linux-any/asm/types.h
diff --git a/libc/include/powerpc-linux-musl/asm/ucontext.h b/libc/include/powerpc-linux-any/asm/ucontext.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/ucontext.h
rename to libc/include/powerpc-linux-any/asm/ucontext.h
diff --git a/libc/include/powerpc-linux-musl/asm/unistd.h b/libc/include/powerpc-linux-any/asm/unistd.h
similarity index 100%
rename from libc/include/powerpc-linux-musl/asm/unistd.h
rename to libc/include/powerpc-linux-any/asm/unistd.h
diff --git a/libc/include/powerpc-linux-gnu/asm/unistd.h b/libc/include/powerpc-linux-gnu/asm/unistd.h
deleted file mode 100644
index 985534d0b4..0000000000
--- a/libc/include/powerpc-linux-gnu/asm/unistd.h
+++ /dev/null
@@ -1,404 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
-/*
- * This file contains the system call numbers.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version
- * 2 of the License, or (at your option) any later version.
- */
-#ifndef _UAPI_ASM_POWERPC_UNISTD_H_
-#define _UAPI_ASM_POWERPC_UNISTD_H_
-
-
-#define __NR_restart_syscall	  0
-#define __NR_exit		  1
-#define __NR_fork		  2
-#define __NR_read		  3
-#define __NR_write		  4
-#define __NR_open		  5
-#define __NR_close		  6
-#define __NR_waitpid		  7
-#define __NR_creat		  8
-#define __NR_link		  9
-#define __NR_unlink		 10
-#define __NR_execve		 11
-#define __NR_chdir		 12
-#define __NR_time		 13
-#define __NR_mknod		 14
-#define __NR_chmod		 15
-#define __NR_lchown		 16
-#define __NR_break		 17
-#define __NR_oldstat		 18
-#define __NR_lseek		 19
-#define __NR_getpid		 20
-#define __NR_mount		 21
-#define __NR_umount		 22
-#define __NR_setuid		 23
-#define __NR_getuid		 24
-#define __NR_stime		 25
-#define __NR_ptrace		 26
-#define __NR_alarm		 27
-#define __NR_oldfstat		 28
-#define __NR_pause		 29
-#define __NR_utime		 30
-#define __NR_stty		 31
-#define __NR_gtty		 32
-#define __NR_access		 33
-#define __NR_nice		 34
-#define __NR_ftime		 35
-#define __NR_sync		 36
-#define __NR_kill		 37
-#define __NR_rename		 38
-#define __NR_mkdir		 39
-#define __NR_rmdir		 40
-#define __NR_dup		 41
-#define __NR_pipe		 42
-#define __NR_times		 43
-#define __NR_prof		 44
-#define __NR_brk		 45
-#define __NR_setgid		 46
-#define __NR_getgid		 47
-#define __NR_signal		 48
-#define __NR_geteuid		 49
-#define __NR_getegid		 50
-#define __NR_acct		 51
-#define __NR_umount2		 52
-#define __NR_lock		 53
-#define __NR_ioctl		 54
-#define __NR_fcntl		 55
-#define __NR_mpx		 56
-#define __NR_setpgid		 57
-#define __NR_ulimit		 58
-#define __NR_oldolduname	 59
-#define __NR_umask		 60
-#define __NR_chroot		 61
-#define __NR_ustat		 62
-#define __NR_dup2		 63
-#define __NR_getppid		 64
-#define __NR_getpgrp		 65
-#define __NR_setsid		 66
-#define __NR_sigaction		 67
-#define __NR_sgetmask		 68
-#define __NR_ssetmask		 69
-#define __NR_setreuid		 70
-#define __NR_setregid		 71
-#define __NR_sigsuspend		 72
-#define __NR_sigpending		 73
-#define __NR_sethostname	 74
-#define __NR_setrlimit		 75
-#define __NR_getrlimit		 76
-#define __NR_getrusage		 77
-#define __NR_gettimeofday	 78
-#define __NR_settimeofday	 79
-#define __NR_getgroups		 80
-#define __NR_setgroups		 81
-#define __NR_select		 82
-#define __NR_symlink		 83
-#define __NR_oldlstat		 84
-#define __NR_readlink		 85
-#define __NR_uselib		 86
-#define __NR_swapon		 87
-#define __NR_reboot		 88
-#define __NR_readdir		 89
-#define __NR_mmap		 90
-#define __NR_munmap		 91
-#define __NR_truncate		 92
-#define __NR_ftruncate		 93
-#define __NR_fchmod		 94
-#define __NR_fchown		 95
-#define __NR_getpriority	 96
-#define __NR_setpriority	 97
-#define __NR_profil		 98
-#define __NR_statfs		 99
-#define __NR_fstatfs		100
-#define __NR_ioperm		101
-#define __NR_socketcall		102
-#define __NR_syslog		103
-#define __NR_setitimer		104
-#define __NR_getitimer		105
-#define __NR_stat		106
-#define __NR_lstat		107
-#define __NR_fstat		108
-#define __NR_olduname		109
-#define __NR_iopl		110
-#define __NR_vhangup		111
-#define __NR_idle		112
-#define __NR_vm86		113
-#define __NR_wait4		114
-#define __NR_swapoff		115
-#define __NR_sysinfo		116
-#define __NR_ipc		117
-#define __NR_fsync		118
-#define __NR_sigreturn		119
-#define __NR_clone		120
-#define __NR_setdomainname	121
-#define __NR_uname		122
-#define __NR_modify_ldt		123
-#define __NR_adjtimex		124
-#define __NR_mprotect		125
-#define __NR_sigprocmask	126
-#define __NR_create_module	127
-#define __NR_init_module	128
-#define __NR_delete_module	129
-#define __NR_get_kernel_syms	130
-#define __NR_quotactl		131
-#define __NR_getpgid		132
-#define __NR_fchdir		133
-#define __NR_bdflush		134
-#define __NR_sysfs		135
-#define __NR_personality	136
-#define __NR_afs_syscall	137 /* Syscall for Andrew File System */
-#define __NR_setfsuid		138
-#define __NR_setfsgid		139
-#define __NR__llseek		140
-#define __NR_getdents		141
-#define __NR__newselect		142
-#define __NR_flock		143
-#define __NR_msync		144
-#define __NR_readv		145
-#define __NR_writev		146
-#define __NR_getsid		147
-#define __NR_fdatasync		148
-#define __NR__sysctl		149
-#define __NR_mlock		150
-#define __NR_munlock		151
-#define __NR_mlockall		152
-#define __NR_munlockall		153
-#define __NR_sched_setparam		154
-#define __NR_sched_getparam		155
-#define __NR_sched_setscheduler		156
-#define __NR_sched_getscheduler		157
-#define __NR_sched_yield		158
-#define __NR_sched_get_priority_max	159
-#define __NR_sched_get_priority_min	160
-#define __NR_sched_rr_get_interval	161
-#define __NR_nanosleep		162
-#define __NR_mremap		163
-#define __NR_setresuid		164
-#define __NR_getresuid		165
-#define __NR_query_module	166
-#define __NR_poll		167
-#define __NR_nfsservctl		168
-#define __NR_setresgid		169
-#define __NR_getresgid		170
-#define __NR_prctl		171
-#define __NR_rt_sigreturn	172
-#define __NR_rt_sigaction	173
-#define __NR_rt_sigprocmask	174
-#define __NR_rt_sigpending	175
-#define __NR_rt_sigtimedwait	176
-#define __NR_rt_sigqueueinfo	177
-#define __NR_rt_sigsuspend	178
-#define __NR_pread64		179
-#define __NR_pwrite64		180
-#define __NR_chown		181
-#define __NR_getcwd		182
-#define __NR_capget		183
-#define __NR_capset		184
-#define __NR_sigaltstack	185
-#define __NR_sendfile		186
-#define __NR_getpmsg		187	/* some people actually want streams */
-#define __NR_putpmsg		188	/* some people actually want streams */
-#define __NR_vfork		189
-#define __NR_ugetrlimit		190	/* SuS compliant getrlimit */
-#define __NR_readahead		191
-#ifndef __powerpc64__			/* these are 32-bit only */
-#define __NR_mmap2		192
-#define __NR_truncate64		193
-#define __NR_ftruncate64	194
-#define __NR_stat64		195
-#define __NR_lstat64		196
-#define __NR_fstat64		197
-#endif
-#define __NR_pciconfig_read	198
-#define __NR_pciconfig_write	199
-#define __NR_pciconfig_iobase	200
-#define __NR_multiplexer	201
-#define __NR_getdents64		202
-#define __NR_pivot_root		203
-#ifndef __powerpc64__
-#define __NR_fcntl64		204
-#endif
-#define __NR_madvise		205
-#define __NR_mincore		206
-#define __NR_gettid		207
-#define __NR_tkill		208
-#define __NR_setxattr		209
-#define __NR_lsetxattr		210
-#define __NR_fsetxattr		211
-#define __NR_getxattr		212
-#define __NR_lgetxattr		213
-#define __NR_fgetxattr		214
-#define __NR_listxattr		215
-#define __NR_llistxattr		216
-#define __NR_flistxattr		217
-#define __NR_removexattr	218
-#define __NR_lremovexattr	219
-#define __NR_fremovexattr	220
-#define __NR_futex		221
-#define __NR_sched_setaffinity	222
-#define __NR_sched_getaffinity	223
-/* 224 currently unused */
-#define __NR_tuxcall		225
-#ifndef __powerpc64__
-#define __NR_sendfile64		226
-#endif
-#define __NR_io_setup		227
-#define __NR_io_destroy		228
-#define __NR_io_getevents	229
-#define __NR_io_submit		230
-#define __NR_io_cancel		231
-#define __NR_set_tid_address	232
-#define __NR_fadvise64		233
-#define __NR_exit_group		234
-#define __NR_lookup_dcookie	235
-#define __NR_epoll_create	236
-#define __NR_epoll_ctl		237
-#define __NR_epoll_wait		238
-#define __NR_remap_file_pages	239
-#define __NR_timer_create	240
-#define __NR_timer_settime	241
-#define __NR_timer_gettime	242
-#define __NR_timer_getoverrun	243
-#define __NR_timer_delete	244
-#define __NR_clock_settime	245
-#define __NR_clock_gettime	246
-#define __NR_clock_getres	247
-#define __NR_clock_nanosleep	248
-#define __NR_swapcontext	249
-#define __NR_tgkill		250
-#define __NR_utimes		251
-#define __NR_statfs64		252
-#define __NR_fstatfs64		253
-#ifndef __powerpc64__
-#define __NR_fadvise64_64	254
-#endif
-#define __NR_rtas		255
-#define __NR_sys_debug_setcontext 256
-/* Number 257 is reserved for vserver */
-#define __NR_migrate_pages	258
-#define __NR_mbind		259
-#define __NR_get_mempolicy	260
-#define __NR_set_mempolicy	261
-#define __NR_mq_open		262
-#define __NR_mq_unlink		263
-#define __NR_mq_timedsend	264
-#define __NR_mq_timedreceive	265
-#define __NR_mq_notify		266
-#define __NR_mq_getsetattr	267
-#define __NR_kexec_load		268
-#define __NR_add_key		269
-#define __NR_request_key	270
-#define __NR_keyctl		271
-#define __NR_waitid		272
-#define __NR_ioprio_set		273
-#define __NR_ioprio_get		274
-#define __NR_inotify_init	275
-#define __NR_inotify_add_watch	276
-#define __NR_inotify_rm_watch	277
-#define __NR_spu_run		278
-#define __NR_spu_create		279
-#define __NR_pselect6		280
-#define __NR_ppoll		281
-#define __NR_unshare		282
-#define __NR_splice		283
-#define __NR_tee		284
-#define __NR_vmsplice		285
-#define __NR_openat		286
-#define __NR_mkdirat		287
-#define __NR_mknodat		288
-#define __NR_fchownat		289
-#define __NR_futimesat		290
-#ifdef __powerpc64__
-#define __NR_newfstatat		291
-#else
-#define __NR_fstatat64		291
-#endif
-#define __NR_unlinkat		292
-#define __NR_renameat		293
-#define __NR_linkat		294
-#define __NR_symlinkat		295
-#define __NR_readlinkat		296
-#define __NR_fchmodat		297
-#define __NR_faccessat		298
-#define __NR_get_robust_list	299
-#define __NR_set_robust_list	300
-#define __NR_move_pages		301
-#define __NR_getcpu		302
-#define __NR_epoll_pwait	303
-#define __NR_utimensat		304
-#define __NR_signalfd		305
-#define __NR_timerfd_create	306
-#define __NR_eventfd		307
-#define __NR_sync_file_range2	308
-#define __NR_fallocate		309
-#define __NR_subpage_prot	310
-#define __NR_timerfd_settime	311
-#define __NR_timerfd_gettime	312
-#define __NR_signalfd4		313
-#define __NR_eventfd2		314
-#define __NR_epoll_create1	315
-#define __NR_dup3		316
-#define __NR_pipe2		317
-#define __NR_inotify_init1	318
-#define __NR_perf_event_open	319
-#define __NR_preadv		320
-#define __NR_pwritev		321
-#define __NR_rt_tgsigqueueinfo	322
-#define __NR_fanotify_init	323
-#define __NR_fanotify_mark	324
-#define __NR_prlimit64		325
-#define __NR_socket		326
-#define __NR_bind		327
-#define __NR_connect		328
-#define __NR_listen		329
-#define __NR_accept		330
-#define __NR_getsockname	331
-#define __NR_getpeername	332
-#define __NR_socketpair		333
-#define __NR_send		334
-#define __NR_sendto		335
-#define __NR_recv		336
-#define __NR_recvfrom		337
-#define __NR_shutdown		338
-#define __NR_setsockopt		339
-#define __NR_getsockopt		340
-#define __NR_sendmsg		341
-#define __NR_recvmsg		342
-#define __NR_recvmmsg		343
-#define __NR_accept4		344
-#define __NR_name_to_handle_at	345
-#define __NR_open_by_handle_at	346
-#define __NR_clock_adjtime	347
-#define __NR_syncfs		348
-#define __NR_sendmmsg		349
-#define __NR_setns		350
-#define __NR_process_vm_readv	351
-#define __NR_process_vm_writev	352
-#define __NR_finit_module	353
-#define __NR_kcmp		354
-#define __NR_sched_setattr	355
-#define __NR_sched_getattr	356
-#define __NR_renameat2		357
-#define __NR_seccomp		358
-#define __NR_getrandom		359
-#define __NR_memfd_create	360
-#define __NR_bpf		361
-#define __NR_execveat		362
-#define __NR_switch_endian	363
-#define __NR_userfaultfd	364
-#define __NR_membarrier		365
-#define __NR_mlock2		378
-#define __NR_copy_file_range	379
-#define __NR_preadv2		380
-#define __NR_pwritev2		381
-#define __NR_kexec_file_load	382
-#define __NR_statx		383
-#define __NR_pkey_alloc		384
-#define __NR_pkey_free		385
-#define __NR_pkey_mprotect	386
-#define __NR_rseq		387
-#define __NR_io_pgetevents	388
-
-#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */
diff --git a/libc/include/powerpc64-linux-musl/asm/auxvec.h b/libc/include/powerpc64-linux-any/asm/auxvec.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/auxvec.h
rename to libc/include/powerpc64-linux-any/asm/auxvec.h
diff --git a/libc/include/powerpc64-linux-musl/asm/bitsperlong.h b/libc/include/powerpc64-linux-any/asm/bitsperlong.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/bitsperlong.h
rename to libc/include/powerpc64-linux-any/asm/bitsperlong.h
diff --git a/libc/include/powerpc64-linux-musl/asm/byteorder.h b/libc/include/powerpc64-linux-any/asm/byteorder.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/byteorder.h
rename to libc/include/powerpc64-linux-any/asm/byteorder.h
diff --git a/libc/include/powerpc64-linux-musl/asm/errno.h b/libc/include/powerpc64-linux-any/asm/errno.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/errno.h
rename to libc/include/powerpc64-linux-any/asm/errno.h
diff --git a/libc/include/powerpc64-linux-musl/asm/fcntl.h b/libc/include/powerpc64-linux-any/asm/fcntl.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/fcntl.h
rename to libc/include/powerpc64-linux-any/asm/fcntl.h
diff --git a/libc/include/powerpc64-linux-musl/asm/ioctl.h b/libc/include/powerpc64-linux-any/asm/ioctl.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/ioctl.h
rename to libc/include/powerpc64-linux-any/asm/ioctl.h
diff --git a/libc/include/powerpc64-linux-musl/asm/ioctls.h b/libc/include/powerpc64-linux-any/asm/ioctls.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/ioctls.h
rename to libc/include/powerpc64-linux-any/asm/ioctls.h
diff --git a/libc/include/powerpc64-linux-musl/asm/ipcbuf.h b/libc/include/powerpc64-linux-any/asm/ipcbuf.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/ipcbuf.h
rename to libc/include/powerpc64-linux-any/asm/ipcbuf.h
diff --git a/libc/include/powerpc64-linux-musl/asm/kvm.h b/libc/include/powerpc64-linux-any/asm/kvm.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/kvm.h
rename to libc/include/powerpc64-linux-any/asm/kvm.h
diff --git a/libc/include/powerpc64-linux-musl/asm/kvm_para.h b/libc/include/powerpc64-linux-any/asm/kvm_para.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/kvm_para.h
rename to libc/include/powerpc64-linux-any/asm/kvm_para.h
diff --git a/libc/include/powerpc64-linux-musl/asm/mman.h b/libc/include/powerpc64-linux-any/asm/mman.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/mman.h
rename to libc/include/powerpc64-linux-any/asm/mman.h
diff --git a/libc/include/powerpc64-linux-musl/asm/msgbuf.h b/libc/include/powerpc64-linux-any/asm/msgbuf.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/msgbuf.h
rename to libc/include/powerpc64-linux-any/asm/msgbuf.h
diff --git a/libc/include/powerpc64-linux-musl/asm/perf_regs.h b/libc/include/powerpc64-linux-any/asm/perf_regs.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/perf_regs.h
rename to libc/include/powerpc64-linux-any/asm/perf_regs.h
diff --git a/libc/include/powerpc64-linux-musl/asm/posix_types.h b/libc/include/powerpc64-linux-any/asm/posix_types.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/posix_types.h
rename to libc/include/powerpc64-linux-any/asm/posix_types.h
diff --git a/libc/include/powerpc64-linux-musl/asm/ptrace.h b/libc/include/powerpc64-linux-any/asm/ptrace.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/ptrace.h
rename to libc/include/powerpc64-linux-any/asm/ptrace.h
diff --git a/libc/include/powerpc64-linux-musl/asm/sembuf.h b/libc/include/powerpc64-linux-any/asm/sembuf.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/sembuf.h
rename to libc/include/powerpc64-linux-any/asm/sembuf.h
diff --git a/libc/include/powerpc64-linux-musl/asm/setup.h b/libc/include/powerpc64-linux-any/asm/setup.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/setup.h
rename to libc/include/powerpc64-linux-any/asm/setup.h
diff --git a/libc/include/powerpc64-linux-musl/asm/shmbuf.h b/libc/include/powerpc64-linux-any/asm/shmbuf.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/shmbuf.h
rename to libc/include/powerpc64-linux-any/asm/shmbuf.h
diff --git a/libc/include/powerpc64-linux-musl/asm/sigcontext.h b/libc/include/powerpc64-linux-any/asm/sigcontext.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/sigcontext.h
rename to libc/include/powerpc64-linux-any/asm/sigcontext.h
diff --git a/libc/include/powerpc64-linux-musl/asm/siginfo.h b/libc/include/powerpc64-linux-any/asm/siginfo.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/siginfo.h
rename to libc/include/powerpc64-linux-any/asm/siginfo.h
diff --git a/libc/include/powerpc64-linux-musl/asm/signal.h b/libc/include/powerpc64-linux-any/asm/signal.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/signal.h
rename to libc/include/powerpc64-linux-any/asm/signal.h
diff --git a/libc/include/powerpc64-linux-musl/asm/socket.h b/libc/include/powerpc64-linux-any/asm/socket.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/socket.h
rename to libc/include/powerpc64-linux-any/asm/socket.h
diff --git a/libc/include/powerpc64-linux-musl/asm/stat.h b/libc/include/powerpc64-linux-any/asm/stat.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/stat.h
rename to libc/include/powerpc64-linux-any/asm/stat.h
diff --git a/libc/include/powerpc64-linux-musl/asm/swab.h b/libc/include/powerpc64-linux-any/asm/swab.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/swab.h
rename to libc/include/powerpc64-linux-any/asm/swab.h
diff --git a/libc/include/powerpc64-linux-musl/asm/termbits.h b/libc/include/powerpc64-linux-any/asm/termbits.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/termbits.h
rename to libc/include/powerpc64-linux-any/asm/termbits.h
diff --git a/libc/include/powerpc64-linux-musl/asm/termios.h b/libc/include/powerpc64-linux-any/asm/termios.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/termios.h
rename to libc/include/powerpc64-linux-any/asm/termios.h
diff --git a/libc/include/powerpc64-linux-musl/asm/types.h b/libc/include/powerpc64-linux-any/asm/types.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/types.h
rename to libc/include/powerpc64-linux-any/asm/types.h
diff --git a/libc/include/powerpc64-linux-musl/asm/ucontext.h b/libc/include/powerpc64-linux-any/asm/ucontext.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/ucontext.h
rename to libc/include/powerpc64-linux-any/asm/ucontext.h
diff --git a/libc/include/powerpc64-linux-musl/asm/unistd.h b/libc/include/powerpc64-linux-any/asm/unistd.h
similarity index 100%
rename from libc/include/powerpc64-linux-musl/asm/unistd.h
rename to libc/include/powerpc64-linux-any/asm/unistd.h
diff --git a/libc/include/powerpc64-linux-gnu/asm/unistd.h b/libc/include/powerpc64-linux-gnu/asm/unistd.h
deleted file mode 100644
index 985534d0b4..0000000000
--- a/libc/include/powerpc64-linux-gnu/asm/unistd.h
+++ /dev/null
@@ -1,404 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
-/*
- * This file contains the system call numbers.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version
- * 2 of the License, or (at your option) any later version.
- */
-#ifndef _UAPI_ASM_POWERPC_UNISTD_H_
-#define _UAPI_ASM_POWERPC_UNISTD_H_
-
-
-#define __NR_restart_syscall	  0
-#define __NR_exit		  1
-#define __NR_fork		  2
-#define __NR_read		  3
-#define __NR_write		  4
-#define __NR_open		  5
-#define __NR_close		  6
-#define __NR_waitpid		  7
-#define __NR_creat		  8
-#define __NR_link		  9
-#define __NR_unlink		 10
-#define __NR_execve		 11
-#define __NR_chdir		 12
-#define __NR_time		 13
-#define __NR_mknod		 14
-#define __NR_chmod		 15
-#define __NR_lchown		 16
-#define __NR_break		 17
-#define __NR_oldstat		 18
-#define __NR_lseek		 19
-#define __NR_getpid		 20
-#define __NR_mount		 21
-#define __NR_umount		 22
-#define __NR_setuid		 23
-#define __NR_getuid		 24
-#define __NR_stime		 25
-#define __NR_ptrace		 26
-#define __NR_alarm		 27
-#define __NR_oldfstat		 28
-#define __NR_pause		 29
-#define __NR_utime		 30
-#define __NR_stty		 31
-#define __NR_gtty		 32
-#define __NR_access		 33
-#define __NR_nice		 34
-#define __NR_ftime		 35
-#define __NR_sync		 36
-#define __NR_kill		 37
-#define __NR_rename		 38
-#define __NR_mkdir		 39
-#define __NR_rmdir		 40
-#define __NR_dup		 41
-#define __NR_pipe		 42
-#define __NR_times		 43
-#define __NR_prof		 44
-#define __NR_brk		 45
-#define __NR_setgid		 46
-#define __NR_getgid		 47
-#define __NR_signal		 48
-#define __NR_geteuid		 49
-#define __NR_getegid		 50
-#define __NR_acct		 51
-#define __NR_umount2		 52
-#define __NR_lock		 53
-#define __NR_ioctl		 54
-#define __NR_fcntl		 55
-#define __NR_mpx		 56
-#define __NR_setpgid		 57
-#define __NR_ulimit		 58
-#define __NR_oldolduname	 59
-#define __NR_umask		 60
-#define __NR_chroot		 61
-#define __NR_ustat		 62
-#define __NR_dup2		 63
-#define __NR_getppid		 64
-#define __NR_getpgrp		 65
-#define __NR_setsid		 66
-#define __NR_sigaction		 67
-#define __NR_sgetmask		 68
-#define __NR_ssetmask		 69
-#define __NR_setreuid		 70
-#define __NR_setregid		 71
-#define __NR_sigsuspend		 72
-#define __NR_sigpending		 73
-#define __NR_sethostname	 74
-#define __NR_setrlimit		 75
-#define __NR_getrlimit		 76
-#define __NR_getrusage		 77
-#define __NR_gettimeofday	 78
-#define __NR_settimeofday	 79
-#define __NR_getgroups		 80
-#define __NR_setgroups		 81
-#define __NR_select		 82
-#define __NR_symlink		 83
-#define __NR_oldlstat		 84
-#define __NR_readlink		 85
-#define __NR_uselib		 86
-#define __NR_swapon		 87
-#define __NR_reboot		 88
-#define __NR_readdir		 89
-#define __NR_mmap		 90
-#define __NR_munmap		 91
-#define __NR_truncate		 92
-#define __NR_ftruncate		 93
-#define __NR_fchmod		 94
-#define __NR_fchown		 95
-#define __NR_getpriority	 96
-#define __NR_setpriority	 97
-#define __NR_profil		 98
-#define __NR_statfs		 99
-#define __NR_fstatfs		100
-#define __NR_ioperm		101
-#define __NR_socketcall		102
-#define __NR_syslog		103
-#define __NR_setitimer		104
-#define __NR_getitimer		105
-#define __NR_stat		106
-#define __NR_lstat		107
-#define __NR_fstat		108
-#define __NR_olduname		109
-#define __NR_iopl		110
-#define __NR_vhangup		111
-#define __NR_idle		112
-#define __NR_vm86		113
-#define __NR_wait4		114
-#define __NR_swapoff		115
-#define __NR_sysinfo		116
-#define __NR_ipc		117
-#define __NR_fsync		118
-#define __NR_sigreturn		119
-#define __NR_clone		120
-#define __NR_setdomainname	121
-#define __NR_uname		122
-#define __NR_modify_ldt		123
-#define __NR_adjtimex		124
-#define __NR_mprotect		125
-#define __NR_sigprocmask	126
-#define __NR_create_module	127
-#define __NR_init_module	128
-#define __NR_delete_module	129
-#define __NR_get_kernel_syms	130
-#define __NR_quotactl		131
-#define __NR_getpgid		132
-#define __NR_fchdir		133
-#define __NR_bdflush		134
-#define __NR_sysfs		135
-#define __NR_personality	136
-#define __NR_afs_syscall	137 /* Syscall for Andrew File System */
-#define __NR_setfsuid		138
-#define __NR_setfsgid		139
-#define __NR__llseek		140
-#define __NR_getdents		141
-#define __NR__newselect		142
-#define __NR_flock		143
-#define __NR_msync		144
-#define __NR_readv		145
-#define __NR_writev		146
-#define __NR_getsid		147
-#define __NR_fdatasync		148
-#define __NR__sysctl		149
-#define __NR_mlock		150
-#define __NR_munlock		151
-#define __NR_mlockall		152
-#define __NR_munlockall		153
-#define __NR_sched_setparam		154
-#define __NR_sched_getparam		155
-#define __NR_sched_setscheduler		156
-#define __NR_sched_getscheduler		157
-#define __NR_sched_yield		158
-#define __NR_sched_get_priority_max	159
-#define __NR_sched_get_priority_min	160
-#define __NR_sched_rr_get_interval	161
-#define __NR_nanosleep		162
-#define __NR_mremap		163
-#define __NR_setresuid		164
-#define __NR_getresuid		165
-#define __NR_query_module	166
-#define __NR_poll		167
-#define __NR_nfsservctl		168
-#define __NR_setresgid		169
-#define __NR_getresgid		170
-#define __NR_prctl		171
-#define __NR_rt_sigreturn	172
-#define __NR_rt_sigaction	173
-#define __NR_rt_sigprocmask	174
-#define __NR_rt_sigpending	175
-#define __NR_rt_sigtimedwait	176
-#define __NR_rt_sigqueueinfo	177
-#define __NR_rt_sigsuspend	178
-#define __NR_pread64		179
-#define __NR_pwrite64		180
-#define __NR_chown		181
-#define __NR_getcwd		182
-#define __NR_capget		183
-#define __NR_capset		184
-#define __NR_sigaltstack	185
-#define __NR_sendfile		186
-#define __NR_getpmsg		187	/* some people actually want streams */
-#define __NR_putpmsg		188	/* some people actually want streams */
-#define __NR_vfork		189
-#define __NR_ugetrlimit		190	/* SuS compliant getrlimit */
-#define __NR_readahead		191
-#ifndef __powerpc64__			/* these are 32-bit only */
-#define __NR_mmap2		192
-#define __NR_truncate64		193
-#define __NR_ftruncate64	194
-#define __NR_stat64		195
-#define __NR_lstat64		196
-#define __NR_fstat64		197
-#endif
-#define __NR_pciconfig_read	198
-#define __NR_pciconfig_write	199
-#define __NR_pciconfig_iobase	200
-#define __NR_multiplexer	201
-#define __NR_getdents64		202
-#define __NR_pivot_root		203
-#ifndef __powerpc64__
-#define __NR_fcntl64		204
-#endif
-#define __NR_madvise		205
-#define __NR_mincore		206
-#define __NR_gettid		207
-#define __NR_tkill		208
-#define __NR_setxattr		209
-#define __NR_lsetxattr		210
-#define __NR_fsetxattr		211
-#define __NR_getxattr		212
-#define __NR_lgetxattr		213
-#define __NR_fgetxattr		214
-#define __NR_listxattr		215
-#define __NR_llistxattr		216
-#define __NR_flistxattr		217
-#define __NR_removexattr	218
-#define __NR_lremovexattr	219
-#define __NR_fremovexattr	220
-#define __NR_futex		221
-#define __NR_sched_setaffinity	222
-#define __NR_sched_getaffinity	223
-/* 224 currently unused */
-#define __NR_tuxcall		225
-#ifndef __powerpc64__
-#define __NR_sendfile64		226
-#endif
-#define __NR_io_setup		227
-#define __NR_io_destroy		228
-#define __NR_io_getevents	229
-#define __NR_io_submit		230
-#define __NR_io_cancel		231
-#define __NR_set_tid_address	232
-#define __NR_fadvise64		233
-#define __NR_exit_group		234
-#define __NR_lookup_dcookie	235
-#define __NR_epoll_create	236
-#define __NR_epoll_ctl		237
-#define __NR_epoll_wait		238
-#define __NR_remap_file_pages	239
-#define __NR_timer_create	240
-#define __NR_timer_settime	241
-#define __NR_timer_gettime	242
-#define __NR_timer_getoverrun	243
-#define __NR_timer_delete	244
-#define __NR_clock_settime	245
-#define __NR_clock_gettime	246
-#define __NR_clock_getres	247
-#define __NR_clock_nanosleep	248
-#define __NR_swapcontext	249
-#define __NR_tgkill		250
-#define __NR_utimes		251
-#define __NR_statfs64		252
-#define __NR_fstatfs64		253
-#ifndef __powerpc64__
-#define __NR_fadvise64_64	254
-#endif
-#define __NR_rtas		255
-#define __NR_sys_debug_setcontext 256
-/* Number 257 is reserved for vserver */
-#define __NR_migrate_pages	258
-#define __NR_mbind		259
-#define __NR_get_mempolicy	260
-#define __NR_set_mempolicy	261
-#define __NR_mq_open		262
-#define __NR_mq_unlink		263
-#define __NR_mq_timedsend	264
-#define __NR_mq_timedreceive	265
-#define __NR_mq_notify		266
-#define __NR_mq_getsetattr	267
-#define __NR_kexec_load		268
-#define __NR_add_key		269
-#define __NR_request_key	270
-#define __NR_keyctl		271
-#define __NR_waitid		272
-#define __NR_ioprio_set		273
-#define __NR_ioprio_get		274
-#define __NR_inotify_init	275
-#define __NR_inotify_add_watch	276
-#define __NR_inotify_rm_watch	277
-#define __NR_spu_run		278
-#define __NR_spu_create		279
-#define __NR_pselect6		280
-#define __NR_ppoll		281
-#define __NR_unshare		282
-#define __NR_splice		283
-#define __NR_tee		284
-#define __NR_vmsplice		285
-#define __NR_openat		286
-#define __NR_mkdirat		287
-#define __NR_mknodat		288
-#define __NR_fchownat		289
-#define __NR_futimesat		290
-#ifdef __powerpc64__
-#define __NR_newfstatat		291
-#else
-#define __NR_fstatat64		291
-#endif
-#define __NR_unlinkat		292
-#define __NR_renameat		293
-#define __NR_linkat		294
-#define __NR_symlinkat		295
-#define __NR_readlinkat		296
-#define __NR_fchmodat		297
-#define __NR_faccessat		298
-#define __NR_get_robust_list	299
-#define __NR_set_robust_list	300
-#define __NR_move_pages		301
-#define __NR_getcpu		302
-#define __NR_epoll_pwait	303
-#define __NR_utimensat		304
-#define __NR_signalfd		305
-#define __NR_timerfd_create	306
-#define __NR_eventfd		307
-#define __NR_sync_file_range2	308
-#define __NR_fallocate		309
-#define __NR_subpage_prot	310
-#define __NR_timerfd_settime	311
-#define __NR_timerfd_gettime	312
-#define __NR_signalfd4		313
-#define __NR_eventfd2		314
-#define __NR_epoll_create1	315
-#define __NR_dup3		316
-#define __NR_pipe2		317
-#define __NR_inotify_init1	318
-#define __NR_perf_event_open	319
-#define __NR_preadv		320
-#define __NR_pwritev		321
-#define __NR_rt_tgsigqueueinfo	322
-#define __NR_fanotify_init	323
-#define __NR_fanotify_mark	324
-#define __NR_prlimit64		325
-#define __NR_socket		326
-#define __NR_bind		327
-#define __NR_connect		328
-#define __NR_listen		329
-#define __NR_accept		330
-#define __NR_getsockname	331
-#define __NR_getpeername	332
-#define __NR_socketpair		333
-#define __NR_send		334
-#define __NR_sendto		335
-#define __NR_recv		336
-#define __NR_recvfrom		337
-#define __NR_shutdown		338
-#define __NR_setsockopt		339
-#define __NR_getsockopt		340
-#define __NR_sendmsg		341
-#define __NR_recvmsg		342
-#define __NR_recvmmsg		343
-#define __NR_accept4		344
-#define __NR_name_to_handle_at	345
-#define __NR_open_by_handle_at	346
-#define __NR_clock_adjtime	347
-#define __NR_syncfs		348
-#define __NR_sendmmsg		349
-#define __NR_setns		350
-#define __NR_process_vm_readv	351
-#define __NR_process_vm_writev	352
-#define __NR_finit_module	353
-#define __NR_kcmp		354
-#define __NR_sched_setattr	355
-#define __NR_sched_getattr	356
-#define __NR_renameat2		357
-#define __NR_seccomp		358
-#define __NR_getrandom		359
-#define __NR_memfd_create	360
-#define __NR_bpf		361
-#define __NR_execveat		362
-#define __NR_switch_endian	363
-#define __NR_userfaultfd	364
-#define __NR_membarrier		365
-#define __NR_mlock2		378
-#define __NR_copy_file_range	379
-#define __NR_preadv2		380
-#define __NR_pwritev2		381
-#define __NR_kexec_file_load	382
-#define __NR_statx		383
-#define __NR_pkey_alloc		384
-#define __NR_pkey_free		385
-#define __NR_pkey_mprotect	386
-#define __NR_rseq		387
-#define __NR_io_pgetevents	388
-
-#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */
diff --git a/libc/include/powerpc64le-linux-musl/asm/auxvec.h b/libc/include/powerpc64le-linux-any/asm/auxvec.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/auxvec.h
rename to libc/include/powerpc64le-linux-any/asm/auxvec.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/bitsperlong.h b/libc/include/powerpc64le-linux-any/asm/bitsperlong.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/bitsperlong.h
rename to libc/include/powerpc64le-linux-any/asm/bitsperlong.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/byteorder.h b/libc/include/powerpc64le-linux-any/asm/byteorder.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/byteorder.h
rename to libc/include/powerpc64le-linux-any/asm/byteorder.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/errno.h b/libc/include/powerpc64le-linux-any/asm/errno.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/errno.h
rename to libc/include/powerpc64le-linux-any/asm/errno.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/fcntl.h b/libc/include/powerpc64le-linux-any/asm/fcntl.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/fcntl.h
rename to libc/include/powerpc64le-linux-any/asm/fcntl.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/ioctl.h b/libc/include/powerpc64le-linux-any/asm/ioctl.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/ioctl.h
rename to libc/include/powerpc64le-linux-any/asm/ioctl.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/ioctls.h b/libc/include/powerpc64le-linux-any/asm/ioctls.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/ioctls.h
rename to libc/include/powerpc64le-linux-any/asm/ioctls.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/ipcbuf.h b/libc/include/powerpc64le-linux-any/asm/ipcbuf.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/ipcbuf.h
rename to libc/include/powerpc64le-linux-any/asm/ipcbuf.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/kvm.h b/libc/include/powerpc64le-linux-any/asm/kvm.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/kvm.h
rename to libc/include/powerpc64le-linux-any/asm/kvm.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/kvm_para.h b/libc/include/powerpc64le-linux-any/asm/kvm_para.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/kvm_para.h
rename to libc/include/powerpc64le-linux-any/asm/kvm_para.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/mman.h b/libc/include/powerpc64le-linux-any/asm/mman.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/mman.h
rename to libc/include/powerpc64le-linux-any/asm/mman.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/msgbuf.h b/libc/include/powerpc64le-linux-any/asm/msgbuf.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/msgbuf.h
rename to libc/include/powerpc64le-linux-any/asm/msgbuf.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/perf_regs.h b/libc/include/powerpc64le-linux-any/asm/perf_regs.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/perf_regs.h
rename to libc/include/powerpc64le-linux-any/asm/perf_regs.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/posix_types.h b/libc/include/powerpc64le-linux-any/asm/posix_types.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/posix_types.h
rename to libc/include/powerpc64le-linux-any/asm/posix_types.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/ptrace.h b/libc/include/powerpc64le-linux-any/asm/ptrace.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/ptrace.h
rename to libc/include/powerpc64le-linux-any/asm/ptrace.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/sembuf.h b/libc/include/powerpc64le-linux-any/asm/sembuf.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/sembuf.h
rename to libc/include/powerpc64le-linux-any/asm/sembuf.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/setup.h b/libc/include/powerpc64le-linux-any/asm/setup.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/setup.h
rename to libc/include/powerpc64le-linux-any/asm/setup.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/shmbuf.h b/libc/include/powerpc64le-linux-any/asm/shmbuf.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/shmbuf.h
rename to libc/include/powerpc64le-linux-any/asm/shmbuf.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/sigcontext.h b/libc/include/powerpc64le-linux-any/asm/sigcontext.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/sigcontext.h
rename to libc/include/powerpc64le-linux-any/asm/sigcontext.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/siginfo.h b/libc/include/powerpc64le-linux-any/asm/siginfo.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/siginfo.h
rename to libc/include/powerpc64le-linux-any/asm/siginfo.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/signal.h b/libc/include/powerpc64le-linux-any/asm/signal.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/signal.h
rename to libc/include/powerpc64le-linux-any/asm/signal.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/socket.h b/libc/include/powerpc64le-linux-any/asm/socket.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/socket.h
rename to libc/include/powerpc64le-linux-any/asm/socket.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/stat.h b/libc/include/powerpc64le-linux-any/asm/stat.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/stat.h
rename to libc/include/powerpc64le-linux-any/asm/stat.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/swab.h b/libc/include/powerpc64le-linux-any/asm/swab.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/swab.h
rename to libc/include/powerpc64le-linux-any/asm/swab.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/termbits.h b/libc/include/powerpc64le-linux-any/asm/termbits.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/termbits.h
rename to libc/include/powerpc64le-linux-any/asm/termbits.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/termios.h b/libc/include/powerpc64le-linux-any/asm/termios.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/termios.h
rename to libc/include/powerpc64le-linux-any/asm/termios.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/types.h b/libc/include/powerpc64le-linux-any/asm/types.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/types.h
rename to libc/include/powerpc64le-linux-any/asm/types.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/ucontext.h b/libc/include/powerpc64le-linux-any/asm/ucontext.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/ucontext.h
rename to libc/include/powerpc64le-linux-any/asm/ucontext.h
diff --git a/libc/include/powerpc64le-linux-musl/asm/unistd.h b/libc/include/powerpc64le-linux-any/asm/unistd.h
similarity index 100%
rename from libc/include/powerpc64le-linux-musl/asm/unistd.h
rename to libc/include/powerpc64le-linux-any/asm/unistd.h
diff --git a/libc/include/powerpc64le-linux-gnu/asm/unistd.h b/libc/include/powerpc64le-linux-gnu/asm/unistd.h
deleted file mode 100644
index 985534d0b4..0000000000
--- a/libc/include/powerpc64le-linux-gnu/asm/unistd.h
+++ /dev/null
@@ -1,404 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
-/*
- * This file contains the system call numbers.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version
- * 2 of the License, or (at your option) any later version.
- */
-#ifndef _UAPI_ASM_POWERPC_UNISTD_H_
-#define _UAPI_ASM_POWERPC_UNISTD_H_
-
-
-#define __NR_restart_syscall	  0
-#define __NR_exit		  1
-#define __NR_fork		  2
-#define __NR_read		  3
-#define __NR_write		  4
-#define __NR_open		  5
-#define __NR_close		  6
-#define __NR_waitpid		  7
-#define __NR_creat		  8
-#define __NR_link		  9
-#define __NR_unlink		 10
-#define __NR_execve		 11
-#define __NR_chdir		 12
-#define __NR_time		 13
-#define __NR_mknod		 14
-#define __NR_chmod		 15
-#define __NR_lchown		 16
-#define __NR_break		 17
-#define __NR_oldstat		 18
-#define __NR_lseek		 19
-#define __NR_getpid		 20
-#define __NR_mount		 21
-#define __NR_umount		 22
-#define __NR_setuid		 23
-#define __NR_getuid		 24
-#define __NR_stime		 25
-#define __NR_ptrace		 26
-#define __NR_alarm		 27
-#define __NR_oldfstat		 28
-#define __NR_pause		 29
-#define __NR_utime		 30
-#define __NR_stty		 31
-#define __NR_gtty		 32
-#define __NR_access		 33
-#define __NR_nice		 34
-#define __NR_ftime		 35
-#define __NR_sync		 36
-#define __NR_kill		 37
-#define __NR_rename		 38
-#define __NR_mkdir		 39
-#define __NR_rmdir		 40
-#define __NR_dup		 41
-#define __NR_pipe		 42
-#define __NR_times		 43
-#define __NR_prof		 44
-#define __NR_brk		 45
-#define __NR_setgid		 46
-#define __NR_getgid		 47
-#define __NR_signal		 48
-#define __NR_geteuid		 49
-#define __NR_getegid		 50
-#define __NR_acct		 51
-#define __NR_umount2		 52
-#define __NR_lock		 53
-#define __NR_ioctl		 54
-#define __NR_fcntl		 55
-#define __NR_mpx		 56
-#define __NR_setpgid		 57
-#define __NR_ulimit		 58
-#define __NR_oldolduname	 59
-#define __NR_umask		 60
-#define __NR_chroot		 61
-#define __NR_ustat		 62
-#define __NR_dup2		 63
-#define __NR_getppid		 64
-#define __NR_getpgrp		 65
-#define __NR_setsid		 66
-#define __NR_sigaction		 67
-#define __NR_sgetmask		 68
-#define __NR_ssetmask		 69
-#define __NR_setreuid		 70
-#define __NR_setregid		 71
-#define __NR_sigsuspend		 72
-#define __NR_sigpending		 73
-#define __NR_sethostname	 74
-#define __NR_setrlimit		 75
-#define __NR_getrlimit		 76
-#define __NR_getrusage		 77
-#define __NR_gettimeofday	 78
-#define __NR_settimeofday	 79
-#define __NR_getgroups		 80
-#define __NR_setgroups		 81
-#define __NR_select		 82
-#define __NR_symlink		 83
-#define __NR_oldlstat		 84
-#define __NR_readlink		 85
-#define __NR_uselib		 86
-#define __NR_swapon		 87
-#define __NR_reboot		 88
-#define __NR_readdir		 89
-#define __NR_mmap		 90
-#define __NR_munmap		 91
-#define __NR_truncate		 92
-#define __NR_ftruncate		 93
-#define __NR_fchmod		 94
-#define __NR_fchown		 95
-#define __NR_getpriority	 96
-#define __NR_setpriority	 97
-#define __NR_profil		 98
-#define __NR_statfs		 99
-#define __NR_fstatfs		100
-#define __NR_ioperm		101
-#define __NR_socketcall		102
-#define __NR_syslog		103
-#define __NR_setitimer		104
-#define __NR_getitimer		105
-#define __NR_stat		106
-#define __NR_lstat		107
-#define __NR_fstat		108
-#define __NR_olduname		109
-#define __NR_iopl		110
-#define __NR_vhangup		111
-#define __NR_idle		112
-#define __NR_vm86		113
-#define __NR_wait4		114
-#define __NR_swapoff		115
-#define __NR_sysinfo		116
-#define __NR_ipc		117
-#define __NR_fsync		118
-#define __NR_sigreturn		119
-#define __NR_clone		120
-#define __NR_setdomainname	121
-#define __NR_uname		122
-#define __NR_modify_ldt		123
-#define __NR_adjtimex		124
-#define __NR_mprotect		125
-#define __NR_sigprocmask	126
-#define __NR_create_module	127
-#define __NR_init_module	128
-#define __NR_delete_module	129
-#define __NR_get_kernel_syms	130
-#define __NR_quotactl		131
-#define __NR_getpgid		132
-#define __NR_fchdir		133
-#define __NR_bdflush		134
-#define __NR_sysfs		135
-#define __NR_personality	136
-#define __NR_afs_syscall	137 /* Syscall for Andrew File System */
-#define __NR_setfsuid		138
-#define __NR_setfsgid		139
-#define __NR__llseek		140
-#define __NR_getdents		141
-#define __NR__newselect		142
-#define __NR_flock		143
-#define __NR_msync		144
-#define __NR_readv		145
-#define __NR_writev		146
-#define __NR_getsid		147
-#define __NR_fdatasync		148
-#define __NR__sysctl		149
-#define __NR_mlock		150
-#define __NR_munlock		151
-#define __NR_mlockall		152
-#define __NR_munlockall		153
-#define __NR_sched_setparam		154
-#define __NR_sched_getparam		155
-#define __NR_sched_setscheduler		156
-#define __NR_sched_getscheduler		157
-#define __NR_sched_yield		158
-#define __NR_sched_get_priority_max	159
-#define __NR_sched_get_priority_min	160
-#define __NR_sched_rr_get_interval	161
-#define __NR_nanosleep		162
-#define __NR_mremap		163
-#define __NR_setresuid		164
-#define __NR_getresuid		165
-#define __NR_query_module	166
-#define __NR_poll		167
-#define __NR_nfsservctl		168
-#define __NR_setresgid		169
-#define __NR_getresgid		170
-#define __NR_prctl		171
-#define __NR_rt_sigreturn	172
-#define __NR_rt_sigaction	173
-#define __NR_rt_sigprocmask	174
-#define __NR_rt_sigpending	175
-#define __NR_rt_sigtimedwait	176
-#define __NR_rt_sigqueueinfo	177
-#define __NR_rt_sigsuspend	178
-#define __NR_pread64		179
-#define __NR_pwrite64		180
-#define __NR_chown		181
-#define __NR_getcwd		182
-#define __NR_capget		183
-#define __NR_capset		184
-#define __NR_sigaltstack	185
-#define __NR_sendfile		186
-#define __NR_getpmsg		187	/* some people actually want streams */
-#define __NR_putpmsg		188	/* some people actually want streams */
-#define __NR_vfork		189
-#define __NR_ugetrlimit		190	/* SuS compliant getrlimit */
-#define __NR_readahead		191
-#ifndef __powerpc64__			/* these are 32-bit only */
-#define __NR_mmap2		192
-#define __NR_truncate64		193
-#define __NR_ftruncate64	194
-#define __NR_stat64		195
-#define __NR_lstat64		196
-#define __NR_fstat64		197
-#endif
-#define __NR_pciconfig_read	198
-#define __NR_pciconfig_write	199
-#define __NR_pciconfig_iobase	200
-#define __NR_multiplexer	201
-#define __NR_getdents64		202
-#define __NR_pivot_root		203
-#ifndef __powerpc64__
-#define __NR_fcntl64		204
-#endif
-#define __NR_madvise		205
-#define __NR_mincore		206
-#define __NR_gettid		207
-#define __NR_tkill		208
-#define __NR_setxattr		209
-#define __NR_lsetxattr		210
-#define __NR_fsetxattr		211
-#define __NR_getxattr		212
-#define __NR_lgetxattr		213
-#define __NR_fgetxattr		214
-#define __NR_listxattr		215
-#define __NR_llistxattr		216
-#define __NR_flistxattr		217
-#define __NR_removexattr	218
-#define __NR_lremovexattr	219
-#define __NR_fremovexattr	220
-#define __NR_futex		221
-#define __NR_sched_setaffinity	222
-#define __NR_sched_getaffinity	223
-/* 224 currently unused */
-#define __NR_tuxcall		225
-#ifndef __powerpc64__
-#define __NR_sendfile64		226
-#endif
-#define __NR_io_setup		227
-#define __NR_io_destroy		228
-#define __NR_io_getevents	229
-#define __NR_io_submit		230
-#define __NR_io_cancel		231
-#define __NR_set_tid_address	232
-#define __NR_fadvise64		233
-#define __NR_exit_group		234
-#define __NR_lookup_dcookie	235
-#define __NR_epoll_create	236
-#define __NR_epoll_ctl		237
-#define __NR_epoll_wait		238
-#define __NR_remap_file_pages	239
-#define __NR_timer_create	240
-#define __NR_timer_settime	241
-#define __NR_timer_gettime	242
-#define __NR_timer_getoverrun	243
-#define __NR_timer_delete	244
-#define __NR_clock_settime	245
-#define __NR_clock_gettime	246
-#define __NR_clock_getres	247
-#define __NR_clock_nanosleep	248
-#define __NR_swapcontext	249
-#define __NR_tgkill		250
-#define __NR_utimes		251
-#define __NR_statfs64		252
-#define __NR_fstatfs64		253
-#ifndef __powerpc64__
-#define __NR_fadvise64_64	254
-#endif
-#define __NR_rtas		255
-#define __NR_sys_debug_setcontext 256
-/* Number 257 is reserved for vserver */
-#define __NR_migrate_pages	258
-#define __NR_mbind		259
-#define __NR_get_mempolicy	260
-#define __NR_set_mempolicy	261
-#define __NR_mq_open		262
-#define __NR_mq_unlink		263
-#define __NR_mq_timedsend	264
-#define __NR_mq_timedreceive	265
-#define __NR_mq_notify		266
-#define __NR_mq_getsetattr	267
-#define __NR_kexec_load		268
-#define __NR_add_key		269
-#define __NR_request_key	270
-#define __NR_keyctl		271
-#define __NR_waitid		272
-#define __NR_ioprio_set		273
-#define __NR_ioprio_get		274
-#define __NR_inotify_init	275
-#define __NR_inotify_add_watch	276
-#define __NR_inotify_rm_watch	277
-#define __NR_spu_run		278
-#define __NR_spu_create		279
-#define __NR_pselect6		280
-#define __NR_ppoll		281
-#define __NR_unshare		282
-#define __NR_splice		283
-#define __NR_tee		284
-#define __NR_vmsplice		285
-#define __NR_openat		286
-#define __NR_mkdirat		287
-#define __NR_mknodat		288
-#define __NR_fchownat		289
-#define __NR_futimesat		290
-#ifdef __powerpc64__
-#define __NR_newfstatat		291
-#else
-#define __NR_fstatat64		291
-#endif
-#define __NR_unlinkat		292
-#define __NR_renameat		293
-#define __NR_linkat		294
-#define __NR_symlinkat		295
-#define __NR_readlinkat		296
-#define __NR_fchmodat		297
-#define __NR_faccessat		298
-#define __NR_get_robust_list	299
-#define __NR_set_robust_list	300
-#define __NR_move_pages		301
-#define __NR_getcpu		302
-#define __NR_epoll_pwait	303
-#define __NR_utimensat		304
-#define __NR_signalfd		305
-#define __NR_timerfd_create	306
-#define __NR_eventfd		307
-#define __NR_sync_file_range2	308
-#define __NR_fallocate		309
-#define __NR_subpage_prot	310
-#define __NR_timerfd_settime	311
-#define __NR_timerfd_gettime	312
-#define __NR_signalfd4		313
-#define __NR_eventfd2		314
-#define __NR_epoll_create1	315
-#define __NR_dup3		316
-#define __NR_pipe2		317
-#define __NR_inotify_init1	318
-#define __NR_perf_event_open	319
-#define __NR_preadv		320
-#define __NR_pwritev		321
-#define __NR_rt_tgsigqueueinfo	322
-#define __NR_fanotify_init	323
-#define __NR_fanotify_mark	324
-#define __NR_prlimit64		325
-#define __NR_socket		326
-#define __NR_bind		327
-#define __NR_connect		328
-#define __NR_listen		329
-#define __NR_accept		330
-#define __NR_getsockname	331
-#define __NR_getpeername	332
-#define __NR_socketpair		333
-#define __NR_send		334
-#define __NR_sendto		335
-#define __NR_recv		336
-#define __NR_recvfrom		337
-#define __NR_shutdown		338
-#define __NR_setsockopt		339
-#define __NR_getsockopt		340
-#define __NR_sendmsg		341
-#define __NR_recvmsg		342
-#define __NR_recvmmsg		343
-#define __NR_accept4		344
-#define __NR_name_to_handle_at	345
-#define __NR_open_by_handle_at	346
-#define __NR_clock_adjtime	347
-#define __NR_syncfs		348
-#define __NR_sendmmsg		349
-#define __NR_setns		350
-#define __NR_process_vm_readv	351
-#define __NR_process_vm_writev	352
-#define __NR_finit_module	353
-#define __NR_kcmp		354
-#define __NR_sched_setattr	355
-#define __NR_sched_getattr	356
-#define __NR_renameat2		357
-#define __NR_seccomp		358
-#define __NR_getrandom		359
-#define __NR_memfd_create	360
-#define __NR_bpf		361
-#define __NR_execveat		362
-#define __NR_switch_endian	363
-#define __NR_userfaultfd	364
-#define __NR_membarrier		365
-#define __NR_mlock2		378
-#define __NR_copy_file_range	379
-#define __NR_preadv2		380
-#define __NR_pwritev2		381
-#define __NR_kexec_file_load	382
-#define __NR_statx		383
-#define __NR_pkey_alloc		384
-#define __NR_pkey_free		385
-#define __NR_pkey_mprotect	386
-#define __NR_rseq		387
-#define __NR_io_pgetevents	388
-
-#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */
diff --git a/libc/include/riscv32-linux-musl/asm/auxvec.h b/libc/include/riscv32-linux-any/asm/auxvec.h
similarity index 100%
rename from libc/include/riscv32-linux-musl/asm/auxvec.h
rename to libc/include/riscv32-linux-any/asm/auxvec.h
diff --git a/libc/include/riscv32-linux-musl/asm/bitsperlong.h b/libc/include/riscv32-linux-any/asm/bitsperlong.h
similarity index 100%
rename from libc/include/riscv32-linux-musl/asm/bitsperlong.h
rename to libc/include/riscv32-linux-any/asm/bitsperlong.h
diff --git a/libc/include/riscv32-linux-musl/asm/byteorder.h b/libc/include/riscv32-linux-any/asm/byteorder.h
similarity index 100%
rename from libc/include/riscv32-linux-musl/asm/byteorder.h
rename to libc/include/riscv32-linux-any/asm/byteorder.h
diff --git a/libc/include/riscv32-linux-musl/asm/elf.h b/libc/include/riscv32-linux-any/asm/elf.h
similarity index 100%
rename from libc/include/riscv32-linux-musl/asm/elf.h
rename to libc/include/riscv32-linux-any/asm/elf.h
diff --git a/libc/include/riscv32-linux-musl/asm/hwcap.h b/libc/include/riscv32-linux-any/asm/hwcap.h
similarity index 100%
rename from libc/include/riscv32-linux-musl/asm/hwcap.h
rename to libc/include/riscv32-linux-any/asm/hwcap.h
diff --git a/libc/include/riscv32-linux-musl/asm/posix_types.h b/libc/include/riscv32-linux-any/asm/posix_types.h
similarity index 100%
rename from libc/include/riscv32-linux-musl/asm/posix_types.h
rename to libc/include/riscv32-linux-any/asm/posix_types.h
diff --git a/libc/include/riscv32-linux-musl/asm/ptrace.h b/libc/include/riscv32-linux-any/asm/ptrace.h
similarity index 100%
rename from libc/include/riscv32-linux-musl/asm/ptrace.h
rename to libc/include/riscv32-linux-any/asm/ptrace.h
diff --git a/libc/include/riscv32-linux-musl/asm/setup.h b/libc/include/riscv32-linux-any/asm/setup.h
similarity index 100%
rename from libc/include/riscv32-linux-musl/asm/setup.h
rename to libc/include/riscv32-linux-any/asm/setup.h
diff --git a/libc/include/riscv32-linux-musl/asm/sigcontext.h b/libc/include/riscv32-linux-any/asm/sigcontext.h
similarity index 100%
rename from libc/include/riscv32-linux-musl/asm/sigcontext.h
rename to libc/include/riscv32-linux-any/asm/sigcontext.h
diff --git a/libc/include/riscv32-linux-musl/asm/siginfo.h b/libc/include/riscv32-linux-any/asm/siginfo.h
similarity index 100%
rename from libc/include/riscv32-linux-musl/asm/siginfo.h
rename to libc/include/riscv32-linux-any/asm/siginfo.h
diff --git a/libc/include/riscv32-linux-musl/asm/signal.h b/libc/include/riscv32-linux-any/asm/signal.h
similarity index 100%
rename from libc/include/riscv32-linux-musl/asm/signal.h
rename to libc/include/riscv32-linux-any/asm/signal.h
diff --git a/libc/include/riscv32-linux-musl/asm/stat.h b/libc/include/riscv32-linux-any/asm/stat.h
similarity index 100%
rename from libc/include/riscv32-linux-musl/asm/stat.h
rename to libc/include/riscv32-linux-any/asm/stat.h
diff --git a/libc/include/riscv32-linux-musl/asm/ucontext.h b/libc/include/riscv32-linux-any/asm/ucontext.h
similarity index 100%
rename from libc/include/riscv32-linux-musl/asm/ucontext.h
rename to libc/include/riscv32-linux-any/asm/ucontext.h
diff --git a/libc/include/riscv32-linux-musl/asm/unistd.h b/libc/include/riscv32-linux-any/asm/unistd.h
similarity index 100%
rename from libc/include/riscv32-linux-musl/asm/unistd.h
rename to libc/include/riscv32-linux-any/asm/unistd.h
diff --git a/libc/include/riscv64-linux-musl/asm/auxvec.h b/libc/include/riscv64-linux-any/asm/auxvec.h
similarity index 100%
rename from libc/include/riscv64-linux-musl/asm/auxvec.h
rename to libc/include/riscv64-linux-any/asm/auxvec.h
diff --git a/libc/include/riscv64-linux-musl/asm/bitsperlong.h b/libc/include/riscv64-linux-any/asm/bitsperlong.h
similarity index 100%
rename from libc/include/riscv64-linux-musl/asm/bitsperlong.h
rename to libc/include/riscv64-linux-any/asm/bitsperlong.h
diff --git a/libc/include/riscv64-linux-musl/asm/byteorder.h b/libc/include/riscv64-linux-any/asm/byteorder.h
similarity index 100%
rename from libc/include/riscv64-linux-musl/asm/byteorder.h
rename to libc/include/riscv64-linux-any/asm/byteorder.h
diff --git a/libc/include/riscv64-linux-musl/asm/elf.h b/libc/include/riscv64-linux-any/asm/elf.h
similarity index 100%
rename from libc/include/riscv64-linux-musl/asm/elf.h
rename to libc/include/riscv64-linux-any/asm/elf.h
diff --git a/libc/include/riscv64-linux-musl/asm/hwcap.h b/libc/include/riscv64-linux-any/asm/hwcap.h
similarity index 100%
rename from libc/include/riscv64-linux-musl/asm/hwcap.h
rename to libc/include/riscv64-linux-any/asm/hwcap.h
diff --git a/libc/include/riscv64-linux-musl/asm/posix_types.h b/libc/include/riscv64-linux-any/asm/posix_types.h
similarity index 100%
rename from libc/include/riscv64-linux-musl/asm/posix_types.h
rename to libc/include/riscv64-linux-any/asm/posix_types.h
diff --git a/libc/include/riscv64-linux-musl/asm/ptrace.h b/libc/include/riscv64-linux-any/asm/ptrace.h
similarity index 100%
rename from libc/include/riscv64-linux-musl/asm/ptrace.h
rename to libc/include/riscv64-linux-any/asm/ptrace.h
diff --git a/libc/include/riscv64-linux-musl/asm/setup.h b/libc/include/riscv64-linux-any/asm/setup.h
similarity index 100%
rename from libc/include/riscv64-linux-musl/asm/setup.h
rename to libc/include/riscv64-linux-any/asm/setup.h
diff --git a/libc/include/riscv64-linux-musl/asm/sigcontext.h b/libc/include/riscv64-linux-any/asm/sigcontext.h
similarity index 100%
rename from libc/include/riscv64-linux-musl/asm/sigcontext.h
rename to libc/include/riscv64-linux-any/asm/sigcontext.h
diff --git a/libc/include/riscv64-linux-musl/asm/siginfo.h b/libc/include/riscv64-linux-any/asm/siginfo.h
similarity index 100%
rename from libc/include/riscv64-linux-musl/asm/siginfo.h
rename to libc/include/riscv64-linux-any/asm/siginfo.h
diff --git a/libc/include/riscv64-linux-musl/asm/signal.h b/libc/include/riscv64-linux-any/asm/signal.h
similarity index 100%
rename from libc/include/riscv64-linux-musl/asm/signal.h
rename to libc/include/riscv64-linux-any/asm/signal.h
diff --git a/libc/include/riscv64-linux-musl/asm/stat.h b/libc/include/riscv64-linux-any/asm/stat.h
similarity index 100%
rename from libc/include/riscv64-linux-musl/asm/stat.h
rename to libc/include/riscv64-linux-any/asm/stat.h
diff --git a/libc/include/riscv64-linux-musl/asm/ucontext.h b/libc/include/riscv64-linux-any/asm/ucontext.h
similarity index 100%
rename from libc/include/riscv64-linux-musl/asm/ucontext.h
rename to libc/include/riscv64-linux-any/asm/ucontext.h
diff --git a/libc/include/riscv64-linux-musl/asm/unistd.h b/libc/include/riscv64-linux-any/asm/unistd.h
similarity index 100%
rename from libc/include/riscv64-linux-musl/asm/unistd.h
rename to libc/include/riscv64-linux-any/asm/unistd.h
diff --git a/libc/include/riscv64-linux-gnu/asm/unistd.h b/libc/include/riscv64-linux-gnu/asm/unistd.h
deleted file mode 100644
index 1f3bd3ebbb..0000000000
--- a/libc/include/riscv64-linux-gnu/asm/unistd.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- * Copyright (C) 2018 David Abdurachmanov 
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see .
- */
-
-#ifdef __LP64__
-#define __ARCH_WANT_NEW_STAT
-#endif /* __LP64__ */
-
-#include 
-
-/*
- * Allows the instruction cache to be flushed from userspace.  Despite RISC-V
- * having a direct 'fence.i' instruction available to userspace (which we
- * can't trap!), that's not actually viable when running on Linux because the
- * kernel might schedule a process on another hart.  There is no way for
- * userspace to handle this without invoking the kernel (as it doesn't know the
- * thread->hart mappings), so we've defined a RISC-V specific system call to
- * flush the instruction cache.
- *
- * __NR_riscv_flush_icache is defined to flush the instruction cache over an
- * address range, with the flush applying to either all threads or just the
- * caller.  We don't currently do anything with the address range, that's just
- * in there for forwards compatibility.
- */
-#ifndef __NR_riscv_flush_icache
-#define __NR_riscv_flush_icache (__NR_arch_specific_syscall + 15)
-#endif
-__SYSCALL(__NR_riscv_flush_icache, sys_riscv_flush_icache)
diff --git a/libc/include/s390x-linux-musl/asm/auxvec.h b/libc/include/s390x-linux-any/asm/auxvec.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/auxvec.h
rename to libc/include/s390x-linux-any/asm/auxvec.h
diff --git a/libc/include/s390x-linux-musl/asm/bitsperlong.h b/libc/include/s390x-linux-any/asm/bitsperlong.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/bitsperlong.h
rename to libc/include/s390x-linux-any/asm/bitsperlong.h
diff --git a/libc/include/s390x-linux-musl/asm/bpf_perf_event.h b/libc/include/s390x-linux-any/asm/bpf_perf_event.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/bpf_perf_event.h
rename to libc/include/s390x-linux-any/asm/bpf_perf_event.h
diff --git a/libc/include/s390x-linux-musl/asm/byteorder.h b/libc/include/s390x-linux-any/asm/byteorder.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/byteorder.h
rename to libc/include/s390x-linux-any/asm/byteorder.h
diff --git a/libc/include/s390x-linux-musl/asm/chpid.h b/libc/include/s390x-linux-any/asm/chpid.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/chpid.h
rename to libc/include/s390x-linux-any/asm/chpid.h
diff --git a/libc/include/s390x-linux-musl/asm/chsc.h b/libc/include/s390x-linux-any/asm/chsc.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/chsc.h
rename to libc/include/s390x-linux-any/asm/chsc.h
diff --git a/libc/include/s390x-linux-musl/asm/clp.h b/libc/include/s390x-linux-any/asm/clp.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/clp.h
rename to libc/include/s390x-linux-any/asm/clp.h
diff --git a/libc/include/s390x-linux-musl/asm/cmb.h b/libc/include/s390x-linux-any/asm/cmb.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/cmb.h
rename to libc/include/s390x-linux-any/asm/cmb.h
diff --git a/libc/include/s390x-linux-musl/asm/dasd.h b/libc/include/s390x-linux-any/asm/dasd.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/dasd.h
rename to libc/include/s390x-linux-any/asm/dasd.h
diff --git a/libc/include/s390x-linux-musl/asm/debug.h b/libc/include/s390x-linux-any/asm/debug.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/debug.h
rename to libc/include/s390x-linux-any/asm/debug.h
diff --git a/libc/include/s390x-linux-musl/asm/guarded_storage.h b/libc/include/s390x-linux-any/asm/guarded_storage.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/guarded_storage.h
rename to libc/include/s390x-linux-any/asm/guarded_storage.h
diff --git a/libc/include/s390x-linux-musl/asm/hypfs.h b/libc/include/s390x-linux-any/asm/hypfs.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/hypfs.h
rename to libc/include/s390x-linux-any/asm/hypfs.h
diff --git a/libc/include/s390x-linux-musl/asm/ioctls.h b/libc/include/s390x-linux-any/asm/ioctls.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/ioctls.h
rename to libc/include/s390x-linux-any/asm/ioctls.h
diff --git a/libc/include/s390x-linux-musl/asm/ipcbuf.h b/libc/include/s390x-linux-any/asm/ipcbuf.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/ipcbuf.h
rename to libc/include/s390x-linux-any/asm/ipcbuf.h
diff --git a/libc/include/s390x-linux-musl/asm/kvm.h b/libc/include/s390x-linux-any/asm/kvm.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/kvm.h
rename to libc/include/s390x-linux-any/asm/kvm.h
diff --git a/libc/include/s390x-linux-musl/asm/kvm_para.h b/libc/include/s390x-linux-any/asm/kvm_para.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/kvm_para.h
rename to libc/include/s390x-linux-any/asm/kvm_para.h
diff --git a/libc/include/s390x-linux-musl/asm/kvm_perf.h b/libc/include/s390x-linux-any/asm/kvm_perf.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/kvm_perf.h
rename to libc/include/s390x-linux-any/asm/kvm_perf.h
diff --git a/libc/include/s390x-linux-musl/asm/monwriter.h b/libc/include/s390x-linux-any/asm/monwriter.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/monwriter.h
rename to libc/include/s390x-linux-any/asm/monwriter.h
diff --git a/libc/include/s390x-linux-musl/asm/perf_regs.h b/libc/include/s390x-linux-any/asm/perf_regs.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/perf_regs.h
rename to libc/include/s390x-linux-any/asm/perf_regs.h
diff --git a/libc/include/s390x-linux-musl/asm/pkey.h b/libc/include/s390x-linux-any/asm/pkey.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/pkey.h
rename to libc/include/s390x-linux-any/asm/pkey.h
diff --git a/libc/include/s390x-linux-musl/asm/posix_types.h b/libc/include/s390x-linux-any/asm/posix_types.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/posix_types.h
rename to libc/include/s390x-linux-any/asm/posix_types.h
diff --git a/libc/include/s390x-linux-musl/asm/ptrace.h b/libc/include/s390x-linux-any/asm/ptrace.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/ptrace.h
rename to libc/include/s390x-linux-any/asm/ptrace.h
diff --git a/libc/include/s390x-linux-musl/asm/qeth.h b/libc/include/s390x-linux-any/asm/qeth.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/qeth.h
rename to libc/include/s390x-linux-any/asm/qeth.h
diff --git a/libc/include/s390x-linux-musl/asm/runtime_instr.h b/libc/include/s390x-linux-any/asm/runtime_instr.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/runtime_instr.h
rename to libc/include/s390x-linux-any/asm/runtime_instr.h
diff --git a/libc/include/s390x-linux-musl/asm/schid.h b/libc/include/s390x-linux-any/asm/schid.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/schid.h
rename to libc/include/s390x-linux-any/asm/schid.h
diff --git a/libc/include/s390x-linux-musl/asm/sclp_ctl.h b/libc/include/s390x-linux-any/asm/sclp_ctl.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/sclp_ctl.h
rename to libc/include/s390x-linux-any/asm/sclp_ctl.h
diff --git a/libc/include/s390x-linux-musl/asm/setup.h b/libc/include/s390x-linux-any/asm/setup.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/setup.h
rename to libc/include/s390x-linux-any/asm/setup.h
diff --git a/libc/include/s390x-linux-musl/asm/sie.h b/libc/include/s390x-linux-any/asm/sie.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/sie.h
rename to libc/include/s390x-linux-any/asm/sie.h
diff --git a/libc/include/s390x-linux-musl/asm/sigcontext.h b/libc/include/s390x-linux-any/asm/sigcontext.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/sigcontext.h
rename to libc/include/s390x-linux-any/asm/sigcontext.h
diff --git a/libc/include/s390x-linux-musl/asm/siginfo.h b/libc/include/s390x-linux-any/asm/siginfo.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/siginfo.h
rename to libc/include/s390x-linux-any/asm/siginfo.h
diff --git a/libc/include/s390x-linux-musl/asm/signal.h b/libc/include/s390x-linux-any/asm/signal.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/signal.h
rename to libc/include/s390x-linux-any/asm/signal.h
diff --git a/libc/include/s390x-linux-musl/asm/socket.h b/libc/include/s390x-linux-any/asm/socket.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/socket.h
rename to libc/include/s390x-linux-any/asm/socket.h
diff --git a/libc/include/s390x-linux-musl/asm/stat.h b/libc/include/s390x-linux-any/asm/stat.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/stat.h
rename to libc/include/s390x-linux-any/asm/stat.h
diff --git a/libc/include/s390x-linux-musl/asm/statfs.h b/libc/include/s390x-linux-any/asm/statfs.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/statfs.h
rename to libc/include/s390x-linux-any/asm/statfs.h
diff --git a/libc/include/s390x-linux-musl/asm/sthyi.h b/libc/include/s390x-linux-any/asm/sthyi.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/sthyi.h
rename to libc/include/s390x-linux-any/asm/sthyi.h
diff --git a/libc/include/s390x-linux-musl/asm/tape390.h b/libc/include/s390x-linux-any/asm/tape390.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/tape390.h
rename to libc/include/s390x-linux-any/asm/tape390.h
diff --git a/libc/include/s390x-linux-musl/asm/termios.h b/libc/include/s390x-linux-any/asm/termios.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/termios.h
rename to libc/include/s390x-linux-any/asm/termios.h
diff --git a/libc/include/s390x-linux-musl/asm/types.h b/libc/include/s390x-linux-any/asm/types.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/types.h
rename to libc/include/s390x-linux-any/asm/types.h
diff --git a/libc/include/s390x-linux-musl/asm/ucontext.h b/libc/include/s390x-linux-any/asm/ucontext.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/ucontext.h
rename to libc/include/s390x-linux-any/asm/ucontext.h
diff --git a/libc/include/s390x-linux-musl/asm/unistd.h b/libc/include/s390x-linux-any/asm/unistd.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/unistd.h
rename to libc/include/s390x-linux-any/asm/unistd.h
diff --git a/libc/include/s390x-linux-musl/asm/unistd_32.h b/libc/include/s390x-linux-any/asm/unistd_32.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/unistd_32.h
rename to libc/include/s390x-linux-any/asm/unistd_32.h
diff --git a/libc/include/s390x-linux-musl/asm/unistd_64.h b/libc/include/s390x-linux-any/asm/unistd_64.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/unistd_64.h
rename to libc/include/s390x-linux-any/asm/unistd_64.h
diff --git a/libc/include/s390x-linux-musl/asm/virtio-ccw.h b/libc/include/s390x-linux-any/asm/virtio-ccw.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/virtio-ccw.h
rename to libc/include/s390x-linux-any/asm/virtio-ccw.h
diff --git a/libc/include/s390x-linux-musl/asm/vmcp.h b/libc/include/s390x-linux-any/asm/vmcp.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/vmcp.h
rename to libc/include/s390x-linux-any/asm/vmcp.h
diff --git a/libc/include/s390x-linux-musl/asm/vtoc.h b/libc/include/s390x-linux-any/asm/vtoc.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/vtoc.h
rename to libc/include/s390x-linux-any/asm/vtoc.h
diff --git a/libc/include/s390x-linux-musl/asm/zcrypt.h b/libc/include/s390x-linux-any/asm/zcrypt.h
similarity index 100%
rename from libc/include/s390x-linux-musl/asm/zcrypt.h
rename to libc/include/s390x-linux-any/asm/zcrypt.h
diff --git a/libc/include/s390x-linux-gnu/asm/unistd.h b/libc/include/s390x-linux-gnu/asm/unistd.h
deleted file mode 100644
index 01b5fe8b9d..0000000000
--- a/libc/include/s390x-linux-gnu/asm/unistd.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- *  S390 version
- *
- *  Derived from "include/asm-i386/unistd.h"
- */
-
-#ifndef _UAPI_ASM_S390_UNISTD_H_
-#define _UAPI_ASM_S390_UNISTD_H_
-
-#ifdef __s390x__
-#include 
-#else
-#include 
-#endif
-
-#endif /* _UAPI_ASM_S390_UNISTD_H_ */
diff --git a/libc/include/sparc-linux-gnu/asm/unistd.h b/libc/include/sparc-linux-gnu/asm/unistd.h
deleted file mode 100644
index 45b4bf1875..0000000000
--- a/libc/include/sparc-linux-gnu/asm/unistd.h
+++ /dev/null
@@ -1,453 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- * System calls under the Sparc.
- *
- * Don't be scared by the ugly clobbers, it is the only way I can
- * think of right now to force the arguments into fixed registers
- * before the trap into the system call with gcc 'asm' statements.
- *
- * Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net)
- *
- * SunOS compatibility based upon preliminary work which is:
- *
- * Copyright (C) 1995 Adrian M. Rodriguez (adrian@remus.rutgers.edu)
- */
-#ifndef _UAPI_SPARC_UNISTD_H
-#define _UAPI_SPARC_UNISTD_H
-
-#ifndef __32bit_syscall_numbers__
-#ifndef __arch64__
-#define __32bit_syscall_numbers__
-#endif
-#endif
-
-#define __NR_restart_syscall      0 /* Linux Specific				   */
-#define __NR_exit                 1 /* Common                                      */
-#define __NR_fork                 2 /* Common                                      */
-#define __NR_read                 3 /* Common                                      */
-#define __NR_write                4 /* Common                                      */
-#define __NR_open                 5 /* Common                                      */
-#define __NR_close                6 /* Common                                      */
-#define __NR_wait4                7 /* Common                                      */
-#define __NR_creat                8 /* Common                                      */
-#define __NR_link                 9 /* Common                                      */
-#define __NR_unlink              10 /* Common                                      */
-#define __NR_execv               11 /* SunOS Specific                              */
-#define __NR_chdir               12 /* Common                                      */
-#define __NR_chown		 13 /* Common					   */
-#define __NR_mknod               14 /* Common                                      */
-#define __NR_chmod               15 /* Common                                      */
-#define __NR_lchown              16 /* Common                                      */
-#define __NR_brk                 17 /* Common                                      */
-#define __NR_perfctr             18 /* Performance counter operations              */
-#define __NR_lseek               19 /* Common                                      */
-#define __NR_getpid              20 /* Common                                      */
-#define __NR_capget		 21 /* Linux Specific				   */
-#define __NR_capset		 22 /* Linux Specific				   */
-#define __NR_setuid              23 /* Implemented via setreuid in SunOS           */
-#define __NR_getuid              24 /* Common                                      */
-#define __NR_vmsplice	         25 /* ENOSYS under SunOS			   */
-#define __NR_ptrace              26 /* Common                                      */
-#define __NR_alarm               27 /* Implemented via setitimer in SunOS          */
-#define __NR_sigaltstack	 28 /* Common					   */
-#define __NR_pause               29 /* Is sigblock(0)->sigpause() in SunOS         */
-#define __NR_utime               30 /* Implemented via utimes() under SunOS        */
-#ifdef __32bit_syscall_numbers__
-#define __NR_lchown32            31 /* Linux sparc32 specific                      */
-#define __NR_fchown32            32 /* Linux sparc32 specific                      */
-#endif
-#define __NR_access              33 /* Common                                      */
-#define __NR_nice                34 /* Implemented via get/setpriority() in SunOS  */
-#ifdef __32bit_syscall_numbers__
-#define __NR_chown32             35 /* Linux sparc32 specific                      */
-#endif
-#define __NR_sync                36 /* Common                                      */
-#define __NR_kill                37 /* Common                                      */
-#define __NR_stat                38 /* Common                                      */
-#define __NR_sendfile		 39 /* Linux Specific				   */
-#define __NR_lstat               40 /* Common                                      */
-#define __NR_dup                 41 /* Common                                      */
-#define __NR_pipe                42 /* Common                                      */
-#define __NR_times               43 /* Implemented via getrusage() in SunOS        */
-#ifdef __32bit_syscall_numbers__
-#define __NR_getuid32            44 /* Linux sparc32 specific                      */
-#endif
-#define __NR_umount2             45 /* Linux Specific                              */
-#define __NR_setgid              46 /* Implemented via setregid() in SunOS         */
-#define __NR_getgid              47 /* Common                                      */
-#define __NR_signal              48 /* Implemented via sigvec() in SunOS           */
-#define __NR_geteuid             49 /* SunOS calls getuid()                        */
-#define __NR_getegid             50 /* SunOS calls getgid()                        */
-#define __NR_acct                51 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_getgid32            53 /* Linux sparc32 specific                      */
-#else
-#define __NR_memory_ordering	 52 /* Linux Specific				   */
-#endif
-#define __NR_ioctl               54 /* Common                                      */
-#define __NR_reboot              55 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_mmap2		 56 /* Linux sparc32 Specific			   */
-#endif
-#define __NR_symlink             57 /* Common                                      */
-#define __NR_readlink            58 /* Common                                      */
-#define __NR_execve              59 /* Common                                      */
-#define __NR_umask               60 /* Common                                      */
-#define __NR_chroot              61 /* Common                                      */
-#define __NR_fstat               62 /* Common                                      */
-#define __NR_fstat64		 63 /* Linux Specific			           */
-#define __NR_getpagesize         64 /* Common                                      */
-#define __NR_msync               65 /* Common in newer 1.3.x revs...               */
-#define __NR_vfork               66 /* Common                                      */
-#define __NR_pread64             67 /* Linux Specific                              */
-#define __NR_pwrite64            68 /* Linux Specific                              */
-#ifdef __32bit_syscall_numbers__
-#define __NR_geteuid32           69 /* Linux sparc32, sbrk under SunOS             */
-#define __NR_getegid32           70 /* Linux sparc32, sstk under SunOS             */
-#endif
-#define __NR_mmap                71 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_setreuid32          72 /* Linux sparc32, vadvise under SunOS          */
-#endif
-#define __NR_munmap              73 /* Common                                      */
-#define __NR_mprotect            74 /* Common                                      */
-#define __NR_madvise             75 /* Common                                      */
-#define __NR_vhangup             76 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_truncate64		 77 /* Linux sparc32 Specific			   */
-#endif
-#define __NR_mincore             78 /* Common                                      */
-#define __NR_getgroups           79 /* Common                                      */
-#define __NR_setgroups           80 /* Common                                      */
-#define __NR_getpgrp             81 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_setgroups32         82 /* Linux sparc32, setpgrp under SunOS          */
-#endif
-#define __NR_setitimer           83 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_ftruncate64	 84 /* Linux sparc32 Specific			   */
-#endif
-#define __NR_swapon              85 /* Common                                      */
-#define __NR_getitimer           86 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_setuid32            87 /* Linux sparc32, gethostname under SunOS      */
-#endif
-#define __NR_sethostname         88 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_setgid32            89 /* Linux sparc32, getdtablesize under SunOS    */
-#endif
-#define __NR_dup2                90 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_setfsuid32          91 /* Linux sparc32, getdopt under SunOS          */
-#endif
-#define __NR_fcntl               92 /* Common                                      */
-#define __NR_select              93 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_setfsgid32          94 /* Linux sparc32, setdopt under SunOS          */
-#endif
-#define __NR_fsync               95 /* Common                                      */
-#define __NR_setpriority         96 /* Common                                      */
-#define __NR_socket              97 /* Common                                      */
-#define __NR_connect             98 /* Common                                      */
-#define __NR_accept              99 /* Common                                      */
-#define __NR_getpriority        100 /* Common                                      */
-#define __NR_rt_sigreturn       101 /* Linux Specific                              */
-#define __NR_rt_sigaction       102 /* Linux Specific                              */
-#define __NR_rt_sigprocmask     103 /* Linux Specific                              */
-#define __NR_rt_sigpending      104 /* Linux Specific                              */
-#define __NR_rt_sigtimedwait    105 /* Linux Specific                              */
-#define __NR_rt_sigqueueinfo    106 /* Linux Specific                              */
-#define __NR_rt_sigsuspend      107 /* Linux Specific                              */
-#ifdef __32bit_syscall_numbers__
-#define __NR_setresuid32        108 /* Linux Specific, sigvec under SunOS	   */
-#define __NR_getresuid32        109 /* Linux Specific, sigblock under SunOS	   */
-#define __NR_setresgid32        110 /* Linux Specific, sigsetmask under SunOS	   */
-#define __NR_getresgid32        111 /* Linux Specific, sigpause under SunOS	   */
-#define __NR_setregid32         112 /* Linux sparc32, sigstack under SunOS         */
-#else
-#define __NR_setresuid          108 /* Linux Specific, sigvec under SunOS	   */
-#define __NR_getresuid          109 /* Linux Specific, sigblock under SunOS	   */
-#define __NR_setresgid          110 /* Linux Specific, sigsetmask under SunOS	   */
-#define __NR_getresgid          111 /* Linux Specific, sigpause under SunOS	   */
-#endif
-#define __NR_recvmsg            113 /* Common                                      */
-#define __NR_sendmsg            114 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_getgroups32        115 /* Linux sparc32, vtrace under SunOS           */
-#endif
-#define __NR_gettimeofday       116 /* Common                                      */
-#define __NR_getrusage          117 /* Common                                      */
-#define __NR_getsockopt         118 /* Common                                      */
-#define __NR_getcwd		119 /* Linux Specific				   */
-#define __NR_readv              120 /* Common                                      */
-#define __NR_writev             121 /* Common                                      */
-#define __NR_settimeofday       122 /* Common                                      */
-#define __NR_fchown             123 /* Common                                      */
-#define __NR_fchmod             124 /* Common                                      */
-#define __NR_recvfrom           125 /* Common                                      */
-#define __NR_setreuid           126 /* Common                                      */
-#define __NR_setregid           127 /* Common                                      */
-#define __NR_rename             128 /* Common                                      */
-#define __NR_truncate           129 /* Common                                      */
-#define __NR_ftruncate          130 /* Common                                      */
-#define __NR_flock              131 /* Common                                      */
-#define __NR_lstat64		132 /* Linux Specific			           */
-#define __NR_sendto             133 /* Common                                      */
-#define __NR_shutdown           134 /* Common                                      */
-#define __NR_socketpair         135 /* Common                                      */
-#define __NR_mkdir              136 /* Common                                      */
-#define __NR_rmdir              137 /* Common                                      */
-#define __NR_utimes             138 /* SunOS Specific                              */
-#define __NR_stat64		139 /* Linux Specific			           */
-#define __NR_sendfile64         140 /* adjtime under SunOS                         */
-#define __NR_getpeername        141 /* Common                                      */
-#define __NR_futex              142 /* gethostid under SunOS                       */
-#define __NR_gettid             143 /* ENOSYS under SunOS                          */
-#define __NR_getrlimit		144 /* Common                                      */
-#define __NR_setrlimit          145 /* Common                                      */
-#define __NR_pivot_root		146 /* Linux Specific, killpg under SunOS          */
-#define __NR_prctl		147 /* ENOSYS under SunOS                          */
-#define __NR_pciconfig_read	148 /* ENOSYS under SunOS                          */
-#define __NR_pciconfig_write	149 /* ENOSYS under SunOS                          */
-#define __NR_getsockname        150 /* Common                                      */
-#define __NR_inotify_init       151 /* Linux specific                              */
-#define __NR_inotify_add_watch  152 /* Linux specific                              */
-#define __NR_poll               153 /* Common                                      */
-#define __NR_getdents64		154 /* Linux specific				   */
-#ifdef __32bit_syscall_numbers__
-#define __NR_fcntl64		155 /* Linux sparc32 Specific                      */
-#endif
-#define __NR_inotify_rm_watch   156 /* Linux specific				   */
-#define __NR_statfs             157 /* Common                                      */
-#define __NR_fstatfs            158 /* Common                                      */
-#define __NR_umount             159 /* Common                                      */
-#define __NR_sched_set_affinity 160 /* Linux specific, async_daemon under SunOS    */
-#define __NR_sched_get_affinity 161 /* Linux specific, getfh under SunOS           */
-#define __NR_getdomainname      162 /* SunOS Specific                              */
-#define __NR_setdomainname      163 /* Common                                      */
-#ifndef __32bit_syscall_numbers__
-#define __NR_utrap_install	164 /* SYSV ABI/v9 required			   */
-#endif
-#define __NR_quotactl           165 /* Common                                      */
-#define __NR_set_tid_address    166 /* Linux specific, exportfs under SunOS        */
-#define __NR_mount              167 /* Common                                      */
-#define __NR_ustat              168 /* Common                                      */
-#define __NR_setxattr           169 /* SunOS: semsys                               */
-#define __NR_lsetxattr          170 /* SunOS: msgsys                               */
-#define __NR_fsetxattr          171 /* SunOS: shmsys                               */
-#define __NR_getxattr           172 /* SunOS: auditsys                             */
-#define __NR_lgetxattr          173 /* SunOS: rfssys                               */
-#define __NR_getdents           174 /* Common                                      */
-#define __NR_setsid             175 /* Common                                      */
-#define __NR_fchdir             176 /* Common                                      */
-#define __NR_fgetxattr          177 /* SunOS: fchroot                              */
-#define __NR_listxattr          178 /* SunOS: vpixsys                              */
-#define __NR_llistxattr         179 /* SunOS: aioread                              */
-#define __NR_flistxattr         180 /* SunOS: aiowrite                             */
-#define __NR_removexattr        181 /* SunOS: aiowait                              */
-#define __NR_lremovexattr       182 /* SunOS: aiocancel                            */
-#define __NR_sigpending         183 /* Common                                      */
-#define __NR_query_module	184 /* Linux Specific				   */
-#define __NR_setpgid            185 /* Common                                      */
-#define __NR_fremovexattr       186 /* SunOS: pathconf                             */
-#define __NR_tkill              187 /* SunOS: fpathconf                            */
-#define __NR_exit_group		188 /* Linux specific, sysconf undef SunOS         */
-#define __NR_uname              189 /* Linux Specific                              */
-#define __NR_init_module        190 /* Linux Specific                              */
-#define __NR_personality        191 /* Linux Specific                              */
-#define __NR_remap_file_pages   192 /* Linux Specific                              */
-#define __NR_epoll_create       193 /* Linux Specific                              */
-#define __NR_epoll_ctl          194 /* Linux Specific                              */
-#define __NR_epoll_wait         195 /* Linux Specific                              */
-#define __NR_ioprio_set         196 /* Linux Specific                              */
-#define __NR_getppid            197 /* Linux Specific                              */
-#define __NR_sigaction          198 /* Linux Specific                              */
-#define __NR_sgetmask           199 /* Linux Specific                              */
-#define __NR_ssetmask           200 /* Linux Specific                              */
-#define __NR_sigsuspend         201 /* Linux Specific                              */
-#define __NR_oldlstat           202 /* Linux Specific                              */
-#define __NR_uselib             203 /* Linux Specific                              */
-#define __NR_readdir            204 /* Linux Specific                              */
-#define __NR_readahead          205 /* Linux Specific                              */
-#define __NR_socketcall         206 /* Linux Specific                              */
-#define __NR_syslog             207 /* Linux Specific                              */
-#define __NR_lookup_dcookie     208 /* Linux Specific                              */
-#define __NR_fadvise64          209 /* Linux Specific                              */
-#define __NR_fadvise64_64       210 /* Linux Specific                              */
-#define __NR_tgkill             211 /* Linux Specific                              */
-#define __NR_waitpid            212 /* Linux Specific                              */
-#define __NR_swapoff            213 /* Linux Specific                              */
-#define __NR_sysinfo            214 /* Linux Specific                              */
-#define __NR_ipc                215 /* Linux Specific                              */
-#define __NR_sigreturn          216 /* Linux Specific                              */
-#define __NR_clone              217 /* Linux Specific                              */
-#define __NR_ioprio_get         218 /* Linux Specific                              */
-#define __NR_adjtimex           219 /* Linux Specific                              */
-#define __NR_sigprocmask        220 /* Linux Specific                              */
-#define __NR_create_module      221 /* Linux Specific                              */
-#define __NR_delete_module      222 /* Linux Specific                              */
-#define __NR_get_kernel_syms    223 /* Linux Specific                              */
-#define __NR_getpgid            224 /* Linux Specific                              */
-#define __NR_bdflush            225 /* Linux Specific                              */
-#define __NR_sysfs              226 /* Linux Specific                              */
-#define __NR_afs_syscall        227 /* Linux Specific                              */
-#define __NR_setfsuid           228 /* Linux Specific                              */
-#define __NR_setfsgid           229 /* Linux Specific                              */
-#define __NR__newselect         230 /* Linux Specific                              */
-#ifdef __32bit_syscall_numbers__
-#define __NR_time               231 /* Linux Specific                              */
-#else
-#endif
-#define __NR_splice             232 /* Linux Specific                              */
-#define __NR_stime              233 /* Linux Specific                              */
-#define __NR_statfs64           234 /* Linux Specific                              */
-#define __NR_fstatfs64          235 /* Linux Specific                              */
-#define __NR__llseek            236 /* Linux Specific                              */
-#define __NR_mlock              237
-#define __NR_munlock            238
-#define __NR_mlockall           239
-#define __NR_munlockall         240
-#define __NR_sched_setparam     241
-#define __NR_sched_getparam     242
-#define __NR_sched_setscheduler 243
-#define __NR_sched_getscheduler 244
-#define __NR_sched_yield        245
-#define __NR_sched_get_priority_max 246
-#define __NR_sched_get_priority_min 247
-#define __NR_sched_rr_get_interval  248
-#define __NR_nanosleep          249
-#define __NR_mremap             250
-#define __NR__sysctl            251
-#define __NR_getsid             252
-#define __NR_fdatasync          253
-#define __NR_nfsservctl         254
-#define __NR_sync_file_range	255
-#define __NR_clock_settime	256
-#define __NR_clock_gettime	257
-#define __NR_clock_getres	258
-#define __NR_clock_nanosleep	259
-#define __NR_sched_getaffinity	260
-#define __NR_sched_setaffinity	261
-#define __NR_timer_settime	262
-#define __NR_timer_gettime	263
-#define __NR_timer_getoverrun	264
-#define __NR_timer_delete	265
-#define __NR_timer_create	266
-/* #define __NR_vserver		267 Reserved for VSERVER */
-#define __NR_io_setup		268
-#define __NR_io_destroy		269
-#define __NR_io_submit		270
-#define __NR_io_cancel		271
-#define __NR_io_getevents	272
-#define __NR_mq_open		273
-#define __NR_mq_unlink		274
-#define __NR_mq_timedsend	275
-#define __NR_mq_timedreceive	276
-#define __NR_mq_notify		277
-#define __NR_mq_getsetattr	278
-#define __NR_waitid		279
-#define __NR_tee		280
-#define __NR_add_key		281
-#define __NR_request_key	282
-#define __NR_keyctl		283
-#define __NR_openat		284
-#define __NR_mkdirat		285
-#define __NR_mknodat		286
-#define __NR_fchownat		287
-#define __NR_futimesat		288
-#define __NR_fstatat64		289
-#define __NR_unlinkat		290
-#define __NR_renameat		291
-#define __NR_linkat		292
-#define __NR_symlinkat		293
-#define __NR_readlinkat		294
-#define __NR_fchmodat		295
-#define __NR_faccessat		296
-#define __NR_pselect6		297
-#define __NR_ppoll		298
-#define __NR_unshare		299
-#define __NR_set_robust_list	300
-#define __NR_get_robust_list	301
-#define __NR_migrate_pages	302
-#define __NR_mbind		303
-#define __NR_get_mempolicy	304
-#define __NR_set_mempolicy	305
-#define __NR_kexec_load		306
-#define __NR_move_pages		307
-#define __NR_getcpu		308
-#define __NR_epoll_pwait	309
-#define __NR_utimensat		310
-#define __NR_signalfd		311
-#define __NR_timerfd_create	312
-#define __NR_eventfd		313
-#define __NR_fallocate		314
-#define __NR_timerfd_settime	315
-#define __NR_timerfd_gettime	316
-#define __NR_signalfd4		317
-#define __NR_eventfd2		318
-#define __NR_epoll_create1	319
-#define __NR_dup3		320
-#define __NR_pipe2		321
-#define __NR_inotify_init1	322
-#define __NR_accept4		323
-#define __NR_preadv		324
-#define __NR_pwritev		325
-#define __NR_rt_tgsigqueueinfo	326
-#define __NR_perf_event_open	327
-#define __NR_recvmmsg		328
-#define __NR_fanotify_init	329
-#define __NR_fanotify_mark	330
-#define __NR_prlimit64		331
-#define __NR_name_to_handle_at	332
-#define __NR_open_by_handle_at	333
-#define __NR_clock_adjtime	334
-#define __NR_syncfs		335
-#define __NR_sendmmsg		336
-#define __NR_setns		337
-#define __NR_process_vm_readv	338
-#define __NR_process_vm_writev	339
-#define __NR_kern_features	340
-#define __NR_kcmp		341
-#define __NR_finit_module	342
-#define __NR_sched_setattr	343
-#define __NR_sched_getattr	344
-#define __NR_renameat2		345
-#define __NR_seccomp		346
-#define __NR_getrandom		347
-#define __NR_memfd_create	348
-#define __NR_bpf		349
-#define __NR_execveat		350
-#define __NR_membarrier		351
-#define __NR_userfaultfd	352
-#define __NR_bind		353
-#define __NR_listen		354
-#define __NR_setsockopt		355
-#define __NR_mlock2		356
-#define __NR_copy_file_range	357
-#define __NR_preadv2		358
-#define __NR_pwritev2		359
-#define __NR_statx		360
-#define __NR_io_pgetevents	361
-
-#define NR_syscalls		362
-
-/* Bitmask values returned from kern_features system call.  */
-#define KERN_FEATURE_MIXED_MODE_STACK	0x00000001
-
-#ifdef __32bit_syscall_numbers__
-/* Sparc 32-bit only has the "setresuid32", "getresuid32" variants,
- * it never had the plain ones and there is no value to adding those
- * old versions into the syscall table.
- */
-#define __IGNORE_setresuid
-#define __IGNORE_getresuid
-#define __IGNORE_setresgid
-#define __IGNORE_getresgid
-#endif
-
-/* Sparc doesn't have protection keys. */
-#define __IGNORE_pkey_mprotect
-#define __IGNORE_pkey_alloc
-#define __IGNORE_pkey_free
-
-#endif /* _UAPI_SPARC_UNISTD_H */
diff --git a/libc/include/sparcv9-linux-gnu/asm/unistd.h b/libc/include/sparcv9-linux-gnu/asm/unistd.h
deleted file mode 100644
index 45b4bf1875..0000000000
--- a/libc/include/sparcv9-linux-gnu/asm/unistd.h
+++ /dev/null
@@ -1,453 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/*
- * System calls under the Sparc.
- *
- * Don't be scared by the ugly clobbers, it is the only way I can
- * think of right now to force the arguments into fixed registers
- * before the trap into the system call with gcc 'asm' statements.
- *
- * Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net)
- *
- * SunOS compatibility based upon preliminary work which is:
- *
- * Copyright (C) 1995 Adrian M. Rodriguez (adrian@remus.rutgers.edu)
- */
-#ifndef _UAPI_SPARC_UNISTD_H
-#define _UAPI_SPARC_UNISTD_H
-
-#ifndef __32bit_syscall_numbers__
-#ifndef __arch64__
-#define __32bit_syscall_numbers__
-#endif
-#endif
-
-#define __NR_restart_syscall      0 /* Linux Specific				   */
-#define __NR_exit                 1 /* Common                                      */
-#define __NR_fork                 2 /* Common                                      */
-#define __NR_read                 3 /* Common                                      */
-#define __NR_write                4 /* Common                                      */
-#define __NR_open                 5 /* Common                                      */
-#define __NR_close                6 /* Common                                      */
-#define __NR_wait4                7 /* Common                                      */
-#define __NR_creat                8 /* Common                                      */
-#define __NR_link                 9 /* Common                                      */
-#define __NR_unlink              10 /* Common                                      */
-#define __NR_execv               11 /* SunOS Specific                              */
-#define __NR_chdir               12 /* Common                                      */
-#define __NR_chown		 13 /* Common					   */
-#define __NR_mknod               14 /* Common                                      */
-#define __NR_chmod               15 /* Common                                      */
-#define __NR_lchown              16 /* Common                                      */
-#define __NR_brk                 17 /* Common                                      */
-#define __NR_perfctr             18 /* Performance counter operations              */
-#define __NR_lseek               19 /* Common                                      */
-#define __NR_getpid              20 /* Common                                      */
-#define __NR_capget		 21 /* Linux Specific				   */
-#define __NR_capset		 22 /* Linux Specific				   */
-#define __NR_setuid              23 /* Implemented via setreuid in SunOS           */
-#define __NR_getuid              24 /* Common                                      */
-#define __NR_vmsplice	         25 /* ENOSYS under SunOS			   */
-#define __NR_ptrace              26 /* Common                                      */
-#define __NR_alarm               27 /* Implemented via setitimer in SunOS          */
-#define __NR_sigaltstack	 28 /* Common					   */
-#define __NR_pause               29 /* Is sigblock(0)->sigpause() in SunOS         */
-#define __NR_utime               30 /* Implemented via utimes() under SunOS        */
-#ifdef __32bit_syscall_numbers__
-#define __NR_lchown32            31 /* Linux sparc32 specific                      */
-#define __NR_fchown32            32 /* Linux sparc32 specific                      */
-#endif
-#define __NR_access              33 /* Common                                      */
-#define __NR_nice                34 /* Implemented via get/setpriority() in SunOS  */
-#ifdef __32bit_syscall_numbers__
-#define __NR_chown32             35 /* Linux sparc32 specific                      */
-#endif
-#define __NR_sync                36 /* Common                                      */
-#define __NR_kill                37 /* Common                                      */
-#define __NR_stat                38 /* Common                                      */
-#define __NR_sendfile		 39 /* Linux Specific				   */
-#define __NR_lstat               40 /* Common                                      */
-#define __NR_dup                 41 /* Common                                      */
-#define __NR_pipe                42 /* Common                                      */
-#define __NR_times               43 /* Implemented via getrusage() in SunOS        */
-#ifdef __32bit_syscall_numbers__
-#define __NR_getuid32            44 /* Linux sparc32 specific                      */
-#endif
-#define __NR_umount2             45 /* Linux Specific                              */
-#define __NR_setgid              46 /* Implemented via setregid() in SunOS         */
-#define __NR_getgid              47 /* Common                                      */
-#define __NR_signal              48 /* Implemented via sigvec() in SunOS           */
-#define __NR_geteuid             49 /* SunOS calls getuid()                        */
-#define __NR_getegid             50 /* SunOS calls getgid()                        */
-#define __NR_acct                51 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_getgid32            53 /* Linux sparc32 specific                      */
-#else
-#define __NR_memory_ordering	 52 /* Linux Specific				   */
-#endif
-#define __NR_ioctl               54 /* Common                                      */
-#define __NR_reboot              55 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_mmap2		 56 /* Linux sparc32 Specific			   */
-#endif
-#define __NR_symlink             57 /* Common                                      */
-#define __NR_readlink            58 /* Common                                      */
-#define __NR_execve              59 /* Common                                      */
-#define __NR_umask               60 /* Common                                      */
-#define __NR_chroot              61 /* Common                                      */
-#define __NR_fstat               62 /* Common                                      */
-#define __NR_fstat64		 63 /* Linux Specific			           */
-#define __NR_getpagesize         64 /* Common                                      */
-#define __NR_msync               65 /* Common in newer 1.3.x revs...               */
-#define __NR_vfork               66 /* Common                                      */
-#define __NR_pread64             67 /* Linux Specific                              */
-#define __NR_pwrite64            68 /* Linux Specific                              */
-#ifdef __32bit_syscall_numbers__
-#define __NR_geteuid32           69 /* Linux sparc32, sbrk under SunOS             */
-#define __NR_getegid32           70 /* Linux sparc32, sstk under SunOS             */
-#endif
-#define __NR_mmap                71 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_setreuid32          72 /* Linux sparc32, vadvise under SunOS          */
-#endif
-#define __NR_munmap              73 /* Common                                      */
-#define __NR_mprotect            74 /* Common                                      */
-#define __NR_madvise             75 /* Common                                      */
-#define __NR_vhangup             76 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_truncate64		 77 /* Linux sparc32 Specific			   */
-#endif
-#define __NR_mincore             78 /* Common                                      */
-#define __NR_getgroups           79 /* Common                                      */
-#define __NR_setgroups           80 /* Common                                      */
-#define __NR_getpgrp             81 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_setgroups32         82 /* Linux sparc32, setpgrp under SunOS          */
-#endif
-#define __NR_setitimer           83 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_ftruncate64	 84 /* Linux sparc32 Specific			   */
-#endif
-#define __NR_swapon              85 /* Common                                      */
-#define __NR_getitimer           86 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_setuid32            87 /* Linux sparc32, gethostname under SunOS      */
-#endif
-#define __NR_sethostname         88 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_setgid32            89 /* Linux sparc32, getdtablesize under SunOS    */
-#endif
-#define __NR_dup2                90 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_setfsuid32          91 /* Linux sparc32, getdopt under SunOS          */
-#endif
-#define __NR_fcntl               92 /* Common                                      */
-#define __NR_select              93 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_setfsgid32          94 /* Linux sparc32, setdopt under SunOS          */
-#endif
-#define __NR_fsync               95 /* Common                                      */
-#define __NR_setpriority         96 /* Common                                      */
-#define __NR_socket              97 /* Common                                      */
-#define __NR_connect             98 /* Common                                      */
-#define __NR_accept              99 /* Common                                      */
-#define __NR_getpriority        100 /* Common                                      */
-#define __NR_rt_sigreturn       101 /* Linux Specific                              */
-#define __NR_rt_sigaction       102 /* Linux Specific                              */
-#define __NR_rt_sigprocmask     103 /* Linux Specific                              */
-#define __NR_rt_sigpending      104 /* Linux Specific                              */
-#define __NR_rt_sigtimedwait    105 /* Linux Specific                              */
-#define __NR_rt_sigqueueinfo    106 /* Linux Specific                              */
-#define __NR_rt_sigsuspend      107 /* Linux Specific                              */
-#ifdef __32bit_syscall_numbers__
-#define __NR_setresuid32        108 /* Linux Specific, sigvec under SunOS	   */
-#define __NR_getresuid32        109 /* Linux Specific, sigblock under SunOS	   */
-#define __NR_setresgid32        110 /* Linux Specific, sigsetmask under SunOS	   */
-#define __NR_getresgid32        111 /* Linux Specific, sigpause under SunOS	   */
-#define __NR_setregid32         112 /* Linux sparc32, sigstack under SunOS         */
-#else
-#define __NR_setresuid          108 /* Linux Specific, sigvec under SunOS	   */
-#define __NR_getresuid          109 /* Linux Specific, sigblock under SunOS	   */
-#define __NR_setresgid          110 /* Linux Specific, sigsetmask under SunOS	   */
-#define __NR_getresgid          111 /* Linux Specific, sigpause under SunOS	   */
-#endif
-#define __NR_recvmsg            113 /* Common                                      */
-#define __NR_sendmsg            114 /* Common                                      */
-#ifdef __32bit_syscall_numbers__
-#define __NR_getgroups32        115 /* Linux sparc32, vtrace under SunOS           */
-#endif
-#define __NR_gettimeofday       116 /* Common                                      */
-#define __NR_getrusage          117 /* Common                                      */
-#define __NR_getsockopt         118 /* Common                                      */
-#define __NR_getcwd		119 /* Linux Specific				   */
-#define __NR_readv              120 /* Common                                      */
-#define __NR_writev             121 /* Common                                      */
-#define __NR_settimeofday       122 /* Common                                      */
-#define __NR_fchown             123 /* Common                                      */
-#define __NR_fchmod             124 /* Common                                      */
-#define __NR_recvfrom           125 /* Common                                      */
-#define __NR_setreuid           126 /* Common                                      */
-#define __NR_setregid           127 /* Common                                      */
-#define __NR_rename             128 /* Common                                      */
-#define __NR_truncate           129 /* Common                                      */
-#define __NR_ftruncate          130 /* Common                                      */
-#define __NR_flock              131 /* Common                                      */
-#define __NR_lstat64		132 /* Linux Specific			           */
-#define __NR_sendto             133 /* Common                                      */
-#define __NR_shutdown           134 /* Common                                      */
-#define __NR_socketpair         135 /* Common                                      */
-#define __NR_mkdir              136 /* Common                                      */
-#define __NR_rmdir              137 /* Common                                      */
-#define __NR_utimes             138 /* SunOS Specific                              */
-#define __NR_stat64		139 /* Linux Specific			           */
-#define __NR_sendfile64         140 /* adjtime under SunOS                         */
-#define __NR_getpeername        141 /* Common                                      */
-#define __NR_futex              142 /* gethostid under SunOS                       */
-#define __NR_gettid             143 /* ENOSYS under SunOS                          */
-#define __NR_getrlimit		144 /* Common                                      */
-#define __NR_setrlimit          145 /* Common                                      */
-#define __NR_pivot_root		146 /* Linux Specific, killpg under SunOS          */
-#define __NR_prctl		147 /* ENOSYS under SunOS                          */
-#define __NR_pciconfig_read	148 /* ENOSYS under SunOS                          */
-#define __NR_pciconfig_write	149 /* ENOSYS under SunOS                          */
-#define __NR_getsockname        150 /* Common                                      */
-#define __NR_inotify_init       151 /* Linux specific                              */
-#define __NR_inotify_add_watch  152 /* Linux specific                              */
-#define __NR_poll               153 /* Common                                      */
-#define __NR_getdents64		154 /* Linux specific				   */
-#ifdef __32bit_syscall_numbers__
-#define __NR_fcntl64		155 /* Linux sparc32 Specific                      */
-#endif
-#define __NR_inotify_rm_watch   156 /* Linux specific				   */
-#define __NR_statfs             157 /* Common                                      */
-#define __NR_fstatfs            158 /* Common                                      */
-#define __NR_umount             159 /* Common                                      */
-#define __NR_sched_set_affinity 160 /* Linux specific, async_daemon under SunOS    */
-#define __NR_sched_get_affinity 161 /* Linux specific, getfh under SunOS           */
-#define __NR_getdomainname      162 /* SunOS Specific                              */
-#define __NR_setdomainname      163 /* Common                                      */
-#ifndef __32bit_syscall_numbers__
-#define __NR_utrap_install	164 /* SYSV ABI/v9 required			   */
-#endif
-#define __NR_quotactl           165 /* Common                                      */
-#define __NR_set_tid_address    166 /* Linux specific, exportfs under SunOS        */
-#define __NR_mount              167 /* Common                                      */
-#define __NR_ustat              168 /* Common                                      */
-#define __NR_setxattr           169 /* SunOS: semsys                               */
-#define __NR_lsetxattr          170 /* SunOS: msgsys                               */
-#define __NR_fsetxattr          171 /* SunOS: shmsys                               */
-#define __NR_getxattr           172 /* SunOS: auditsys                             */
-#define __NR_lgetxattr          173 /* SunOS: rfssys                               */
-#define __NR_getdents           174 /* Common                                      */
-#define __NR_setsid             175 /* Common                                      */
-#define __NR_fchdir             176 /* Common                                      */
-#define __NR_fgetxattr          177 /* SunOS: fchroot                              */
-#define __NR_listxattr          178 /* SunOS: vpixsys                              */
-#define __NR_llistxattr         179 /* SunOS: aioread                              */
-#define __NR_flistxattr         180 /* SunOS: aiowrite                             */
-#define __NR_removexattr        181 /* SunOS: aiowait                              */
-#define __NR_lremovexattr       182 /* SunOS: aiocancel                            */
-#define __NR_sigpending         183 /* Common                                      */
-#define __NR_query_module	184 /* Linux Specific				   */
-#define __NR_setpgid            185 /* Common                                      */
-#define __NR_fremovexattr       186 /* SunOS: pathconf                             */
-#define __NR_tkill              187 /* SunOS: fpathconf                            */
-#define __NR_exit_group		188 /* Linux specific, sysconf undef SunOS         */
-#define __NR_uname              189 /* Linux Specific                              */
-#define __NR_init_module        190 /* Linux Specific                              */
-#define __NR_personality        191 /* Linux Specific                              */
-#define __NR_remap_file_pages   192 /* Linux Specific                              */
-#define __NR_epoll_create       193 /* Linux Specific                              */
-#define __NR_epoll_ctl          194 /* Linux Specific                              */
-#define __NR_epoll_wait         195 /* Linux Specific                              */
-#define __NR_ioprio_set         196 /* Linux Specific                              */
-#define __NR_getppid            197 /* Linux Specific                              */
-#define __NR_sigaction          198 /* Linux Specific                              */
-#define __NR_sgetmask           199 /* Linux Specific                              */
-#define __NR_ssetmask           200 /* Linux Specific                              */
-#define __NR_sigsuspend         201 /* Linux Specific                              */
-#define __NR_oldlstat           202 /* Linux Specific                              */
-#define __NR_uselib             203 /* Linux Specific                              */
-#define __NR_readdir            204 /* Linux Specific                              */
-#define __NR_readahead          205 /* Linux Specific                              */
-#define __NR_socketcall         206 /* Linux Specific                              */
-#define __NR_syslog             207 /* Linux Specific                              */
-#define __NR_lookup_dcookie     208 /* Linux Specific                              */
-#define __NR_fadvise64          209 /* Linux Specific                              */
-#define __NR_fadvise64_64       210 /* Linux Specific                              */
-#define __NR_tgkill             211 /* Linux Specific                              */
-#define __NR_waitpid            212 /* Linux Specific                              */
-#define __NR_swapoff            213 /* Linux Specific                              */
-#define __NR_sysinfo            214 /* Linux Specific                              */
-#define __NR_ipc                215 /* Linux Specific                              */
-#define __NR_sigreturn          216 /* Linux Specific                              */
-#define __NR_clone              217 /* Linux Specific                              */
-#define __NR_ioprio_get         218 /* Linux Specific                              */
-#define __NR_adjtimex           219 /* Linux Specific                              */
-#define __NR_sigprocmask        220 /* Linux Specific                              */
-#define __NR_create_module      221 /* Linux Specific                              */
-#define __NR_delete_module      222 /* Linux Specific                              */
-#define __NR_get_kernel_syms    223 /* Linux Specific                              */
-#define __NR_getpgid            224 /* Linux Specific                              */
-#define __NR_bdflush            225 /* Linux Specific                              */
-#define __NR_sysfs              226 /* Linux Specific                              */
-#define __NR_afs_syscall        227 /* Linux Specific                              */
-#define __NR_setfsuid           228 /* Linux Specific                              */
-#define __NR_setfsgid           229 /* Linux Specific                              */
-#define __NR__newselect         230 /* Linux Specific                              */
-#ifdef __32bit_syscall_numbers__
-#define __NR_time               231 /* Linux Specific                              */
-#else
-#endif
-#define __NR_splice             232 /* Linux Specific                              */
-#define __NR_stime              233 /* Linux Specific                              */
-#define __NR_statfs64           234 /* Linux Specific                              */
-#define __NR_fstatfs64          235 /* Linux Specific                              */
-#define __NR__llseek            236 /* Linux Specific                              */
-#define __NR_mlock              237
-#define __NR_munlock            238
-#define __NR_mlockall           239
-#define __NR_munlockall         240
-#define __NR_sched_setparam     241
-#define __NR_sched_getparam     242
-#define __NR_sched_setscheduler 243
-#define __NR_sched_getscheduler 244
-#define __NR_sched_yield        245
-#define __NR_sched_get_priority_max 246
-#define __NR_sched_get_priority_min 247
-#define __NR_sched_rr_get_interval  248
-#define __NR_nanosleep          249
-#define __NR_mremap             250
-#define __NR__sysctl            251
-#define __NR_getsid             252
-#define __NR_fdatasync          253
-#define __NR_nfsservctl         254
-#define __NR_sync_file_range	255
-#define __NR_clock_settime	256
-#define __NR_clock_gettime	257
-#define __NR_clock_getres	258
-#define __NR_clock_nanosleep	259
-#define __NR_sched_getaffinity	260
-#define __NR_sched_setaffinity	261
-#define __NR_timer_settime	262
-#define __NR_timer_gettime	263
-#define __NR_timer_getoverrun	264
-#define __NR_timer_delete	265
-#define __NR_timer_create	266
-/* #define __NR_vserver		267 Reserved for VSERVER */
-#define __NR_io_setup		268
-#define __NR_io_destroy		269
-#define __NR_io_submit		270
-#define __NR_io_cancel		271
-#define __NR_io_getevents	272
-#define __NR_mq_open		273
-#define __NR_mq_unlink		274
-#define __NR_mq_timedsend	275
-#define __NR_mq_timedreceive	276
-#define __NR_mq_notify		277
-#define __NR_mq_getsetattr	278
-#define __NR_waitid		279
-#define __NR_tee		280
-#define __NR_add_key		281
-#define __NR_request_key	282
-#define __NR_keyctl		283
-#define __NR_openat		284
-#define __NR_mkdirat		285
-#define __NR_mknodat		286
-#define __NR_fchownat		287
-#define __NR_futimesat		288
-#define __NR_fstatat64		289
-#define __NR_unlinkat		290
-#define __NR_renameat		291
-#define __NR_linkat		292
-#define __NR_symlinkat		293
-#define __NR_readlinkat		294
-#define __NR_fchmodat		295
-#define __NR_faccessat		296
-#define __NR_pselect6		297
-#define __NR_ppoll		298
-#define __NR_unshare		299
-#define __NR_set_robust_list	300
-#define __NR_get_robust_list	301
-#define __NR_migrate_pages	302
-#define __NR_mbind		303
-#define __NR_get_mempolicy	304
-#define __NR_set_mempolicy	305
-#define __NR_kexec_load		306
-#define __NR_move_pages		307
-#define __NR_getcpu		308
-#define __NR_epoll_pwait	309
-#define __NR_utimensat		310
-#define __NR_signalfd		311
-#define __NR_timerfd_create	312
-#define __NR_eventfd		313
-#define __NR_fallocate		314
-#define __NR_timerfd_settime	315
-#define __NR_timerfd_gettime	316
-#define __NR_signalfd4		317
-#define __NR_eventfd2		318
-#define __NR_epoll_create1	319
-#define __NR_dup3		320
-#define __NR_pipe2		321
-#define __NR_inotify_init1	322
-#define __NR_accept4		323
-#define __NR_preadv		324
-#define __NR_pwritev		325
-#define __NR_rt_tgsigqueueinfo	326
-#define __NR_perf_event_open	327
-#define __NR_recvmmsg		328
-#define __NR_fanotify_init	329
-#define __NR_fanotify_mark	330
-#define __NR_prlimit64		331
-#define __NR_name_to_handle_at	332
-#define __NR_open_by_handle_at	333
-#define __NR_clock_adjtime	334
-#define __NR_syncfs		335
-#define __NR_sendmmsg		336
-#define __NR_setns		337
-#define __NR_process_vm_readv	338
-#define __NR_process_vm_writev	339
-#define __NR_kern_features	340
-#define __NR_kcmp		341
-#define __NR_finit_module	342
-#define __NR_sched_setattr	343
-#define __NR_sched_getattr	344
-#define __NR_renameat2		345
-#define __NR_seccomp		346
-#define __NR_getrandom		347
-#define __NR_memfd_create	348
-#define __NR_bpf		349
-#define __NR_execveat		350
-#define __NR_membarrier		351
-#define __NR_userfaultfd	352
-#define __NR_bind		353
-#define __NR_listen		354
-#define __NR_setsockopt		355
-#define __NR_mlock2		356
-#define __NR_copy_file_range	357
-#define __NR_preadv2		358
-#define __NR_pwritev2		359
-#define __NR_statx		360
-#define __NR_io_pgetevents	361
-
-#define NR_syscalls		362
-
-/* Bitmask values returned from kern_features system call.  */
-#define KERN_FEATURE_MIXED_MODE_STACK	0x00000001
-
-#ifdef __32bit_syscall_numbers__
-/* Sparc 32-bit only has the "setresuid32", "getresuid32" variants,
- * it never had the plain ones and there is no value to adding those
- * old versions into the syscall table.
- */
-#define __IGNORE_setresuid
-#define __IGNORE_getresuid
-#define __IGNORE_setresgid
-#define __IGNORE_getresgid
-#endif
-
-/* Sparc doesn't have protection keys. */
-#define __IGNORE_pkey_mprotect
-#define __IGNORE_pkey_alloc
-#define __IGNORE_pkey_free
-
-#endif /* _UAPI_SPARC_UNISTD_H */
diff --git a/libc/include/x86_64-linux-musl/asm/auxvec.h b/libc/include/x86_64-linux-any/asm/auxvec.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/auxvec.h
rename to libc/include/x86_64-linux-any/asm/auxvec.h
diff --git a/libc/include/x86_64-linux-musl/asm/bitsperlong.h b/libc/include/x86_64-linux-any/asm/bitsperlong.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/bitsperlong.h
rename to libc/include/x86_64-linux-any/asm/bitsperlong.h
diff --git a/libc/include/x86_64-linux-musl/asm/byteorder.h b/libc/include/x86_64-linux-any/asm/byteorder.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/byteorder.h
rename to libc/include/x86_64-linux-any/asm/byteorder.h
diff --git a/libc/include/x86_64-linux-musl/asm/kvm.h b/libc/include/x86_64-linux-any/asm/kvm.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/kvm.h
rename to libc/include/x86_64-linux-any/asm/kvm.h
diff --git a/libc/include/x86_64-linux-musl/asm/kvm_para.h b/libc/include/x86_64-linux-any/asm/kvm_para.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/kvm_para.h
rename to libc/include/x86_64-linux-any/asm/kvm_para.h
diff --git a/libc/include/x86_64-linux-musl/asm/mman.h b/libc/include/x86_64-linux-any/asm/mman.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/mman.h
rename to libc/include/x86_64-linux-any/asm/mman.h
diff --git a/libc/include/x86_64-linux-musl/asm/msgbuf.h b/libc/include/x86_64-linux-any/asm/msgbuf.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/msgbuf.h
rename to libc/include/x86_64-linux-any/asm/msgbuf.h
diff --git a/libc/include/x86_64-linux-musl/asm/perf_regs.h b/libc/include/x86_64-linux-any/asm/perf_regs.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/perf_regs.h
rename to libc/include/x86_64-linux-any/asm/perf_regs.h
diff --git a/libc/include/x86_64-linux-musl/asm/posix_types.h b/libc/include/x86_64-linux-any/asm/posix_types.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/posix_types.h
rename to libc/include/x86_64-linux-any/asm/posix_types.h
diff --git a/libc/include/x86_64-linux-musl/asm/ptrace.h b/libc/include/x86_64-linux-any/asm/ptrace.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/ptrace.h
rename to libc/include/x86_64-linux-any/asm/ptrace.h
diff --git a/libc/include/x86_64-linux-musl/asm/sembuf.h b/libc/include/x86_64-linux-any/asm/sembuf.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/sembuf.h
rename to libc/include/x86_64-linux-any/asm/sembuf.h
diff --git a/libc/include/x86_64-linux-musl/asm/setup.h b/libc/include/x86_64-linux-any/asm/setup.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/setup.h
rename to libc/include/x86_64-linux-any/asm/setup.h
diff --git a/libc/include/x86_64-linux-musl/asm/shmbuf.h b/libc/include/x86_64-linux-any/asm/shmbuf.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/shmbuf.h
rename to libc/include/x86_64-linux-any/asm/shmbuf.h
diff --git a/libc/include/x86_64-linux-musl/asm/sigcontext.h b/libc/include/x86_64-linux-any/asm/sigcontext.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/sigcontext.h
rename to libc/include/x86_64-linux-any/asm/sigcontext.h
diff --git a/libc/include/x86_64-linux-musl/asm/siginfo.h b/libc/include/x86_64-linux-any/asm/siginfo.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/siginfo.h
rename to libc/include/x86_64-linux-any/asm/siginfo.h
diff --git a/libc/include/x86_64-linux-musl/asm/signal.h b/libc/include/x86_64-linux-any/asm/signal.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/signal.h
rename to libc/include/x86_64-linux-any/asm/signal.h
diff --git a/libc/include/x86_64-linux-musl/asm/stat.h b/libc/include/x86_64-linux-any/asm/stat.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/stat.h
rename to libc/include/x86_64-linux-any/asm/stat.h
diff --git a/libc/include/x86_64-linux-musl/asm/statfs.h b/libc/include/x86_64-linux-any/asm/statfs.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/statfs.h
rename to libc/include/x86_64-linux-any/asm/statfs.h
diff --git a/libc/include/x86_64-linux-musl/asm/swab.h b/libc/include/x86_64-linux-any/asm/swab.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/swab.h
rename to libc/include/x86_64-linux-any/asm/swab.h
diff --git a/libc/include/x86_64-linux-musl/asm/types.h b/libc/include/x86_64-linux-any/asm/types.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/types.h
rename to libc/include/x86_64-linux-any/asm/types.h
diff --git a/libc/include/x86_64-linux-musl/asm/ucontext.h b/libc/include/x86_64-linux-any/asm/ucontext.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/ucontext.h
rename to libc/include/x86_64-linux-any/asm/ucontext.h
diff --git a/libc/include/x86_64-linux-musl/asm/unistd.h b/libc/include/x86_64-linux-any/asm/unistd.h
similarity index 100%
rename from libc/include/x86_64-linux-musl/asm/unistd.h
rename to libc/include/x86_64-linux-any/asm/unistd.h
diff --git a/libc/include/x86_64-linux-gnu/asm/unistd.h b/libc/include/x86_64-linux-gnu/asm/unistd.h
deleted file mode 100644
index 30d7d04d72..0000000000
--- a/libc/include/x86_64-linux-gnu/asm/unistd.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-#ifndef _UAPI_ASM_X86_UNISTD_H
-#define _UAPI_ASM_X86_UNISTD_H
-
-/* x32 syscall flag bit */
-#define __X32_SYSCALL_BIT	0x40000000
-
-#ifndef __KERNEL__
-# ifdef __i386__
-#  include 
-# elif defined(__ILP32__)
-#  include 
-# else
-#  include 
-# endif
-#endif
-
-#endif /* _UAPI_ASM_X86_UNISTD_H */
diff --git a/src-self-hosted/ir.zig b/src-self-hosted/ir.zig
index b184a1bfee..069e182b3a 100644
--- a/src-self-hosted/ir.zig
+++ b/src-self-hosted/ir.zig
@@ -1364,7 +1364,7 @@ pub const Builder = struct {
 
         if (str_token[0] == 'c') {
             // first we add a null
-            buf = try irb.comp.gpa().realloc(u8, buf, buf.len + 1);
+            buf = try irb.comp.gpa().realloc(buf, buf.len + 1);
             buf[buf.len - 1] = 0;
 
             // next make an array value
diff --git a/src/all_types.hpp b/src/all_types.hpp
index ec14382a2b..5bc54e30e5 100644
--- a/src/all_types.hpp
+++ b/src/all_types.hpp
@@ -1616,6 +1616,12 @@ enum ValgrindSupport {
     ValgrindSupportEnabled,
 };
 
+enum WantPIC {
+    WantPICAuto,
+    WantPICDisabled,
+    WantPICEnabled,
+};
+
 struct CFile {
     ZigList args;
     const char *source_path;
@@ -1791,6 +1797,8 @@ struct CodeGen {
     bool have_dllmain_crt_startup;
     bool have_pub_panic;
     bool have_err_ret_tracing;
+    bool have_pic;
+    bool have_dynamic_link; // this is whether the final thing will be dynamically linked. see also is_dynamic
     bool c_want_stdint;
     bool c_want_stdbool;
     bool verbose_tokenize;
@@ -1834,13 +1842,13 @@ struct CodeGen {
     const ZigTarget *zig_target;
     TargetSubsystem subsystem;
     ValgrindSupport valgrind_support;
-    bool is_static;
+    WantPIC want_pic;
+    bool is_dynamic; // shared library rather than static library. dynamic musl rather than static musl.
     bool strip_debug_symbols;
     bool is_test_build;
     bool is_single_threaded;
     bool linker_rdynamic;
     bool each_lib_rpath;
-    bool disable_pic;
     bool is_dummy_so;
     bool disable_gen_h;
 
@@ -3348,7 +3356,7 @@ struct IrInstructionCoroPromise {
 struct IrInstructionCoroAllocHelper {
     IrInstruction base;
 
-    IrInstruction *alloc_fn;
+    IrInstruction *realloc_fn;
     IrInstruction *coro_size;
 };
 
@@ -3473,8 +3481,8 @@ static const size_t stack_trace_ptr_count = 32;
 #define RETURN_ADDRESSES_FIELD_NAME "return_addresses"
 #define ERR_RET_TRACE_FIELD_NAME "err_ret_trace"
 #define RESULT_FIELD_NAME "result"
-#define ASYNC_ALLOC_FIELD_NAME "allocFn"
-#define ASYNC_FREE_FIELD_NAME "freeFn"
+#define ASYNC_REALLOC_FIELD_NAME "reallocFn"
+#define ASYNC_SHRINK_FIELD_NAME "shrinkFn"
 #define ATOMIC_STATE_FIELD_NAME "atomic_state"
 // these point to data belonging to the awaiter
 #define ERR_RET_TRACE_PTR_FIELD_NAME "err_ret_trace_ptr"
diff --git a/src/analyze.cpp b/src/analyze.cpp
index 79a723b2e5..cadb5dfc01 100644
--- a/src/analyze.cpp
+++ b/src/analyze.cpp
@@ -3707,9 +3707,11 @@ ZigVar *add_variable(CodeGen *g, AstNode *source_node, Scope *parent_scope, Buf
 
         ZigVar *existing_var = find_variable(g, parent_scope, name, nullptr);
         if (existing_var && !existing_var->shadowable) {
-            ErrorMsg *msg = add_node_error(g, source_node,
-                    buf_sprintf("redeclaration of variable '%s'", buf_ptr(name)));
-            add_error_note(g, msg, existing_var->decl_node, buf_sprintf("previous declaration is here"));
+            if (existing_var->var_type == nullptr || !type_is_invalid(existing_var->var_type)) {
+                ErrorMsg *msg = add_node_error(g, source_node,
+                        buf_sprintf("redeclaration of variable '%s'", buf_ptr(name)));
+                add_error_note(g, msg, existing_var->decl_node, buf_sprintf("previous declaration is here"));
+            }
             variable_entry->var_type = g->builtin_types.entry_invalid;
         } else {
             ZigType *type;
@@ -4365,6 +4367,13 @@ static void add_symbols_from_import(CodeGen *g, AstNode *src_use_node, AstNode *
     ZigType *target_import = use_target_value->data.x_type;
     assert(target_import);
 
+    if (target_import->id != ZigTypeIdStruct) {
+        add_node_error(g, dst_use_node,
+            buf_sprintf("expected struct, found '%s'", buf_ptr(&target_import->name)));
+        get_container_scope(dst_use_node->owner)->any_imports_failed = true;
+        return;
+    }
+
     if (get_container_scope(target_import)->any_imports_failed) {
         get_container_scope(dst_use_node->owner)->any_imports_failed = true;
     }
diff --git a/src/codegen.cpp b/src/codegen.cpp
index 52ba3bb591..08006224c1 100644
--- a/src/codegen.cpp
+++ b/src/codegen.cpp
@@ -182,13 +182,13 @@ CodeGen *codegen_create(Buf *main_pkg_path, Buf *root_src_path, const ZigTarget
     } else {
         g->each_lib_rpath = true;
 
-        if (target_is_darwin(g->zig_target)) {
+        if (target_os_is_darwin(g->zig_target->os)) {
             init_darwin_native(g);
         }
 
     }
 
-    if (target_requires_libc(g->zig_target)) {
+    if (target_os_requires_libc(g->zig_target->os)) {
         g->libc_link_lib = create_link_lib(buf_create_from_str("c"));
         g->link_libs_list.append(g->libc_link_lib);
     }
@@ -878,9 +878,6 @@ static bool ir_want_fast_math(CodeGen *g, IrInstruction *instruction) {
 }
 
 static bool ir_want_runtime_safety(CodeGen *g, IrInstruction *instruction) {
-    if (g->build_mode == BuildModeFastRelease || g->build_mode == BuildModeSmallRelease)
-        return false;
-
     // TODO memoize
     Scope *scope = instruction->scope;
     while (scope) {
@@ -895,7 +892,9 @@ static bool ir_want_runtime_safety(CodeGen *g, IrInstruction *instruction) {
         }
         scope = scope->parent;
     }
-    return true;
+
+    return (g->build_mode != BuildModeFastRelease &&
+            g->build_mode != BuildModeSmallRelease);
 }
 
 static Buf *panic_msg_buf(PanicMsgId msg_id) {
@@ -3371,7 +3370,7 @@ static LLVMValueRef gen_valgrind_client_request(CodeGen *g, LLVMValueRef default
     bool asm_has_side_effects = true;
     bool asm_is_alignstack = false;
     if (g->zig_target->arch == ZigLLVM_x86_64) {
-        if (g->zig_target->os == OsLinux || target_is_darwin(g->zig_target) || g->zig_target->os == OsSolaris ||
+        if (g->zig_target->os == OsLinux || target_os_is_darwin(g->zig_target->os) || g->zig_target->os == OsSolaris ||
             (g->zig_target->os == OsWindows && g->zig_target->abi != ZigLLVM_MSVC))
         {
             if (g->cur_fn->valgrind_client_request_array == nullptr) {
@@ -5178,7 +5177,7 @@ static LLVMValueRef get_coro_alloc_helper_fn_val(CodeGen *g, LLVMTypeRef alloc_f
     LLVMValueRef sret_ptr = LLVMBuildAlloca(g->builder, LLVMGetElementType(alloc_fn_arg_types[0]), "");
 
     size_t next_arg = 0;
-    LLVMValueRef alloc_fn_val = LLVMGetParam(fn_val, next_arg);
+    LLVMValueRef realloc_fn_val = LLVMGetParam(fn_val, next_arg);
     next_arg += 1;
 
     LLVMValueRef stack_trace_val;
@@ -5196,15 +5195,22 @@ static LLVMValueRef get_coro_alloc_helper_fn_val(CodeGen *g, LLVMTypeRef alloc_f
     LLVMValueRef alignment_val = LLVMConstInt(g->builtin_types.entry_u29->type_ref,
             get_coro_frame_align_bytes(g), false);
 
+    ConstExprValue *zero_array = create_const_str_lit(g, buf_create_from_str(""));
+    ConstExprValue *undef_slice_zero = create_const_slice(g, zero_array, 0, 0, false);
+    render_const_val(g, undef_slice_zero, "");
+    render_const_val_global(g, undef_slice_zero, "");
+
     ZigList args = {};
     args.append(sret_ptr);
     if (g->have_err_ret_tracing) {
         args.append(stack_trace_val);
     }
     args.append(allocator_val);
+    args.append(undef_slice_zero->global_refs->llvm_global);
+    args.append(LLVMGetUndef(g->builtin_types.entry_u29->type_ref));
     args.append(coro_size);
     args.append(alignment_val);
-    LLVMValueRef call_instruction = ZigLLVMBuildCall(g->builder, alloc_fn_val, args.items, args.length,
+    LLVMValueRef call_instruction = ZigLLVMBuildCall(g->builder, realloc_fn_val, args.items, args.length,
             get_llvm_cc(g, CallingConventionUnspecified), ZigLLVM_FnInlineAuto, "");
     set_call_instr_sret(g, call_instruction);
     LLVMValueRef err_val_ptr = LLVMBuildStructGEP(g->builder, sret_ptr, err_union_err_index, "");
@@ -5240,14 +5246,14 @@ static LLVMValueRef get_coro_alloc_helper_fn_val(CodeGen *g, LLVMTypeRef alloc_f
 static LLVMValueRef ir_render_coro_alloc_helper(CodeGen *g, IrExecutable *executable,
         IrInstructionCoroAllocHelper *instruction)
 {
-    LLVMValueRef alloc_fn = ir_llvm_value(g, instruction->alloc_fn);
+    LLVMValueRef realloc_fn = ir_llvm_value(g, instruction->realloc_fn);
     LLVMValueRef coro_size = ir_llvm_value(g, instruction->coro_size);
-    LLVMValueRef fn_val = get_coro_alloc_helper_fn_val(g, LLVMTypeOf(alloc_fn), instruction->alloc_fn->value.type);
+    LLVMValueRef fn_val = get_coro_alloc_helper_fn_val(g, LLVMTypeOf(realloc_fn), instruction->realloc_fn->value.type);
     size_t err_code_ptr_arg_index = get_async_err_code_arg_index(g, &g->cur_fn->type_entry->data.fn.fn_type_id);
     size_t allocator_arg_index = get_async_allocator_arg_index(g, &g->cur_fn->type_entry->data.fn.fn_type_id);
 
     ZigList params = {};
-    params.append(alloc_fn);
+    params.append(realloc_fn);
     uint32_t err_ret_trace_arg_index = get_err_ret_trace_arg_index(g, g->cur_fn);
     if (err_ret_trace_arg_index != UINT32_MAX) {
         params.append(LLVMGetParam(g->cur_fn_val, err_ret_trace_arg_index));
@@ -7284,7 +7290,44 @@ static const char *build_mode_to_str(BuildMode build_mode) {
     zig_unreachable();
 }
 
+static bool detect_dynamic_link(CodeGen *g) {
+    if (g->is_dynamic)
+        return true;
+    if (g->zig_target->os == OsFreestanding)
+        return false;
+    if (target_requires_pic(g->zig_target, g->libc_link_lib != nullptr))
+        return true;
+    if (g->out_type == OutTypeExe) {
+        // If there are no dynamic libraries then we can disable PIC
+        for (size_t i = 0; i < g->link_libs_list.length; i += 1) {
+            LinkLib *link_lib = g->link_libs_list.at(i);
+            if (target_is_libc_lib_name(g->zig_target, buf_ptr(link_lib->name)))
+                continue;
+            return true;
+        }
+        return false;
+    }
+    return true;
+}
+
+static bool detect_pic(CodeGen *g) {
+    if (target_requires_pic(g->zig_target, g->libc_link_lib != nullptr))
+        return true;
+    switch (g->want_pic) {
+        case WantPICDisabled:
+            return false;
+        case WantPICEnabled:
+            return true;
+        case WantPICAuto:
+            return g->have_dynamic_link;
+    }
+    zig_unreachable();
+}
+
 Buf *codegen_generate_builtin_source(CodeGen *g) {
+    g->have_dynamic_link = detect_dynamic_link(g);
+    g->have_pic = detect_pic(g);
+
     Buf *contents = buf_alloc();
 
     // NOTE: when editing this file, you may need to make modifications to the
@@ -7545,9 +7588,7 @@ Buf *codegen_generate_builtin_source(CodeGen *g) {
             "        value: comptime_int,\n"
             "    };\n"
             "\n"
-            "    pub const ErrorSet = struct {\n"
-            "        errors: []Error,\n"
-            "    };\n"
+            "    pub const ErrorSet = ?[]Error;\n"
             "\n"
             "    pub const EnumField = struct {\n"
             "        name: []const u8,\n"
@@ -7684,6 +7725,7 @@ Buf *codegen_generate_builtin_source(CodeGen *g) {
     buf_appendf(contents, "pub const link_libc = %s;\n", bool_to_str(g->libc_link_lib != nullptr));
     buf_appendf(contents, "pub const have_error_return_tracing = %s;\n", bool_to_str(g->have_err_ret_tracing));
     buf_appendf(contents, "pub const valgrind_support = %s;\n", bool_to_str(want_valgrind_support(g)));
+    buf_appendf(contents, "pub const position_independent_code = %s;\n", bool_to_str(g->have_pic));
 
     buf_appendf(contents, "pub const __zig_test_fn_slice = {}; // overwritten later\n");
 
@@ -7778,6 +7820,9 @@ static void init(CodeGen *g) {
     if (g->module)
         return;
 
+    g->have_dynamic_link = detect_dynamic_link(g);
+    g->have_pic = detect_pic(g);
+
     if (g->is_test_build) {
         g->subsystem = TargetSubsystemConsole;
     }
@@ -7808,10 +7853,14 @@ static void init(CodeGen *g) {
     bool is_optimized = g->build_mode != BuildModeDebug;
     LLVMCodeGenOptLevel opt_level = is_optimized ? LLVMCodeGenLevelAggressive : LLVMCodeGenLevelNone;
 
-    if (g->out_type == OutTypeExe && g->is_static) {
-        g->disable_pic = true;
+    LLVMRelocMode reloc_mode;
+    if (g->have_pic) {
+        reloc_mode = LLVMRelocPIC;
+    } else if (g->have_dynamic_link) {
+        reloc_mode = LLVMRelocDynamicNoPic;
+    } else {
+        reloc_mode = LLVMRelocStatic;
     }
-    LLVMRelocMode reloc_mode = g->disable_pic ? LLVMRelocStatic : LLVMRelocPIC;
 
     const char *target_specific_cpu_args;
     const char *target_specific_features;
@@ -7893,8 +7942,13 @@ static void init(CodeGen *g) {
 }
 
 static void detect_dynamic_linker(CodeGen *g) {
-    if (g->dynamic_linker_path != nullptr || g->is_static)
+    if (g->dynamic_linker_path != nullptr)
         return;
+    if (!g->have_dynamic_link)
+        return;
+    if (g->out_type == OutTypeObj || (g->out_type == OutTypeLib && !g->is_dynamic))
+        return;
+
     const char *standard_ld_path = target_dynamic_linker(g->zig_target);
     if (standard_ld_path == nullptr)
         return;
@@ -7945,27 +7999,25 @@ static void detect_libc(CodeGen *g) {
     if (g->libc != nullptr || g->libc_link_lib == nullptr)
         return;
 
-    if (g->zig_target->os == OsLinux && target_abi_is_gnu(g->zig_target->abi) &&
-        g->is_static && g->out_type == OutTypeExe)
-    {
-        fprintf(stderr, "glibc does not support static linking\n");
-        exit(1);
-    }
-
     if (target_can_build_libc(g->zig_target)) {
         const char *generic_name = target_libc_generic_name(g->zig_target);
 
         Buf *arch_include_dir = buf_sprintf("%s" OS_SEP "libc" OS_SEP "include" OS_SEP "%s-%s-%s",
                 buf_ptr(g->zig_lib_dir), target_arch_name(g->zig_target->arch),
                 target_os_name(g->zig_target->os), target_abi_name(g->zig_target->abi));
-
         Buf *generic_include_dir = buf_sprintf("%s" OS_SEP "libc" OS_SEP "include" OS_SEP "generic-%s",
                 buf_ptr(g->zig_lib_dir), generic_name);
+        Buf *arch_os_include_dir = buf_sprintf("%s" OS_SEP "libc" OS_SEP "include" OS_SEP "%s-%s-any",
+                buf_ptr(g->zig_lib_dir), target_arch_name(g->zig_target->arch), target_os_name(g->zig_target->os));
+        Buf *generic_os_include_dir = buf_sprintf("%s" OS_SEP "libc" OS_SEP "include" OS_SEP "any-%s-any",
+                buf_ptr(g->zig_lib_dir), target_os_name(g->zig_target->os));
 
-        g->libc_include_dir_len = 2;
-        g->libc_include_dir_list = allocate(2);
+        g->libc_include_dir_len = 4;
+        g->libc_include_dir_list = allocate(g->libc_include_dir_len);
         g->libc_include_dir_list[0] = arch_include_dir;
         g->libc_include_dir_list[1] = generic_include_dir;
+        g->libc_include_dir_list[2] = arch_os_include_dir;
+        g->libc_include_dir_list[3] = generic_os_include_dir;
         return;
     }
 
@@ -8011,17 +8063,16 @@ static void detect_libc(CodeGen *g) {
         if (want_sys_dir) {
             g->libc_include_dir_list[1] = &g->libc->sys_include_dir;
         }
-    } else if ((g->out_type == OutTypeExe || (g->out_type == OutTypeLib && !g->is_static)) &&
-        !target_is_darwin(g->zig_target))
+    } else if ((g->out_type == OutTypeExe || (g->out_type == OutTypeLib && g->is_dynamic)) &&
+        !target_os_is_darwin(g->zig_target->os))
     {
+        Buf triple_buf = BUF_INIT;
+        get_target_triple(&triple_buf, g->zig_target);
         fprintf(stderr,
-            "Zig is unable to provide a libc for the chosen target '%s-%s-%s'.\n"
+            "Zig is unable to provide a libc for the chosen target '%s'.\n"
             "The target is non-native, so Zig also cannot use the native libc installation.\n"
             "Choose a target which has a libc available, or provide a libc installation text file.\n"
-            "See `zig libc --help` for more details.\n",
-            target_arch_name(g->zig_target->arch),
-            target_os_name(g->zig_target->os),
-            target_abi_name(g->zig_target->abi));
+            "See `zig libc --help` for more details.\n", buf_ptr(&triple_buf));
         exit(1);
     }
 }
@@ -8204,7 +8255,7 @@ static void gen_root_source(CodeGen *g) {
         g->bootstrap_import = add_special_code(g, create_bootstrap_pkg(g, g->root_package), "bootstrap.zig");
     }
     if (g->zig_target->os == OsWindows && !g->have_dllmain_crt_startup &&
-            g->out_type == OutTypeLib && !g->is_static)
+            g->out_type == OutTypeLib && g->is_dynamic)
     {
         g->bootstrap_import = add_special_code(g, create_bootstrap_pkg(g, g->root_package), "bootstrap_lib.zig");
     }
@@ -8298,7 +8349,8 @@ Error create_c_object_cache(CodeGen *g, CacheHash **out_cache_hash, bool verbose
     cache_int(cache_hash, g->zig_target->abi);
     cache_bool(cache_hash, g->strip_debug_symbols);
     cache_int(cache_hash, g->build_mode);
-    cache_bool(cache_hash, g->disable_pic);
+    cache_bool(cache_hash, g->have_pic);
+    cache_bool(cache_hash, want_valgrind_support(g));
     for (size_t arg_i = 0; arg_i < g->clang_argv_len; arg_i += 1) {
         cache_str(cache_hash, g->clang_argv[arg_i]);
     }
@@ -8422,8 +8474,11 @@ static void gen_c_object(CodeGen *g, Buf *self_exe_path, CFile *c_file) {
                 } else {
                     args.append("-fno-stack-protector");
                 }
+                args.append("-fno-omit-frame-pointer");
                 break;
             case BuildModeSafeRelease:
+                // See the comment in the BuildModeFastRelease case for why we pass -O2 rather
+                // than -O3 here.
                 args.append("-O2");
                 if (g->libc_link_lib != nullptr) {
                     args.append("-D_FORTIFY_SOURCE=2");
@@ -8433,16 +8488,24 @@ static void gen_c_object(CodeGen *g, Buf *self_exe_path, CFile *c_file) {
                 } else {
                     args.append("-fno-stack-protector");
                 }
+                args.append("-fomit-frame-pointer");
                 break;
             case BuildModeFastRelease:
                 args.append("-DNDEBUG");
+                // Here we pass -O2 rather than -O3 because, although we do the equivalent of
+                // -O3 in Zig code, the justification for the difference here is that Zig
+                // has better detection and prevention of undefined behavior, so -O3 is safer for
+                // Zig code than it is for C code. Also, C programmers are used to their code
+                // running in -O2 and thus the -O3 path has been tested less.
                 args.append("-O2");
                 args.append("-fno-stack-protector");
+                args.append("-fomit-frame-pointer");
                 break;
             case BuildModeSmallRelease:
                 args.append("-DNDEBUG");
                 args.append("-Os");
                 args.append("-fno-stack-protector");
+                args.append("-fomit-frame-pointer");
                 break;
         }
 
@@ -8452,7 +8515,7 @@ static void gen_c_object(CodeGen *g, Buf *self_exe_path, CFile *c_file) {
         args.append("-c");
         args.append(buf_ptr(c_source_file));
 
-        if (target_supports_fpic(g->zig_target) && !g->disable_pic) {
+        if (target_supports_fpic(g->zig_target) && g->have_pic) {
             args.append("-fPIC");
         }
 
@@ -9065,7 +9128,6 @@ static Error check_cache(CodeGen *g, Buf *manifest_dir, Buf *digest) {
     cache_int(ch, g->zig_target->os);
     cache_int(ch, g->zig_target->abi);
     cache_int(ch, g->subsystem);
-    cache_bool(ch, g->is_static);
     cache_bool(ch, g->strip_debug_symbols);
     cache_bool(ch, g->is_test_build);
     if (g->is_test_build) {
@@ -9075,9 +9137,10 @@ static Error check_cache(CodeGen *g, Buf *manifest_dir, Buf *digest) {
     cache_bool(ch, g->is_single_threaded);
     cache_bool(ch, g->linker_rdynamic);
     cache_bool(ch, g->each_lib_rpath);
-    cache_bool(ch, g->disable_pic);
     cache_bool(ch, g->disable_gen_h);
-    cache_bool(ch, g->valgrind_support);
+    cache_bool(ch, want_valgrind_support(g));
+    cache_bool(ch, g->have_pic);
+    cache_bool(ch, g->have_dynamic_link);
     cache_bool(ch, g->is_dummy_so);
     cache_buf_opt(ch, g->mmacosx_version_min);
     cache_buf_opt(ch, g->mios_version_min);
@@ -9151,7 +9214,7 @@ static void resolve_out_paths(CodeGen *g) {
                     buf_resize(out_basename, 0);
                     buf_append_str(out_basename, target_lib_file_prefix(g->zig_target));
                     buf_append_buf(out_basename, g->root_out_name);
-                    buf_append_str(out_basename, target_lib_file_ext(g->zig_target, g->is_static,
+                    buf_append_str(out_basename, target_lib_file_ext(g->zig_target, !g->is_dynamic,
                                 g->version_major, g->version_minor, g->version_patch));
                     break;
             }
@@ -9183,6 +9246,8 @@ void codegen_build_and_link(CodeGen *g) {
         g->output_dir = buf_create_from_str(".");
     }
 
+    g->have_dynamic_link = detect_dynamic_link(g);
+    g->have_pic = detect_pic(g);
     detect_libc(g);
     detect_dynamic_linker(g);
 
diff --git a/src/ir.cpp b/src/ir.cpp
index 26bc375003..076aadb9c8 100644
--- a/src/ir.cpp
+++ b/src/ir.cpp
@@ -2788,13 +2788,13 @@ static IrInstruction *ir_build_coro_promise(IrBuilder *irb, Scope *scope, AstNod
 }
 
 static IrInstruction *ir_build_coro_alloc_helper(IrBuilder *irb, Scope *scope, AstNode *source_node,
-        IrInstruction *alloc_fn, IrInstruction *coro_size)
+        IrInstruction *realloc_fn, IrInstruction *coro_size)
 {
     IrInstructionCoroAllocHelper *instruction = ir_build_instruction(irb, scope, source_node);
-    instruction->alloc_fn = alloc_fn;
+    instruction->realloc_fn = realloc_fn;
     instruction->coro_size = coro_size;
 
-    ir_ref_instruction(alloc_fn, irb->current_basic_block);
+    ir_ref_instruction(realloc_fn, irb->current_basic_block);
     ir_ref_instruction(coro_size, irb->current_basic_block);
 
     return &instruction->base;
@@ -3319,9 +3319,11 @@ static ZigVar *create_local_var(CodeGen *codegen, AstNode *node, Scope *parent_s
         if (!skip_name_check) {
             ZigVar *existing_var = find_variable(codegen, parent_scope, name, nullptr);
             if (existing_var && !existing_var->shadowable) {
-                ErrorMsg *msg = add_node_error(codegen, node,
-                        buf_sprintf("redeclaration of variable '%s'", buf_ptr(name)));
-                add_error_note(codegen, msg, existing_var->decl_node, buf_sprintf("previous declaration is here"));
+                if (existing_var->var_type == nullptr || !type_is_invalid(existing_var->var_type)) {
+                    ErrorMsg *msg = add_node_error(codegen, node,
+                            buf_sprintf("redeclaration of variable '%s'", buf_ptr(name)));
+                    add_error_note(codegen, msg, existing_var->decl_node, buf_sprintf("previous declaration is here"));
+                }
                 variable_entry->var_type = codegen->builtin_types.entry_invalid;
             } else {
                 ZigType *type;
@@ -5460,8 +5462,10 @@ static IrInstruction *ir_gen_while_expr(IrBuilder *irb, Scope *scope, AstNode *n
             IrInstruction *expr_result = ir_gen_node(irb, continue_expr_node, payload_scope);
             if (expr_result == irb->codegen->invalid_instruction)
                 return expr_result;
-            if (!instr_is_unreachable(expr_result))
+            if (!instr_is_unreachable(expr_result)) {
+                ir_mark_gen(ir_build_check_statement_is_void(irb, payload_scope, continue_expr_node, expr_result));
                 ir_mark_gen(ir_build_br(irb, payload_scope, node, cond_block, is_comptime));
+            }
         }
 
         ir_set_cursor_at_end_and_append_block(irb, else_block);
@@ -5542,8 +5546,10 @@ static IrInstruction *ir_gen_while_expr(IrBuilder *irb, Scope *scope, AstNode *n
             IrInstruction *expr_result = ir_gen_node(irb, continue_expr_node, child_scope);
             if (expr_result == irb->codegen->invalid_instruction)
                 return expr_result;
-            if (!instr_is_unreachable(expr_result))
+            if (!instr_is_unreachable(expr_result)) {
+                ir_mark_gen(ir_build_check_statement_is_void(irb, child_scope, continue_expr_node, expr_result));
                 ir_mark_gen(ir_build_br(irb, child_scope, node, cond_block, is_comptime));
+            }
         }
 
         IrInstruction *else_result = nullptr;
@@ -5607,8 +5613,10 @@ static IrInstruction *ir_gen_while_expr(IrBuilder *irb, Scope *scope, AstNode *n
             IrInstruction *expr_result = ir_gen_node(irb, continue_expr_node, subexpr_scope);
             if (expr_result == irb->codegen->invalid_instruction)
                 return expr_result;
-            if (!instr_is_unreachable(expr_result))
+            if (!instr_is_unreachable(expr_result)) {
+                ir_mark_gen(ir_build_check_statement_is_void(irb, scope, continue_expr_node, expr_result));
                 ir_mark_gen(ir_build_br(irb, scope, node, cond_block, is_comptime));
+            }
         }
 
         IrInstruction *else_result = nullptr;
@@ -7506,10 +7514,10 @@ bool ir_gen(CodeGen *codegen, AstNode *node, Scope *scope, IrExecutable *ir_exec
                 ImplicitAllocatorIdArg);
         irb->exec->coro_allocator_var = ir_create_var(irb, node, coro_scope, nullptr, true, true, true, const_bool_false);
         ir_build_var_decl_src(irb, coro_scope, node, irb->exec->coro_allocator_var, nullptr, nullptr, implicit_allocator_ptr);
-        Buf *alloc_field_name = buf_create_from_str(ASYNC_ALLOC_FIELD_NAME);
-        IrInstruction *alloc_fn_ptr = ir_build_field_ptr(irb, coro_scope, node, implicit_allocator_ptr, alloc_field_name);
-        IrInstruction *alloc_fn = ir_build_load_ptr(irb, coro_scope, node, alloc_fn_ptr);
-        IrInstruction *maybe_coro_mem_ptr = ir_build_coro_alloc_helper(irb, coro_scope, node, alloc_fn, coro_size);
+        Buf *realloc_field_name = buf_create_from_str(ASYNC_REALLOC_FIELD_NAME);
+        IrInstruction *realloc_fn_ptr = ir_build_field_ptr(irb, coro_scope, node, implicit_allocator_ptr, realloc_field_name);
+        IrInstruction *realloc_fn = ir_build_load_ptr(irb, coro_scope, node, realloc_fn_ptr);
+        IrInstruction *maybe_coro_mem_ptr = ir_build_coro_alloc_helper(irb, coro_scope, node, realloc_fn, coro_size);
         IrInstruction *alloc_result_is_ok = ir_build_test_nonnull(irb, coro_scope, node, maybe_coro_mem_ptr);
         IrBasicBlock *alloc_err_block = ir_create_basic_block(irb, coro_scope, "AllocError");
         IrBasicBlock *alloc_ok_block = ir_create_basic_block(irb, coro_scope, "AllocOk");
@@ -7643,11 +7651,11 @@ bool ir_gen(CodeGen *codegen, AstNode *node, Scope *scope, IrExecutable *ir_exec
         merge_incoming_values[1] = await_handle_in_block;
         IrInstruction *awaiter_handle = ir_build_phi(irb, scope, node, 2, merge_incoming_blocks, merge_incoming_values);
 
-        Buf *free_field_name = buf_create_from_str(ASYNC_FREE_FIELD_NAME);
+        Buf *shrink_field_name = buf_create_from_str(ASYNC_SHRINK_FIELD_NAME);
         IrInstruction *implicit_allocator_ptr = ir_build_get_implicit_allocator(irb, scope, node,
                 ImplicitAllocatorIdLocalVar);
-        IrInstruction *free_fn_ptr = ir_build_field_ptr(irb, scope, node, implicit_allocator_ptr, free_field_name);
-        IrInstruction *free_fn = ir_build_load_ptr(irb, scope, node, free_fn_ptr);
+        IrInstruction *shrink_fn_ptr = ir_build_field_ptr(irb, scope, node, implicit_allocator_ptr, shrink_field_name);
+        IrInstruction *shrink_fn = ir_build_load_ptr(irb, scope, node, shrink_fn_ptr);
         IrInstruction *zero = ir_build_const_usize(irb, scope, node, 0);
         IrInstruction *coro_mem_ptr_maybe = ir_build_coro_free(irb, scope, node, coro_id, irb->exec->coro_handle);
         IrInstruction *u8_ptr_type_unknown_len = ir_build_const_type(irb, scope, node,
@@ -7659,11 +7667,20 @@ bool ir_gen(CodeGen *codegen, AstNode *node, Scope *scope, IrExecutable *ir_exec
         IrInstruction *coro_size_ptr = ir_build_var_ptr(irb, scope, node, coro_size_var);
         IrInstruction *coro_size = ir_build_load_ptr(irb, scope, node, coro_size_ptr);
         IrInstruction *mem_slice = ir_build_slice(irb, scope, node, coro_mem_ptr_ref, zero, coro_size, false);
-        size_t arg_count = 2;
+        size_t arg_count = 5;
         IrInstruction **args = allocate(arg_count);
         args[0] = implicit_allocator_ptr; // self
         args[1] = mem_slice; // old_mem
-        ir_build_call(irb, scope, node, nullptr, free_fn, arg_count, args, false, FnInlineAuto, false, nullptr, nullptr);
+        args[2] = ir_build_const_usize(irb, scope, node, 8); // old_align
+        // TODO: intentional memory leak here. If this is set to 0 then there is an issue where a coroutine
+        // calls the function and it frees its own stack frame, but then the return value is a slice, which
+        // is implemented as an sret struct. writing to the return pointer causes invalid memory write.
+        // We could work around it by having a global helper function which has a void return type
+        // and calling that instead. But instead this hack will suffice until I rework coroutines to be
+        // non-allocating. Basically coroutines are not supported right now until they are reworked.
+        args[3] = ir_build_const_usize(irb, scope, node, 1); // new_size
+        args[4] = ir_build_const_usize(irb, scope, node, 1); // new_align
+        ir_build_call(irb, scope, node, nullptr, shrink_fn, arg_count, args, false, FnInlineAuto, false, nullptr, nullptr);
 
         IrBasicBlock *resume_block = ir_create_basic_block(irb, scope, "Resume");
         ir_build_cond_br(irb, scope, node, resume_awaiter, resume_block, irb->exec->coro_suspend_block, const_bool_false);
@@ -13574,32 +13591,31 @@ IrInstruction *ir_get_implicit_allocator(IrAnalyze *ira, IrInstruction *source_i
 static IrInstruction *ir_analyze_async_call(IrAnalyze *ira, IrInstructionCall *call_instruction, ZigFn *fn_entry, ZigType *fn_type,
     IrInstruction *fn_ref, IrInstruction **casted_args, size_t arg_count, IrInstruction *async_allocator_inst)
 {
-    Buf *alloc_field_name = buf_create_from_str(ASYNC_ALLOC_FIELD_NAME);
-    //Buf *free_field_name = buf_create_from_str("freeFn");
+    Buf *realloc_field_name = buf_create_from_str(ASYNC_REALLOC_FIELD_NAME);
     assert(async_allocator_inst->value.type->id == ZigTypeIdPointer);
     ZigType *container_type = async_allocator_inst->value.type->data.pointer.child_type;
-    IrInstruction *field_ptr_inst = ir_analyze_container_field_ptr(ira, alloc_field_name, &call_instruction->base,
+    IrInstruction *field_ptr_inst = ir_analyze_container_field_ptr(ira, realloc_field_name, &call_instruction->base,
             async_allocator_inst, container_type);
     if (type_is_invalid(field_ptr_inst->value.type)) {
         return ira->codegen->invalid_instruction;
     }
-    ZigType *ptr_to_alloc_fn_type = field_ptr_inst->value.type;
-    assert(ptr_to_alloc_fn_type->id == ZigTypeIdPointer);
+    ZigType *ptr_to_realloc_fn_type = field_ptr_inst->value.type;
+    assert(ptr_to_realloc_fn_type->id == ZigTypeIdPointer);
 
-    ZigType *alloc_fn_type = ptr_to_alloc_fn_type->data.pointer.child_type;
-    if (alloc_fn_type->id != ZigTypeIdFn) {
+    ZigType *realloc_fn_type = ptr_to_realloc_fn_type->data.pointer.child_type;
+    if (realloc_fn_type->id != ZigTypeIdFn) {
         ir_add_error(ira, &call_instruction->base,
-                buf_sprintf("expected allocation function, found '%s'", buf_ptr(&alloc_fn_type->name)));
+                buf_sprintf("expected reallocation function, found '%s'", buf_ptr(&realloc_fn_type->name)));
         return ira->codegen->invalid_instruction;
     }
 
-    ZigType *alloc_fn_return_type = alloc_fn_type->data.fn.fn_type_id.return_type;
-    if (alloc_fn_return_type->id != ZigTypeIdErrorUnion) {
+    ZigType *realloc_fn_return_type = realloc_fn_type->data.fn.fn_type_id.return_type;
+    if (realloc_fn_return_type->id != ZigTypeIdErrorUnion) {
         ir_add_error(ira, fn_ref,
-            buf_sprintf("expected allocation function to return error union, but it returns '%s'", buf_ptr(&alloc_fn_return_type->name)));
+            buf_sprintf("expected allocation function to return error union, but it returns '%s'", buf_ptr(&realloc_fn_return_type->name)));
         return ira->codegen->invalid_instruction;
     }
-    ZigType *alloc_fn_error_set_type = alloc_fn_return_type->data.error_union.err_set_type;
+    ZigType *alloc_fn_error_set_type = realloc_fn_return_type->data.error_union.err_set_type;
     ZigType *return_type = fn_type->data.fn.fn_type_id.return_type;
     ZigType *promise_type = get_promise_type(ira->codegen, return_type);
     ZigType *async_return_type = get_error_union_type(ira->codegen, alloc_fn_error_set_type, promise_type);
@@ -15543,9 +15559,8 @@ static IrInstruction *ir_analyze_container_field_ptr(IrAnalyze *ira, Buf *field_
 }
 
 static void add_link_lib_symbol(IrAnalyze *ira, Buf *lib_name, Buf *symbol_name, AstNode *source_node) {
-    if (buf_eql_str(lib_name, "c") && ira->codegen->libc_link_lib == nullptr &&
-        !ira->codegen->reported_bad_link_libc_error)
-    {
+    bool is_libc = target_is_libc_lib_name(ira->codegen->zig_target, buf_ptr(lib_name));
+    if (is_libc && ira->codegen->libc_link_lib == nullptr && !ira->codegen->reported_bad_link_libc_error) {
         ir_add_error_node(ira, source_node,
             buf_sprintf("dependency on library c must be explicitly specified in the build command"));
         ira->codegen->reported_bad_link_libc_error = true;
@@ -15558,6 +15573,16 @@ static void add_link_lib_symbol(IrAnalyze *ira, Buf *lib_name, Buf *symbol_name,
             return;
         }
     }
+
+    if (!is_libc && !ira->codegen->have_pic && !ira->codegen->reported_bad_link_libc_error) {
+        ErrorMsg *msg = ir_add_error_node(ira, source_node,
+            buf_sprintf("dependency on dynamic library '%s' requires enabling Position Independent Code",
+                buf_ptr(lib_name)));
+        add_error_note(ira->codegen, msg, source_node,
+                buf_sprintf("fixed by `--library %s` or `--enable-pic`", buf_ptr(lib_name)));
+        ira->codegen->reported_bad_link_libc_error = true;
+    }
+
     for (size_t i = 0; i < ira->codegen->forbidden_libs.length; i += 1) {
         Buf *forbidden_lib_name = ira->codegen->forbidden_libs.at(i);
         if (buf_eql_buf(lib_name, forbidden_lib_name)) {
@@ -18256,21 +18281,16 @@ static Error ir_make_type_info_value(IrAnalyze *ira, IrInstruction *source_instr
                 result->special = ConstValSpecialStatic;
                 result->type = ir_type_info_get_type(ira, "ErrorSet", nullptr);
 
-                ConstExprValue *fields = create_const_vals(1);
-                result->data.x_struct.fields = fields;
-
-                // errors: []TypeInfo.Error
-                ensure_field_index(result->type, "errors", 0);
-
                 ZigType *type_info_error_type = ir_type_info_get_type(ira, "Error", nullptr);
                 if (!resolve_inferred_error_set(ira->codegen, type_entry, source_instr->source_node)) {
                     return ErrorSemanticAnalyzeFail;
                 }
                 if (type_is_global_error_set(type_entry)) {
-                    ir_add_error(ira, source_instr,
-                        buf_sprintf("TODO: compiler bug: implement @typeInfo support for anyerror. https://github.com/ziglang/zig/issues/1936"));
-                    return ErrorSemanticAnalyzeFail;
+                    result->data.x_optional = nullptr;
+                    break;
                 }
+                ConstExprValue *slice_val = create_const_vals(1);
+                result->data.x_optional = slice_val;
 
                 uint32_t error_count = type_entry->data.error_set.err_count;
                 ConstExprValue *error_array = create_const_vals(1);
@@ -18279,7 +18299,7 @@ static Error ir_make_type_info_value(IrAnalyze *ira, IrInstruction *source_instr
                 error_array->data.x_array.special = ConstArraySpecialNone;
                 error_array->data.x_array.data.s_none.elements = create_const_vals(error_count);
 
-                init_const_slice(ira->codegen, &fields[0], error_array, 0, error_count, false);
+                init_const_slice(ira->codegen, slice_val, error_array, 0, error_count, false);
                 for (uint32_t error_index = 0; error_index < error_count; error_index++) {
                     ErrorTableEntry *error = type_entry->data.error_set.errors[error_index];
                     ConstExprValue *error_val = &error_array->data.x_array.data.s_none.elements[error_index];
@@ -22029,8 +22049,8 @@ static IrInstruction *ir_analyze_instruction_coro_promise(IrAnalyze *ira, IrInst
 }
 
 static IrInstruction *ir_analyze_instruction_coro_alloc_helper(IrAnalyze *ira, IrInstructionCoroAllocHelper *instruction) {
-    IrInstruction *alloc_fn = instruction->alloc_fn->child;
-    if (type_is_invalid(alloc_fn->value.type))
+    IrInstruction *realloc_fn = instruction->realloc_fn->child;
+    if (type_is_invalid(realloc_fn->value.type))
         return ira->codegen->invalid_instruction;
 
     IrInstruction *coro_size = instruction->coro_size->child;
@@ -22038,7 +22058,7 @@ static IrInstruction *ir_analyze_instruction_coro_alloc_helper(IrAnalyze *ira, I
         return ira->codegen->invalid_instruction;
 
     IrInstruction *result = ir_build_coro_alloc_helper(&ira->new_irb, instruction->base.scope,
-            instruction->base.source_node, alloc_fn, coro_size);
+            instruction->base.source_node, realloc_fn, coro_size);
     ZigType *u8_ptr_type = get_pointer_to_type(ira->codegen, ira->codegen->builtin_types.entry_u8, false);
     result->value.type = get_optional_type(ira->codegen, u8_ptr_type);
     return result;
diff --git a/src/ir_print.cpp b/src/ir_print.cpp
index 4572b30ded..181b7e16cf 100644
--- a/src/ir_print.cpp
+++ b/src/ir_print.cpp
@@ -1286,7 +1286,7 @@ static void ir_print_promise_result_type(IrPrint *irp, IrInstructionPromiseResul
 
 static void ir_print_coro_alloc_helper(IrPrint *irp, IrInstructionCoroAllocHelper *instruction) {
     fprintf(irp->f, "@coroAllocHelper(");
-    ir_print_other_instruction(irp, instruction->alloc_fn);
+    ir_print_other_instruction(irp, instruction->realloc_fn);
     fprintf(irp->f, ",");
     ir_print_other_instruction(irp, instruction->coro_size);
     fprintf(irp->f, ")");
diff --git a/src/libc_installation.cpp b/src/libc_installation.cpp
index 8a293af82a..14a9cd0b2d 100644
--- a/src/libc_installation.cpp
+++ b/src/libc_installation.cpp
@@ -102,7 +102,7 @@ Error zig_libc_parse(ZigLibCInstallation *libc, Buf *libc_file, const ZigTarget
     }
 
     if (buf_len(&libc->crt_dir) == 0) {
-        if (!target_is_darwin(target)) {
+        if (!target_os_is_darwin(target->os)) {
             if (verbose) {
                 fprintf(stderr, "crt_dir may not be empty for %s\n", target_os_name(target->os));
             }
diff --git a/src/link.cpp b/src/link.cpp
index 6c4586daee..63807abcb4 100644
--- a/src/link.cpp
+++ b/src/link.cpp
@@ -35,7 +35,7 @@ static CodeGen *create_child_codegen(CodeGen *parent_gen, Buf *root_src_path, Ou
     child_gen->llvm_argv = parent_gen->llvm_argv;
 
     codegen_set_strip(child_gen, parent_gen->strip_debug_symbols);
-    child_gen->disable_pic = parent_gen->disable_pic;
+    child_gen->want_pic = parent_gen->have_pic ? WantPICEnabled : WantPICDisabled;
     child_gen->valgrind_support = ValgrindSupportDisabled;
 
     codegen_set_errmsg_color(child_gen, parent_gen->err_color);
@@ -48,15 +48,6 @@ static CodeGen *create_child_codegen(CodeGen *parent_gen, Buf *root_src_path, Ou
     return child_gen;
 }
 
-
-static bool target_is_glibc(CodeGen *g) {
-    return g->zig_target->os == OsLinux && target_abi_is_gnu(g->zig_target->abi);
-}
-
-static bool target_is_musl(CodeGen *g) {
-    return g->zig_target->os == OsLinux && target_abi_is_musl(g->zig_target->abi);
-}
-
 static const char *build_libc_object(CodeGen *parent_gen, const char *name, CFile *c_file) {
     CodeGen *child_gen = create_child_codegen(parent_gen, nullptr, OutTypeObj, nullptr);
     codegen_set_out_name(child_gen, buf_create_from_str(name));
@@ -97,7 +88,7 @@ static const char *build_dummy_so(CodeGen *parent, const char *name, size_t majo
     CodeGen *child_gen = create_child_codegen(parent, glibc_dummy_root_src, OutTypeLib, nullptr);
     codegen_set_out_name(child_gen, buf_create_from_str(name));
     codegen_set_lib_version(child_gen, major_version, 0, 0);
-    child_gen->is_static = false;
+    child_gen->is_dynamic = true;
     child_gen->is_dummy_so = true;
     codegen_build_and_link(child_gen);
     return buf_ptr(&child_gen->output_file_path);
@@ -106,7 +97,6 @@ static const char *build_dummy_so(CodeGen *parent, const char *name, size_t majo
 static const char *build_libunwind(CodeGen *parent) {
     CodeGen *child_gen = create_child_codegen(parent, nullptr, OutTypeLib, nullptr);
     codegen_set_out_name(child_gen, buf_create_from_str("unwind"));
-    child_gen->is_static = true;
     LinkLib *new_link_lib = codegen_add_link_lib(child_gen, buf_create_from_str("c"));
     new_link_lib->provided_explicitly = false;
     enum SrcKind {
@@ -330,6 +320,13 @@ static void glibc_add_include_dirs(CodeGen *parent, CFile *c_file) {
 
     c_file->args.append("-I");
     c_file->args.append(path_from_libc(parent, "include" OS_SEP "generic-glibc"));
+
+    c_file->args.append("-I");
+    c_file->args.append(buf_ptr(buf_sprintf("%s" OS_SEP "libc" OS_SEP "include" OS_SEP "%s-linux-any",
+                    buf_ptr(parent->zig_lib_dir), target_arch_name(parent->zig_target->arch))));
+
+    c_file->args.append("-I");
+    c_file->args.append(path_from_libc(parent, "include" OS_SEP "any-linux-any"));
 }
 
 static const char *glibc_start_asm_path(CodeGen *parent, const char *file) {
@@ -488,7 +485,6 @@ static bool is_musl_arch_name(const char *name) {
 static const char *build_musl(CodeGen *parent) {
     CodeGen *child_gen = create_child_codegen(parent, nullptr, OutTypeLib, nullptr);
     codegen_set_out_name(child_gen, buf_create_from_str("c"));
-    child_gen->is_static = true;
 
     // When there is a src//foo.* then it should substitute for src/foo.*
     // Even a .s file can substitute for a .c file.
@@ -606,7 +602,7 @@ static const char *build_musl(CodeGen *parent) {
 
 
 static const char *get_libc_crt_file(CodeGen *parent, const char *file) {
-    if (parent->libc == nullptr && target_is_glibc(parent)) {
+    if (parent->libc == nullptr && target_is_glibc(parent->zig_target)) {
         if (strcmp(file, "crti.o") == 0) {
             CFile *c_file = allocate(1);
             c_file->source_path = glibc_start_asm_path(parent, "crti.S");
@@ -675,7 +671,6 @@ static const char *get_libc_crt_file(CodeGen *parent, const char *file) {
         } else if (strcmp(file, "libc_nonshared.a") == 0) {
             CodeGen *child_gen = create_child_codegen(parent, nullptr, OutTypeLib, nullptr);
             codegen_set_out_name(child_gen, buf_create_from_str("c_nonshared"));
-            child_gen->is_static = true;
             {
                 CFile *c_file = allocate(1);
                 c_file->source_path = path_from_libc(parent, "glibc" OS_SEP "csu" OS_SEP "elf-init.c");
@@ -753,7 +748,7 @@ static const char *get_libc_crt_file(CodeGen *parent, const char *file) {
         } else {
             zig_unreachable();
         }
-    } else if (parent->libc == nullptr && target_is_musl(parent)) {
+    } else if (parent->libc == nullptr && target_is_musl(parent->zig_target)) {
         if (strcmp(file, "crti.o") == 0) {
             return build_asm_object(parent, "crti", musl_start_asm_path(parent, "crti.s"));
         } else if (strcmp(file, "crtn.o") == 0) {
@@ -797,7 +792,6 @@ static Buf *build_a_raw(CodeGen *parent_gen, const char *aname, Buf *full_path)
 
     CodeGen *child_gen = create_child_codegen(parent_gen, full_path, child_out_type,
             parent_gen->libc);
-    child_gen->is_static = true;
     codegen_set_out_name(child_gen, buf_create_from_str(aname));
 
     // This is so that compiler_rt and builtin libraries know whether they
@@ -926,9 +920,9 @@ static void construct_linker_job_elf(LinkJob *lj) {
     lj->args.append(getLDMOption(g->zig_target));
 
     bool is_lib = g->out_type == OutTypeLib;
-    bool is_dyn_lib = !g->is_static && is_lib;
+    bool is_dyn_lib = g->is_dynamic && is_lib;
     Buf *soname = nullptr;
-    if (g->is_static) {
+    if (!g->have_dynamic_link) {
         if (g->zig_target->arch == ZigLLVM_arm || g->zig_target->arch == ZigLLVM_armeb ||
             g->zig_target->arch == ZigLLVM_thumb || g->zig_target->arch == ZigLLVM_thumbeb)
         {
@@ -950,7 +944,7 @@ static void construct_linker_job_elf(LinkJob *lj) {
         const char *crt1o;
         if (g->zig_target->os == OsNetBSD) {
             crt1o = "crt0.o";
-        } else if (g->is_static) {
+        } else if (!g->have_dynamic_link) {
             crt1o = "crt1.o";
         } else {
             crt1o = "Scrt1.o";
@@ -996,12 +990,11 @@ static void construct_linker_job_elf(LinkJob *lj) {
             lj->args.append(buf_ptr(&g->libc->crt_dir));
         }
 
-        if (!g->is_static) {
+        if (g->have_dynamic_link && (is_dyn_lib || g->out_type == OutTypeExe)) {
             assert(g->dynamic_linker_path != nullptr);
             lj->args.append("-dynamic-linker");
             lj->args.append(buf_ptr(g->dynamic_linker_path));
         }
-
     }
 
     if (is_dyn_lib) {
@@ -1014,16 +1007,14 @@ static void construct_linker_job_elf(LinkJob *lj) {
         lj->args.append((const char *)buf_ptr(g->link_objects.at(i)));
     }
 
-    if (g->out_type == OutTypeExe || (g->out_type == OutTypeLib && !g->is_static)) {
-        if (g->libc_link_lib == nullptr && !g->is_dummy_so) {
+    if (!g->is_dummy_so && (g->out_type == OutTypeExe || is_dyn_lib)) {
+        if (g->libc_link_lib == nullptr) {
             Buf *builtin_a_path = build_a(g, "builtin");
             lj->args.append(buf_ptr(builtin_a_path));
         }
 
-        if (!g->is_dummy_so) {
-            Buf *compiler_rt_o_path = build_compiler_rt(g);
-            lj->args.append(buf_ptr(compiler_rt_o_path));
-        }
+        Buf *compiler_rt_o_path = build_compiler_rt(g);
+        lj->args.append(buf_ptr(compiler_rt_o_path));
     }
 
     for (size_t i = 0; i < g->link_libs_list.length; i += 1) {
@@ -1032,17 +1023,9 @@ static void construct_linker_job_elf(LinkJob *lj) {
             // libc is linked specially
             continue;
         }
-        if (g->libc == nullptr && (target_is_glibc(g) || target_is_musl(g))) {
+        if (g->libc == nullptr && target_is_libc_lib_name(g->zig_target, buf_ptr(link_lib->name))) {
             // these libraries are always linked below when targeting glibc
-            if (buf_eql_str(link_lib->name, "m")) {
-                continue;
-            } else if (buf_eql_str(link_lib->name, "pthread")) {
-                continue;
-            } else if (buf_eql_str(link_lib->name, "dl")) {
-                continue;
-            } else if (buf_eql_str(link_lib->name, "rt")) {
-                continue;
-            }
+            continue;
         }
         Buf *arg;
         if (buf_starts_with_str(link_lib->name, "/") || buf_ends_with_str(link_lib->name, ".a") ||
@@ -1059,7 +1042,7 @@ static void construct_linker_job_elf(LinkJob *lj) {
     // libc dep
     if (g->libc_link_lib != nullptr) {
         if (g->libc != nullptr) {
-            if (g->is_static) {
+            if (!g->have_dynamic_link) {
                 lj->args.append("--start-group");
                 lj->args.append("-lgcc");
                 lj->args.append("-lgcc_eh");
@@ -1078,7 +1061,7 @@ static void construct_linker_job_elf(LinkJob *lj) {
                 lj->args.append("-lgcc_s");
                 lj->args.append("--no-as-needed");
             }
-        } else if (target_is_glibc(g)) {
+        } else if (target_is_glibc(g->zig_target)) {
             lj->args.append(build_libunwind(g));
             lj->args.append(build_dummy_so(g, "c", 6));
             lj->args.append(build_dummy_so(g, "m", 6));
@@ -1086,7 +1069,7 @@ static void construct_linker_job_elf(LinkJob *lj) {
             lj->args.append(build_dummy_so(g, "dl", 2));
             lj->args.append(build_dummy_so(g, "rt", 1));
             lj->args.append(get_libc_crt_file(g, "libc_nonshared.a"));
-        } else if (target_is_musl(g)) {
+        } else if (target_is_musl(g->zig_target)) {
             lj->args.append(build_libunwind(g));
             lj->args.append(build_musl(g));
         } else {
@@ -1160,10 +1143,12 @@ static void add_nt_link_args(LinkJob *lj, bool is_library) {
     CodeGen *g = lj->codegen;
 
     if (lj->link_in_crt) {
-        const char *lib_str = g->is_static ? "lib" : "";
+        // TODO: https://github.com/ziglang/zig/issues/2064
+        bool is_dynamic = true; // g->is_dynamic;
+        const char *lib_str = is_dynamic ? "" : "lib";
         const char *d_str = (g->build_mode == BuildModeDebug) ? "d" : "";
 
-        if (g->is_static) {
+        if (!is_dynamic) {
             Buf *cmt_lib_name = buf_sprintf("libcmt%s.lib", d_str);
             lj->args.append(buf_ptr(cmt_lib_name));
         } else {
@@ -1181,8 +1166,9 @@ static void add_nt_link_args(LinkJob *lj, bool is_library) {
         //https://msdn.microsoft.com/en-us/library/bb531344.aspx
         lj->args.append("legacy_stdio_definitions.lib");
 
-        // msvcrt depends on kernel32
+        // msvcrt depends on kernel32 and ntdll
         lj->args.append("kernel32.lib");
+        lj->args.append("ntdll.lib");
     } else {
         lj->args.append("/NODEFAULTLIB");
         if (!is_library) {
@@ -1267,7 +1253,7 @@ static void construct_linker_job_coff(LinkJob *lj) {
         lj->args.append(buf_ptr(buf_sprintf("-LIBPATH:%s", buf_ptr(&g->libc->crt_dir))));
     }
 
-    if (is_library && !g->is_static) {
+    if (is_library && g->is_dynamic) {
         lj->args.append("-DLL");
     }
 
@@ -1280,7 +1266,7 @@ static void construct_linker_job_coff(LinkJob *lj) {
         lj->args.append((const char *)buf_ptr(g->link_objects.at(i)));
     }
 
-    if (g->out_type == OutTypeExe || (g->out_type == OutTypeLib && !g->is_static)) {
+    if (g->out_type == OutTypeExe || (g->out_type == OutTypeLib && g->is_dynamic)) {
         if (g->libc_link_lib == nullptr && !g->is_dummy_so) {
             Buf *builtin_a_path = build_a(g, "builtin");
             lj->args.append(buf_ptr(builtin_a_path));
@@ -1459,8 +1445,8 @@ static void construct_linker_job_macho(LinkJob *lj) {
     }
 
     bool is_lib = g->out_type == OutTypeLib;
-    bool is_dyn_lib = !g->is_static && is_lib;
-    if (g->is_static) {
+    bool is_dyn_lib = g->is_dynamic && is_lib;
+    if (is_lib && !g->is_dynamic) {
         lj->args.append("-static");
     } else {
         lj->args.append("-dynamic");
@@ -1511,11 +1497,7 @@ static void construct_linker_job_macho(LinkJob *lj) {
 
 
     if (g->out_type == OutTypeExe) {
-        if (g->is_static) {
-            lj->args.append("-no_pie");
-        } else {
-            lj->args.append("-pie");
-        }
+        lj->args.append("-pie");
     }
 
     lj->args.append("-o");
@@ -1554,15 +1536,15 @@ static void construct_linker_job_macho(LinkJob *lj) {
     if (g->zig_target->is_native) {
         for (size_t lib_i = 0; lib_i < g->link_libs_list.length; lib_i += 1) {
             LinkLib *link_lib = g->link_libs_list.at(lib_i);
-            if (buf_eql_str(link_lib->name, "c")) {
+            if (target_is_libc_lib_name(g->zig_target, buf_ptr(link_lib->name))) {
+                // handled by libSystem
                 continue;
+            }
+            if (strchr(buf_ptr(link_lib->name), '/') == nullptr) {
+                Buf *arg = buf_sprintf("-l%s", buf_ptr(link_lib->name));
+                lj->args.append(buf_ptr(arg));
             } else {
-                if (strchr(buf_ptr(link_lib->name), '/') == nullptr) {
-                    Buf *arg = buf_sprintf("-l%s", buf_ptr(link_lib->name));
-                    lj->args.append(buf_ptr(arg));
-                } else {
-                    lj->args.append(buf_ptr(link_lib->name));
-                }
+                lj->args.append(buf_ptr(link_lib->name));
             }
         }
         // on Darwin, libSystem has libc in it, but also you have to use it
@@ -1631,7 +1613,7 @@ void codegen_link(CodeGen *g) {
         lj.args.append("-r");
     }
 
-    if (g->out_type == OutTypeLib && g->is_static) {
+    if (g->out_type == OutTypeLib && !g->is_dynamic) {
         ZigList file_names = {};
         for (size_t i = 0; i < g->link_objects.length; i += 1) {
             file_names.append((const char *)buf_ptr(g->link_objects.at(i)));
diff --git a/src/main.cpp b/src/main.cpp
index bf05bb281d..f58a00209a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -52,7 +52,8 @@ static int print_full_usage(const char *arg0, FILE *file, int return_code) {
         "  --cache [auto|off|on]        build in cache, print output path to stdout\n"
         "  --color [auto|off|on]        enable or disable colored error messages\n"
         "  --disable-gen-h              do not generate a C header file (.h)\n"
-        "  --disable-pic                disable Position Independent Code for libraries\n"
+        "  --disable-pic                disable Position Independent Code\n"
+        "  --enable-pic                 enable Position Independent Code\n"
         "  --disable-valgrind           omit valgrind client requests in debug builds\n"
         "  --enable-valgrind            include valgrind client requests release builds\n"
         "  --emit [asm|bin|llvm-ir]     emit a specific file format as compilation output\n"
@@ -67,7 +68,7 @@ static int print_full_usage(const char *arg0, FILE *file, int return_code) {
         "  --release-safe               build with optimizations on and safety on\n"
         "  --release-small              build with size optimizations on and safety off\n"
         "  --single-threaded            source may assume it is only used single-threaded\n"
-        "  --static                     output will be statically linked\n"
+        "  -dynamic                     create a shared library (.so; .dll; .dylib)\n"
         "  --strip                      exclude debug symbols\n"
         "  -target [name]               -- see the targets command\n"
         "  --verbose-tokenize           enable compiler debug output for tokenization\n"
@@ -397,7 +398,7 @@ int main(int argc, char **argv) {
     const char *in_file = nullptr;
     Buf *output_dir = nullptr;
     bool strip = false;
-    bool is_static = false;
+    bool is_dynamic = false;
     OutType out_type = OutTypeUnknown;
     const char *out_name = nullptr;
     bool verbose_tokenize = false;
@@ -416,6 +417,7 @@ int main(int argc, char **argv) {
     ZigList link_libs = {0};
     ZigList forbidden_link_libs = {0};
     ZigList frameworks = {0};
+    bool have_libc = false;
     const char *target_string = nullptr;
     bool rdynamic = false;
     const char *mmacosx_version_min = nullptr;
@@ -432,7 +434,6 @@ int main(int argc, char **argv) {
     size_t ver_minor = 0;
     size_t ver_patch = 0;
     bool timing_info = false;
-    bool disable_pic = false;
     const char *cache_dir = nullptr;
     CliPkg *cur_pkg = allocate(1);
     BuildMode build_mode = BuildModeDebug;
@@ -445,6 +446,7 @@ int main(int argc, char **argv) {
     Buf *override_std_dir = nullptr;
     Buf *main_pkg_path = nullptr;
     ValgrindSupport valgrind_support = ValgrindSupportAuto;
+    WantPIC want_pic = WantPICAuto;
 
     ZigList llvm_argv = {0};
     llvm_argv.append("zig (LLVM option parsing)");
@@ -620,8 +622,8 @@ int main(int argc, char **argv) {
                 }
             } else if (strcmp(arg, "--strip") == 0) {
                 strip = true;
-            } else if (strcmp(arg, "--static") == 0) {
-                is_static = true;
+            } else if (strcmp(arg, "-dynamic") == 0) {
+                is_dynamic = true;
             } else if (strcmp(arg, "--verbose-tokenize") == 0) {
                 verbose_tokenize = true;
             } else if (strcmp(arg, "--verbose-ast") == 0) {
@@ -642,12 +644,14 @@ int main(int argc, char **argv) {
                 each_lib_rpath = true;
             } else if (strcmp(arg, "-ftime-report") == 0) {
                 timing_info = true;
-            } else if (strcmp(arg, "--disable-pic") == 0) {
-                disable_pic = true;
             } else if (strcmp(arg, "--enable-valgrind") == 0) {
                 valgrind_support = ValgrindSupportEnabled;
             } else if (strcmp(arg, "--disable-valgrind") == 0) {
                 valgrind_support = ValgrindSupportDisabled;
+            } else if (strcmp(arg, "--enable-pic") == 0) {
+                want_pic = WantPICEnabled;
+            } else if (strcmp(arg, "--disable-pic") == 0) {
+                want_pic = WantPICDisabled;
             } else if (strcmp(arg, "--system-linker-hack") == 0) {
                 system_linker_hack = true;
             } else if (strcmp(arg, "--single-threaded") == 0) {
@@ -742,6 +746,8 @@ int main(int argc, char **argv) {
                 } else if (strcmp(arg, "--library-path") == 0 || strcmp(arg, "-L") == 0) {
                     lib_dirs.append(argv[i]);
                 } else if (strcmp(arg, "--library") == 0) {
+                    if (strcmp(argv[i], "c") == 0)
+                        have_libc = true;
                     link_libs.append(argv[i]);
                 } else if (strcmp(arg, "--forbid-library") == 0) {
                     forbidden_link_libs.append(argv[i]);
@@ -904,12 +910,24 @@ int main(int argc, char **argv) {
     }
 
     if (output_dir != nullptr && enable_cache == CacheOptOn) {
-        fprintf(stderr, "The --output-dir argument is incompatible with --cache on.\n");
+        fprintf(stderr, "`--output-dir` is incompatible with --cache on.\n");
+        return print_error_usage(arg0);
+    }
+
+    if (target_requires_pic(&target, have_libc) && want_pic == WantPICDisabled) {
+        Buf triple_buf = BUF_INIT;
+        get_target_triple(&triple_buf, &target);
+        fprintf(stderr, "`--disable-pic` is incompatible with target '%s'\n", buf_ptr(&triple_buf));
         return print_error_usage(arg0);
     }
 
     if (emit_file_type != EmitFileTypeBinary && in_file == nullptr) {
-        fprintf(stderr, "A root source file is required when using --emit asm or --emit llvm-ir");
+        fprintf(stderr, "A root source file is required when using `--emit asm` or `--emit llvm-ir`\n");
+        return print_error_usage(arg0);
+    }
+
+    if (out_type != OutTypeLib && is_dynamic) {
+        fprintf(stderr, "`-dynamic` may only be specified with `build-lib`.\n");
         return print_error_usage(arg0);
     }
 
@@ -936,6 +954,7 @@ int main(int argc, char **argv) {
         CodeGen *g = codegen_create(main_pkg_path, nullptr, &target,
                 out_type, build_mode, get_zig_lib_dir(), override_std_dir, nullptr, nullptr);
         g->valgrind_support = valgrind_support;
+        g->want_pic = want_pic;
         g->is_single_threaded = is_single_threaded;
         Buf *builtin_source = codegen_generate_builtin_source(g);
         if (fwrite(buf_ptr(builtin_source), 1, buf_len(builtin_source), stdout) != buf_len(builtin_source)) {
@@ -1027,16 +1046,9 @@ int main(int argc, char **argv) {
                     get_zig_lib_dir(), override_std_dir, libc, cache_dir_buf);
             if (llvm_argv.length >= 2) codegen_set_llvm_argv(g, llvm_argv.items + 1, llvm_argv.length - 2);
             g->valgrind_support = valgrind_support;
+            g->want_pic = want_pic;
             g->subsystem = subsystem;
 
-            if (disable_pic) {
-                if (out_type != OutTypeLib || !is_static) {
-                    fprintf(stderr, "--disable-pic only applies to static libraries");
-                    return EXIT_FAILURE;
-                }
-                g->disable_pic = true;
-            }
-
             g->enable_time_report = timing_info;
             codegen_set_out_name(g, buf_out_name);
             codegen_set_lib_version(g, ver_major, ver_minor, ver_patch);
@@ -1049,7 +1061,7 @@ int main(int argc, char **argv) {
             codegen_set_clang_argv(g, clang_argv.items, clang_argv.length);
 
             codegen_set_strip(g, strip);
-            g->is_static = is_static;
+            g->is_dynamic = is_dynamic;
             g->dynamic_linker_path = dynamic_linker;
             g->verbose_tokenize = verbose_tokenize;
             g->verbose_ast = verbose_ast;
diff --git a/src/target.cpp b/src/target.cpp
index 2dfd89fd2f..1bdbfd1ac0 100644
--- a/src/target.cpp
+++ b/src/target.cpp
@@ -724,8 +724,8 @@ void get_target_triple(Buf *triple, const ZigTarget *target) {
             ZigLLVMGetEnvironmentTypeName(target->abi));
 }
 
-bool target_is_darwin(const ZigTarget *target) {
-    switch (target->os) {
+bool target_os_is_darwin(Os os) {
+    switch (os) {
         case OsMacOSX:
         case OsIOS:
         case OsWatchOS:
@@ -739,7 +739,7 @@ bool target_is_darwin(const ZigTarget *target) {
 ZigLLVM_ObjectFormatType target_object_format(const ZigTarget *target) {
     if (target->os == OsUefi || target->os == OsWindows) {
         return ZigLLVM_COFF;
-    } else if (target_is_darwin(target)) {
+    } else if (target_os_is_darwin(target->os)) {
         return ZigLLVM_MachO;
     }
     if (target->arch == ZigLLVM_wasm32 ||
@@ -975,7 +975,7 @@ const char *target_lib_file_ext(const ZigTarget *target, bool is_static,
     } else {
         if (is_static) {
             return ".a";
-        } else if (target_is_darwin(target)) {
+        } else if (target_os_is_darwin(target->os)) {
             return buf_ptr(buf_sprintf(".%" ZIG_PRI_usize ".%" ZIG_PRI_usize ".%" ZIG_PRI_usize ".dylib",
                         version_major, version_minor, version_patch));
         } else {
@@ -1312,7 +1312,7 @@ bool target_has_valgrind_support(const ZigTarget *target) {
         case ZigLLVM_UnknownArch:
             zig_unreachable();
         case ZigLLVM_x86_64:
-            return (target->os == OsLinux || target_is_darwin(target) || target->os == OsSolaris ||
+            return (target->os == OsLinux || target_os_is_darwin(target->os) || target->os == OsSolaris ||
                 (target->os == OsWindows && target->abi != ZigLLVM_MSVC));
         default:
             return false;
@@ -1320,11 +1320,11 @@ bool target_has_valgrind_support(const ZigTarget *target) {
     zig_unreachable();
 }
 
-bool target_requires_libc(const ZigTarget *target) {
+bool target_os_requires_libc(Os os) {
     // On Darwin, we always link libSystem which contains libc.
     // Similarly on FreeBSD and NetBSD we always link system libc
     // since this is the stable syscall interface.
-    return (target_is_darwin(target) || target->os == OsFreeBSD || target->os == OsNetBSD);
+    return (target_os_is_darwin(os) || os == OsFreeBSD || os == OsNetBSD);
 }
 
 bool target_supports_fpic(const ZigTarget *target) {
@@ -1333,6 +1333,20 @@ bool target_supports_fpic(const ZigTarget *target) {
   return target->os != OsWindows;
 }
 
+bool target_requires_pic(const ZigTarget *target, bool linking_libc) {
+  // This function returns whether non-pic code is completely invalid on the given target.
+  return target->os == OsWindows || target_os_requires_libc(target->os) ||
+      (linking_libc && target_is_glibc(target));
+}
+
+bool target_is_glibc(const ZigTarget *target) {
+    return target->os == OsLinux && target_abi_is_gnu(target->abi);
+}
+
+bool target_is_musl(const ZigTarget *target) {
+    return target->os == OsLinux && target_abi_is_musl(target->abi);
+}
+
 ZigLLVM_EnvironmentType target_default_abi(ZigLLVM_ArchType arch, Os os) {
     switch (os) {
         case OsFreestanding:
@@ -1493,3 +1507,29 @@ const char *target_libc_generic_name(const ZigTarget *target) {
     }
     zig_unreachable();
 }
+
+bool target_is_libc_lib_name(const ZigTarget *target, const char *name) {
+    if (strcmp(name, "c") == 0)
+        return true;
+
+    if (target_abi_is_gnu(target->abi) || target_abi_is_musl(target->abi) || target_os_is_darwin(target->os)) {
+        if (strcmp(name, "m") == 0)
+            return true;
+        if (strcmp(name, "rt") == 0)
+            return true;
+        if (strcmp(name, "pthread") == 0)
+            return true;
+        if (strcmp(name, "crypt") == 0)
+            return true;
+        if (strcmp(name, "util") == 0)
+            return true;
+        if (strcmp(name, "xnet") == 0)
+            return true;
+        if (strcmp(name, "resolv") == 0)
+            return true;
+        if (strcmp(name, "dl") == 0)
+            return true;
+    }
+
+    return false;
+}
diff --git a/src/target.hpp b/src/target.hpp
index 53f4bd16c7..2a162d21bf 100644
--- a/src/target.hpp
+++ b/src/target.hpp
@@ -159,13 +159,17 @@ ZigLLVM_OSType get_llvm_os_type(Os os_type);
 bool target_is_arm(const ZigTarget *target);
 bool target_allows_addr_zero(const ZigTarget *target);
 bool target_has_valgrind_support(const ZigTarget *target);
-bool target_is_darwin(const ZigTarget *target);
-bool target_requires_libc(const ZigTarget *target);
+bool target_os_is_darwin(Os os);
+bool target_os_requires_libc(Os os);
 bool target_can_build_libc(const ZigTarget *target);
 const char *target_libc_generic_name(const ZigTarget *target);
+bool target_is_libc_lib_name(const ZigTarget *target, const char *name);
 bool target_supports_fpic(const ZigTarget *target);
+bool target_requires_pic(const ZigTarget *target, bool linking_libc);
 bool target_abi_is_gnu(ZigLLVM_EnvironmentType abi);
 bool target_abi_is_musl(ZigLLVM_EnvironmentType abi);
+bool target_is_glibc(const ZigTarget *target);
+bool target_is_musl(const ZigTarget *target);
 
 uint32_t target_arch_pointer_bit_width(ZigLLVM_ArchType arch);
 
diff --git a/src/translate_c.cpp b/src/translate_c.cpp
index bc6176ad5c..1a50b5db71 100644
--- a/src/translate_c.cpp
+++ b/src/translate_c.cpp
@@ -447,6 +447,12 @@ static AstNode *trans_create_node_inline_fn(Context *c, Buf *fn_name, AstNode *r
     return fn_def;
 }
 
+static AstNode *trans_create_node_grouped_expr(Context *c, AstNode *child) {
+	AstNode *node = trans_create_node(c, NodeTypeGroupedExpr);
+	node->data.grouped_expr = child;
+	return node;
+}
+
 static AstNode *get_global(Context *c, Buf *name) {
     {
         auto entry = c->global_table.maybe_get(name);
@@ -685,6 +691,13 @@ static bool qual_type_child_is_fn_proto(const clang::QualType &qt) {
 static AstNode* trans_c_cast(Context *c, const clang::SourceLocation &source_location, clang::QualType dest_type,
         clang::QualType src_type, AstNode *expr)
 {
+    // The only way void pointer casts are valid C code, is if
+    // the value of the expression is ignored. We therefore just
+    // return the expr, and let the system that ignores values
+    // translate this correctly.
+    if (qual_type_canon(dest_type)->isVoidType()) {
+        return expr;
+    }
     if (qual_types_equal(dest_type, src_type)) {
         return expr;
     }
@@ -1235,6 +1248,31 @@ static AstNode *trans_compound_stmt(Context *c, TransScope *scope, const clang::
     return child_scope_block->node;
 }
 
+static AstNode *trans_stmt_expr(Context *c, ResultUsed result_used, TransScope *scope,
+        const clang::StmtExpr *stmt, TransScope **out_node_scope)
+{
+    AstNode *block = trans_compound_stmt(c, scope, stmt->getSubStmt(), out_node_scope);
+    if (block == nullptr)
+        return block;
+    assert(block->type == NodeTypeBlock);
+    if (block->data.block.statements.length == 0)
+        return block;
+
+    Buf *label = buf_create_from_str("x");
+    block->data.block.name = label;
+    AstNode *return_expr = block->data.block.statements.pop();
+    if (return_expr->type == NodeTypeBinOpExpr &&
+        return_expr->data.bin_op_expr.bin_op == BinOpTypeAssign &&
+        return_expr->data.bin_op_expr.op1->type == NodeTypeSymbol)
+       {
+        Buf *symbol_buf = return_expr->data.bin_op_expr.op1->data.symbol_expr.symbol;
+           if (strcmp("_", buf_ptr(symbol_buf)) == 0)
+               return_expr = return_expr->data.bin_op_expr.op2;
+       }
+    block->data.block.statements.append(trans_create_node_break(c, label, return_expr));
+    return maybe_suppress_result(c, result_used, block);
+}
+
 static AstNode *trans_return_stmt(Context *c, TransScope *scope, const clang::ReturnStmt *stmt) {
     const clang::Expr *value_expr = stmt->getRetValue();
     if (value_expr == nullptr) {
@@ -1248,7 +1286,7 @@ static AstNode *trans_return_stmt(Context *c, TransScope *scope, const clang::Re
     }
 }
 
-static AstNode *trans_integer_literal(Context *c, const clang::IntegerLiteral *stmt) {
+static AstNode *trans_integer_literal(Context *c, ResultUsed result_used, const clang::IntegerLiteral *stmt) {
     clang::Expr::EvalResult result;
     if (!stmt->EvaluateAsInt(result, *reinterpret_cast(c->ctx))) {
         emit_warning(c, stmt->getBeginLoc(), "invalid integer literal");
@@ -1257,7 +1295,7 @@ static AstNode *trans_integer_literal(Context *c, const clang::IntegerLiteral *s
     return trans_create_node_apint(c, result.Val.getInt());
 }
 
-static AstNode *trans_constant_expr(Context *c, const clang::ConstantExpr *expr) {
+static AstNode *trans_constant_expr(Context *c, ResultUsed result_used, const clang::ConstantExpr *expr) {
     clang::Expr::EvalResult result;
     if (!expr->EvaluateAsConstantExpr(result, clang::Expr::EvaluateForCodeGen,
                 *reinterpret_cast(c->ctx)))
@@ -1265,7 +1303,8 @@ static AstNode *trans_constant_expr(Context *c, const clang::ConstantExpr *expr)
         emit_warning(c, expr->getBeginLoc(), "invalid constant expression");
         return nullptr;
     }
-    return trans_ap_value(c, &result.Val, expr->getType(), expr->getBeginLoc());
+    AstNode *node = trans_ap_value(c, &result.Val, expr->getType(), expr->getBeginLoc());
+    return maybe_suppress_result(c, result_used, node);
 }
 
 static AstNode *trans_conditional_operator(Context *c, ResultUsed result_used, TransScope *scope,
@@ -1341,11 +1380,11 @@ static AstNode *trans_create_assign(Context *c, ResultUsed result_used, TransSco
     } else {
         // worst case
         // c: lhs = rhs
-        // zig: x: {
+        // zig: (x: {
         // zig:     const _tmp = rhs;
         // zig:     lhs = _tmp;
         // zig:     break :x _tmp
-        // zig: }
+        // zig: })
 
         TransScopeBlock *child_scope = trans_scope_block_create(c, scope);
         Buf *label_name = buf_create_from_str("x");
@@ -1370,7 +1409,7 @@ static AstNode *trans_create_assign(Context *c, ResultUsed result_used, TransSco
         AstNode *tmp_symbol_node = trans_create_node_symbol(c, tmp_var_name);
         child_scope->node->data.block.statements.append(trans_create_node_break(c, label_name, tmp_symbol_node));
 
-        return child_scope->node;
+        return trans_create_node_grouped_expr(c, child_scope->node);
     }
 }
 
@@ -1402,14 +1441,17 @@ static AstNode *trans_binary_operator(Context *c, ResultUsed result_used, TransS
         case clang::BO_Cmp:
             emit_warning(c, stmt->getBeginLoc(), "TODO handle more C binary operators: BO_Cmp");
             return nullptr;
-        case clang::BO_Mul:
-            return trans_create_bin_op(c, scope, stmt->getLHS(),
+        case clang::BO_Mul: {
+            AstNode *node = trans_create_bin_op(c, scope, stmt->getLHS(),
                 qual_type_has_wrapping_overflow(c, stmt->getType()) ? BinOpTypeMultWrap : BinOpTypeMult,
                 stmt->getRHS());
+            return maybe_suppress_result(c, result_used, node);
+        }
         case clang::BO_Div:
             if (qual_type_has_wrapping_overflow(c, stmt->getType())) {
                 // unsigned/float division uses the operator
-                return trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeDiv, stmt->getRHS());
+                AstNode *node = trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeDiv, stmt->getRHS());
+                return maybe_suppress_result(c, result_used, node);
             } else {
                 // signed integer division uses @divTrunc
                 AstNode *fn_call = trans_create_node_builtin_fn_call_str(c, "divTrunc");
@@ -1419,12 +1461,13 @@ static AstNode *trans_binary_operator(Context *c, ResultUsed result_used, TransS
                 AstNode *rhs = trans_expr(c, ResultUsedYes, scope, stmt->getRHS(), TransLValue);
                 if (rhs == nullptr) return nullptr;
                 fn_call->data.fn_call_expr.params.append(rhs);
-                return fn_call;
+                return maybe_suppress_result(c, result_used, fn_call);
             }
         case clang::BO_Rem:
             if (qual_type_has_wrapping_overflow(c, stmt->getType())) {
                 // unsigned/float division uses the operator
-                return trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeMod, stmt->getRHS());
+                AstNode *node = trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeMod, stmt->getRHS());
+                return maybe_suppress_result(c, result_used, node);
             } else {
                 // signed integer division uses @rem
                 AstNode *fn_call = trans_create_node_builtin_fn_call_str(c, "rem");
@@ -1434,42 +1477,72 @@ static AstNode *trans_binary_operator(Context *c, ResultUsed result_used, TransS
                 AstNode *rhs = trans_expr(c, ResultUsedYes, scope, stmt->getRHS(), TransLValue);
                 if (rhs == nullptr) return nullptr;
                 fn_call->data.fn_call_expr.params.append(rhs);
-                return fn_call;
+                return maybe_suppress_result(c, result_used, fn_call);
             }
-        case clang::BO_Add:
-            return trans_create_bin_op(c, scope, stmt->getLHS(),
+        case clang::BO_Add: {
+            AstNode *node = trans_create_bin_op(c, scope, stmt->getLHS(),
                 qual_type_has_wrapping_overflow(c, stmt->getType()) ? BinOpTypeAddWrap : BinOpTypeAdd,
                 stmt->getRHS());
-        case clang::BO_Sub:
-            return trans_create_bin_op(c, scope, stmt->getLHS(),
+            return maybe_suppress_result(c, result_used, node);
+        }
+        case clang::BO_Sub: {
+            AstNode *node = trans_create_bin_op(c, scope, stmt->getLHS(),
                 qual_type_has_wrapping_overflow(c, stmt->getType()) ? BinOpTypeSubWrap : BinOpTypeSub,
                 stmt->getRHS());
-        case clang::BO_Shl:
-            return trans_create_shift_op(c, scope, stmt->getType(), stmt->getLHS(), BinOpTypeBitShiftLeft, stmt->getRHS());
-        case clang::BO_Shr:
-            return trans_create_shift_op(c, scope, stmt->getType(), stmt->getLHS(), BinOpTypeBitShiftRight, stmt->getRHS());
-        case clang::BO_LT:
-            return trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeCmpLessThan, stmt->getRHS());
-        case clang::BO_GT:
-            return trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeCmpGreaterThan, stmt->getRHS());
-        case clang::BO_LE:
-            return trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeCmpLessOrEq, stmt->getRHS());
-        case clang::BO_GE:
-            return trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeCmpGreaterOrEq, stmt->getRHS());
-        case clang::BO_EQ:
-            return trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeCmpEq, stmt->getRHS());
-        case clang::BO_NE:
-            return trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeCmpNotEq, stmt->getRHS());
-        case clang::BO_And:
-            return trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeBinAnd, stmt->getRHS());
-        case clang::BO_Xor:
-            return trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeBinXor, stmt->getRHS());
-        case clang::BO_Or:
-            return trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeBinOr, stmt->getRHS());
-        case clang::BO_LAnd:
-            return trans_create_bool_bin_op(c, scope, stmt->getLHS(), BinOpTypeBoolAnd, stmt->getRHS());
-        case clang::BO_LOr:
-            return trans_create_bool_bin_op(c, scope, stmt->getLHS(), BinOpTypeBoolOr, stmt->getRHS());
+            return maybe_suppress_result(c, result_used, node);
+        }
+        case clang::BO_Shl: {
+            AstNode *node = trans_create_shift_op(c, scope, stmt->getType(), stmt->getLHS(), BinOpTypeBitShiftLeft, stmt->getRHS());
+            return maybe_suppress_result(c, result_used, node);
+        }
+        case clang::BO_Shr: {
+            AstNode *node = trans_create_shift_op(c, scope, stmt->getType(), stmt->getLHS(), BinOpTypeBitShiftRight, stmt->getRHS());
+            return maybe_suppress_result(c, result_used, node);
+        }
+        case clang::BO_LT: {
+            AstNode *node =trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeCmpLessThan, stmt->getRHS());
+            return maybe_suppress_result(c, result_used, node);
+        }
+        case clang::BO_GT: {
+            AstNode *node = trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeCmpGreaterThan, stmt->getRHS());
+            return maybe_suppress_result(c, result_used, node);
+        }
+        case clang::BO_LE: {
+            AstNode *node = trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeCmpLessOrEq, stmt->getRHS());
+            return maybe_suppress_result(c, result_used, node);
+        }
+        case clang::BO_GE: {
+            AstNode *node = trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeCmpGreaterOrEq, stmt->getRHS());
+            return maybe_suppress_result(c, result_used, node);
+        }
+        case clang::BO_EQ: {
+            AstNode *node = trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeCmpEq, stmt->getRHS());
+            return maybe_suppress_result(c, result_used, node);
+        }
+        case clang::BO_NE: {
+            AstNode *node = trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeCmpNotEq, stmt->getRHS());
+            return maybe_suppress_result(c, result_used, node);
+        }
+        case clang::BO_And: {
+            AstNode *node = trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeBinAnd, stmt->getRHS());
+            return maybe_suppress_result(c, result_used, node);
+        }
+        case clang::BO_Xor: {
+            AstNode *node = trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeBinXor, stmt->getRHS());
+            return maybe_suppress_result(c, result_used, node);
+        }
+        case clang::BO_Or: {
+            AstNode *node = trans_create_bin_op(c, scope, stmt->getLHS(), BinOpTypeBinOr, stmt->getRHS());
+            return maybe_suppress_result(c, result_used, node);
+        }
+        case clang::BO_LAnd: {
+            AstNode *node = trans_create_bool_bin_op(c, scope, stmt->getLHS(), BinOpTypeBoolAnd, stmt->getRHS());
+            return maybe_suppress_result(c, result_used, node);
+        }
+        case clang::BO_LOr: {
+            AstNode *node = trans_create_bool_bin_op(c, scope, stmt->getLHS(), BinOpTypeBoolOr, stmt->getRHS());
+            return maybe_suppress_result(c, result_used, node);
+        }
         case clang::BO_Assign:
             return trans_create_assign(c, result_used, scope, stmt->getLHS(), stmt->getRHS());
         case clang::BO_Comma:
@@ -1481,13 +1554,15 @@ static AstNode *trans_binary_operator(Context *c, ResultUsed result_used, TransS
                 AstNode *lhs = trans_expr(c, ResultUsedNo, &scope_block->base, stmt->getLHS(), TransRValue);
                 if (lhs == nullptr)
                     return nullptr;
-                scope_block->node->data.block.statements.append(maybe_suppress_result(c, ResultUsedNo, lhs));
+                scope_block->node->data.block.statements.append(lhs);
 
-                AstNode *rhs = trans_expr(c, result_used, &scope_block->base, stmt->getRHS(), TransRValue);
+                AstNode *rhs = trans_expr(c, ResultUsedYes, &scope_block->base, stmt->getRHS(), TransRValue);
                 if (rhs == nullptr)
                     return nullptr;
-                scope_block->node->data.block.statements.append(trans_create_node_break(c, label_name, maybe_suppress_result(c, result_used, rhs)));
-                return scope_block->node;
+
+                rhs = trans_create_node_break(c, label_name, rhs);
+                scope_block->node->data.block.statements.append(rhs);
+                return maybe_suppress_result(c, result_used, scope_block->node);
             }
         case clang::BO_MulAssign:
         case clang::BO_DivAssign:
@@ -1526,11 +1601,11 @@ static AstNode *trans_create_compound_assign_shift(Context *c, ResultUsed result
     } else {
         // need more complexity. worst case, this looks like this:
         // c:   lhs >>= rhs
-        // zig: x: {
+        // zig: (x: {
         // zig:     const _ref = &lhs;
         // zig:     *_ref = result_type(operation_type(*_ref) >> u5(rhs));
         // zig:     break :x *_ref
-        // zig: }
+        // zig: })
         // where u5 is the appropriate type
 
         TransScopeBlock *child_scope = trans_scope_block_create(c, scope);
@@ -1583,7 +1658,7 @@ static AstNode *trans_create_compound_assign_shift(Context *c, ResultUsed result
                         trans_create_node_symbol(c, tmp_var_name))));
         }
 
-        return child_scope->node;
+        return trans_create_node_grouped_expr(c, child_scope->node);
     }
 }
 
@@ -1601,11 +1676,11 @@ static AstNode *trans_create_compound_assign(Context *c, ResultUsed result_used,
     } else {
         // need more complexity. worst case, this looks like this:
         // c:   lhs += rhs
-        // zig: x: {
+        // zig: (x: {
         // zig:     const _ref = &lhs;
         // zig:     *_ref = *_ref + rhs;
         // zig:     break :x *_ref
-        // zig: }
+        // zig: })
 
         TransScopeBlock *child_scope = trans_scope_block_create(c, scope);
         Buf *label_name = buf_create_from_str("x");
@@ -1642,7 +1717,7 @@ static AstNode *trans_create_compound_assign(Context *c, ResultUsed result_used,
                 trans_create_node_ptr_deref(c,
                     trans_create_node_symbol(c, tmp_var_name))));
 
-        return child_scope->node;
+        return trans_create_node_grouped_expr(c, child_scope->node);
     }
 }
 
@@ -1713,7 +1788,7 @@ static AstNode *trans_compound_assign_operator(Context *c, ResultUsed result_use
     zig_unreachable();
 }
 
-static AstNode *trans_implicit_cast_expr(Context *c, TransScope *scope, const clang::ImplicitCastExpr *stmt) {
+static AstNode *trans_implicit_cast_expr(Context *c, ResultUsed result_used, TransScope *scope, const clang::ImplicitCastExpr *stmt) {
     switch (stmt->getCastKind()) {
         case clang::CK_LValueToRValue:
             return trans_expr(c, ResultUsedYes, scope, stmt->getSubExpr(), TransRValue);
@@ -1722,8 +1797,9 @@ static AstNode *trans_implicit_cast_expr(Context *c, TransScope *scope, const cl
                 AstNode *target_node = trans_expr(c, ResultUsedYes, scope, stmt->getSubExpr(), TransRValue);
                 if (target_node == nullptr)
                     return nullptr;
-                return trans_c_cast(c, stmt->getExprLoc(), stmt->getType(),
+                AstNode *node = trans_c_cast(c, stmt->getExprLoc(), stmt->getType(),
                         stmt->getSubExpr()->getType(), target_node);
+                return maybe_suppress_result(c, result_used, node);
             }
         case clang::CK_FunctionToPointerDecay:
         case clang::CK_ArrayToPointerDecay:
@@ -1731,7 +1807,7 @@ static AstNode *trans_implicit_cast_expr(Context *c, TransScope *scope, const cl
                 AstNode *target_node = trans_expr(c, ResultUsedYes, scope, stmt->getSubExpr(), TransRValue);
                 if (target_node == nullptr)
                     return nullptr;
-                return target_node;
+                return maybe_suppress_result(c, result_used, target_node);
             }
         case clang::CK_BitCast:
             {
@@ -1748,7 +1824,7 @@ static AstNode *trans_implicit_cast_expr(Context *c, TransScope *scope, const cl
                 AstNode *node = trans_create_node_builtin_fn_call_str(c, "ptrCast");
                 node->data.fn_call_expr.params.append(dest_type_node);
                 node->data.fn_call_expr.params.append(target_node);
-                return node;
+                return maybe_suppress_result(c, result_used, node);
             }
         case clang::CK_NullToPointer:
             return trans_create_node_unsigned(c, 0);
@@ -1940,12 +2016,12 @@ static AstNode *trans_create_post_crement(Context *c, ResultUsed result_used, Tr
     }
     // worst case
     // c: expr++
-    // zig: x: {
+    // zig: (x: {
     // zig:     const _ref = &expr;
     // zig:     const _tmp = *_ref;
     // zig:     *_ref += 1;
     // zig:     break :x _tmp
-    // zig: }
+    // zig: })
     TransScopeBlock *child_scope = trans_scope_block_create(c, scope);
     Buf *label_name = buf_create_from_str("x");
     child_scope->node->data.block.name = label_name;
@@ -1977,7 +2053,7 @@ static AstNode *trans_create_post_crement(Context *c, ResultUsed result_used, Tr
     // break :x _tmp
     child_scope->node->data.block.statements.append(trans_create_node_break(c, label_name, trans_create_node_symbol(c, tmp_var_name)));
 
-    return child_scope->node;
+    return trans_create_node_grouped_expr(c, child_scope->node);
 }
 
 static AstNode *trans_create_pre_crement(Context *c, ResultUsed result_used, TransScope *scope,
@@ -1996,11 +2072,11 @@ static AstNode *trans_create_pre_crement(Context *c, ResultUsed result_used, Tra
     }
     // worst case
     // c: ++expr
-    // zig: x: {
+    // zig: (x: {
     // zig:     const _ref = &expr;
     // zig:     *_ref += 1;
     // zig:     break :x *_ref
-    // zig: }
+    // zig: })
     TransScopeBlock *child_scope = trans_scope_block_create(c, scope);
     Buf *label_name = buf_create_from_str("x");
     child_scope->node->data.block.name = label_name;
@@ -2027,7 +2103,7 @@ static AstNode *trans_create_pre_crement(Context *c, ResultUsed result_used, Tra
             trans_create_node_symbol(c, ref_var_name));
     child_scope->node->data.block.statements.append(trans_create_node_break(c, label_name, deref_expr));
 
-    return child_scope->node;
+    return trans_create_node_grouped_expr(c, child_scope->node);
 }
 
 static AstNode *trans_unary_operator(Context *c, ResultUsed result_used, TransScope *scope, const clang::UnaryOperator *stmt) {
@@ -2126,8 +2202,7 @@ static AstNode *trans_unary_operator(Context *c, ResultUsed result_used, TransSc
             emit_warning(c, stmt->getBeginLoc(), "TODO handle C translation UO_Imag");
             return nullptr;
         case clang::UO_Extension:
-            emit_warning(c, stmt->getBeginLoc(), "TODO handle C translation UO_Extension");
-            return nullptr;
+            return trans_expr(c, result_used, scope, stmt->getSubExpr(), TransLValue);
         case clang::UO_Coawait:
             emit_warning(c, stmt->getBeginLoc(), "TODO handle C translation UO_Coawait");
             return nullptr;
@@ -2759,7 +2834,9 @@ static AstNode *trans_call_expr(Context *c, ResultUsed result_used, TransScope *
     return node;
 }
 
-static AstNode *trans_member_expr(Context *c, TransScope *scope, const clang::MemberExpr *stmt) {
+static AstNode *trans_member_expr(Context *c, ResultUsed result_used, TransScope *scope,
+    const clang::MemberExpr *stmt)
+{
     AstNode *container_node = trans_expr(c, ResultUsedYes, scope, stmt->getBase(), TransRValue);
     if (container_node == nullptr)
         return nullptr;
@@ -2771,10 +2848,10 @@ static AstNode *trans_member_expr(Context *c, TransScope *scope, const clang::Me
     const char *name = decl_name(stmt->getMemberDecl());
 
     AstNode *node = trans_create_node_field_access_str(c, container_node, name);
-    return node;
+    return maybe_suppress_result(c, result_used, node);
 }
 
-static AstNode *trans_array_subscript_expr(Context *c, TransScope *scope, const clang::ArraySubscriptExpr *stmt) {
+static AstNode *trans_array_subscript_expr(Context *c, ResultUsed result_used, TransScope *scope, const clang::ArraySubscriptExpr *stmt) {
     AstNode *container_node = trans_expr(c, ResultUsedYes, scope, stmt->getBase(), TransRValue);
     if (container_node == nullptr)
         return nullptr;
@@ -2787,21 +2864,25 @@ static AstNode *trans_array_subscript_expr(Context *c, TransScope *scope, const
     AstNode *node = trans_create_node(c, NodeTypeArrayAccessExpr);
     node->data.array_access_expr.array_ref_expr = container_node;
     node->data.array_access_expr.subscript = idx_node;
-    return node;
+    return maybe_suppress_result(c, result_used, node);
 }
 
 static AstNode *trans_c_style_cast_expr(Context *c, ResultUsed result_used, TransScope *scope,
         const clang::CStyleCastExpr *stmt, TransLRValue lrvalue)
 {
-    AstNode *sub_expr_node = trans_expr(c, result_used, scope, stmt->getSubExpr(), lrvalue);
+    AstNode *sub_expr_node = trans_expr(c, ResultUsedYes, scope, stmt->getSubExpr(), lrvalue);
     if (sub_expr_node == nullptr)
         return nullptr;
 
-    return trans_c_cast(c, stmt->getBeginLoc(), stmt->getType(), stmt->getSubExpr()->getType(), sub_expr_node);
+    AstNode *cast = trans_c_cast(c, stmt->getBeginLoc(), stmt->getType(), stmt->getSubExpr()->getType(), sub_expr_node);
+    if (cast == nullptr)
+        return nullptr;
+
+    return maybe_suppress_result(c, result_used, cast);
 }
 
-static AstNode *trans_unary_expr_or_type_trait_expr(Context *c, TransScope *scope,
-        const clang::UnaryExprOrTypeTraitExpr *stmt)
+static AstNode *trans_unary_expr_or_type_trait_expr(Context *c, ResultUsed result_used,
+        TransScope *scope, const clang::UnaryExprOrTypeTraitExpr *stmt)
 {
     AstNode *type_node = trans_qual_type(c, stmt->getTypeOfArgument(), stmt->getBeginLoc());
     if (type_node == nullptr)
@@ -2809,7 +2890,7 @@ static AstNode *trans_unary_expr_or_type_trait_expr(Context *c, TransScope *scop
 
     AstNode *node = trans_create_node_builtin_fn_call_str(c, "sizeOf");
     node->data.fn_call_expr.params.append(type_node);
-    return node;
+    return maybe_suppress_result(c, result_used, node);
 }
 
 static AstNode *trans_do_loop(Context *c, TransScope *parent_scope, const clang::DoStmt *stmt) {
@@ -3087,11 +3168,13 @@ static int trans_switch_default(Context *c, TransScope *parent_scope, const clan
     return ErrorNone;
 }
 
-static AstNode *trans_string_literal(Context *c, TransScope *scope, const clang::StringLiteral *stmt) {
+static AstNode *trans_string_literal(Context *c, ResultUsed result_used, TransScope *scope, const clang::StringLiteral *stmt) {
     switch (stmt->getKind()) {
         case clang::StringLiteral::Ascii:
-        case clang::StringLiteral::UTF8:
-            return trans_create_node_str_lit_c(c, string_ref_to_buf(stmt->getString()));
+        case clang::StringLiteral::UTF8: {
+            AstNode *node = trans_create_node_str_lit_c(c, string_ref_to_buf(stmt->getString()));
+            return maybe_suppress_result(c, result_used, node);
+        }
         case clang::StringLiteral::UTF16:
             emit_warning(c, stmt->getBeginLoc(), "TODO support UTF16 string literals");
             return nullptr;
@@ -3123,6 +3206,12 @@ static AstNode *trans_continue_stmt(Context *c, TransScope *scope, const clang::
     return trans_create_node(c, NodeTypeContinue);
 }
 
+static AstNode *trans_predefined_expr(Context *c, ResultUsed result_used, TransScope *scope,
+    const clang::PredefinedExpr *expr)
+{
+    return trans_string_literal(c, result_used, scope, expr->getFunctionName());
+}
+
 static int wrap_stmt(AstNode **out_node, TransScope **out_scope, TransScope *in_scope, AstNode *result_node) {
     if (result_node == nullptr)
         return ErrorUnexpected;
@@ -3147,7 +3236,7 @@ static int trans_stmt_extra(Context *c, TransScope *scope, const clang::Stmt *st
                     trans_compound_stmt(c, scope, (const clang::CompoundStmt *)stmt, out_node_scope));
         case clang::Stmt::IntegerLiteralClass:
             return wrap_stmt(out_node, out_child_scope, scope,
-                    trans_integer_literal(c, (const clang::IntegerLiteral *)stmt));
+                    trans_integer_literal(c, result_used, (const clang::IntegerLiteral *)stmt));
         case clang::Stmt::ConditionalOperatorClass:
             return wrap_stmt(out_node, out_child_scope, scope,
                     trans_conditional_operator(c, result_used, scope, (const clang::ConditionalOperator *)stmt));
@@ -3159,7 +3248,7 @@ static int trans_stmt_extra(Context *c, TransScope *scope, const clang::Stmt *st
                     trans_compound_assign_operator(c, result_used, scope, (const clang::CompoundAssignOperator *)stmt));
         case clang::Stmt::ImplicitCastExprClass:
             return wrap_stmt(out_node, out_child_scope, scope,
-                    trans_implicit_cast_expr(c, scope, (const clang::ImplicitCastExpr *)stmt));
+                    trans_implicit_cast_expr(c, result_used, scope, (const clang::ImplicitCastExpr *)stmt));
         case clang::Stmt::DeclRefExprClass:
             return wrap_stmt(out_node, out_child_scope, scope,
                     trans_decl_ref_expr(c, scope, (const clang::DeclRefExpr *)stmt, lrvalue));
@@ -3190,28 +3279,28 @@ static int trans_stmt_extra(Context *c, TransScope *scope, const clang::Stmt *st
             return wrap_stmt(out_node, out_child_scope, scope,
                     trans_call_expr(c, result_used, scope, (const clang::CallExpr *)stmt));
         case clang::Stmt::NullStmtClass:
-            *out_node = nullptr;
+            *out_node = trans_create_node(c, NodeTypeBlock);
             *out_child_scope = scope;
             return ErrorNone;
         case clang::Stmt::MemberExprClass:
             return wrap_stmt(out_node, out_child_scope, scope,
-                    trans_member_expr(c, scope, (const clang::MemberExpr *)stmt));
+                    trans_member_expr(c, result_used, scope, (const clang::MemberExpr *)stmt));
         case clang::Stmt::ArraySubscriptExprClass:
             return wrap_stmt(out_node, out_child_scope, scope,
-                    trans_array_subscript_expr(c, scope, (const clang::ArraySubscriptExpr *)stmt));
+                    trans_array_subscript_expr(c, result_used, scope, (const clang::ArraySubscriptExpr *)stmt));
         case clang::Stmt::CStyleCastExprClass:
             return wrap_stmt(out_node, out_child_scope, scope,
                     trans_c_style_cast_expr(c, result_used, scope, (const clang::CStyleCastExpr *)stmt, lrvalue));
         case clang::Stmt::UnaryExprOrTypeTraitExprClass:
             return wrap_stmt(out_node, out_child_scope, scope,
-                    trans_unary_expr_or_type_trait_expr(c, scope, (const clang::UnaryExprOrTypeTraitExpr *)stmt));
+                    trans_unary_expr_or_type_trait_expr(c, result_used, scope, (const clang::UnaryExprOrTypeTraitExpr *)stmt));
         case clang::Stmt::ForStmtClass: {
             AstNode *node = trans_for_loop(c, scope, (const clang::ForStmt *)stmt);
             return wrap_stmt(out_node, out_child_scope, scope, node);
         }
         case clang::Stmt::StringLiteralClass:
             return wrap_stmt(out_node, out_child_scope, scope,
-                    trans_string_literal(c, scope, (const clang::StringLiteral *)stmt));
+                    trans_string_literal(c, result_used, scope, (const clang::StringLiteral *)stmt));
         case clang::Stmt::BreakStmtClass:
             return wrap_stmt(out_node, out_child_scope, scope,
                     trans_break_stmt(c, scope, (const clang::BreakStmt *)stmt));
@@ -3230,7 +3319,13 @@ static int trans_stmt_extra(Context *c, TransScope *scope, const clang::Stmt *st
             return trans_switch_default(c, scope, (const clang::DefaultStmt *)stmt, out_node, out_child_scope);
         case clang::Stmt::ConstantExprClass:
             return wrap_stmt(out_node, out_child_scope, scope,
-                    trans_constant_expr(c, (const clang::ConstantExpr *)stmt));
+                    trans_constant_expr(c, result_used, (const clang::ConstantExpr *)stmt));
+        case clang::Stmt::PredefinedExprClass:
+            return wrap_stmt(out_node, out_child_scope, scope,
+                             trans_predefined_expr(c, result_used, scope, (const clang::PredefinedExpr *)stmt));
+        case clang::Stmt::StmtExprClass:
+            return wrap_stmt(out_node, out_child_scope, scope,
+                    trans_stmt_expr(c, result_used, scope, (const clang::StmtExpr *)stmt, out_node_scope));
         case clang::Stmt::NoStmtClass:
             emit_warning(c, stmt->getBeginLoc(), "TODO handle C NoStmtClass");
             return ErrorUnexpected;
@@ -3522,9 +3617,6 @@ static int trans_stmt_extra(Context *c, TransScope *scope, const clang::Stmt *st
         case clang::Stmt::ParenListExprClass:
             emit_warning(c, stmt->getBeginLoc(), "TODO handle C ParenListExprClass");
             return ErrorUnexpected;
-        case clang::Stmt::PredefinedExprClass:
-            emit_warning(c, stmt->getBeginLoc(), "TODO handle C PredefinedExprClass");
-            return ErrorUnexpected;
         case clang::Stmt::PseudoObjectExprClass:
             emit_warning(c, stmt->getBeginLoc(), "TODO handle C PseudoObjectExprClass");
             return ErrorUnexpected;
@@ -3534,9 +3626,6 @@ static int trans_stmt_extra(Context *c, TransScope *scope, const clang::Stmt *st
         case clang::Stmt::SizeOfPackExprClass:
             emit_warning(c, stmt->getBeginLoc(), "TODO handle C SizeOfPackExprClass");
             return ErrorUnexpected;
-        case clang::Stmt::StmtExprClass:
-            emit_warning(c, stmt->getBeginLoc(), "TODO handle C StmtExprClass");
-            return ErrorUnexpected;
         case clang::Stmt::SubstNonTypeTemplateParmExprClass:
             emit_warning(c, stmt->getBeginLoc(), "TODO handle C SubstNonTypeTemplateParmExprClass");
             return ErrorUnexpected;
diff --git a/std/array_list.zig b/std/array_list.zig
index 2c9da50972..b173dab747 100644
--- a/std/array_list.zig
+++ b/std/array_list.zig
@@ -80,7 +80,7 @@ pub fn AlignedArrayList(comptime T: type, comptime A: u29) type {
         /// The caller owns the returned memory. ArrayList becomes empty.
         pub fn toOwnedSlice(self: *Self) []align(A) T {
             const allocator = self.allocator;
-            const result = allocator.alignedShrink(T, A, self.items, self.len);
+            const result = allocator.shrink(self.items, self.len);
             self.* = init(allocator);
             return result;
         }
@@ -144,6 +144,9 @@ pub fn AlignedArrayList(comptime T: type, comptime A: u29) type {
         pub fn shrink(self: *Self, new_len: usize) void {
             assert(new_len <= self.len);
             self.len = new_len;
+            self.items = self.allocator.realloc(self.items, new_len) catch |e| switch (e) {
+                error.OutOfMemory => return, // no problem, capacity is still correct then.
+            };
         }
 
         pub fn ensureCapacity(self: *Self, new_capacity: usize) !void {
@@ -153,7 +156,7 @@ pub fn AlignedArrayList(comptime T: type, comptime A: u29) type {
                 better_capacity += better_capacity / 2 + 8;
                 if (better_capacity >= new_capacity) break;
             }
-            self.items = try self.allocator.alignedRealloc(T, A, self.items, better_capacity);
+            self.items = try self.allocator.realloc(self.items, better_capacity);
         }
 
         pub fn addOne(self: *Self) !*T {
diff --git a/std/buffer.zig b/std/buffer.zig
index 8706dfc320..32228af558 100644
--- a/std/buffer.zig
+++ b/std/buffer.zig
@@ -50,7 +50,7 @@ pub const Buffer = struct {
     /// is safe to `deinit`.
     pub fn toOwnedSlice(self: *Buffer) []u8 {
         const allocator = self.list.allocator;
-        const result = allocator.shrink(u8, self.list.items, self.len());
+        const result = allocator.shrink(self.list.items, self.len());
         self.* = initNull(allocator);
         return result;
     }
diff --git a/std/build.zig b/std/build.zig
index 6d1749eca9..558372b788 100644
--- a/std/build.zig
+++ b/std/build.zig
@@ -157,10 +157,6 @@ pub const Builder = struct {
         return LibExeObjStep.createExecutable(self, name, root_src, false);
     }
 
-    pub fn addStaticExecutable(self: *Builder, name: []const u8, root_src: ?[]const u8) *LibExeObjStep {
-        return LibExeObjStep.createExecutable(self, name, root_src, true);
-    }
-
     pub fn addObject(self: *Builder, name: []const u8, root_src: ?[]const u8) *LibExeObjStep {
         return LibExeObjStep.createObject(self, name, root_src);
     }
@@ -376,6 +372,10 @@ pub const Builder = struct {
                     .abi = builtin.abi,
                 }).linuxTriple(self.allocator);
 
+                // TODO: $ ld --verbose | grep SEARCH_DIR
+                // the output contains some paths that end with lib64, maybe include them too?
+                // also, what is the best possible order of things?
+
                 self.addNativeSystemIncludeDir("/usr/local/include");
                 self.addNativeSystemLibPath("/usr/local/lib");
 
@@ -384,6 +384,11 @@ pub const Builder = struct {
 
                 self.addNativeSystemIncludeDir("/usr/include");
                 self.addNativeSystemLibPath("/usr/lib");
+
+                // example: on a 64-bit debian-based linux distro, with zlib installed from apt:
+                // zlib.h is in /usr/include (added above)
+                // libz.so.1 is in /lib/x86_64-linux-gnu (added here)
+                self.addNativeSystemLibPath(self.fmt("/lib/{}", triple));
             },
         }
     }
@@ -920,7 +925,7 @@ pub const LibExeObjStep = struct {
     target: Target,
     linker_script: ?[]const u8,
     out_filename: []const u8,
-    static: bool,
+    is_dynamic: bool,
     version: Version,
     build_mode: builtin.Mode,
     kind: Kind,
@@ -975,13 +980,13 @@ pub const LibExeObjStep = struct {
 
     pub fn createSharedLibrary(builder: *Builder, name: []const u8, root_src: ?[]const u8, ver: Version) *LibExeObjStep {
         const self = builder.allocator.create(LibExeObjStep) catch unreachable;
-        self.* = initExtraArgs(builder, name, root_src, Kind.Lib, false, ver);
+        self.* = initExtraArgs(builder, name, root_src, Kind.Lib, true, ver);
         return self;
     }
 
     pub fn createStaticLibrary(builder: *Builder, name: []const u8, root_src: ?[]const u8) *LibExeObjStep {
         const self = builder.allocator.create(LibExeObjStep) catch unreachable;
-        self.* = initExtraArgs(builder, name, root_src, Kind.Lib, true, builder.version(0, 0, 0));
+        self.* = initExtraArgs(builder, name, root_src, Kind.Lib, false, builder.version(0, 0, 0));
         return self;
     }
 
@@ -991,9 +996,9 @@ pub const LibExeObjStep = struct {
         return self;
     }
 
-    pub fn createExecutable(builder: *Builder, name: []const u8, root_src: ?[]const u8, static: bool) *LibExeObjStep {
+    pub fn createExecutable(builder: *Builder, name: []const u8, root_src: ?[]const u8, is_dynamic: bool) *LibExeObjStep {
         const self = builder.allocator.create(LibExeObjStep) catch unreachable;
-        self.* = initExtraArgs(builder, name, root_src, Kind.Exe, static, builder.version(0, 0, 0));
+        self.* = initExtraArgs(builder, name, root_src, Kind.Exe, is_dynamic, builder.version(0, 0, 0));
         return self;
     }
 
@@ -1003,14 +1008,14 @@ pub const LibExeObjStep = struct {
         return self;
     }
 
-    fn initExtraArgs(builder: *Builder, name: []const u8, root_src: ?[]const u8, kind: Kind, static: bool, ver: Version) LibExeObjStep {
+    fn initExtraArgs(builder: *Builder, name: []const u8, root_src: ?[]const u8, kind: Kind, is_dynamic: bool, ver: Version) LibExeObjStep {
         var self = LibExeObjStep{
             .strip = false,
             .builder = builder,
             .verbose_link = false,
             .verbose_cc = false,
             .build_mode = builtin.Mode.Debug,
-            .static = static,
+            .is_dynamic = is_dynamic,
             .kind = kind,
             .root_src = root_src,
             .name = name,
@@ -1057,7 +1062,7 @@ pub const LibExeObjStep = struct {
                 self.out_filename = self.builder.fmt("test{}", self.target.exeFileExt());
             },
             Kind.Lib => {
-                if (self.static) {
+                if (!self.is_dynamic) {
                     switch (self.target.getOs()) {
                         builtin.Os.windows => {
                             self.out_filename = self.builder.fmt("{}.lib", self.name);
@@ -1147,7 +1152,7 @@ pub const LibExeObjStep = struct {
     }
 
     pub fn isDynamicLibrary(self: *LibExeObjStep) bool {
-        return self.kind == Kind.Lib and !self.static;
+        return self.kind == Kind.Lib and self.is_dynamic;
     }
 
     pub fn linkSystemLibrary(self: *LibExeObjStep, name: []const u8) void {
@@ -1333,7 +1338,7 @@ pub const LibExeObjStep = struct {
                         try zig_args.append(other.getOutputPath());
                     },
                     LibExeObjStep.Kind.Lib => {
-                        if (other.static or self.target.isWindows()) {
+                        if (!other.is_dynamic or self.target.isWindows()) {
                             try zig_args.append("--object");
                             try zig_args.append(other.getOutputLibPath());
                         } else {
@@ -1413,7 +1418,7 @@ pub const LibExeObjStep = struct {
         zig_args.append("--name") catch unreachable;
         zig_args.append(self.name) catch unreachable;
 
-        if (self.kind == Kind.Lib and !self.static) {
+        if (self.kind == Kind.Lib and self.is_dynamic) {
             zig_args.append("--ver-major") catch unreachable;
             zig_args.append(builder.fmt("{}", self.version.major)) catch unreachable;
 
@@ -1423,8 +1428,8 @@ pub const LibExeObjStep = struct {
             zig_args.append("--ver-patch") catch unreachable;
             zig_args.append(builder.fmt("{}", self.version.patch)) catch unreachable;
         }
-        if (self.static) {
-            zig_args.append("--static") catch unreachable;
+        if (self.is_dynamic) {
+            try zig_args.append("-dynamic");
         }
 
         switch (self.target) {
@@ -1531,7 +1536,7 @@ pub const LibExeObjStep = struct {
             self.output_dir = os.path.dirname(output_path).?;
         }
 
-        if (self.kind == Kind.Lib and !self.static and self.target.wantSharedLibSymLinks()) {
+        if (self.kind == Kind.Lib and self.is_dynamic and self.target.wantSharedLibSymLinks()) {
             try doAtomicSymLinks(builder.allocator, self.getOutputPath(), self.major_only_filename, self.name_only_filename);
         }
     }
@@ -1677,7 +1682,7 @@ const InstallArtifactStep = struct {
         };
         self.step.dependOn(&artifact.step);
         builder.pushInstalledFile(self.dest_file);
-        if (self.artifact.kind == LibExeObjStep.Kind.Lib and !self.artifact.static) {
+        if (self.artifact.kind == LibExeObjStep.Kind.Lib and self.artifact.is_dynamic) {
             builder.pushInstalledFile(os.path.join(
                 builder.allocator,
                 [][]const u8{ builder.lib_dir, artifact.major_only_filename },
@@ -1700,11 +1705,11 @@ const InstallArtifactStep = struct {
                 LibExeObjStep.Kind.Obj => unreachable,
                 LibExeObjStep.Kind.Test => unreachable,
                 LibExeObjStep.Kind.Exe => u32(0o755),
-                LibExeObjStep.Kind.Lib => if (self.artifact.static) u32(0o666) else u32(0o755),
+                LibExeObjStep.Kind.Lib => if (!self.artifact.is_dynamic) u32(0o666) else u32(0o755),
             },
         };
         try builder.copyFileMode(self.artifact.getOutputPath(), self.dest_file, mode);
-        if (self.artifact.kind == LibExeObjStep.Kind.Lib and !self.artifact.static) {
+        if (self.artifact.isDynamicLibrary()) {
             try doAtomicSymLinks(builder.allocator, self.dest_file, self.artifact.major_only_filename, self.artifact.name_only_filename);
         }
     }
diff --git a/std/c.zig b/std/c.zig
index c7c8a9c550..41ec6a3569 100644
--- a/std/c.zig
+++ b/std/c.zig
@@ -7,9 +7,8 @@ pub use switch (builtin.os) {
     Os.macosx, Os.ios => @import("c/darwin.zig"),
     Os.freebsd => @import("c/freebsd.zig"),
     Os.netbsd => @import("c/netbsd.zig"),
-    else => empty_import,
+    else => struct {},
 };
-const empty_import = @import("empty.zig");
 
 // TODO https://github.com/ziglang/zig/issues/265 on this whole file
 
@@ -54,7 +53,7 @@ pub extern "c" fn rmdir(path: [*]const u8) c_int;
 
 pub extern "c" fn aligned_alloc(alignment: usize, size: usize) ?*c_void;
 pub extern "c" fn malloc(usize) ?*c_void;
-pub extern "c" fn realloc(*c_void, usize) ?*c_void;
+pub extern "c" fn realloc(?*c_void, usize) ?*c_void;
 pub extern "c" fn free(*c_void) void;
 pub extern "c" fn posix_memalign(memptr: **c_void, alignment: usize, size: usize) c_int;
 
diff --git a/std/debug.zig b/std/debug.zig
index df35a8e773..b666e816af 100644
--- a/std/debug.zig
+++ b/std/debug.zig
@@ -1072,7 +1072,7 @@ fn openSelfDebugInfoMacOs(allocator: *mem.Allocator) !DebugInfo {
         .n_value = symbols_buf[symbol_index - 1].nlist.n_value + last_len,
     };
 
-    const symbols = allocator.shrink(MachoSymbol, symbols_buf, symbol_index);
+    const symbols = allocator.shrink(symbols_buf, symbol_index);
 
     // Even though lld emits symbols in ascending order, this debug code
     // should work for programs linked in any valid way.
diff --git a/std/debug/failing_allocator.zig b/std/debug/failing_allocator.zig
index 82093dffda..7a89460513 100644
--- a/std/debug/failing_allocator.zig
+++ b/std/debug/failing_allocator.zig
@@ -21,44 +21,37 @@ pub const FailingAllocator = struct {
             .freed_bytes = 0,
             .deallocations = 0,
             .allocator = mem.Allocator{
-                .allocFn = alloc,
                 .reallocFn = realloc,
-                .freeFn = free,
+                .shrinkFn = shrink,
             },
         };
     }
 
-    fn alloc(allocator: *mem.Allocator, n: usize, alignment: u29) ![]u8 {
+    fn realloc(allocator: *mem.Allocator, old_mem: []u8, old_align: u29, new_size: usize, new_align: u29) ![]u8 {
         const self = @fieldParentPtr(FailingAllocator, "allocator", allocator);
         if (self.index == self.fail_index) {
             return error.OutOfMemory;
         }
-        const result = try self.internal_allocator.allocFn(self.internal_allocator, n, alignment);
-        self.allocated_bytes += result.len;
-        self.index += 1;
-        return result;
-    }
-
-    fn realloc(allocator: *mem.Allocator, old_mem: []u8, new_size: usize, alignment: u29) ![]u8 {
-        const self = @fieldParentPtr(FailingAllocator, "allocator", allocator);
+        const result = try self.internal_allocator.reallocFn(
+            self.internal_allocator,
+            old_mem,
+            old_align,
+            new_size,
+            new_align,
+        );
         if (new_size <= old_mem.len) {
             self.freed_bytes += old_mem.len - new_size;
-            return self.internal_allocator.reallocFn(self.internal_allocator, old_mem, new_size, alignment);
+        } else {
+            self.allocated_bytes += new_size - old_mem.len;
         }
-        if (self.index == self.fail_index) {
-            return error.OutOfMemory;
-        }
-        const result = try self.internal_allocator.reallocFn(self.internal_allocator, old_mem, new_size, alignment);
-        self.allocated_bytes += new_size - old_mem.len;
         self.deallocations += 1;
         self.index += 1;
         return result;
     }
 
-    fn free(allocator: *mem.Allocator, bytes: []u8) void {
+    fn shrink(allocator: *mem.Allocator, old_mem: []u8, old_align: u29, new_size: usize, new_align: u29) []u8 {
         const self = @fieldParentPtr(FailingAllocator, "allocator", allocator);
-        self.freed_bytes += bytes.len;
-        self.deallocations += 1;
-        return self.internal_allocator.freeFn(self.internal_allocator, bytes);
+        self.freed_bytes += old_mem.len - new_size;
+        return self.internal_allocator.shrinkFn(self.internal_allocator, old_mem, old_align, new_size, new_align);
     }
 };
diff --git a/std/empty.zig b/std/empty.zig
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/std/fmt.zig b/std/fmt.zig
index e01ba2033b..202175ebd8 100644
--- a/std/fmt.zig
+++ b/std/fmt.zig
@@ -112,10 +112,6 @@ pub fn formatType(
     output: fn (@typeOf(context), []const u8) Errors!void,
 ) Errors!void {
     const T = @typeOf(value);
-    if (T == anyerror) {
-        try output(context, "error.");
-        return output(context, @errorName(value));
-    }
     switch (@typeInfo(T)) {
         builtin.TypeId.ComptimeInt, builtin.TypeId.Int, builtin.TypeId.Float => {
             return formatValue(value, fmt, context, Errors, output);
diff --git a/std/heap.zig b/std/heap.zig
index 0ea16c4e78..dd5cfa4cd7 100644
--- a/std/heap.zig
+++ b/std/heap.zig
@@ -13,30 +13,21 @@ const Allocator = mem.Allocator;
 
 pub const c_allocator = &c_allocator_state;
 var c_allocator_state = Allocator{
-    .allocFn = cAlloc,
     .reallocFn = cRealloc,
-    .freeFn = cFree,
+    .shrinkFn = cShrink,
 };
 
-fn cAlloc(self: *Allocator, n: usize, alignment: u29) ![]u8 {
-    assert(alignment <= @alignOf(c_longdouble));
-    return if (c.malloc(n)) |buf| @ptrCast([*]u8, buf)[0..n] else error.OutOfMemory;
+fn cRealloc(self: *Allocator, old_mem: []u8, old_align: u29, new_size: usize, new_align: u29) ![]u8 {
+    assert(new_align <= @alignOf(c_longdouble));
+    const old_ptr = if (old_mem.len == 0) null else @ptrCast(*c_void, old_mem.ptr);
+    const buf = c.realloc(old_ptr, new_size) orelse return error.OutOfMemory;
+    return @ptrCast([*]u8, buf)[0..new_size];
 }
 
-fn cRealloc(self: *Allocator, old_mem: []u8, new_size: usize, alignment: u29) ![]u8 {
+fn cShrink(self: *Allocator, old_mem: []u8, old_align: u29, new_size: usize, new_align: u29) []u8 {
     const old_ptr = @ptrCast(*c_void, old_mem.ptr);
-    if (c.realloc(old_ptr, new_size)) |buf| {
-        return @ptrCast([*]u8, buf)[0..new_size];
-    } else if (new_size <= old_mem.len) {
-        return old_mem[0..new_size];
-    } else {
-        return error.OutOfMemory;
-    }
-}
-
-fn cFree(self: *Allocator, old_mem: []u8) void {
-    const old_ptr = @ptrCast(*c_void, old_mem.ptr);
-    c.free(old_ptr);
+    const buf = c.realloc(old_ptr, new_size) orelse return old_mem[0..new_size];
+    return @ptrCast([*]u8, buf)[0..new_size];
 }
 
 /// This allocator makes a syscall directly for every allocation and free.
@@ -50,9 +41,8 @@ pub const DirectAllocator = struct {
     pub fn init() DirectAllocator {
         return DirectAllocator{
             .allocator = Allocator{
-                .allocFn = alloc,
                 .reallocFn = realloc,
-                .freeFn = free,
+                .shrinkFn = shrink,
             },
             .heap_handle = if (builtin.os == Os.windows) null else {},
         };
@@ -116,62 +106,64 @@ pub const DirectAllocator = struct {
         }
     }
 
-    fn realloc(allocator: *Allocator, old_mem: []u8, new_size: usize, alignment: u29) ![]u8 {
-        const self = @fieldParentPtr(DirectAllocator, "allocator", allocator);
-
+    fn shrink(allocator: *Allocator, old_mem: []u8, old_align: u29, new_size: usize, new_align: u29) []u8 {
         switch (builtin.os) {
             Os.linux, Os.macosx, Os.ios, Os.freebsd, Os.netbsd => {
-                if (new_size <= old_mem.len) {
-                    const base_addr = @ptrToInt(old_mem.ptr);
-                    const old_addr_end = base_addr + old_mem.len;
-                    const new_addr_end = base_addr + new_size;
-                    const new_addr_end_rounded = mem.alignForward(new_addr_end, os.page_size);
-                    if (old_addr_end > new_addr_end_rounded) {
-                        _ = os.posix.munmap(new_addr_end_rounded, old_addr_end - new_addr_end_rounded);
-                    }
-                    return old_mem[0..new_size];
+                const base_addr = @ptrToInt(old_mem.ptr);
+                const old_addr_end = base_addr + old_mem.len;
+                const new_addr_end = base_addr + new_size;
+                const new_addr_end_rounded = mem.alignForward(new_addr_end, os.page_size);
+                if (old_addr_end > new_addr_end_rounded) {
+                    _ = os.posix.munmap(new_addr_end_rounded, old_addr_end - new_addr_end_rounded);
                 }
-
-                const result = try alloc(allocator, new_size, alignment);
-                mem.copy(u8, result, old_mem);
-                return result;
+                return old_mem[0..new_size];
             },
-            Os.windows => {
+            Os.windows => return realloc(allocator, old_mem, old_align, new_size, new_align) catch {
                 const old_adjusted_addr = @ptrToInt(old_mem.ptr);
                 const old_record_addr = old_adjusted_addr + old_mem.len;
                 const root_addr = @intToPtr(*align(1) usize, old_record_addr).*;
                 const old_ptr = @intToPtr(*c_void, root_addr);
-                const amt = new_size + alignment + @sizeOf(usize);
-                const new_ptr = os.windows.HeapReAlloc(self.heap_handle.?, 0, old_ptr, amt) orelse blk: {
-                    if (new_size > old_mem.len) return error.OutOfMemory;
-                    const new_record_addr = old_record_addr - new_size + old_mem.len;
-                    @intToPtr(*align(1) usize, new_record_addr).* = root_addr;
-                    return old_mem[0..new_size];
-                };
-                const offset = old_adjusted_addr - root_addr;
-                const new_root_addr = @ptrToInt(new_ptr);
-                const new_adjusted_addr = new_root_addr + offset;
-                assert(new_adjusted_addr % alignment == 0);
-                const new_record_addr = new_adjusted_addr + new_size;
-                @intToPtr(*align(1) usize, new_record_addr).* = new_root_addr;
-                return @intToPtr([*]u8, new_adjusted_addr)[0..new_size];
+                const new_record_addr = old_record_addr - new_size + old_mem.len;
+                @intToPtr(*align(1) usize, new_record_addr).* = root_addr;
+                return old_mem[0..new_size];
             },
             else => @compileError("Unsupported OS"),
         }
     }
 
-    fn free(allocator: *Allocator, bytes: []u8) void {
-        const self = @fieldParentPtr(DirectAllocator, "allocator", allocator);
-
+    fn realloc(allocator: *Allocator, old_mem: []u8, old_align: u29, new_size: usize, new_align: u29) ![]u8 {
         switch (builtin.os) {
             Os.linux, Os.macosx, Os.ios, Os.freebsd, Os.netbsd => {
-                _ = os.posix.munmap(@ptrToInt(bytes.ptr), bytes.len);
+                if (new_size <= old_mem.len and new_align <= old_align) {
+                    return shrink(allocator, old_mem, old_align, new_size, new_align);
+                }
+                const result = try alloc(allocator, new_size, new_align);
+                mem.copy(u8, result, old_mem);
+                _ = os.posix.munmap(@ptrToInt(old_mem.ptr), old_mem.len);
+                return result;
             },
             Os.windows => {
-                const record_addr = @ptrToInt(bytes.ptr) + bytes.len;
-                const root_addr = @intToPtr(*align(1) usize, record_addr).*;
-                const ptr = @intToPtr(*c_void, root_addr);
-                _ = os.windows.HeapFree(self.heap_handle.?, 0, ptr);
+                if (old_mem.len == 0) return alloc(allocator, new_size, new_align);
+
+                const self = @fieldParentPtr(DirectAllocator, "allocator", allocator);
+                const old_adjusted_addr = @ptrToInt(old_mem.ptr);
+                const old_record_addr = old_adjusted_addr + old_mem.len;
+                const root_addr = @intToPtr(*align(1) usize, old_record_addr).*;
+                const old_ptr = @intToPtr(*c_void, root_addr);
+                const amt = new_size + new_align + @sizeOf(usize);
+                const new_ptr = os.windows.HeapReAlloc(
+                    self.heap_handle.?,
+                    0,
+                    old_ptr,
+                    amt,
+                ) orelse return error.OutOfMemory;
+                const offset = old_adjusted_addr - root_addr;
+                const new_root_addr = @ptrToInt(new_ptr);
+                const new_adjusted_addr = new_root_addr + offset;
+                assert(new_adjusted_addr % new_align == 0);
+                const new_record_addr = new_adjusted_addr + new_size;
+                @intToPtr(*align(1) usize, new_record_addr).* = new_root_addr;
+                return @intToPtr([*]u8, new_adjusted_addr)[0..new_size];
             },
             else => @compileError("Unsupported OS"),
         }
@@ -192,9 +184,8 @@ pub const ArenaAllocator = struct {
     pub fn init(child_allocator: *Allocator) ArenaAllocator {
         return ArenaAllocator{
             .allocator = Allocator{
-                .allocFn = alloc,
                 .reallocFn = realloc,
-                .freeFn = free,
+                .shrinkFn = shrink,
             },
             .child_allocator = child_allocator,
             .buffer_list = std.LinkedList([]u8).init(),
@@ -253,17 +244,20 @@ pub const ArenaAllocator = struct {
         }
     }
 
-    fn realloc(allocator: *Allocator, old_mem: []u8, new_size: usize, alignment: u29) ![]u8 {
-        if (new_size <= old_mem.len) {
-            return old_mem[0..new_size];
+    fn realloc(allocator: *Allocator, old_mem: []u8, old_align: u29, new_size: usize, new_align: u29) ![]u8 {
+        if (new_size <= old_mem.len and new_align <= new_size) {
+            // We can't do anything with the memory, so tell the client to keep it.
+            return error.OutOfMemory;
         } else {
-            const result = try alloc(allocator, new_size, alignment);
+            const result = try alloc(allocator, new_size, new_align);
             mem.copy(u8, result, old_mem);
             return result;
         }
     }
 
-    fn free(allocator: *Allocator, bytes: []u8) void {}
+    fn shrink(allocator: *Allocator, old_mem: []u8, old_align: u29, new_size: usize, new_align: u29) []u8 {
+        return old_mem[0..new_size];
+    }
 };
 
 pub const FixedBufferAllocator = struct {
@@ -274,9 +268,8 @@ pub const FixedBufferAllocator = struct {
     pub fn init(buffer: []u8) FixedBufferAllocator {
         return FixedBufferAllocator{
             .allocator = Allocator{
-                .allocFn = alloc,
                 .reallocFn = realloc,
-                .freeFn = free,
+                .shrinkFn = shrink,
             },
             .buffer = buffer,
             .end_index = 0,
@@ -298,26 +291,31 @@ pub const FixedBufferAllocator = struct {
         return result;
     }
 
-    fn realloc(allocator: *Allocator, old_mem: []u8, new_size: usize, alignment: u29) ![]u8 {
+    fn realloc(allocator: *Allocator, old_mem: []u8, old_align: u29, new_size: usize, new_align: u29) ![]u8 {
         const self = @fieldParentPtr(FixedBufferAllocator, "allocator", allocator);
         assert(old_mem.len <= self.end_index);
-        if (new_size <= old_mem.len) {
-            return old_mem[0..new_size];
-        } else if (old_mem.ptr == self.buffer.ptr + self.end_index - old_mem.len) {
+        if (old_mem.ptr == self.buffer.ptr + self.end_index - old_mem.len and
+            mem.alignForward(@ptrToInt(old_mem.ptr), new_align) == @ptrToInt(old_mem.ptr))
+        {
             const start_index = self.end_index - old_mem.len;
             const new_end_index = start_index + new_size;
             if (new_end_index > self.buffer.len) return error.OutOfMemory;
             const result = self.buffer[start_index..new_end_index];
             self.end_index = new_end_index;
             return result;
+        } else if (new_size <= old_mem.len and new_align <= old_align) {
+            // We can't do anything with the memory, so tell the client to keep it.
+            return error.OutOfMemory;
         } else {
-            const result = try alloc(allocator, new_size, alignment);
+            const result = try alloc(allocator, new_size, new_align);
             mem.copy(u8, result, old_mem);
             return result;
         }
     }
 
-    fn free(allocator: *Allocator, bytes: []u8) void {}
+    fn shrink(allocator: *Allocator, old_mem: []u8, old_align: u29, new_size: usize, new_align: u29) []u8 {
+        return old_mem[0..new_size];
+    }
 };
 
 pub const ThreadSafeFixedBufferAllocator = blk: {
@@ -333,9 +331,8 @@ pub const ThreadSafeFixedBufferAllocator = blk: {
             pub fn init(buffer: []u8) ThreadSafeFixedBufferAllocator {
                 return ThreadSafeFixedBufferAllocator{
                     .allocator = Allocator{
-                        .allocFn = alloc,
                         .reallocFn = realloc,
-                        .freeFn = free,
+                        .shrinkFn = shrink,
                     },
                     .buffer = buffer,
                     .end_index = 0,
@@ -357,17 +354,20 @@ pub const ThreadSafeFixedBufferAllocator = blk: {
                 }
             }
 
-            fn realloc(allocator: *Allocator, old_mem: []u8, new_size: usize, alignment: u29) ![]u8 {
-                if (new_size <= old_mem.len) {
-                    return old_mem[0..new_size];
+            fn realloc(allocator: *Allocator, old_mem: []u8, old_align: u29, new_size: usize, new_align: u29) ![]u8 {
+                if (new_size <= old_mem.len and new_align <= old_align) {
+                    // We can't do anything useful with the memory, tell the client to keep it.
+                    return error.OutOfMemory;
                 } else {
-                    const result = try alloc(allocator, new_size, alignment);
+                    const result = try alloc(allocator, new_size, new_align);
                     mem.copy(u8, result, old_mem);
                     return result;
                 }
             }
 
-            fn free(allocator: *Allocator, bytes: []u8) void {}
+            fn shrink(allocator: *Allocator, old_mem: []u8, old_align: u29, new_size: usize, new_align: u29) []u8 {
+                return old_mem[0..new_size];
+            }
         };
     }
 };
@@ -378,9 +378,8 @@ pub fn stackFallback(comptime size: usize, fallback_allocator: *Allocator) Stack
         .fallback_allocator = fallback_allocator,
         .fixed_buffer_allocator = undefined,
         .allocator = Allocator{
-            .allocFn = StackFallbackAllocator(size).alloc,
             .reallocFn = StackFallbackAllocator(size).realloc,
-            .freeFn = StackFallbackAllocator(size).free,
+            .shrinkFn = StackFallbackAllocator(size).shrink,
         },
     };
 }
@@ -399,13 +398,7 @@ pub fn StackFallbackAllocator(comptime size: usize) type {
             return &self.allocator;
         }
 
-        fn alloc(allocator: *Allocator, n: usize, alignment: u29) ![]u8 {
-            const self = @fieldParentPtr(Self, "allocator", allocator);
-            return FixedBufferAllocator.alloc(&self.fixed_buffer_allocator.allocator, n, alignment) catch
-                self.fallback_allocator.allocFn(self.fallback_allocator, n, alignment);
-        }
-
-        fn realloc(allocator: *Allocator, old_mem: []u8, new_size: usize, alignment: u29) ![]u8 {
+        fn realloc(allocator: *Allocator, old_mem: []u8, old_align: u29, new_size: usize, new_align: u29) ![]u8 {
             const self = @fieldParentPtr(Self, "allocator", allocator);
             const in_buffer = @ptrToInt(old_mem.ptr) >= @ptrToInt(&self.buffer) and
                 @ptrToInt(old_mem.ptr) < @ptrToInt(&self.buffer) + self.buffer.len;
@@ -413,37 +406,59 @@ pub fn StackFallbackAllocator(comptime size: usize) type {
                 return FixedBufferAllocator.realloc(
                     &self.fixed_buffer_allocator.allocator,
                     old_mem,
+                    old_align,
                     new_size,
-                    alignment,
+                    new_align,
                 ) catch {
-                    const result = try self.fallback_allocator.allocFn(
+                    const result = try self.fallback_allocator.reallocFn(
                         self.fallback_allocator,
+                        ([*]u8)(undefined)[0..0],
+                        undefined,
                         new_size,
-                        alignment,
+                        new_align,
                     );
                     mem.copy(u8, result, old_mem);
                     return result;
                 };
             }
-            return self.fallback_allocator.reallocFn(self.fallback_allocator, old_mem, new_size, alignment);
+            return self.fallback_allocator.reallocFn(
+                self.fallback_allocator,
+                old_mem,
+                old_align,
+                new_size,
+                new_align,
+            );
         }
 
-        fn free(allocator: *Allocator, bytes: []u8) void {
+        fn shrink(allocator: *Allocator, old_mem: []u8, old_align: u29, new_size: usize, new_align: u29) []u8 {
             const self = @fieldParentPtr(Self, "allocator", allocator);
-            const in_buffer = @ptrToInt(bytes.ptr) >= @ptrToInt(&self.buffer) and
-                @ptrToInt(bytes.ptr) < @ptrToInt(&self.buffer) + self.buffer.len;
-            if (!in_buffer) {
-                return self.fallback_allocator.freeFn(self.fallback_allocator, bytes);
+            const in_buffer = @ptrToInt(old_mem.ptr) >= @ptrToInt(&self.buffer) and
+                @ptrToInt(old_mem.ptr) < @ptrToInt(&self.buffer) + self.buffer.len;
+            if (in_buffer) {
+                return FixedBufferAllocator.shrink(
+                    &self.fixed_buffer_allocator.allocator,
+                    old_mem,
+                    old_align,
+                    new_size,
+                    new_align,
+                );
             }
+            return self.fallback_allocator.shrinkFn(
+                self.fallback_allocator,
+                old_mem,
+                old_align,
+                new_size,
+                new_align,
+            );
         }
     };
 }
 
 test "c_allocator" {
     if (builtin.link_libc) {
-        var slice = c_allocator.alloc(u8, 50) catch return;
+        var slice = try c_allocator.alloc(u8, 50);
         defer c_allocator.free(slice);
-        slice = c_allocator.realloc(u8, slice, 100) catch return;
+        slice = try c_allocator.realloc(slice, 100);
     }
 }
 
@@ -486,10 +501,10 @@ test "FixedBufferAllocator Reuse memory on realloc" {
 
         var slice0 = try fixed_buffer_allocator.allocator.alloc(u8, 5);
         testing.expect(slice0.len == 5);
-        var slice1 = try fixed_buffer_allocator.allocator.realloc(u8, slice0, 10);
+        var slice1 = try fixed_buffer_allocator.allocator.realloc(slice0, 10);
         testing.expect(slice1.ptr == slice0.ptr);
         testing.expect(slice1.len == 10);
-        testing.expectError(error.OutOfMemory, fixed_buffer_allocator.allocator.realloc(u8, slice1, 11));
+        testing.expectError(error.OutOfMemory, fixed_buffer_allocator.allocator.realloc(slice1, 11));
     }
     // check that we don't re-use the memory if it's not the most recent block
     {
@@ -499,7 +514,7 @@ test "FixedBufferAllocator Reuse memory on realloc" {
         slice0[0] = 1;
         slice0[1] = 2;
         var slice1 = try fixed_buffer_allocator.allocator.alloc(u8, 2);
-        var slice2 = try fixed_buffer_allocator.allocator.realloc(u8, slice0, 4);
+        var slice2 = try fixed_buffer_allocator.allocator.realloc(slice0, 4);
         testing.expect(slice0.ptr != slice2.ptr);
         testing.expect(slice1.ptr != slice2.ptr);
         testing.expect(slice2[0] == 1);
@@ -523,7 +538,7 @@ fn testAllocator(allocator: *mem.Allocator) !void {
         item.*.* = @intCast(i32, i);
     }
 
-    slice = try allocator.realloc(*i32, slice, 20000);
+    slice = try allocator.realloc(slice, 20000);
     testing.expect(slice.len == 20000);
 
     for (slice[0..100]) |item, i| {
@@ -531,13 +546,13 @@ fn testAllocator(allocator: *mem.Allocator) !void {
         allocator.destroy(item);
     }
 
-    slice = try allocator.realloc(*i32, slice, 50);
+    slice = allocator.shrink(slice, 50);
     testing.expect(slice.len == 50);
-    slice = try allocator.realloc(*i32, slice, 25);
+    slice = allocator.shrink(slice, 25);
     testing.expect(slice.len == 25);
-    slice = try allocator.realloc(*i32, slice, 0);
+    slice = allocator.shrink(slice, 0);
     testing.expect(slice.len == 0);
-    slice = try allocator.realloc(*i32, slice, 10);
+    slice = try allocator.realloc(slice, 10);
     testing.expect(slice.len == 10);
 
     allocator.free(slice);
@@ -548,22 +563,22 @@ fn testAllocatorAligned(allocator: *mem.Allocator, comptime alignment: u29) !voi
     var slice = try allocator.alignedAlloc(u8, alignment, 10);
     testing.expect(slice.len == 10);
     // grow
-    slice = try allocator.alignedRealloc(u8, alignment, slice, 100);
+    slice = try allocator.realloc(slice, 100);
     testing.expect(slice.len == 100);
     // shrink
-    slice = try allocator.alignedRealloc(u8, alignment, slice, 10);
+    slice = allocator.shrink(slice, 10);
     testing.expect(slice.len == 10);
     // go to zero
-    slice = try allocator.alignedRealloc(u8, alignment, slice, 0);
+    slice = allocator.shrink(slice, 0);
     testing.expect(slice.len == 0);
     // realloc from zero
-    slice = try allocator.alignedRealloc(u8, alignment, slice, 100);
+    slice = try allocator.realloc(slice, 100);
     testing.expect(slice.len == 100);
     // shrink with shrink
-    slice = allocator.alignedShrink(u8, alignment, slice, 10);
+    slice = allocator.shrink(slice, 10);
     testing.expect(slice.len == 10);
     // shrink to zero
-    slice = allocator.alignedShrink(u8, alignment, slice, 0);
+    slice = allocator.shrink(slice, 0);
     testing.expect(slice.len == 0);
 }
 
@@ -578,19 +593,19 @@ fn testAllocatorLargeAlignment(allocator: *mem.Allocator) mem.Allocator.Error!vo
     var align_mask: usize = undefined;
     _ = @shlWithOverflow(usize, ~usize(0), USizeShift(@ctz(large_align)), &align_mask);
 
-    var slice = try allocator.allocFn(allocator, 500, large_align);
+    var slice = try allocator.alignedAlloc(u8, large_align, 500);
     testing.expect(@ptrToInt(slice.ptr) & align_mask == @ptrToInt(slice.ptr));
 
-    slice = try allocator.reallocFn(allocator, slice, 100, large_align);
+    slice = allocator.shrink(slice, 100);
     testing.expect(@ptrToInt(slice.ptr) & align_mask == @ptrToInt(slice.ptr));
 
-    slice = try allocator.reallocFn(allocator, slice, 5000, large_align);
+    slice = try allocator.realloc(slice, 5000);
     testing.expect(@ptrToInt(slice.ptr) & align_mask == @ptrToInt(slice.ptr));
 
-    slice = try allocator.reallocFn(allocator, slice, 10, large_align);
+    slice = allocator.shrink(slice, 10);
     testing.expect(@ptrToInt(slice.ptr) & align_mask == @ptrToInt(slice.ptr));
 
-    slice = try allocator.reallocFn(allocator, slice, 20000, large_align);
+    slice = try allocator.realloc(slice, 20000);
     testing.expect(@ptrToInt(slice.ptr) & align_mask == @ptrToInt(slice.ptr));
 
     allocator.free(slice);
diff --git a/std/math/big/int.zig b/std/math/big/int.zig
index 7fca4a147f..bf382f0021 100644
--- a/std/math/big/int.zig
+++ b/std/math/big/int.zig
@@ -60,7 +60,7 @@ pub const Int = struct {
             return;
         }
 
-        self.limbs = try self.allocator.realloc(Limb, self.limbs, capacity);
+        self.limbs = try self.allocator.realloc(self.limbs, capacity);
     }
 
     pub fn deinit(self: *Int) void {
diff --git a/std/mem.zig b/std/mem.zig
index 28f25dcbcd..9bf68698c9 100644
--- a/std/mem.zig
+++ b/std/mem.zig
@@ -11,31 +11,64 @@ const testing = std.testing;
 pub const Allocator = struct {
     pub const Error = error{OutOfMemory};
 
-    /// Allocate byte_count bytes and return them in a slice, with the
-    /// slice's pointer aligned at least to alignment bytes.
-    /// The returned newly allocated memory is undefined.
-    /// `alignment` is guaranteed to be >= 1
-    /// `alignment` is guaranteed to be a power of 2
-    allocFn: fn (self: *Allocator, byte_count: usize, alignment: u29) Error![]u8,
-
-    /// If `new_byte_count > old_mem.len`:
-    /// * `old_mem.len` is the same as what was returned from allocFn or reallocFn.
-    /// * alignment >= alignment of old_mem.ptr
-    ///
-    /// If `new_byte_count <= old_mem.len`:
-    /// * this function must return successfully.
-    /// * alignment <= alignment of old_mem.ptr
-    ///
+    /// Realloc is used to modify the size or alignment of an existing allocation,
+    /// as well as to provide the allocator with an opportunity to move an allocation
+    /// to a better location.
+    /// When the size/alignment is greater than the previous allocation, this function
+    /// returns `error.OutOfMemory` when the requested new allocation could not be granted.
+    /// When the size/alignment is less than or equal to the previous allocation,
+    /// this function returns `error.OutOfMemory` when the allocator decides the client
+    /// would be better off keeping the extra alignment/size. Clients will call
+    /// `shrinkFn` when they require the allocator to track a new alignment/size,
+    /// and so this function should only return success when the allocator considers
+    /// the reallocation desirable from the allocator's perspective.
+    /// As an example, `std.ArrayList` tracks a "capacity", and therefore can handle
+    /// reallocation failure, even when `new_n` <= `old_mem.len`. A `FixedBufferAllocator`
+    /// would always return `error.OutOfMemory` for `reallocFn` when the size/alignment
+    /// is less than or equal to the old allocation, because it cannot reclaim the memory,
+    /// and thus the `std.ArrayList` would be better off retaining its capacity.
     /// When `reallocFn` returns,
     /// `return_value[0..min(old_mem.len, new_byte_count)]` must be the same
     /// as `old_mem` was when `reallocFn` is called. The bytes of
     /// `return_value[old_mem.len..]` have undefined values.
-    /// `alignment` is guaranteed to be >= 1
-    /// `alignment` is guaranteed to be a power of 2
-    reallocFn: fn (self: *Allocator, old_mem: []u8, new_byte_count: usize, alignment: u29) Error![]u8,
+    /// The returned slice must have its pointer aligned at least to `new_alignment` bytes.
+    reallocFn: fn (
+        self: *Allocator,
+    // Guaranteed to be the same as what was returned from most recent call to
+    // `reallocFn` or `shrinkFn`.
+    // If `old_mem.len == 0` then this is a new allocation and `new_byte_count`
+    // is guaranteed to be >= 1.
+        old_mem: []u8,
+    // If `old_mem.len == 0` then this is `undefined`, otherwise:
+    // Guaranteed to be the same as what was returned from most recent call to
+    // `reallocFn` or `shrinkFn`.
+    // Guaranteed to be >= 1.
+    // Guaranteed to be a power of 2.
+        old_alignment: u29,
+    // If `new_byte_count` is 0 then this is a free and it is guaranteed that
+    // `old_mem.len != 0`.
+        new_byte_count: usize,
+    // Guaranteed to be >= 1.
+    // Guaranteed to be a power of 2.
+    // Returned slice's pointer must have this alignment.
+        new_alignment: u29,
+    ) Error![]u8,
 
-    /// Guaranteed: `old_mem.len` is the same as what was returned from `allocFn` or `reallocFn`
-    freeFn: fn (self: *Allocator, old_mem: []u8) void,
+    /// This function deallocates memory. It must succeed.
+    shrinkFn: fn (
+        self: *Allocator,
+    // Guaranteed to be the same as what was returned from most recent call to
+    // `reallocFn` or `shrinkFn`.
+        old_mem: []u8,
+    // Guaranteed to be the same as what was returned from most recent call to
+    // `reallocFn` or `shrinkFn`.
+        old_alignment: u29,
+    // Guaranteed to be less than or equal to `old_mem.len`.
+        new_byte_count: usize,
+    // If `new_byte_count == 0` then this is `undefined`, otherwise:
+    // Guaranteed to be less than or equal to `old_alignment`.
+        new_alignment: u29,
+    ) []u8,
 
     /// Call `destroy` with the result.
     /// Returns undefined memory.
@@ -47,20 +80,29 @@ pub const Allocator = struct {
 
     /// `ptr` should be the return value of `create`
     pub fn destroy(self: *Allocator, ptr: var) void {
+        const T = @typeOf(ptr).Child;
+        if (@sizeOf(T) == 0) return;
         const non_const_ptr = @intToPtr([*]u8, @ptrToInt(ptr));
-        self.freeFn(self, non_const_ptr[0..@sizeOf(@typeOf(ptr).Child)]);
+        const shrink_result = self.shrinkFn(self, non_const_ptr[0..@sizeOf(T)], @alignOf(T), 0, 1);
+        assert(shrink_result.len == 0);
     }
 
     pub fn alloc(self: *Allocator, comptime T: type, n: usize) ![]T {
         return self.alignedAlloc(T, @alignOf(T), n);
     }
 
-    pub fn alignedAlloc(self: *Allocator, comptime T: type, comptime alignment: u29, n: usize) ![]align(alignment) T {
+    pub fn alignedAlloc(
+        self: *Allocator,
+        comptime T: type,
+        comptime alignment: u29,
+        n: usize,
+    ) ![]align(alignment) T {
         if (n == 0) {
             return ([*]align(alignment) T)(undefined)[0..0];
         }
+
         const byte_count = math.mul(usize, @sizeOf(T), n) catch return Error.OutOfMemory;
-        const byte_slice = try self.allocFn(self, byte_count, alignment);
+        const byte_slice = try self.reallocFn(self, ([*]u8)(undefined)[0..0], undefined, byte_count, alignment);
         assert(byte_slice.len == byte_count);
         // This loop gets optimized out in ReleaseFast mode
         for (byte_slice) |*byte| {
@@ -69,62 +111,106 @@ pub const Allocator = struct {
         return @bytesToSlice(T, @alignCast(alignment, byte_slice));
     }
 
-    pub fn realloc(self: *Allocator, comptime T: type, old_mem: []T, n: usize) ![]T {
-        return self.alignedRealloc(T, @alignOf(T), @alignCast(@alignOf(T), old_mem), n);
+    /// This function requests a new byte size for an existing allocation,
+    /// which can be larger, smaller, or the same size as the old memory
+    /// allocation.
+    /// This function is preferred over `shrink`, because it can fail, even
+    /// when shrinking. This gives the allocator a chance to perform a
+    /// cheap shrink operation if possible, or otherwise return OutOfMemory,
+    /// indicating that the caller should keep their capacity, for example
+    /// in `std.ArrayList.shrink`.
+    /// If you need guaranteed success, call `shrink`.
+    /// If `new_n` is 0, this is the same as `free` and it always succeeds.
+    pub fn realloc(self: *Allocator, old_mem: var, new_n: usize) t: {
+        const Slice = @typeInfo(@typeOf(old_mem)).Pointer;
+        break :t Error![]align(Slice.alignment) Slice.child;
+    } {
+        const old_alignment = @typeInfo(@typeOf(old_mem)).Pointer.alignment;
+        return self.alignedRealloc(old_mem, old_alignment, new_n);
     }
 
-    pub fn alignedRealloc(self: *Allocator, comptime T: type, comptime alignment: u29, old_mem: []align(alignment) T, n: usize) ![]align(alignment) T {
+    /// This is the same as `realloc`, except caller may additionally request
+    /// a new alignment, which can be larger, smaller, or the same as the old
+    /// allocation.
+    pub fn alignedRealloc(
+        self: *Allocator,
+        old_mem: var,
+        comptime new_alignment: u29,
+        new_n: usize,
+    ) Error![]align(new_alignment) @typeInfo(@typeOf(old_mem)).Pointer.child {
+        const Slice = @typeInfo(@typeOf(old_mem)).Pointer;
+        const T = Slice.child;
         if (old_mem.len == 0) {
-            return self.alignedAlloc(T, alignment, n);
+            return self.alignedAlloc(T, new_alignment, new_n);
         }
-        if (n == 0) {
+        if (new_n == 0) {
             self.free(old_mem);
-            return ([*]align(alignment) T)(undefined)[0..0];
+            return ([*]align(new_alignment) T)(undefined)[0..0];
         }
 
         const old_byte_slice = @sliceToBytes(old_mem);
-        const byte_count = math.mul(usize, @sizeOf(T), n) catch return Error.OutOfMemory;
-        const byte_slice = try self.reallocFn(self, old_byte_slice, byte_count, alignment);
+        const byte_count = math.mul(usize, @sizeOf(T), new_n) catch return Error.OutOfMemory;
+        const byte_slice = try self.reallocFn(self, old_byte_slice, Slice.alignment, byte_count, new_alignment);
         assert(byte_slice.len == byte_count);
-        if (n > old_mem.len) {
+        if (new_n > old_mem.len) {
             // This loop gets optimized out in ReleaseFast mode
             for (byte_slice[old_byte_slice.len..]) |*byte| {
                 byte.* = undefined;
             }
         }
-        return @bytesToSlice(T, @alignCast(alignment, byte_slice));
+        return @bytesToSlice(T, @alignCast(new_alignment, byte_slice));
     }
 
-    /// Reallocate, but `n` must be less than or equal to `old_mem.len`.
-    /// Unlike `realloc`, this function cannot fail.
+    /// Prefer calling realloc to shrink if you can tolerate failure, such as
+    /// in an ArrayList data structure with a storage capacity.
+    /// Shrink always succeeds, and `new_n` must be <= `old_mem.len`.
+    /// Returned slice has same alignment as old_mem.
     /// Shrinking to 0 is the same as calling `free`.
-    pub fn shrink(self: *Allocator, comptime T: type, old_mem: []T, n: usize) []T {
-        return self.alignedShrink(T, @alignOf(T), @alignCast(@alignOf(T), old_mem), n);
+    pub fn shrink(self: *Allocator, old_mem: var, new_n: usize) t: {
+        const Slice = @typeInfo(@typeOf(old_mem)).Pointer;
+        break :t []align(Slice.alignment) Slice.child;
+    } {
+        const old_alignment = @typeInfo(@typeOf(old_mem)).Pointer.alignment;
+        return self.alignedShrink(old_mem, old_alignment, new_n);
     }
 
-    pub fn alignedShrink(self: *Allocator, comptime T: type, comptime alignment: u29, old_mem: []align(alignment) T, n: usize) []align(alignment) T {
-        if (n == 0) {
+    /// This is the same as `shrink`, except caller may additionally request
+    /// a new alignment, which must be smaller or the same as the old
+    /// allocation.
+    pub fn alignedShrink(
+        self: *Allocator,
+        old_mem: var,
+        comptime new_alignment: u29,
+        new_n: usize,
+    ) []align(new_alignment) @typeInfo(@typeOf(old_mem)).Pointer.child {
+        const Slice = @typeInfo(@typeOf(old_mem)).Pointer;
+        const T = Slice.child;
+
+        if (new_n == 0) {
             self.free(old_mem);
             return old_mem[0..0];
         }
 
-        assert(n <= old_mem.len);
+        assert(new_n <= old_mem.len);
+        assert(new_alignment <= Slice.alignment);
 
         // Here we skip the overflow checking on the multiplication because
-        // n <= old_mem.len and the multiplication didn't overflow for that operation.
-        const byte_count = @sizeOf(T) * n;
+        // new_n <= old_mem.len and the multiplication didn't overflow for that operation.
+        const byte_count = @sizeOf(T) * new_n;
 
         const old_byte_slice = @sliceToBytes(old_mem);
-        const byte_slice = self.reallocFn(self, old_byte_slice, byte_count, alignment) catch unreachable;
+        const byte_slice = self.shrinkFn(self, old_byte_slice, Slice.alignment, byte_count, new_alignment);
         assert(byte_slice.len == byte_count);
-        return @bytesToSlice(T, @alignCast(alignment, byte_slice));
+        return @bytesToSlice(T, @alignCast(new_alignment, byte_slice));
     }
 
     pub fn free(self: *Allocator, memory: var) void {
+        const Slice = @typeInfo(@typeOf(memory)).Pointer;
         const bytes = @sliceToBytes(memory);
         if (bytes.len == 0) return;
         const non_const_ptr = @intToPtr([*]u8, @ptrToInt(bytes.ptr));
-        self.freeFn(self, non_const_ptr[0..bytes.len]);
+        const shrink_result = self.shrinkFn(self, non_const_ptr[0..bytes.len], Slice.alignment, 0, 1);
+        assert(shrink_result.len == 0);
     }
 };
 
diff --git a/std/meta.zig b/std/meta.zig
index 215c5dfad8..a8c7e4b415 100644
--- a/std/meta.zig
+++ b/std/meta.zig
@@ -13,32 +13,8 @@ const TypeInfo = builtin.TypeInfo;
 pub fn tagName(v: var) []const u8 {
     const T = @typeOf(v);
     switch (@typeInfo(T)) {
-        TypeId.Enum => |info| {
-            const Tag = info.tag_type;
-            inline for (info.fields) |field| {
-                if (field.value == @enumToInt(v)) return field.name;
-            }
-
-            unreachable;
-        },
-        TypeId.Union => |info| {
-            const UnionTag = if (info.tag_type) |UT| UT else @compileError("union is untagged");
-            const Tag = @typeInfo(UnionTag).Enum.tag_type;
-            inline for (info.fields) |field| {
-                if (field.enum_field.?.value == @enumToInt(UnionTag(v)))
-                    return field.name;
-            }
-
-            unreachable;
-        },
-        TypeId.ErrorSet => |info| {
-            inline for (info.errors) |err| {
-                if (err.value == @errorToInt(v)) return err.name;
-            }
-
-            unreachable;
-        },
-        else => @compileError("expected enum, error set or union type, found '" ++ @typeName(T) ++ "'"),
+        TypeId.ErrorSet => return @errorName(v),
+        else => return @tagName(v),
     }
 }
 
@@ -267,7 +243,7 @@ pub fn fields(comptime T: type) switch (@typeInfo(T)) {
         TypeId.Struct => |info| info.fields,
         TypeId.Union => |info| info.fields,
         TypeId.Enum => |info| info.fields,
-        TypeId.ErrorSet => |info| info.errors,
+        TypeId.ErrorSet => |errors| errors.?, // must be non global error set
         else => @compileError("Expected struct, union, error set or enum type, found '" ++ @typeName(T) ++ "'"),
     };
 }
diff --git a/std/os.zig b/std/os.zig
index 96745f15c7..cbbc80c47d 100644
--- a/std/os.zig
+++ b/std/os.zig
@@ -814,7 +814,7 @@ pub fn getEnvVarOwned(allocator: *mem.Allocator, key: []const u8) GetEnvVarOwned
             }
 
             if (result > buf.len) {
-                buf = try allocator.realloc(u16, buf, result);
+                buf = try allocator.realloc(buf, result);
                 continue;
             }
 
@@ -1648,7 +1648,7 @@ pub const Dir = struct {
                         switch (err) {
                             posix.EBADF, posix.EFAULT, posix.ENOTDIR => unreachable,
                             posix.EINVAL => {
-                                self.handle.buf = try self.allocator.realloc(u8, self.handle.buf, self.handle.buf.len * 2);
+                                self.handle.buf = try self.allocator.realloc(self.handle.buf, self.handle.buf.len * 2);
                                 continue;
                             },
                             else => return unexpectedErrorPosix(err),
@@ -1730,7 +1730,7 @@ pub const Dir = struct {
                         switch (err) {
                             posix.EBADF, posix.EFAULT, posix.ENOTDIR => unreachable,
                             posix.EINVAL => {
-                                self.handle.buf = try self.allocator.realloc(u8, self.handle.buf, self.handle.buf.len * 2);
+                                self.handle.buf = try self.allocator.realloc(self.handle.buf, self.handle.buf.len * 2);
                                 continue;
                             },
                             else => return unexpectedErrorPosix(err),
@@ -1784,7 +1784,7 @@ pub const Dir = struct {
                         switch (err) {
                             posix.EBADF, posix.EFAULT, posix.ENOTDIR => unreachable,
                             posix.EINVAL => {
-                                self.handle.buf = try self.allocator.realloc(u8, self.handle.buf, self.handle.buf.len * 2);
+                                self.handle.buf = try self.allocator.realloc(self.handle.buf, self.handle.buf.len * 2);
                                 continue;
                             },
                             else => return unexpectedErrorPosix(err),
@@ -3279,7 +3279,7 @@ pub fn cpuCount(fallback_allocator: *mem.Allocator) CpuCountError!usize {
                             }
                             return sum;
                         } else {
-                            set = try allocator.realloc(usize, set, set.len * 2);
+                            set = try allocator.realloc(set, set.len * 2);
                             continue;
                         }
                     },
diff --git a/std/os/path.zig b/std/os/path.zig
index b68ff32408..fa8bb282eb 100644
--- a/std/os/path.zig
+++ b/std/os/path.zig
@@ -565,7 +565,7 @@ pub fn resolveWindows(allocator: *Allocator, paths: []const []const u8) ![]u8 {
         result_index += 1;
     }
 
-    return allocator.shrink(u8, result, result_index);
+    return allocator.shrink(result, result_index);
 }
 
 /// This function is like a series of `cd` statements executed one after another.
@@ -634,7 +634,7 @@ pub fn resolvePosix(allocator: *Allocator, paths: []const []const u8) ![]u8 {
         result_index += 1;
     }
 
-    return allocator.shrink(u8, result, result_index);
+    return allocator.shrink(result, result_index);
 }
 
 test "os.path.resolve" {
diff --git a/std/os/test.zig b/std/os/test.zig
index ab21ea1568..943960a925 100644
--- a/std/os/test.zig
+++ b/std/os/test.zig
@@ -108,6 +108,10 @@ test "AtomicFile" {
 
 test "thread local storage" {
     if (builtin.single_threaded) return error.SkipZigTest;
+    if (!builtin.position_independent_code and !builtin.link_libc) {
+        // TODO https://github.com/ziglang/zig/issues/2063
+        return error.SkipZigTest;
+    }
     const thread1 = try std.os.spawnThread({}, testTls);
     const thread2 = try std.os.spawnThread({}, testTls);
     testTls({});
diff --git a/std/os/windows/util.zig b/std/os/windows/util.zig
index 24039967a1..72c84502e3 100644
--- a/std/os/windows/util.zig
+++ b/std/os/windows/util.zig
@@ -197,7 +197,7 @@ pub fn createWindowsEnvBlock(allocator: *mem.Allocator, env_map: *const BufMap)
     i += 1;
     result[i] = 0;
     i += 1;
-    return allocator.shrink(u16, result, i);
+    return allocator.shrink(result, i);
 }
 
 pub fn windowsFindFirstFile(
diff --git a/std/priority_queue.zig b/std/priority_queue.zig
index 0469e26743..3bc09ef5a0 100644
--- a/std/priority_queue.zig
+++ b/std/priority_queue.zig
@@ -141,7 +141,7 @@ pub fn PriorityQueue(comptime T: type) type {
                 better_capacity += better_capacity / 2 + 8;
                 if (better_capacity >= new_capacity) break;
             }
-            self.items = try self.allocator.realloc(T, self.items, better_capacity);
+            self.items = try self.allocator.realloc(self.items, better_capacity);
         }
 
         pub fn resize(self: *Self, new_len: usize) !void {
@@ -150,6 +150,7 @@ pub fn PriorityQueue(comptime T: type) type {
         }
 
         pub fn shrink(self: *Self, new_len: usize) void {
+            // TODO take advantage of the new realloc semantics
             assert(new_len <= self.len);
             self.len = new_len;
         }
diff --git a/std/segmented_list.zig b/std/segmented_list.zig
index 0600fbba3f..a6603af994 100644
--- a/std/segmented_list.zig
+++ b/std/segmented_list.zig
@@ -169,11 +169,11 @@ pub fn SegmentedList(comptime T: type, comptime prealloc_item_count: usize) type
             const new_cap_shelf_count = shelfCount(new_capacity);
             const old_shelf_count = @intCast(ShelfIndex, self.dynamic_segments.len);
             if (new_cap_shelf_count > old_shelf_count) {
-                self.dynamic_segments = try self.allocator.realloc([*]T, self.dynamic_segments, new_cap_shelf_count);
+                self.dynamic_segments = try self.allocator.realloc(self.dynamic_segments, new_cap_shelf_count);
                 var i = old_shelf_count;
                 errdefer {
                     self.freeShelves(i, old_shelf_count);
-                    self.dynamic_segments = self.allocator.shrink([*]T, self.dynamic_segments, old_shelf_count);
+                    self.dynamic_segments = self.allocator.shrink(self.dynamic_segments, old_shelf_count);
                 }
                 while (i < new_cap_shelf_count) : (i += 1) {
                     self.dynamic_segments[i] = (try self.allocator.alloc(T, shelfSize(i))).ptr;
@@ -199,11 +199,12 @@ pub fn SegmentedList(comptime T: type, comptime prealloc_item_count: usize) type
             }
 
             self.freeShelves(old_shelf_count, new_cap_shelf_count);
-            self.dynamic_segments = self.allocator.shrink([*]T, self.dynamic_segments, new_cap_shelf_count);
+            self.dynamic_segments = self.allocator.shrink(self.dynamic_segments, new_cap_shelf_count);
         }
 
         pub fn shrink(self: *Self, new_len: usize) void {
             assert(new_len <= self.len);
+            // TODO take advantage of the new realloc semantics
             self.len = new_len;
         }
 
diff --git a/std/special/build_runner.zig b/std/special/build_runner.zig
index ff3b53619d..4ce6f7115e 100644
--- a/std/special/build_runner.zig
+++ b/std/special/build_runner.zig
@@ -106,6 +106,8 @@ pub fn main() !void {
                 builder.verbose_llvm_ir = true;
             } else if (mem.eql(u8, arg, "--verbose-cimport")) {
                 builder.verbose_cimport = true;
+            } else if (mem.eql(u8, arg, "--verbose-cc")) {
+                builder.verbose_cc = true;
             } else {
                 warn("Unrecognized argument: {}\n\n", arg);
                 return usageAndErr(&builder, false, try stderr_stream);
@@ -193,6 +195,7 @@ fn usage(builder: *Builder, already_ran_build: bool, out_stream: var) !void {
         \\  --verbose-ir           Enable compiler debug output for Zig IR
         \\  --verbose-llvm-ir      Enable compiler debug output for LLVM IR
         \\  --verbose-cimport      Enable compiler debug output for C imports
+        \\  --verbose-cc           Enable compiler debug output for C compilation
         \\
     );
 }
diff --git a/std/std.zig b/std/std.zig
index d935f9136e..a0c6795827 100644
--- a/std/std.zig
+++ b/std/std.zig
@@ -24,7 +24,6 @@ pub const cstr = @import("cstr.zig");
 pub const debug = @import("debug.zig");
 pub const dwarf = @import("dwarf.zig");
 pub const elf = @import("elf.zig");
-pub const empty_import = @import("empty.zig");
 pub const event = @import("event.zig");
 pub const fmt = @import("fmt.zig");
 pub const hash = @import("hash.zig");
@@ -72,7 +71,6 @@ test "std" {
     _ = @import("dwarf.zig");
     _ = @import("dynamic_library.zig");
     _ = @import("elf.zig");
-    _ = @import("empty.zig");
     _ = @import("event.zig");
     _ = @import("fmt.zig");
     _ = @import("hash.zig");
diff --git a/std/testing.zig b/std/testing.zig
index be414181f2..7ed60ed2ba 100644
--- a/std/testing.zig
+++ b/std/testing.zig
@@ -5,7 +5,6 @@ const std = @import("std.zig");
 /// This function is intended to be used only in tests. It prints diagnostics to stderr
 /// and then aborts when actual_error_union is not expected_error.
 pub fn expectError(expected_error: anyerror, actual_error_union: var) void {
-    // TODO remove the workaround here for https://github.com/ziglang/zig/issues/1936
     if (actual_error_union) |actual_payload| {
         // TODO remove workaround here for https://github.com/ziglang/zig/issues/557
         if (@sizeOf(@typeOf(actual_payload)) == 0) {
diff --git a/test/build_examples.zig b/test/build_examples.zig
index 4d9fcc6618..33a288a108 100644
--- a/test/build_examples.zig
+++ b/test/build_examples.zig
@@ -11,10 +11,7 @@ pub fn addCases(cases: *tests.BuildExamplesContext) void {
     cases.addBuildFile("example/shared_library/build.zig");
     cases.addBuildFile("example/mix_o_files/build.zig");
     cases.addBuildFile("test/standalone/static_c_lib/build.zig");
-    if (builtin.os != builtin.Os.macosx) {
-        // TODO https://github.com/ziglang/zig/issues/1126
-        cases.addBuildFile("test/standalone/issue_339/build.zig");
-    }
+    cases.addBuildFile("test/standalone/issue_339/build.zig");
     cases.addBuildFile("test/standalone/issue_794/build.zig");
     cases.addBuildFile("test/standalone/pkg_import/build.zig");
     cases.addBuildFile("test/standalone/use_alias/build.zig");
diff --git a/test/compile_errors.zig b/test/compile_errors.zig
index 92df4d2d14..f0c5b6a450 100644
--- a/test/compile_errors.zig
+++ b/test/compile_errors.zig
@@ -2,6 +2,54 @@ const tests = @import("tests.zig");
 const builtin = @import("builtin");
 
 pub fn addCases(cases: *tests.CompileErrorContext) void {
+    cases.add(
+        "invalid multiple dereferences",
+        \\export fn a() void {
+        \\    var box = Box{ .field = 0 };
+        \\    box.*.field = 1;
+        \\}
+        \\export fn b() void {
+        \\    var box = Box{ .field = 0 };
+        \\    var boxPtr = &box;
+        \\    boxPtr.*.*.field = 1;
+        \\}
+        \\pub const Box = struct {
+        \\    field: i32,
+        \\};
+    ,
+        "tmp.zig:3:8: error: attempt to dereference non-pointer type 'Box'",
+        "tmp.zig:8:13: error: attempt to dereference non-pointer type 'Box'",
+    );
+
+    cases.add(
+        "usingnamespace with wrong type",
+        \\use void;
+    ,
+        "tmp.zig:1:1: error: expected struct, found 'void'",
+    );
+
+    cases.add(
+        "ignored expression in while continuation",
+        \\export fn a() void {
+        \\    while (true) : (bad()) {}
+        \\}
+        \\export fn b() void {
+        \\    var x: anyerror!i32 = 1234;
+        \\    while (x) |_| : (bad()) {} else |_| {}
+        \\}
+        \\export fn c() void {
+        \\    var x: ?i32 = 1234;
+        \\    while (x) |_| : (bad()) {}
+        \\}
+        \\fn bad() anyerror!void {
+        \\    return error.Bad;
+        \\}
+    ,
+        "tmp.zig:2:24: error: expression value is ignored",
+        "tmp.zig:6:25: error: expression value is ignored",
+        "tmp.zig:10:25: error: expression value is ignored",
+    );
+
     cases.add(
         "import outside package path",
         \\comptime{
diff --git a/test/stage1/behavior/misc.zig b/test/stage1/behavior/misc.zig
index a2d752457c..36246162f5 100644
--- a/test/stage1/behavior/misc.zig
+++ b/test/stage1/behavior/misc.zig
@@ -688,6 +688,11 @@ fn getNull() ?*i32 {
 }
 
 test "thread local variable" {
+    if (!builtin.position_independent_code and !builtin.link_libc) {
+        // TODO https://github.com/ziglang/zig/issues/2063
+        return error.SkipZigTest;
+    }
+
     const S = struct {
         threadlocal var t: i32 = 1234;
     };
diff --git a/test/stage1/behavior/type_info.zig b/test/stage1/behavior/type_info.zig
index 3eb91d534f..8676c7628d 100644
--- a/test/stage1/behavior/type_info.zig
+++ b/test/stage1/behavior/type_info.zig
@@ -143,14 +143,18 @@ fn testErrorSet() void {
 
     const error_set_info = @typeInfo(TestErrorSet);
     expect(TypeId(error_set_info) == TypeId.ErrorSet);
-    expect(error_set_info.ErrorSet.errors.len == 3);
-    expect(mem.eql(u8, error_set_info.ErrorSet.errors[0].name, "First"));
-    expect(error_set_info.ErrorSet.errors[2].value == @errorToInt(TestErrorSet.Third));
+    expect(error_set_info.ErrorSet.?.len == 3);
+    expect(mem.eql(u8, error_set_info.ErrorSet.?[0].name, "First"));
+    expect(error_set_info.ErrorSet.?[2].value == @errorToInt(TestErrorSet.Third));
 
     const error_union_info = @typeInfo(TestErrorSet!usize);
     expect(TypeId(error_union_info) == TypeId.ErrorUnion);
     expect(error_union_info.ErrorUnion.error_set == TestErrorSet);
     expect(error_union_info.ErrorUnion.payload == usize);
+
+    const global_info = @typeInfo(anyerror);
+    expect(TypeId(global_info) == TypeId.ErrorSet);
+    expect(global_info.ErrorSet == null);
 }
 
 test "type info: enum info" {
diff --git a/test/tests.zig b/test/tests.zig
index ba713902ba..d0ea780b3b 100644
--- a/test/tests.zig
+++ b/test/tests.zig
@@ -316,11 +316,13 @@ pub const CompareOutputContext = struct {
                 Term.Exited => |code| {
                     if (code != 0) {
                         warn("Process {} exited with error code {}\n", full_exe_path, code);
+                        printInvocation(args.toSliceConst());
                         return error.TestFailed;
                     }
                 },
                 else => {
                     warn("Process {} terminated unexpectedly\n", full_exe_path);
+                    printInvocation(args.toSliceConst());
                     return error.TestFailed;
                 },
             }
@@ -681,11 +683,13 @@ pub const CompileErrorContext = struct {
             switch (term) {
                 Term.Exited => |code| {
                     if (code == 0) {
+                        printInvocation(zig_args.toSliceConst());
                         return error.CompilationIncorrectlySucceeded;
                     }
                 },
                 else => {
                     warn("Process {} terminated unexpectedly\n", b.zig_exe);
+                    printInvocation(zig_args.toSliceConst());
                     return error.TestFailed;
                 },
             }
@@ -752,13 +756,6 @@ pub const CompileErrorContext = struct {
         }
     };
 
-    fn printInvocation(args: []const []const u8) void {
-        for (args) |arg| {
-            warn("{} ", arg);
-        }
-        warn("\n");
-    }
-
     pub fn create(self: *CompileErrorContext, name: []const u8, source: []const u8, expected_lines: ...) *TestCase {
         const tc = self.b.allocator.create(TestCase) catch unreachable;
         tc.* = TestCase{
@@ -1240,3 +1237,10 @@ pub const GenHContext = struct {
         self.step.dependOn(&cmp_h.step);
     }
 };
+
+fn printInvocation(args: []const []const u8) void {
+    for (args) |arg| {
+        warn("{} ", arg);
+    }
+    warn("\n");
+}
diff --git a/test/translate_c.zig b/test/translate_c.zig
index e83ca74786..cd8e7cb6d0 100644
--- a/test/translate_c.zig
+++ b/test/translate_c.zig
@@ -59,6 +59,40 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
         );
     }
 
+    cases.add("predefined expressions",
+        \\void foo(void) {
+        \\    __func__;
+        \\    __FUNCTION__;
+        \\    __PRETTY_FUNCTION__;
+        \\}
+    ,
+        \\pub fn foo() void {
+        \\    _ = c"foo";
+        \\    _ = c"foo";
+        \\    _ = c"void foo(void)";
+        \\}
+    );
+    
+    cases.add("ignore result",
+        \\void foo() {
+        \\    int a;
+        \\    1;
+        \\    "hey";
+        \\    1 + 1;
+        \\    1 - 1;
+        \\    a = 1;
+        \\}
+    ,
+        \\pub fn foo() void {
+        \\    var a: c_int = undefined;
+        \\    _ = 1;
+        \\    _ = c"hey";
+        \\    _ = (1 + 1);
+        \\    _ = (1 - 1);
+        \\    a = 1;
+        \\}
+    );
+
     cases.add("for loop with var init but empty body",
         \\void foo(void) {
         \\    for (int x = 0; x < 10; x++);
@@ -79,6 +113,7 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
     , // TODO this should be if (1 != 0) break
         \\pub fn foo() void {
         \\    while (true) {
+        \\        {}
         \\        if (!1) break;
         \\    }
         \\}
@@ -511,11 +546,14 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
         \\        return b;
         \\    else
         \\        return a;
+        \\
+        \\    if (a < b) ; else ;
         \\}
     ,
         \\pub export fn max(a: c_int, b: c_int) c_int {
         \\    if (a < b) return b;
         \\    if (a < b) return b else return a;
+        \\    if (a < b) {} else {}
         \\}
     );
 
@@ -643,11 +681,11 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
         \\pub export fn max(a: c_int) void {
         \\    var b: c_int = undefined;
         \\    var c: c_int = undefined;
-        \\    c = x: {
+        \\    c = (x: {
         \\        const _tmp = a;
         \\        b = _tmp;
         \\        break :x _tmp;
-        \\    };
+        \\    });
         \\}
     );
 
@@ -720,7 +758,13 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
         \\    ;;;;;
         \\}
     ,
-        \\pub export fn foo() void {}
+        \\pub export fn foo() void {
+        \\    {}
+        \\    {}
+        \\    {}
+        \\    {}
+        \\    {}
+        \\}
     );
 
     cases.add("undefined array global",
@@ -751,6 +795,16 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
         \\}
     );
 
+    cases.addC("void cast",
+        \\void foo(int a) {
+        \\    (void) a;
+        \\}
+    ,
+        \\pub export fn foo(a: c_int) void {
+        \\    _ = a;
+        \\}
+    );
+
     cases.addC("implicit cast to void *",
         \\void *foo(unsigned short *x) {
         \\    return x;
@@ -795,6 +849,32 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
         \\}
     );
 
+    cases.addC("statement expression",
+        \\int foo(void) {
+        \\    return ({
+        \\        int a = 1;
+        \\        a;
+        \\    });
+        \\}
+    ,
+        \\pub export fn foo() c_int {
+        \\    return x: {
+        \\        var a: c_int = 1;
+        \\        break :x a;
+        \\    };
+        \\}
+    );
+
+    cases.addC("__extension__ cast",
+        \\int foo(void) {
+        \\    return __extension__ 1;
+        \\}
+    ,
+        \\pub export fn foo() c_int {
+        \\    return 1;
+        \\}
+    );
+
     cases.addC("bitshift",
         \\int foo(void) {
         \\    return (1 << 2) >> 1;
@@ -820,46 +900,46 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
     ,
         \\pub export fn foo() void {
         \\    var a: c_int = 0;
-        \\    a += x: {
+        \\    a += (x: {
         \\        const _ref = &a;
         \\        _ref.* = (_ref.* + 1);
         \\        break :x _ref.*;
-        \\    };
-        \\    a -= x: {
+        \\    });
+        \\    a -= (x: {
         \\        const _ref = &a;
         \\        _ref.* = (_ref.* - 1);
         \\        break :x _ref.*;
-        \\    };
-        \\    a *= x: {
+        \\    });
+        \\    a *= (x: {
         \\        const _ref = &a;
         \\        _ref.* = (_ref.* * 1);
         \\        break :x _ref.*;
-        \\    };
-        \\    a &= x: {
+        \\    });
+        \\    a &= (x: {
         \\        const _ref = &a;
         \\        _ref.* = (_ref.* & 1);
         \\        break :x _ref.*;
-        \\    };
-        \\    a |= x: {
+        \\    });
+        \\    a |= (x: {
         \\        const _ref = &a;
         \\        _ref.* = (_ref.* | 1);
         \\        break :x _ref.*;
-        \\    };
-        \\    a ^= x: {
+        \\    });
+        \\    a ^= (x: {
         \\        const _ref = &a;
         \\        _ref.* = (_ref.* ^ 1);
         \\        break :x _ref.*;
-        \\    };
-        \\    a >>= @import("std").math.Log2Int(c_int)(x: {
+        \\    });
+        \\    a >>= @import("std").math.Log2Int(c_int)((x: {
         \\        const _ref = &a;
         \\        _ref.* = (_ref.* >> @import("std").math.Log2Int(c_int)(1));
         \\        break :x _ref.*;
-        \\    });
-        \\    a <<= @import("std").math.Log2Int(c_int)(x: {
+        \\    }));
+        \\    a <<= @import("std").math.Log2Int(c_int)((x: {
         \\        const _ref = &a;
         \\        _ref.* = (_ref.* << @import("std").math.Log2Int(c_int)(1));
         \\        break :x _ref.*;
-        \\    });
+        \\    }));
         \\}
     );
 
@@ -878,46 +958,46 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
     ,
         \\pub export fn foo() void {
         \\    var a: c_uint = c_uint(0);
-        \\    a +%= x: {
+        \\    a +%= (x: {
         \\        const _ref = &a;
         \\        _ref.* = (_ref.* +% c_uint(1));
         \\        break :x _ref.*;
-        \\    };
-        \\    a -%= x: {
+        \\    });
+        \\    a -%= (x: {
         \\        const _ref = &a;
         \\        _ref.* = (_ref.* -% c_uint(1));
         \\        break :x _ref.*;
-        \\    };
-        \\    a *%= x: {
+        \\    });
+        \\    a *%= (x: {
         \\        const _ref = &a;
         \\        _ref.* = (_ref.* *% c_uint(1));
         \\        break :x _ref.*;
-        \\    };
-        \\    a &= x: {
+        \\    });
+        \\    a &= (x: {
         \\        const _ref = &a;
         \\        _ref.* = (_ref.* & c_uint(1));
         \\        break :x _ref.*;
-        \\    };
-        \\    a |= x: {
+        \\    });
+        \\    a |= (x: {
         \\        const _ref = &a;
         \\        _ref.* = (_ref.* | c_uint(1));
         \\        break :x _ref.*;
-        \\    };
-        \\    a ^= x: {
+        \\    });
+        \\    a ^= (x: {
         \\        const _ref = &a;
         \\        _ref.* = (_ref.* ^ c_uint(1));
         \\        break :x _ref.*;
-        \\    };
-        \\    a >>= @import("std").math.Log2Int(c_uint)(x: {
+        \\    });
+        \\    a >>= @import("std").math.Log2Int(c_uint)((x: {
         \\        const _ref = &a;
         \\        _ref.* = (_ref.* >> @import("std").math.Log2Int(c_uint)(1));
         \\        break :x _ref.*;
-        \\    });
-        \\    a <<= @import("std").math.Log2Int(c_uint)(x: {
+        \\    }));
+        \\    a <<= @import("std").math.Log2Int(c_uint)((x: {
         \\        const _ref = &a;
         \\        _ref.* = (_ref.* << @import("std").math.Log2Int(c_uint)(1));
         \\        break :x _ref.*;
-        \\    });
+        \\    }));
         \\}
     );
 
@@ -953,30 +1033,30 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
         \\    i -= 1;
         \\    u +%= 1;
         \\    u -%= 1;
-        \\    i = x: {
+        \\    i = (x: {
         \\        const _ref = &i;
         \\        const _tmp = _ref.*;
         \\        _ref.* += 1;
         \\        break :x _tmp;
-        \\    };
-        \\    i = x: {
+        \\    });
+        \\    i = (x: {
         \\        const _ref = &i;
         \\        const _tmp = _ref.*;
         \\        _ref.* -= 1;
         \\        break :x _tmp;
-        \\    };
-        \\    u = x: {
+        \\    });
+        \\    u = (x: {
         \\        const _ref = &u;
         \\        const _tmp = _ref.*;
         \\        _ref.* +%= 1;
         \\        break :x _tmp;
-        \\    };
-        \\    u = x: {
+        \\    });
+        \\    u = (x: {
         \\        const _ref = &u;
         \\        const _tmp = _ref.*;
         \\        _ref.* -%= 1;
         \\        break :x _tmp;
-        \\    };
+        \\    });
         \\}
     );
 
@@ -1001,26 +1081,26 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
         \\    i -= 1;
         \\    u +%= 1;
         \\    u -%= 1;
-        \\    i = x: {
+        \\    i = (x: {
         \\        const _ref = &i;
         \\        _ref.* += 1;
         \\        break :x _ref.*;
-        \\    };
-        \\    i = x: {
+        \\    });
+        \\    i = (x: {
         \\        const _ref = &i;
         \\        _ref.* -= 1;
         \\        break :x _ref.*;
-        \\    };
-        \\    u = x: {
+        \\    });
+        \\    u = (x: {
         \\        const _ref = &u;
         \\        _ref.* +%= 1;
         \\        break :x _ref.*;
-        \\    };
-        \\    u = x: {
+        \\    });
+        \\    u = (x: {
         \\        const _ref = &u;
         \\        _ref.* -%= 1;
         \\        break :x _ref.*;
-        \\    };
+        \\    });
         \\}
     );
 
@@ -1425,52 +1505,52 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
         \\pub export fn bar() void {}
     );
 
-    cases.addC("u integer suffix after 0 (zero) in macro definition",
-        "#define ZERO 0U"
-    ,
-        "pub const ZERO = c_uint(0);"
+    cases.addC(
+        "u integer suffix after 0 (zero) in macro definition",
+        "#define ZERO 0U",
+        "pub const ZERO = c_uint(0);",
     );
 
-    cases.addC("l integer suffix after 0 (zero) in macro definition",
-        "#define ZERO 0L"
-    ,
-        "pub const ZERO = c_long(0);"
+    cases.addC(
+        "l integer suffix after 0 (zero) in macro definition",
+        "#define ZERO 0L",
+        "pub const ZERO = c_long(0);",
     );
 
-    cases.addC("ul integer suffix after 0 (zero) in macro definition",
-        "#define ZERO 0UL"
-    ,
-        "pub const ZERO = c_ulong(0);"
+    cases.addC(
+        "ul integer suffix after 0 (zero) in macro definition",
+        "#define ZERO 0UL",
+        "pub const ZERO = c_ulong(0);",
     );
 
-    cases.addC("lu integer suffix after 0 (zero) in macro definition",
-        "#define ZERO 0LU"
-    ,
-        "pub const ZERO = c_ulong(0);"
+    cases.addC(
+        "lu integer suffix after 0 (zero) in macro definition",
+        "#define ZERO 0LU",
+        "pub const ZERO = c_ulong(0);",
     );
 
-    cases.addC("ll integer suffix after 0 (zero) in macro definition",
-        "#define ZERO 0LL"
-    ,
-        "pub const ZERO = c_longlong(0);"
+    cases.addC(
+        "ll integer suffix after 0 (zero) in macro definition",
+        "#define ZERO 0LL",
+        "pub const ZERO = c_longlong(0);",
     );
 
-    cases.addC("ull integer suffix after 0 (zero) in macro definition",
-        "#define ZERO 0ULL"
-    ,
-        "pub const ZERO = c_ulonglong(0);"
+    cases.addC(
+        "ull integer suffix after 0 (zero) in macro definition",
+        "#define ZERO 0ULL",
+        "pub const ZERO = c_ulonglong(0);",
     );
 
-    cases.addC("llu integer suffix after 0 (zero) in macro definition",
-        "#define ZERO 0LLU"
-    ,
-        "pub const ZERO = c_ulonglong(0);"
+    cases.addC(
+        "llu integer suffix after 0 (zero) in macro definition",
+        "#define ZERO 0LLU",
+        "pub const ZERO = c_ulonglong(0);",
     );
 
-    cases.addC("bitwise not on u-suffixed 0 (zero) in macro definition",
-        "#define NOT_ZERO (~0U)"
-    ,
-        "pub const NOT_ZERO = ~c_uint(0);"
+    cases.addC(
+        "bitwise not on u-suffixed 0 (zero) in macro definition",
+        "#define NOT_ZERO (~0U)",
+        "pub const NOT_ZERO = ~c_uint(0);",
     );
 
     // cases.add("empty array with initializer",