[PATCH] ucontext.h: Add __INDIRECT_RETURN
Joseph Myers
joseph@codesourcery.com
Wed Jul 18 20:59:00 GMT 2018
On Wed, 18 Jul 2018, H.J. Lu wrote:
> +#ifndef __INDIRECT_RETURN
> +# define __INDIRECT_RETURN
> +#endif
This default definition is missing a comment to define the semantics of
this macro. And please avoid this #ifndef convention. Rather, the normal
glibc convention would be to have e.g. a bits/indirect-return.h installed
header, with a default version with an empty definition and a comment
documenting the semantics, and a separate x86 version.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list