acadia-newlib/newlib/libc/time
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
..
Makefile.inc newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
asctime.c Add --enable-newlib-reent-thread-local option 2022-07-13 06:55:46 +02:00
asctime_r.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
clock.c time: remove TRAD_SYNOPSIS 2017-12-01 03:41:53 -06:00
ctime.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
ctime_r.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
difftime.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
gettzinfo.c newlib: posix: use local includes for local headers 2022-02-18 18:40:57 -05:00
gmtime.c Add --enable-newlib-reent-thread-local option 2022-07-13 06:55:46 +02:00
gmtime_r.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
lcltime.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
lcltime_r.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
local.h libc/time: Move internal newlib tz-structs into own header 2020-10-15 16:59:51 +02:00
mktime.c Fix 32-bit overflow in mktime() when time_t is 64-bits long 2018-05-29 15:27:03 +02:00
month_lengths.c ansification: remove _CONST 2018-01-17 11:47:08 -06:00
strftime.c newlib: strftime: fix over-enthusiastic fix from 0283642f35 2018-08-08 23:59:34 +02:00
strptime.c ansification: remove _CONST 2018-01-17 11:47:08 -06:00
time.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
time.tex * libc/time/strftime.c: Adapt for dual-purpose use so not only 2009-03-09 12:35:03 +00:00
tzcalc_limits.c Fix 32-bit integer overflow when calculating TZ rules 2020-11-04 13:33:36 -05:00
tzlock.c ansification: remove _VOID 2018-01-17 11:47:20 -06:00
tzset.c Add angle TZ angle bracket support to tzset_r 2022-04-08 15:10:50 -04:00
tzset_r.c Modify tzset_r.c to handle errors 2022-05-27 11:05:11 -04:00
tzvars.c 2005-11-08 Tom Walsh <tom@openhardware.net> 2005-11-08 22:44:16 +00:00
wcsftime.c time: remove TRAD_SYNOPSIS 2017-12-01 03:41:53 -06:00