[PATCH] Add support for small-model PIC for PowerPC.

hfinkel at anl.gov hfinkel at anl.gov
Thu Sep 18 11:19:45 PDT 2014


================
Comment at: lib/Target/PowerPC/PPCAsmPrinter.cpp:415
@@ +414,3 @@
+      const MCExpr *PB =
+        MCSymbolRefExpr::Create(OutContext.GetOrCreateSymbol(Twine(".LTOC.")),
+                                                             OutContext);
----------------
jhibbits wrote:
> hfinkel wrote:
> > Why?
> This was part of the cleanup of the original check-in (because both implementations are rather intertwined in code touched, I lumped them together).  I can remove this change.
Specifically, I mean that you renamed ".L.TOC." to ".LTOC.", and I am curious why.

http://reviews.llvm.org/D5399






More information about the llvm-commits mailing list