Implement the .ltorg directive for ARM assembly
authorDavid Peixotto <dpeixott@codeaurora.org>
Thu, 19 Dec 2013 18:26:07 +0000 (18:26 +0000)
committerDavid Peixotto <dpeixott@codeaurora.org>
Thu, 19 Dec 2013 18:26:07 +0000 (18:26 +0000)
commit3793977e90f07b4e2b08bc8cc7437785e4475af6
tree170fae3cb132557f30a01fdb8937dcce26bd93d2
parent927ad4a9f68dc9b3f652ceba3b590749d04ac613
Implement the .ltorg directive for ARM assembly

This directive will write out the assembler-maintained constant
pool for the current section. These constant pools are created to
support the ldr-pseudo instruction (e.g. ldr r0, =val).

The directive can be used by the programmer to place the constant
pool in a location that can be reached by a pc-relative offset in
the ldr instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197711 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/ltorg-darwin.s [new file with mode: 0644]
test/MC/ARM/ltorg.s [new file with mode: 0644]