diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-01-06 07:57:56 -0800 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-01-06 07:57:56 -0800 |
| commit | 295df68faf1e881d7fda09406f47bb99ef7f4d43 (patch) | |
| tree | cf49b6314e36a50fd99a9406b739d9e1907bf5ce | |
| parent | fefae72a53a61c256481328ed29aafb725056f5c (diff) | |
| download | rust-295df68faf1e881d7fda09406f47bb99ef7f4d43.tar.gz rust-295df68faf1e881d7fda09406f47bb99ef7f4d43.zip | |
add alignment to i386 for good measure, though we do not yet
save SSE regs in i386 (we ought to, though!)
| -rw-r--r-- | src/rt/arch/i386/context.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
