From: Doug Rupp Date: Thu, 19 Nov 2020 16:35:47 +0000 (-0800) Subject: [Ada] armhf-linux: symbolic tracebacks X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e5e963ab2edf47f8fd62e98401edd2d56beeca84;p=gcc.git [Ada] armhf-linux: symbolic tracebacks gcc/ada/ * tracebak.c: Add a section for ARM Linux. --- diff --git a/gcc/ada/tracebak.c b/gcc/ada/tracebak.c index d643cfc50db..23ed8da241f 100644 --- a/gcc/ada/tracebak.c +++ b/gcc/ada/tracebak.c @@ -309,6 +309,13 @@ __gnat_backtrace (void **array, #define USING_ARM_UNWINDING 1 #endif +/*---------------------- ARM Linux ------------------------------------ -*/ +#elif (defined (__ARMEL__) && defined (__linux)) + +#define USE_GCC_UNWINDER +#define PC_ADJUST -2 +#define USING_ARM_UNWINDING 1 + /*---------------------- PPC AIX/PPC Lynx 178/Older Darwin --------------*/ #elif ((defined (_POWER) && defined (_AIX)) || \ (defined (__powerpc__) && defined (__Lynx__) && !defined(__ELF__)) || \