commit 59080a436ac6d5f247dce5702a748c4f5082feb8
parent 9f828eb9cfc8a7d8231b94c7929e25eb361453f6
Author: Ember Sawady <ecs@d2evs.net>
Date: Sun, 21 May 2023 08:12:32 +0000
crypto/aes/*.s: use correct per-function sections
Signed-off-by: Ember Sawady <ecs@d2evs.net>
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/crypto/aes/+x86_64/ni_native.s b/crypto/aes/+x86_64/ni_native.s
@@ -1,3 +1,4 @@
+.section ".text.crypto.aes.x86ni_keyexp","ax"
.global crypto.aes.x86ni_keyexp
.type crypto.aes.x86ni_keyexp,@function
crypto.aes.x86ni_keyexp:
@@ -328,6 +329,7 @@ key_exp_end:
leave
ret
+.section ".text.crypto.aes.x86ni_asencrypt","ax"
.global crypto.aes.x86ni_asencrypt
.type crypto.aes.x86ni_asencrypt,@function
crypto.aes.x86ni_asencrypt:
@@ -411,6 +413,7 @@ encrypt_end:
leave
ret
+.section ".text.crypto.aes.x86ni_asdescrypt","ax"
.global crypto.aes.x86ni_asdecrypt
.type crypto.aes.x86ni_asdecrypt,@function
crypto.aes.x86ni_asdecrypt: