PR ld/15762
PR ld/12761 * elflink.c (elf_link_add_object_symbols): Don't clobber .gnu.warning.symbol sections when shared.
This commit is contained in:
parent
702535171d
commit
436e1ebacc
@ -1,3 +1,10 @@
|
||||
2013-07-20 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR ld/15762
|
||||
PR ld/12761
|
||||
* elflink.c (elf_link_add_object_symbols): Don't clobber
|
||||
.gnu.warning.symbol sections when shared.
|
||||
|
||||
2013-07-19 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* elf32-rx.c (rx_elf_relocate_section): Fix typo: move
|
||||
|
@ -3444,7 +3444,7 @@ elf_link_add_object_symbols (bfd *abfd, struct bfd_link_info *info)
|
||||
FALSE, bed->collect, NULL)))
|
||||
goto error_return;
|
||||
|
||||
if (! info->relocatable)
|
||||
if (!info->relocatable && !info->shared)
|
||||
{
|
||||
/* Clobber the section size so that the warning does
|
||||
not get copied into the output file. */
|
||||
|
Loading…
Reference in New Issue
Block a user