Hello,
we are using the TI ARM Code Generation Tools v5.1.1 for a TMS570.
We are developing a software library where functions shall only be linked if they are really used by the application image.
Therefore we are using the "--gen_func_subsections" Compiler Option in combination with the EABI model.
Additionally. we need to conditionally link our interrupt service routines, defined by the "interrupt" keyword. Looking to the documentation of the "--gen_func_subsections" option (spnu151i.pdf, page 73) tell us that generally the .clink directive is not placed for interrupt service routines.
But this could be done with the "CLINK" pragma.
Anyway, in the documentation (spnu118l.pdf) for the .clink directive (page 100) there is stated that this directive is useless in cobination with the EABI model.
In our point of view the .clink is not useless with EABI, it is still applicable for interrupt service routines.
Is this correct?
Is there another method to enable conditionally linking for interrupts?