From 295df68faf1e881d7fda09406f47bb99ef7f4d43 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Fri, 6 Jan 2012 07:57:56 -0800 Subject: [PATCH] add alignment to i386 for good measure, though we do not yet save SSE regs in i386 (we ought to, though!) --- src/rt/arch/i386/context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rt/arch/i386/context.h b/src/rt/arch/i386/context.h index 13775f95510..516632fe38f 100644 --- a/src/rt/arch/i386/context.h +++ b/src/rt/arch/i386/context.h @@ -27,7 +27,7 @@ struct registers_t { uint32_t eflags; uint32_t eip; -}; +} __attribute__((aligned(16))); extern "C" void __morestack(void *args, void *fn_ptr, uintptr_t stack_ptr);