Before the linker calls the
_bfd_final_link entry point,
it sets up some data structures for the function to use.
input_bfds field of the
will point to a list of all the input files included in the
link. These files are linked through the
Each section in the output file will have a list of
link_order structures attached to the
link_order structure is defined in
bfdlink.h). These structures describe how to create the
contents of the output section in terms of the contents of
various input sections, fill constants, and, eventually, other
types of information. They also describe relocs that must be
created by the BFD backend, but do not correspond to any input
file; this is used to support -Ur, which builds constructors
while generating a relocatable object file.