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

20 lines
479 B
Text

Index: cipher/sha1-avx-amd64.S
--- cipher/sha1-avx-amd64.S.orig
+++ cipher/sha1-avx-amd64.S
@@ -47,7 +47,7 @@
/* Constants */
-.text
+.rodata
#define K1 0x5A827999
#define K2 0x6ED9EBA1
#define K3 0x8F1BBCDC
@@ -203,6 +203,7 @@
* _gcry_sha1_transform_amd64_avx (void *ctx, const unsigned char *data,
* size_t nblks)
*/
+.text
.globl _gcry_sha1_transform_amd64_avx
ELF(.type _gcry_sha1_transform_amd64_avx,@function)
.align 16