forked from OSchip/llvm-project
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:
parent
b2348f4ced
commit
5568c83a60
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue