newlib-cygwin/newlib/libm
Matt Joyce ea99f21ce6 Add --enable-newlib-reent-thread-local option
By default, Newlib uses a huge object of type struct _reent to store
thread-specific data.  This object is returned by __getreent() if the
__DYNAMIC_REENT__ Newlib configuration option is defined.

The reentrancy structure contains for example errno and the standard input,
output, and error file streams.  This means that if an application only uses
errno it has a dependency on the file stream support even if it does not use
it.  This is an issue for lower end targets and applications which need to
qualify the software according to safety standards (for example ECSS-E-ST-40C,
ECSS-Q-ST-80C, IEC 61508, ISO 26262, DO-178, DO-330, DO-333).

If the new _REENT_THREAD_LOCAL configuration option is enabled, then struct
_reent is replaced by dedicated thread-local objects for each struct _reent
member.  The thread-local objects are defined in translation units which use
the corresponding object.
2022-07-13 06:55:46 +02:00
..
common newlib: libm: merge build up a directory 2022-02-17 20:56:32 -05:00
complex newlib: libm: merge build up a directory 2022-02-17 20:56:32 -05:00
fenv newlib: libm: merge build up a directory 2022-02-17 20:56:32 -05:00
machine newlib: libm: merge build up a directory 2022-02-17 20:56:32 -05:00
math Add --enable-newlib-reent-thread-local option 2022-07-13 06:55:46 +02:00
mathfp newlib: libm: merge build up a directory 2022-02-17 20:56:32 -05:00
test newlib: libm: integrate tests subdir 2022-03-16 22:01:19 -04:00
Makefile.inc Silence xsltproc when writing manpages 2022-05-04 17:05:52 -04:00
acinclude.m4 newlib: libm: merge build up a directory 2022-02-17 20:56:32 -05:00
libm.in.xml fenv: Include documentation in generated .info file 2019-08-15 12:04:50 +02:00
libm.texi newlib: use .texi with libc & libm manuals 2022-01-07 15:54:10 -05:00