[llvm] [PowerPC] Support local-dynamic TLS relocation on AIX (PR #66316)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 25 22:59:06 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.
+ if (Sym->getName().equals("_Renamed..5f24__TLSML[UA]")) {
----------------
MaskRay wrote:
We generally prefer `==` over `equals`
https://github.com/llvm/llvm-project/pull/66316
More information about the llvm-commits
mailing list