diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-06-03 22:08:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-06-03 22:08:03 +0000 |
commit | 236a64b42bb4789942aa2926b8f2f0417636bc59 (patch) | |
tree | 36c056253b1a237f082fec74ba64711713fc5573 /sys/conf | |
parent | 228f3886c7baedf98136d64405ea6c9baea2b9ed (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.sh | 8 |
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, |