switch off of 'Section' onto MCSection. We're not properly using
[oota-llvm.git] / lib / Target / Alpha / AlphaISelLowering.cpp
index f7a38c2a480cf8efbf6d731c6827c24e1d0f324f..c5f24dc02be9e77af57edeedee33b971f0736a78 100644 (file)
 #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);
   }
 };
+}