Index: cipher/sm4-aesni-avx-amd64.S --- cipher/sm4-aesni-avx-amd64.S.orig +++ cipher/sm4-aesni-avx-amd64.S @@ -97,7 +97,7 @@ 4-way && 8-way SM4 with AES-NI and AVX **********************************************************************/ -.text +.rodata .align 16 /* @@ -152,6 +152,7 @@ .L0f0f0f0f: .long 0x0f0f0f0f +.text .align 8 .globl _gcry_sm4_aesni_avx_expand_key ELF(.type _gcry_sm4_aesni_avx_expand_key,@function;)