aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/non-contiguous-arm7.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arm/non-contiguous-arm7.s')
-rw-r--r--ld/testsuite/ld-arm/non-contiguous-arm7.s16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/non-contiguous-arm7.s b/ld/testsuite/ld-arm/non-contiguous-arm7.s
new file mode 100644
index 0000000..be0a407
--- /dev/null
+++ b/ld/testsuite/ld-arm/non-contiguous-arm7.s
@@ -0,0 +1,16 @@
+ .global MY_BUF
+ .section .bss.MY_BUF,"aw",%nobits
+ .type MY_BUF, %object
+ .size MY_BUF, 102400
+MY_BUF:
+ .space 102400
+
+ .section .text.foo,"ax",%progbits
+ .global foo
+ .type foo, %function
+foo:
+ ldr r0, .L3
+ bx lr
+.L3:
+ .word MY_BUF
+ .size foo, .-foo