This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
symbol resolution in linker?
- From: "Vineet Sharma, Noida" <vineets at noida dot hcltech dot com>
- To: binutils at sources dot redhat dot com
- Date: Fri, 28 Nov 2003 10:47:24 +0530
- Subject: symbol resolution in linker?
Hi,
when my BFD_ASSEMBLER encounters an undefined label(say xyz), it makes
and reloc entry of (xyz and section "*UND*"), and when my linker tries to
reloc it finds section "*UND*" and coundn't find the absolute address for
the symbol. Now which part in linker is responsible to find correct "xyz"
symbol and pass it on to coff_XXX_reloc(abfd, reloc_entry, symbol_in, data,
input_section, output_bfd,error_message) function any help.
As of now i see that the bfd depends on reloc entry for symbol resolution
even it was undefined?
Any help
Regards
Vineet