artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c1f54e
)
use .balign instead of .align, it is portable to more architectures
author
deraadt
<deraadt@openbsd.org>
Sat, 3 Jun 2017 22:08:02 +0000
(22:08 +0000)
committer
deraadt
<deraadt@openbsd.org>
Sat, 3 Jun 2017 22:08:02 +0000
(22:08 +0000)
discussed with patrick
sys/conf/makegap.sh
patch
|
blob
|
history
diff --git
a/sys/conf/makegap.sh
b/sys/conf/makegap.sh
index
94b77e7
..
1e644be
100644
(file)
--- 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,