aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-crx/reloc-rel16.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-crx/reloc-rel16.d')
-rw-r--r--ld/testsuite/ld-crx/reloc-rel16.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-crx/reloc-rel16.d b/ld/testsuite/ld-crx/reloc-rel16.d
new file mode 100644
index 0000000..65cb2b8
--- /dev/null
+++ b/ld/testsuite/ld-crx/reloc-rel16.d
@@ -0,0 +1,12 @@
+#source: reloc-rel16.s
+#ld: -T $srcdir/$subdir/crx.ld
+#objdump: -D
+
+# Test pc relative relocation R_CRX_REL16
+
+.*: file format elf32-crx
+
+Disassembly of section .text_16:
+
+00001010 <_start>:
+ 1010: 7e 30 02 08 bal r14, \*\+0x1004