Adding support for R_PER_THREAD_PAYLOAD_OFFSET_32

Change-Id: Iacd8d2f84b6f307b37dd09fe794357bf4fa44388
This commit is contained in:
Jaroslaw Chodor
2020-09-07 02:28:32 +02:00
committed by sys_ocldev
parent b9b01c09bc
commit 6c0da29670
3 changed files with 19 additions and 3 deletions

View File

@@ -78,7 +78,8 @@ struct LinkerInput {
Unknown,
Address,
AddressHigh,
AddressLow
AddressLow,
PerThreadPayloadOffset
};
std::string symbolName;
@@ -207,5 +208,8 @@ struct Linker {
std::string constructLinkerErrorMessage(const Linker::UnresolvedExternals &unresolvedExternals, const std::vector<std::string> &instructionsSegmentsNames);
std::string constructRelocationsDebugMessage(const Linker::RelocatedSymbolsMap &relocatedSymbols);
constexpr bool shouldIgnoreRelocation(const LinkerInput::RelocationInfo &relocation) {
return LinkerInput::RelocationInfo::Type::PerThreadPayloadOffset == relocation.type;
}
} // namespace NEO