This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [BZ 16372] fixing tst-longjmp_chk2 on ia64


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

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]