public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ubizjak at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug nptl/17165] [alpha] Saved stack pointer is not mangled in unwind_stop jumpbuffer
Date: Wed, 16 Jul 2014 16:39:00 -0000	[thread overview]
Message-ID: <bug-17165-131-KOMybrv5SN@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-17165-131@http.sourceware.org/bugzilla/>

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.


  reply	other threads:[~2014-07-16 16:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-16 16:17 [Bug nptl/17165] New: " ubizjak at gmail dot com
2014-07-16 16:39 ` ubizjak at gmail dot com [this message]
2014-07-16 17:16 ` [Bug nptl/17165] " ubizjak at gmail dot com
2014-07-30  5:21 ` rth at gcc dot gnu.org
2014-07-30  6:36 ` ubizjak at gmail dot com
2014-07-30  7:48 ` ubizjak at gmail dot com
2014-07-30 17:17 ` rth at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-17165-131-KOMybrv5SN@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).