This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: _bfd_dwarf2_find_nearest_line returns wrong filename
- From: Andreas Schwab <schwab at suse dot de>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: binutils at sources dot redhat dot com
- Date: 05 Feb 2003 00:02:25 +0100
- Subject: Re: _bfd_dwarf2_find_nearest_line returns wrong filename
- References: <m3smwoe46q.fsf@whitebox.local><m3lm27rbpl.fsf@north-pole.nickc.cambridge.redhat.com><m3r8bzp0s8.fsf@whitebox.local><20021230231439.GA16750@nevyn.them.org><20021230231641.GA16906@nevyn.them.org><m3isx8aehk.fsf@whitebox.local><20030103060814.GA10818@nevyn.them.org> <jey96270wj.fsf@sykes.suse.de><20030116210239.GA30751@nevyn.them.org> <jed6mtcbx6.fsf@sykes.suse.de><20030204153705.GD16725@nevyn.them.org>
Daniel Jacobowitz <drow@mvista.com> writes:
> I had the right idea, but I wasn't thorough enough implementing it. In
> addition to dummying the output offsets, we also have to dummy the
> output sections. Otherwise .debug_info thinks that a function starts
> up past 0x08400000, and the rest of the linker thinks that it starts at
> 0x18.
>
> Andreas, thanks for your continued patience. Would you mind testing
> this version?
I have also successfully tested it on ppc. Thanks for your work.
Andreas.