summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-10-06 22:28:19 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-10-06 22:28:19 +0000
commit883936ce0b4d758ef1458c17813b0580fe81b1ac (patch)
tree4249c08694206c92006fdb58b47631fc82d3f9a5 /llvm/lib
parentaf08ad4350266e279eb5a936b771f6e936cb8ecd (diff)
downloadbcm5719-llvm-883936ce0b4d758ef1458c17813b0580fe81b1ac.tar.gz
bcm5719-llvm-883936ce0b4d758ef1458c17813b0580fe81b1ac.zip
Another case of 256 sections not being enough :-)
llvm-svn: 115858
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/MC/ELFObjectWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/ELFObjectWriter.cpp b/llvm/lib/MC/ELFObjectWriter.cpp
index fb0518b2ec4..8a8d68e55a8 100644
--- a/llvm/lib/MC/ELFObjectWriter.cpp
+++ b/llvm/lib/MC/ELFObjectWriter.cpp
@@ -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(),
OpenPOWER on IntegriCloud