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 ice_ddp: Update package to 1.3.30.0 2023-01-24 14:19:54 -08:00
device-tree Import device-tree files from Linux 6.0 2022-11-15 20:02:06 +01:00
dpdk_rte_lpm
edk2
ena-com ena: merge ena-com v2.5.0 upgrade 2022-01-23 20:27:13 +01:00
libb2
libfdt
libnv libnv: Mark a variable only used in a custom assertion as unused. 2022-04-13 16:08:19 -07:00
libsodium
ncsw dpaa: Remove unused variables. 2022-04-13 16:08:23 -07:00
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 vchiq: Remove unused devclass argument to DRIVER_MODULE. 2022-05-10 10:21:39 -07:00
x86emu Remove prototype of x86emu_init_default. 2022-02-27 15:11:17 -08:00
xen xen: fetch dom0 video console information from Xen 2023-03-09 17:13:17 +01:00
xz-embedded MFV: xz-embedded 3f438e15109229bb14ab45f285f4bff5412a9542 2022-11-17 22:04:57 -08:00
zlib MFV: zlib 1.2.13. 2023-02-16 23:57:24 -08:00
zstd MFV: zstd 1.5.2 2023-01-27 17:22:31 +00:00