1 #name: C6X PC-relative relocations, local symbols, -r, mixed link of REL/RELA
2 #as: -mlittle-endian
3 #ld: -r -melf32_tic6x_le
4 #source: pcrel-reloc-local-1.s -mgenerate-rel
5 #source: pcrel-reloc-local-2.s
6 #objdump: -dr
7 
8 .*: *file format elf32-tic6x-le
9 
10 
11 Disassembly of section \.text:
12 
13 0+ <[^>]*>:
14 [ \t]*0:[ \t]+00000000[ \t]+nop 1
15 [ \t]*4:[ \t]+00800162[ \t]+addkpc \.S2 0 <[^>]*>,b1,0
16 [ \t]*4: R_C6000_PCR_S7[ \t]+\.text\.1
17 [ \t]*8:[ \t]+00810162[ \t]+addkpc \.S2 4 <[^>]*>,b1,0
18 [ \t]*8: R_C6000_PCR_S7[ \t]+\.text\.1
19 [ \t]*c:[ \t]+00000012[ \t]+b \.S2 0 <[^>]*>
20 [ \t]*c: R_C6000_PCR_S21[ \t]+\.text\.1
21 [ \t]*10:[ \t]+00000092[ \t]+b \.S2 4 <[^>]*>
22 [ \t]*10: R_C6000_PCR_S21[ \t]+\.text\.1
23 [ \t]*14:[ \t]+00801022[ \t]+bdec \.S2 0 <[^>]*>,b1
24 [ \t]*14: R_C6000_PCR_S10[ \t]+\.text\.1
25 [ \t]*18:[ \t]+00803022[ \t]+bdec \.S2 4 <[^>]*>,b1
26 [ \t]*18: R_C6000_PCR_S10[ \t]+\.text\.1
27 [ \t]*1c:[ \t]+00000122[ \t]+bnop \.S2 0 <[^>]*>,0
28 [ \t]*1c: R_C6000_PCR_S12[ \t]+\.text\.1
29 [ \t]*20:[ \t]+00010122[ \t]+bnop \.S2 24 <[^>]*>,0
30 [ \t]*20: R_C6000_PCR_S12[ \t]+\.text\.1
31 [ \t]*\.\.\.
32 [ \t]*44:[ \t]+00000122[ \t]+bnop \.S2 40 <[^>]*>,0
33 [ \t]*44: R_C6000_PCR_S12[ \t]+\.text\.1\+0x20
34 [ \t]*48:[ \t]+00000122[ \t]+bnop \.S2 40 <[^>]*>,0
35 [ \t]*48: R_C6000_PCR_S12[ \t]+\.text\.1\+0x24
36 [ \t]*4c:[ \t]+00801022[ \t]+bdec \.S2 40 <[^>]*>,b1
37 [ \t]*4c: R_C6000_PCR_S10[ \t]+\.text\.1\+0x20
38 [ \t]*50:[ \t]+00801022[ \t]+bdec \.S2 40 <[^>]*>,b1
39 [ \t]*50: R_C6000_PCR_S10[ \t]+\.text\.1\+0x24
40 [ \t]*54:[ \t]+00000012[ \t]+b \.S2 40 <[^>]*>
41 [ \t]*54: R_C6000_PCR_S21[ \t]+\.text\.1\+0x20
42 [ \t]*58:[ \t]+00000012[ \t]+b \.S2 40 <[^>]*>
43 [ \t]*58: R_C6000_PCR_S21[ \t]+\.text\.1\+0x24
44 [ \t]*5c:[ \t]+00800162[ \t]+addkpc \.S2 40 <[^>]*>,b1,0
45 [ \t]*5c: R_C6000_PCR_S7[ \t]+\.text\.1\+0x20
46 [ \t]*60:[ \t]+00800162[ \t]+addkpc \.S2 60 <[^>]*>,b1,0
47 [ \t]*60: R_C6000_PCR_S7[ \t]+\.text\.1\+0x24
48 [ \t]*\.\.\.
49 
50 Disassembly of section \.text\.1:
51 
52 0+ <[^>]*>:
53 [ \t]*0:[ \t]+00000000[ \t]+nop 1
54 
55 0+4 <[^>]*>:
56 [ \t]*\.\.\.
57 
58 0+20 <[^>]*>:
59 [ \t]*20:[ \t]+00000000[ \t]+nop 1
60 
61 0+24 <[^>]*>:
62 [ \t]*\.\.\.
63