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
This commit is contained in:
Chuck Robey 1999-02-28 18:55:39 +00:00
parent 746503ee29
commit 719f9de58d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=44332
2 changed files with 4 additions and 4 deletions

View File

@ -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:

View File

@ -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: