diff options
author | Chris Lattner <sabre@nondot.org> | 2006-07-26 21:12:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-07-26 21:12:04 +0000 |
commit | 35d86fef1f1fc5845366c7c36803a6a3334d8a2e (patch) | |
tree | 076047d0209da8c574f8b30074a0698fc31fa61a /lib/Target/PowerPC/PPCAsmPrinter.cpp | |
parent | 5332430643545f55986b1896242220cc1ffdc136 (diff) |
Rename RelocModel::PIC to PIC_, to avoid conflicts with -DPIC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29307 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCAsmPrinter.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCAsmPrinter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp index cbadca8a17..6e75f3ceb7 100644 --- a/lib/Target/PowerPC/PPCAsmPrinter.cpp +++ b/lib/Target/PowerPC/PPCAsmPrinter.cpp @@ -173,7 +173,7 @@ namespace { } else { O << "ha16("; printOp(MI->getOperand(OpNo)); - if (TM.getRelocationModel() == Reloc::PIC) + if (TM.getRelocationModel() == Reloc::PIC_) O << "-\"L" << getFunctionNumber() << "$pb\")"; else O << ')'; @@ -185,7 +185,7 @@ namespace { } else { O << "lo16("; printOp(MI->getOperand(OpNo)); - if (TM.getRelocationModel() == Reloc::PIC) + if (TM.getRelocationModel() == Reloc::PIC_) O << "-\"L" << getFunctionNumber() << "$pb\")"; else O << ')'; @@ -599,7 +599,7 @@ bool DarwinAsmPrinter::doFinalization(Module &M) { bool isPPC64 = TD->getPointerSizeInBits() == 64; // Output stubs for dynamically-linked functions - if (TM.getRelocationModel() == Reloc::PIC) { + if (TM.getRelocationModel() == Reloc::PIC_) { for (std::set<std::string>::iterator i = FnStubs.begin(), e = FnStubs.end(); i != e; ++i) { SwitchToTextSection(".section __TEXT,__picsymbolstub1,symbol_stubs," |