[Bug other/26208] Serious problem with unwinding through signal frames

amodra at bigpond dot net dot au gcc-bugzilla@gcc.gnu.org
Wed Feb 22 01:13:00 GMT 2006



------- Comment #15 from amodra at bigpond dot net dot au  2006-02-22 01:13 -------
ppc vdso caters for pc-1 with the following.

/* The nop here is a hack.  The dwarf2 unwind routines subtract 1 from
   the return address to get an address in the middle of the presumed
   call instruction.  Since we don't have a call here, we artifically
   extend the range covered by the unwind info by padding before the
   real start.  */
        nop
        .balign 8
V_FUNCTION_BEGIN(__kernel_sigtramp_rt64)
.Lsigrt_start = . - 4
        addi    r1, r1, __SIGNAL_FRAMESIZE
        li      r0,__NR_rt_sigreturn
        sc
.Lsigrt_end:


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26208



More information about the Gcc-bugs mailing list