vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe51_mul.S in rbnacl-libsodium-1.0.8 vs vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe51_mul.S in rbnacl-libsodium-1.0.9
- old
+ new
@@ -5,13 +5,21 @@
*/
#include "fe51_namespace.h"
#include "consts_namespace.h"
.text
.p2align 5
-.globl _fe51_mul
+#ifdef ASM_HIDE_SYMBOL
+ASM_HIDE_SYMBOL fe51_mul
+ASM_HIDE_SYMBOL _fe51_mul
+#endif
.globl fe51_mul
-_fe51_mul:
+.globl _fe51_mul
+#ifdef __ELF__
+.type fe51_mul, @function
+.type _fe51_mul, @function
+#endif
fe51_mul:
+_fe51_mul:
mov %rsp,%r11
and $31,%r11
add $96,%r11
sub %r11,%rsp
movq %r11,0(%rsp)