 RealView Linker and Utilities Guide |
|
| Output from armlink2.1.2. Output from armlinkOutput from a successful invocation of armlink is one of the following: an executable image in ELF format a partially-linked object in ORC_Keil_OBJECT format a relocatable object in ORC_Keil_OBJECT format.
For simple images, ELF executable files contain segments that are approximately equivalent to RO and RW output sections in the image. An ELF executable file also has ELF sections that contain the image output sections. You can use fromelf to convert an executable image to other file formats. See Chapter 7 Using fromelf for more information. Constructing an executable imageWhen you use the linker to construct an executable image, it: resolves symbolic references between the input object files extracts object modules from libraries to satisfy otherwise unsatisfied symbolic references sorts input sections according to their attributes and names, and merges similarly attributed and named sections into contiguous chunks removes unused sections eliminates duplicate common groups and common code, data, and debug sections organizes object fragments into memory regions according to the grouping and placement information provided assigns addresses to relocatable values generates an executable image.
See Specifying the image structure for more information. Constructing a partially-linked objectWhen you use the linker to construct a partially‑linked object, it: eliminates duplicate copies of debug sections minimizes the size of the symbol table leaves unresolved references unresolved merges Comdat groups generates an object that can be used as an input to a subsequent link step.
NoteIf you use partial linking, you cannot refer to the component objects by name in a scatter‑loading description file. |
|