aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-crx/reloc-num16.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-crx/reloc-num16.d')
-rw-r--r--ld/testsuite/ld-crx/reloc-num16.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-crx/reloc-num16.d b/ld/testsuite/ld-crx/reloc-num16.d
new file mode 100644
index 0000000..7328d42
--- /dev/null
+++ b/ld/testsuite/ld-crx/reloc-num16.d
@@ -0,0 +1,12 @@
+#source: reloc-num16.s
+#ld: -T $srcdir/$subdir/crx.ld
+#objdump: -D
+
+# Test relocation on data R_CRX_NUM16
+
+.*: file format elf32-crx
+
+Disassembly of section .text:
+
+11014000 <_start>:
+11014000: 34 12 addcw \$0x3, r4