]> sourceware.org Git - newlib-cygwin.git/commit
libm: Control errno support with _IEEE_LIBM configuration parameter
authorKeith Packard via Newlib <newlib@sourceware.org>
Tue, 4 Aug 2020 22:22:24 +0000 (15:22 -0700)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 5 Aug 2020 20:23:02 +0000 (22:23 +0200)
commitc3ce8405c185ee192ed802f9c79f2f5a797062ea
tree4729e2dc868bf14c878b9c7d0d59665bc407c8eb
parente108d04432bb0c0c223c447fcead5f7605342cba
libm: Control errno support with _IEEE_LIBM configuration parameter

This removes the run-time configuration of errno support present in
portions of the math library and unifies all of the compile-time errno
configuration under a single parameter so that the whole library
is consistent.

The run-time support provided by _LIB_VERSION is no longer present in
the public API, although it is still used internally to disable errno
setting in some functions. Now that it is a constant, the compiler should
remove that code when errno is not supported.

This removes s_lib_ver.c as _LIB_VERSION is no longer variable.

Signed-off-by: Keith Packard <keithp@keithp.com>
newlib/libc/include/math.h
newlib/libm/common/Makefile.am
newlib/libm/common/Makefile.in
newlib/libm/common/fdlibm.h
newlib/libm/common/math_config.h
newlib/libm/common/s_lib_ver.c [deleted file]
This page took 0.030232 seconds and 5 git commands to generate.