From f3581db5c61c2cb180f77784feaa2e247956dd81 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sun, 15 Jun 2014 21:49:27 -0500 Subject: [PATCH] sha1-ssse3.asm: Fix building on Windows For some reason the Intel original doesn't actually build for Windows because it requests too high alignment per section. It should be sufficient to retain the alignment directives in the code itself. --- src/sha1-ssse3.asm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/sha1-ssse3.asm b/src/sha1-ssse3.asm index 45f7062f..5f5872a7 100644 --- a/src/sha1-ssse3.asm +++ b/src/sha1-ssse3.asm @@ -493,7 +493,8 @@ rol %1, 30 ;;---------------------- -section .data align=128 +section .data +align 128 %xdefine K1 0x5a827999 %xdefine K2 0x6ed9eba1 @@ -519,7 +520,8 @@ sha1_update_intel_dispatched: DQ sha1_update_intel_init_ ;;---------------------- -section .text align=4096 +section .text +align 4096 SHA1_VECTOR_ASM sha1_update_intel_ssse3_, multiblock -- 2.43.0