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/X86/X86ATTAsmPrinter.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/X86/X86ATTAsmPrinter.cpp')
-rwxr-xr-x | lib/Target/X86/X86ATTAsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/X86ATTAsmPrinter.cpp b/lib/Target/X86/X86ATTAsmPrinter.cpp index e94bf3a570..769aa73b41 100755 --- a/lib/Target/X86/X86ATTAsmPrinter.cpp +++ b/lib/Target/X86/X86ATTAsmPrinter.cpp @@ -152,7 +152,7 @@ void X86ATTAsmPrinter::printOperand(const MachineInstr *MI, unsigned OpNo, O << PrivateGlobalPrefix << "CPI" << getFunctionNumber() << "_" << MO.getConstantPoolIndex(); if (Subtarget->TargetType == X86Subtarget::isDarwin && - TM.getRelocationModel() == Reloc::PIC) + TM.getRelocationModel() == Reloc::PIC_) O << "-\"L" << getFunctionNumber() << "$pb\""; int Offset = MO.getOffset(); if (Offset > 0) @@ -185,7 +185,7 @@ void X86ATTAsmPrinter::printOperand(const MachineInstr *MI, unsigned OpNo, } else { O << Mang->getValueName(GV); } - if (!isCallOp && TM.getRelocationModel() == Reloc::PIC) + if (!isCallOp && TM.getRelocationModel() == Reloc::PIC_) O << "-\"L" << getFunctionNumber() << "$pb\""; } else O << Mang->getValueName(MO.getGlobal()); |