From 8ebe972975a6c1963645f323519af5931461f888 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Wed, 25 Aug 1999 09:05:29 +0000 Subject: [PATCH] Fix stack misalignment for Linux binaries caused by `linux_sigcode' not being a multiple of 4 bytes in size. This solves the recent SIGBUS errors for glibc2.1 configurations. Explained by: bde --- sys/i386/linux/linux_locore.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/i386/linux/linux_locore.s b/sys/i386/linux/linux_locore.s index b458c94dac81..2f938a723ecc 100644 --- a/sys/i386/linux/linux_locore.s +++ b/sys/i386/linux/linux_locore.s @@ -13,7 +13,7 @@ NON_GPROF_ENTRY(linux_sigcode) int $0x80 /* enter kernel with args on stack */ hlt /* never gets here */ - .align 2 /* long word align */ + .align 4 /* long word align */ _linux_esigcode: .data