ref: 731021da5fb9687d88005beb30ebcd1560d78528
parent: 7615f65bc0d2b2a212283dbb35ae67c857fba2c4
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Mar 29 18:47:42 EDT 2020
xen: fix rebootcode linkage need to strip the a.out header, just like with the pc kernel.
--- a/sys/src/9/xen/mkfile
+++ b/sys/src/9/xen/mkfile
@@ -148,7 +148,7 @@
$AS ../pc/rebootcode.s
rebootcode.out: rebootcode.$O
- $LD -l -R4 -s -o $target -T0x1000 $prereq
+ $LD -l -R4 -s -o $target -T0x1000 -H3 $prereq
acid:V:
$CC -a -w main.c>acid
--
⑨