These function attributes are supported by the M32R/D back end:
interrupt
model (
model-name)
small
, medium
, or large
, representing each of the code models. Small model objects live in the lower 16MB of memory (so that their addresses can be loaded with the ld24
instruction), and are callable with the bl
instruction.
Medium model objects may live anywhere in the 32-bit address space (the compiler generates seth/add3
instructions to load their addresses), and are callable with the bl
instruction.
Large model objects may live anywhere in the 32-bit address space (the compiler generates seth/add3
instructions to load their addresses), and may not be reachable with the bl
instruction (the compiler generates the much slower seth/add3/jl
instruction sequence).
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-6.3.0/gcc/M32R_002fD-Function-Attributes.html