gcc/libgcc/config
Joseph Myers 883312dc79 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: r249731
2017-06-28 10:21:16 +01:00
..
aarch64 Use ucontext_t not struct ucontext in linux-unwind.h files. 2017-06-28 10:21:16 +01:00
alpha Use ucontext_t not struct ucontext in linux-unwind.h files. 2017-06-28 10:21:16 +01:00
arc [ARC] Fix divdf3 emulation for arcem. 2017-03-27 12:56:35 +02:00
arm [arm] Explicitly set .fpu in cmse_nonsecure_call.S 2017-06-16 21:04:52 +00:00
avr Update copyright years. 2017-01-01 13:07:43 +01:00
bfin Use ucontext_t not struct ucontext in linux-unwind.h files. 2017-06-28 10:21:16 +01:00
c6x Fix numerous typos in comments 2017-04-03 23:30:56 +01:00
cr16 Update copyright years. 2017-01-01 13:07:43 +01:00
cris Update copyright years. 2017-01-01 13:07:43 +01:00
epiphany Update copyright years. 2017-01-01 13:07:43 +01:00
fr30 Update copyright years. 2017-01-01 13:07:43 +01:00
frv Update copyright years. 2017-01-01 13:07:43 +01:00
ft32 Update copyright years. 2017-01-01 13:07:43 +01:00
h8300 Update copyright years. 2017-01-01 13:07:43 +01:00
i386 Use ucontext_t not struct ucontext in linux-unwind.h files. 2017-06-28 10:21:16 +01:00
ia64 Update copyright years. 2017-01-01 13:07:43 +01:00
iq2000 Update copyright years. 2017-01-01 13:07:43 +01:00
libbid Update copyright years. 2017-01-01 13:07:43 +01:00
lm32 Update copyright years. 2017-01-01 13:07:43 +01:00
m32c Update copyright years. 2017-01-01 13:07:43 +01:00
m32r Update copyright years. 2017-01-01 13:07:43 +01:00
m68k Use ucontext_t not struct ucontext in linux-unwind.h files. 2017-06-28 10:21:16 +01:00
mcore Update copyright years. 2017-01-01 13:07:43 +01:00
microblaze Update copyright years. 2017-01-01 13:07:43 +01:00
mips Make MIPS soft-fp preserve NaN payloads for NAN2008. 2017-01-04 17:06:33 +00:00
mmix Update copyright years. 2017-01-01 13:07:43 +01:00
moxie Update copyright years. 2017-01-01 13:07:43 +01:00
msp430 t-msp430 (LIB2ADD): Remove mpy.c 2017-01-17 22:56:10 -05:00
nds32 Update copyright years. 2017-01-01 13:07:43 +01:00
nios2 Use ucontext_t not struct ucontext in linux-unwind.h files. 2017-06-28 10:21:16 +01:00
nvptx Update copyright years. 2017-01-01 13:07:43 +01:00
pa Use ucontext_t not struct ucontext in linux-unwind.h files. 2017-06-28 10:21:16 +01:00
pdp11
riscv Use ucontext_t not struct ucontext in linux-unwind.h files. 2017-06-28 10:21:16 +01:00
rl78 Update copyright years. 2017-01-01 13:07:43 +01:00
rs6000 Fix white space. 2017-06-07 08:41:20 -04:00
rx Update copyright years. 2017-01-01 13:07:43 +01:00
s390 Update copyright years. 2017-01-01 13:07:43 +01:00
score Update copyright years. 2017-01-01 13:07:43 +01:00
sh Use ucontext_t not struct ucontext in linux-unwind.h files. 2017-06-28 10:21:16 +01:00
sol2 Update copyright years. 2017-01-01 13:07:43 +01:00
sparc lb1spc.S: Emit .note.GNU-stack section for a non-executable stack. 2017-05-15 07:36:18 +00:00
spu Update copyright years. 2017-01-01 13:07:43 +01:00
stormy16 Update copyright years. 2017-01-01 13:07:43 +01:00
tilegx
tilepro Use ucontext_t not struct ucontext in linux-unwind.h files. 2017-06-28 10:21:16 +01:00
v850 Update copyright years. 2017-01-01 13:07:43 +01:00
vax Update copyright years. 2017-01-01 13:07:43 +01:00
visium Update copyright years. 2017-01-01 13:07:43 +01:00
vms Update copyright years. 2017-01-01 13:07:43 +01:00
xtensa Use ucontext_t not struct ucontext in linux-unwind.h files. 2017-06-28 10:21:16 +01:00
darwin-64.c Update copyright years. 2017-01-01 13:07:43 +01:00
darwin-crt-tm.c Update copyright years. 2017-01-01 13:07:43 +01:00
darwin-crt3.c Update copyright years. 2017-01-01 13:07:43 +01:00
gthr-lynx.h Update copyright years. 2017-01-01 13:07:43 +01:00
gthr-rtems.h Update copyright years. 2017-01-01 13:07:43 +01:00
gthr-vxworks.h Update copyright years. 2017-01-01 13:07:43 +01:00
hardfp.c Update copyright years. 2017-01-01 13:07:43 +01:00
libgcc-glibc.ver Update copyright years. 2017-01-01 13:07:43 +01:00
libgcc-libsystem.ver
no-sfp-machine.h
no-unwind.h
t-crtfm
t-crtstuff-pic
t-darwin [Darwin] fix PR67710 by updating 'as' specs to handle newer assembler versions. 2016-11-27 15:07:22 +00:00
t-dfprules
t-eh-dw2-dip
t-fdpbit
t-fixedpoint-gnu-prefix
t-fpbit
t-freebsd-thread
t-gnu-prefix
t-hardfp Update copyright years. 2017-01-01 13:07:43 +01:00
t-hardfp-sfdf Update copyright years. 2017-01-01 13:07:43 +01:00
t-libgcc-pic
t-libunwind
t-libunwind-elf Update copyright years. 2017-01-01 13:07:43 +01:00
t-linux
t-openbsd-thread
t-rtems
t-slibgcc Update copyright years. 2017-01-01 13:07:43 +01:00
t-slibgcc-darwin
t-slibgcc-elf-ver
t-slibgcc-fuchsia Add fuchsia support to libgcc 2017-05-06 00:22:38 +00:00
t-slibgcc-gld
t-slibgcc-gld-nover
t-slibgcc-hpux
t-slibgcc-libgcc Update copyright years. 2017-01-01 13:07:43 +01:00
t-slibgcc-nolc-override
t-slibgcc-sld
t-slibgcc-vms
t-softfp Update copyright years. 2017-01-01 13:07:43 +01:00
t-softfp-compat Make soft-fp symbols into compat symbols for powerpc*-*-linux*. 2014-10-30 17:28:30 +00:00
t-softfp-excl
t-softfp-sfdf
t-softfp-sfdftf IA MCU psABI support: changes to libraries 2015-06-30 09:42:07 -07:00
t-softfp-tf
t-stack
t-tls
t-vxworks t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to the set of -I options... 2017-06-08 14:08:56 +00:00
unwind-dw2-fde-darwin.c Update copyright years. 2017-01-01 13:07:43 +01:00
vxlib-tls.c Update copyright years. 2017-01-01 13:07:43 +01:00
vxlib.c vxlib.c (__gthread_once): Add missing value to nested return statement. 2017-06-02 16:24:28 +00:00