From d8e0bfe07a7d101eeed7204d1dfcaae17ad51908 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 6 Oct 2010 22:28:19 +0000 Subject: [PATCH] Another case of 256 sections not being enough :-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115858 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/ELFObjectWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MC/ELFObjectWriter.cpp b/lib/MC/ELFObjectWriter.cpp index fb0518b2ec4..8a8d68e55a8 100644 --- a/lib/MC/ELFObjectWriter.cpp +++ b/lib/MC/ELFObjectWriter.cpp @@ -1128,7 +1128,7 @@ void ELFObjectWriterImpl::WriteObject(MCAssembler &Asm, // ... then all of the sections ... DenseMap SectionOffsetMap; - DenseMap SectionIndexMap; + DenseMap SectionIndexMap; unsigned Index = 1; for (MCAssembler::const_iterator it = Asm.begin(),