[PATCH] D48090: [PPC64] global dynamic to initial exec relaxation

Zaara Syeda via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 13 12:45:56 PDT 2018


syzaara added inline comments.


================
Comment at: ELF/Arch/PPC64.cpp:437
+    //                      addis rT, r2, sym at got@tprel at ha.
+    write16(Loc, applyPPCHa(Val - getPPC64TocBase()));
+    return;
----------------
I think it would be more clear if we called relocateOne with the replacement relocation here.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D48090





More information about the llvm-commits mailing list