Another case of 256 sections not being enough :-)
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 6 Oct 2010 22:28:19 +0000 (22:28 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 6 Oct 2010 22:28:19 +0000 (22:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115858 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/ELFObjectWriter.cpp

index fb0518b2ec4495c7cb0593c83b820796fde8472e..8a8d68e55a8b526991f61e54470f21d5a90af602 100644 (file)
@@ -1128,7 +1128,7 @@ void ELFObjectWriterImpl::WriteObject(MCAssembler &Asm,
   // ... then all of the sections ...
   DenseMap<const MCSection*, uint64_t> SectionOffsetMap;
 
-  DenseMap<const MCSection*, uint8_t> SectionIndexMap;
+  DenseMap<const MCSection*, uint32_t> SectionIndexMap;
 
   unsigned Index = 1;
   for (MCAssembler::const_iterator it = Asm.begin(),