|
|||||||||||
|
Technical Support On-Line Manuals Compiler User Guide |
Compiler User GuideMinimizing code size by reducing compilation required for interworking
The linker detects when an ARM function is being called from a Thumb state, and when a Thumb function is being called from an ARM state. You can use feedback from the linker to avoid compiling functions for interworking that are never used in an interworking context. NoteReduction of compilation required for interworking is only applicable to ARMv4T architectures. ARMv5T and later processors can interwork without penalty. To reduce compilation required for interworking:
The compiler uses the feedback file generated by the linker to compile the source code in a way that enables the compiler to subsequently avoid compiling functions for interworking if those functions are not used in an interworking context. NoteAlways ensure that you perform a full clean build immediately prior to using the linker feedback file. This minimizes the risk of the feedback file becoming out of date with the source code it was generated from.
| ||||||||||
|
|||||||||||