|Home > Linking Models Supported by armlink > Overview of linking models|
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 armlink are:
This model produces a bare-metal Position Independent Executable (PIE). This is an executable that does not need to be executed at a specific address but can be executed at any suitably aligned address. All objects and libraries linked into the image must be compiled to be position independent.
This model supports the DLL-like Base Platform Application Binary Interface (BPABI). It is intended to produce applications and DLLs that can run on a platform OS that varies in complexity. The memory model is restricted according to the Base Platform ABI for the Arm® Architecture (IHI 0037 C).
This is an extension to the BPABI model to support scatter-loading.
You can combine related options in each model to tighten control over the output.