Allow creation of SHT_NULL sections, from Roman Divacky.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112605 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2010-08-31 17:03:33 +00:00
parent 22efc18f12
commit 19dc7faf25

View File

@ -919,6 +919,7 @@ void ELFObjectWriterImpl::WriteObject(const MCAssembler &Asm,
case ELF::SHT_PROGBITS:
case ELF::SHT_STRTAB:
case ELF::SHT_NOBITS:
case ELF::SHT_NULL:
// Nothing to do.
break;