r268137 - Delete store to Target option PositionIndependentExecutable as PIE is now set in module flags.
Sriraman Tallam via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 29 16:38:53 PDT 2016
Author: tmsriram
Date: Fri Apr 29 18:38:53 2016
New Revision: 268137
URL: http://llvm.org/viewvc/llvm-project?rev=268137&view=rev
Log:
Delete store to Target option PositionIndependentExecutable as PIE is now set in module flags.
Differential Revision: http://reviews.llvm.org/D19749
Modified:
cfe/trunk/lib/CodeGen/BackendUtil.cpp
Modified: cfe/trunk/lib/CodeGen/BackendUtil.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/BackendUtil.cpp?rev=268137&r1=268136&r2=268137&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/BackendUtil.cpp (original)
+++ cfe/trunk/lib/CodeGen/BackendUtil.cpp Fri Apr 29 18:38:53 2016
@@ -595,7 +595,6 @@ TargetMachine *EmitAssemblyHelper::Creat
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;
More information about the cfe-commits
mailing list