NextSTEP's bootloader for Sparc32 expects that the 32 bytes a.out header is copied just before the start address.
Signed-off-by: Olivier Danet odanet@caramail.com =================================================================== --- libopenbios/aout_load.c (révision 1257) +++ libopenbios/aout_load.c (copie de travail) @@ -139,6 +139,8 @@ goto out; } } + seek_io(fd, offset); + read_io(fd, (char *)(start-0x20), 0x20);
debug("Loaded %lu bytes\n", size); debug("entry point is %#lx\n", start); ===================================================================