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; > + /* CR? regs are just 32-bit and PPC is big-endian. */ > + fs->regs.reg[R_CR2].loc.offset += sizeof (long) - 4;
Small correction. If vdso is present, then fixing the vdso is all that is needed, the above mentioned code is used only if the vdso is not present (or if glibc doesn't support the vdso). Jakub _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev