Changes the behavior of the linker when writing a feedback file with scatter-loading.
Syntax
--feedback_image=option
Where option
is one of the following:
none
Uses the scatter file to determine region size limits. Disables region overlap and
region size overflow messages. Does not write an ELF image. Error messages are still
produced if a region overflows the 32-bit address space.
noerrors
Uses the scatter file to determine region size limits. Warns on region overlap and
region size overflow messages. Writes an ELF image, which might not be executable.
Error messages are still produced if a region overflows the 32-bit address
space.
simple
Ignores the scatter file. Disables ROPI/RWPI errors and warnings. Writes an ELF
image, which might not be executable.
full
Enables all error and warning messages and writes a valid ELF image.
Usage
Use this option to produce a feedback file where an executable ELF image cannot be created.
That is, when your code does not fit into the region limits described in your scatter file
before unused functions are removed using linker feedback.
Default
The default option is --feedback_image=full
.