aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/PPCTargetObjectFile.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/PowerPC/PPCTargetObjectFile.cpp
parent561334a81fc14a15388e94d05aea3c6232620374 (diff)
downloadllvm-bbcaa40227528485943781b1ab31a4821ac5c25e.zip
llvm-bbcaa40227528485943781b1ab31a4821ac5c25e.tar.gz
llvm-bbcaa40227528485943781b1ab31a4821ac5c25e.tar.bz2
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/PowerPC/PPCTargetObjectFile.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetObjectFile.cpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetObjectFile.cpp b/llvm/lib/Target/PowerPC/PPCTargetObjectFile.cpp
deleted file mode 100644
index de81040..0000000
--- a/llvm/lib/Target/PowerPC/PPCTargetObjectFile.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-//===-- llvm/Target/PPCTargetObjectFile.cpp - PPC Object Info Impl --------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#include "PPCTargetObjectFile.h"
-#include "PPCSubtarget.h"
-#include "llvm/MC/MCSectionMachO.h"
-#include "llvm/Support/Dwarf.h"
-#include "llvm/Target/TargetMachine.h"
-using namespace llvm;
-using namespace dwarf;
-
-//===----------------------------------------------------------------------===//
-// Mach-O Target
-//===----------------------------------------------------------------------===//
-
-void PPCMachOTargetObjectFile::Initialize(MCContext &Ctx,
- const TargetMachine &TM) {
- TargetLoweringObjectFileMachO::Initialize(Ctx, TM);
-
- // Exception Handling.
- LSDASection = getMachOSection("__TEXT", "__gcc_except_tab", 0,
- SectionKind::getReadOnlyWithRel());
-}
-
-unsigned PPCMachOTargetObjectFile::getTTypeEncoding() const {
- return DW_EH_PE_indirect | DW_EH_PE_pcrel | DW_EH_PE_sdata4;
-}