[Ada] RTEMS: add traceback support for AArch64

gcc/ada/

	* tracebak.c: Add AArch64 RTEMS support.
This commit is contained in:
Patrick Bernardi 2021-11-12 20:01:20 -05:00 committed by Pierre-Marie de Rodat
parent ff46a531c5
commit 621cccba3f

View File

@ -551,6 +551,18 @@ is_return_from(void *symbol_addr, void *ret_addr)
#error Unhandled QNX architecture.
#endif
/*---------------------------- RTEMS ---------------------------------*/
#elif defined (__rtems__)
#define USE_GCC_UNWINDER
#if defined (__aarch64__)
#define PC_ADJUST -4
#else
#error Unhandled RTEMS architecture.
#endif
/*------------------- aarch64-linux ----------------------------------*/
#elif (defined (__aarch64__) && defined (__linux__))