From 2d14aa0f41a43d92d12477d07ea0f5768ebcdffc Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 10 Oct 2006 22:07:11 +0000 Subject: Preliminary userland bits for OpenBSD/landisk, many things coming from NetBSD. --- lib/libc/arch/sh/gen/infinity.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lib/libc/arch/sh/gen/infinity.c (limited to 'lib/libc/arch/sh/gen/infinity.c') diff --git a/lib/libc/arch/sh/gen/infinity.c b/lib/libc/arch/sh/gen/infinity.c new file mode 100644 index 00000000000..a8006550db2 --- /dev/null +++ b/lib/libc/arch/sh/gen/infinity.c @@ -0,0 +1,9 @@ +/* $OpenBSD: infinity.c,v 1.1 2006/10/10 22:07:10 miod Exp $ */ + +/* infinity.c */ + +#include + +/* bytes for +Infinity on a SH4 FPU (double precision) */ +char __infinity[] __attribute__((__aligned__(sizeof(double)))) = + { 0x7f, (char)0xf0, 0, 0, 0, 0, 0, 0 }; -- cgit v1.2.3