ld: Adjust tic6x tests
[external/binutils.git] / ld / testsuite / ld-tic6x / shlib-noindex.rd
1 There are 18 section headers, starting at offset .*:
2
3 Section Headers:
4   \[Nr\] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
5   \[ 0\]                   NULL            00000000 000000 000000 00      0   0  0
6   \[ 1\] \.hash             HASH            00008000 001000 000044 04   A  2   0  4
7   \[ 2\] \.dynsym           DYNSYM          00008044 001044 0000c0 10   A  3   6  4
8   \[ 3\] \.dynstr           STRTAB          00008104 001104 000012 00   A  0   0  1
9   \[ 4\] \.rela\.text        RELA            00008118 001118 00000c 0c  AI  2  10  4
10   \[ 5\] \.rela\.got         RELA            00008124 001124 000024 0c  AI  2  11  4
11   \[ 6\] \.rela\.neardata    RELA            00008148 001148 000018 0c  AI  2  12  4
12   \[ 7\] \.dynamic          DYNAMIC         00008160 001160 0000b0 08  WA  3   0  4
13   \[ 8\] \.rela\.plt         RELA            10000000 002000 000018 0c  AI  2  11  4
14   \[ 9\] \.plt              PROGBITS        10000020 002020 000060 18  AX  0   0 32
15   \[10\] \.text             PROGBITS        10000080 002080 000080 00  AX  0   0 32
16   \[11\] \.got              PROGBITS        10000100 002100 000028 00  WA  0   0  4
17   \[12\] \.neardata         PROGBITS        10000128 002128 000008 00  WA  0   0  4
18   \[13\] \.bss              NOBITS          10000130 002130 000004 00  WA  0   0  4
19   \[14\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 002130 000019 00      0   0  1
20   \[15\] \.symtab           SYMTAB          00000000 00214c 0001c0 10     16  22  4
21   \[16\] \.strtab           STRTAB          00000000 00230c 00005c 00      0   0  1
22   \[17\] \.shstrtab         STRTAB          00000000 002368 000080 00      0   0  1
23 Key to Flags:
24 #...
25
26 Elf file type is DYN \(Shared object file\)
27 Entry point 0x10000080
28 There are 4 program headers, starting at offset 52
29
30 Program Headers:
31   Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
32   LOAD           0x001000 0x00008000 0x00008000 0x00210 0x00210 RW  0x1000
33   LOAD           0x002000 0x10000000 0x10000000 0x00130 0x00134 RWE 0x1000
34   DYNAMIC        0x001160 0x00008160 0x00008160 0x000b0 0x000b0 RW  0x4
35   GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x20000 RWE 0x8
36
37  Section to Segment mapping:
38   Segment Sections\.\.\.
39    00     \.hash \.dynsym \.dynstr \.rela\.text \.rela\.got \.rela\.neardata \.dynamic 
40    01     \.rela\.plt \.plt \.text \.got \.neardata \.bss 
41    02     \.dynamic 
42    03     
43
44 Dynamic section at offset 0x1160 contains 17 entries:
45   Tag        Type                         Name/Value
46  0x00000004 \(HASH\)                       0x8000
47  0x00000005 \(STRTAB\)                     0x8104
48  0x00000006 \(SYMTAB\)                     0x8044
49  0x0000000a \(STRSZ\)                      18 \(bytes\)
50  0x0000000b \(SYMENT\)                     16 \(bytes\)
51  0x70000000 \(C6000_DSBT_BASE\)            0x10000100
52  0x70000001 \(C6000_DSBT_SIZE\)            0x3
53  0x70000003 \(C6000_DSBT_INDEX\)           0x0
54  0x00000003 \(PLTGOT\)                     0x1000010c
55  0x00000002 \(PLTRELSZ\)                   24 \(bytes\)
56  0x00000014 \(PLTREL\)                     RELA
57  0x00000017 \(JMPREL\)                     0x10000000
58  0x00000007 \(RELA\)                       0x8118
59  0x00000008 \(RELASZ\)                     96 \(bytes\)
60  0x00000009 \(RELAENT\)                    12 \(bytes\)
61  0x00000016 \(TEXTREL\)                    0x0
62  0x00000000 \(NULL\)                       0x0
63
64 Relocation section '\.rela\.text' at offset 0x1118 contains 1 entry:
65  Offset     Info    Type                Sym\. Value  Symbol's Name \+ Addend
66 10000094  00000318 R_C6000_DSBT_INDEX     10000100   \.got - 10000100
67
68 Relocation section '\.rela\.got' at offset 0x1124 contains 3 entries:
69  Offset     Info    Type                Sym\. Value  Symbol's Name \+ Addend
70 10000120  00000501 R_C6000_ABS32          10000130   \.bss \+ 0
71 1000011c  00000601 R_C6000_ABS32          00000000   b \+ 0
72 10000124  00000a01 R_C6000_ABS32          10000128   a \+ 0
73
74 Relocation section '\.rela\.neardata' at offset 0x1148 contains 2 entries:
75  Offset     Info    Type                Sym\. Value  Symbol's Name \+ Addend
76 10000128  00000901 R_C6000_ABS32          10000088   sub0 \+ 0
77 1000012c  00000701 R_C6000_ABS32          00000000   g1 \+ 0
78
79 Relocation section '\.rela\.plt' at offset 0x2000 contains 2 entries:
80  Offset     Info    Type                Sym\. Value  Symbol's Name \+ Addend
81 10000114  0000091b R_C6000_JUMP_SLOT      10000088   sub0 \+ 0
82 10000118  00000b1b R_C6000_JUMP_SLOT      100000c0   sub \+ 0
83
84 Symbol table '\.dynsym' contains 12 entries:
85    Num:    Value  Size Type    Bind   Vis      Ndx Name
86      0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND 
87      1: 10000020     0 SECTION LOCAL  DEFAULT    9 
88      2: 10000080     0 SECTION LOCAL  DEFAULT   10 
89      3: 10000100     0 SECTION LOCAL  DEFAULT   11 
90      4: 10000128     0 SECTION LOCAL  DEFAULT   12 
91      5: 10000130     0 SECTION LOCAL  DEFAULT   13 
92      6: 00000000     0 NOTYPE  WEAK   DEFAULT  UND b
93      7: 00000000     0 NOTYPE  WEAK   DEFAULT  UND g1
94      8: 1000012c     4 OBJECT  GLOBAL DEFAULT   12 g2
95      9: 10000088    52 FUNC    GLOBAL DEFAULT   10 sub0
96     10: 10000128     4 OBJECT  GLOBAL DEFAULT   12 a
97     11: 100000c0    52 FUNC    GLOBAL DEFAULT   10 sub
98
99 Symbol table '\.symtab' contains 28 entries:
100    Num:    Value  Size Type    Bind   Vis      Ndx Name
101      0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND 
102      1: 00008000     0 SECTION LOCAL  DEFAULT    1 
103      2: 00008044     0 SECTION LOCAL  DEFAULT    2 
104      3: 00008104     0 SECTION LOCAL  DEFAULT    3 
105      4: 00008118     0 SECTION LOCAL  DEFAULT    4 
106      5: 00008124     0 SECTION LOCAL  DEFAULT    5 
107      6: 00008148     0 SECTION LOCAL  DEFAULT    6 
108      7: 00008160     0 SECTION LOCAL  DEFAULT    7 
109      8: 10000000     0 SECTION LOCAL  DEFAULT    8 
110      9: 10000020     0 SECTION LOCAL  DEFAULT    9 
111     10: 10000080     0 SECTION LOCAL  DEFAULT   10 
112     11: 10000100     0 SECTION LOCAL  DEFAULT   11 
113     12: 10000128     0 SECTION LOCAL  DEFAULT   12 
114     13: 10000130     0 SECTION LOCAL  DEFAULT   13 
115     14: 00000000     0 SECTION LOCAL  DEFAULT   14 
116     15: 00000000     0 FILE    LOCAL  DEFAULT  ABS tmpdir/shlib-1\.o
117     16: 10000080     0 FUNC    LOCAL  HIDDEN    10 sub1
118     17: 00000000     0 FILE    LOCAL  DEFAULT  ABS 
119     18: 00008160     0 OBJECT  LOCAL  DEFAULT  ABS _DYNAMIC
120     19: 10000130     4 OBJECT  LOCAL  DEFAULT   13 c
121     20: 1000010c     0 OBJECT  LOCAL  DEFAULT  ABS _GLOBAL_OFFSET_TABLE_
122     21: 10000100     0 NOTYPE  LOCAL  DEFAULT   11 __c6xabi_DSBT_BASE
123     22: 00000000     0 NOTYPE  WEAK   DEFAULT  UND b
124     23: 00000000     0 NOTYPE  WEAK   DEFAULT  UND g1
125     24: 1000012c     4 OBJECT  GLOBAL DEFAULT   12 g2
126     25: 10000088    52 FUNC    GLOBAL DEFAULT   10 sub0
127     26: 10000128     4 OBJECT  GLOBAL DEFAULT   12 a
128     27: 100000c0    52 FUNC    GLOBAL DEFAULT   10 sub