Also create a shndx even if there are no symbols. This lets us test
authorNick Lewycky <nicholas@mxc.ca>
Tue, 11 Oct 2011 03:54:50 +0000 (03:54 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 11 Oct 2011 03:54:50 +0000 (03:54 +0000)
commit7aabcb1fc0a94becb437134747a63ff686c0661f
treee3698e8bd5640012a83de92c13467cf751cf0348
parentb1044b042f2a7ed3f9c4b043cd27ef6bfca8839e
Also create a shndx even if there are no symbols. This lets us test
.symtab_shndx reading and writing together, and finally we have a testcase for
r141440.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141641 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/ELFObjectWriter.cpp
test/MC/ELF/many-section.s [new file with mode: 0644]