This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: binutils is now broken
On Fri, Nov 08, 2002 at 08:50:42AM +1030, Alan Modra wrote:
> On Thu, Nov 07, 2002 at 01:34:40PM -0500, Daniel Jacobowitz wrote:
> > Michal, this bit:
> > * dwarf2.c (read_indirect_string, read_abbrevs, decode_line_info,
> > _bfd_dwarf2_find_nearest_line): Use
> > bfd_simple_get_relocated_section_contents() instead of
> > bfd_get_section_contents().
> >
> > is not OK when linking, when the sections have assigned output offsets
> > and output sections. They're meant for non-linking use only, but
> > unfortunately dwarf2.c uses them for both.
>
> Reverted.
Thanks.
Probably what we should do is make the simple.c routines safe to use
during link time; doing that properly will require a little thought...
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer