summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-crx/reloc-imm32.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-imm32.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-imm32.s')
-rw-r--r--ld/testsuite/ld-crx/reloc-imm32.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-crx/reloc-imm32.s b/ld/testsuite/ld-crx/reloc-imm32.s
new file mode 100644
index 0000000000..ccf71bed8d
--- /dev/null
+++ b/ld/testsuite/ld-crx/reloc-imm32.s
@@ -0,0 +1,7 @@
+# Test immediate relocation R_CRX_IMM32
+
+ .section .text_32,"ax","progbits"
+ .global _start
+_start:
+ addd $foo32, r6
+