Add support for @note. Patch by Jörg Sonnenberger.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122568 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2010-12-26 21:30:59 +00:00
parent 22920b5986
commit 98976610d2
4 changed files with 19 additions and 1 deletions

View File

@@ -92,6 +92,8 @@ void MCSectionELF::PrintSwitchToSection(const MCAsmInfo &MAI,
OS << "preinit_array";
else if (Type == MCSectionELF::SHT_NOBITS)
OS << "nobits";
else if (Type == MCSectionELF::SHT_NOTE)
OS << "note";
else if (Type == MCSectionELF::SHT_PROGBITS)
OS << "progbits";