[llvm] [clang] [PowerPC] Support local-dynamic TLS relocation on AIX (PR #66316)

via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 11 06:18:35 PST 2023


================
@@ -2645,10 +2653,14 @@ MCSection *TargetLoweringObjectFileXCOFF::getSectionForTOCEntry(
     const MCSymbol *Sym, const TargetMachine &TM) const {
   // Use TE storage-mapping class when large code model is enabled so that
   // the chance of needing -bbigtoc is decreased.
+  // The "_$TLSML" symbol for TLS local-dynamic mode requires XMC_TC.
----------------
stephenpeckham wrote:

You're right.  I didn't know the assembler would complain.

https://github.com/llvm/llvm-project/pull/66316


More information about the cfe-commits mailing list