We need a shndx if the number of sections breaks SHN_LORESERVE. This condition
authorNick Lewycky <nicholas@mxc.ca>
Sat, 9 Mar 2013 09:31:44 +0000 (09:31 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 9 Mar 2013 09:31:44 +0000 (09:31 +0000)
commit462bba39c232350894c254d42fbe55f9ff78df56
tree0b46e8260a09754a3121bcb9aa62ed8eb1ac40af
parent8fa6dc431deb7a9aadc23ec0a7bdcb2d02330972
We need a shndx if the number of sections breaks SHN_LORESERVE. This condition
for choosing to emit a shndx was simply testing the wrong variable.

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