Fixed a bug in getARMFixupKindMachOInfo() where three ARM fixup kinds
authorKevin Enderby <enderby@apple.com>
Fri, 13 Dec 2013 22:46:54 +0000 (22:46 +0000)
committerKevin Enderby <enderby@apple.com>
Fri, 13 Dec 2013 22:46:54 +0000 (22:46 +0000)
commit303a00ec48d35bf3ce4860fc141954efb3bfcd95
tree6f73dd7af59a11376c73256bfc9ea7b27d3d7c6d
parente670304f644f5996e3fe290557d9b0e707ad7b99
Fixed a bug in getARMFixupKindMachOInfo() where three ARM fixup kinds
were falling into the cases for 24-bit branch kinds which are not 24-bit
branches.  The routine is to return false for fixups are expected to always
be resolvable at assembly time. Which these three fixups are as they have
limited displacement and are for local references within a function.

rdar://15586725

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