Subject: Re: CVS commit: basesrc
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Ignatios Souvatzis <is@beverly.kleinbus.org>
List: source-changes
Date: 05/22/2000 22:04:05
On Sun, May 21, 2000 at 06:05:48PM +0900, Izumi Tsutsui wrote:
> In <200005210648.XAA21469@nb00.nas.nasa.gov>
> is@netbsd.org wrote:
> 
> > Modified Files:
> > 	basesrc/usr.bin/elf2aout: Makefile
> 
> > Log Message:
> > Build on m68k and powerpc: needed for amigappc kernel with old boot loader.
> 
> Can't "objcopy -O a.out-m68k-netbsd" be used for m68k?

[Klaus asked the same.]

it would be something like aout-powerpc-netbsd. 

Additionally, I'm not sure the restraints needed by the boot loader and
enforced by the elf2aout (which was there earlier for similar MIPS purposes)
can be realized with objcopy. I'll investigate, and will at some point revert
this.

(later:)

objcopy does not like the gazillion sections the ppc-elf toolchain creates.
elf2aout merges them in a useful way. I was not able to do the same
using objcopy even with section reflagging... 

Regards,
	-is