projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4093a6
)
fix detection of common symbols.
author
Nick Clifton
<nickc@redhat.com>
Tue, 14 Dec 1999 02:20:57 +0000
(
02:20
+0000)
committer
Nick Clifton
<nickc@redhat.com>
Tue, 14 Dec 1999 02:20:57 +0000
(
02:20
+0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/elflink.h
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index fe9136843f2135270f47283c72bec92a92dbb065..44467d9bac652934adc90d728d61b3723e9f13ee 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,8
@@
+1999-12-13 Nick Clifton <nickc@cygnus.com>
+
+ * elflink.h (elf_link_is_defined_archive_symbol): Check to see
+ if the symbol is in the common section.
+
1999-12-10 Nick Clifton <nickc@cygnus.com>
* elflink.h (elf_link_is_defined_archive_symbol): New
diff --git
a/bfd/elflink.h
b/bfd/elflink.h
index 6e21a1fd8f1325552d6a84d4f8604da27ed25132..9a4974fb5dd7770427d6c3cbc71189ffcd664b30 100644
(file)
--- 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;
}
}