summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-03-29 00:44:09 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2020-03-29 00:44:09 +0100
commit3c36cadefd5675ad290a607c3be0450eccde1f54 (patch)
tree707d3b66fded7735fb312fceb2a87a9a14bafe26
parent90143609212ed4500409a64d26f6b12d097b13ed (diff)
pc: fix mp boot regression due mistake in mkfile
the previous mkfile had a sneaky hack that would use sed to delete the first 2 lines of hex output to strip the 32 byte long a.out header for apbootstrap and rebootcode. use 8l -H3 flag to strip the header from the output file.
-rw-r--r--sys/src/9/pc/mkfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/9/pc/mkfile b/sys/src/9/pc/mkfile
index ea3fd9513..0d8f19efe 100644
--- a/sys/src/9/pc/mkfile
+++ b/sys/src/9/pc/mkfile
@@ -139,10 +139,10 @@ initcode.out: init9.$O initcode.$O /$objtype/lib/libc.a
$LD -l -R1 -s -o $target $prereq
rebootcode.out: rebootcode.$O
- $LD -l -R4 -s -o $target -T$REBOOTADDR $prereq
+ $LD -l -R4 -s -o $target -T$REBOOTADDR -H3 $prereq
apbootstrap.out: apbootstrap.$O
- $LD -l -R4 -s -o $target -T$APBOOTSTRAP $prereq
+ $LD -l -R4 -s -o $target -T$APBOOTSTRAP -H3 $prereq
sd53c8xx.i: sd53c8xx.n
aux/na $prereq > $target