gcc: H8/300 Function Attributes
1
1 6.31.9 H8/300 Function Attributes
1 ---------------------------------
1
1 These function attributes are available for H8/300 targets:
1
1 'function_vector'
1 Use this attribute on the H8/300, H8/300H, and H8S to indicate that
1 the specified function should be called through the function
1 vector. Calling a function through the function vector reduces
1 code size; however, the function vector has a limited size (maximum
1 128 entries on the H8/300 and 64 entries on the H8/300H and H8S)
1 and shares space with the interrupt vector.
1
1 'interrupt_handler'
1 Use this attribute on the H8/300, H8/300H, and H8S to indicate that
1 the specified function is an interrupt handler. The compiler
1 generates function entry and exit sequences suitable for use in an
1 interrupt handler when this attribute is present.
1
1 'saveall'
1 Use this attribute on the H8/300, H8/300H, and H8S to indicate that
1 all registers except the stack pointer should be saved in the
1 prologue regardless of whether they are used or not.
1