summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-03-15 21:09:38 +0000
committerBill Wendling <isanbard@gmail.com>2010-03-15 21:09:38 +0000
commitbbcaa40227528485943781b1ab31a4821ac5c25e (patch)
treed6bbdc7ff35fdc155cde0cb7f62a3df98bff53b7 /llvm/lib/Target/ARM/ARMTargetObjectFile.cpp
parent561334a81fc14a15388e94d05aea3c6232620374 (diff)
downloadbcm5719-llvm-bbcaa40227528485943781b1ab31a4821ac5c25e.tar.gz
bcm5719-llvm-bbcaa40227528485943781b1ab31a4821ac5c25e.zip
Now that the default for Darwin platforms is to place the LSDA into the TEXT
section, remove the target-specific code that performs this. llvm-svn: 98580
Diffstat (limited to 'llvm/lib/Target/ARM/ARMTargetObjectFile.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMTargetObjectFile.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp b/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp
index 7463e309a8e..680d03254f1 100644
--- a/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp
+++ b/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp
@@ -10,7 +10,6 @@
#include "ARMTargetObjectFile.h"
#include "ARMSubtarget.h"
#include "llvm/MC/MCSectionELF.h"
-#include "llvm/MC/MCSectionMachO.h"
#include "llvm/Support/Dwarf.h"
#include "llvm/Target/TargetMachine.h"
using namespace llvm;
@@ -35,20 +34,3 @@ void ARMElfTargetObjectFile::Initialize(MCContext &Ctx,
SectionKind::getDataRel());
}
}
-
-//===----------------------------------------------------------------------===//
-// Mach-O Target
-//===----------------------------------------------------------------------===//
-
-void ARMMachOTargetObjectFile::Initialize(MCContext &Ctx,
- const TargetMachine &TM) {
- TargetLoweringObjectFileMachO::Initialize(Ctx, TM);
-
- // Exception Handling.
- LSDASection = getMachOSection("__TEXT", "__gcc_except_tab", 0,
- SectionKind::getReadOnlyWithRel());
-}
-
-unsigned ARMMachOTargetObjectFile::getTTypeEncoding() const {
- return DW_EH_PE_indirect | DW_EH_PE_pcrel | DW_EH_PE_sdata4;
-}
OpenPOWER on IntegriCloud