aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-crx/reloc-imm16.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-crx/reloc-imm16.d')
-rw-r--r--ld/testsuite/ld-crx/reloc-imm16.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-crx/reloc-imm16.d b/ld/testsuite/ld-crx/reloc-imm16.d
new file mode 100644
index 0000000..31aab63
--- /dev/null
+++ b/ld/testsuite/ld-crx/reloc-imm16.d
@@ -0,0 +1,12 @@
+#source: reloc-imm16.s
+#ld: -T $srcdir/$subdir/crx.ld
+#objdump: -D
+
+# Test immediate relocation R_CRX_IMM16
+
+.*: file format elf32-crx
+
+Disassembly of section .text_16:
+
+00001010 <_start>:
+ 1010: ee 11 14 20 addw \$0x2014, r14