aboutsummaryrefslogtreecommitdiff
path: root/gold/object.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-11-09 23:56:32 +0000
committerIan Lance Taylor <iant@google.com>2007-11-09 23:56:32 +0000
commitaed38d06944d1966c9f76e14bb1bc11f4c65263c (patch)
tree581657c32d0bd080c8f0972b43ca95d473d509d7 /gold/object.cc
parentbbc1a78472cfdce40f23258372411fd3b30bb114 (diff)
downloadgdb-aed38d06944d1966c9f76e14bb1bc11f4c65263c.zip
gdb-aed38d06944d1966c9f76e14bb1bc11f4c65263c.tar.gz
gdb-aed38d06944d1966c9f76e14bb1bc11f4c65263c.tar.bz2
From Craig Silverstein: Initialize got_relocs.
Diffstat (limited to 'gold/object.cc')
-rw-r--r--gold/object.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/object.cc b/gold/object.cc
index 44ebcaa..0f655c6 100644
--- a/gold/object.cc
+++ b/gold/object.cc
@@ -1107,7 +1107,7 @@ Relocate_info<size, big_endian>::location(size_t, off_t offset) const
// Find the relocation section for ".debug_line".
Track_relocs<size, big_endian> track_relocs;
- bool got_relocs;
+ bool got_relocs = false;
for (unsigned int reloc_shndx = 0;
reloc_shndx < this->object->shnum();
++reloc_shndx)