]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/testsuite/gas/mips/lb-pic.s
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / mips / lb-pic.s
CommitLineData
fbc83def
ILT
1# Source file used to test the lb macro with PIC code.
2
3 .data
4data_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 lb $4,0
14 lb $4,1
15 lb $4,0x8000
16 lb $4,-0x8000
17 lb $4,0x10000
18 lb $4,0x1a5a5
19 lb $4,0($5)
20 lb $4,1($5)
21 lb $4,0x8000($5)
22 lb $4,-0x8000($5)
23 lb $4,0x10000($5)
24 lb $4,0x1a5a5($5)
25 lb $4,data_label
26 lb $4,big_external_data_label
27 lb $4,small_external_data_label
28 lb $4,big_external_common
29 lb $4,small_external_common
30 lb $4,big_local_common
31 lb $4,small_local_common
32 lb $4,data_label+1
33 lb $4,big_external_data_label+1
34 lb $4,small_external_data_label+1
35 lb $4,big_external_common+1
36 lb $4,small_external_common+1
37 lb $4,big_local_common+1
38 lb $4,small_local_common+1
39 lb $4,data_label($5)
40 lb $4,big_external_data_label($5)
41 lb $4,small_external_data_label($5)
42 lb $4,big_external_common($5)
43 lb $4,small_external_common($5)
44 lb $4,big_local_common($5)
45 lb $4,small_local_common($5)
46 lb $4,data_label+1($5)
47 lb $4,big_external_data_label+1($5)
48 lb $4,small_external_data_label+1($5)
49 lb $4,big_external_common+1($5)
50 lb $4,small_external_common+1($5)
51 lb $4,big_local_common+1($5)
52 lb $4,small_local_common+1($5)