Improvements to .section parsing:
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 28 Oct 2010 21:33:33 +0000 (21:33 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 28 Oct 2010 21:33:33 +0000 (21:33 +0000)
commitf4b0f3e616272556e8a94d86edd2e4e597183cd6
tree06ee32eba0ca2f389ebba461a2fc88d3cfdaafee
parent94074a5e4dc8c8a4338a08a93f9d2d03e1bf0b00
Improvements to .section parsing:
* If we have a M or a G, reject sections without the type
* Only parse the flag specific arguments if we have M or G
* Parse the corresponding arguments for M and G

We ignore the G arguments and flag for now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117608 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/ELFAsmParser.cpp
test/MC/ELF/section.s