[Ada] Don't define HAVE_ADJUST_CONTEXT_FOR_RAISE on VxWorks7 for AArch64

2018-05-22  Doug Rupp  <rupp@adacore.com>

gcc/ada/

	* init.c (HAVE_ADJUST_CONTEXT_FOR_RAISE): Don't define on VxWorks7 for
	AArch64.

From-SVN: r260534
This commit is contained in:
Doug Rupp 2018-05-22 13:27:06 +00:00 committed by Pierre-Marie de Rodat
parent f6904af09d
commit 143a4acd3b
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2018-05-22 Doug Rupp <rupp@adacore.com>
* init.c (HAVE_ADJUST_CONTEXT_FOR_RAISE): Don't define on VxWorks7 for
AArch64.
2018-05-22 Olivier Hainque <hainque@adacore.com>
* libgnat/a-except.adb (Exception_Propagation.Propagate_Exception):

View file

@ -1937,7 +1937,7 @@ __gnat_map_signal (int sig,
Raise_From_Signal_Handler (exception, msg);
}
#if defined (ARMEL) && (_WRS_VXWORKS_MAJOR >= 7) || defined (__aarch64__)
#if defined (ARMEL) && (_WRS_VXWORKS_MAJOR >= 7) && !defined (__aarch64__)
/* ARM-vx7 case with arm unwinding exceptions */
#define HAVE_GNAT_ADJUST_CONTEXT_FOR_RAISE