Re: [PATCH 17/21] ARC: testsuite fix: stdlib/tst-makecontext

2019-01-21 Thread Vineet Gupta
On 12/18/18 2:36 PM, Andreas Schwab wrote: >> ENTRY(__startcontext) >> >> +cfi_register (blink, r15) >> + > You should precede that with a dummy .cfi_label (see > sysdeps/riscv/start.S) to force the CFI into the FDE instead of the > CIE. Also, can you use cfi_undefined instead? Yes that wo

Re: [PATCH 17/21] ARC: testsuite fix: stdlib/tst-makecontext

2018-12-18 Thread Andreas Schwab
On Dez 18 2018, Vineet Gupta wrote: > diff --git a/sysdeps/unix/sysv/linux/arc/setcontext.S > b/sysdeps/unix/sysv/linux/arc/setcontext.S > index 3f503c661d95..6ec2ec0ddc79 100644 > --- a/sysdeps/unix/sysv/linux/arc/setcontext.S > +++ b/sysdeps/unix/sysv/linux/arc/setcontext.S > @@ -79,6 +79,8 @@

[PATCH 17/21] ARC: testsuite fix: stdlib/tst-makecontext

2018-12-18 Thread Vineet Gupta
Terminate the unwinding by telling unwinder to fetch return address (BLINK) from r15 which has been set apriori to 0. Signed-off-by: Vineet Gupta --- ChangeLog | 2 ++ sysdeps/unix/sysv/linux/arc/makecontext.c | 1 + sysdeps/unix/sysv/linux/arc/setcontext.S | 2 +