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

llvm-svn: 122568
This commit is contained in:
Rafael Espindola
2010-12-26 21:30:59 +00:00
parent 7c5f9c35d1
commit 9ae2d05d45
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";