These function attributes are supported by the ARC back end:
On the ARC, you must specify the kind of interrupt to be handled in a parameter to the interrupt attribute like this:
void f () __attribute__ ((interrupt ("ilink1")));
Permissible values for this parameter are:
For ARC, a function marked with the
attribute is always called using register-indirect jump-and-link instructions, thereby enabling the called function to be placed anywhere within the 32-bit address space. A function marked with the
attribute will always be close enough to be called with an unconditional branch-and-link instruction, which has a 25-bit offset from the call site. A function marked with the
attribute will always be close enough to be called with a conditional branch-and-link instruction, which has a 21-bit offset from the call site.
jliinstruction makes use of a table stored into
.jlitabsection, which holds the location of the functions which are addressed using this instruction.
jlitable is known and given as an attribute parameter.
sjlitable needs to be passed as argument.