commit | 1df986c21ee52c6756846b4a5e45cb316f772112 | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@google.com> | Thu Oct 21 04:16:50 2010 +0200 |
committer | David 'Digit' Turner <digit@google.com> | Thu Oct 21 04:16:50 2010 +0200 |
tree | da7effa96dd8e57e1cd718e69b79827d9011038e | |
parent | d3f0638aeec0b1daf4d3347386a5e441d5a4bcc4 [diff] |
libc: fix executable destruction support. 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