* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / testsuite / ld-tic6x / pcrel-reloc-local-r-rel.d
blobe54c3701bf74f7fe19d5fa2afdfbfcf92ff647f5
1 #name: C6X PC-relative relocations, local symbols, -r, REL
2 #as: -mlittle-endian -mgenerate-rel
3 #ld: -r -melf32_tic6x_le
4 #source: pcrel-reloc-local-1.s
5 #source: pcrel-reloc-local-2.s
6 #objdump: -dr
8 .*: *file format elf32-tic6x-le
11 Disassembly of section \.text:
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]+00080122[ \t]+bnop \.S2 60 <[^>]*>,0
33 [ \t]*44: R_C6000_PCR_S12[ \t]+\.text\.1
34 [ \t]*48:[ \t]+00090122[ \t]+bnop \.S2 64 <[^>]*>,0
35 [ \t]*48: R_C6000_PCR_S12[ \t]+\.text\.1
36 [ \t]*4c:[ \t]+00811022[ \t]+bdec \.S2 60 <[^>]*>,b1
37 [ \t]*4c: R_C6000_PCR_S10[ \t]+\.text\.1
38 [ \t]*50:[ \t]+00813022[ \t]+bdec \.S2 64 <[^>]*>,b1
39 [ \t]*50: R_C6000_PCR_S10[ \t]+\.text\.1
40 [ \t]*54:[ \t]+00000412[ \t]+b \.S2 60 <[^>]*>
41 [ \t]*54: R_C6000_PCR_S21[ \t]+\.text\.1
42 [ \t]*58:[ \t]+00000492[ \t]+b \.S2 64 <[^>]*>
43 [ \t]*58: R_C6000_PCR_S21[ \t]+\.text\.1
44 [ \t]*5c:[ \t]+00880162[ \t]+addkpc \.S2 60 <[^>]*>,b1,0
45 [ \t]*5c: R_C6000_PCR_S7[ \t]+\.text\.1
46 [ \t]*60:[ \t]+00890162[ \t]+addkpc \.S2 84 <[^>]*>,b1,0
47 [ \t]*60: R_C6000_PCR_S7[ \t]+\.text\.1
48 [ \t]*\.\.\.
50 Disassembly of section \.text\.1:
52 0+ <[^>]*>:
53 [ \t]*0:[ \t]+00000000[ \t]+nop 1
55 0+4 <[^>]*>:
56 [ \t]*\.\.\.
58 0+20 <[^>]*>:
59 [ \t]*20:[ \t]+00000000[ \t]+nop 1
61 0+24 <[^>]*>:
62 [ \t]*\.\.\.