@zigc/lib 0.17.0-dev.607 → 0.17.0-dev.644
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiler/Maker/PkgConfig.zig +15 -7
- package/compiler/Maker/Step/Compile.zig +7 -9
- package/compiler/Maker/Step/Fmt.zig +1 -1
- package/compiler/Maker/Step/Run.zig +59 -41
- package/compiler/Maker/Step/TranslateC.zig +6 -5
- package/compiler/Maker/Step.zig +47 -16
- package/compiler/Maker.zig +54 -44
- package/libc/include/aarch64-netbsd-none/aarch64/armreg.h +259 -22
- package/libc/include/aarch64-netbsd-none/aarch64/byte_swap.h +3 -2
- package/libc/include/aarch64-netbsd-none/aarch64/cpu.h +26 -1
- package/libc/include/aarch64-netbsd-none/aarch64/lwp_private.h +3 -0
- package/libc/include/aarch64-netbsd-none/aarch64/pmap.h +7 -33
- package/libc/include/aarch64-netbsd-none/aarch64/sljit_machdep.h +1 -1
- package/libc/include/aarch64-netbsd-none/aarch64/vmparam.h +4 -4
- package/libc/include/aarch64-netbsd-none/machine/armreg.h +259 -22
- package/libc/include/aarch64-netbsd-none/machine/byte_swap.h +3 -2
- package/libc/include/aarch64-netbsd-none/machine/cpu.h +26 -1
- package/libc/include/aarch64-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/aarch64-netbsd-none/machine/pmap.h +7 -33
- package/libc/include/aarch64-netbsd-none/machine/sljit_machdep.h +1 -1
- package/libc/include/aarch64-netbsd-none/machine/vmparam.h +4 -4
- package/libc/include/arm-netbsd-eabi/float.h +2 -1
- package/libc/include/arm-netbsd-eabi/machine/asm.h +48 -19
- package/libc/include/arm-netbsd-eabi/machine/byte_swap.h +121 -0
- package/libc/include/arm-netbsd-eabi/machine/cpu.h +1 -3
- package/libc/include/arm-netbsd-eabi/machine/float.h +2 -1
- package/libc/include/arm-netbsd-eabi/machine/lwp_private.h +81 -0
- package/libc/include/arm-netbsd-eabi/machine/mcontext.h +5 -51
- package/libc/include/arm-netbsd-eabi/machine/mutex.h +1 -1
- package/libc/include/arm-netbsd-eabi/machine/proc.h +2 -2
- package/libc/include/arm-netbsd-eabi/machine/profile.h +28 -96
- package/libc/include/arm-netbsd-eabi/machine/setjmp.h +7 -6
- package/libc/include/arm-netbsd-eabi/machine/sysarch.h +85 -0
- package/libc/include/generic-netbsd/altq/altq.h +2 -2
- package/libc/include/generic-netbsd/altq/altq_afmap.h +2 -1
- package/libc/include/generic-netbsd/altq/altq_classq.h +8 -6
- package/libc/include/generic-netbsd/altq/altq_jobs.h +37 -37
- package/libc/include/generic-netbsd/altq/altq_rmclass.h +8 -8
- package/libc/include/generic-netbsd/altq/altq_var.h +2 -2
- package/libc/include/generic-netbsd/arm/arm32/pmap.h +8 -32
- package/libc/include/generic-netbsd/arm/arm32/vmparam.h +5 -5
- package/libc/include/generic-netbsd/arm/asm.h +48 -19
- package/libc/include/generic-netbsd/arm/byte_swap.h +2 -2
- package/libc/include/generic-netbsd/arm/cpu.h +1 -3
- package/libc/include/generic-netbsd/arm/cputypes.h +12 -1
- package/libc/include/generic-netbsd/arm/float.h +2 -1
- package/libc/include/generic-netbsd/arm/lwp_private.h +81 -0
- package/libc/include/generic-netbsd/arm/mcontext.h +5 -51
- package/libc/include/generic-netbsd/arm/mutex.h +1 -1
- package/libc/include/generic-netbsd/arm/proc.h +2 -2
- package/libc/include/generic-netbsd/arm/profile.h +28 -96
- package/libc/include/generic-netbsd/arm/setjmp.h +7 -6
- package/libc/include/generic-netbsd/arpa/nameser.h +3 -3
- package/libc/include/generic-netbsd/arpa/nameser_compat.h +3 -3
- package/libc/include/generic-netbsd/assert.h +12 -22
- package/libc/include/generic-netbsd/bitstring.h +5 -5
- package/libc/include/generic-netbsd/cdbw.h +2 -2
- package/libc/include/generic-netbsd/crypto/cryptodev.h +99 -92
- package/libc/include/generic-netbsd/dev/i2c/emcfaninfo.h +234 -0
- package/libc/include/generic-netbsd/dev/i2c/emcfanreg.h +127 -0
- package/libc/include/generic-netbsd/dev/i2o/i2o.h +3 -366
- package/libc/include/generic-netbsd/dev/ic/hd44780var.h +3 -1
- package/libc/include/generic-netbsd/dev/ic/scmdreg.h +2 -2
- package/libc/include/generic-netbsd/dev/ic/stireg.h +777 -0
- package/libc/include/generic-netbsd/dev/ic/summitreg.h +214 -0
- package/libc/include/generic-netbsd/dev/iscsi/iscsi.h +1 -1
- package/libc/include/generic-netbsd/dev/pci/amrreg.h +2 -2
- package/libc/include/generic-netbsd/dev/pci/mlyreg.h +2 -2
- package/libc/include/generic-netbsd/dev/pci/pcidevs.h +177 -22
- package/libc/include/generic-netbsd/dev/pci/pcidevs_data.h +14971 -14588
- package/libc/include/generic-netbsd/dev/pci/pcireg.h +14 -14
- package/libc/include/generic-netbsd/dev/pckbc/pckbdreg.h +2 -1
- package/libc/include/generic-netbsd/dev/pcmcia/if_rayreg.h +2 -2
- package/libc/include/generic-netbsd/dev/raidframe/raidframeio.h +1 -1
- package/libc/include/generic-netbsd/dev/scsipi/scsi_disk.h +42 -7
- package/libc/include/generic-netbsd/dev/scsipi/scsi_spc.h +2 -2
- package/libc/include/generic-netbsd/dev/scsipi/scsipi_all.h +83 -2
- package/libc/include/generic-netbsd/dev/scsipi/scsipiconf.h +3 -1
- package/libc/include/generic-netbsd/dev/tc/sfbreg.h +3 -3
- package/libc/include/generic-netbsd/dev/tc/sticio.h +2 -2
- package/libc/include/generic-netbsd/dev/usb/umcpmio_hid_reports.h +499 -0
- package/libc/include/generic-netbsd/dev/usb/umcpmio_io.h +45 -0
- package/libc/include/generic-netbsd/dev/usb/usb.h +44 -6
- package/libc/include/generic-netbsd/dev/vndvar.h +2 -2
- package/libc/include/generic-netbsd/dev/wscons/wsconsio.h +19 -1
- package/libc/include/generic-netbsd/dev/wscons/wsksymdef.h +2 -2
- package/libc/include/generic-netbsd/dirent.h +1 -1
- package/libc/include/generic-netbsd/dlfcn.h +4 -2
- package/libc/include/generic-netbsd/elf.h +32 -20
- package/libc/include/generic-netbsd/elfdefinitions.h +1 -1
- package/libc/include/generic-netbsd/evbarm/intr.h +1 -1
- package/libc/include/generic-netbsd/evbmips/lwp_private.h +3 -0
- package/libc/include/generic-netbsd/execinfo.h +4 -2
- package/libc/include/generic-netbsd/fcntl.h +26 -2
- package/libc/include/generic-netbsd/float.h +58 -2
- package/libc/include/generic-netbsd/fmtmsg.h +2 -2
- package/libc/include/generic-netbsd/fs/hfs/libhfs.h +1 -1
- package/libc/include/generic-netbsd/fs/nilfs/nilfs_fs.h +2 -2
- package/libc/include/generic-netbsd/gelf.h +2 -2
- package/libc/include/generic-netbsd/i386/asm.h +12 -4
- package/libc/include/generic-netbsd/i386/byte_swap.h +2 -2
- package/libc/include/generic-netbsd/i386/cpu.h +15 -4
- package/libc/include/generic-netbsd/i386/elf_machdep.h +2 -1
- package/libc/include/generic-netbsd/i386/lwp_private.h +3 -0
- package/libc/include/generic-netbsd/i386/mcontext.h +6 -24
- package/libc/include/generic-netbsd/i386/param.h +9 -1
- package/libc/include/generic-netbsd/i386/pcb.h +6 -2
- package/libc/include/generic-netbsd/i386/ptrace.h +2 -2
- package/libc/include/generic-netbsd/i386/types.h +2 -1
- package/libc/include/generic-netbsd/i386/wchar_limits.h +1 -1
- package/libc/include/generic-netbsd/isofs/cd9660/cd9660_extern.h +6 -1
- package/libc/include/generic-netbsd/isofs/cd9660/cd9660_mount.h +7 -1
- package/libc/include/generic-netbsd/langinfo.h +2 -1
- package/libc/include/generic-netbsd/lauxlib.h +1 -1
- package/libc/include/generic-netbsd/libelf.h +6 -15
- package/libc/include/generic-netbsd/limits.h +1 -1
- package/libc/include/generic-netbsd/lua.h +1 -1
- package/libc/include/generic-netbsd/luaconf.h +1 -1
- package/libc/include/generic-netbsd/lualib.h +1 -1
- package/libc/include/generic-netbsd/lwp.h +1 -1
- package/libc/include/generic-netbsd/machine/ansi.h +2 -2
- package/libc/include/generic-netbsd/machine/aout_machdep.h +39 -2
- package/libc/include/generic-netbsd/machine/arm32/pmap.h +8 -32
- package/libc/include/generic-netbsd/machine/arm32/vmparam.h +5 -5
- package/libc/include/generic-netbsd/machine/asm.h +271 -2
- package/libc/include/generic-netbsd/machine/bswap.h +9 -1
- package/libc/include/generic-netbsd/machine/byte_swap.h +42 -64
- package/libc/include/generic-netbsd/machine/cdefs.h +7 -2
- package/libc/include/generic-netbsd/machine/cpu.h +207 -30
- package/libc/include/generic-netbsd/machine/cputypes.h +12 -1
- package/libc/include/generic-netbsd/machine/disklabel.h +41 -42
- package/libc/include/generic-netbsd/machine/elf_machdep.h +143 -2
- package/libc/include/generic-netbsd/machine/endian.h +1 -1
- package/libc/include/generic-netbsd/machine/fenv.h +35 -2
- package/libc/include/generic-netbsd/machine/float.h +58 -2
- package/libc/include/generic-netbsd/machine/frame.h +129 -2
- package/libc/include/generic-netbsd/machine/ieee.h +3 -2
- package/libc/include/generic-netbsd/machine/ieeefp.h +43 -2
- package/libc/include/generic-netbsd/machine/int_const.h +32 -2
- package/libc/include/generic-netbsd/machine/int_fmtio.h +380 -2
- package/libc/include/generic-netbsd/machine/int_limits.h +2 -2
- package/libc/include/generic-netbsd/machine/int_mwgwtypes.h +2 -2
- package/libc/include/generic-netbsd/machine/int_types.h +2 -2
- package/libc/include/generic-netbsd/machine/kcore.h +39 -2
- package/libc/include/generic-netbsd/machine/limits.h +2 -2
- package/libc/include/generic-netbsd/machine/lock.h +2 -2
- package/libc/include/generic-netbsd/machine/lwp_private.h +83 -0
- package/libc/include/generic-netbsd/machine/math.h +3 -2
- package/libc/include/generic-netbsd/machine/mcontext.h +149 -2
- package/libc/include/generic-netbsd/machine/mutex.h +127 -2
- package/libc/include/generic-netbsd/machine/param.h +90 -23
- package/libc/include/generic-netbsd/machine/pcb.h +54 -2
- package/libc/include/generic-netbsd/machine/pmap.h +262 -2
- package/libc/include/generic-netbsd/machine/proc.h +75 -2
- package/libc/include/generic-netbsd/machine/profile.h +116 -2
- package/libc/include/generic-netbsd/machine/psl.h +2 -2
- package/libc/include/generic-netbsd/machine/pte.h +346 -2
- package/libc/include/generic-netbsd/machine/ptrace.h +62 -2
- package/libc/include/generic-netbsd/machine/reg.h +124 -2
- package/libc/include/generic-netbsd/machine/reloc.h +2 -2
- package/libc/include/generic-netbsd/machine/setjmp.h +69 -2
- package/libc/include/generic-netbsd/machine/signal.h +39 -2
- package/libc/include/generic-netbsd/machine/sljit_machdep.h +1 -1
- package/libc/include/generic-netbsd/machine/sysarch.h +2 -84
- package/libc/include/generic-netbsd/machine/sysreg.h +354 -0
- package/libc/include/generic-netbsd/machine/trap.h +2 -2
- package/libc/include/generic-netbsd/machine/types.h +118 -6
- package/libc/include/generic-netbsd/machine/vmparam.h +235 -2
- package/libc/include/generic-netbsd/machine/wchar_limits.h +2 -2
- package/libc/include/generic-netbsd/math.h +19 -6
- package/libc/include/generic-netbsd/md2.h +6 -3
- package/libc/include/generic-netbsd/mips/asm.h +69 -17
- package/libc/include/generic-netbsd/mips/bswap.h +3 -1
- package/libc/include/generic-netbsd/mips/cpu.h +7 -7
- package/libc/include/generic-netbsd/mips/elf_machdep.h +2 -1
- package/libc/include/generic-netbsd/mips/fenv.h +2 -1
- package/libc/include/generic-netbsd/mips/float.h +3 -2
- package/libc/include/generic-netbsd/mips/frame.h +3 -2
- package/libc/include/generic-netbsd/mips/limits.h +4 -13
- package/libc/include/generic-netbsd/mips/lwp_private.h +87 -0
- package/libc/include/generic-netbsd/mips/mcontext.h +2 -53
- package/libc/include/generic-netbsd/mips/mips3_pte.h +2 -2
- package/libc/include/generic-netbsd/mips/mips_param.h +16 -2
- package/libc/include/generic-netbsd/mips/mutex.h +1 -1
- package/libc/include/generic-netbsd/mips/types.h +1 -1
- package/libc/include/generic-netbsd/mips/vmparam.h +1 -1
- package/libc/include/generic-netbsd/miscfs/kernfs/kernfs.h +2 -2
- package/libc/include/generic-netbsd/miscfs/procfs/procfs.h +33 -2
- package/libc/include/generic-netbsd/miscfs/specfs/specdev.h +1 -2
- package/libc/include/generic-netbsd/monetary.h +2 -1
- package/libc/include/generic-netbsd/net/agr/if_agrioctl.h +2 -2
- package/libc/include/generic-netbsd/net/bpf.h +11 -4
- package/libc/include/generic-netbsd/net/bpfdesc.h +1 -1
- package/libc/include/generic-netbsd/net/dlt.h +222 -48
- package/libc/include/generic-netbsd/net/if.h +20 -5
- package/libc/include/generic-netbsd/net/if_bridgevar.h +2 -3
- package/libc/include/generic-netbsd/net/if_ether.h +4 -3
- package/libc/include/generic-netbsd/net/if_lagg.h +2 -2
- package/libc/include/generic-netbsd/net/if_media.h +2 -2
- package/libc/include/generic-netbsd/net/if_ppp.h +1 -3
- package/libc/include/generic-netbsd/net/if_stats.h +19 -5
- package/libc/include/generic-netbsd/net/net_stats.h +13 -6
- package/libc/include/generic-netbsd/net/npf.h +33 -5
- package/libc/include/generic-netbsd/net/pfkeyv2.h +1 -1
- package/libc/include/generic-netbsd/net/route.h +4 -4
- package/libc/include/generic-netbsd/net80211/ieee80211_node.h +3 -2
- package/libc/include/generic-netbsd/net80211/ieee80211_var.h +2 -2
- package/libc/include/generic-netbsd/netbt/hci.h +3 -3
- package/libc/include/generic-netbsd/netdb.h +2 -2
- package/libc/include/generic-netbsd/netinet/icmp6.h +6 -2
- package/libc/include/generic-netbsd/netinet/in.h +17 -17
- package/libc/include/generic-netbsd/netinet/in_var.h +5 -9
- package/libc/include/generic-netbsd/netinet/ip_mroute.h +24 -28
- package/libc/include/generic-netbsd/netinet/ip_var.h +2 -2
- package/libc/include/generic-netbsd/netinet/sctp.h +4 -4
- package/libc/include/generic-netbsd/netinet/tcp_var.h +2 -2
- package/libc/include/generic-netbsd/netinet/tcp_vtw.h +2 -2
- package/libc/include/generic-netbsd/netinet6/in6_var.h +7 -33
- package/libc/include/generic-netbsd/netinet6/ip6_var.h +2 -2
- package/libc/include/generic-netbsd/nfs/krpc.h +9 -4
- package/libc/include/generic-netbsd/nfs/nfs.h +5 -3
- package/libc/include/generic-netbsd/nfs/nfsdiskless.h +37 -20
- package/libc/include/generic-netbsd/nfs/nfsm_subs.h +4 -7
- package/libc/include/generic-netbsd/nfs/nfsmount.h +3 -4
- package/libc/include/generic-netbsd/nfs/nfsnode.h +9 -6
- package/libc/include/generic-netbsd/nfs/nfsproto.h +5 -2
- package/libc/include/generic-netbsd/nfs/nfsrtt.h +8 -4
- package/libc/include/generic-netbsd/nfs/nfsrvcache.h +9 -3
- package/libc/include/generic-netbsd/nfs/rpcv2.h +5 -3
- package/libc/include/generic-netbsd/nfs/xdr_subs.h +6 -5
- package/libc/include/generic-netbsd/nl_types.h +3 -1
- package/libc/include/generic-netbsd/ntfs/ntfs_inode.h +2 -2
- package/libc/include/generic-netbsd/poll.h +8 -2
- package/libc/include/generic-netbsd/prop/prop_object.h +48 -3
- package/libc/include/generic-netbsd/protocols/talkd.h +2 -2
- package/libc/include/generic-netbsd/pthread.h +51 -12
- package/libc/include/generic-netbsd/regex.h +2 -1
- package/libc/include/generic-netbsd/riscv/ansi.h +3 -0
- package/libc/include/generic-netbsd/riscv/aout_machdep.h +40 -0
- package/libc/include/generic-netbsd/riscv/asm.h +272 -0
- package/libc/include/generic-netbsd/riscv/bswap.h +11 -0
- package/libc/include/generic-netbsd/riscv/byte_swap.h +99 -0
- package/libc/include/generic-netbsd/riscv/cdefs.h +8 -0
- package/libc/include/generic-netbsd/riscv/cpu.h +242 -0
- package/libc/include/generic-netbsd/riscv/disklabel.h +68 -0
- package/libc/include/generic-netbsd/riscv/elf_machdep.h +144 -0
- package/libc/include/generic-netbsd/riscv/endian.h +3 -0
- package/libc/include/generic-netbsd/riscv/endian_machdep.h +3 -0
- package/libc/include/generic-netbsd/riscv/fenv.h +36 -0
- package/libc/include/generic-netbsd/riscv/float.h +59 -0
- package/libc/include/generic-netbsd/riscv/ieee.h +4 -0
- package/libc/include/generic-netbsd/riscv/ieeefp.h +44 -0
- package/libc/include/generic-netbsd/riscv/int_const.h +33 -0
- package/libc/include/generic-netbsd/riscv/int_fmtio.h +381 -0
- package/libc/include/generic-netbsd/riscv/int_limits.h +3 -0
- package/libc/include/generic-netbsd/riscv/int_mwgwtypes.h +3 -0
- package/libc/include/generic-netbsd/riscv/int_types.h +3 -0
- package/libc/include/generic-netbsd/riscv/kcore.h +40 -0
- package/libc/include/generic-netbsd/riscv/limits.h +3 -0
- package/libc/include/generic-netbsd/riscv/lock.h +3 -0
- package/libc/include/generic-netbsd/riscv/lwp_private.h +83 -0
- package/libc/include/generic-netbsd/riscv/math.h +4 -0
- package/libc/include/generic-netbsd/riscv/mcontext.h +150 -0
- package/libc/include/generic-netbsd/riscv/mutex.h +128 -0
- package/libc/include/generic-netbsd/riscv/param.h +110 -0
- package/libc/include/generic-netbsd/riscv/pcb.h +55 -0
- package/libc/include/generic-netbsd/riscv/pmap.h +263 -0
- package/libc/include/generic-netbsd/riscv/proc.h +76 -0
- package/libc/include/generic-netbsd/riscv/profile.h +117 -0
- package/libc/include/generic-netbsd/riscv/pte.h +347 -0
- package/libc/include/generic-netbsd/riscv/ptrace.h +63 -0
- package/libc/include/generic-netbsd/riscv/reg.h +125 -0
- package/libc/include/generic-netbsd/riscv/rwlock.h +1 -0
- package/libc/include/generic-netbsd/riscv/setjmp.h +70 -0
- package/libc/include/generic-netbsd/riscv/signal.h +40 -0
- package/libc/include/generic-netbsd/riscv/sysarch.h +3 -0
- package/libc/include/generic-netbsd/riscv/sysreg.h +354 -0
- package/libc/include/generic-netbsd/riscv/types.h +123 -0
- package/libc/include/generic-netbsd/riscv/vmparam.h +236 -0
- package/libc/include/generic-netbsd/riscv/wchar_limits.h +13 -0
- package/libc/include/generic-netbsd/rmd160.h +3 -3
- package/libc/include/generic-netbsd/rpc/xdr.h +3 -3
- package/libc/include/generic-netbsd/rpcsvc/yp_prot.h +3 -2
- package/libc/include/generic-netbsd/rump/rump_namei.h +2 -2
- package/libc/include/generic-netbsd/rump/rump_syscalls.h +4 -4
- package/libc/include/generic-netbsd/rump/rumpuser.h +6 -1
- package/libc/include/generic-netbsd/rump/rumpvnode_if.h +2 -2
- package/libc/include/generic-netbsd/sha1.h +3 -3
- package/libc/include/generic-netbsd/sha2.h +8 -1
- package/libc/include/generic-netbsd/signal.h +4 -4
- package/libc/include/generic-netbsd/sparc/asm.h +10 -1
- package/libc/include/generic-netbsd/sparc/bswap.h +9 -1
- package/libc/include/generic-netbsd/sparc/cgtworeg.h +2 -2
- package/libc/include/generic-netbsd/sparc/cpu.h +1 -1
- package/libc/include/generic-netbsd/sparc/float.h +3 -1
- package/libc/include/generic-netbsd/sparc/limits.h +4 -6
- package/libc/include/generic-netbsd/sparc/lwp_private.h +51 -0
- package/libc/include/generic-netbsd/sparc/mcontext.h +4 -22
- package/libc/include/generic-netbsd/sparc/mutex.h +1 -1
- package/libc/include/generic-netbsd/sparc/param.h +4 -2
- package/libc/include/generic-netbsd/sparc/pmap.h +2 -2
- package/libc/include/generic-netbsd/sparc/psl.h +6 -3
- package/libc/include/generic-netbsd/sparc/types.h +2 -2
- package/libc/include/generic-netbsd/sparc64/bswap.h +9 -1
- package/libc/include/generic-netbsd/sparc64/cpu.h +2 -2
- package/libc/include/generic-netbsd/sparc64/ctlreg.h +8 -7
- package/libc/include/generic-netbsd/sparc64/intr.h +1 -1
- package/libc/include/generic-netbsd/sparc64/lwp_private.h +3 -0
- package/libc/include/generic-netbsd/sparc64/mcontext.h +4 -4
- package/libc/include/generic-netbsd/sparc64/mutex.h +1 -1
- package/libc/include/generic-netbsd/sparc64/param.h +8 -2
- package/libc/include/generic-netbsd/sparc64/psl.h +7 -2
- package/libc/include/generic-netbsd/sparc64/pte.h +2 -2
- package/libc/include/generic-netbsd/sparc64/vmparam.h +1 -1
- package/libc/include/generic-netbsd/ssp/ssp.h +16 -6
- package/libc/include/generic-netbsd/stdalign.h +3 -3
- package/libc/include/generic-netbsd/stdarg.h +2 -2
- package/libc/include/generic-netbsd/stddef.h +90 -12
- package/libc/include/generic-netbsd/stdlib.h +11 -2
- package/libc/include/generic-netbsd/stdnoreturn.h +2 -2
- package/libc/include/generic-netbsd/string.h +66 -39
- package/libc/include/generic-netbsd/strings.h +17 -3
- package/libc/include/generic-netbsd/sys/atomic.h +10 -5
- package/libc/include/generic-netbsd/sys/bitops.h +2 -2
- package/libc/include/generic-netbsd/sys/bootblock.h +13 -2
- package/libc/include/generic-netbsd/sys/bswap.h +46 -20
- package/libc/include/generic-netbsd/sys/buf.h +3 -3
- package/libc/include/generic-netbsd/sys/cdefs.h +44 -6
- package/libc/include/generic-netbsd/sys/cdefs_aout.h +8 -1
- package/libc/include/generic-netbsd/sys/cdefs_elf.h +9 -2
- package/libc/include/generic-netbsd/sys/chio.h +2 -2
- package/libc/include/generic-netbsd/sys/clock.h +5 -1
- package/libc/include/generic-netbsd/sys/common_limits.h +3 -1
- package/libc/include/generic-netbsd/sys/condvar.h +1 -1
- package/libc/include/generic-netbsd/sys/conf.h +4 -3
- package/libc/include/generic-netbsd/sys/container_of.h +75 -0
- package/libc/include/generic-netbsd/sys/device.h +20 -13
- package/libc/include/generic-netbsd/sys/disk.h +8 -1
- package/libc/include/generic-netbsd/sys/disklabel.h +2 -2
- package/libc/include/generic-netbsd/sys/disklabel_gpt.h +7 -1
- package/libc/include/generic-netbsd/sys/efiio.h +1 -1
- package/libc/include/generic-netbsd/sys/elfdefinitions.h +2368 -1591
- package/libc/include/generic-netbsd/sys/endian.h +17 -17
- package/libc/include/generic-netbsd/sys/evcnt.h +15 -2
- package/libc/include/generic-netbsd/sys/event.h +3 -2
- package/libc/include/generic-netbsd/sys/exec.h +2 -2
- package/libc/include/generic-netbsd/sys/exec_elf.h +32 -20
- package/libc/include/generic-netbsd/sys/fcntl.h +26 -2
- package/libc/include/generic-netbsd/sys/fd_set.h +3 -3
- package/libc/include/generic-netbsd/sys/featuretest.h +24 -6
- package/libc/include/generic-netbsd/sys/file.h +18 -6
- package/libc/include/generic-netbsd/sys/filedesc.h +8 -4
- package/libc/include/generic-netbsd/sys/futex.h +11 -11
- package/libc/include/generic-netbsd/sys/ieee754.h +2 -2
- package/libc/include/generic-netbsd/sys/ipc.h +2 -2
- package/libc/include/generic-netbsd/sys/ipmi.h +4 -2
- package/libc/include/generic-netbsd/sys/ksem.h +1 -1
- package/libc/include/generic-netbsd/sys/ktrace.h +6 -4
- package/libc/include/generic-netbsd/sys/lock.h +2 -2
- package/libc/include/generic-netbsd/sys/lua.h +1 -1
- package/libc/include/generic-netbsd/sys/lwp.h +25 -92
- package/libc/include/generic-netbsd/sys/mbuf.h +15 -13
- package/libc/include/generic-netbsd/sys/mman.h +11 -3
- package/libc/include/generic-netbsd/sys/mount.h +1 -2
- package/libc/include/generic-netbsd/sys/msg.h +3 -3
- package/libc/include/generic-netbsd/sys/mutex.h +1 -3
- package/libc/include/generic-netbsd/sys/namei.h +32 -17
- package/libc/include/generic-netbsd/sys/param.h +11 -8
- package/libc/include/generic-netbsd/sys/pipe.h +10 -11
- package/libc/include/generic-netbsd/sys/poll.h +8 -2
- package/libc/include/generic-netbsd/sys/proc.h +15 -15
- package/libc/include/generic-netbsd/sys/ptrace.h +24 -7
- package/libc/include/generic-netbsd/sys/ptree.h +2 -1
- package/libc/include/generic-netbsd/sys/queue.h +37 -37
- package/libc/include/generic-netbsd/sys/rbtree.h +23 -9
- package/libc/include/generic-netbsd/sys/resourcevar.h +2 -2
- package/libc/include/generic-netbsd/sys/rmd160.h +3 -3
- package/libc/include/generic-netbsd/sys/rndio.h +1 -1
- package/libc/include/generic-netbsd/sys/rwlock.h +1 -2
- package/libc/include/generic-netbsd/sys/sched.h +1 -1
- package/libc/include/generic-netbsd/sys/sdt.h +181 -111
- package/libc/include/generic-netbsd/sys/sem.h +7 -2
- package/libc/include/generic-netbsd/sys/sha1.h +3 -3
- package/libc/include/generic-netbsd/sys/sha2.h +8 -1
- package/libc/include/generic-netbsd/sys/shm.h +2 -2
- package/libc/include/generic-netbsd/sys/siginfo.h +5 -5
- package/libc/include/generic-netbsd/sys/signal.h +1 -1
- package/libc/include/generic-netbsd/sys/sigtypes.h +4 -4
- package/libc/include/generic-netbsd/sys/sleepq.h +14 -27
- package/libc/include/generic-netbsd/sys/socket.h +3 -1
- package/libc/include/generic-netbsd/sys/socketvar.h +4 -4
- package/libc/include/generic-netbsd/sys/stat.h +5 -5
- package/libc/include/generic-netbsd/sys/stdalign.h +55 -0
- package/libc/include/generic-netbsd/sys/stdarg.h +2 -2
- package/libc/include/generic-netbsd/sys/stddef.h +156 -0
- package/libc/include/generic-netbsd/sys/swap.h +2 -2
- package/libc/include/generic-netbsd/sys/syncobj.h +9 -6
- package/libc/include/generic-netbsd/sys/syscall.h +29 -8
- package/libc/include/generic-netbsd/sys/syscallargs.h +89 -12
- package/libc/include/generic-netbsd/sys/sysctl.h +94 -86
- package/libc/include/generic-netbsd/sys/syslimits.h +8 -1
- package/libc/include/generic-netbsd/sys/syslog.h +6 -7
- package/libc/include/generic-netbsd/sys/time.h +10 -8
- package/libc/include/generic-netbsd/sys/tree.h +13 -13
- package/libc/include/generic-netbsd/sys/tty.h +2 -2
- package/libc/include/generic-netbsd/sys/ttycom.h +7 -1
- package/libc/include/generic-netbsd/sys/types.h +1 -1
- package/libc/include/generic-netbsd/sys/ucontext.h +46 -49
- package/libc/include/generic-netbsd/sys/un.h +12 -4
- package/libc/include/generic-netbsd/sys/unistd.h +103 -102
- package/libc/include/generic-netbsd/sys/unpcb.h +2 -2
- package/libc/include/generic-netbsd/sys/vmmeter.h +1 -39
- package/libc/include/generic-netbsd/sys/vnode_if.h +2 -2
- package/libc/include/generic-netbsd/sys/vnode_impl.h +6 -3
- package/libc/include/generic-netbsd/sys/wapbl_replay.h +2 -2
- package/libc/include/generic-netbsd/sys/wchan.h +37 -0
- package/libc/include/generic-netbsd/syslog.h +6 -7
- package/libc/include/generic-netbsd/time.h +44 -8
- package/libc/include/generic-netbsd/tzfile.h +11 -6
- package/libc/include/generic-netbsd/uchar.h +1 -1
- package/libc/include/generic-netbsd/ucontext.h +2 -1
- package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs.h +31 -16
- package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs_dir.h +1 -1
- package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs_extents.h +5 -5
- package/libc/include/generic-netbsd/ufs/ext2fs/ext2fs_extern.h +4 -4
- package/libc/include/generic-netbsd/ufs/ffs/ffs_extern.h +1 -1
- package/libc/include/generic-netbsd/ufs/ffs/fs.h +3 -3
- package/libc/include/generic-netbsd/ufs/ufs/quota2.h +2 -2
- package/libc/include/generic-netbsd/unistd.h +11 -5
- package/libc/include/generic-netbsd/unwind.h +1 -1
- package/libc/include/generic-netbsd/util.h +15 -1
- package/libc/include/generic-netbsd/uvm/uvm.h +1 -5
- package/libc/include/generic-netbsd/uvm/uvm_extern.h +3 -4
- package/libc/include/generic-netbsd/uvm/uvm_object.h +2 -2
- package/libc/include/generic-netbsd/uvm/uvm_param.h +1 -1
- package/libc/include/generic-netbsd/uvm/uvm_swap.h +14 -3
- package/libc/include/generic-netbsd/wchar.h +7 -2
- package/libc/include/generic-netbsd/x86/bootinfo.h +4 -1
- package/libc/include/generic-netbsd/x86/cpu.h +18 -1
- package/libc/include/generic-netbsd/x86/cpu_extended_state.h +3 -1
- package/libc/include/generic-netbsd/x86/cpuvar.h +4 -1
- package/libc/include/generic-netbsd/x86/float.h +24 -1
- package/libc/include/generic-netbsd/x86/ieee.h +11 -7
- package/libc/include/generic-netbsd/x86/lwp_private.h +56 -0
- package/libc/include/generic-netbsd/x86/mutex.h +1 -1
- package/libc/include/generic-netbsd/x86/specialreg.h +111 -23
- package/libc/include/m68k-netbsd-none/m68k/asm.h +11 -2
- package/libc/include/m68k-netbsd-none/m68k/bus_dma.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/byte_swap.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/cacheops_30.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/cacheops_40.h +3 -1
- package/libc/include/m68k-netbsd-none/m68k/cacheops_60.h +5 -3
- package/libc/include/m68k-netbsd-none/m68k/cpu.h +86 -59
- package/libc/include/m68k-netbsd-none/m68k/cpuframe.h +5 -5
- package/libc/include/m68k-netbsd-none/m68k/fenv.h +6 -4
- package/libc/include/m68k-netbsd-none/m68k/float.h +26 -1
- package/libc/include/m68k-netbsd-none/m68k/frame.h +31 -19
- package/libc/include/m68k-netbsd-none/m68k/ieee.h +13 -8
- package/libc/include/m68k-netbsd-none/m68k/ieeefp.h +3 -3
- package/libc/include/m68k-netbsd-none/m68k/int_limits.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/intr.h +211 -0
- package/libc/include/m68k-netbsd-none/m68k/kcore.h +31 -31
- package/libc/include/m68k-netbsd-none/m68k/lwp_private.h +64 -0
- package/libc/include/m68k-netbsd-none/m68k/m68k.h +3 -7
- package/libc/include/m68k-netbsd-none/m68k/mcontext.h +5 -36
- package/libc/include/m68k-netbsd-none/m68k/mmu_30.h +105 -0
- package/libc/include/m68k-netbsd-none/m68k/mmu_40.h +232 -0
- package/libc/include/m68k-netbsd-none/m68k/mmu_51.h +273 -0
- package/libc/include/m68k-netbsd-none/m68k/mutex.h +1 -1
- package/libc/include/m68k-netbsd-none/m68k/pcb.h +2 -2
- package/libc/include/m68k-netbsd-none/m68k/pmap_motorola.h +32 -23
- package/libc/include/m68k-netbsd-none/m68k/psl.h +26 -7
- package/libc/include/m68k-netbsd-none/m68k/pte_motorola.h +37 -26
- package/libc/include/m68k-netbsd-none/m68k/trap.h +7 -7
- package/libc/include/m68k-netbsd-none/mac68k/cpu.h +1 -57
- package/libc/include/m68k-netbsd-none/mac68k/intr.h +3 -2
- package/libc/include/m68k-netbsd-none/mac68k/lwp_private.h +3 -0
- package/libc/include/m68k-netbsd-none/mac68k/pmap.h +20 -2
- package/libc/include/m68k-netbsd-none/mac68k/z8530var.h +2 -2
- package/libc/include/m68k-netbsd-none/machine/cpu.h +1 -57
- package/libc/include/m68k-netbsd-none/machine/intr.h +3 -2
- package/libc/include/m68k-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/m68k-netbsd-none/machine/pmap.h +20 -2
- package/libc/include/m68k-netbsd-none/machine/z8530var.h +2 -2
- package/libc/include/mips-netbsd-eabi/machine/lwp_private.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/evbppc/lwp_private.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/float.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/ansi.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/aout_machdep.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/asm.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/cdefs.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/cpu.h +65 -0
- package/libc/include/powerpc-netbsd-eabi/machine/disklabel.h +69 -0
- package/libc/include/powerpc-netbsd-eabi/machine/elf_machdep.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/endian.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/fenv.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/float.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/frame.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/ieee.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/ieeefp.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_const.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_fmtio.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_limits.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_mwgwtypes.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/int_types.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/kcore.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/limits.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/lock.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/lwp_private.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/math.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/mcontext.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/mutex.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/param.h +43 -0
- package/libc/include/powerpc-netbsd-eabi/machine/pcb.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/pmap.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/proc.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/profile.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/psl.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/pte.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/ptrace.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/reg.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/reloc.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/setjmp.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/signal.h +3 -0
- package/libc/include/{mips-netbsd-eabi → powerpc-netbsd-eabi}/machine/sljit_machdep.h +1 -1
- package/libc/include/powerpc-netbsd-eabi/machine/trap.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/types.h +11 -0
- package/libc/include/powerpc-netbsd-eabi/machine/vmparam.h +3 -0
- package/libc/include/powerpc-netbsd-eabi/machine/wchar_limits.h +3 -0
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/asm.h +12 -2
- package/libc/include/powerpc-netbsd-eabi/powerpc/bswap.h +14 -0
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/cpu.h +3 -3
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/fenv.h +2 -1
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/pmap.h +3 -3
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ieee.h +7 -2
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/limits.h +4 -13
- package/libc/include/powerpc-netbsd-eabi/powerpc/lwp_private.h +79 -0
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/mcontext.h +6 -50
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/mutex.h +1 -1
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/hid.h +2 -2
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/pmap.h +2 -2
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/pmap.h +1 -1
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/psl.h +2 -2
- package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/vmparam.h +1 -1
- package/libc/include/riscv32-netbsd-none/machine/bswap.h +11 -0
- package/libc/include/riscv32-netbsd-none/machine/endian_machdep.h +3 -0
- package/libc/include/riscv32-netbsd-none/machine/rwlock.h +1 -0
- package/libc/include/riscv32-netbsd-none/machine/wchar_limits.h +4 -0
- package/libc/include/riscv64-netbsd-none/machine/bswap.h +11 -0
- package/libc/include/riscv64-netbsd-none/machine/endian_machdep.h +3 -0
- package/libc/include/riscv64-netbsd-none/machine/rwlock.h +1 -0
- package/libc/include/riscv64-netbsd-none/machine/wchar_limits.h +4 -0
- package/libc/include/sparc-netbsd-none/float.h +3 -1
- package/libc/include/sparc-netbsd-none/machine/asm.h +10 -1
- package/libc/include/sparc-netbsd-none/machine/cgtworeg.h +2 -2
- package/libc/include/sparc-netbsd-none/machine/cpu.h +1 -1
- package/libc/include/sparc-netbsd-none/machine/float.h +3 -1
- package/libc/include/sparc-netbsd-none/machine/limits.h +4 -6
- package/libc/include/sparc-netbsd-none/machine/lwp_private.h +51 -0
- package/libc/include/sparc-netbsd-none/machine/mcontext.h +4 -22
- package/libc/include/sparc-netbsd-none/machine/mutex.h +1 -1
- package/libc/include/sparc-netbsd-none/machine/param.h +4 -2
- package/libc/include/sparc-netbsd-none/machine/pmap.h +2 -2
- package/libc/include/sparc-netbsd-none/machine/psl.h +6 -3
- package/libc/include/sparc-netbsd-none/machine/sxreg.h +5 -1
- package/libc/include/sparc-netbsd-none/machine/types.h +2 -2
- package/libc/include/sparc-netbsd-none/sparc/sxreg.h +5 -1
- package/libc/include/sparc64-netbsd-none/machine/cpu.h +2 -2
- package/libc/include/sparc64-netbsd-none/machine/ctlreg.h +8 -7
- package/libc/include/sparc64-netbsd-none/machine/intr.h +1 -1
- package/libc/include/sparc64-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/sparc64-netbsd-none/machine/mcontext.h +4 -4
- package/libc/include/sparc64-netbsd-none/machine/mutex.h +1 -1
- package/libc/include/sparc64-netbsd-none/machine/param.h +8 -2
- package/libc/include/sparc64-netbsd-none/machine/psl.h +7 -2
- package/libc/include/sparc64-netbsd-none/machine/pte.h +2 -2
- package/libc/include/sparc64-netbsd-none/machine/vmparam.h +1 -1
- package/libc/include/x86-netbsd-none/machine/asm.h +12 -4
- package/libc/include/x86-netbsd-none/machine/byte_swap.h +2 -2
- package/libc/include/x86-netbsd-none/machine/cpu.h +15 -4
- package/libc/include/x86-netbsd-none/machine/elf_machdep.h +2 -1
- package/libc/include/x86-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/x86-netbsd-none/machine/mcontext.h +6 -24
- package/libc/include/x86-netbsd-none/machine/param.h +9 -1
- package/libc/include/x86-netbsd-none/machine/pcb.h +6 -2
- package/libc/include/x86-netbsd-none/machine/ptrace.h +2 -2
- package/libc/include/x86-netbsd-none/machine/types.h +2 -1
- package/libc/include/x86_64-netbsd-none/amd64/asm.h +11 -3
- package/libc/include/x86_64-netbsd-none/amd64/byte_swap.h +2 -2
- package/libc/include/x86_64-netbsd-none/amd64/cpu.h +13 -3
- package/libc/include/x86_64-netbsd-none/amd64/frame.h +2 -2
- package/libc/include/x86_64-netbsd-none/amd64/lwp_private.h +3 -0
- package/libc/include/x86_64-netbsd-none/amd64/mcontext.h +5 -23
- package/libc/include/x86_64-netbsd-none/amd64/param.h +23 -4
- package/libc/include/x86_64-netbsd-none/amd64/pcb.h +14 -3
- package/libc/include/x86_64-netbsd-none/amd64/ptrace.h +2 -2
- package/libc/include/x86_64-netbsd-none/amd64/types.h +2 -1
- package/libc/include/x86_64-netbsd-none/machine/asm.h +11 -3
- package/libc/include/x86_64-netbsd-none/machine/byte_swap.h +2 -2
- package/libc/include/x86_64-netbsd-none/machine/cpu.h +13 -3
- package/libc/include/x86_64-netbsd-none/machine/frame.h +2 -2
- package/libc/include/x86_64-netbsd-none/machine/lwp_private.h +3 -0
- package/libc/include/x86_64-netbsd-none/machine/mcontext.h +5 -23
- package/libc/include/x86_64-netbsd-none/machine/param.h +23 -4
- package/libc/include/x86_64-netbsd-none/machine/pcb.h +14 -3
- package/libc/include/x86_64-netbsd-none/machine/ptrace.h +2 -2
- package/libc/include/x86_64-netbsd-none/machine/types.h +2 -1
- package/libc/netbsd/abilists +0 -0
- package/libc/netbsd/lib/csu/arch/riscv/crt0.S +62 -0
- package/libc/netbsd/lib/csu/common/crt0-common.c +32 -7
- package/libc/netbsd/lib/csu/common/csu-common.h +2 -0
- package/package.json +1 -1
- package/std/Build/Cache/Path.zig +27 -28
- package/std/Build/Cache.zig +1 -0
- package/std/Build/Configuration.zig +69 -29
- package/std/Build/Step/Compile.zig +2 -8
- package/std/Build/Step/ObjCopy.zig +2 -2
- package/std/Build/Step/Options.zig +2 -2
- package/std/Build/Step/Run.zig +0 -33
- package/std/Build.zig +34 -4
- package/std/Io/Kqueue.zig +1 -1
- package/std/Io/Threaded.zig +1 -1
- package/std/Io/Uring.zig +3 -1
- package/std/Target.zig +3 -1
- package/std/debug/Pdb.zig +61 -34
- package/std/debug/SelfInfo/Elf.zig +12 -9
- package/std/debug/SelfInfo/Windows.zig +3 -5
- package/std/debug/cpu_context.zig +62 -14
- package/std/zig/target.zig +2 -1
- package/std/zig.zig +12 -0
- package/libc/include/arm-netbsd-eabi/machine/frame.h +0 -130
- package/libc/include/generic-netbsd/powerpc/bswap.h +0 -8
- package/libc/include/mips-netbsd-eabi/machine/psl.h +0 -3
- package/libc/include/mips-netbsd-eabi/machine/reloc.h +0 -3
- package/libc/include/mips-netbsd-eabi/machine/trap.h +0 -3
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ansi.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/aout_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/asm.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/bswap.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/cdefs.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/cpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/disklabel.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/elf_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/endian.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/endian_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/fenv.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/float.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/fpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/frame.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ieee.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ieeefp.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_const.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_fmtio.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_limits.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_mwgwtypes.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/int_types.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/intr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/kcore.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/limits.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/lock.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/math.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/mcontext.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/mutex.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/param.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/pcb.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/pmap.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/proc.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/profile.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/psl.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/pte.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/ptrace.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/reg.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/reloc.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/rwlock.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/setjmp.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/signal.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/sljit_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/trap.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/types.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/vmparam.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/evbppc/wchar_limits.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/machine/fpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/machine/intr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ansi.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/aout_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/cdefs.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/elf_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/endian.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/endian_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/float.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/fpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/frame.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/cpu.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/spr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ibm4xx/tlb.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ieeefp.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_const.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_fmtio.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_limits.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_mwgwtypes.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/int_types.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/kcore.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/lock.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/math.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/bat.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/hid_601.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/pte.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/spr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/sr_601.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/oea/vmparam.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/param.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/pcb.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/proc.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/profile.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/pte.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/ptrace.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/reg.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/reloc.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/rwlock.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/setjmp.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/signal.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/sljit_machdep.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/spr.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/trap.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/types.h +0 -0
- /package/libc/include/{generic-netbsd → powerpc-netbsd-eabi}/powerpc/wchar_limits.h +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: dlfcn.h,v 1.
|
|
1
|
+
/* $NetBSD: dlfcn.h,v 1.26 2024/11/02 20:53:58 nia Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
|
@@ -59,8 +59,10 @@ void *_dlauxinfo(void) __pure;
|
|
|
59
59
|
void *dlopen(const char *, int);
|
|
60
60
|
int dlclose(void *);
|
|
61
61
|
void *dlsym(void * __restrict, const char * __restrict);
|
|
62
|
-
#if defined(_NETBSD_SOURCE)
|
|
62
|
+
#if (_POSIX_C_SOURCE - 0 >= 202405L) || defined(_NETBSD_SOURCE)
|
|
63
63
|
int dladdr(const void * __restrict, Dl_info * __restrict);
|
|
64
|
+
#endif
|
|
65
|
+
#if defined(_NETBSD_SOURCE)
|
|
64
66
|
int dlctl(void *, int, void *);
|
|
65
67
|
int dlinfo(void *, int, void *);
|
|
66
68
|
void *dlvsym(void * __restrict, const char * __restrict,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: exec_elf.h,v 1.
|
|
1
|
+
/* $NetBSD: exec_elf.h,v 1.177 2025/05/27 14:03:08 christos Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 1994 The NetBSD Foundation, Inc.
|
|
@@ -216,7 +216,7 @@ typedef struct {
|
|
|
216
216
|
#define EM_68K 4 /* Motorola 68000 */
|
|
217
217
|
#define EM_88K 5 /* Motorola 88000 */
|
|
218
218
|
#define EM_486 6 /* Intel 80486 [old] */
|
|
219
|
-
#define EM_IAMCU
|
|
219
|
+
#define EM_IAMCU EM_486 /* Intel MCU. */
|
|
220
220
|
#define EM_860 7 /* Intel 80860 */
|
|
221
221
|
#define EM_MIPS 8 /* MIPS I Architecture */
|
|
222
222
|
#define EM_S370 9 /* Amdahl UTS on System/370 */
|
|
@@ -292,6 +292,7 @@ typedef struct {
|
|
|
292
292
|
#define EM_OR1K 92 /* OpenRISC 32-bit embedded processor */
|
|
293
293
|
#define EM_OPENRISC EM_OR1K
|
|
294
294
|
#define EM_ARC_A5 93 /* ARC Cores Tangent-A5 */
|
|
295
|
+
#define EM_ARC_COMPACT EM_ARC_A5 /* ARC International ARCompact processor (old spelling/synonym: EM_ARC_A5) */
|
|
295
296
|
#define EM_XTENSA 94 /* Tensilica Xtensa Architecture */
|
|
296
297
|
#define EM_VIDEOCORE 95 /* Alphamosaic VideoCore processor */
|
|
297
298
|
#define EM_TMM_GPP 96 /* Thompson Multimedia General Purpose Processor */
|
|
@@ -301,7 +302,7 @@ typedef struct {
|
|
|
301
302
|
#define EM_ST200 100 /* STMicroelectronics ST200 microcontroller */
|
|
302
303
|
#define EM_IP2K 101 /* Ubicom IP2xxx microcontroller family */
|
|
303
304
|
#define EM_MAX 102 /* MAX processor */
|
|
304
|
-
#define EM_CR 103 /* National Semiconductor CompactRISC
|
|
305
|
+
#define EM_CR 103 /* National Semiconductor CompactRISC microprocessor */
|
|
305
306
|
#define EM_F2MC16 104 /* Fujitsu F2MC16 */
|
|
306
307
|
#define EM_MSP430 105 /* Texas Instruments MSP430 */
|
|
307
308
|
#define EM_BLACKFIN 106 /* Analog Devices Blackfin DSP */
|
|
@@ -362,6 +363,7 @@ typedef struct {
|
|
|
362
363
|
#define EM_AARCH64 183 /* AArch64 64-bit ARM microprocessor */
|
|
363
364
|
/* 184 - Reserved */
|
|
364
365
|
#define EM_AVR32 185 /* Atmel Corporation 32-bit microprocessor family*/
|
|
366
|
+
#define EM_STM8 186 /* STMicroelectronics STM8 8-bit microcontroller */
|
|
365
367
|
#define EM_TILE64 187 /* Tilera TILE64 multicore architecture family */
|
|
366
368
|
#define EM_TILEPRO 188 /* Tilera TILEPro multicore architecture family */
|
|
367
369
|
#define EM_MICROBLAZE 189 /* Xilinx MicroBlaze 32-bit RISC soft processor core */
|
|
@@ -515,7 +517,8 @@ typedef struct {
|
|
|
515
517
|
#define SHT_PREINIT_ARRAY 16 /* Pre-initialization function ptrs */
|
|
516
518
|
#define SHT_GROUP 17 /* Section group */
|
|
517
519
|
#define SHT_SYMTAB_SHNDX 18 /* Section indexes (see SHN_XINDEX) */
|
|
518
|
-
#define
|
|
520
|
+
#define SHT_RELR 19 /* Relative relocation information */
|
|
521
|
+
#define SHT_NUM 20
|
|
519
522
|
|
|
520
523
|
#define SHT_LOOS 0x60000000 /* Operating system specific range */
|
|
521
524
|
#define SHT_GNU_INCREMENTAL_INPUTS 0x6fff4700 /* GNU incremental build data */
|
|
@@ -540,9 +543,9 @@ typedef struct {
|
|
|
540
543
|
#define SHT_LOPROC 0x70000000 /* Processor-specific range */
|
|
541
544
|
#define SHT_AMD64_UNWIND 0x70000001 /* unwind information */
|
|
542
545
|
#define SHT_ARM_EXIDX 0x70000001 /* exception index table */
|
|
543
|
-
#define SHT_ARM_PREEMPTMAP 0x70000002 /* BPABI DLL dynamic linking
|
|
546
|
+
#define SHT_ARM_PREEMPTMAP 0x70000002 /* BPABI DLL dynamic linking
|
|
544
547
|
* pre-emption map */
|
|
545
|
-
#define SHT_ARM_ATTRIBUTES 0x70000003 /* Object file compatibility
|
|
548
|
+
#define SHT_ARM_ATTRIBUTES 0x70000003 /* Object file compatibility
|
|
546
549
|
* attributes */
|
|
547
550
|
#define SHT_ARM_DEBUGOVERLAY 0x70000004 /* See DBGOVL for details */
|
|
548
551
|
#define SHT_ARM_OVERLAYSECTION 0x70000005
|
|
@@ -575,7 +578,7 @@ typedef struct {
|
|
|
575
578
|
*/
|
|
576
579
|
typedef struct {
|
|
577
580
|
Elf32_Word st_name; /* Symbol name (.strtab index) */
|
|
578
|
-
|
|
581
|
+
Elf32_Addr st_value; /* value of symbol */
|
|
579
582
|
Elf32_Word st_size; /* size of symbol */
|
|
580
583
|
Elf_Byte st_info; /* type / binding attrs */
|
|
581
584
|
Elf_Byte st_other; /* unused */
|
|
@@ -679,6 +682,9 @@ typedef struct {
|
|
|
679
682
|
#define ELF32_R_TYPE(info) ((info) & 0xff)
|
|
680
683
|
#define ELF32_R_INFO(sym, type) (((sym) << 8) + (unsigned char)(type))
|
|
681
684
|
|
|
685
|
+
/* Relative relocations (DT_RELR, SHT_RELR, .relr.dyn) */
|
|
686
|
+
typedef Elf32_Word Elf32_Relr;
|
|
687
|
+
|
|
682
688
|
typedef struct {
|
|
683
689
|
Elf64_Addr r_offset; /* where to do it */
|
|
684
690
|
Elf64_Xword r_info; /* index & type of relocation */
|
|
@@ -695,6 +701,9 @@ typedef struct {
|
|
|
695
701
|
#define ELF64_R_TYPE(info) ((info) & 0xffffffff)
|
|
696
702
|
#define ELF64_R_INFO(sym,type) (((sym) << 32) + (type))
|
|
697
703
|
|
|
704
|
+
/* Relative relocations (DT_RELR, SHT_RELR, .relr.dyn) */
|
|
705
|
+
typedef Elf64_Xword Elf64_Relr;
|
|
706
|
+
|
|
698
707
|
/*
|
|
699
708
|
* Move entries
|
|
700
709
|
*/
|
|
@@ -792,10 +801,14 @@ typedef struct {
|
|
|
792
801
|
#define DT_FINI_ARRAYSZ 28 /* Size, in bytes, of DT_FINI_ARRAY array*/
|
|
793
802
|
#define DT_RUNPATH 29 /* overrides DT_RPATH */
|
|
794
803
|
#define DT_FLAGS 30 /* Encodes ORIGIN, SYMBOLIC, TEXTREL, BIND_NOW, STATIC_TLS */
|
|
795
|
-
#define DT_ENCODING
|
|
804
|
+
#define DT_ENCODING 32 /* In [32, DT_LOOS), only evens use d_ptr */
|
|
796
805
|
#define DT_PREINIT_ARRAY 32 /* Address of pre-init function array */
|
|
797
806
|
#define DT_PREINIT_ARRAYSZ 33 /* Size, in bytes, of DT_PREINIT_ARRAY array */
|
|
798
|
-
#define
|
|
807
|
+
#define DT_SYMTAB_SHNDX 34 /* Addr. of SHT_SYMTAB_SHNDX § of DT_SYMTAB */
|
|
808
|
+
#define DT_RELRSZ 35 /* Size, in bytes, of DT_RELR table */
|
|
809
|
+
#define DT_RELR 36 /* Address of Relr relocation table */
|
|
810
|
+
#define DT_RELRENT 37 /* Size, in bytes, of one DT_RELR entry */
|
|
811
|
+
#define DT_NUM 38
|
|
799
812
|
|
|
800
813
|
#define DT_LOOS 0x60000000 /* Operating system specific range */
|
|
801
814
|
#define DT_GNU_HASH 0x6ffffef5 /* GNU-style hash table */
|
|
@@ -972,7 +985,7 @@ typedef struct {
|
|
|
972
985
|
* GNU-specific note type: Build ID generated by ld
|
|
973
986
|
* name: GNU\0
|
|
974
987
|
* desc:
|
|
975
|
-
* word[0..4] SHA1 [default]
|
|
988
|
+
* word[0..4] SHA1 [default]
|
|
976
989
|
* or
|
|
977
990
|
* word[0..3] md5 or uuid
|
|
978
991
|
* descsz: 16 or 20
|
|
@@ -999,7 +1012,7 @@ typedef struct {
|
|
|
999
1012
|
/* SuSE-specific note type: version
|
|
1000
1013
|
* name: SuSE\0\0\0\0
|
|
1001
1014
|
* namesz: 8
|
|
1002
|
-
* desc:
|
|
1015
|
+
* desc:
|
|
1003
1016
|
* word[0] = VVTTMMmm
|
|
1004
1017
|
*
|
|
1005
1018
|
* V = version of following data
|
|
@@ -1018,7 +1031,7 @@ typedef struct {
|
|
|
1018
1031
|
/* Go-specific note type: buildid
|
|
1019
1032
|
* name: Go\0\0
|
|
1020
1033
|
* namesz: 4
|
|
1021
|
-
* desc:
|
|
1034
|
+
* desc:
|
|
1022
1035
|
* words[10]
|
|
1023
1036
|
* descsz: 40
|
|
1024
1037
|
*/
|
|
@@ -1043,7 +1056,7 @@ typedef struct {
|
|
|
1043
1056
|
/* NetBSD-specific note type: NetBSD ABI version.
|
|
1044
1057
|
* name: NetBSD\0\0
|
|
1045
1058
|
* namesz: 8
|
|
1046
|
-
* desc:
|
|
1059
|
+
* desc:
|
|
1047
1060
|
* word[0]: MMmmrrpp00
|
|
1048
1061
|
*
|
|
1049
1062
|
* M = major version
|
|
@@ -1064,7 +1077,7 @@ typedef struct {
|
|
|
1064
1077
|
* namesz: 8
|
|
1065
1078
|
* desc:
|
|
1066
1079
|
* "netbsd\0"
|
|
1067
|
-
*
|
|
1080
|
+
*
|
|
1068
1081
|
* descsz: 8
|
|
1069
1082
|
*/
|
|
1070
1083
|
#define ELF_NOTE_TYPE_NETBSD_EMUL_TAG 2
|
|
@@ -1179,7 +1192,6 @@ struct netbsd_elfcore_procinfo {
|
|
|
1179
1192
|
/* NetBSD-specific note name */
|
|
1180
1193
|
#define ELF_NOTE_MCMODEL_NAME ELF_NOTE_NETBSD_NAME
|
|
1181
1194
|
|
|
1182
|
-
|
|
1183
1195
|
#if !defined(ELFSIZE)
|
|
1184
1196
|
# if defined(_RUMPKERNEL) || !defined(_KERNEL)
|
|
1185
1197
|
# define ELFSIZE ARCH_ELFSIZE
|
|
@@ -1204,6 +1216,7 @@ struct netbsd_elfcore_procinfo {
|
|
|
1204
1216
|
#define Elf_Sym Elf32_Sym
|
|
1205
1217
|
#define Elf_Rel Elf32_Rel
|
|
1206
1218
|
#define Elf_Rela Elf32_Rela
|
|
1219
|
+
#define Elf_Relr Elf32_Relr
|
|
1207
1220
|
#define Elf_Dyn Elf32_Dyn
|
|
1208
1221
|
#define Elf_Word Elf32_Word
|
|
1209
1222
|
#define Elf_Sword Elf32_Sword
|
|
@@ -1230,6 +1243,7 @@ struct netbsd_elfcore_procinfo {
|
|
|
1230
1243
|
#define Elf_Sym Elf64_Sym
|
|
1231
1244
|
#define Elf_Rel Elf64_Rel
|
|
1232
1245
|
#define Elf_Rela Elf64_Rela
|
|
1246
|
+
#define Elf_Relr Elf64_Relr
|
|
1233
1247
|
#define Elf_Dyn Elf64_Dyn
|
|
1234
1248
|
#define Elf_Word Elf64_Word
|
|
1235
1249
|
#define Elf_Sword Elf64_Sword
|
|
@@ -1299,7 +1313,7 @@ typedef struct {
|
|
|
1299
1313
|
#define SYMINFO_NUM 2
|
|
1300
1314
|
|
|
1301
1315
|
/*
|
|
1302
|
-
* These constants are used for Elf32_Verdef struct's version number.
|
|
1316
|
+
* These constants are used for Elf32_Verdef struct's version number.
|
|
1303
1317
|
*/
|
|
1304
1318
|
#define VER_DEF_NONE 0
|
|
1305
1319
|
#define VER_DEF_CURRENT 1
|
|
@@ -1310,7 +1324,7 @@ typedef struct {
|
|
|
1310
1324
|
#define VER_DEF_IDX(x) VER_NDX(x)
|
|
1311
1325
|
|
|
1312
1326
|
/*
|
|
1313
|
-
* These constants are used for Elf32_Verdef struct's vd_flags.
|
|
1327
|
+
* These constants are used for Elf32_Verdef struct's vd_flags.
|
|
1314
1328
|
*/
|
|
1315
1329
|
#define VER_FLG_BASE 0x1
|
|
1316
1330
|
#define VER_FLG_WEAK 0x2
|
|
@@ -1323,7 +1337,7 @@ typedef struct {
|
|
|
1323
1337
|
#define VER_NDX_GIVEN 2
|
|
1324
1338
|
|
|
1325
1339
|
/*
|
|
1326
|
-
* These constants are used for Elf32_Verneed struct's version number.
|
|
1340
|
+
* These constants are used for Elf32_Verneed struct's version number.
|
|
1327
1341
|
*/
|
|
1328
1342
|
#define VER_NEED_NONE 0
|
|
1329
1343
|
#define VER_NEED_CURRENT 1
|
|
@@ -1460,7 +1474,6 @@ int coredump_elf32(struct lwp *, struct coredump_iostate *);
|
|
|
1460
1474
|
void coredump_savenote_elf32(struct note_state *, unsigned int,
|
|
1461
1475
|
const char *, void *, size_t);
|
|
1462
1476
|
|
|
1463
|
-
|
|
1464
1477
|
#ifdef EXEC_ELF64
|
|
1465
1478
|
int exec_elf64_makecmds(struct lwp *, struct exec_package *);
|
|
1466
1479
|
int elf64_populate_auxv(struct lwp *, struct exec_package *, char **);
|
|
@@ -1475,7 +1488,6 @@ int coredump_elf64(struct lwp *, struct coredump_iostate *);
|
|
|
1475
1488
|
void coredump_savenote_elf64(struct note_state *, unsigned int,
|
|
1476
1489
|
const char *, void *, size_t);
|
|
1477
1490
|
|
|
1478
|
-
|
|
1479
1491
|
#endif /* _KERNEL */
|
|
1480
1492
|
|
|
1481
1493
|
#endif /* !_SYS_EXEC_ELF_H_ */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: execinfo.h,v 1.
|
|
1
|
+
/* $NetBSD: execinfo.h,v 1.5 2025/01/23 12:08:12 christos Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 2012 The NetBSD Foundation, Inc.
|
|
@@ -34,13 +34,15 @@
|
|
|
34
34
|
#include <sys/cdefs.h>
|
|
35
35
|
#include <sys/featuretest.h>
|
|
36
36
|
#include <sys/ansi.h>
|
|
37
|
-
|
|
37
|
+
|
|
38
38
|
#ifdef _BSD_SIZE_T_
|
|
39
39
|
typedef _BSD_SIZE_T_ size_t;
|
|
40
40
|
#undef _BSD_SIZE_T_
|
|
41
41
|
#endif
|
|
42
42
|
|
|
43
43
|
__BEGIN_DECLS
|
|
44
|
+
int backtrace_sandbox_init(void);
|
|
45
|
+
void backtrace_sandbox_fini(void);
|
|
44
46
|
size_t backtrace(void **, size_t);
|
|
45
47
|
char **backtrace_symbols(void *const *, size_t);
|
|
46
48
|
int backtrace_symbols_fd(void *const *, size_t, int);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: fcntl.h,v 1.
|
|
1
|
+
/* $NetBSD: fcntl.h,v 1.57 2025/07/25 23:24:46 kre Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 1983, 1990, 1993
|
|
@@ -123,6 +123,10 @@
|
|
|
123
123
|
#define O_REGULAR 0x02000000 /* fail if not a regular file */
|
|
124
124
|
#define O_EXEC 0x04000000 /* open for executing only */
|
|
125
125
|
#endif
|
|
126
|
+
#if (_POSIX_C_SOURCE - 0) >= 202405L || (_XOPEN_SOURCE - 0 >= 800) || \
|
|
127
|
+
defined(_NETBSD_SOURCE)
|
|
128
|
+
#define O_CLOFORK 0x08000000 /* set close on fork */
|
|
129
|
+
#endif
|
|
126
130
|
|
|
127
131
|
#ifdef _KERNEL
|
|
128
132
|
/* convert from open() flags to/from fflags; convert O_RD/WR to FREAD/FWRITE */
|
|
@@ -133,7 +137,8 @@
|
|
|
133
137
|
#define O_MASK (O_ACCMODE|O_NONBLOCK|O_APPEND|O_SHLOCK|O_EXLOCK|\
|
|
134
138
|
O_ASYNC|O_SYNC|O_CREAT|O_TRUNC|O_EXCL|O_DSYNC|\
|
|
135
139
|
O_RSYNC|O_NOCTTY|O_ALT_IO|O_NOFOLLOW|O_DIRECT|\
|
|
136
|
-
O_DIRECTORY|O_CLOEXEC|O_NOSIGPIPE
|
|
140
|
+
O_DIRECTORY|O_CLOEXEC|O_CLOFORK|O_NOSIGPIPE|\
|
|
141
|
+
O_REGULAR|O_EXEC)
|
|
137
142
|
|
|
138
143
|
#define FEXEC O_EXEC
|
|
139
144
|
#define FMARK 0x00001000 /* mark during gc() */
|
|
@@ -200,10 +205,20 @@
|
|
|
200
205
|
#define F_GETNOSIGPIPE 13 /* get SIGPIPE disposition */
|
|
201
206
|
#define F_SETNOSIGPIPE 14 /* set SIGPIPE disposition */
|
|
202
207
|
#define F_GETPATH 15 /* get pathname associated with fd */
|
|
208
|
+
#define F_ADD_SEALS 16 /* set seals */
|
|
209
|
+
#define F_GET_SEALS 17 /* get seals */
|
|
210
|
+
#endif
|
|
211
|
+
#if (_POSIX_C_SOURCE - 0) >= 202405L || (_XOPEN_SOURCE - 0 >= 800) || \
|
|
212
|
+
defined(_NETBSD_SOURCE)
|
|
213
|
+
#define F_DUPFD_CLOFORK 18 /* close on fork duplicated fd */
|
|
214
|
+
#endif
|
|
215
|
+
#if defined(_NETBSD_SOURCE)
|
|
216
|
+
#define F_DUPFD_CLOBOTH 19 /* close on exec/fork duplicated fd */
|
|
203
217
|
#endif
|
|
204
218
|
|
|
205
219
|
/* file descriptor flags (F_GETFD, F_SETFD) */
|
|
206
220
|
#define FD_CLOEXEC 1 /* close-on-exec flag */
|
|
221
|
+
#define FD_CLOFORK 2 /* close-on-fork flag */
|
|
207
222
|
|
|
208
223
|
/* record locking flags (F_GETLK, F_SETLK, F_SETLKW) */
|
|
209
224
|
#define F_RDLCK 1 /* shared or read lock */
|
|
@@ -215,6 +230,15 @@
|
|
|
215
230
|
#define F_POSIX 0x040 /* Use POSIX semantics for lock */
|
|
216
231
|
#endif
|
|
217
232
|
|
|
233
|
+
/* types of seals (F_ADD_SEALS, F_GET_SEALS) */
|
|
234
|
+
#if defined(_NETBSD_SOURCE)
|
|
235
|
+
#define F_SEAL_SEAL 0x0001 /* prevent further seals from being set */
|
|
236
|
+
#define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */
|
|
237
|
+
#define F_SEAL_GROW 0x0004 /* prevent file from growing */
|
|
238
|
+
#define F_SEAL_WRITE 0x0008 /* prevent writes */
|
|
239
|
+
#define F_SEAL_FUTURE_WRITE 0x0010 /* prevent future writes while mapped */
|
|
240
|
+
#endif
|
|
241
|
+
|
|
218
242
|
/* Constants for fcntl's passed to the underlying fs - like ioctl's. */
|
|
219
243
|
#if defined(_NETBSD_SOURCE)
|
|
220
244
|
#define F_PARAM_MASK 0xfff
|
|
@@ -1,3 +1,59 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* $NetBSD: float.h,v 1.2 2024/10/30 15:56:11 riastradh Exp $ */
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/*-
|
|
4
|
+
* Copyright (c) 2014 The NetBSD Foundation, Inc.
|
|
5
|
+
* All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* This code is derived from software contributed to The NetBSD Foundation
|
|
8
|
+
* by Matt Thomas of 3am Software Foundry.
|
|
9
|
+
*
|
|
10
|
+
* Redistribution and use in source and binary forms, with or without
|
|
11
|
+
* modification, are permitted provided that the following conditions
|
|
12
|
+
* are met:
|
|
13
|
+
* 1. Redistributions of source code must retain the above copyright
|
|
14
|
+
* notice, this list of conditions and the following disclaimer.
|
|
15
|
+
* 2. Redistributions in binary form must reproduce the above copyright
|
|
16
|
+
* notice, this list of conditions and the following disclaimer in the
|
|
17
|
+
* documentation and/or other materials provided with the distribution.
|
|
18
|
+
*
|
|
19
|
+
* THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
|
20
|
+
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
21
|
+
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
22
|
+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
|
23
|
+
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
24
|
+
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
25
|
+
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
26
|
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
27
|
+
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
28
|
+
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
29
|
+
* POSSIBILITY OF SUCH DAMAGE.
|
|
30
|
+
*/
|
|
31
|
+
|
|
32
|
+
#ifndef _RISCV_FLOAT_H_
|
|
33
|
+
#define _RISCV_FLOAT_H_
|
|
34
|
+
|
|
35
|
+
#include <sys/cdefs.h>
|
|
36
|
+
#include <sys/featuretest.h>
|
|
37
|
+
|
|
38
|
+
#define LDBL_MANT_DIG __LDBL_MANT_DIG__
|
|
39
|
+
#define LDBL_DIG __LDBL_DIG__
|
|
40
|
+
#define LDBL_MIN_EXP __LDBL_MIN_EXP__
|
|
41
|
+
#define LDBL_MIN_10_EXP __LDBL_MIN_10_EXP__
|
|
42
|
+
#define LDBL_MAX_EXP __LDBL_MAX_EXP__
|
|
43
|
+
#define LDBL_MAX_10_EXP __LDBL_MAX_10_EXP__
|
|
44
|
+
#define LDBL_EPSILON __LDBL_EPSILON__
|
|
45
|
+
#define LDBL_MIN __LDBL_MIN__
|
|
46
|
+
#define LDBL_MAX __LDBL_MAX__
|
|
47
|
+
|
|
48
|
+
#include <sys/float_ieee754.h>
|
|
49
|
+
|
|
50
|
+
#if (!defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) \
|
|
51
|
+
&& !defined(_XOPEN_SOURCE)) \
|
|
52
|
+
|| (__STDC_VERSION__ - 0) >= 199901L \
|
|
53
|
+
|| (_POSIX_C_SOURCE - 0) >= 200112L \
|
|
54
|
+
|| ((_XOPEN_SOURCE - 0) >= 600) \
|
|
55
|
+
|| defined(_ISOC99_SOURCE) || defined(_NETBSD_SOURCE)
|
|
56
|
+
#define DECIMAL_DIG __DECIMAL_DIG__
|
|
57
|
+
#endif
|
|
58
|
+
|
|
59
|
+
#endif /* !_RISCV_FLOAT_H_ */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: fmtmsg.h,v 1.
|
|
1
|
+
/* $NetBSD: fmtmsg.h,v 1.4 2023/12/08 21:46:02 andvar Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
#define MM_INFO 4 /* Informative message */
|
|
59
59
|
|
|
60
60
|
/* `Null' values for message components. */
|
|
61
|
-
#define MM_NULLMC 0L /* `Null'
|
|
61
|
+
#define MM_NULLMC 0L /* `Null' classification component */
|
|
62
62
|
#define MM_NULLLBL (char *)0 /* `Null' label component */
|
|
63
63
|
#define MM_NULLSEV 0 /* `Null' severity component */
|
|
64
64
|
#define MM_NULLTXT (char *)0 /* `Null' text component */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: nilfs_fs.h,v 1.
|
|
1
|
+
/* $NetBSD: nilfs_fs.h,v 1.5 2024/12/26 21:16:26 andvar Exp $ */
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) 2008, 2009 Reinoud Zandijk
|
|
@@ -436,7 +436,7 @@ struct nilfs_segment_summary {
|
|
|
436
436
|
#define NILFS_SS_GC 0x0010 /* segment written for cleaner operation */
|
|
437
437
|
#define NILFS_SS_FLAG_BITS "\20\1LOGBGN\2LOGEND\3SR\4SYNDT\5GC"
|
|
438
438
|
|
|
439
|
-
/* Segment summary
|
|
439
|
+
/* Segment summary constraints */
|
|
440
440
|
#define NILFS_SEG_MIN_BLOCKS 16 /* minimum number of blocks in a
|
|
441
441
|
full segment */
|
|
442
442
|
#define NILFS_PSEG_MIN_BLOCKS 2 /* minimum number of blocks in a
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: gelf.h,v 1.
|
|
1
|
+
/* $NetBSD: gelf.h,v 1.4 2024/03/03 17:37:33 christos Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 2006,2008 Joseph Koshy
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
26
26
|
* SUCH DAMAGE.
|
|
27
27
|
*
|
|
28
|
-
* Id: gelf.h 3174 2015-03-27 17:13:41Z emaste
|
|
28
|
+
* Id: gelf.h 3174 2015-03-27 17:13:41Z emaste
|
|
29
29
|
*/
|
|
30
30
|
|
|
31
31
|
#ifndef _GELF_H_
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: asm.h,v 1.
|
|
1
|
+
/* $NetBSD: asm.h,v 1.47 2025/01/05 16:53:26 riastradh Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 1990 The Regents of the University of California.
|
|
@@ -181,11 +181,19 @@
|
|
|
181
181
|
#define ASMSTR .asciz
|
|
182
182
|
|
|
183
183
|
#ifdef __ELF__
|
|
184
|
-
#define
|
|
185
|
-
|
|
184
|
+
#define _IDENTSTR(x) .pushsection ".ident","MS",@progbits,1; \
|
|
185
|
+
x; \
|
|
186
186
|
.popsection
|
|
187
187
|
#else
|
|
188
|
-
#define
|
|
188
|
+
#define _IDENTSTR(x) .text; x
|
|
189
|
+
#endif
|
|
190
|
+
#ifdef _NETBSD_REVISIONID
|
|
191
|
+
#define RCSID(_s) \
|
|
192
|
+
_IDENTSTR(.asciz _s); \
|
|
193
|
+
_IDENTSTR(.ascii "$"; .ascii "NetBSD: "; .ascii __FILE__; .ascii " "; \
|
|
194
|
+
.ascii _NETBSD_REVISIONID; .asciz " $")
|
|
195
|
+
#else
|
|
196
|
+
#define RCSID(_s) _IDENTSTR(.asciz _s)
|
|
189
197
|
#endif
|
|
190
198
|
|
|
191
199
|
#ifdef NO_KERNEL_RCSIDS
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: byte_swap.h,v 1.17
|
|
1
|
+
/* $NetBSD: byte_swap.h,v 1.17.28.1 2025/12/18 19:57:53 martin Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
#ifndef _I386_BYTE_SWAP_H_
|
|
33
33
|
#define _I386_BYTE_SWAP_H_
|
|
34
34
|
|
|
35
|
-
#include <sys/
|
|
35
|
+
#include <sys/stdint.h>
|
|
36
36
|
|
|
37
37
|
#ifdef __GNUC__
|
|
38
38
|
__BEGIN_DECLS
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: cpu.h,v 1.
|
|
1
|
+
/* $NetBSD: cpu.h,v 1.185 2023/09/04 20:58:52 mrg Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 1990 The Regents of the University of California.
|
|
@@ -45,12 +45,20 @@
|
|
|
45
45
|
static struct cpu_info *x86_curcpu(void);
|
|
46
46
|
static lwp_t *x86_curlwp(void);
|
|
47
47
|
|
|
48
|
+
/*
|
|
49
|
+
* XXXGCC12 has:
|
|
50
|
+
* ./machine/cpu.h:57:9: error: array subscript 0 is outside array bounds of 'struct cpu_info * const[0]' [-Werror=array-bounds]
|
|
51
|
+
* 56 | __asm("movq %%gs:%1, %0" :
|
|
52
|
+
*/
|
|
53
|
+
#pragma GCC push_options
|
|
54
|
+
#pragma GCC diagnostic ignored "-Warray-bounds"
|
|
55
|
+
|
|
48
56
|
__inline __always_inline static struct cpu_info * __unused
|
|
49
57
|
x86_curcpu(void)
|
|
50
58
|
{
|
|
51
59
|
struct cpu_info *ci;
|
|
52
60
|
|
|
53
|
-
__asm
|
|
61
|
+
__asm("movl %%fs:%1, %0" :
|
|
54
62
|
"=r" (ci) :
|
|
55
63
|
"m"
|
|
56
64
|
(*(struct cpu_info * const *)offsetof(struct cpu_info, ci_self)));
|
|
@@ -62,13 +70,16 @@ x86_curlwp(void)
|
|
|
62
70
|
{
|
|
63
71
|
lwp_t *l;
|
|
64
72
|
|
|
65
|
-
__asm
|
|
73
|
+
__asm("movl %%fs:%1, %0" :
|
|
66
74
|
"=r" (l) :
|
|
67
75
|
"m"
|
|
68
76
|
(*(struct cpu_info * const *)offsetof(struct cpu_info, ci_curlwp)));
|
|
69
77
|
return l;
|
|
70
78
|
}
|
|
71
|
-
|
|
79
|
+
|
|
80
|
+
#pragma GCC pop_options
|
|
81
|
+
|
|
82
|
+
#endif /* __GNUC__ && !_MODULE */
|
|
72
83
|
|
|
73
84
|
#ifdef XENPV
|
|
74
85
|
#define CLKF_USERMODE(frame) (curcpu()->ci_xen_clockf_usermode)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: elf_machdep.h,v 1.
|
|
1
|
+
/* $NetBSD: elf_machdep.h,v 1.14 2025/02/11 12:27:58 jkoshy Exp $ */
|
|
2
2
|
|
|
3
3
|
#define ELF32_MACHDEP_ENDIANNESS ELFDATA2LSB
|
|
4
4
|
#define ELF32_MACHDEP_ID_CASES \
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
#define R_386_COPY 5
|
|
25
25
|
#define R_386_GLOB_DAT 6
|
|
26
26
|
#define R_386_JMP_SLOT 7
|
|
27
|
+
#define R_386_JUMP_SLOT 7 /* psABI spelling. */
|
|
27
28
|
#define R_386_RELATIVE 8
|
|
28
29
|
#define R_386_GOTOFF 9
|
|
29
30
|
#define R_386_GOTPC 10
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: mcontext.h,v 1.
|
|
1
|
+
/* $NetBSD: mcontext.h,v 1.19 2024/11/30 01:04:10 christos Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
/*
|
|
37
37
|
* mcontext extensions to handle signal delivery.
|
|
38
38
|
*/
|
|
39
|
-
#define
|
|
40
|
-
#define
|
|
41
|
-
#define
|
|
42
|
-
#define _UC_TLSBASE
|
|
39
|
+
#define _UC_SETSTACK _UC_MD_BIT16
|
|
40
|
+
#define _UC_CLRSTACK _UC_MD_BIT17
|
|
41
|
+
#define _UC_VM _UC_MD_BIT18
|
|
42
|
+
#define _UC_TLSBASE _UC_MD_BIT19
|
|
43
43
|
|
|
44
44
|
/*
|
|
45
45
|
* Layout of mcontext_t according to the System V Application Binary Interface,
|
|
@@ -96,7 +96,7 @@ typedef struct {
|
|
|
96
96
|
__greg_t _mc_tlsbase;
|
|
97
97
|
} mcontext_t;
|
|
98
98
|
|
|
99
|
-
#define _UC_FXSAVE
|
|
99
|
+
#define _UC_FXSAVE _UC_MD_BIT5 /* FP state is in FXSAVE format in XMM space */
|
|
100
100
|
|
|
101
101
|
#define _UC_MACHINE_PAD 4 /* Padding appended to ucontext_t */
|
|
102
102
|
|
|
@@ -113,22 +113,4 @@ typedef struct {
|
|
|
113
113
|
|
|
114
114
|
#define __UCONTEXT_SIZE 776
|
|
115
115
|
|
|
116
|
-
#if defined(_RTLD_SOURCE) || defined(_LIBC_SOURCE) || \
|
|
117
|
-
defined(__LIBPTHREAD_SOURCE__)
|
|
118
|
-
#include <sys/tls.h>
|
|
119
|
-
|
|
120
|
-
__BEGIN_DECLS
|
|
121
|
-
static __inline void *
|
|
122
|
-
__lwp_getprivate_fast(void)
|
|
123
|
-
{
|
|
124
|
-
void *__tmp;
|
|
125
|
-
|
|
126
|
-
__asm volatile("movl %%gs:0, %0" : "=r" (__tmp));
|
|
127
|
-
|
|
128
|
-
return __tmp;
|
|
129
|
-
}
|
|
130
|
-
__END_DECLS
|
|
131
|
-
|
|
132
|
-
#endif
|
|
133
|
-
|
|
134
116
|
#endif /* !_I386_MCONTEXT_H_ */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $NetBSD: param.h,v 1.
|
|
1
|
+
/* $NetBSD: param.h,v 1.89 2025/04/20 22:33:13 riastradh Exp $ */
|
|
2
2
|
|
|
3
3
|
/*-
|
|
4
4
|
* Copyright (c) 1990 The Regents of the University of California.
|
|
@@ -65,6 +65,14 @@
|
|
|
65
65
|
#define ALIGNED_POINTER(p,t) 1
|
|
66
66
|
#define ALIGNED_POINTER_LOAD(q,p,t) memcpy((q), (p), sizeof(t))
|
|
67
67
|
|
|
68
|
+
/*
|
|
69
|
+
* Stack alignment is 4-byte, following the traditional i386 SysV ABI
|
|
70
|
+
* published by SCO. Note: Parts of the Linux world have altered the
|
|
71
|
+
* ABI to guarantee 16-byte alignment, which is convenient for SSE2,
|
|
72
|
+
* but an incompatible ABI change which we do not follow.
|
|
73
|
+
*/
|
|
74
|
+
#define STACK_ALIGNBYTES (4 - 1)
|
|
75
|
+
|
|
68
76
|
#define PGSHIFT 12 /* LOG2(NBPG) */
|
|
69
77
|
#define NBPG (1 << PGSHIFT) /* bytes/page */
|
|
70
78
|
#define PGOFSET (NBPG-1) /* byte offset into page */
|