ELF Linker and Command Language

This chapter explains the CodeWarrior Executable and Linking Format (ELF) Linker. Beyond making a program file from your project's object files, the linker has several extended functions for manipulating program code in different ways. You can define variables during linking, control the link order down to the level of single functions, and change the alignment.

You can access these functions through commands in the linker command file (LCF). The LCF syntax and structure are similar to those of a programming language; the syntax includes keywords, directives, and expressions.

Note: Refer Application Note AN4498 - CodeWarrior Linker Command File (LCF) for Kinetis for more LCF details and examples.

This chapter consists of these sections: