[PATCH] D19749: Delete store to Target option PositionIndependentExecutable
Sriraman Tallam via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 29 15:16:44 PDT 2016
tmsriram created this revision.
tmsriram added a reviewer: rnk.
tmsriram added subscribers: cfe-commits, davidxl.
Delete store to Target option PositionIndependentExecutable which will be deleted. PIE is set in module flags.
http://reviews.llvm.org/D19749
Files:
lib/CodeGen/BackendUtil.cpp
Index: lib/CodeGen/BackendUtil.cpp
===================================================================
--- lib/CodeGen/BackendUtil.cpp
+++ lib/CodeGen/BackendUtil.cpp
@@ -595,7 +595,6 @@
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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19749.55676.patch
Type: text/x-patch
Size: 608 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160429/b25b5c83/attachment.bin>
More information about the cfe-commits
mailing list