| 1 |
! Part two of test for inter-file DataLabel support. |
| 2 |
|
| 3 |
.mode SHmedia |
| 4 |
.text |
| 5 |
part2: |
| 6 |
movi (datalabel foowithout + 16) & 65535, r24 |
| 7 |
|
| 8 |
.section .rodata |
| 9 |
.long datalabel foo_otherwithout + 32 |
| 10 |
|
| 11 |
.text |
| 12 |
movi (datalabel foo_mixwithout + 1024) & 65535, r24 |
| 13 |
.section .rodata |
| 14 |
.long datalabel foo_mixwithout + 32 |
| 15 |
|
| 16 |
.text |
| 17 |
movi (datalabel foo_mixwithout2 + 1024) & 65535, r24 |
| 18 |
.section .rodata |
| 19 |
.long foo_mixwithout2 + 32 |
| 20 |
|
| 21 |
.text |
| 22 |
.global bar |
| 23 |
bar: |
| 24 |
nop |
| 25 |
|
| 26 |
.global barboth |
| 27 |
barboth: |
| 28 |
nop |
| 29 |
|
| 30 |
.global barboth2 |
| 31 |
barboth2: |
| 32 |
nop |
| 33 |
|
| 34 |
.global barwithout |
| 35 |
barwithout: |
| 36 |
nop |
| 37 |
|
| 38 |
.global bar_other |
| 39 |
bar_other: |
| 40 |
nop |
| 41 |
.global bar_otherboth |
| 42 |
bar_otherboth: |
| 43 |
nop |
| 44 |
.global bar_otherboth2 |
| 45 |
bar_otherboth2: |
| 46 |
nop |
| 47 |
.global bar_otherwithout |
| 48 |
bar_otherwithout: |
| 49 |
nop |
| 50 |
|
| 51 |
.text |
| 52 |
|
| 53 |
.global bar_mix |
| 54 |
bar_mix: |
| 55 |
nop |
| 56 |
.global bar_mix2 |
| 57 |
bar_mix2: |
| 58 |
nop |
| 59 |
.global bar_mixboth |
| 60 |
bar_mixboth: |
| 61 |
nop |
| 62 |
.global bar_mixboth2 |
| 63 |
bar_mixboth2: |
| 64 |
nop |
| 65 |
.global bar_mixwithout |
| 66 |
bar_mixwithout: |
| 67 |
nop |
| 68 |
.global bar_mixwithout2 |
| 69 |
bar_mixwithout2: |
| 70 |
nop |
| 71 |
|
| 72 |
! Almost-copy of "foo" in primary file. |
| 73 |
|
| 74 |
.global baz |
| 75 |
baz: |
| 76 |
nop |
| 77 |
movi (datalabel baz + 8) & 65535,r30 |
| 78 |
|
| 79 |
.global bazboth |
| 80 |
bazboth: |
| 81 |
nop |
| 82 |
movi (datalabel bazboth + 16) & 65535,r40 |
| 83 |
movi (bazboth + 12) & 65535,r40 |
| 84 |
|
| 85 |
.global bazboth2 |
| 86 |
bazboth2: |
| 87 |
nop |
| 88 |
movi (bazboth2 + 12) & 65535,r40 |
| 89 |
movi (datalabel bazboth2 + 16) & 65535,r40 |
| 90 |
|
| 91 |
.global bazwithout |
| 92 |
bazwithout: |
| 93 |
nop |
| 94 |
movi (datalabel bazwithout + 24) & 65535,r30 |
| 95 |
|
| 96 |
.global baz_other |
| 97 |
baz_other: |
| 98 |
nop |
| 99 |
.global baz_otherboth |
| 100 |
baz_otherboth: |
| 101 |
nop |
| 102 |
.global baz_otherboth2 |
| 103 |
baz_otherboth2: |
| 104 |
nop |
| 105 |
.global baz_otherwithout |
| 106 |
baz_otherwithout: |
| 107 |
nop |
| 108 |
|
| 109 |
.section .rodata |
| 110 |
.long datalabel baz_other + 4 |
| 111 |
.long datalabel baz_otherboth + 40 |
| 112 |
.long baz_otherboth + 24 |
| 113 |
.long baz_otherboth2 + 24 |
| 114 |
.long datalabel baz_otherboth2 + 40 |
| 115 |
.long baz_otherwithout |
| 116 |
|
| 117 |
.text |
| 118 |
|
| 119 |
.global baz_mix |
| 120 |
baz_mix: |
| 121 |
nop |
| 122 |
movi (datalabel baz_mix + 8) & 65535,r30 |
| 123 |
.global baz_mix2 |
| 124 |
baz_mix2: |
| 125 |
nop |
| 126 |
movi (baz_mix2 + 8) & 65535,r30 |
| 127 |
.global baz_mixboth |
| 128 |
baz_mixboth: |
| 129 |
nop |
| 130 |
movi (datalabel baz_mixboth + 80) & 65535,r30 |
| 131 |
movi (baz_mixboth + 80) & 65535,r30 |
| 132 |
.global baz_mixboth2 |
| 133 |
baz_mixboth2: |
| 134 |
nop |
| 135 |
movi (baz_mixboth2 + 64) & 65535,r30 |
| 136 |
movi (datalabel baz_mixboth2 + 64) & 65535,r30 |
| 137 |
.global baz_mixwithout |
| 138 |
baz_mixwithout: |
| 139 |
nop |
| 140 |
movi (baz_mixwithout + 42) & 65535,r30 |
| 141 |
.global baz_mixwithout2 |
| 142 |
baz_mixwithout2: |
| 143 |
nop |
| 144 |
movi (baz_mixwithout2 + 24) & 65535,r30 |
| 145 |
|
| 146 |
.section .rodata |
| 147 |
.long baz_mix + 4 |
| 148 |
.long datalabel baz_mix2 + 48 |
| 149 |
.long datalabel baz_mixboth + 400 |
| 150 |
.long baz_mixboth + 420 |
| 151 |
.long baz_mixboth2 + 248 |
| 152 |
.long datalabel baz_mixboth2 + 240 |
| 153 |
.long baz_mixwithout |
| 154 |
|
| 155 |
.data |
| 156 |
.long datalabel dfoowithout + 44 |
| 157 |
.long datalabel dfoo_mixwithout + 48 |
| 158 |
.long datalabel dfoo_mixwithout2 + 84 |
| 159 |
|
| 160 |
.global dbar |
| 161 |
dbar: |
| 162 |
.long 0 |
| 163 |
.global dbarboth |
| 164 |
dbarboth: |
| 165 |
.long 0 |
| 166 |
.global dbarboth2 |
| 167 |
dbarboth2: |
| 168 |
.long 0 |
| 169 |
.global dbarwithout |
| 170 |
dbarwithout: |
| 171 |
.long 0 |
| 172 |
.global dbar_other |
| 173 |
dbar_other: |
| 174 |
.long 0 |
| 175 |
.global dbar_otherboth |
| 176 |
dbar_otherboth: |
| 177 |
.long 0 |
| 178 |
.global dbar_otherboth2 |
| 179 |
dbar_otherboth2: |
| 180 |
.long 0 |
| 181 |
.global dbar_otherwithout |
| 182 |
dbar_otherwithout: |
| 183 |
.long 0 |
| 184 |
|
| 185 |
.global dbar_mix |
| 186 |
dbar_mix: |
| 187 |
.long 0 |
| 188 |
.global dbar_mix2 |
| 189 |
dbar_mix2: |
| 190 |
.long 0 |
| 191 |
.global dbar_mixboth |
| 192 |
dbar_mixboth: |
| 193 |
.long 0 |
| 194 |
.global dbar_mixboth2 |
| 195 |
dbar_mixboth2: |
| 196 |
.long 0 |
| 197 |
.global dbar_mixwithout |
| 198 |
dbar_mixwithout: |
| 199 |
.long 0 |
| 200 |
.global dbar_mixwithout2 |
| 201 |
dbar_mixwithout2: |
| 202 |
.long 0 |
| 203 |
|
| 204 |
! Almost-copy of "dfoo" in primary file. |
| 205 |
|
| 206 |
.data |
| 207 |
.global dbaz |
| 208 |
dbaz: |
| 209 |
.long 0 |
| 210 |
.long (datalabel dbaz + 8) |
| 211 |
|
| 212 |
.global dbazboth |
| 213 |
dbazboth: |
| 214 |
.long 0 |
| 215 |
.long (datalabel dbazboth + 16) |
| 216 |
.long (dbazboth + 12) |
| 217 |
|
| 218 |
.global dbazboth2 |
| 219 |
dbazboth2: |
| 220 |
.long 0 |
| 221 |
.long (dbazboth2 + 12) |
| 222 |
.long (datalabel dbazboth2 + 16) |
| 223 |
|
| 224 |
.global dbazwithout |
| 225 |
dbazwithout: |
| 226 |
.long 0 |
| 227 |
.long (dbazwithout + 24) |
| 228 |
|
| 229 |
.global dbaz_other |
| 230 |
dbaz_other: |
| 231 |
.long 0 |
| 232 |
.global dbaz_otherboth |
| 233 |
dbaz_otherboth: |
| 234 |
.long 0 |
| 235 |
.global dbaz_otherboth2 |
| 236 |
dbaz_otherboth2: |
| 237 |
.long 0 |
| 238 |
.global dbaz_otherwithout |
| 239 |
dbaz_otherwithout: |
| 240 |
.long 0 |
| 241 |
|
| 242 |
.section .rodata |
| 243 |
.long datalabel dbaz_other + 4 |
| 244 |
.long datalabel dbaz_otherboth + 40 |
| 245 |
.long dbaz_otherboth + 24 |
| 246 |
.long dbaz_otherboth2 + 24 |
| 247 |
.long datalabel dbaz_otherboth2 + 40 |
| 248 |
.long dbaz_otherwithout |
| 249 |
|
| 250 |
.data |
| 251 |
|
| 252 |
.global dbaz_mix |
| 253 |
dbaz_mix: |
| 254 |
.long 0 |
| 255 |
.long (datalabel dbaz_mix + 8) |
| 256 |
.global dbaz_mix2 |
| 257 |
dbaz_mix2: |
| 258 |
.long 0 |
| 259 |
.long (dbaz_mix2 + 8) |
| 260 |
.global dbaz_mixboth |
| 261 |
dbaz_mixboth: |
| 262 |
.long 0 |
| 263 |
.long (datalabel dbaz_mixboth + 80) |
| 264 |
.long (dbaz_mixboth + 80) |
| 265 |
.global dbaz_mixboth2 |
| 266 |
dbaz_mixboth2: |
| 267 |
.long 0 |
| 268 |
.long (dbaz_mixboth2 + 64) |
| 269 |
.long (datalabel dbaz_mixboth2 + 64) |
| 270 |
.global dbaz_mixwithout |
| 271 |
dbaz_mixwithout: |
| 272 |
.long 0 |
| 273 |
.long (dbaz_mixwithout + 42) |
| 274 |
.global dbaz_mixwithout2 |
| 275 |
dbaz_mixwithout2: |
| 276 |
.long 0 |
| 277 |
.long (dbaz_mixwithout2 + 24) |
| 278 |
|
| 279 |
.section .rodata |
| 280 |
.long dbaz_mix + 4 |
| 281 |
.long datalabel dbaz_mix2 + 48 |
| 282 |
.long datalabel dbaz_mixboth + 400 |
| 283 |
.long dbaz_mixboth + 420 |
| 284 |
.long dbaz_mixboth2 + 248 |
| 285 |
.long datalabel dbaz_mixboth2 + 240 |
| 286 |
.long dbaz_mixwithout |