aboutsummaryrefslogtreecommitdiff
path: root/gold/output.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-11-07 18:29:34 +0000
committerIan Lance Taylor <iant@google.com>2007-11-07 18:29:34 +0000
commit91ea499d4ae67d29f4ef3aefc3335224a2837254 (patch)
treeb07d9444c7ef4ef8747202a7e9b8e62f73ee7f2f /gold/output.cc
parent71fe8fb398bbfd79c5beadd1cce5656165f8ed37 (diff)
downloadgdb-91ea499d4ae67d29f4ef3aefc3335224a2837254.zip
gdb-91ea499d4ae67d29f4ef3aefc3335224a2837254.tar.gz
gdb-91ea499d4ae67d29f4ef3aefc3335224a2837254.tar.bz2
Check that we don't set the output section index twice.
Diffstat (limited to 'gold/output.cc')
-rw-r--r--gold/output.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/output.cc b/gold/output.cc
index acba77c..64aa4dc 100644
--- a/gold/output.cc
+++ b/gold/output.cc
@@ -992,7 +992,7 @@ Output_section::Output_section(const char* name, elfcpp::Elf_Word type,
info_(0),
type_(type),
flags_(flags),
- out_shndx_(0),
+ out_shndx_(-1U),
symtab_index_(0),
dynsym_index_(0),
input_sections_(),