Subject: OMAGIC a.out !?
To: None <port-m68k@netbsd.org>
From: Toru Nishimura <locore32@gaea.ocn.ne.jp>
List: port-m68k
Date: 06/27/2002 02:18:43
Hi,
I've a difficulty of producing OMAGIC a.out executable. I used to run
ld to produce OMAGIC a.out executables w/ "-N" flag given. I noticed
that ELF/m68k toolchain seems not to honour -N flag. Despite man ld
implies a.out, it makes ELF files. I tried m68k--netbsdelf-objcopy and
resulted in vain. It complains .rodata section not allowed for a.out. Exact
message is as follow;
BFD: st26938a: can not represent section `.rodata' in a.out object file format
/tools/bin/m68k--netbsdelf-objcopy: st26938a: Nonrepresentable section on output
It's necessary for luna68k boot ROM monitor to have OMAGIC kernel to boot off.
I think similar issues matter for sun2/sun3 ports. Solutions welcome.
Toru Nishimura/ALKYL Technology