ffbc01ccf0
* elflink.c (elf_link_input_bfd): Provide a file symbol for each input file with local syms, if the input lacks such. (bfd_elf_final_link): Add a file symbol to mark end of locals for which we can associate with input files. (struct elf_final_link_info): Add filesym_count field. (struct elf_outext_info): Add need_second_pass and second_pass. (elf_link_output_extsym): Detect symbols defined in the output file, emit them on second pass over locals. ld/testsuite/ Update to suit added STT_FILE symbols.
17 lines
1.2 KiB
R
17 lines
1.2 KiB
R
There are 9 section headers, starting at offset 0x80:
|
|
|
|
Section Headers:
|
|
\[Nr\] Name Type Address Off Size ES Flg Lk Inf Al
|
|
\[ 0\] NULL 0000000000000000 000000 000000 00 0 0 0
|
|
\[ 1\] .text PROGBITS 0000000000000000 000040 000000 00 AX 0 0 4
|
|
\[ 2\] .foo PROGBITS 0000000000000000 000040 000003 00 AXl 0 0 1
|
|
\[ 3\] .data PROGBITS 0000000000000000 000044 000000 00 WA 0 0 4
|
|
\[ 4\] .bss NOBITS 0000000000000000 000044 000000 00 WA 0 0 4
|
|
\[ 5\] .foo.0 PROGBITS 0000000000000003 000044 000003 00 AXl 0 0 1
|
|
\[ 6\] .shstrtab STRTAB 0000000000000000 000047 000038 00 0 0 1
|
|
\[ 7\] .symtab SYMTAB 0000000000000000 [0-9a-f]+ [0-9a-f]+ 18 8 [0-9] 8
|
|
\[ 8\] .strtab STRTAB 0000000000000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1
|
|
Key to Flags:
|
|
W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\), l \(large\)
|
|
I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\)
|
|
O \(extra OS processing required\) o \(OS specific\), p \(processor specific\)
|