gcc/libgcc/config/pa
Joseph Myers 1a8be74612 Use ucontext_t not struct ucontext in linux-unwind.h files.
Current glibc no longer gives the ucontext_t type the tag struct
ucontext, to conform with POSIX namespace rules.  This requires
various linux-unwind.h files in libgcc, that were previously using
struct ucontext, to be fixed to use ucontext_t instead.  This is
similar to the removal of the struct siginfo tag from siginfo_t some
years ago.

This patch changes those files to use ucontext_t instead.  As the
standard name that should be unconditionally safe, so this is not
restricted to architectures supported by glibc, or conditioned on the
glibc version.

Tested compilation together with current glibc with glibc's
build-many-glibcs.py.

	* config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
	config/alpha/linux-unwind.h (alpha_fallback_frame_state),
	config/bfin/linux-unwind.h (bfin_fallback_frame_state),
	config/i386/linux-unwind.h (x86_64_fallback_frame_state,
	x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
	uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
	config/pa/linux-unwind.h (pa32_fallback_frame_state),
	config/riscv/linux-unwind.h (riscv_fallback_frame_state),
	config/sh/linux-unwind.h (sh_fallback_frame_state),
	config/tilepro/linux-unwind.h (tile_fallback_frame_state),
	config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
	ucontext_t instead of struct ucontext.

From-SVN: r249956
2017-07-04 11:22:56 +01:00
..
fptr.c Update copyright years. 2017-01-01 13:07:43 +01:00
gthr-dce.h Update copyright years. 2017-01-01 13:07:43 +01:00
hpux-unwind.h Update copyright years. 2017-01-01 13:07:43 +01:00
lib2funcs.S Update copyright years. 2017-01-01 13:07:43 +01:00
linux-atomic.c Update copyright years. 2017-01-01 13:07:43 +01:00
linux-unwind.h Use ucontext_t not struct ucontext in linux-unwind.h files. 2017-07-04 11:22:56 +01:00
milli64.S Update copyright years. 2017-01-01 13:07:43 +01:00
pa64-hpux-lib.h Update copyright years. 2017-01-01 13:07:43 +01:00
quadlib.c Update copyright years. 2017-01-01 13:07:43 +01:00
stublib.c Update copyright years. 2017-01-01 13:07:43 +01:00
t-hpux Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
t-hpux10 Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
t-linux Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
t-linux64 Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
t-openbsd config.host (hppa-*-openbsd*): New target. 2012-09-20 01:20:34 +00:00
t-pa64 Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
t-slibgcc-dwarf-ver
t-slibgcc-hpux Update copyright years. 2017-01-01 13:07:43 +01:00
t-slibgcc-sjlj-ver
t-stublib re PR other/51272 (ld: Unsatisfied symbol "_ITM_registerTMCloneTable" in file /test/gnu/gcc/objdir/) 2011-12-01 02:37:06 +00:00