[PATCH 5/7] powerpc-asm: move constant data to read-only section

Jussi Kivilinna jussi.kivilinna at iki.fi
Tue Jan 17 20:17:39 CET 2023


* cipher/chacha20-p10le-8x.s: Move constant data to read-only
section.
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna at iki.fi>
---
 cipher/chacha20-p10le-8x.s | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cipher/chacha20-p10le-8x.s b/cipher/chacha20-p10le-8x.s
index 427c6310..ff68c9ef 100644
--- a/cipher/chacha20-p10le-8x.s
+++ b/cipher/chacha20-p10le-8x.s
@@ -848,7 +848,7 @@ Out_no_chacha:
 	li	3, 0
 	blr
 
-.data
+.section .rodata
 .align 4
 sigma:
 .long 0x61707865, 0x3320646e, 0x79622d32, 0x6b206574
-- 
2.37.2




More information about the Gcrypt-devel mailing list