]> sourceware.org Git - newlib-cygwin.git/commit
Add static instance of _on_exit_args for _REENT_SMALL platforms.
authorJeff Johnston <jjohnstn@redhat.com>
Mon, 21 Dec 2015 16:49:28 +0000 (11:49 -0500)
committerJeff Johnston <jjohnstn@redhat.com>
Mon, 21 Dec 2015 16:49:28 +0000 (11:49 -0500)
commitd2bb300b9bb7917d33e3bc37fca3bf6ee6e5fcc4
tree5b55b35d828623191420773e7b0e5a42387f0107
parentddb7e770dd48a97fe80cca3ab3b26d85f3ac5139
Add static instance of _on_exit_args for _REENT_SMALL platforms.

2015-12-21  Freddie Chopin  <freddie.chopin@gmail.com>

        * libc/stdlib/on_exit_args.{c,h}: New files.
        * libc/stdlib/Makefile.am: Add new source file.
        * libc/stdlib/Makefile.in: Regenerate.
        * libc/stdlib/__atexit.c (__register_exitproc): Initialize
        _on_exit_args_ptr field of _GLOBAL_ATEXIT on first run.
        * libc/stdlib/on_exit.c: Force linking of static instance of
        _on_exit_args.
        * libc/stdlib/cxa_atexit.c: Likewise.
newlib/ChangeLog
newlib/libc/stdlib/Makefile.am
newlib/libc/stdlib/Makefile.in
newlib/libc/stdlib/__atexit.c
newlib/libc/stdlib/cxa_atexit.c
newlib/libc/stdlib/on_exit.c
newlib/libc/stdlib/on_exit_args.c [new file with mode: 0644]
newlib/libc/stdlib/on_exit_args.h [new file with mode: 0644]
This page took 0.032235 seconds and 5 git commands to generate.