This is the mail archive of the glibc-bugs@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]

[Bug nptl/17165] [alpha] Saved stack pointer is not mangled in unwind_stop jumpbuffer


https://sourceware.org/bugzilla/show_bug.cgi?id=17165

--- Comment #1 from Uros Bizjak <ubizjak at gmail dot com> ---
__sigsetjmp doesn't mangle any register:

(gdb) disass __sigsetjmp
Dump of assembler code for function __sigsetjmp:
   0x000002000001b440 <+0>:     ldah    gp,2(t12)
   0x000002000001b444 <+4>:     lda     gp,-5136(gp)
   0x000002000001b448 <+8>:     stq     s0,0(a0)
   0x000002000001b44c <+12>:    stq     s1,8(a0)
   0x000002000001b450 <+16>:    stq     s2,16(a0)
   0x000002000001b454 <+20>:    stq     s3,24(a0)
   0x000002000001b458 <+24>:    stq     s4,32(a0)
   0x000002000001b45c <+28>:    stq     s5,40(a0)
   0x000002000001b460 <+32>:    stq     ra,48(a0)   <-- ra should be mangled,
   0x000002000001b464 <+36>:    addq    sp,0,t1     <-- sp too,
   0x000002000001b468 <+40>:    stq     t1,64(a0)
   0x000002000001b46c <+44>:    stq     fp,56(a0)   <-- fp as well.
   0x000002000001b470 <+48>:    stt     $f2,72(a0)
   0x000002000001b474 <+52>:    stt     $f3,80(a0)
   0x000002000001b478 <+56>:    stt     $f4,88(a0)
   0x000002000001b47c <+60>:    stt     $f5,96(a0)
   0x000002000001b480 <+64>:    stt     $f6,104(a0)
   0x000002000001b484 <+68>:    stt     $f7,112(a0)
   0x000002000001b488 <+72>:    stt     $f8,120(a0)
   0x000002000001b48c <+76>:    stt     $f9,128(a0)
   0x000002000001b490 <+80>:    mov     0,v0
   0x000002000001b494 <+84>:    ret
End of assembler dump.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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