glibc/sysdeps/unix/sysv/linux/powerpc
Joseph Myers d57cb31910 Miscellaneous sys/ucontext.h namespace fixes (bug 21457).
This patch fixes various miscellaneous namespace issues in
sys/ucontext.h headers.

Some struct tags are removed where the structs also have *_t typedef
names, while other struct tags without such names are renamed to start
__; the changes are noted in NEWS as they can affect C++ name mangling
(although there seems to be little if any external use of these types,
at least based on checking codesearch.debian.net).  For powerpc,
pointers to struct pt_regs (not defined in this header) are changed to
point to struct __ctx(pt_regs), so in the __USE_MISC case those struct
fields continue to point to the existing struct pt_regs type for
maximum compatibility, while when that's a namespace issue they point
to a struct __pt_regs type which is always an incomplete struct.

Tested for affected architectures with build-many-glibcs.py.

	[BZ #21457]
	* sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
	struct tag.
	* sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
	Likewise.
	* sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
	Likewise.
	* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
	Declare struct type with __ctx.
	[__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
	tag.
	(ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
	and regs field name.
2017-06-28 10:33:23 +00:00
..
bits Split up bits/sigstack.h. 2017-05-19 20:35:07 +00:00
powerpc32 Call exit directly in clone (BZ #21512) 2017-06-26 17:52:20 -03:00
powerpc64 Call exit directly in clone (BZ #21512) 2017-06-26 17:52:20 -03:00
powerpc64le powerpc64le: Enable float128 2017-06-26 15:04:47 -03:00
sys Miscellaneous sys/ucontext.h namespace fixes (bug 21457). 2017-06-28 10:33:23 +00:00
Implies
Makefile powerpc: add sysconf support for cache geometries 2017-06-09 14:36:22 -03:00
Versions
arch-fork.h
configure
configure.ac
dl-brk.S
dl-cache.h
dl-static.c
dl-sysdep.c
elision-conf.c
elision-conf.h
elision-lock.c
elision-timed.c
elision-trylock.c
elision-unlock.c
force-elision.h
get_clockfreq.c
get_timebase_freq.c
getdents64.c
getmsg.c
gettimeofday.c
htm.h
init-first.c
ioctl.c Clean pthread functions namespaces for C11 threads 2017-06-23 17:38:17 -03:00
ipc_priv.h
kernel-features.h
kernel_termios.h
ldconfig.h
ldd-rewrite.sed
ldsodefs.h
libc-start.c
libc-vdso.h
lowlevellock.h
nldbl-abi.h
profil-counter.h
pt-longjmp.c
pthread_attr_setstack.c
pthread_attr_setstacksize.c
pthread_mutex_cond_lock.c
pthread_mutex_lock.c
pthread_mutex_timedlock.c
pthread_mutex_trylock.c
putmsg.c
readdir64.c
readdir64_r.c
readelflib.c
rt-sysdep.c
sigcontextinfo.h
syscall.S
sysconf.c powerpc: fix sysconf support for cache geometries 2017-06-23 09:10:32 -03:00
sysdep.c
test-gettimebasefreq.c
test-powerpc-linux-sysconf.c powerpc: add sysconf support for cache geometries 2017-06-09 14:36:22 -03:00
time.c