This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: h8300-hms-ld segmentation fault
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Thomas Halva Labella <hlabella at ulb dot ac dot be>, binutils at sources dot redhat dot com
- Date: Wed, 18 Dec 2002 09:01:49 +1030
- Subject: Re: h8300-hms-ld segmentation fault
- References: <3DFF6FBD.8000008@ulb.ac.be> <20021217194007.GA6344@nevyn.them.org>
On Tue, Dec 17, 2002 at 02:40:07PM -0500, Daniel Jacobowitz wrote:
> Try removing the OUTPUT_FORMAT directive, and then using a separate
> objcopy stage to convert to srec. This is a known bug in the h8300
> linker.
Many other targets have similar problems. In general, linking to
a different output format won't work unless the input files will
link properly using the generic linker support. This requires that
all relocations in the input files can be handled using just the
reloc howto entries for the input arch. (And of course the howto
entries have to be correct!)
--
Alan Modra
IBM OzLabs - Linux Technology Centre