diff options
author | marcel <marcel@FreeBSD.org> | 1999-08-25 09:05:29 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 1999-08-25 09:05:29 +0000 |
commit | 1c5673261356a602ee742adacec962e5cf89d068 (patch) | |
tree | e40825a3a0a9874bfcda7eeb0b0eab8022ffae88 /sys/i386/linux | |
parent | 0fd3ba1d5dd7afa3f63bab44003c1c74d6a9246e (diff) | |
download | FreeBSD-src-1c5673261356a602ee742adacec962e5cf89d068.zip FreeBSD-src-1c5673261356a602ee742adacec962e5cf89d068.tar.gz |
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
Diffstat (limited to 'sys/i386/linux')
-rw-r--r-- | sys/i386/linux/linux_locore.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/linux/linux_locore.s b/sys/i386/linux/linux_locore.s index b458c94..2f938a7 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 |