aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/farcall-b-defsym.d
diff options
context:
space:
mode:
authorJiong Wang <jiong.wang@arm.com>2015-08-11 22:12:08 +0100
committerJiong Wang <jiong.wang@arm.com>2015-08-11 22:12:08 +0100
commitb261b4db940297f254280ef57589879341d09435 (patch)
tree787fa72d71d7ee02d3f78ea727e03151cf0b2ba6 /ld/testsuite/ld-aarch64/farcall-b-defsym.d
parent9331eea1f83b94c6f5a72ebf643aa8978a0b0a13 (diff)
downloadgdb-b261b4db940297f254280ef57589879341d09435.zip
gdb-b261b4db940297f254280ef57589879341d09435.tar.gz
gdb-b261b4db940297f254280ef57589879341d09435.tar.bz2
[AArch64] Commit missing testcases
Diffstat (limited to 'ld/testsuite/ld-aarch64/farcall-b-defsym.d')
-rw-r--r--ld/testsuite/ld-aarch64/farcall-b-defsym.d18
1 files changed, 18 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/farcall-b-defsym.d b/ld/testsuite/ld-aarch64/farcall-b-defsym.d
new file mode 100644
index 0000000..c3e1602
--- /dev/null
+++ b/ld/testsuite/ld-aarch64/farcall-b-defsym.d
@@ -0,0 +1,18 @@
+#name: aarch64-farcall-b-defsym
+#source: farcall-b-defsym.s
+#as:
+#ld: -Ttext 0x1000 --defsym=bar=0x8001000
+#objdump: -dr
+#...
+
+Disassembly of section .text:
+
+0000000000001000 <_start>:
+ +1000: 14000003 b 100c <__bar_veneer>
+ +1004: d65f03c0 ret
+[ \t]+1008:[ \t]+14000007[ \t]+b[ \t]+1024 <__bar_veneer\+0x18>
+000000000000100c <__bar_veneer>:
+ 100c: 90040010 adrp x16, 8001000 <bar>
+ 1010: 91000210 add x16, x16, #0x0
+ 1014: d61f0200 br x16
+ ...