English
Language : 

AN3350 Datasheet, PDF (84/185 Pages) STMicroelectronics – eTPU compiler tools
Working with the ELF linker
AN3350
11.4.2
11.4.3
11.4.4
11.4.5
11.4.6
Note:
__end = .;
} > DATA
ALIGN
Advance the location counter so that it will be aligned on a boundary specified by the value
of alignValue.
Prototype
ALIGN(alignValue)
Parameter
alignValue
The number of address lower bits that should be cleared, for example - ALIGN(3) will align
to the nearest aligned 8 byte address.
FORCE_ACTIVE
Allows you to specify symbols that you do not want the linker to dead strip. When using C++,
you must specify symbols using their mangled names.
Prototype
FORCE_ACTIVE{ symbol[, symbol] }
KEEP_SECTION
Allows you to specify sections that you do not want the linker to dead strip.
Prototype
KEEP_SECTION{ sectionType[, sectionType] }
FORCE_FILE
Allows you to specify files that you do not want the linker to dead strip.
Prototype
FORCE_FILE{file[, file]}
MEMORY
Allows you to describe the location and size of memory segment blocks on the target
system. You use this directive to tell the linker the memory areas to avoid, and the memory
areas into which it should link your code and data.
The linker command file must contain only one MEMORY directive. Within the confines of the
MEMORY directive, however, you can define as many memory segments as you wish.
Prototype
MEMORY {memory_spec}
84/185
Doc ID 018512 Rev 2