aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-crx/reloc-rel24.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-crx/reloc-rel24.d')
-rw-r--r--ld/testsuite/ld-crx/reloc-rel24.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-crx/reloc-rel24.d b/ld/testsuite/ld-crx/reloc-rel24.d
new file mode 100644
index 0000000..2b38c5d
--- /dev/null
+++ b/ld/testsuite/ld-crx/reloc-rel24.d
@@ -0,0 +1,13 @@
+#source: reloc-rel24.s
+#ld: -T $srcdir/$subdir/crx.ld
+#objdump: -D
+
+# Test pc relative relocation R_CRX_REL24
+
+.*: file format elf32-crx
+
+Disassembly of section .text_24:
+
+00f01400 <_start>:
+ f01400: 81 31 70 20 cmpbeqb r1, r2, \*\+0xe00006
+ f01404: 03 00