aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r--bfd/elflink.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h
index 6e21a1f..9a4974f 100644
--- a/bfd/elflink.h
+++ b/bfd/elflink.h
@@ -161,7 +161,9 @@ elf_link_is_defined_archive_symbol (abfd, symdef)
{
result =
(ELF_ST_BIND (sym.st_info) == STB_GLOBAL)
- && (sym.st_shndx != SHN_UNDEF);
+ && (sym.st_shndx != SHN_UNDEF)
+ && (sym.st_shndx != SHN_COMMON)
+ ;
break;
}
}