diff options
Diffstat (limited to 'lib/libc')
26 files changed, 52 insertions, 50 deletions
diff --git a/lib/libc/arch/arm/softfloat/Makefile.inc b/lib/libc/arch/arm/softfloat/Makefile.inc index 3712e91ed82..71f0b698d08 100644 --- a/lib/libc/arch/arm/softfloat/Makefile.inc +++ b/lib/libc/arch/arm/softfloat/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.3 2011/07/05 05:13:21 drahn Exp $ +# $OpenBSD: Makefile.inc,v 1.4 2015/09/13 14:21:46 miod Exp $ SRCS += eqdf2.c eqsf2.c fpgetmask.c fpgetround.c fpgetsticky.c fpsetmask.c SRCS += fpsetround.c fpsetsticky.c gedf2.c gesf2.c gtdf2.c gtsf2.c ledf2.c SRCS += lesf2.c ltdf2.c ltsf2.c nedf2.c negdf2.c negsf2.c nesf2.c @@ -6,5 +6,6 @@ SRCS += lesf2.c ltdf2.c ltsf2.c nedf2.c negdf2.c negsf2.c nesf2.c SRCS += unorddf2.c unordsf2.c SRCS += softfloat.c CFLAGS += -DSOFTFLOAT_FOR_GCC +CFLAGS += -I${LIBCSRCDIR}/softfloat .PATH: ${.CURDIR}/softfloat diff --git a/lib/libc/arch/sh/softfloat/Makefile.inc b/lib/libc/arch/sh/softfloat/Makefile.inc index c945a737796..45115612419 100644 --- a/lib/libc/arch/sh/softfloat/Makefile.inc +++ b/lib/libc/arch/sh/softfloat/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.1 2006/11/07 14:07:13 drahn Exp $ +# $OpenBSD: Makefile.inc,v 1.2 2015/09/13 14:21:46 miod Exp $ SRCS += eqdf2.c eqsf2.c fpgetmask.c fpgetround.c fpgetsticky.c fpsetmask.c SRCS += fpsetround.c fpsetsticky.c gedf2.c gesf2.c gtdf2.c gtsf2.c ledf2.c SRCS += lesf2.c ltdf2.c ltsf2.c nedf2.c negdf2.c negsf2.c nesf2.c @@ -6,5 +6,6 @@ SRCS += lesf2.c ltdf2.c ltsf2.c nedf2.c negdf2.c negsf2.c nesf2.c SRCS += unorddf2.c unordsf2.c SRCS += softfloat.c CFLAGS += -DSOFTFLOAT_FOR_GCC +CFLAGS += -I${LIBCSRCDIR}/softfloat .PATH: ${.CURDIR}/softfloat diff --git a/lib/libc/softfloat/eqdf2.c b/lib/libc/softfloat/eqdf2.c index 142133547a5..34ae5c60845 100644 --- a/lib/libc/softfloat/eqdf2.c +++ b/lib/libc/softfloat/eqdf2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eqdf2.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */ +/* $OpenBSD: eqdf2.c,v 1.3 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: eqdf2.c,v 1.1 2000/06/06 08:15:02 bjh21 Exp $ */ /* @@ -7,7 +7,7 @@ #include "softfloat-for-gcc.h" #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> flag __eqdf2(float64, float64); diff --git a/lib/libc/softfloat/eqsf2.c b/lib/libc/softfloat/eqsf2.c index 0c11cf2b4da..3857929c7ca 100644 --- a/lib/libc/softfloat/eqsf2.c +++ b/lib/libc/softfloat/eqsf2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eqsf2.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */ +/* $OpenBSD: eqsf2.c,v 1.3 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: eqsf2.c,v 1.1 2000/06/06 08:15:03 bjh21 Exp $ */ /* @@ -7,7 +7,7 @@ #include "softfloat-for-gcc.h" #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> flag __eqsf2(float32, float32); diff --git a/lib/libc/softfloat/fpgetmask.c b/lib/libc/softfloat/fpgetmask.c index 81191ff2b58..9839b8b15a2 100644 --- a/lib/libc/softfloat/fpgetmask.c +++ b/lib/libc/softfloat/fpgetmask.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fpgetmask.c,v 1.4 2015/09/10 18:13:46 guenther Exp $ */ +/* $OpenBSD: fpgetmask.c,v 1.5 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: fpgetmask.c,v 1.3 2002/05/12 13:12:45 bjh21 Exp $ */ /*- @@ -36,7 +36,7 @@ #endif #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> #ifdef __weak_alias __weak_alias(_fpgetmask,fpgetmask); diff --git a/lib/libc/softfloat/fpgetround.c b/lib/libc/softfloat/fpgetround.c index e50c1d08e43..164e8a99ea5 100644 --- a/lib/libc/softfloat/fpgetround.c +++ b/lib/libc/softfloat/fpgetround.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fpgetround.c,v 1.4 2015/09/10 18:13:46 guenther Exp $ */ +/* $OpenBSD: fpgetround.c,v 1.5 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: fpgetround.c,v 1.2 2002/01/13 21:45:53 thorpej Exp $ */ /*- @@ -35,7 +35,7 @@ #include "softfloat-for-gcc.h" #endif #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> #ifdef __weak_alias __weak_alias(_fpgetround,fpgetround); diff --git a/lib/libc/softfloat/fpgetsticky.c b/lib/libc/softfloat/fpgetsticky.c index 644a2941cee..0964a1065d3 100644 --- a/lib/libc/softfloat/fpgetsticky.c +++ b/lib/libc/softfloat/fpgetsticky.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fpgetsticky.c,v 1.4 2015/09/10 18:13:46 guenther Exp $ */ +/* $OpenBSD: fpgetsticky.c,v 1.5 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: fpgetsticky.c,v 1.2 2002/01/13 21:45:53 thorpej Exp $ */ /*- @@ -35,7 +35,7 @@ #include "softfloat-for-gcc.h" #endif #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> #ifdef __weak_alias __weak_alias(_fpgetsticky,fpgetsticky); diff --git a/lib/libc/softfloat/fpsetmask.c b/lib/libc/softfloat/fpsetmask.c index 3c1a2d10395..178f31f0e8a 100644 --- a/lib/libc/softfloat/fpsetmask.c +++ b/lib/libc/softfloat/fpsetmask.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fpsetmask.c,v 1.4 2015/09/10 18:13:46 guenther Exp $ */ +/* $OpenBSD: fpsetmask.c,v 1.5 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: fpsetmask.c,v 1.3 2002/05/12 13:12:45 bjh21 Exp $ */ /*- @@ -35,7 +35,7 @@ #include "softfloat-for-gcc.h" #endif #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> #ifdef __weak_alias __weak_alias(_fpsetmask,fpsetmask); diff --git a/lib/libc/softfloat/fpsetround.c b/lib/libc/softfloat/fpsetround.c index a3e014b58bb..35f300a6f24 100644 --- a/lib/libc/softfloat/fpsetround.c +++ b/lib/libc/softfloat/fpsetround.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fpsetround.c,v 1.4 2015/09/10 18:13:46 guenther Exp $ */ +/* $OpenBSD: fpsetround.c,v 1.5 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: fpsetround.c,v 1.2 2002/01/13 21:45:53 thorpej Exp $ */ /*- @@ -35,7 +35,7 @@ #include "softfloat-for-gcc.h" #endif #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> #ifdef __weak_alias __weak_alias(_fpsetround,fpsetround); diff --git a/lib/libc/softfloat/fpsetsticky.c b/lib/libc/softfloat/fpsetsticky.c index 09eb539c194..cff4ec96b25 100644 --- a/lib/libc/softfloat/fpsetsticky.c +++ b/lib/libc/softfloat/fpsetsticky.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fpsetsticky.c,v 1.4 2015/09/10 18:13:46 guenther Exp $ */ +/* $OpenBSD: fpsetsticky.c,v 1.5 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: fpsetsticky.c,v 1.2 2002/01/13 21:45:54 thorpej Exp $ */ /*- @@ -35,7 +35,7 @@ #include "softfloat-for-gcc.h" #endif #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> #ifdef __weak_alias __weak_alias(_fpsetsticky,fpsetsticky); diff --git a/lib/libc/softfloat/gedf2.c b/lib/libc/softfloat/gedf2.c index b6db9291951..f6961b06622 100644 --- a/lib/libc/softfloat/gedf2.c +++ b/lib/libc/softfloat/gedf2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gedf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */ +/* $OpenBSD: gedf2.c,v 1.3 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: gedf2.c,v 1.1 2000/06/06 08:15:05 bjh21 Exp $ */ /* @@ -7,7 +7,7 @@ #include "softfloat-for-gcc.h" #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> flag __gedf2(float64, float64); diff --git a/lib/libc/softfloat/gesf2.c b/lib/libc/softfloat/gesf2.c index 5488f63e8c5..3d1c885e3bc 100644 --- a/lib/libc/softfloat/gesf2.c +++ b/lib/libc/softfloat/gesf2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gesf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */ +/* $OpenBSD: gesf2.c,v 1.3 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: gesf2.c,v 1.1 2000/06/06 08:15:05 bjh21 Exp $ */ /* @@ -7,7 +7,7 @@ #include "softfloat-for-gcc.h" #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> flag __gesf2(float32, float32); diff --git a/lib/libc/softfloat/gtdf2.c b/lib/libc/softfloat/gtdf2.c index 9c83284dfe2..ad54c1ce898 100644 --- a/lib/libc/softfloat/gtdf2.c +++ b/lib/libc/softfloat/gtdf2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gtdf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */ +/* $OpenBSD: gtdf2.c,v 1.3 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: gtdf2.c,v 1.1 2000/06/06 08:15:05 bjh21 Exp $ */ /* @@ -7,7 +7,7 @@ #include "softfloat-for-gcc.h" #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> flag __gtdf2(float64, float64); diff --git a/lib/libc/softfloat/gtsf2.c b/lib/libc/softfloat/gtsf2.c index b13fa29493b..47e6bbdbf88 100644 --- a/lib/libc/softfloat/gtsf2.c +++ b/lib/libc/softfloat/gtsf2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gtsf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */ +/* $OpenBSD: gtsf2.c,v 1.3 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: gtsf2.c,v 1.1 2000/06/06 08:15:06 bjh21 Exp $ */ /* @@ -7,7 +7,7 @@ #include "softfloat-for-gcc.h" #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> flag __gtsf2(float32, float32); diff --git a/lib/libc/softfloat/ledf2.c b/lib/libc/softfloat/ledf2.c index 1120c12e2bc..337f9952350 100644 --- a/lib/libc/softfloat/ledf2.c +++ b/lib/libc/softfloat/ledf2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ledf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */ +/* $OpenBSD: ledf2.c,v 1.3 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: ledf2.c,v 1.1 2000/06/06 08:15:06 bjh21 Exp $ */ /* @@ -7,7 +7,7 @@ #include "softfloat-for-gcc.h" #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> flag __ledf2(float64, float64); diff --git a/lib/libc/softfloat/lesf2.c b/lib/libc/softfloat/lesf2.c index b96c0a00176..bd8b501082b 100644 --- a/lib/libc/softfloat/lesf2.c +++ b/lib/libc/softfloat/lesf2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lesf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */ +/* $OpenBSD: lesf2.c,v 1.3 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: lesf2.c,v 1.1 2000/06/06 08:15:06 bjh21 Exp $ */ /* @@ -7,7 +7,7 @@ #include "softfloat-for-gcc.h" #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> flag __lesf2(float32, float32); diff --git a/lib/libc/softfloat/ltdf2.c b/lib/libc/softfloat/ltdf2.c index c9f9308d648..526e1e8bb66 100644 --- a/lib/libc/softfloat/ltdf2.c +++ b/lib/libc/softfloat/ltdf2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ltdf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */ +/* $OpenBSD: ltdf2.c,v 1.3 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: ltdf2.c,v 1.1 2000/06/06 08:15:06 bjh21 Exp $ */ /* @@ -7,7 +7,7 @@ #include "softfloat-for-gcc.h" #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> flag __ltdf2(float64, float64); diff --git a/lib/libc/softfloat/ltsf2.c b/lib/libc/softfloat/ltsf2.c index 823bea0a0dd..223d3f2bbff 100644 --- a/lib/libc/softfloat/ltsf2.c +++ b/lib/libc/softfloat/ltsf2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ltsf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */ +/* $OpenBSD: ltsf2.c,v 1.3 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: ltsf2.c,v 1.1 2000/06/06 08:15:06 bjh21 Exp $ */ /* @@ -7,7 +7,7 @@ #include "softfloat-for-gcc.h" #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> flag __ltsf2(float32, float32); diff --git a/lib/libc/softfloat/nedf2.c b/lib/libc/softfloat/nedf2.c index c2b70f836cd..55725bbbbcd 100644 --- a/lib/libc/softfloat/nedf2.c +++ b/lib/libc/softfloat/nedf2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nedf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */ +/* $OpenBSD: nedf2.c,v 1.3 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: nedf2.c,v 1.1 2000/06/06 08:15:07 bjh21 Exp $ */ /* @@ -7,7 +7,7 @@ #include "softfloat-for-gcc.h" #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> flag __nedf2(float64, float64); diff --git a/lib/libc/softfloat/negdf2.c b/lib/libc/softfloat/negdf2.c index 5ac6b250776..ad052758419 100644 --- a/lib/libc/softfloat/negdf2.c +++ b/lib/libc/softfloat/negdf2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: negdf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */ +/* $OpenBSD: negdf2.c,v 1.3 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: negdf2.c,v 1.1 2000/06/06 08:15:07 bjh21 Exp $ */ /* @@ -7,7 +7,7 @@ #include "softfloat-for-gcc.h" #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> float64 __negdf2(float64); diff --git a/lib/libc/softfloat/negsf2.c b/lib/libc/softfloat/negsf2.c index 8a7ae6973b9..7d59da6f128 100644 --- a/lib/libc/softfloat/negsf2.c +++ b/lib/libc/softfloat/negsf2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: negsf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */ +/* $OpenBSD: negsf2.c,v 1.3 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: negsf2.c,v 1.1 2000/06/06 08:15:07 bjh21 Exp $ */ /* @@ -7,7 +7,7 @@ #include "softfloat-for-gcc.h" #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> float32 __negsf2(float32); diff --git a/lib/libc/softfloat/nesf2.c b/lib/libc/softfloat/nesf2.c index 89270a2ed3a..e86f58c02bd 100644 --- a/lib/libc/softfloat/nesf2.c +++ b/lib/libc/softfloat/nesf2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nesf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */ +/* $OpenBSD: nesf2.c,v 1.3 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: nesf2.c,v 1.1 2000/06/06 08:15:07 bjh21 Exp $ */ /* @@ -7,7 +7,7 @@ #include "softfloat-for-gcc.h" #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> flag __nesf2(float32, float32); diff --git a/lib/libc/softfloat/softfloat.c b/lib/libc/softfloat/softfloat.c index b565d6f2e0a..88ebe1f5a77 100644 --- a/lib/libc/softfloat/softfloat.c +++ b/lib/libc/softfloat/softfloat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softfloat.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */ +/* $OpenBSD: softfloat.c,v 1.3 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: softfloat.c,v 1.1 2002/05/21 23:51:07 bjh21 Exp $ */ /* @@ -57,7 +57,7 @@ this code that are retained. #endif #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> /* * Conversions between floats as stored in memory and floats as diff --git a/lib/libc/softfloat/timesoftfloat.c b/lib/libc/softfloat/timesoftfloat.c index 5e1751e0f2e..c3a81a7adee 100644 --- a/lib/libc/softfloat/timesoftfloat.c +++ b/lib/libc/softfloat/timesoftfloat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: timesoftfloat.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */ +/* $OpenBSD: timesoftfloat.c,v 1.3 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: timesoftfloat.c,v 1.1 2000/06/06 08:15:11 bjh21 Exp $ */ /* @@ -37,7 +37,7 @@ this code that are retained. #include <stdio.h> #include <time.h> #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> enum { minIterations = 1000 diff --git a/lib/libc/softfloat/unorddf2.c b/lib/libc/softfloat/unorddf2.c index 8fe8750deac..4619df186d1 100644 --- a/lib/libc/softfloat/unorddf2.c +++ b/lib/libc/softfloat/unorddf2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: unorddf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */ +/* $OpenBSD: unorddf2.c,v 1.3 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: unorddf2.c,v 1.1 2003/05/06 08:58:19 rearnsha Exp $ */ /* @@ -7,7 +7,7 @@ #include "softfloat-for-gcc.h" #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> flag __unorddf2(float64, float64); diff --git a/lib/libc/softfloat/unordsf2.c b/lib/libc/softfloat/unordsf2.c index 5d5c330f75f..c58983be2b2 100644 --- a/lib/libc/softfloat/unordsf2.c +++ b/lib/libc/softfloat/unordsf2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: unordsf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */ +/* $OpenBSD: unordsf2.c,v 1.3 2015/09/13 14:21:46 miod Exp $ */ /* $NetBSD: unordsf2.c,v 1.1 2003/05/06 08:58:20 rearnsha Exp $ */ /* @@ -7,7 +7,7 @@ #include "softfloat-for-gcc.h" #include "milieu.h" -#include "softfloat.h" +#include <softfloat.h> flag __unordsf2(float32, float32); |