From: "J.A. Magallon" <jamagallon@able.es>
To: "Markus F.X.J. Oberhumer" <markus@oberhumer.com>
Cc: Linus Torvalds <torvalds@osdl.org>,
linux-kernel@vger.kernel.org, Andi Kleen <ak@suse.de>
Subject: Re: [PATCH] i386: fix stack alignment for signal handlers
Date: Wed, 14 Sep 2005 20:11:27 +0000 [thread overview]
Message-ID: <1126728687l.6759l.0l@werewolf.able.es> (raw)
In-Reply-To: <4327611D.7@oberhumer.com> (from markus@oberhumer.com on Wed Sep 14 01:30:37 2005)
On 09.14, Markus F.X.J. Oberhumer wrote:
...
>
> #include <stdio.h>
> #include <signal.h>
> #include <unistd.h>
> #include <assert.h>
>
> typedef struct { double x,y; } Aligned16 __attribute__((__aligned__(16)));
>
> void *saved_esp;
> void handler(int unused) {
> Aligned16 a;
> assert(__alignof(a) >= 16),
errr... assert(__alignof(a) < 16), ???
--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandriva Linux release 2006.0 (Cooker) for i586
Linux 2.6.13-jam4 (gcc 4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0))
prev parent reply other threads:[~2005-09-14 20:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-13 20:55 Markus F.X.J. Oberhumer
2005-09-13 22:53 ` Linus Torvalds
2005-09-13 23:30 ` Markus F.X.J. Oberhumer
2005-09-13 23:52 ` Linus Torvalds
2005-09-14 1:39 ` Markus F.X.J. Oberhumer
2005-09-14 4:54 ` Andi Kleen
2005-09-14 14:22 ` Daniel Jacobowitz
2005-09-14 14:55 ` Linus Torvalds
2005-09-14 15:44 ` Andi Kleen
2005-10-09 16:54 ` Markus F.X.J. Oberhumer
2005-10-09 16:57 ` Andi Kleen
2005-10-09 17:06 ` Markus F.X.J. Oberhumer
2005-10-11 0:23 ` Markus F.X.J. Oberhumer
2005-09-14 20:11 ` J.A. Magallon [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=1126728687l.6759l.0l@werewolf.able.es \
--to=jamagallon@able.es \
--cc=ak@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=markus@oberhumer.com \
--cc=torvalds@osdl.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
all inboxes | Powered by JetHome®