[BZ 16372] fixing tst-longjmp_chk2 on ia64

Mike Frysinger vapier@gentoo.org
Sun Dec 29 21:31:00 GMT 2013


On Friday 27 December 2013 12:34:43 Andreas Schwab wrote:
> Mike Frysinger <vapier@gentoo.org> writes:
> >         /* Maybe it's an alternative signal stack.  */          \
> >         adds r34 = -sizeSS, r12;                                \
> >         mov r33 = r0;                                           \
> 
> Since you use two output registers you need to adjust the alloc insn at
> the start of __longjmp.

thanks, i made that change and the syscall is working now.  i also switched to 
using out0/etc... rather than named registers since it looks cleaner (and is 
probably the "right" thing anyways).

        /* Maybe it's an alternative signal stack.  */          \
        adds out1 = -sizeSS, r12;                               \
        mov out0 = r0;                                          \
        ;;                                                      \
        mov r12 = out1;                                         \
        DO_CALL_VIA_BREAK (SYS_ify (sigaltstack));              \
        ;;                                                      \
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20131229/74d5f141/attachment.sig>


More information about the Libc-alpha mailing list