From: Eric Biggers Date: Mon, 16 Jun 2014 02:49:27 +0000 (-0500) Subject: sha1-ssse3.asm: Fix building on Windows X-Git-Tag: v1.7.0~3 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=f3581db5c61c2cb180f77784feaa2e247956dd81;ds=sidebyside 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. --- 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