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 <[email protected]>
Tested-by: Sebastian Gottschall <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tino Reichardt <[email protected]>
Closes openzfs#13741
  • Loading branch information
mcmilk authored and lundman committed Mar 3, 2023
1 parent 3dce364 commit b0f718b
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 b0f718b

Please sign in to comment.