summaryrefslogtreecommitdiffstats
path: root/libc/bionic/libc_init_common.h
Commit message (Collapse)AuthorAgeFilesLines
* libc: fix executable destruction support.David 'Digit' Turner2010-10-211-0/+1
| | | | | | | | | | | | | This change allows an executable to call its destructor functions (declared with __attribute__((destructor))) to be properly called when it normally exits. Note that this is different from calling the destructors of a shared library when it is unloaded with dlclose() or through program exit, which are already supported. Bug: 3106500 Change-Id: I1412ef5407f13b613fc6cb6103e0a691dbee4b1a
* Fix the C library runtime initialization order.David 'Digit' Turner2009-07-181-5/+1
| | | | | | | | | | | This allows libc.so to run the C runtime initializer as soon as the dynamic linker loads the shared library, i.e. before any other initializers (e.g. static C++ constructors in other shared libraries the executable depends on). This also removes the bug where the initializers from the executable itself were run twice: once by the dynamic linker, and another time by __libc_init as defined by libc_init_dynamic.c
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+47
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-47/+0
|
* Initial Contributionandroid-1.0The Android Open Source Project2008-10-211-0/+47