diff options
author | chuckr <chuckr@FreeBSD.org> | 1999-02-28 18:55:39 +0000 |
---|---|---|
committer | chuckr <chuckr@FreeBSD.org> | 1999-02-28 18:55:39 +0000 |
commit | cd8e25705219470aede73ce181189ed054a02fc8 (patch) | |
tree | d2eb0643aced6cd1f553dae9ef5fbb5ab2169972 /lib/libmd | |
parent | 765bc082693e378e6fabff56e94ced31812c2648 (diff) | |
download | FreeBSD-src-cd8e25705219470aede73ce181189ed054a02fc8.zip FreeBSD-src-cd8e25705219470aede73ce181189ed054a02fc8.tar.gz |
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
Diffstat (limited to 'lib/libmd')
-rw-r--r-- | lib/libmd/i386/rmd160.S | 4 | ||||
-rw-r--r-- | 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 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: |