aboutsummaryrefslogtreecommitdiff
path: root/bfd/archive.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-03-26 01:40:40 +0000
committerAlan Modra <amodra@gmail.com>2010-03-26 01:40:40 +0000
commit1352b58a73806af902717edb51b732a9f5a6af84 (patch)
treecaa1a3d8d5a7368828d3636a793b1742510d7b62 /bfd/archive.c
parent6abec6bce3a041b05efe8b3581574ee4b4bfcd42 (diff)
downloadgdb-1352b58a73806af902717edb51b732a9f5a6af84.zip
gdb-1352b58a73806af902717edb51b732a9f5a6af84.tar.gz
gdb-1352b58a73806af902717edb51b732a9f5a6af84.tar.bz2
* archive.c (_bfd_compute_and_write_armap): Allow symbols flagged
as unique in the armap.
Diffstat (limited to 'bfd/archive.c')
-rw-r--r--bfd/archive.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/archive.c b/bfd/archive.c
index 6fad826..15eea03 100644
--- a/bfd/archive.c
+++ b/bfd/archive.c
@@ -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))
{