summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/arch/alpha/gen/infinity.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/arch/alpha/gen/infinity.c b/lib/libc/arch/alpha/gen/infinity.c
index 7548340c49e..a179457fa4f 100644
--- a/lib/libc/arch/alpha/gen/infinity.c
+++ b/lib/libc/arch/alpha/gen/infinity.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: infinity.c,v 1.3 1996/11/13 21:20:18 niklas Exp $ */
+/* $OpenBSD: infinity.c,v 1.4 2001/01/24 07:46:50 art Exp $ */
/* $NetBSD: infinity.c,v 1.1 1995/02/10 17:50:23 cgd Exp $ */
/*
@@ -29,10 +29,11 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: infinity.c,v 1.3 1996/11/13 21:20:18 niklas Exp $";
+static char *rcsid = "$OpenBSD: infinity.c,v 1.4 2001/01/24 07:46:50 art Exp $";
#endif /* LIBC_SCCS and not lint */
#include <math.h>
/* bytes for +Infinity on an Alpha (IEEE double format) */
-char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };
+char __infinity[] __attribute__((__aligned__(sizeof(double)))) =
+ { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };