freebsd-dev/sys
Dimitry Andric 84f06098ef zfs: Use .section .rodata instead of .rodata on FreeBSD
In commit 0a5b942d4 the FreeBSD SECTION_STATIC macro was set to
".rodata". This assembler directive is supported by LLVM (as a
convenience alias for ".section .rodata") by not by GNU as.

This caused the FreeBSD builds that are done with gcc to fail.
Therefore, use ".section .rodata" instead, similar to the other
asm_linkage.h headers.

[mjg: cherry-picked from upstream zfs bf1bec394e
 to unbreak gcc12 build]

Reviewed-by: Mateusz Guzik <mjguzik@gmail.com>
Reviewed-by: Attila Fülöp <attila@fueloep.org>
Reviewed-by: Jorgen Lundman <lundman@lundman.net>
Signed-off-by: Dimitry Andric <dimitry@andric.com>
Closes #14526
2023-03-13 13:48:05 +00:00
..
amd64 linux(4): Drop unncessary struct l_ifconf declaration from amd64/linux 2023-03-04 12:11:38 +03:00
arm Mechanically convert dwc(4) to IfAPI 2023-03-07 09:49:11 -05:00
arm64 arm64: Hyper-V: Add vPCI and Mellanox driver modules into build 2023-03-13 02:55:04 +00:00
bsm
cam CTL: Allow userland supply tags via ioctl frontend. 2022-12-03 12:05:05 -05:00
cddl dtrace/powerpc: "Fix" stack traces across trap frames 2023-03-11 11:35:27 -05:00
compat linux: Use the if_name() accessor to get loopback name 2023-03-07 09:47:01 -05:00
conf arm64: Hyper-V: Add vPCI and Mellanox driver modules into build 2023-03-13 02:55:04 +00:00
contrib zfs: Use .section .rodata instead of .rodata on FreeBSD 2023-03-13 13:48:05 +00:00
crypto OpenSSL: Regen assembly files for OpenSSL 1.1.1t 2023-02-07 13:55:17 -05:00
ddb ddb: ansify 2023-02-08 00:09:23 +00:00
dev netmap: get rid of WNA() macro 2023-03-11 17:19:40 +00:00
dts arm64/rockchip: Remove rk3328-dwc3 overlays 2022-11-16 11:58:32 +01:00
fs msdosfs: fix debug print format and parameter 2023-03-08 17:58:00 +01:00
gdb
geom g_part_ebr: always create "compat" aliases 2023-03-01 13:44:01 -05:00
gnu
i386 linux(4): Reduce code duplication between MD files 2023-03-04 12:11:38 +03:00
isa
kern kern: physmem: don't create a new exregion for different flags... 2023-03-09 23:27:39 -06:00
kgssapi nfsd: Enable the NFSD_VNET vnet front end macros 2023-02-18 14:59:36 -08:00
libkern ashldi3: Use C89-style function definition 2022-11-27 13:23:25 -07:00
modules powerpc: enable ZFS on 32 bit powerpc/powerpcspe 2023-03-12 03:20:11 -03:00
net netlink: add rtsock-compatible header to use with netlink snl(3). 2023-03-09 14:37:42 +00:00
net80211 net80211: ieee80211_swscan_bg_scan() track return variable under lock 2023-02-23 21:12:23 +00:00
netgraph ng_atmllc: remove 2023-03-09 18:04:21 +00:00
netinet sctp: initial implementation of draft-tuexen-tsvwg-sctp-zero-checksum 2023-03-10 01:45:46 +01:00
netinet6 netinet: Tighten checks for unspecified source addresses 2023-03-06 15:06:00 -05:00
netipsec ipsec: only update lastused when it changes 2023-02-16 07:33:51 +00:00
netlink fix buildworld after 595d23f777. 2023-03-09 15:45:57 +00:00
netpfil pfsync: ensure 'error' is always initialised 2023-02-16 09:16:35 +01:00
netsmb
nfs Allow any user to read the NFS stats, for example with nfsstat(1). 2022-12-01 22:21:14 -07:00
nfsclient
nfsserver
nlm nlm: only access refcounts using dedicated primitives 2022-11-24 19:46:43 +00:00
ofed
opencrypto Complete removal of opt_compat.h 2023-02-13 19:07:38 +03:00
powerpc powerpc/pmap: Add pmap_sync_icache() for radix pmap 2023-03-12 11:51:42 -04:00
riscv riscv kernel config: clean up whitespace 2023-02-24 08:36:29 -06:00
rpc svc_rpcsec_gss.c: Separate out the non-vnet initialization 2023-03-01 15:29:25 -08:00
security IfAPI: Add if_get/setmaclabel() and use it. 2023-01-31 15:02:15 -05:00
sys vfs: whack leftover cn_origflags 2023-03-12 19:06:46 +00:00
teken
tests
tools Improve debuggability of VOP_* locking assertions 2023-01-18 22:11:05 -06:00
ufs Updates to UFS/FFS superblock integrity checks when reading a superblock. 2023-03-07 15:02:19 -08:00
vm vm: consistently prefix fault helpers with vm_fault_ 2023-03-13 11:00:28 +00:00
x86 xen: fetch dom0 video console information from Xen 2023-03-09 17:13:17 +01:00
xdr xdr: ansify 2023-02-13 18:37:31 +00:00
xen xen: bump used interface version 2023-03-09 17:13:17 +01:00
Makefile Remove dead code in the cscope target 2022-11-11 15:53:57 +00:00
README.md note that some arch independent code can live in dev (e.g. SMBios) 2023-03-03 01:54:07 -08:00

FreeBSD Kernel Source:

This directory contains the source files and build glue that make up the FreeBSD kernel and its modules, including both original and contributed software.

Kernel configuration files are located in the conf/ subdirectory of each architecture. GENERIC is the configuration used in release builds. NOTES contains documentation of all possible entries. LINT is a compile-only configuration used to maximize build coverage and detect regressions.

Source Roadmap:

Directory Description
amd64 AMD64 (64-bit x86) architecture support
arm 32-bit ARM architecture support
arm64 64-bit ARM (AArch64) architecture support
cam Common Access Method storage subsystem - cam(4) and ctl(4)
cddl CDDL-licensed optional sources such as DTrace
conf kernel build glue
compat Linux compatibility layer, FreeBSD 32-bit compatibility
contrib 3rd-party imported software such as OpenZFS
crypto crypto drivers
ddb interactive kernel debugger - ddb(4)
fs most filesystems, excluding UFS, NFS, and ZFS
dev device drivers and other arch independent code
gdb kernel remote GDB stub - gdb(4)
geom GEOM framework - geom(4)
i386 i386 (32-bit x86) architecture support
kern main part of the kernel
libkern libc-like and other support functions for kernel use
modules kernel module infrastructure
net core networking code
net80211 wireless networking (IEEE 802.11) - net80211(4)
netgraph graph-based networking subsystem - netgraph(4)
netinet IPv4 protocol implementation - inet(4)
netinet6 IPv6 protocol implementation - inet6(4)
netipsec IPsec protocol implementation - ipsec(4)
netpfil packet filters - ipfw(4), pf(4), and ipfilter(4)
opencrypto OpenCrypto framework - crypto(7)
powerpc PowerPC/POWER (32 and 64-bit) architecture support
riscv 64-bit RISC-V architecture support
security security facilities - audit(4) and mac(4)
sys kernel headers
tests kernel unit tests
ufs Unix File System - ffs(7)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures