llvm-6502/test/MC
Jim Grosbach f2a35fbd60 Move some ELF directives into ELF asm parser.
The .local, .hidden, .internal, and .protected are not legal for all supported
file formats (in particular, they're invalid for MachO). Move the parsing for
them into the ELF assembly parser since that's the format they're for.
Similarly, .weak is used by COFF and ELF, but not MachO, so move the parsing
to the COFF and ELF asm parsers. Previously, using any of these directives
on Darwin would result in an assertion failure in the parser; now we get
a diagnostic as we should.

rdar://9827089


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135921 91177308-0d34-0410-b5e6-96231b3b80d8
2011-07-25 17:55:35 +00:00
..
ARM Add FIXME 2011-07-22 22:15:38 +00:00
AsmParser Move some ELF directives into ELF asm parser. 2011-07-25 17:55:35 +00:00
COFF
Disassembler Tweak ARM assembly parsing and printing of MSR instruction. 2011-07-19 22:45:10 +00:00
ELF Extend the hack for _GLOBAL_OFFSET_TABLE_ slightly; PR10389. 2011-07-20 19:36:11 +00:00
MachO
MBlaze Teach the MBlaze asm parser how to parse special purpose register names. 2010-12-20 20:43:24 +00:00
X86