aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-crx/reloc-imm32.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-crx/reloc-imm32.d')
-rw-r--r--ld/testsuite/ld-crx/reloc-imm32.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-crx/reloc-imm32.d b/ld/testsuite/ld-crx/reloc-imm32.d
new file mode 100644
index 0000000..9831a68
--- /dev/null
+++ b/ld/testsuite/ld-crx/reloc-imm32.d
@@ -0,0 +1,13 @@
+#source: reloc-imm32.s
+#ld: -T $srcdir/$subdir/crx.ld
+#objdump: -D
+
+# Test immediate relocation R_CRX_IMM32
+
+.*: file format elf32-crx
+
+Disassembly of section .text_32:
+
+11014000 <_start>:
+11014000: f6 21 01 22 addd \$0x22014006, r6
+11014004: 06 40