Simon Atanasyan <[email protected]> writes: > On Mon, Sep 11, 2017 at 03:26:52PM +0000, Matthew Fortune wrote: > > Simon Atanasyan <[email protected]> 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 <[email protected]> > > > > > > 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. > > Thanks for review. I do not have commit access. Could you commit the > patch?
Sure, committed as r252006. Matthew
