aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/init.c
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2011-10-13 12:43:52 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2011-10-13 12:43:52 +0200
commit8417f4b28eb60a8c3eae7d61726a57c468e19b8d (patch)
tree6084b399269b8db763f9195e3dae8b9830eead87 /gcc/ada/init.c
parent4674dd2104ea80247a6fda5e95ff27120ba48062 (diff)
downloadgcc-8417f4b28eb60a8c3eae7d61726a57c468e19b8d.zip
gcc-8417f4b28eb60a8c3eae7d61726a57c468e19b8d.tar.gz
gcc-8417f4b28eb60a8c3eae7d61726a57c468e19b8d.tar.bz2
[multiple changes]
2011-10-13 Fedor Rybin <frybin@adacore.com> * gnat_ugn.texi: Add gnattest section. 2011-10-13 Ed Schonberg <schonberg@adacore.com> * freeze.adb: Do not create body of renaming if declaration has errors. 2011-10-13 Olivier Hainque <hainque@adacore.com> * init.c (__gnat_error_handler - vxworks case): Restrict sigtramp calls further, to the ppc+kernel case only. 2011-10-13 Hristian Kirtchev <kirtchev@adacore.com> * 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. From-SVN: r179906
Diffstat (limited to 'gcc/ada/init.c')
-rw-r--r--gcc/ada/init.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/ada/init.c b/gcc/ada/init.c
index 7eee3bf..9ac475d 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"