From e5e963ab2edf47f8fd62e98401edd2d56beeca84 Mon Sep 17 00:00:00 2001 From: Doug Rupp Date: Thu, 19 Nov 2020 08:35:47 -0800 Subject: [PATCH] [Ada] armhf-linux: symbolic tracebacks gcc/ada/ * tracebak.c: Add a section for ARM Linux. --- gcc/ada/tracebak.c | 7 +++++++ 1 file changed, 7 insertions(+) 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__)) || \ -- 2.30.2