mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +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.
12 lines
553 B
R
12 lines
553 B
R
|
|
Relocation section '.rela.text' at offset 0x[0-9a-f]+ contains 8 entries:
|
|
Offset +Info +Type +Sym.Value +Sym. Name \+ Addend
|
|
0+16 +[0-9a-f]+ R_PPC_ADDR16_HA +0+ +.text \+ 4000034
|
|
0+1a +[0-9a-f]+ R_PPC_ADDR16_LO +0+ +.text \+ 4000034
|
|
0+6 +[0-9a-f]+ R_PPC_ADDR16_HA +0+ +.text \+ 4000034
|
|
0+a +[0-9a-f]+ R_PPC_ADDR16_LO +0+ +.text \+ 4000034
|
|
0+26 +[0-9a-f]+ R_PPC_ADDR16_HA +0+ +undefined \+ 0
|
|
0+2a +[0-9a-f]+ R_PPC_ADDR16_LO +0+ +undefined \+ 0
|
|
0+400003e +[0-9a-f]+ R_PPC_ADDR16_HA +0+ +_start \+ 0
|
|
0+4000042 +[0-9a-f]+ R_PPC_ADDR16_LO +0+ +_start \+ 0
|