symbol resolution in linker?

Vineet Sharma, Noida vineets@noida.hcltech.com
Fri Nov 28 05:15:00 GMT 2003


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



More information about the Binutils mailing list