[PATCH] D21839: PowerPC: Use shouldAssumeDSOLocal in classifyGlobalReference

Hal Finkel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 18 10:10:51 PST 2017


hfinkel added a comment.

So you can't interpose weak symbols on PPC?



================
Comment at: lib/Target/TargetMachine.cpp:151
+    Triple::ArchType Arch = TT.getArch();
+    bool IsPPC =
+        Arch == Triple::ppc || Arch == Triple::ppc64 || Arch == Triple::ppc64le;
----------------
We should add a comment here that PPC does not use copy relocations.


Repository:
  rL LLVM

https://reviews.llvm.org/D21839





More information about the llvm-commits mailing list