aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/init.c
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2015-11-12 12:38:28 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2015-11-12 12:38:28 +0100
commit311014705a3cf42caf7446caa95f4e4a34fce9be (patch)
treefa339846e5282acd562105c9ad0be87609fa21cf /gcc/ada/init.c
parent3095f7c6ebd5863450d82f11a5ca25c7b06581fe (diff)
downloadgcc-311014705a3cf42caf7446caa95f4e4a34fce9be.zip
gcc-311014705a3cf42caf7446caa95f4e4a34fce9be.tar.gz
gcc-311014705a3cf42caf7446caa95f4e4a34fce9be.tar.bz2
[multiple changes]
2015-11-12 Gary Dismukes <dismukes@adacore.com> * exp_ch5.adb, sem_ch3.adb, exp_util.ads, inline.adb, freeze.adb, sem_util.adb, sem_util.ads, par-ch6.adb, sem_elab.adb: Minor reformatting and a typo fix. 2015-11-12 Ed Schonberg <schonberg@adacore.com> * sem_ch12.adb (Preanalyze_Actuals): Add guard on use of Incomplete_Actuals, which are only stored for a package instantiation, in order to place the instance in the body of the enclosing unit. 2015-11-12 Ed Schonberg <schonberg@adacore.com> * exp_intr.adb: Add legality checks on calls to a Generic_Dispatching_Constructor: the given tag must be defined, it cannot be the tag of an abstract type, and its accessibility level must not be greater than that of the constructor. 2015-11-12 Ed Schonberg <schonberg@adacore.com> * sem_ch4.adb (Try_Container_Indexing, Constant_Indexing_OK): If the context is an overloaded call, assume that Constant_Indexing is not OK if an interpretation has an assignable parameter corresponding to the indexing expression. 2015-11-12 Jerome Lambourg <lambourg@adacore.com> * init.c (__gnat_error_handler): Force the SPE bit of the MSR when executing on e500v2 CPU. 2015-11-12 Hristian Kirtchev <kirtchev@adacore.com> * sem_prag.adb (Analyze_Constituent): Stop the analysis after detecting a misplaced constituent as this is a critical error. From-SVN: r230239
Diffstat (limited to 'gcc/ada/init.c')
-rw-r--r--gcc/ada/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/init.c b/gcc/ada/init.c
index 243f3b8..0ce6423 100644
--- a/gcc/ada/init.c
+++ b/gcc/ada/init.c
@@ -1919,11 +1919,11 @@ __gnat_error_handler (int sig, siginfo_t *si, void *sc)
{
sigset_t mask;
- /* VxWorks 7 on e500v2 clears the SPE bit of the MSR when entering CPU
+ /* VxWorks on e500v2 clears the SPE bit of the MSR when entering CPU
exception state. To allow the handler and exception to work properly
when they contain SPE instructions, we need to set it back before doing
anything else. */
-#if (CPU == PPCE500V2) && (_WRS_VXWORKS_MAJOR == 7)
+#if (CPU == PPCE500V2) || (CPU == PPC85XX)
register unsigned msr;
/* Read the MSR value */
asm volatile ("mfmsr %0" : "=r" (msr));