aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-d10v/reloc-009.d
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2002-06-17 14:05:53 +0000
committerTom Rix <trix@redhat.com>2002-06-17 14:05:53 +0000
commit4c0b7915d432a3695d945ac7b9f076e66a6e6baa (patch)
tree3076c15acfe2cc265829bea72beb5ca4d893ec4a /ld/testsuite/ld-d10v/reloc-009.d
parent184e65b1d46dd46b6a5936b8f932f3bc3be78d13 (diff)
downloadgdb-4c0b7915d432a3695d945ac7b9f076e66a6e6baa.zip
gdb-4c0b7915d432a3695d945ac7b9f076e66a6e6baa.tar.gz
gdb-4c0b7915d432a3695d945ac7b9f076e66a6e6baa.tar.bz2
Tests for d10v.
Diffstat (limited to 'ld/testsuite/ld-d10v/reloc-009.d')
-rw-r--r--ld/testsuite/ld-d10v/reloc-009.d16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-d10v/reloc-009.d b/ld/testsuite/ld-d10v/reloc-009.d
new file mode 100644
index 0000000..ff55845
--- /dev/null
+++ b/ld/testsuite/ld-d10v/reloc-009.d
@@ -0,0 +1,16 @@
+#source: reloc-009.s
+#ld: -T $srcdir/$subdir/reloc-009.ld
+#objdump: -D
+
+# Test 10 bit pc rel reloc negative normal case
+
+.*: file format elf32-d10v
+Disassembly of section .text:
+
+01014000 <foo>:
+ ...
+
+01014100 <_start>:
+ 1014100: 6f 00 4a c0 nop -> brf0f.s 1014000 <foo>
+ 1014104: 26 0d 5e 00 jmp r13 || nop
+Disassembly of section .data: