[Object][AMDGPU] Support REL relocations (#143966)

Shaders compiled with DXC/LLPC generate these relocations, and even if
that changes in the future we want to handle existing binaries. The
friction to support this and the maintenance cost long term both seem
incredibly low, considering other targets like ARM support both REL/RELA
static relocations behind the same interface.
This commit is contained in:
Scott Linder
2025-06-16 15:03:02 -04:00
committed by GitHub
parent f83d09a1f6
commit e8362234f6
3 changed files with 92 additions and 3 deletions

View File

@@ -2709,7 +2709,8 @@ The following relocation types are supported:
the ``mesa3d`` OS, which does not support ``R_AMDGPU_ABS64``.
There is no current OS loader support for 32-bit programs and so
``R_AMDGPU_ABS32`` is not used.
``R_AMDGPU_ABS32`` is only generated for static relocations, for example to
implement some DWARF32 forms.
.. _amdgpu-loaded-code-object-path-uniform-resource-identifier: