From 2cd7fa6b34d7eb93a37f31398b1e839f6624e484 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Wed, 5 Sep 2001 23:24:47 +0000 Subject: explicit alignment, just like on alpha. --- lib/libc/arch/sparc64/gen/infinity.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/libc/arch/sparc64') diff --git a/lib/libc/arch/sparc64/gen/infinity.c b/lib/libc/arch/sparc64/gen/infinity.c index 04eea83390a..60847ada16d 100644 --- a/lib/libc/arch/sparc64/gen/infinity.c +++ b/lib/libc/arch/sparc64/gen/infinity.c @@ -1,8 +1,9 @@ -/* $OpenBSD: infinity.c,v 1.1 2001/08/29 01:41:29 art Exp $ */ +/* $OpenBSD: infinity.c,v 1.2 2001/09/05 23:24:46 art Exp $ */ /* infinity.c */ #include /* bytes for +Infinity on a sparc */ -char __infinity[] = { 0x7f, (char)0xf0, 0, 0, 0, 0, 0, 0 }; +char __infinity[] __attribute__((__aligned__(sizeof(double)))) = + { 0x7f, (char)0xf0, 0, 0, 0, 0, 0, 0 }; -- cgit v1.2.3