projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[MCJIT] Take the relocation addend into account when applying ARM MachO VANILLA
[oota-llvm.git]
/
test
/
ExecutionEngine
/
RuntimeDyld
/
ARM
/
MachO_ARM_PIC_relocations.s
diff --git
a/test/ExecutionEngine/RuntimeDyld/ARM/MachO_ARM_PIC_relocations.s
b/test/ExecutionEngine/RuntimeDyld/ARM/MachO_ARM_PIC_relocations.s
index d0d30271f0d85d59c59d312e398aca7e6109f2fa..2dc776cd4479dcefb71dc343c443a67bc2b43db6 100644
(file)
--- a/
test/ExecutionEngine/RuntimeDyld/ARM/MachO_ARM_PIC_relocations.s
+++ b/
test/ExecutionEngine/RuntimeDyld/ARM/MachO_ARM_PIC_relocations.s
@@
-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