--gc-section leftovers workaround.
Paul Pluzhnikov
ppluzhnikov@google.com
Wed Oct 28 19:23:00 GMT 2009
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
More information about the Gdb-patches
mailing list