Support R_SPARC_WDISP10 and R_SPARC_H34.
[external/binutils.git] / sim / testsuite / sim / m32r / ldb.cgs
1 # m32r testcase for ldb $dr,@$sr
2 # mach(): m32r m32rx
3
4         .include "testutils.inc"
5
6         start
7
8         .global ldb
9 ldb:
10         mvaddr_h_gr r4, data_loc
11         mvi_h_gr    r5, 0
12
13         ldb r5, @r4
14
15         test_h_gr r5, 0x12 ; big endian processor
16
17         pass
18
19 data_loc:
20         .word 0x12345678
21