summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-crx/reloc-regrel12.s
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-09-03 14:31:41 +0000
committerNick Clifton <nickc@redhat.com>2004-09-03 14:31:41 +0000
commitc8ec855bdaf8258106ec8e335f7f9fc90dcaa95d (patch)
tree5828f74c8ea62576945130ca062707426c47e8c9 /ld/testsuite/ld-crx/reloc-regrel12.s
parentfb2aa6dd0090a98e2a0d2b7a3fafde885f78c980 (diff)
downloadbinutils-redhat-c8ec855bdaf8258106ec8e335f7f9fc90dcaa95d.tar.gz
Add LD and GAS testsuites for CRX port.
Fix several crx bugs.
Diffstat (limited to 'ld/testsuite/ld-crx/reloc-regrel12.s')
-rw-r--r--ld/testsuite/ld-crx/reloc-regrel12.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-crx/reloc-regrel12.s b/ld/testsuite/ld-crx/reloc-regrel12.s
new file mode 100644
index 0000000000..060502b442
--- /dev/null
+++ b/ld/testsuite/ld-crx/reloc-regrel12.s
@@ -0,0 +1,6 @@
+# Test register relative relocation R_CRX_REGREL12
+
+ .section .text_12,"ax","progbits"
+ .global _start
+_start:
+ loadb foo12(r7)+, r5