Final symbol value adjustment

Alan Modra amodra@bigpond.net.au
Fri Dec 5 04:07:00 GMT 2008


On Thu, Dec 04, 2008 at 07:43:30PM -0800, Oleg Volf wrote:
> I couldn't find in the code place where symbol values adjusted after merging input sections into output section and where these adjusted values are written in the final symbol table. Could you please point me these places in the code?

For ELF global syms, elflink.c:elf_link_output_extsym.  ELF local syms
are output starting in elflink.c:bfd_elf_final_link and then in
elf_link_input_bfd.  Look for elf_link_output_sym.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list