Add support for dynamic relocations (code object v2.1)
Change-Id: Ic19be97d3ea78b53f5aa814787515b587d0be21b
[ROCm/ROCR-Runtime commit: 5a14d496ab]
Dieser Commit ist enthalten in:
1 Ursprung
76dea4613a
Commit
bf46c9e840
4 Dateien geändert
+174
-51
Keine Dateien entsprechen Ihrer Suche
@@ -425,9 +425,14 @@ private:
|
||||
hsa_status_t LoadSymbol(hsa_agent_t agent, amd::hsa::code::Symbol* sym);
|
||||
hsa_status_t LoadDefinitionSymbol(hsa_agent_t agent, amd::hsa::code::Symbol* sym);
|
||||
hsa_status_t LoadDeclarationSymbol(hsa_agent_t agent, amd::hsa::code::Symbol* sym);
|
||||
hsa_status_t LoadRelocationSection(hsa_agent_t agent, amd::hsa::code::RelocationSection* sec);
|
||||
hsa_status_t LoadRelocation(hsa_agent_t agent, amd::hsa::code::Relocation* rel);
|
||||
|
||||
hsa_status_t ApplyRelocations(hsa_agent_t agent, amd::hsa::code::AmdHsaCode *c);
|
||||
hsa_status_t ApplyStaticRelocationSection(hsa_agent_t agent, amd::hsa::code::RelocationSection* sec);
|
||||
hsa_status_t ApplyStaticRelocation(hsa_agent_t agent, amd::hsa::code::Relocation *rel);
|
||||
hsa_status_t ApplyDynamicRelocationSection(hsa_agent_t agent, amd::hsa::code::RelocationSection* sec);
|
||||
hsa_status_t ApplyDynamicRelocation(hsa_agent_t agent, amd::hsa::code::Relocation *rel);
|
||||
|
||||
Segment* VirtualAddressSegment(uint64_t vaddr);
|
||||
uint64_t SymbolAddress(hsa_agent_t agent, amd::hsa::code::Symbol* sym);
|
||||
uint64_t SymbolAddress(hsa_agent_t agent, amd::elf::Symbol* sym);
|
||||
Segment* SymbolSegment(hsa_agent_t agent, amd::hsa::code::Symbol* sym);
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren