diff options
author | Yann Le Du <yann.le.du@kernkonzept.com> | 2024-07-09 10:02:43 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-07-09 14:01:11 +0200 |
commit | 20ad89de9124db4178c8f41a097700f1923b1f58 (patch) | |
tree | 49c66300973afbeadfe254ec13b62b672d86e6f3 /Makefile | |
parent | ee077ec4d9351c9f9c3e1293dfb3da8e1fe36261 (diff) |
stdlib: increase number of static atexit handlers to 32
The existing limit of 20 was found to be insufficient when moving from
gcc 8 to gcc 9. At the time a test ran already 16 handlers had been
installed leaving only minimal room for application installed handlers.
Musl uses 32, as does newlib. Further, the ISO C standard for C99
specifies that:
The implementation shall support the registration of at least
32 functions.
(7.20.4.2 The atexit function)
Co-authored-by: Yann Le Du <yann.le.du@kernkonzept.com>
Signed-off-by: Marcus Haehnel <marcus.haehnel@kernkonzept.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions