ref: 4dcb3ce2ab2baca0b03a8f59389e46ff263e7641
parent: 11025d6f4a2c3c7e75010f85c2d3108e602270b7
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