Handle 64 bit offsets.

No tests since llvm-mc takes 14 seconds on it. I will try to improve it
and then test.

Part of pr26208.

llvm-svn: 258129
This commit is contained in:
Rafael Espindola 2016-01-19 15:19:08 +00:00
parent b2348f4ced
commit 5568c83a60
1 changed files with 1 additions and 1 deletions

View File

@ -1279,7 +1279,7 @@ void ELFObjectWriter::writeObject(MCAssembler &Asm,
uint64_t NaturalAlignment = is64Bit() ? 8 : 4;
align(NaturalAlignment);
const unsigned SectionHeaderOffset = getStream().tell();
const uint64_t SectionHeaderOffset = getStream().tell();
// ... then the section header table ...
writeSectionHeader(Layout, SectionIndexMap, SectionOffsets);