Have ARM ELF use correct reloc for "b" instr.
authorJan Wen Voung <jvoung@google.com>
Tue, 19 Jun 2012 16:03:02 +0000 (16:03 +0000)
committerJan Wen Voung <jvoung@google.com>
Tue, 19 Jun 2012 16:03:02 +0000 (16:03 +0000)
commitc9a4e269d00dc9e2ba0c7b77721fa54cfb5a59fa
treec3fe8d0f7f42e0414c27c2571b5ab29b2933c896
parentfe5b65827f20a61bef817c6421f32b7e05d65caf
Have ARM ELF use correct reloc for "b" instr.

The condition code didn't actually matter for arm "b" instructions,
unlike "bl".  It should just use the R_ARM_JUMP24 reloc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158722 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
test/MC/ARM/elf-reloc-condcall.s