Re: [PATCH] powerpc: Fix 64 bits vDSO dwarf info for CR register

2007-10-17 Thread Andrew Haley
Jakub Jelinek writes: > On Wed, Oct 17, 2007 at 02:26:50PM +1000, Benjamin Herrenschmidt wrote: > > Unfortunately, a bug in gcc cause it to not quite work either, but that > > is being fixed separately with something around the lines of: > > > > linux-unwind.h: > > > > fs->regs.reg[R_

Re: [PATCH] powerpc: Fix 64 bits vDSO dwarf info for CR register

2007-10-17 Thread Jakub Jelinek
On Wed, Oct 17, 2007 at 02:26:50PM +1000, Benjamin Herrenschmidt wrote: > Unfortunately, a bug in gcc cause it to not quite work either, but that > is being fixed separately with something around the lines of: > > linux-unwind.h: > > fs->regs.reg[R_CR2].loc.offset = (long) ®s->ccr - new_cfa;

[PATCH] powerpc: Fix 64 bits vDSO dwarf info for CR register

2007-10-16 Thread Benjamin Herrenschmidt
The current DWARF info for CR are incorrect causing the gcc unwinder to go to lunch if taking a segfault in the vdso. This patch fixes it. Problem identified by Andrew Haley, and fix provided by Jakub Jelinek (thanks !). Unfortunately, a bug in gcc cause it to not quite work either, but that is b

[PATCH] powerpc: Fix 64 bits vDSO dwarf info for CR register

2007-10-16 Thread Benjamin Herrenschmidt
The current DWARF info for CR are incorrect causing the gcc unwinder to go to lunch if taking a segfault in the vdso. This patch fixes it. Problem identified by Andrew Haley, and fix provided by Jakub Jelinek (thanks !). Unfortunately, a bug in gcc cause it to not quite work either, but that is b