ld: Move the .note.build-id section to near the start of the memory map.
[binutils-gdb.git] / sim / testsuite / d10v / t-ld-st.s
blob4ae4f852e56abe80cccedb6797190a2f1b9ec108
1 # mach: all
2 # output:
3 # sim: --environment operating
5 .include "t-macros.i"
7 start
9 ; Test ld and st
10 ld r4, @foo
11 check 1 r4 0xdead
13 ldi r4, #0x2152
14 st r4, @foo
15 ld r4, @foo
16 check 2 r4 0x2152
18 ; Test ld2w and st2w
19 ldi r4, #0xdead
20 st r4, @foo
21 ld2w r4, @foo
22 check2w2 3 r4 0xdead 0xf000
24 ldi r4, #0x2112
25 ldi r5, #0x1984
26 st2w r4, @foo
27 ld2w r4, @foo
28 check2w2 4 r4 0x2112 0x1984
30 .data
31 .align 2
32 foo: .short 0xdead
33 bar: .short 0xf000
34 .text
36 exit0