ELF: Parse types in directives like binutils gas
authorDavid Majnemer <david.majnemer@gmail.com>
Sat, 21 Sep 2013 05:25:12 +0000 (05:25 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sat, 21 Sep 2013 05:25:12 +0000 (05:25 +0000)
commit60c81c939755601931bea8dbde174ff52cd904dd
treef5db513a0c21a3f6786d4fb092c90e331bf6e309
parent7cdc37064116f8688bb695fc9f30f128c25dcd84
ELF: Parse types in directives like binutils gas

Allow binutils .type and .section directives to take the following
forms:
- @<type>
- %<type>
- "<type>"

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