freebsd-dev/sys/contrib
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
..
alpine-hal
ck ck_queue: add CK_*_FOREACH_FROM 2023-02-25 10:34:06 -05:00
dev
device-tree
dpdk_rte_lpm
edk2
ena-com
libb2
libfdt
libnv
libsodium
ncsw
openzfs zfs: Use .section .rodata instead of .rodata on FreeBSD 2023-03-13 13:48:05 +00:00
pcg-c/include
rdma/krping krping: Use get_cyclecount for get_cycles. 2023-03-08 15:06:59 -08:00
v4l
vchiq/interface
x86emu
xen xen: fetch dom0 video console information from Xen 2023-03-09 17:13:17 +01:00
xz-embedded
zlib MFV: zlib 1.2.13. 2023-02-16 23:57:24 -08:00
zstd