Commit | Line | Data |
---|---|---|
c9f02c3e MR |
1 | # Verify correct version information output from `readelf' and that there |
2 | # is no: | |
3 | # | |
4 | # Version definition past end of section | |
5 | # | |
6 | # line at the end in particular (hence #pass must not be used here). | |
7 | ||
8 | # TI C6X special variant covering an extra `.got.plt' dynamic symbol | |
9 | # table entry and consequently its `.gnu.version' record made as a | |
10 | # result of unusual processing in `elf32_tic6x_link_omit_section_dynsym'. | |
11 | ||
12 | Version symbols section '\.gnu\.version' contains 5 entries: | |
13 | Addr: [0-9a-f]+ +Offset: 0x[0-9a-f]+ +Link: 2 \(\.dynsym\) | |
14 | +000: +0 \(\*local\*\) +0 \(\*local\*\) +2 \(ver_foo\) +1 \(\*global\*\) + | |
15 | +004: +2 \(ver_foo\) + | |
16 | ||
17 | Version definition section '\.gnu\.version_d' contains 2 entries: | |
18 | +Addr: 0x[0-9a-f]+ +Offset: 0x[0-9a-f]+ +Link: 3 \(\.dynstr\) | |
19 | +000000: Rev: 1 +Flags: BASE +Index: 1 +Cnt: 1 +Name: ver_def | |
20 | +0x001c: Rev: 1 +Flags: none +Index: 2 +Cnt: 1 +Name: ver_foo |