summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-12-29 22:12:11 +0000
committerBill Wendling <isanbard@gmail.com>2008-12-29 22:12:11 +0000
commit03f2af79b84fab0858bb8d09e49293addb0fe601 (patch)
treef160233d00fc712b90bd5e2facfd9fad5ccb8f13 /llvm/lib/Target/X86/X86TargetAsmInfo.cpp
parentb13c83ac18f8d645bd7a2f281152dae0282cecd9 (diff)
downloadbcm5719-llvm-03f2af79b84fab0858bb8d09e49293addb0fe601.tar.gz
bcm5719-llvm-03f2af79b84fab0858bb8d09e49293addb0fe601.zip
Linux wants the FDE initial location and address range to be forced to 32-bit.
Darwin doesn't. Make this optional for platforms. llvm-svn: 61484
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/X86/X86TargetAsmInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
index 4dfb214ec71..de655e732b2 100644
--- a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
+++ b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
@@ -72,6 +72,7 @@ X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo(const X86TargetMachine &TM):
HasSingleParameterDotFile = false;
FDEEncodingRequiresSData4 = false;
NonLocalEHFrameLabel = true;
+ Force32BitFDEReference = false;
if (TM.getRelocationModel() == Reloc::Static) {
StaticCtorsSection = ".constructor";
StaticDtorsSection = ".destructor";
OpenPOWER on IntegriCloud