Add testcases for PR ld/12921.
[external/binutils.git] / ld / testsuite / ld-x86-64 / pr12921.d
1 #name: PR ld/12921
2 #as: --64
3 #ld: -melf_x86_64
4 #readelf: -S --wide
5
6 There are 7 section headers, starting at offset 0x2058:
7
8 Section Headers:
9   \[Nr\] Name              Type            Address          Off    Size   ES Flg Lk Inf Al
10   \[ 0\]                   NULL            0000000000000000 000000 000000 00      0   0  0
11   \[ 1\] .text             PROGBITS        0000000000401000 001000 000001 00  AX  0   0 4096
12   \[ 2\] .data             PROGBITS        0000000000602000 002000 000028 00  WA  0   0 4096
13   \[ 3\] .bss              NOBITS          0000000000603000 002028 010000 00  WA  0   0 4096
14   \[ 4\] .shstrtab         STRTAB          0000000000000000 002028 00002c 00      0   0  1
15   \[ 5\] .symtab           SYMTAB          0000000000000000 002218 000120 18      6   6  8
16   \[ 6\] .strtab           STRTAB          0000000000000000 002338 000037 00      0   0  1
17 Key to Flags:
18   W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\), l \(large\)
19   I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\)
20   O \(extra OS processing required\) o \(OS specific\), p \(processor specific\)
21 #pass