summaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2017-06-03 22:08:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2017-06-03 22:08:03 +0000
commit236a64b42bb4789942aa2926b8f2f0417636bc59 (patch)
tree36c056253b1a237f082fec74ba64711713fc5573 /sys/conf
parent228f3886c7baedf98136d64405ea6c9baea2b9ed (diff)
use .balign instead of .align, it is portable to more architectures
discussed with patrick
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/makegap.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/conf/makegap.sh b/sys/conf/makegap.sh
index 94b77e7b99e..1e644be41b3 100644
--- a/sys/conf/makegap.sh
+++ b/sys/conf/makegap.sh
@@ -7,15 +7,15 @@ cat << __EOF__
#include <machine/param.h>
.text
- .align PAGE_SIZE, $PADBYTE
+ .balign PAGE_SIZE, $PADBYTE
.space $RANDOM, $PADBYTE
- .align PAGE_SIZE, $PADBYTE
+ .balign PAGE_SIZE, $PADBYTE
.globl endboot
_C_LABEL(endboot):
.space PAGE_SIZE, $PADBYTE
- .space $RANDOM % PAGE_SIZE, $PADBYTE
- .align 16, $PADBYTE
+ .space $RANDOM % PAGE_SIZE, $PADBYTE
+ .balign 16, $PADBYTE
/*
* Randomly bias future data, bss, and rodata objects,