erik quanstrom wrote:
> ; mk -n mbr.install
> 8l -o mbr -H3 -T0x0600 -l mbr.8
> ls -l mbr
> cp mbr /386/mbr

The go toolchain yields:
$ 8l -o mbr -H3 -T0x0600 -l mbr.8
confidence: runtime·morestack not defined
??none??: _rt0_386_plan9: not defined

src/cmd/8l/pass.c:
symmorestack = lookup("runtime·morestack", 0);
....
if(pmorestack == P)
  diag("runtime·morestack not defined");

src/cmd/ld/lib.c: void libinit(void)
sprint(INITENTRY, "_rt0_%s_%s", goarch, goos);

If you can address these two, I think you can use 8l without the runtime.


Reply via email to