]> git.proxmox.com Git - mirror_zfs.git/commit
Restore FreeBSD to use .rodata
authorJorgen Lundman <lundman@lundman.net>
Mon, 6 Feb 2023 17:34:59 +0000 (02:34 +0900)
committerGitHub <noreply@github.com>
Mon, 6 Feb 2023 17:34:59 +0000 (09:34 -0800)
commit0a5b942d4aadbf5be99ff62976384db83d342f8c
treee1a7bb376c8c5881dea52397092bf7f9a712a856
parentdffd40b3b6185b001d529db50561ec11098d75cc
Restore FreeBSD to use .rodata

In https://github.com/openzfs/zfs/pull/14228 the FreeBSD
SECTION_STATIC was set to ".data" instead of ".rodata". This
commit just restores it back to .rodata.

Reviewed-by: Attila Fülöp <attila@fueloep.org>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Jorgen Lundman <lundman@lundman.net>
Closes #14460
include/os/freebsd/spl/sys/ia32/asm_linkage.h
lib/libspl/include/os/freebsd/sys/ia32/asm_linkage.h