From 91ea499d4ae67d29f4ef3aefc3335224a2837254 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 7 Nov 2007 18:29:34 +0000 Subject: Check that we don't set the output section index twice. --- gold/output.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gold/output.cc') 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_(), -- cgit v1.1