Linker command files consist of three kinds of segments, which
must be in this order:
- A
memory segment, which begins with the
MEMORY{} directive
- Optional
closure segments, which begin with the
FORCE_ACTIVE{},
KEEP_SECTION{}, or
REF_INCLUDE{} directives
- A
sections segment, which begins with the
SECTIONS{} directive