|Home > Image Structure and Generation > How the linker performs library searching, selection, and scanning|
The linker always searches user libraries before the Arm® libraries.
If you specify the
option, the linker does not search for the default Arm libraries and uses
only those libraries that are specified in the input file list to resolve references.
The linker creates an internal list of libraries as follows:
The user-specified search path is examined to identify Arm standard libraries to satisfy requests embedded in the input objects.
The best-suited library variants are chosen from the searched directories and their subdirectories. Libraries supplied by Arm have multiple variants that are named according to the attributes of their members.
Be aware of the following differences between the way the linker adds object files to the image and the way it adds libraries to the image:
A member from a library is included in the output only if:
Unresolved references to weak symbols do not cause library members to be loaded.