]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/arm/relax_load_align.s
Merge commit 'upstream/2.20'
[msp430-binutils.git] / gas / testsuite / gas / arm / relax_load_align.s
diff --git a/gas/testsuite/gas/arm/relax_load_align.s b/gas/testsuite/gas/arm/relax_load_align.s
new file mode 100644 (file)
index 0000000..e461291
--- /dev/null
@@ -0,0 +1,12 @@
+@ The relaxation algorithm used to not compensate for alignment statements.
+@ The early termination to avoid infinite looping would make the second load
+@ a wide instruction.
+       .text
+       .thumb
+       .syntax unified
+fn:
+       adds r0, r0, #1000
+       ldr r0, 1f
+       ldr r0, 1f
+.align 2
+1: