untangle a TargetAsmInfo hack where ELFTargetAsmInfo would create a
[oota-llvm.git] / lib / Target / MSP430 / MSP430TargetAsmInfo.cpp
1 //===-- MSP430TargetAsmInfo.cpp - MSP430 asm properties -------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the declarations of the MSP430TargetAsmInfo properties.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #include "MSP430TargetAsmInfo.h"
15 using namespace llvm;
16
17 MSP430TargetAsmInfo::MSP430TargetAsmInfo(const TargetMachine &TM)
18   : ELFTargetAsmInfo(TM) {
19   AlignmentIsInBytes = false;
20     
21   BSSSection_ = getUnnamedSection("\t.bss",
22                                   SectionFlags::Writable | SectionFlags::BSS);
23 }