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




_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to