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 | 9e56e5c00308f53f4dce79e5a744fdcbb4f377c7 (patch) | |
tree | 66a2c2c7c7ad201f55db5dde1ffaaa635c60e2ad /llvm/lib/Target/PowerPC/PPCTargetMachine.cpp | |
parent | 1d0ebb9eb79c3513f30c62737f05bdc97ef0f481 (diff) | |
download | bcm5719-llvm-9e56e5c00308f53f4dce79e5a744fdcbb4f377c7.tar.gz bcm5719-llvm-9e56e5c00308f53f4dce79e5a744fdcbb4f377c7.zip |
Rename RelocModel::PIC to PIC_, to avoid conflicts with -DPIC.
llvm-svn: 29307
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCTargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp index 12c22e7dd80..deb479a4c34 100644 --- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp +++ b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp @@ -94,7 +94,7 @@ PPCTargetMachine::PPCTargetMachine(const Module &M, const std::string &FS, if (Subtarget.isDarwin()) setRelocationModel(Reloc::DynamicNoPIC); else - setRelocationModel(Reloc::PIC); + setRelocationModel(Reloc::PIC_); } PPC32TargetMachine::PPC32TargetMachine(const Module &M, const std::string &FS) |