projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Delete unused or undefined functions.
[deliverable/binutils-gdb.git]
/
gold
/
archive.cc
diff --git
a/gold/archive.cc
b/gold/archive.cc
index 569a491ae1a1b6628b189abd74c9ef2aec683dc3..011c36ddd613a660d00c623c8494a5779f8d3651 100644
(file)
--- a/
gold/archive.cc
+++ b/
gold/archive.cc
@@
-688,6
+688,7
@@
Archive::add_symbols(Symbol_table* symtab, Layout* layout,
Symbol* sym = symtab->lookup(sym_name, ver);
if (def
+ && ver != NULL
&& (sym == NULL
|| !sym->is_undefined()
|| sym->binding() == elfcpp::STB_WEAK))
This page took
0.024389 seconds
and
4
git commands to generate.