Add support for assigning to . in AsmParser.
authorAnders Waldenborg <anders@0x63.nu>
Mon, 17 Feb 2014 20:48:32 +0000 (20:48 +0000)
committerAnders Waldenborg <anders@0x63.nu>
Mon, 17 Feb 2014 20:48:32 +0000 (20:48 +0000)
commit1410f7ffc63aa3ad4b7937491ef860d862846245
tree78e8cf6c395e7b452c214cd6c19c0c3f8fcaa2aa
parent3457506fb9e5256fcc3c51ea3fd5bbd0221dead0
Add support for assigning to . in AsmParser.

This is implemented by handling assignments to the '.' pseudo symbol
as ".org" directives.

Differential Revision: http://llvm-reviews.chandlerc.com/D2625

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201530 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/AsmParser.cpp
test/MC/AsmParser/dot-symbol-assignment-backwards.s [new file with mode: 0644]
test/MC/AsmParser/dot-symbol-assignment.s [new file with mode: 0644]
test/MC/AsmParser/dot-symbol-non-absolute.s [new file with mode: 0644]
test/MC/AsmParser/dot-symbol.s
test/MC/ELF/dot-symbol-assignment.s [new file with mode: 0644]