1 #objdump: -dr --prefix-addresses --show-raw-insn
2 #skip: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* *-*-vxworks
3 #name: Group relocation tests (alu)
4 
5 .*: +file format .*arm.*
6 
7 Disassembly of section .text:
8 0[0-9a-f]+ <[^>]+> e2800c01 	add	r0, r0, #256	; 0x100
9 			0: R_ARM_ALU_PC_G0	f
10 0[0-9a-f]+ <[^>]+> e2800c01 	add	r0, r0, #256	; 0x100
11 			4: R_ARM_ALU_PC_G1	f
12 0[0-9a-f]+ <[^>]+> e2800c01 	add	r0, r0, #256	; 0x100
13 			8: R_ARM_ALU_PC_G2	f
14 0[0-9a-f]+ <[^>]+> e2800c01 	add	r0, r0, #256	; 0x100
15 			c: R_ARM_ALU_PC_G0_NC	f
16 0[0-9a-f]+ <[^>]+> e2800c01 	add	r0, r0, #256	; 0x100
17 			10: R_ARM_ALU_PC_G1_NC	f
18 0[0-9a-f]+ <[^>]+> e2800c01 	add	r0, r0, #256	; 0x100
19 			14: R_ARM_ALU_SB_G0	f
20 0[0-9a-f]+ <[^>]+> e2800c01 	add	r0, r0, #256	; 0x100
21 			18: R_ARM_ALU_SB_G1	f
22 0[0-9a-f]+ <[^>]+> e2800c01 	add	r0, r0, #256	; 0x100
23 			1c: R_ARM_ALU_SB_G2	f
24 0[0-9a-f]+ <[^>]+> e2800c01 	add	r0, r0, #256	; 0x100
25 			20: R_ARM_ALU_SB_G0_NC	f
26 0[0-9a-f]+ <[^>]+> e2800c01 	add	r0, r0, #256	; 0x100
27 			24: R_ARM_ALU_SB_G1_NC	f
28 0[0-9a-f]+ <[^>]+> e2800c01 	add	r0, r0, #256	; 0x100
29 			28: R_ARM_ALU_PC_G0	localsym
30 0[0-9a-f]+ <[^>]+> e2800c01 	add	r0, r0, #256	; 0x100
31 			2c: R_ARM_ALU_PC_G1	localsym
32 0[0-9a-f]+ <[^>]+> e2800c01 	add	r0, r0, #256	; 0x100
33 			30: R_ARM_ALU_PC_G2	localsym
34 0[0-9a-f]+ <[^>]+> e2800c01 	add	r0, r0, #256	; 0x100
35 			34: R_ARM_ALU_PC_G0_NC	localsym
36 0[0-9a-f]+ <[^>]+> e2800c01 	add	r0, r0, #256	; 0x100
37 			38: R_ARM_ALU_PC_G1_NC	localsym
38 0[0-9a-f]+ <[^>]+> e2800c01 	add	r0, r0, #256	; 0x100
39 			3c: R_ARM_ALU_SB_G0	localsym
40 0[0-9a-f]+ <[^>]+> e2800c01 	add	r0, r0, #256	; 0x100
41 			40: R_ARM_ALU_SB_G1	localsym
42 0[0-9a-f]+ <[^>]+> e2800c01 	add	r0, r0, #256	; 0x100
43 			44: R_ARM_ALU_SB_G2	localsym
44 0[0-9a-f]+ <[^>]+> e2800c01 	add	r0, r0, #256	; 0x100
45 			48: R_ARM_ALU_SB_G0_NC	localsym
46 0[0-9a-f]+ <[^>]+> e2800c01 	add	r0, r0, #256	; 0x100
47 			4c: R_ARM_ALU_SB_G1_NC	localsym
48 0[0-9a-f]+ <[^>]+> e2900c01 	adds	r0, r0, #256	; 0x100
49 			50: R_ARM_ALU_PC_G0	f
50 0[0-9a-f]+ <[^>]+> e2900c01 	adds	r0, r0, #256	; 0x100
51 			54: R_ARM_ALU_PC_G1	f
52 0[0-9a-f]+ <[^>]+> e2900c01 	adds	r0, r0, #256	; 0x100
53 			58: R_ARM_ALU_PC_G2	f
54 0[0-9a-f]+ <[^>]+> e2900c01 	adds	r0, r0, #256	; 0x100
55 			5c: R_ARM_ALU_PC_G0_NC	f
56 0[0-9a-f]+ <[^>]+> e2900c01 	adds	r0, r0, #256	; 0x100
57 			60: R_ARM_ALU_PC_G1_NC	f
58 0[0-9a-f]+ <[^>]+> e2900c01 	adds	r0, r0, #256	; 0x100
59 			64: R_ARM_ALU_SB_G0	f
60 0[0-9a-f]+ <[^>]+> e2900c01 	adds	r0, r0, #256	; 0x100
61 			68: R_ARM_ALU_SB_G1	f
62 0[0-9a-f]+ <[^>]+> e2900c01 	adds	r0, r0, #256	; 0x100
63 			6c: R_ARM_ALU_SB_G2	f
64 0[0-9a-f]+ <[^>]+> e2900c01 	adds	r0, r0, #256	; 0x100
65 			70: R_ARM_ALU_SB_G0_NC	f
66 0[0-9a-f]+ <[^>]+> e2900c01 	adds	r0, r0, #256	; 0x100
67 			74: R_ARM_ALU_SB_G1_NC	f
68 0[0-9a-f]+ <[^>]+> e2900c01 	adds	r0, r0, #256	; 0x100
69 			78: R_ARM_ALU_PC_G0	localsym
70 0[0-9a-f]+ <[^>]+> e2900c01 	adds	r0, r0, #256	; 0x100
71 			7c: R_ARM_ALU_PC_G1	localsym
72 0[0-9a-f]+ <[^>]+> e2900c01 	adds	r0, r0, #256	; 0x100
73 			80: R_ARM_ALU_PC_G2	localsym
74 0[0-9a-f]+ <[^>]+> e2900c01 	adds	r0, r0, #256	; 0x100
75 			84: R_ARM_ALU_PC_G0_NC	localsym
76 0[0-9a-f]+ <[^>]+> e2900c01 	adds	r0, r0, #256	; 0x100
77 			88: R_ARM_ALU_PC_G1_NC	localsym
78 0[0-9a-f]+ <[^>]+> e2900c01 	adds	r0, r0, #256	; 0x100
79 			8c: R_ARM_ALU_SB_G0	localsym
80 0[0-9a-f]+ <[^>]+> e2900c01 	adds	r0, r0, #256	; 0x100
81 			90: R_ARM_ALU_SB_G1	localsym
82 0[0-9a-f]+ <[^>]+> e2900c01 	adds	r0, r0, #256	; 0x100
83 			94: R_ARM_ALU_SB_G2	localsym
84 0[0-9a-f]+ <[^>]+> e2900c01 	adds	r0, r0, #256	; 0x100
85 			98: R_ARM_ALU_SB_G0_NC	localsym
86 0[0-9a-f]+ <[^>]+> e2900c01 	adds	r0, r0, #256	; 0x100
87 			9c: R_ARM_ALU_SB_G1_NC	localsym
88 0[0-9a-f]+ <[^>]+> e2400c01 	sub	r0, r0, #256	; 0x100
89 			a0: R_ARM_ALU_PC_G0	f
90 0[0-9a-f]+ <[^>]+> e2400c01 	sub	r0, r0, #256	; 0x100
91 			a4: R_ARM_ALU_PC_G1	f
92 0[0-9a-f]+ <[^>]+> e2400c01 	sub	r0, r0, #256	; 0x100
93 			a8: R_ARM_ALU_PC_G2	f
94 0[0-9a-f]+ <[^>]+> e2400c01 	sub	r0, r0, #256	; 0x100
95 			ac: R_ARM_ALU_PC_G0_NC	f
96 0[0-9a-f]+ <[^>]+> e2400c01 	sub	r0, r0, #256	; 0x100
97 			b0: R_ARM_ALU_PC_G1_NC	f
98 0[0-9a-f]+ <[^>]+> e2400c01 	sub	r0, r0, #256	; 0x100
99 			b4: R_ARM_ALU_SB_G0	f
100 0[0-9a-f]+ <[^>]+> e2400c01 	sub	r0, r0, #256	; 0x100
101 			b8: R_ARM_ALU_SB_G1	f
102 0[0-9a-f]+ <[^>]+> e2400c01 	sub	r0, r0, #256	; 0x100
103 			bc: R_ARM_ALU_SB_G2	f
104 0[0-9a-f]+ <[^>]+> e2400c01 	sub	r0, r0, #256	; 0x100
105 			c0: R_ARM_ALU_SB_G0_NC	f
106 0[0-9a-f]+ <[^>]+> e2400c01 	sub	r0, r0, #256	; 0x100
107 			c4: R_ARM_ALU_SB_G1_NC	f
108 0[0-9a-f]+ <[^>]+> e2400c01 	sub	r0, r0, #256	; 0x100
109 			c8: R_ARM_ALU_PC_G0	localsym
110 0[0-9a-f]+ <[^>]+> e2400c01 	sub	r0, r0, #256	; 0x100
111 			cc: R_ARM_ALU_PC_G1	localsym
112 0[0-9a-f]+ <[^>]+> e2400c01 	sub	r0, r0, #256	; 0x100
113 			d0: R_ARM_ALU_PC_G2	localsym
114 0[0-9a-f]+ <[^>]+> e2400c01 	sub	r0, r0, #256	; 0x100
115 			d4: R_ARM_ALU_PC_G0_NC	localsym
116 0[0-9a-f]+ <[^>]+> e2400c01 	sub	r0, r0, #256	; 0x100
117 			d8: R_ARM_ALU_PC_G1_NC	localsym
118 0[0-9a-f]+ <[^>]+> e2400c01 	sub	r0, r0, #256	; 0x100
119 			dc: R_ARM_ALU_SB_G0	localsym
120 0[0-9a-f]+ <[^>]+> e2400c01 	sub	r0, r0, #256	; 0x100
121 			e0: R_ARM_ALU_SB_G1	localsym
122 0[0-9a-f]+ <[^>]+> e2400c01 	sub	r0, r0, #256	; 0x100
123 			e4: R_ARM_ALU_SB_G2	localsym
124 0[0-9a-f]+ <[^>]+> e2400c01 	sub	r0, r0, #256	; 0x100
125 			e8: R_ARM_ALU_SB_G0_NC	localsym
126 0[0-9a-f]+ <[^>]+> e2400c01 	sub	r0, r0, #256	; 0x100
127 			ec: R_ARM_ALU_SB_G1_NC	localsym
128 0[0-9a-f]+ <[^>]+> e2500c01 	subs	r0, r0, #256	; 0x100
129 			f0: R_ARM_ALU_PC_G0	f
130 0[0-9a-f]+ <[^>]+> e2500c01 	subs	r0, r0, #256	; 0x100
131 			f4: R_ARM_ALU_PC_G1	f
132 0[0-9a-f]+ <[^>]+> e2500c01 	subs	r0, r0, #256	; 0x100
133 			f8: R_ARM_ALU_PC_G2	f
134 0[0-9a-f]+ <[^>]+> e2500c01 	subs	r0, r0, #256	; 0x100
135 			fc: R_ARM_ALU_PC_G0_NC	f
136 0[0-9a-f]+ <[^>]+> e2500c01 	subs	r0, r0, #256	; 0x100
137 			100: R_ARM_ALU_PC_G1_NC	f
138 0[0-9a-f]+ <[^>]+> e2500c01 	subs	r0, r0, #256	; 0x100
139 			104: R_ARM_ALU_SB_G0	f
140 0[0-9a-f]+ <[^>]+> e2500c01 	subs	r0, r0, #256	; 0x100
141 			108: R_ARM_ALU_SB_G1	f
142 0[0-9a-f]+ <[^>]+> e2500c01 	subs	r0, r0, #256	; 0x100
143 			10c: R_ARM_ALU_SB_G2	f
144 0[0-9a-f]+ <[^>]+> e2500c01 	subs	r0, r0, #256	; 0x100
145 			110: R_ARM_ALU_SB_G0_NC	f
146 0[0-9a-f]+ <[^>]+> e2500c01 	subs	r0, r0, #256	; 0x100
147 			114: R_ARM_ALU_SB_G1_NC	f
148 0[0-9a-f]+ <[^>]+> e2500c01 	subs	r0, r0, #256	; 0x100
149 			118: R_ARM_ALU_PC_G0	localsym
150 0[0-9a-f]+ <[^>]+> e2500c01 	subs	r0, r0, #256	; 0x100
151 			11c: R_ARM_ALU_PC_G1	localsym
152 0[0-9a-f]+ <[^>]+> e2500c01 	subs	r0, r0, #256	; 0x100
153 			120: R_ARM_ALU_PC_G2	localsym
154 0[0-9a-f]+ <[^>]+> e2500c01 	subs	r0, r0, #256	; 0x100
155 			124: R_ARM_ALU_PC_G0_NC	localsym
156 0[0-9a-f]+ <[^>]+> e2500c01 	subs	r0, r0, #256	; 0x100
157 			128: R_ARM_ALU_PC_G1_NC	localsym
158 0[0-9a-f]+ <[^>]+> e2500c01 	subs	r0, r0, #256	; 0x100
159 			12c: R_ARM_ALU_SB_G0	localsym
160 0[0-9a-f]+ <[^>]+> e2500c01 	subs	r0, r0, #256	; 0x100
161 			130: R_ARM_ALU_SB_G1	localsym
162 0[0-9a-f]+ <[^>]+> e2500c01 	subs	r0, r0, #256	; 0x100
163 			134: R_ARM_ALU_SB_G2	localsym
164 0[0-9a-f]+ <[^>]+> e2500c01 	subs	r0, r0, #256	; 0x100
165 			138: R_ARM_ALU_SB_G0_NC	localsym
166 0[0-9a-f]+ <[^>]+> e2500c01 	subs	r0, r0, #256	; 0x100
167 			13c: R_ARM_ALU_SB_G1_NC	localsym
168 0[0-9a-f]+ <[^>]+> e3a00000 	mov	r0, #0
169