This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: binutils 2.11 sh-rtems/sh-elf dies building gcc
On Wed, Apr 11, 2001 at 07:37:42AM -0500, Joel Sherrill wrote:
> In fact line 3335 is in the routine tc_gen_reloc which is
> clearly inside a BFD_ASSEMBLER ifdef so I am pretty sure
> bfd_gas=yes. :)
OK, this time I actually looked at the source instead of jumping
to wrong conclusions, but I can't see how you can arrive at the
result you get. :-( Try running under gdb with a breakpoint at
the offending as_bad_where, then look at the stdoutput bfd info.
xvec->reloc_type_lookup should be pointing at
sh_elf_reloc_type_lookup. If it isn't you probably have some sort
of build problem. If it is, you might have a compiler problem,
wild pointers, or any of a range of nasty problems.
--
Alan Modra