This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: collect2, weak functions and .debug_line section.


On Thu, 16 Oct 2003 15:34:27 -0400, Daniel Jacobowitz <drow@mvista.com> wrote:

> On Thu, Oct 16, 2003 at 03:00:58PM -0400, Jason Merrill wrote:

>> Yes.  But I don't see why there would be a problem with the current
>> situation; only the right .debug_line info should match the current PC.
>
> I believe the problem is not with inlining, but with one copy being
> discarded?

Yes, but the relocs in the .debug_line info for the discarded copy should
resolve to 0.  That's how we deal with duplicate .debug_info, IIRC.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]