ARM IAS: support .short and .hword
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 23 Feb 2014 06:22:09 +0000 (06:22 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 23 Feb 2014 06:22:09 +0000 (06:22 +0000)
commitbe66089390c5692f7a9d80e8832996f2d8fdc8c0
tree388b30d14f4b764afa18a2a11385e47dd5a077dc
parentea06d9762c25635338ea91a9b0d2c192b3727bf4
ARM IAS: support .short and .hword

This adds support for the .short and its alias .hword for adding literal values
into the object file.  This is similar to the .word directive, however, rather
than inserting a value of 4 bytes, adds a 2-byte value.

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