summaryrefslogtreecommitdiffstats
path: root/binutils-2.21/ld/testsuite/ld-crx/reloc-regrel12.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-crx/reloc-regrel12.d')
-rw-r--r--binutils-2.21/ld/testsuite/ld-crx/reloc-regrel12.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-crx/reloc-regrel12.d b/binutils-2.21/ld/testsuite/ld-crx/reloc-regrel12.d
new file mode 100644
index 0000000..e681d9f
--- /dev/null
+++ b/binutils-2.21/ld/testsuite/ld-crx/reloc-regrel12.d
@@ -0,0 +1,12 @@
+#source: reloc-regrel12.s
+#ld: -T $srcdir/$subdir/crx.ld
+#objdump: -D
+
+# Test register relative relocation R_CRX_REGREL12
+
+.*: file format elf32-crx
+
+Disassembly of section .text_12:
+
+00000101 <_start>:
+ 101: 85 32 05 78 loadb 0x805\(r7\)\+, r5