binutils is now broken

Daniel Jacobowitz drow@mvista.com
Thu Nov 7 14:23:00 GMT 2002


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



More information about the Binutils mailing list