diff --git a/projects/rocr-runtime/runtime/hsa-runtime/loader/executable.cpp b/projects/rocr-runtime/runtime/hsa-runtime/loader/executable.cpp index eb3511f18e..77dac63052 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/loader/executable.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/loader/executable.cpp @@ -1697,6 +1697,7 @@ hsa_status_t ExecutableImpl::ApplyDynamicRelocation(hsa_agent_t agent, amd::hsa: switch (rel->symbol()->type()) { case STT_OBJECT: case STT_AMDGPU_HSA_KERNEL: + case STT_FUNC: { Segment* symSeg = VirtualAddressSegment(rel->symbol()->value()); symAddr = reinterpret_cast(symSeg->Address(rel->symbol()->value()));