* archive.c (_bfd_compute_and_write_armap): Allow symbols flagged

as unique in the armap.
This commit is contained in:
Alan Modra 2010-03-26 01:40:40 +00:00
parent 6abec6bce3
commit 1352b58a73
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2010-03-26 Matt Rice <ratmice@gmail.com>
* archive.c (_bfd_compute_and_write_armap): Allow symbols flagged
as unique in the armap.
2010-03-26 Alan Modra <amodra@gmail.com>
PR ld/11375

View file

@ -2196,6 +2196,7 @@ _bfd_compute_and_write_armap (bfd *arch, unsigned int elength)
if ((flags & BSF_GLOBAL
|| flags & BSF_WEAK
|| flags & BSF_INDIRECT
|| flags & BSF_GNU_UNIQUE
|| bfd_is_com_section (sec))
&& ! bfd_is_und_section (sec))
{