From ad9b4ceef9225725d1ac7719783f54b2ffb22db9 Mon Sep 17 00:00:00 2001 From: kmacy Date: Thu, 12 Oct 2006 04:38:41 +0000 Subject: fix bus error in newsyslog by making sure that fields in struct fpemu that are accessed as 8 byte quantities are 8 byte aligned --- lib/libc/sparc64/fpu/fpu_emu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/libc/sparc64/fpu/fpu_emu.h b/lib/libc/sparc64/fpu/fpu_emu.h index 51996b1..0322dbc 100644 --- a/lib/libc/sparc64/fpu/fpu_emu.h +++ b/lib/libc/sparc64/fpu/fpu_emu.h @@ -157,6 +157,7 @@ struct fpn { struct fpemu { u_long fe_fsr; /* fsr copy (modified during op) */ int fe_cx; /* exceptions */ + int pad; /* align access to following fields */ struct fpn fe_f1; /* operand 1 */ struct fpn fe_f2; /* operand 2, if required */ struct fpn fe_f3; /* available storage for result */ -- cgit v1.1