summaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2017-06-25 17:14:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2017-06-25 17:14:25 +0000
commita1996890cb61593ab27702932eb7fcdd6eebe98a (patch)
tree0819419b64c37e9832d6be732e62c8ef0a94ee3f /sys/conf
parent0a6afec515ff3d80940aa2d1861c065960643716 (diff)
lld's linker-script parser has to be fixed to accept ; after LONG()
directives. binutils requires it, and binutils is the authoritative parser in this regard. This means arm64 +lld remains broken (but all the other architectures work)
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/makegap.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/conf/makegap.sh b/sys/conf/makegap.sh
index a640e717087..d57cbc07002 100644
--- a/sys/conf/makegap.sh
+++ b/sys/conf/makegap.sh
@@ -23,7 +23,7 @@ PHDRS {
SECTIONS {
.text : ALIGN($PAGE_SIZE) {
- LONG($PAD)
+ LONG($PAD);
. += $RANDOM1;
. = ALIGN($PAGE_SIZE);
endboot = .;
@@ -35,14 +35,14 @@ SECTIONS {
} :text =$PAD
.rodata : {
- LONG($PAD)
+ LONG($PAD);
. += $RANDOM3;
. = ALIGN(16);
*(.rodata .rodata.*)
} :rodata =$PAD
.data : {
- LONG($PAD)
+ LONG($PAD);
. = . + $RANDOM4; /* fragment of page */
. = ALIGN(16);
*(.data .data.*)