]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/mips/lb-pic.s
bfd/
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / mips / lb-pic.s
1 # Source file used to test the lb macro with PIC code.
2
3 .data
4 data_label:
5 .extern big_external_data_label,1000
6 .extern small_external_data_label,1
7 .comm big_external_common,1000
8 .comm small_external_common,1
9 .lcomm big_local_common,1000
10 .lcomm small_local_common,1
11
12 .text
13 text_label:
14 lb $4,0
15 lb $4,1
16 lb $4,0x8000
17 lb $4,-0x8000
18 lb $4,0x10000
19 lb $4,0x1a5a5
20 lb $4,0($5)
21 lb $4,1($5)
22 lb $4,0x8000($5)
23 lb $4,-0x8000($5)
24 lb $4,0x10000($5)
25 lb $4,0x1a5a5($5)
26 lb $4,data_label
27 lb $4,big_external_data_label
28 lb $4,small_external_data_label
29 lb $4,big_external_common
30 lb $4,small_external_common
31 lb $4,big_local_common
32 lb $4,small_local_common
33 lb $4,data_label+1
34 lb $4,big_external_data_label+1
35 lb $4,small_external_data_label+1
36 lb $4,big_external_common+1
37 lb $4,small_external_common+1
38 lb $4,big_local_common+1
39 lb $4,small_local_common+1
40 lb $4,data_label($5)
41 lb $4,big_external_data_label($5)
42 lb $4,small_external_data_label($5)
43 lb $4,big_external_common($5)
44 lb $4,small_external_common($5)
45 lb $4,big_local_common($5)
46 lb $4,small_local_common($5)
47 lb $4,data_label+1($5)
48 lb $4,big_external_data_label+1($5)
49 lb $4,small_external_data_label+1($5)
50 lb $4,big_external_common+1($5)
51 lb $4,small_external_common+1($5)
52 lb $4,big_local_common+1($5)
53 lb $4,small_local_common+1($5)
54
55 # Round to a 16 byte boundary, for ease in testing multiple targets.
56 nop