diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-02-22 20:19:42 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-02-22 20:19:42 +0000 |
commit | 4c1aa866578f7a358407a22fe55b454f52a24325 (patch) | |
tree | f5c6f24b1fedfb42a7024b7ba4c0aa5f21280c8b /lib/Target/PowerPC/PPCSubtarget.cpp | |
parent | 0420f2aaf9551a10e2060d076de2fcdd7b316370 (diff) |
- Added option -relocation-model to set relocation model. Valid values include static, pic,
dynamic-no-pic, and default.
PPC and x86 default is dynamic-no-pic for Darwin, pic for others.
- Removed options -enable-pic and -ppc-static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26315 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCSubtarget.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCSubtarget.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.cpp b/lib/Target/PowerPC/PPCSubtarget.cpp index c7a34280ea..606dfc0979 100644 --- a/lib/Target/PowerPC/PPCSubtarget.cpp +++ b/lib/Target/PowerPC/PPCSubtarget.cpp @@ -19,7 +19,6 @@ using namespace llvm; PPCTargetEnum llvm::PPCTarget = TargetDefault; -bool llvm::PPCGenerateStaticCode = false; namespace llvm { cl::opt<PPCTargetEnum, true> @@ -29,12 +28,7 @@ namespace llvm { clEnumValN(TargetDarwin,"darwin", " Enable Darwin codegen"), clEnumValEnd), - cl::location(PPCTarget), cl::init(TargetDefault)); - - cl::opt<bool, true> - PPCStaticCode("ppc-static", - cl::desc("PowerPC: generate completely non-pic code"), - cl::location(PPCGenerateStaticCode)); + cl::location(PPCTarget), cl::init(TargetDefault)); } #if defined(__APPLE__) |