aboutsummaryrefslogtreecommitdiff
path: root/gold/mapfile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/mapfile.cc')
-rw-r--r--gold/mapfile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/mapfile.cc b/gold/mapfile.cc
index a9b4e72..a3ba52b 100644
--- a/gold/mapfile.cc
+++ b/gold/mapfile.cc
@@ -217,7 +217,7 @@ Mapfile::print_input_section_symbols(
&& is_ordinary
&& sym->is_defined())
{
- for (size_t j = 0; j < Mapfile::section_name_map_length; ++j)
+ for (size_t i = 0; i < Mapfile::section_name_map_length; ++i)
putc(' ', this->map_file_);
const Sized_symbol<size>* ssym =
static_cast<const Sized_symbol<size>*>(sym);