Use SECTION_STATIC macro for sha2 x86_64 assembly

- instead of ".section .rodata" we should use SECTION_STATIC

Tested-by: Rich Ercolani <rincebrain@gmail.com>
Tested-by: Sebastian Gottschall <s.gottschall@dd-wrt.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de>
Closes #13741
This commit is contained in:
Tino Reichardt 2023-03-01 20:44:49 +01:00 committed by Brian Behlendorf
parent f9f9bef22f
commit 620a977f22
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
#define _ASM
#include <sys/asm_linkage.h>
.section .rodata
SECTION_STATIC
.align 64
.type K256,@object

View File

@ -24,7 +24,7 @@
#define _ASM
#include <sys/asm_linkage.h>
.section .rodata
SECTION_STATIC
.align 64
.type K512,@object