[PATCH] D91611: [PowerPC][LLD] Detecting and fixing missing TLS relocation on __tls_get_addr

Victor Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 18 15:45:32 PST 2020


NeHuang added inline comments.


================
Comment at: lld/test/ELF/ppc64-tls-add-missing-gdld.s:30
+# CHECK-NEXT:    blr
+GeneralDynamic:
+  addis 3, 2, x at got@tlsgd at ha
----------------
do we need to add two test cases here to cover?
- add missing tls relocation for `__tls_get_addr at notoc(x at tlsgd)`
- add missing tls relocation for `__tls_get_addr at notoc(x at tlsld)`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91611



More information about the llvm-commits mailing list