[PATCH] D105761: [lld][AMDGPU] Handle R_AMDGPU_REL16 relocation.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 13 11:06:43 PDT 2021
MaskRay added inline comments.
================
Comment at: lld/ELF/Arch/AMDGPU.cpp:163
case R_AMDGPU_REL64:
+ case R_AMDGPU_REL16:
return R_PC;
----------------
reorder R_AMDGPU_REL16 before REL32
================
Comment at: lld/test/ELF/amdgpu-relocs2.s:20
+#--- asm
+.section .text.likely
+hot1:
----------------
.section .text.likely,"ax"
================
Comment at: lld/test/ELF/amdgpu-relocs2.s:29
+ s_branch hot2
+.section .text.unlikely
+cold1:
----------------
ditto
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105761/new/
https://reviews.llvm.org/D105761
More information about the llvm-commits
mailing list