summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-d10v/reloc-001.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-d10v/reloc-001.d')
-rw-r--r--ld/testsuite/ld-d10v/reloc-001.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-d10v/reloc-001.d b/ld/testsuite/ld-d10v/reloc-001.d
new file mode 100644
index 0000000..8cbe9f0
--- /dev/null
+++ b/ld/testsuite/ld-d10v/reloc-001.d
@@ -0,0 +1,12 @@
+#source: reloc-001.s
+#ld: -T $srcdir/$subdir/reloc-001.ld
+#objdump: -D
+
+# Test 10 bit pc rel reloc normal case
+
+.*: file format elf32-d10v
+
+Disassembly of section .text:
+
+01014000 <_start>:
+ 1014000: 65 20 cc 1a brf0f.s 1014104 <foo> -> jmp r13