diff options
author | Owen Anderson <resistor@mac.com> | 2011-10-26 17:08:49 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2011-10-26 17:08:49 +0000 |
commit | 9472b8d220fc746498429f430cb4c4dbfbd38f2a (patch) | |
tree | 81a510494c62fdacbee0f79202c732d77d6e4861 /tools/llvm-objdump | |
parent | 929e27cc3c67d4c6355c7b56b2983722d28d2624 (diff) | |
download | external_llvm-9472b8d220fc746498429f430cb4c4dbfbd38f2a.zip external_llvm-9472b8d220fc746498429f430cb4c4dbfbd38f2a.tar.gz external_llvm-9472b8d220fc746498429f430cb4c4dbfbd38f2a.tar.bz2 |
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
Diffstat (limited to 'tools/llvm-objdump')
-rw-r--r-- | tools/llvm-objdump/MachODump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-objdump/MachODump.cpp b/tools/llvm-objdump/MachODump.cpp index c61ec4c..2420dd7 100644 --- a/tools/llvm-objdump/MachODump.cpp +++ b/tools/llvm-objdump/MachODump.cpp @@ -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)); |