mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
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.
13 lines
326 B
Makefile
13 lines
326 B
Makefile
|
|
Symbol table '.symtab' contains .. entries:
|
|
+Num: +Value +Size +Type +Bind +Vis +Ndx +Name
|
|
#...
|
|
+..: 0[0-9a-f]+ +7 +FUNC +LOCAL +DEFAULT +. _func
|
|
#...
|
|
+..: 0[0-9a-f]+ +0 +NOTYPE +LOCAL +DEFAULT +. A
|
|
#...
|
|
+..: 0[0-9a-f]+ +7 +FUNC +GLOBAL +DEFAULT +. _func2
|
|
#...
|
|
+..: 0[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +. BOTTOM
|
|
#...
|