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

21 lines
527 B
Text
Raw Permalink Normal View History

2023-08-16 22:26:55 +00:00
Index: cipher/sha1-avx-bmi2-amd64.S
--- cipher/sha1-avx-bmi2-amd64.S.orig
+++ cipher/sha1-avx-bmi2-amd64.S
@@ -48,7 +48,7 @@
/* Constants */
-.text
+.rodata
.align 16
.Lbswap_shufb_ctl:
.long 0x00010203, 0x04050607, 0x08090a0b, 0x0c0d0e0f
@@ -202,6 +202,7 @@
* _gcry_sha1_transform_amd64_avx_bmi2 (void *ctx, const unsigned char *data,
* size_t nblks)
*/
+.text
.globl _gcry_sha1_transform_amd64_avx_bmi2
ELF(.type _gcry_sha1_transform_amd64_avx_bmi2,@function)
.align 16