[Thumb1] Add relocations for fixups fixup_arm_thumb_{br,bcc}
authorJames Molloy <james.molloy@arm.com>
Mon, 5 Sep 2016 08:29:15 +0000 (08:29 +0000)
committerJames Molloy <james.molloy@arm.com>
Mon, 5 Sep 2016 08:29:15 +0000 (08:29 +0000)
commit728cf85950592bc774c52c27581f351441c025fe
tree68f6ee3430eca93e77cfdd82cf2d8cda91763da5
parenta2f8ca9a34f5635df0a842010dc69ef95a723b7d
[Thumb1] Add relocations for fixups fixup_arm_thumb_{br,bcc}

These need to be mapped through to R_ARM_THM_JUMP{11,8} respectively.

Fixes PR30279.

llvm-svn: 280651
llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
llvm/test/MC/ARM/thumb1-branch-reloc.s [new file with mode: 0644]