AOT: Follow jumps when getting the plt entry for a call.
authorRolf Bjarne Kvinge <rolf@xamarin.com>
Wed, 16 Nov 2011 21:54:14 +0000 (16:54 -0500)
committerRodrigo Kumpera <kumpera@gmail.com>
Thu, 15 Nov 2012 20:16:37 +0000 (15:16 -0500)
commit0a12d1e0845d1327d039dc26983f297931a4a1fc
tree7c691bc18a49dbd69c6a00231284e0e5c073b5c3
parentf794c69e446eb2cda3ad10d7da92ef44a4edeaa4
AOT: Follow jumps when getting the plt entry for a call.

Partially fixes #707 - the issue is that the arm linker may insert branch
islands between branch location and branch target if the branch target
is too far away to be encoded in the branch instruction.

This is a temporary patch until it has been reviewed by the runtime
people (since some people need it urgently and there is no real
workaround).
mono/mini/aot-runtime.c
mono/mini/tramp-arm.c