freebsd-dev/sys/contrib/openzfs
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
..
.github zfs: merge openzfs/zfs@9cd71c860 (master) 2023-01-25 19:50:29 +01:00
cmd zfs: merge openzfs/zfs@57cfae4a2 (master) 2023-02-16 22:38:51 +01:00
config zfs: merge openzfs/zfs@57cfae4a2 (master) 2023-02-16 22:38:51 +01:00
contrib zfs: merge openzfs/zfs@57cfae4a2 (master) 2023-02-16 22:38:51 +01:00
etc zfs: merge openzfs/zfs@9cd71c860 (master) 2023-01-25 19:50:29 +01:00
include zfs: Use .section .rodata instead of .rodata on FreeBSD 2023-03-13 13:48:05 +00:00
lib zfs: Use .section .rodata instead of .rodata on FreeBSD 2023-03-13 13:48:05 +00:00
man zfs: merge openzfs/zfs@57cfae4a2 (master) 2023-02-16 22:38:51 +01:00
module Fix per-jail zfs.mount_snapshot setting 2023-02-21 22:42:28 +00:00
rpm zfs: merge openzfs/zfs@57cfae4a2 (master) 2023-02-16 22:38:51 +01:00
scripts zfs: merge openzfs/zfs@9cd71c860 (master) 2023-01-25 19:50:29 +01:00
tests zfs: merge openzfs/zfs@57cfae4a2 (master) 2023-02-16 22:38:51 +01:00
udev zfs: merge openzfs/zfs@b3d0568cf 2022-08-14 01:14:21 +02:00
.editorconfig
.gitignore zfs: merge openzfs/zfs@c0cf6ed67 2022-05-19 00:55:59 +02:00
AUTHORS zfs: merge openzfs/zfs@2163cde45 2022-11-16 21:27:42 +01:00
autogen.sh zfs: merge openzfs/zfs@59493b63c (master) 2022-12-07 14:10:46 +01:00
CODE_OF_CONDUCT.md zfs: merge openzfs/zfs@9cd71c860 (master) 2023-01-25 19:50:29 +01:00
configure.ac zfs: merge openzfs/zfs@9cd71c860 (master) 2023-01-25 19:50:29 +01:00
copy-builtin zfs: merge openzfs/zfs@c0cf6ed67 2022-05-19 00:55:59 +02:00
COPYRIGHT
LICENSE
Makefile.am zfs: merge openzfs/zfs@2163cde45 2022-11-16 21:27:42 +01:00
META zfs: merge openzfs/zfs@9cd71c860 (master) 2023-01-25 19:50:29 +01:00
NEWS
NOTICE
README.md zfs: merge openzfs/zfs@17b2ae0b2 (master) into main 2022-01-22 23:05:15 +01:00
RELEASES.md
TEST
zfs.release.in

img

OpenZFS is an advanced file system and volume manager which was originally developed for Solaris and is now maintained by the OpenZFS community. This repository contains the code for running OpenZFS on Linux and FreeBSD.

codecov coverity

Official Resources

Installation

Full documentation for installing OpenZFS on your favorite operating system can be found at the Getting Started Page.

Contribute & Develop

We have a separate document with contribution guidelines.

We have a Code of Conduct.

Release

OpenZFS is released under a CDDL license. For more details see the NOTICE, LICENSE and COPYRIGHT files; UCRL-CODE-235197

Supported Kernels

  • The META file contains the officially recognized supported Linux kernel versions.
  • Supported FreeBSD versions are any supported branches and releases starting from 12.2-RELEASE.