diff options
Diffstat (limited to 'gcc/ada/tracebak.c')
-rw-r--r-- | gcc/ada/tracebak.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gcc/ada/tracebak.c b/gcc/ada/tracebak.c index 7532ca2d71b..e5eb0fefc26 100644 --- a/gcc/ada/tracebak.c +++ b/gcc/ada/tracebak.c @@ -6,7 +6,7 @@ * * * C Implementation File * * * - * Copyright (C) 2000-2016, Free Software Foundation, Inc. * + * Copyright (C) 2000-2017, Free Software Foundation, Inc. * * * * GNAT is free software; you can redistribute it and/or modify it under * * terms of the GNU General Public License as published by the Free Soft- * @@ -500,6 +500,18 @@ struct layout || ((*((ptr) - 1) & 0xff) == 0xff) \ || (((*(ptr) & 0xd0ff) == 0xd0ff)))) +/*----------------------------- qnx ----------------------------------*/ + +#elif defined (__QNX__) + +#define USE_GCC_UNWINDER + +#if defined (__aarch64__) +#define PC_ADJUST -4 +#else +#error Unhandled QNX architecture. +#endif + /*----------------------------- ia64 ---------------------------------*/ #elif defined (__ia64__) && (defined (__linux__) || defined (__hpux__)) |