Re: [PATCH v2] libgcc: Add a backchain fallback to _Unwind_Backtrace() on PowerPC

2021-09-29 Thread Segher Boessenkool
On Wed, Sep 29, 2021 at 11:14:55AM -0300, Raphael M Zinsly wrote: > On 28/09/2021 16:50, Segher Boessenkool wrote: > >>+/* { dg-do run { target { powerpc*-*-linux* } } } */ > > > >Don't say such targets in gcc.target/powerpc/ tests please. Everything > >in gcc.target is for powerpc*-*-* already, s

Re: [PATCH v2] libgcc: Add a backchain fallback to _Unwind_Backtrace() on PowerPC

2021-09-29 Thread Raphael M Zinsly via Gcc-patches
On 28/09/2021 16:50, Segher Boessenkool wrote: Hi! On Thu, Aug 26, 2021 at 11:53:24AM -0300, Raphael Moreira Zinsly wrote: Without dwarf2 unwind tables available _Unwind_Backtrace() is not able to return the full backtrace. This patch adds a fallback function on powerpc to get the backtrace b

Re: [PATCH v2] libgcc: Add a backchain fallback to _Unwind_Backtrace() on PowerPC

2021-09-28 Thread Segher Boessenkool
Hi! On Thu, Aug 26, 2021 at 11:53:24AM -0300, Raphael Moreira Zinsly wrote: > Without dwarf2 unwind tables available _Unwind_Backtrace() is not > able to return the full backtrace. > This patch adds a fallback function on powerpc to get the backtrace > by doing a backchain, this code was originall

Re: [PATCH v2] libgcc: Add a backchain fallback to _Unwind_Backtrace() on PowerPC

2021-09-14 Thread Raphael M Zinsly via Gcc-patches
Ping On 26/08/2021 11:53, Raphael Moreira Zinsly wrote: Without dwarf2 unwind tables available _Unwind_Backtrace() is not able to return the full backtrace. This patch adds a fallback function on powerpc to get the backtrace by doing a backchain, this code was originally at glibc. libgcc/Change

[PATCH v2] libgcc: Add a backchain fallback to _Unwind_Backtrace() on PowerPC

2021-08-26 Thread Raphael Moreira Zinsly via Gcc-patches
Without dwarf2 unwind tables available _Unwind_Backtrace() is not able to return the full backtrace. This patch adds a fallback function on powerpc to get the backtrace by doing a backchain, this code was originally at glibc. libgcc/ChangeLog: * config/rs6000/linux-unwind.h (struct rt_sig