From 42851540ac3cf3b1f17ed9ab528c1ea2a2fdfb4f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 3 Sep 2004 14:31:41 +0000 Subject: Add LD and GAS testsuites for CRX port. Fix several crx bugs. --- ld/testsuite/ld-crx/reloc-regrel12.d | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ld/testsuite/ld-crx/reloc-regrel12.d (limited to 'ld/testsuite/ld-crx/reloc-regrel12.d') diff --git a/ld/testsuite/ld-crx/reloc-regrel12.d b/ld/testsuite/ld-crx/reloc-regrel12.d new file mode 100644 index 0000000..e681d9f5 --- /dev/null +++ b/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 -- cgit v1.1