diff options
Diffstat (limited to 'lib/Target/TargetMachine.cpp')
-rw-r--r-- | lib/Target/TargetMachine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/TargetMachine.cpp b/lib/Target/TargetMachine.cpp index 06075e1cc7c6..b62471597e07 100644 --- a/lib/Target/TargetMachine.cpp +++ b/lib/Target/TargetMachine.cpp @@ -72,10 +72,10 @@ void TargetMachine::resetTargetOptions(const Function &F) const { } /// Returns the code generation relocation model. The choices are static, PIC, -/// and dynamic-no-pic, and target default. +/// and dynamic-no-pic. Reloc::Model TargetMachine::getRelocationModel() const { if (!CodeGenInfo) - return Reloc::Default; + return Reloc::Static; // FIXME return CodeGenInfo->getRelocationModel(); } |