Subject: RE: Sparc2 problems?
To: Rick Copeland <rickgc@calweb.com>
From: Jeremy Cooper <jeremy@broder.com>
List: port-sparc
Date: 11/04/1998 16:16:11
On Tue, 3 Nov 1998, Rick Copeland wrote:

> How do you strip the a.out headers off the top off the boot image? Since we
> are here can someone tell me what the a.out headers are?

An a.out header is a data structure at the begining of an executable file
which the linker creates to instruct the kernel how to load and run the
executable.   NetBSD/sparc's a.out header is 16 bytes in size, so you can
remove it by using the dd utility.

dd if=<executable> of=<stripped-executable> bs=16 skip=1

-J