Subject: Re: CVS commit: syssrc
To: None <>
From: Simon Burge <>
List: tech-toolchain
Date: 10/26/1999 17:16:31
[[ tech-toolchain seemed like the best guess for this... ]

Klaus Klein wrote:

> Module Name:	syssrc
> Committed By:	kleink
> Date:		Mon Oct 25 14:02:54 UTC 1999
> Modified Files:
> 	syssrc/sys/arch/pmax/stand/scsiboot: bootxx.c
> 	syssrc/sys/arch/pmax/stand/smallnet/setnetimage: setnetimage.c
> Log Message:
> Update to match new SVR4-style definition names in <sys/exec_elf.h>.

At the moment, ELFCLASS isn't defined because ELFSIZE isn't set to
32 or 64.  Is there any for a default that suits the current build
environment to be chosen without needing to define ELFSIZE prior to
incluging <sys/exec_elf.h>?  At the moment, it looks like I either
have to use

	#include <sys/param.h>
	#define ELFSIZE 32
	#include <sys/exec_elf.h>
	#include <stand.h>
	#include <machine/dec_prom.h>

or use ELFCLASS32 directly.  Neither seems aestheticly pleasing at first
glance (hmm, I'm already using Elf32_Ehdr instead of Elf_Ehdr anyways)...