This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add <bits/indirect-return.h>
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