From c198d3344eb66276e95e2706935fd9ee1e387876 Mon Sep 17 00:00:00 2001 From: Sriraman Tallam Date: Sat, 30 Apr 2016 04:18:52 +0000 Subject: [PATCH] Differential Revision: http://reviews.llvm.org/D19753 Delete Target Option PositionIndependentExecutable as PIE is now part of module flags. llvm-svn: 268155 --- llvm/include/llvm/Target/TargetOptions.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/llvm/include/llvm/Target/TargetOptions.h b/llvm/include/llvm/Target/TargetOptions.h index 9547472f54d3..bfbcccbb6e4c 100644 --- a/llvm/include/llvm/Target/TargetOptions.h +++ b/llvm/include/llvm/Target/TargetOptions.h @@ -96,8 +96,7 @@ namespace llvm { 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 @@ namespace llvm { /// 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 @@ inline bool operator==(const TargetOptions &LHS, ARE_EQUAL(GuaranteedTailCallOpt) && ARE_EQUAL(StackAlignmentOverride) && ARE_EQUAL(EnableFastISel) && - ARE_EQUAL(PositionIndependentExecutable) && ARE_EQUAL(UseInitArray) && ARE_EQUAL(TrapUnreachable) && ARE_EQUAL(EmulatedTLS) &&