aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/limit-b.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-aarch64/limit-b.d')
-rw-r--r--ld/testsuite/ld-aarch64/limit-b.d17
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/limit-b.d b/ld/testsuite/ld-aarch64/limit-b.d
new file mode 100644
index 0000000..95d4c8f
--- /dev/null
+++ b/ld/testsuite/ld-aarch64/limit-b.d
@@ -0,0 +1,17 @@
+#name: aarch64-limit-b
+#source: limit-b.s
+#as:
+#ld: -Ttext 0x1000 --section-start .foo=0x8000ffc
+#objdump: -dr
+#...
+
+Disassembly of section .text:
+
+0000000000001000 <_start>:
+ 1000: 15ffffff b 8000ffc <bar>
+ 1004: d65f03c0 ret
+
+Disassembly of section .foo:
+
+0000000008000ffc <bar>:
+ 8000ffc: d65f03c0 ret