1	.data
2data_label:
3	.extern big_external_data_label,0x4000
4	.extern small_external_data_label,4
5	.comm big_external_common,0x4000
6	.comm small_external_common,4
7	.lcomm big_local_common,0x4000
8	.lcomm small_local_common,4
9
10# the small symbols should have space allocated in the sbss section
11# but this is not yet supported in the assembler, so space is allocated
12# in the .bss section and the relocations are not gp-relative. this will
13# be updated when gp-relative relocations are added
14	.text
15	ldh	r4,0(r0)
16	ldh	r4,4(r0)
17	ldh	r4,0x7ffc(r0)
18	ldh	r4,-0x8000(r0)
19	ldh	r4,0(r5)
20	ldh	r4,4(r5)
21	ldh	r4,0x7ffc(r5)
22	ldh	r4,-0x8000(r5)
23	ldh	r4,data_label(r0)
24	ldh	r4,big_external_data_label(r0)
25	ldh	r4,small_external_data_label(r0)
26	ldh	r4,big_external_common(r0)
27	ldh	r4,small_external_common(r0)
28	ldh	r4,big_local_common(r0)
29	ldh	r4,small_local_common(r0)
30	ldh	r4,data_label+4(r0)
31	ldh	r4,big_external_data_label+4(r0)
32	ldh	r4,small_external_data_label+4(r0)
33	ldh	r4,big_external_common+4(r0)
34	ldh	r4,small_external_common+4(r0)
35	ldh	r4,big_local_common+4(r0)
36	ldh	r4,small_local_common+4(r0)
37	ldh	r4,data_label-0x8000(r0)
38	ldh	r4,big_external_data_label-0x8000(r0)
39	ldh	r4,small_external_data_label-0x8000(r0)
40	ldh	r4,big_external_common-0x8000(r0)
41	ldh	r4,small_external_common-0x8000(r0)
42	ldh	r4,big_local_common-0x8000(r0)
43	ldh	r4,small_local_common-0x8000(r0)
44	ldh	r4,data_label+0x10000(r0)
45	ldh	r4,data_label(r5)
46	ldh	r4,big_external_data_label(r5)
47	ldh	r4,small_external_data_label(r5)
48	ldh	r4,big_external_common(r5)
49	ldh	r4,small_external_common(r5)
50	ldh	r4,big_local_common(r5)
51	ldh	r4,small_local_common(r5)
52	ldh	r4,data_label+4(r5)
53	ldh	r4,big_external_data_label+4(r5)
54	ldh	r4,small_external_data_label+4(r5)
55	ldh	r4,big_external_common+4(r5)
56	ldh	r4,small_external_common+4(r5)
57	ldh	r4,big_local_common+4(r5)
58	ldh	r4,small_local_common+4(r5)
59	ldh	r4,data_label-0x8000(r5)
60	ldh	r4,big_external_data_label-0x8000(r5)
61	ldh	r4,small_external_data_label-0x8000(r5)
62	ldh	r4,big_external_common-0x8000(r5)
63	ldh	r4,small_external_common-0x8000(r5)
64	ldh	r4,big_local_common-0x8000(r5)
65	ldh	r4,small_local_common-0x8000(r5)
66
67	ldhio	r4,0(r0)
68	ldhio	r4,4(r0)
69	ldhio	r4,0x7ffc(r0)
70	ldhio	r4,-0x8000(r0)
71	ldhio	r4,0(r5)
72	ldhio	r4,4(r5)
73	ldhio	r4,0x7ffc(r5)
74	ldhio	r4,-0x8000(r5)
75	ldhio	r4,data_label(r0)
76	ldhio	r4,big_external_data_label(r0)
77	ldhio	r4,small_external_data_label(r0)
78	ldhio	r4,big_external_common(r0)
79	ldhio	r4,small_external_common(r0)
80	ldhio	r4,big_local_common(r0)
81	ldhio	r4,small_local_common(r0)
82	ldhio	r4,data_label+4(r0)
83	ldhio	r4,big_external_data_label+4(r0)
84	ldhio	r4,small_external_data_label+4(r0)
85	ldhio	r4,big_external_common+4(r0)
86	ldhio	r4,small_external_common+4(r0)
87	ldhio	r4,big_local_common+4(r0)
88	ldhio	r4,small_local_common+4(r0)
89	ldhio	r4,data_label-0x8000(r0)
90	ldhio	r4,big_external_data_label-0x8000(r0)
91	ldhio	r4,small_external_data_label-0x8000(r0)
92	ldhio	r4,big_external_common-0x8000(r0)
93	ldhio	r4,small_external_common-0x8000(r0)
94	ldhio	r4,big_local_common-0x8000(r0)
95	ldhio	r4,small_local_common-0x8000(r0)
96	ldhio	r4,data_label+0x10000(r0)
97	ldhio	r4,data_label(r5)
98	ldhio	r4,big_external_data_label(r5)
99	ldhio	r4,small_external_data_label(r5)
100	ldhio	r4,big_external_common(r5)
101	ldhio	r4,small_external_common(r5)
102	ldhio	r4,big_local_common(r5)
103	ldhio	r4,small_local_common(r5)
104	ldhio	r4,data_label+4(r5)
105	ldhio	r4,big_external_data_label+4(r5)
106	ldhio	r4,small_external_data_label+4(r5)
107	ldhio	r4,big_external_common+4(r5)
108	ldhio	r4,small_external_common+4(r5)
109	ldhio	r4,big_local_common+4(r5)
110	ldhio	r4,small_local_common+4(r5)
111	ldhio	r4,data_label-0x8000(r5)
112	ldhio	r4,big_external_data_label-0x8000(r5)
113	ldhio	r4,small_external_data_label-0x8000(r5)
114	ldhio	r4,big_external_common-0x8000(r5)
115	ldhio	r4,small_external_common-0x8000(r5)
116	ldhio	r4,big_local_common-0x8000(r5)
117	ldhio	r4,small_local_common-0x8000(r5)
118