diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-05-16 02:58:10 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-05-16 02:58:10 +0400 |
commit | dc824ef7363e46b3602b458f7bf00303601c1102 (patch) | |
tree | e323a2db83cf227cf6ddd465d8657d9339d15369 /newlib/ChangeLog | |
parent | e355de817c95c1b5b3fa98c0e5e2863a1ecb7679 (diff) |
2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdlib.h: Add on_exit prototype.
* libc/include/sys/reent.h (struct _atexit): Add argument array
and bits to track type of exit routine to support both on_exit
and atexit.
(_REENT_INIT_PTR): Add missing fields that won't be zeroed out
by default and change the setting of the atexit structure.
(_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
* libc/stdlib/on_exit.c: New file.
* libc/stdlib/Makefile.am: Add support for on_exit.
* libc/stdlib/Makefile.in: Regenerated.
* libc/stdlib/atexit.c: Change to initialize types field.
* libc/stdlib/exit.c: Change to look at types field for each
exit routine and either call an atexit-style or an on_exit-style
routine accordingly.
Diffstat (limited to 'newlib/ChangeLog')
-rw-r--r-- | newlib/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 0da1e3267..8e04d6407 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,20 @@ +2002-05-15 Jeff Johnston <jjohnstn@redhat.com> + + * libc/include/stdlib.h: Add on_exit prototype. + * libc/include/sys/reent.h (struct _atexit): Add argument array + and bits to track type of exit routine to support both on_exit + and atexit. + (_REENT_INIT_PTR): Add missing fields that won't be zeroed out + by default and change the setting of the atexit structure. + (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace. + * libc/stdlib/on_exit.c: New file. + * libc/stdlib/Makefile.am: Add support for on_exit. + * libc/stdlib/Makefile.in: Regenerated. + * libc/stdlib/atexit.c: Change to initialize types field. + * libc/stdlib/exit.c: Change to look at types field for each + exit routine and either call an atexit-style or an on_exit-style + routine accordingly. + 2002-05-13 Jeff Johnston <jjohnstn@redhat.com> * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't |