zfs/lib/libspl/include/os/freebsd/sys
Dimitry Andric bf1bec394e
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.

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-02-24 16:45:48 -08:00
..
ia32 Use .section .rodata instead of .rodata on FreeBSD 2023-02-24 16:45:48 -08:00
byteorder.h Reduce false positives from Static Analyzers 2022-09-30 15:30:12 -07:00
fcntl.h FreeBSD: fix HEAD build, conditionally remove FDSYNC defines 2021-01-23 15:39:55 -08:00
file.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
mnttab.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
mount.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
param.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
stat.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
sysmacros.h Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
vfs.h Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
zfs_context_os.h libspl/include: remove unused/empty headers 2022-05-18 12:10:43 -07:00