OSDN Git Service

ARM: use an external relocation for calls from MachO ARM mode.
authorTim Northover <tnorthover@apple.com>
Fri, 18 Aug 2017 19:13:56 +0000 (19:13 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 18 Aug 2017 19:13:56 +0000 (19:13 +0000)
commit9b4ee7baf46a127d7549545bc23fd03f91187872
tree4d40637f5b7764b8c32889a79b643abc5f57ba7c
parent6dcfafe8ab4e5fcceb0606a288146fddf1300d83
ARM: use an external relocation for calls from MachO ARM mode.

The internal (__text-relative) relocation risks the offset not being encodable
if the destination is Thumb.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311187 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
test/CodeGen/ARM/arm-macho-tail.ll [new file with mode: 0644]
test/MC/ARM/mixed-arm-thumb-bl-fixup.ll
test/MC/MachO/ARM/darwin-ARM-reloc.s