summaryrefslogtreecommitdiffstats
path: root/binutils-2.21/ld/testsuite/ld-d10v/reloc-010.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-d10v/reloc-010.d')
-rw-r--r--binutils-2.21/ld/testsuite/ld-d10v/reloc-010.d16
1 files changed, 16 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-d10v/reloc-010.d b/binutils-2.21/ld/testsuite/ld-d10v/reloc-010.d
new file mode 100644
index 0000000..47e048f
--- /dev/null
+++ b/binutils-2.21/ld/testsuite/ld-d10v/reloc-010.d
@@ -0,0 +1,16 @@
+#source: reloc-009.s
+#ld: -T $srcdir/$subdir/reloc-010.ld
+#objdump: -D
+
+# Test 10 bit pc rel reloc negative good boundary case
+
+.*: file format elf32-d10v
+
+Disassembly of section .text:
+
+01014000 <foo>:
+ ...
+
+01014200 <_start>:
+ 1014200: 6f 00 4a 80 nop -> brf0f.s 1014000 <foo>
+ 1014204: 26 0d 5e 00 jmp r13 || nop