From cd8e25705219470aede73ce181189ed054a02fc8 Mon Sep 17 00:00:00 2001 From: chuckr Date: Sun, 28 Feb 1999 18:55:39 +0000 Subject: fix for incorrect specification of alignment (it worked for the elf build, but broke while doing the aout legacy build). Now using .p2align instead of .align. Fixes broken buildworld. Submitted by: John Polstra Reviewed by: John Polstra --- lib/libmd/i386/rmd160.S | 4 ++-- lib/libmd/i386/sha.S | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libmd/i386') diff --git a/lib/libmd/i386/rmd160.S b/lib/libmd/i386/rmd160.S index b94d560..97193e9 100644 --- a/lib/libmd/i386/rmd160.S +++ b/lib/libmd/i386/rmd160.S @@ -30,7 +30,7 @@ #if defined(ELF) || defined(SOL) #define OK 1 -#define ALIGN 16 +#define ALIGN 4 #endif #ifndef OK @@ -52,7 +52,7 @@ BSDI - a.out with a very primative version of as. .version "01.01" gcc2_compiled.: .text - .align ALIGN + .p2align ALIGN .globl ripemd160_block_x86 TYPE(ripemd160_block_x86,@function) ripemd160_block_x86: diff --git a/lib/libmd/i386/sha.S b/lib/libmd/i386/sha.S index 15b07b9..ae8f89e 100644 --- a/lib/libmd/i386/sha.S +++ b/lib/libmd/i386/sha.S @@ -31,7 +31,7 @@ #if defined(ELF) || defined(SOL) #define OK 1 -#define ALIGN 16 +#define ALIGN 4 #endif #ifndef OK @@ -53,7 +53,7 @@ BSDI - a.out with a very primative version of as. .version "01.01" gcc2_compiled.: .text - .align ALIGN + .p2align ALIGN .globl sha1_block_x86 TYPE(sha1_block_x86,@function) sha1_block_x86: -- cgit v1.1