David Schleef <ds@schleef.org> writes:
Symbol references are not necessarily resolved at that time, unless
you define LD_BIND_NOW or are using prelinking. There's really no
method of doing "lazy linking" as you suggest with C, since it would
either fail (such as with global variables in libraries) or be
required to violate the ISO standard, such as taking the address of
a function.
There is no requirement that the linker be written in C, or that it
follow any standard whatsoever as long as the interface and operation
visible to applications is as expected.