aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC/ELFObjectWriter.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-12-26 21:30:59 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-12-26 21:30:59 +0000
commit98976610d2c8067efe04042f17486a4b6c746b31 (patch)
tree9c1c033a420cf76c3d23cdb7713a291a64e8935b /lib/MC/ELFObjectWriter.cpp
parent22920b59864cac3b62d158fd4111cfda3c09c67a (diff)
downloadexternal_llvm-98976610d2c8067efe04042f17486a4b6c746b31.zip
external_llvm-98976610d2c8067efe04042f17486a4b6c746b31.tar.gz
external_llvm-98976610d2c8067efe04042f17486a4b6c746b31.tar.bz2
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
Diffstat (limited to 'lib/MC/ELFObjectWriter.cpp')
-rw-r--r--lib/MC/ELFObjectWriter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/ELFObjectWriter.cpp b/lib/MC/ELFObjectWriter.cpp
index ef6e0f1..5ff12bc 100644
--- a/lib/MC/ELFObjectWriter.cpp
+++ b/lib/MC/ELFObjectWriter.cpp
@@ -1265,6 +1265,7 @@ void ELFObjectWriter::WriteSection(MCAssembler &Asm,
case ELF::SHT_PROGBITS:
case ELF::SHT_STRTAB:
case ELF::SHT_NOBITS:
+ case ELF::SHT_NOTE:
case ELF::SHT_NULL:
case ELF::SHT_ARM_ATTRIBUTES:
// Nothing to do.