aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-d10v/reloc-002.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-d10v/reloc-002.d')
-rw-r--r--ld/testsuite/ld-d10v/reloc-002.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-d10v/reloc-002.d b/ld/testsuite/ld-d10v/reloc-002.d
new file mode 100644
index 0000000..f1da582
--- /dev/null
+++ b/ld/testsuite/ld-d10v/reloc-002.d
@@ -0,0 +1,13 @@
+#source: reloc-001.s
+#ld: -T $srcdir/$subdir/reloc-002.ld
+#objdump: -D
+
+# Test 10 bit pc rel reloc good boundary.
+
+.*: file format elf32-d10v
+
+Disassembly of section .text:
+
+01014000 <_start>:
+ 1014000: 65 3f cc 1a brf0f.s 10141fc <foo> -> jmp r13
+Disassembly of section .data: