summaryrefslogtreecommitdiff
path: root/include/llvm/Object/COFF.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2011-10-26 17:08:49 +0000
committerOwen Anderson <resistor@mac.com>2011-10-26 17:08:49 +0000
commit9472b8d220fc746498429f430cb4c4dbfbd38f2a (patch)
tree81a510494c62fdacbee0f79202c732d77d6e4861 /include/llvm/Object/COFF.h
parent929e27cc3c67d4c6355c7b56b2983722d28d2624 (diff)
downloadllvm-9472b8d220fc746498429f430cb4c4dbfbd38f2a.tar.gz
llvm-9472b8d220fc746498429f430cb4c4dbfbd38f2a.tar.bz2
llvm-9472b8d220fc746498429f430cb4c4dbfbd38f2a.tar.xz
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 'include/llvm/Object/COFF.h')
-rw-r--r--include/llvm/Object/COFF.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Object/COFF.h b/include/llvm/Object/COFF.h
index 1f577c7433..71e342fc8b 100644
--- a/include/llvm/Object/COFF.h
+++ b/include/llvm/Object/COFF.h
@@ -138,7 +138,7 @@ protected:
virtual error_code getRelocationSymbol(DataRefImpl Rel,
SymbolRef &Res) const;
virtual error_code getRelocationType(DataRefImpl Rel,
- uint32_t &Res) const;
+ uint64_t &Res) const;
virtual error_code getRelocationTypeName(DataRefImpl Rel,
SmallVectorImpl<char> &Result) const;
virtual error_code getRelocationAdditionalInfo(DataRefImpl Rel,