Fix a bug in ARMMachObjectWriter::RecordRelocation() in ARMMachObjectWriter.cpp
authorKevin Enderby <enderby@apple.com>
Mon, 30 Jul 2012 18:46:15 +0000 (18:46 +0000)
committerKevin Enderby <enderby@apple.com>
Mon, 30 Jul 2012 18:46:15 +0000 (18:46 +0000)
commit5af4de18ef244d2ce52b2f2ac0a703409b6fdfe6
tree961d72e11d90fafd0ad8afc9c9e120e8438e822a
parent3f63a589788995a724bc4587d022fe15ea8576ba
Fix a bug in ARMMachObjectWriter::RecordRelocation() in ARMMachObjectWriter.cpp
where the other_half of the movt and movw relocation entries needs to get set
and only with the 16 bits of the other half.

rdar://10038370

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160978 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
test/MC/MachO/ARM/thumb2-movw-fixup.s [new file with mode: 0644]