diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-02-08 17:31:45 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-02-08 17:31:45 +0000 |
commit | 83a15565411bc4920824b5a39896ee80231a742f (patch) | |
tree | b5722d172fc0007daeb92ed093684720c5e637ff /lib/libc/arch/amd64 | |
parent | 92161ffe3f7f5280ff22337d6ed619a157a8210c (diff) |
16 byte align for performance, as on other architectures
Diffstat (limited to 'lib/libc/arch/amd64')
-rw-r--r-- | lib/libc/arch/amd64/gen/infinity.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/arch/amd64/gen/infinity.c b/lib/libc/arch/amd64/gen/infinity.c index 8c7eb66d407..d1c2aa9a2f4 100644 --- a/lib/libc/arch/amd64/gen/infinity.c +++ b/lib/libc/arch/amd64/gen/infinity.c @@ -1,5 +1,5 @@ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: infinity.c,v 1.1 2004/01/28 01:44:45 mickey Exp $"; +static char rcsid[] = "$OpenBSD: infinity.c,v 1.2 2004/02/08 17:31:44 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ /* infinity.c */ @@ -7,4 +7,6 @@ static char rcsid[] = "$OpenBSD: infinity.c,v 1.1 2004/01/28 01:44:45 mickey Exp #include <math.h> /* bytes for +Infinity on a 387 */ -char __infinity[] = { 0, 0, 0, 0, 0, 0, (char)0xf0, 0x7f }; +char __infinity[] __attribute__((__aligned__(sizeof(double)))) = + { 0, 0, 0, 0, 0, 0, (char)0xf0, 0x7f }; + |