diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-10-05 21:30:29 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-10-05 21:30:29 +0000 |
commit | c2e691ed7cd586ed3e2211700c3b99155befee8b (patch) | |
tree | 82d5d4de73bb905861005d2e7ec2bb5f7522b082 /lld/lib/Core/Error.cpp | |
parent | 8f64c3d84213aabcfc2e033335a73290ab7ea059 (diff) | |
download | bcm5719-llvm-c2e691ed7cd586ed3e2211700c3b99155befee8b.tar.gz bcm5719-llvm-c2e691ed7cd586ed3e2211700c3b99155befee8b.zip |
PE/COFF: remove another use of PECOFFLinkingContext::is64bit
In order to support more than x86/x86_64, we need to change the behaviour to use
the actual machine type rather than checking the bitness and assuming that we
are on X86. This replaces the use of is64bit in applyAllRelocations with a
check on the machine type. This will enable adding support for handling ARM
relocations.
Rename the existing applyRelocation methods to be similarly named and to make it
clear the types of relocations they will process.
llvm-svn: 219088
Diffstat (limited to 'lld/lib/Core/Error.cpp')
0 files changed, 0 insertions, 0 deletions