Use __asm__ rather than asm in gold testsuite
[deliverable/binutils-gdb.git] / gold / testsuite / arm_unaligned_reloc.s
index f85297ca454057363aa6b8939b9e1637cafb5627..83bd03b44b31fc77b5ae9c1f59151be5620c89f9 100644 (file)
@@ -28,17 +28,20 @@ padding:
        .type   abs32, %object
        .size   abs32, 4
 abs32:
-       .word   x
+       # We use x + 1 instead so that addend is non-zero
+       # The disassembler sometimes skips repeating
+       # zeros and prints "..." instead.
+       .word   x + 1
 
        .global rel32
        .type   rel32, %object
        .size   rel32, 4
 rel32:
-       .word   x - .
+       .word   x + 1 - .
 
        .global abs16
        .type   abs16, %object
        .size   abs16, 2
 abs16:
-       .short  x
+       .short  x + 1
        .short  0
This page took 0.023164 seconds and 4 git commands to generate.