We have linker warnings as below :
----------------------
warning: Possible codesize or performance degradation. Section
".text:tietb.c66ak2hxx_c66x_elf.lib<TIETB.obj>" has calls to rts routines,
but rts is placed out of range from call site at 0xa1117ef8, or in a
different section. To optimize codesize, either 1) place rts closer to call
site, or 2) place rts in same section, or 3) compile with
--disable_push_pop.
-----------------------
Examining the library source does not reveal any rts dependency. From the 3rd workaround that is suggested above, looking up the compiler UG to understand what it means, all it has in the documentation is below in a table of debug options:
--disable_push_pop Disables push-pop optimization
The library in question is not sensitive to performance so we could use the 3) option but we would like to better understand what it means to prevent suppressing it for genuine cases where performance is important before we use it. Can you provide a more detailed explanation (and possibly update the compiler UG also)