This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]