summaryrefslogtreecommitdiff
path: root/gold/reloc.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2006-12-06 00:02:36 +0000
committerIan Lance Taylor <iant@google.com>2006-12-06 00:02:36 +0000
commitc2aa2fc56cd93edf9193a29e3dfdfc1ffcc6947d (patch)
tree71dbf48e0f8ac31a259e87eecaa12eb2b0e9bc29 /gold/reloc.cc
parent8a4e374664a48cb6ccf12c0806e6589a04226d38 (diff)
downloadbinutils-redhat-c2aa2fc56cd93edf9193a29e3dfdfc1ffcc6947d.tar.gz
Generate version information.
Diffstat (limited to 'gold/reloc.cc')
-rw-r--r--gold/reloc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/reloc.cc b/gold/reloc.cc
index 5b4db46ccb..001fb01cc1 100644
--- a/gold/reloc.cc
+++ b/gold/reloc.cc
@@ -484,7 +484,7 @@ Copy_relocs<size, big_endian>::Copy_reloc_entry::should_emit()
{
if (this->sym_ == NULL)
return false;
- if (this->sym_->is_defined_in_dynobj())
+ if (this->sym_->is_from_dynobj())
return true;
this->sym_ = NULL;
return false;