This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
where do undefined symbols get resolved?
- From: Doug Evans <dje at transmeta dot com>
- To: binutils at sources dot redhat dot com
- Date: Tue, 23 Jul 2002 23:43:36 -0700
- Subject: where do undefined symbols get resolved?
Would someone mind pointing me to the source for the code that
resolves undefined symbols?
target = elf
input = foo.o --just-symbols=foo2.elf
foo.o has an undefined symbol that is resolved by foo2.elf
which is a fully linked executable.
Where in the linker or bfd sources is the code that resolves
the undefined symbol? i.e. the actual line that says, figuratively,
undefined_symbol->value = x;