Expand relocation type field to 64 bits. MachO scattered relocations require 33 bits of type info.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143032 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson
2011-10-26 17:08:49 +00:00
parent 929e27cc3c
commit 9472b8d220
7 changed files with 10 additions and 10 deletions

View File

@ -394,7 +394,7 @@ void llvm::DisassembleInputMachO(StringRef Filename) {
Sections[SectIdx].getAddress(SectionAddress);
RelocOffset -= SectionAddress;
uint32_t RelocInfo;
uint64_t RelocInfo;
RI->getType(RelocInfo);
Relocs.push_back(std::make_pair(RelocOffset, RelocInfo));