[PATCH/committed] ia64: sifaction.h: change sa_flags to an int
Joseph Myers
joseph@codesourcery.com
Wed Jul 22 17:28:00 GMT 2015
On Tue, 21 Jul 2015, Mike Frysinger wrote:
> diff --git a/sysdeps/unix/sysv/linux/ia64/bits/sigaction.h b/sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
> index 2f64f19..46d03fa 100644
> --- a/sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
> +++ b/sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
> @@ -40,7 +40,8 @@ struct sigaction
> #endif
>
> /* Special flags. */
> - unsigned long int sa_flags;
> + int __glibc_reserved0;
> + int sa_flags;
ia64 is little-endian in glibc - doesn't this need to be the other way
around to be a compatible change?
Have you verified that (a) the kernel always ignores the high bits and (b)
other structure members have sufficient alignment requirements that this
change does not reduce the alignment requirement of the structure?
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list