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

llvm-svn: 143032
This commit is contained in:
Owen Anderson
2011-10-26 17:08:49 +00:00
parent b92de2de71
commit 7be76590e6
7 changed files with 10 additions and 10 deletions

View File

@@ -623,7 +623,7 @@ error_code COFFObjectFile::getRelocationSymbol(DataRefImpl Rel,
return object_error::success;
}
error_code COFFObjectFile::getRelocationType(DataRefImpl Rel,
uint32_t &Res) const {
uint64_t &Res) const {
const coff_relocation* R = toRel(Rel);
Res = R->Type;
return object_error::success;