This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: --gc-section leftovers workaround.


On Wed, Oct 28, 2009 at 11:51 AM, Pedro Alves <pedro@codesourcery.com> wrote:

> With --gc-sections, gnu ld zeros out the start addresses of
> unreferences FDEs, but leaves them behind.

I believe the same thing happens when there are multiple instances of the
same inline function in several translation units: one is selected, and
debug info for the other ones gets zero start address.

The patch looks good to me.

Thanks,
-- 
Paul Pluzhnikov


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