[MCJIT] Take the relocation addend into account when applying ARM MachO VANILLA
[oota-llvm.git] / test / ExecutionEngine / RuntimeDyld / ARM / MachO_ARM_PIC_relocations.s
index d0d30271f0d85d59c59d312e398aca7e6109f2fa..2dc776cd4479dcefb71dc343c443a67bc2b43db6 100644 (file)
@@ -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