[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/3290] Linker creates dynamic debug symbols in DSO
From: |
nickc at redhat dot com |
Subject: |
[Bug ld/3290] Linker creates dynamic debug symbols in DSO |
Date: |
4 Apr 2008 11:02:13 -0000 |
------- Additional Comments From nickc at redhat dot com 2008-04-04 11:02
-------
Subject: Re: Linker creates dynamic debug symbols in DSO
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
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3290
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.