[PATCH] Add <bits/indirect-return.h>

Joseph Myers joseph@codesourcery.com
Wed Jul 18 22:39:00 GMT 2018


On Wed, 18 Jul 2018, H.J. Lu wrote:

> +/* __INDIRECT_RETURN is used on swapcontext() to indicate if it

As per the GNU Coding Standards, don't use () to indicate you're referring 
to a function, only when referring to a function call with no arguments.

> +/* On x86, swapcontext() returns via indirect branch when the shadow
> +   stack is enabled.  Define __INDIRECT_RETURN to indicate if
> +   swapcontext() returns via indirect branch.  */

Likewise.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list