diff options
author | Nick Clifton <nickc@redhat.com> | 1999-12-14 02:20:57 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1999-12-14 02:20:57 +0000 |
commit | ceddadb21773b9a3a201383e45eb6c2b7b25aa2f (patch) | |
tree | 2bb9df491a84891eb93f0cfce6b5bb19c15a3fab /bfd/elflink.h | |
parent | c4093a6ab3c9ba5f830ca18d91d8b4db5b1d28ee (diff) | |
download | gdb-ceddadb21773b9a3a201383e45eb6c2b7b25aa2f.zip gdb-ceddadb21773b9a3a201383e45eb6c2b7b25aa2f.tar.gz gdb-ceddadb21773b9a3a201383e45eb6c2b7b25aa2f.tar.bz2 |
fix detection of common symbols.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r-- | bfd/elflink.h | 4 |
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; } } |