2. Supported Linking Modes
A linking model is a group of command-line options and memory maps that control the behavior of the linker. The linking models supported by eld are:
2.1. Static Linking
In this mode, all the symbol definitions/functions are copied in the final executable.
2.2. Dynamic Linking
In Dynamic linking is accomplished by placing the name of a sharable library in the executable image. Actual linking with the library routines does not occur until the image is run, when both the executable and the library are placed in memory. An advantage of dynamic linking is that multiple programs can share a single copy of the library.
2.3. Partial Linking
This model produces a relocatable ELF object suitable for input to the linker in a subsequent link step. The partial object can be used as input to another link step. The linker performs limited processing of input objects to produce a single output object