aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Alpha/AlphaISelLowering.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-31 18:48:30 +0000
committerChris Lattner <sabre@nondot.org>2009-07-31 18:48:30 +0000
commite6ad12f8febebcdca8ea6b0e48014786267df1ea (patch)
tree96993fb5aee8978a97581a0f79f86c61b2e1005f /lib/Target/Alpha/AlphaISelLowering.cpp
parent6e0ffed0fe15bcf041218ebff2a4de33a915aed4 (diff)
downloadexternal_llvm-e6ad12f8febebcdca8ea6b0e48014786267df1ea.zip
external_llvm-e6ad12f8febebcdca8ea6b0e48014786267df1ea.tar.gz
external_llvm-e6ad12f8febebcdca8ea6b0e48014786267df1ea.tar.bz2
switch off of 'Section' onto MCSection. We're not properly using
MCSection subclasses yet, but this is a step in the right direction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77708 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaISelLowering.cpp')
-rw-r--r--lib/Target/Alpha/AlphaISelLowering.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/Alpha/AlphaISelLowering.cpp b/lib/Target/Alpha/AlphaISelLowering.cpp
index f7a38c2..c5f24dc 100644
--- a/lib/Target/Alpha/AlphaISelLowering.cpp
+++ b/lib/Target/Alpha/AlphaISelLowering.cpp
@@ -31,14 +31,16 @@
#include "llvm/Support/raw_ostream.h"
using namespace llvm;
-
+namespace {
class TargetLoweringObjectFileAlpha : public TargetLoweringObjectFile {
public:
- TargetLoweringObjectFileAlpha() {
+ void Initialize(MCContext &Ctx, const TargetMachine &TM) {
+ TargetLoweringObjectFile::Initialize(Ctx, TM);
TextSection = getOrCreateSection("_text", true, SectionKind::Text);
DataSection = getOrCreateSection("_data", true, SectionKind::DataRel);
}
};
+}