aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-crx/reloc-rel8-cmp.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
commit42851540ac3cf3b1f17ed9ab528c1ea2a2fdfb4f (patch)
tree37d2af0e5232af83ae00e569edf556f4c5dc6bf6 /ld/testsuite/ld-crx/reloc-rel8-cmp.s
parent6e3b68350d29fde1dedc4772bbdce07ac3669f97 (diff)
downloadgdb-42851540ac3cf3b1f17ed9ab528c1ea2a2fdfb4f.zip
gdb-42851540ac3cf3b1f17ed9ab528c1ea2a2fdfb4f.tar.gz
gdb-42851540ac3cf3b1f17ed9ab528c1ea2a2fdfb4f.tar.bz2
Add LD and GAS testsuites for CRX port.
Fix several crx bugs.
Diffstat (limited to 'ld/testsuite/ld-crx/reloc-rel8-cmp.s')
-rw-r--r--ld/testsuite/ld-crx/reloc-rel8-cmp.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-crx/reloc-rel8-cmp.s b/ld/testsuite/ld-crx/reloc-rel8-cmp.s
new file mode 100644
index 0000000..61e5dd4
--- /dev/null
+++ b/ld/testsuite/ld-crx/reloc-rel8-cmp.s
@@ -0,0 +1,8 @@
+# Test pc relative relocation R_CRX_REL8_CMP
+
+ .section .text_8,"ax","progbits"
+ .global _start
+ .global foo8
+_start:
+ cmpbeqb r1, r2, foo8
+foo8: