[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:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user