Subject: Re: What is NetBSD's binary format ELF/COFF/?
To: Brad Colbert <bcolbert@aac.accurate-automation.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: netbsd-help
Date: 09/27/1995 11:17:06
On Wed, 27 Sep 1995 10:09:13 -0400 (EDT) 
 bcolbert@aac.accurate-automation.com (Brad Colbert) wrote:

 >    I am curious, what is the binary format from 1.0 (not -current)?
 >    Is it an ELF or COFF or something different?  

Most NetBSD architectures use a.out.  Exceptions are the alpha and pmax.

Our a.out format is slightly "special".  Our magic numbers are kept in 
network byte-order and contain the "traditional" magic numbers 
({O,N,Z}MAGIC), a machine-id, and flags.  See <sys/exec_aout.h> for 
details.

--------------------------------------------------------------------------
Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939