summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/hppa/gen/infinity.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/arch/hppa/gen/infinity.c b/lib/libc/arch/hppa/gen/infinity.c
index e5e85f35691..e0d028d6d9f 100644
--- a/lib/libc/arch/hppa/gen/infinity.c
+++ b/lib/libc/arch/hppa/gen/infinity.c
@@ -1,12 +1,13 @@
-/* $OpenBSD: infinity.c,v 1.1 1999/09/14 00:21:15 mickey Exp $ */
+/* $OpenBSD: infinity.c,v 1.2 2001/01/24 08:19:02 mickey Exp $ */
/* infinity.c */
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: infinity.c,v 1.1 1999/09/14 00:21:15 mickey Exp $";
+static char rcsid[] = "$OpenBSD: infinity.c,v 1.2 2001/01/24 08:19:02 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <math.h>
/* bytes for +Infinity on a hppa */
-char __infinity[] = { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 };
+char __infinity[] __attribute__((__aligned__(sizeof(double)))) =
+ { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 };