mirror_zfs/lib/libspl
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
..
include Use .section .rodata instead of .rodata on FreeBSD 2023-02-24 16:45:48 -08:00
os Introduce kmem_scnprintf() 2022-10-29 13:05:11 -07:00
assert.c Reduce false positives from Static Analyzers 2022-09-30 15:30:12 -07:00
atomic.c Add membar_sync 2022-09-20 15:32:44 -07:00
getexecname.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
libspl_impl.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
list.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
Makefile.am autoconf: use include directives instead of recursing down lib 2022-05-10 10:18:11 -07:00
mkdirp.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
page.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
strlcat.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
strlcpy.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
timestamp.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00