1# Test unaligned load and store macros with PIC code.  We don't bother
2# to test most cases.  The actual loads and stores are tested by the
3# non-PIC test case.  We just want to check that the initial address
4# is loaded correctly.
5
6	.data
7data_label:
8	.extern big_external_data_label,1000
9	.extern small_external_data_label,1
10	.comm big_external_common,1000
11	.comm small_external_common,1
12	.lcomm big_local_common,1000
13	.lcomm small_local_common,1
14
15	.text
16	ulh	$4,data_label
17	ulhu	$4,big_external_data_label
18	ulw	$4,small_external_data_label
19	ush	$4,big_external_common
20	usw	$4,small_external_common
21	ulh	$4,big_local_common
22	ulhu	$4,small_local_common
23	ulw	$4,data_label+1
24	ush	$4,big_external_data_label+1
25	usw	$4,small_external_data_label+1
26	ulh	$4,big_external_common+1
27	ulhu	$4,small_external_common+1
28	ulw	$4,big_local_common+1
29	ush	$4,small_local_common+1
30
31# Round to a 16 byte boundary, for ease in testing multiple targets.
32	nop
33	.ifndef	XGOT
34	nop
35	nop
36	.endif
37