[MCJIT] Take the relocation addend into account when applying ARM MachO VANILLA

and BR24 relocations.

<rdar://problem/18296496>



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217605 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Lang Hames
2014-09-11 17:27:01 +00:00
parent 9869724b73
commit 761ca13991
2 changed files with 5 additions and 1 deletions
@@ -34,6 +34,9 @@ insn3:
foo:
bx lr
# Add 'aaa' to the common symbols to make sure 'baz' isn't at the start of the
# section. This ensures that we test VANILLA relocation addends correctly.
.comm aaa, 4, 2
.comm baz, 4, 2
.subsections_via_symbols