ARM5 supported function specific optimization level whereas ARM6 does not allow function specific optimization. Only File level optimization is supported.How do we migrate this code to ARM6 ?
You are correct. The solution is to separate such functions to their own file.
This is documented here:https://developer.arm.com/documentation/100068/0620/Compiler-Source-Code-Compatibility/Language-extension-compatibility--pragmas
Regards, Ronan
Thank you