From 3295b1fa6f2976b279bd5770a48aaae5dbeb5f2c Mon Sep 17 00:00:00 2001 From: charlet Date: Thu, 13 Oct 2011 10:43:52 +0000 Subject: 2011-10-13 Fedor Rybin * gnat_ugn.texi: Add gnattest section. 2011-10-13 Ed Schonberg * freeze.adb: Do not create body of renaming if declaration has errors. 2011-10-13 Olivier Hainque * init.c (__gnat_error_handler - vxworks case): Restrict sigtramp calls further, to the ppc+kernel case only. 2011-10-13 Hristian Kirtchev * exp_ch4.adb (Expand_N_Allocator): Comment reformatting. * exp_ch6.adb (Add_Unconstrained_Actuals_To_Build_In_Place_Call): Do not create a pool formal on .NET/JVM. (Expand_N_Extended_Return_Statement): Alphabetize local variables. Do not create a renaming of the build-in-place pool parameter on .NET/JVM. (Make_Build_In_Place_Call_In_Allocator): Add the user-defined pool only on non-VM targets. (Make_Build_In_Place_Call_In_Object_Declaration): Alphabetize local variables. Do not add a pool actual on .NET/JVM. * sem_ch6.adb: Add with and use clause for Targparm. (Create_Extra_Formals): Add build-in-place pool formal only on non-VM targets. * rtsfind.ads: Alphabetize entries. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179906 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ada/init.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gcc/ada/init.c') diff --git a/gcc/ada/init.c b/gcc/ada/init.c index 7eee3bf19b4..9ac475da3c5 100644 --- a/gcc/ada/init.c +++ b/gcc/ada/init.c @@ -2014,13 +2014,13 @@ __gnat_error_handler (int sig, void *si, struct sigcontext *sc) sigdelset (&mask, sig); sigprocmask (SIG_SETMASK, &mask, NULL); -#if defined (__PPC__) - /* On PowerPC, we process signals through a Call Frame Info trampoline, - voiding the need for myriads of fallback_frame_state variants in the - ZCX runtime. We have no simple way to distinguish ZCX from SJLJ here, - so we do this for SJLJ as well even though this is not necessary. - This only incurs a few extra instructions and a tiny amount of extra - stack usage. */ +#if defined (__PPC__) && defined(_WRS_KERNEL) + /* On PowerPC, kernel mode, we process signals through a Call Frame Info + trampoline, voiding the need for myriads of fallback_frame_state + variants in the ZCX runtime. We have no simple way to distinguish ZCX + from SJLJ here, so we do this for SJLJ as well even though this is not + necessary. This only incurs a few extra instructions and a tiny + amount of extra stack usage. */ #include "sigtramp.h" -- cgit v1.2.1