diff options
author | Sriraman Tallam <tmsriram@google.com> | 2016-04-29 23:38:53 +0000 |
---|---|---|
committer | Sriraman Tallam <tmsriram@google.com> | 2016-04-29 23:38:53 +0000 |
commit | ae06a0d888a0f9c508d792baaf9a4e3f1d9621b7 (patch) | |
tree | 531ce5005ec22200558dff947fd1c454f17f5cfa /clang/lib/CodeGen/BackendUtil.cpp | |
parent | f1e880eb8d267dbccdf14783fd1b53bc502c9295 (diff) | |
download | bcm5719-llvm-ae06a0d888a0f9c508d792baaf9a4e3f1d9621b7.tar.gz bcm5719-llvm-ae06a0d888a0f9c508d792baaf9a4e3f1d9621b7.zip |
Delete store to Target option PositionIndependentExecutable as PIE is now set in module flags.
Differential Revision: http://reviews.llvm.org/D19749
llvm-svn: 268137
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
-rw-r--r-- | clang/lib/CodeGen/BackendUtil.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index 6958679de5d..c86eeaf8d3d 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/lib/CodeGen/BackendUtil.cpp @@ -595,7 +595,6 @@ TargetMachine *EmitAssemblyHelper::CreateTargetMachine(bool MustCreateTM) { Options.NoZerosInBSS = CodeGenOpts.NoZeroInitializedInBSS; Options.UnsafeFPMath = CodeGenOpts.UnsafeFPMath; Options.StackAlignmentOverride = CodeGenOpts.StackAlignment; - Options.PositionIndependentExecutable = LangOpts.PIELevel != 0; Options.FunctionSections = CodeGenOpts.FunctionSections; Options.DataSections = CodeGenOpts.DataSections; Options.UniqueSectionNames = CodeGenOpts.UniqueSectionNames; |