Skip to content

Commit

Permalink
Use SECTION_STATIC macro for sha2 x86_64 assembly
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
mcmilk authored and behlendorf committed Mar 2, 2023
1 parent f9f9bef commit 620a977
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion module/icp/asm-x86_64/sha2/sha256-x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#define _ASM
#include <sys/asm_linkage.h>

.section .rodata
SECTION_STATIC

.align 64
.type K256,@object
Expand Down
2 changes: 1 addition & 1 deletion module/icp/asm-x86_64/sha2/sha512-x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#define _ASM
#include <sys/asm_linkage.h>

.section .rodata
SECTION_STATIC

.align 64
.type K512,@object
Expand Down

0 comments on commit 620a977

Please sign in to comment.