[PATCH] D93331: [ELF] Reject local-exec TLS relocations for -shared

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 15 12:23:58 PST 2020


MaskRay added inline comments.


================
Comment at: lld/test/ELF/ppc64-local-exec-tls.s:17
+// ERR: error: relocation R_PPC64_TPREL16_HIGHESTA against b cannot be used with -shared
+// ERR: error: relocation R_PPC64_TPREL16_HIGHERA against b cannot be used with -shared
+
----------------
Note this test is not well organized. All the relocation types have been checked so I'll not add --implicit-check-not=error:


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93331



More information about the llvm-commits mailing list