summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-d10v/reloc-014.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-d10v/reloc-014.d')
-rw-r--r--ld/testsuite/ld-d10v/reloc-014.d16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-d10v/reloc-014.d b/ld/testsuite/ld-d10v/reloc-014.d
new file mode 100644
index 0000000..5035a29
--- /dev/null
+++ b/ld/testsuite/ld-d10v/reloc-014.d
@@ -0,0 +1,16 @@
+#source: reloc-005.s
+#ld: -T $srcdir/$subdir/reloc-014.ld
+#objdump: -D
+
+# Test 18 bit pc rel reloc negative good boundary case
+
+.*: file format elf32-d10v
+
+Disassembly of section .text:
+
+01014000 <foo>:
+ ...
+
+01034000 <_start>:
+ 1034000: e4 00 80 00 bra.l 1014000 <foo>
+ 1034004: 26 0d 5e 00 jmp r13 || nop