This is the mail archive of the
mailing list for the GCC project.
Re: collect2, weak functions and .debug_line section.
On Thu, 16 Oct 2003 15:34:27 -0400, Daniel Jacobowitz <email@example.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
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.