[PATCH] D19753: Delete Target Option PositionIndependentExecutable

Sriraman Tallam via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 29 17:14:24 PDT 2016


tmsriram created this revision.
tmsriram added a reviewer: rnk.
tmsriram added subscribers: llvm-commits, davidxl.

Delete Target Option PositionIndependentExecutable as PIE is now part of module flags

http://reviews.llvm.org/D19753

Files:
  include/llvm/Target/TargetOptions.h

Index: include/llvm/Target/TargetOptions.h
===================================================================
--- include/llvm/Target/TargetOptions.h
+++ include/llvm/Target/TargetOptions.h
@@ -96,8 +96,7 @@
           UnsafeFPMath(false), NoInfsFPMath(false), NoNaNsFPMath(false),
           HonorSignDependentRoundingFPMathOption(false), NoZerosInBSS(false),
           GuaranteedTailCallOpt(false), StackAlignmentOverride(0),
-          StackSymbolOrdering(true),
-          EnableFastISel(false), PositionIndependentExecutable(false),
+          StackSymbolOrdering(true), EnableFastISel(false),
           UseInitArray(false), DisableIntegratedAS(false),
           CompressDebugSections(false), FunctionSections(false),
           DataSections(false), UniqueSectionNames(true), TrapUnreachable(false),
@@ -180,12 +179,6 @@
     /// compile time.
     unsigned EnableFastISel : 1;
 
-    /// PositionIndependentExecutable - This flag indicates whether the code
-    /// will eventually be linked into a single executable, despite the PIC
-    /// relocation model being in use. It's value is undefined (and irrelevant)
-    /// if the relocation model is anything other than PIC.
-    unsigned PositionIndependentExecutable : 1;
-
     /// UseInitArray - Use .init_array instead of .ctors for static
     /// constructors.
     unsigned UseInitArray : 1;
@@ -273,7 +266,6 @@
     ARE_EQUAL(GuaranteedTailCallOpt) &&
     ARE_EQUAL(StackAlignmentOverride) &&
     ARE_EQUAL(EnableFastISel) &&
-    ARE_EQUAL(PositionIndependentExecutable) &&
     ARE_EQUAL(UseInitArray) &&
     ARE_EQUAL(TrapUnreachable) &&
     ARE_EQUAL(EmulatedTLS) &&


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19753.55689.patch
Type: text/x-patch
Size: 1645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160430/24797cc7/attachment.bin>


More information about the llvm-commits mailing list