[PATCH] D85994: [LLD][PowerPC] Add check in LLD to produce an error for missing TLSGD/TLSLD

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 21 09:21:30 PDT 2020


MaskRay added inline comments.


================
Comment at: lld/ELF/Relocations.cpp:1315
+        sym.getName() == "__tls_get_addr") {
+      // Check if the R_PPC64_REL24/R_PPC64_REL24_NOTOC relocation is preceded
+      // by a R_PPC64_TLSGD/R_PPC64_TLSLD.
----------------
This comment can be merged into the previous one.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85994/new/

https://reviews.llvm.org/D85994



More information about the llvm-commits mailing list