Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3041)

Unified Diff: binutils-2.20/gold/symtab.cc

Issue 8298009: Only warn about undefined symbols if the symbol has been used in a regular object file (Closed) Base URL: http://code.google.com/p/nacl-llvm-branches.binutils
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: binutils-2.20/gold/symtab.cc
===================================================================
--- a/binutils-2.20/gold/symtab.cc
+++ b/binutils-2.20/gold/symtab.cc
@@ -2727,6 +2727,7 @@
{
Symbol *sym = p->second;
if (sym->is_undefined() &&
+ sym->in_reg() &&
sym->binding() != elfcpp::STB_WEAK &&
exceptions.count(sym->name()) == 0 &&
// @TODO(pdox): If --wrap is to be a supported user-visible feature,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698