Commit 19fb0439 by Doug Rupp Committed by Pierre-Marie de Rodat

[Ada] Enable sigtramp for aarch64-vx7

2018-01-11  Doug Rupp  <rupp@adacore.com>

gcc/ada/

	* init.c (vxworks): Add macro checks for __aarch64__.

From-SVN: r256494
parent 80631298
2018-01-11 Doug Rupp <rupp@adacore.com>
* init.c (vxworks): Add macro checks for __aarch64__.
2018-01-11 Hristian Kirtchev <kirtchev@adacore.com>
* exp_util.adb (Add_Failure_Expression): New routine.
......
......@@ -1937,7 +1937,7 @@ __gnat_map_signal (int sig,
Raise_From_Signal_Handler (exception, msg);
}
#if defined (ARMEL) && (_WRS_VXWORKS_MAJOR >= 7)
#if defined (ARMEL) && (_WRS_VXWORKS_MAJOR >= 7) || defined (__aarch64__)
/* ARM-vx7 case with arm unwinding exceptions */
#define HAVE_GNAT_ADJUST_CONTEXT_FOR_RAISE
......@@ -2005,7 +2005,7 @@ __gnat_error_handler (int sig, siginfo_t *si, void *sc)
sigdelset (&mask, sig);
sigprocmask (SIG_SETMASK, &mask, NULL);
#if defined (__ARMEL__) || defined (__PPC__) || defined (__i386__) || defined (__x86_64__)
#if defined (__ARMEL__) || defined (__PPC__) || defined (__i386__) || defined (__x86_64__) || defined (__aarch64__)
/* On certain targets, 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment