------- Comment #3 from jingyu at google dot com 2009-04-15 23:35 ------- GCC puts destructors in .fini_array section in increasing order, and expects linker executes entries in .fini_array in reverse order (according to ELF specification). However, newlib executes entries in .fini_array in increase order. This may be a bug in newlib.
Filed an issue in newlib mailing list. http://sourceware.org/ml/newlib/2009/msg00466.html Close this issue since it is not a problem of GCC. -- jingyu at google dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39758