From 98976610d2c8067efe04042f17486a4b6c746b31 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Sun, 26 Dec 2010 21:30:59 +0000 Subject: =?UTF-8?q?Add=20support=20for=20@note.=20Patch=20by=20J=C3=B6rg?= =?UTF-8?q?=20Sonnenberger.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122568 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/MCSectionELF.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/MC/MCSectionELF.cpp') diff --git a/lib/MC/MCSectionELF.cpp b/lib/MC/MCSectionELF.cpp index 59568adf70..a53489790d 100644 --- a/lib/MC/MCSectionELF.cpp +++ b/lib/MC/MCSectionELF.cpp @@ -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"; -- cgit v1.2.3