diff options
author | Jorgen Lundman <[email protected]> | 2023-02-07 02:34:59 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2023-02-06 09:34:59 -0800 |
commit | 0a5b942d4aadbf5be99ff62976384db83d342f8c (patch) | |
tree | e1a7bb376c8c5881dea52397092bf7f9a712a856 /lib/libspl/include/os | |
parent | dffd40b3b6185b001d529db50561ec11098d75cc (diff) |
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 <[email protected]>
Reviewed-by: Richard Yao <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Jorgen Lundman <[email protected]>
Closes #14460
Diffstat (limited to 'lib/libspl/include/os')
-rw-r--r-- | lib/libspl/include/os/freebsd/sys/ia32/asm_linkage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libspl/include/os/freebsd/sys/ia32/asm_linkage.h b/lib/libspl/include/os/freebsd/sys/ia32/asm_linkage.h index 9964f183c..08c730379 100644 --- a/lib/libspl/include/os/freebsd/sys/ia32/asm_linkage.h +++ b/lib/libspl/include/os/freebsd/sys/ia32/asm_linkage.h @@ -40,7 +40,7 @@ #define ENDBR #define SECTION_TEXT .text -#define SECTION_STATIC .data +#define SECTION_STATIC .rodata #ifdef __cplusplus extern "C" { |