From 620a977f22a656d4d0da395c4d8cc661e4b4ba8a Mon Sep 17 00:00:00 2001 From: Tino Reichardt Date: Wed, 1 Mar 2023 20:44:49 +0100 Subject: [PATCH] Use SECTION_STATIC macro for sha2 x86_64 assembly - instead of ".section .rodata" we should use SECTION_STATIC Tested-by: Rich Ercolani Tested-by: Sebastian Gottschall Reviewed-by: Brian Behlendorf Signed-off-by: Tino Reichardt Closes #13741 --- module/icp/asm-x86_64/sha2/sha256-x86_64.S | 2 +- module/icp/asm-x86_64/sha2/sha512-x86_64.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/icp/asm-x86_64/sha2/sha256-x86_64.S b/module/icp/asm-x86_64/sha2/sha256-x86_64.S index f78cd5fb18..da3722f808 100644 --- a/module/icp/asm-x86_64/sha2/sha256-x86_64.S +++ b/module/icp/asm-x86_64/sha2/sha256-x86_64.S @@ -24,7 +24,7 @@ #define _ASM #include -.section .rodata +SECTION_STATIC .align 64 .type K256,@object diff --git a/module/icp/asm-x86_64/sha2/sha512-x86_64.S b/module/icp/asm-x86_64/sha2/sha512-x86_64.S index ce8e108af4..29f1039651 100644 --- a/module/icp/asm-x86_64/sha2/sha512-x86_64.S +++ b/module/icp/asm-x86_64/sha2/sha512-x86_64.S @@ -24,7 +24,7 @@ #define _ASM #include -.section .rodata +SECTION_STATIC .align 64 .type K512,@object