[llvm-commits] [llvm] r112605 - /llvm/trunk/lib/MC/ELFObjectWriter.cpp
Benjamin Kramer
benny.kra at googlemail.com
Tue Aug 31 10:03:33 PDT 2010
Author: d0k
Date: Tue Aug 31 12:03:33 2010
New Revision: 112605
URL: http://llvm.org/viewvc/llvm-project?rev=112605&view=rev
Log:
Allow creation of SHT_NULL sections, from Roman Divacky.
Modified:
llvm/trunk/lib/MC/ELFObjectWriter.cpp
Modified: llvm/trunk/lib/MC/ELFObjectWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/ELFObjectWriter.cpp?rev=112605&r1=112604&r2=112605&view=diff
==============================================================================
--- llvm/trunk/lib/MC/ELFObjectWriter.cpp (original)
+++ llvm/trunk/lib/MC/ELFObjectWriter.cpp Tue Aug 31 12:03:33 2010
@@ -919,6 +919,7 @@
case ELF::SHT_PROGBITS:
case ELF::SHT_STRTAB:
case ELF::SHT_NOBITS:
+ case ELF::SHT_NULL:
// Nothing to do.
break;
More information about the llvm-commits
mailing list