ports/security/libgcrypt/patches/patch-cipher_sha1-ssse3-amd64_S

21 lines
492 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: cipher/sha1-ssse3-amd64.S
--- cipher/sha1-ssse3-amd64.S.orig
+++ cipher/sha1-ssse3-amd64.S
@@ -47,7 +47,7 @@
/* Constants */
-.text
+.rodata
#define K1 0x5A827999
#define K2 0x6ED9EBA1
#define K3 0x8F1BBCDC
@@ -215,6 +215,7 @@
* _gcry_sha1_transform_amd64_ssse3 (void *ctx, const unsigned char *data,
* size_t nblks)
*/
+.text
.globl _gcry_sha1_transform_amd64_ssse3
ELF(.type _gcry_sha1_transform_amd64_ssse3,@function)
.align 16