This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Final symbol value adjustment
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Oleg Volf <ykvolf at yahoo dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 5 Dec 2008 14:36:17 +1030
- Subject: Re: Final symbol value adjustment
- References: <358131.56231.qm@web111110.mail.gq1.yahoo.com>
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