bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug ld/3290] Linker creates dynamic debug symbols in DSO


From: Nick Clifton
Subject: Re: [Bug ld/3290] Linker creates dynamic debug symbols in DSO
Date: Fri, 04 Apr 2008 12:01:46 +0100
User-agent: Thunderbird 1.5.0.12 (X11/20080213)

Hi Jakub,

--- bfd/elflink.c       2 Mar 2008 22:26:09 -0000       1.299
+++ bfd/elflink.c       25 Mar 2008 15:01:19 -0000
@@ -4294,7 +4294,7 @@ elf_link_add_object_symbols (bfd *abfd, dynsym = TRUE;
            }
- if (definition && (sec->flags & SEC_DEBUGGING))
+         if (definition && (sec->flags & SEC_DEBUGGING) && !info->relocatable)
            {
              /* We don't want to make debug symbol dynamic.  */
              (*bed->elf_backend_hide_symbol) (info, h, TRUE);

Well noone seems to object to this, so please go ahead an apply it. Along with a changelog entry of course. Actually, adding a test case would be a good thing too...

Cheers
  Nick






reply via email to

[Prev in Thread] Current Thread [Next in Thread]