From 719f9de58da52809811df0bb1e15b190eafba197 Mon Sep 17 00:00:00 2001 From: Chuck Robey Date: Sun, 28 Feb 1999 18:55:39 +0000 Subject: [PATCH] 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(-) diff --git a/lib/libmd/i386/rmd160.S b/lib/libmd/i386/rmd160.S index b94d560f78f0..97193e9bad8d 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 15b07b96550a..ae8f89ee8d0d 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: