Simon Atanasyan <si...@atanasyan.com> writes:
> Here is the updated patch with chnaged e-mail address and fixed
> indentation issues:
> -8<--------------------
> Currently GCC supports 'long_call', 'far', and 'near' attributes. The
> 'long_call' and 'far' attributes are synonyms. This patch adds support
> for the 'short_call' attribute as a synonym for `near` to make this list
> complete, consistent with other targets, and compatible with attributes
> supported by the Clang.
> 
> Tested on mipsel-linux-gnu.
> 
> 2017-08-18  Simon Atanasyan  <simon.atanas...@imgtec.com>
> 
> gcc/
>       * config/mips/mips.c (mips_attribute_table): Add 'short_call'
>       attribute.
>       (mips_near_type_p): Add 'short_call' attribute as a synonym
>       for 'near'.
>       * doc/extend.texi (short_call): Document new function attribute.
> 
> gcc/testsuite
> 
>       * gcc.target/mips/near-far-1.c: Add check for 'short_call'
>       attribute.
>       * gcc.target/mips/near-far-2.c: Likewise.
>       * gcc.target/mips/near-far-3.c: Likewise.
>       * gcc.target/mips/near-far-4.c: Likewise.

OK to commit, thanks.

Matthew

Reply via email to