mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
927f25ebac
The common framework supports $srcdir & $subdir replacements already, so replace the custom @srcdir@ logic with those. Since the replace happens in slurp_options that cris already uses, we don't have any logic to port over there. We have to duplicate that into the cris slurp_rv helper though.
23 lines
299 B
Plaintext
23 lines
299 B
Plaintext
#mach: crisv32
|
|
#r @,$srcdir/$subdir/trivial4.r
|
|
|
|
# Test read and writes.
|
|
|
|
.include "testutils.inc"
|
|
start
|
|
move.d 0xd0000032,$r0
|
|
move.d [$r0+],$r3
|
|
cmp.d 0xabcdef01,$r3
|
|
beq ok
|
|
nop
|
|
bad:
|
|
fail
|
|
ok:
|
|
move.d 0xaabbccdd,$r3
|
|
move.d $r3,[$r0]
|
|
move.d [$r0],$r3
|
|
cmp.d 0x76543210,$r3
|
|
bne bad
|
|
nop
|
|
pass
|