gcc: MeP Function Attributes

1 
1 6.31.15 MeP Function Attributes
1 -------------------------------
1 
1 These function attributes are supported by the MeP back end:
1 
1 'disinterrupt'
1      On MeP targets, this attribute causes the compiler to emit
1      instructions to disable interrupts for the duration of the given
1      function.
1 
1 'interrupt'
1      Use this attribute to indicate that the specified function is an
1      interrupt handler.  The compiler generates function entry and exit
1      sequences suitable for use in an interrupt handler when this
1      attribute is present.
1 
1 'near'
1      This attribute causes the compiler to assume the called function is
1      close enough to use the normal calling convention, overriding the
1      '-mtf' command-line option.
1 
1 'far'
1      On MeP targets this causes the compiler to use a calling convention
1      that assumes the called function is too far away for the built-in
1      addressing modes.
1 
1 'vliw'
1      The 'vliw' attribute tells the compiler to emit instructions in
1      VLIW mode instead of core mode.  Note that this attribute is not
1      allowed unless a VLIW coprocessor has been configured and enabled
1      through command-line options.
1