|
|||||||||||
Technical Support On-Line Manuals Linker User Guide ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
About linker feedback
4.5 About linker feedbackLinker feedback is a collaboration between the compiler and linker that can increase the amount of unused code that can be removed from an ELF image. The feedback option produces a text file containing a list of unused functions, and
functions that have been inlined by the linker. This information can be fed back to the
compiler, which can rebuild the objects, placing these functions in their own sections.
These sections can then be removed by the linker during usual unused section
elimination.
The feedback file has the following format:
;#<FEEDBACK># ARM Linker, The feedback file contains an entry for each object file. Each entry contains:
To use linker feedback, specify
--feedback on the
linker and compiler command lines.NoteThe compiler issues a warning message if no feedback file exists. Therefore, you might
want to leave the
--feedback option off the first
invocation of the compiler.Additional feedback options are provided by the linker:
Related conceptsRelated tasksRelated referenceRelated information | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.