diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-09-05 23:24:47 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-09-05 23:24:47 +0000 |
commit | 2cd7fa6b34d7eb93a37f31398b1e839f6624e484 (patch) | |
tree | 09b8017e80a6d978d5e63a1af928a879236e7163 /lib/libc | |
parent | 4c87be25e673957d0cb93ef1a89510ca96438dc7 (diff) |
explicit alignment, just like on alpha.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/arch/sparc64/gen/infinity.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 <math.h> /* 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 }; |