diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2015-12-21 11:53:14 -0500 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2015-12-21 11:53:14 -0500 |
commit | c2bbc54a62da248a1b828bb6c0518185be3324eb (patch) | |
tree | e6f4e9966c58c3315115a0a837e22cc1f51049ea /newlib/libc/machine/arm/aeabi_memset-thumb.S | |
parent | d2bb300b9bb7917d33e3bc37fca3bf6ee6e5fcc4 (diff) | |
download | cygnal-c2bbc54a62da248a1b828bb6c0518185be3324eb.tar.gz cygnal-c2bbc54a62da248a1b828bb6c0518185be3324eb.tar.bz2 cygnal-c2bbc54a62da248a1b828bb6c0518185be3324eb.zip |
Fix atexit logic to honor _ATEXIT_DYNAMIC_ALLOC setting.
If small reent is enabled (_REENT_SMALL is defined) then malloc() was
used in __register_exitproc() even if user requested it to be disabled
(_ATEXIT_DYNAMIC_ALLOC is defined). With this fix, function fails when
_ATEXIT_DYNAMIC_ALLOC is defined and whole static storage is already
used.
2015-12-21 Freddie Chopin <freddie.chopin@gmail.com>
* libc/stdlib/__atexit.c (__register_exitproc): Fix for
_ATEXIT_DYNAMIC_ALLOC.
Diffstat (limited to 'newlib/libc/machine/arm/aeabi_memset-thumb.S')
0 files changed, 0 insertions, 0 deletions