OSDN Git Service

2009-04-23 Paul Brook <paul@codesourcery.com>
authorjjohnstn <jjohnstn>
Thu, 23 Apr 2009 17:54:22 +0000 (17:54 +0000)
committerjjohnstn <jjohnstn>
Thu, 23 Apr 2009 17:54:22 +0000 (17:54 +0000)
commitf910932ea50f7094c5dba87e63e0956002991842
tree355993d71b89e1a854c9c7b9244b79dd930459c7
parent645c74635e47bcade1f530d2751a539ae615fc5a
2009-04-23  Paul Brook  <paul@codesourcery.com>
            Kazu Hirata  <kazu@codesourcery.com>

        * libc/stdlib/__atexit.c (__register_exitproc): Use weak reference
        to malloc.  Allocate dynamically only if it is present.
        * libc/stdlib/__call_atexit.c (__call_exitprocs): Use weak
        reference to free.  Call free only if it is present.
newlib/ChangeLog
newlib/libc/stdlib/__atexit.c
newlib/libc/stdlib/__call_atexit.c