summaryrefslogtreecommitdiff
path: root/gcc/ada/init.c
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-13 10:43:52 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-13 10:43:52 +0000
commit3295b1fa6f2976b279bd5770a48aaae5dbeb5f2c (patch)
tree6084b399269b8db763f9195e3dae8b9830eead87 /gcc/ada/init.c
parentaa1f8c8b11620fd1a1d65405d79e1aad1ac7a280 (diff)
downloadgcc-3295b1fa6f2976b279bd5770a48aaae5dbeb5f2c.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179906 138bc75d-0d04-0410-961f-82ee72b054a4
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 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"