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

Felix via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 27 07:38:35 PDT 2023


================
@@ -649,6 +649,14 @@ void XCOFFObjectWriter::recordRelocation(MCAssembler &Asm,
                                          uint64_t &FixedValue) {
   auto getIndex = [this](const MCSymbol *Sym,
                          const MCSectionXCOFF *ContainingCsect) {
+    // Fixup relocation flag for AIX TLS local-dynamic mode.
----------------
orcguru wrote:

Proposed to fix the setting for the "_$TLSML" symbol in `TargetLoweringObjectFileXCOFF::getSectionForExternalReference()`.

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


More information about the cfe-commits mailing list