From: "H. Peter Anvin" <hpa@zytor.com>
To: sparclinux@vger.kernel.org
Subject: Re: sigreturn on sparc64
Date: Wed, 24 May 2006 22:02:55 +0000 [thread overview]
Message-ID: <4474D80F.7020908@zytor.com> (raw)
In-Reply-To: <e5270r$q83$1@terminus.zytor.com>
David Miller wrote:
> The stub is "returned to" directly from the signal handler itself
> using the "retl" instruction, which jumps to the value of "register
> %i7 plus 8". We stick the passed in stub address directly into the
> %i7 register of the signal handler frame, that's why you need to
> subtract 8 for the system call argument.
Yup, there are a lot of things like this in the Linux ABI (something which makes sense on
one architecture, but not across architectures); sigreturn is obviously the worst.
-hpa
prev parent reply other threads:[~2006-05-24 22:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-24 18:00 sigreturn on sparc64 H. Peter Anvin
2006-05-24 21:21 ` David Miller
2006-05-24 21:23 ` H. Peter Anvin
2006-05-24 21:34 ` David Miller
2006-05-24 22:02 ` H. Peter Anvin [this message]
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=4474D80F.7020908@zytor.com \
--to=hpa@zytor.com \
--cc=sparclinux@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.