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:
parent
f9f9bef22f
commit
620a977f22
module/icp/asm-x86_64/sha2
|
@ -24,7 +24,7 @@
|
|||
#define _ASM
|
||||
#include <sys/asm_linkage.h>
|
||||
|
||||
.section .rodata
|
||||
SECTION_STATIC
|
||||
|
||||
.align 64
|
||||
.type K256,@object
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#define _ASM
|
||||
#include <sys/asm_linkage.h>
|
||||
|
||||
.section .rodata
|
||||
SECTION_STATIC
|
||||
|
||||
.align 64
|
||||
.type K512,@object
|
||||
|
|
Loading…
Reference in New Issue