diff options
author | Alan Modra <amodra@gmail.com> | 2017-06-05 11:02:42 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-06-05 15:19:36 +0930 |
commit | af54f0eb968ba8cb3862fd3cad097a3f3363467b (patch) | |
tree | 5980ada611d15c57560fca3118d14d10a3adde25 /bfd/linker.c | |
parent | 91001320a22466d1580e169bcb023d3b822226b4 (diff) | |
download | gdb-af54f0eb968ba8cb3862fd3cad097a3f3363467b.zip gdb-af54f0eb968ba8cb3862fd3cad097a3f3363467b.tar.gz gdb-af54f0eb968ba8cb3862fd3cad097a3f3363467b.tar.bz2 |
PR21529, internal error in linker.c
PR 21529
* linker.c (_bfd_generic_link_output_symbols): Handle BSF_GNU_UNIQUE.
Diffstat (limited to 'bfd/linker.c')
-rw-r--r-- | bfd/linker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/linker.c b/bfd/linker.c index 9861259..f94d2f8 100644 --- a/bfd/linker.c +++ b/bfd/linker.c @@ -2091,7 +2091,7 @@ _bfd_generic_link_output_symbols (bfd *output_bfd, && bfd_hash_lookup (info->keep_hash, bfd_asymbol_name (sym), FALSE, FALSE) == NULL)) output = FALSE; - else if ((sym->flags & (BSF_GLOBAL | BSF_WEAK)) != 0) + else if ((sym->flags & (BSF_GLOBAL | BSF_WEAK | BSF_GNU_UNIQUE)) != 0) { /* If this symbol is marked as occurring now, rather than at the end, output it now. This is used for |