[lld] [lld][AMDGPU] Support R_AMDGPU_ABS32_(LO|HI) relocations (PR #191597)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 30 05:51:02 PDT 2026


================
@@ -181,6 +183,8 @@ RelExpr AMDGPU::getRelExpr(RelType type, const Symbol &s,
   switch (type) {
   case R_AMDGPU_ABS32:
   case R_AMDGPU_ABS64:
+  case R_AMDGPU_ABS32_LO:
----------------
arsenm wrote:

though I suppose that is more of a risk with the pc relative LO/HI case

https://github.com/llvm/llvm-project/pull/191597


More information about the llvm-commits mailing list