diff options
Diffstat (limited to 'lib/Target/Alpha/AlphaISelLowering.cpp')
-rw-r--r-- | lib/Target/Alpha/AlphaISelLowering.cpp | 6 |
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); } }; +} |