Move ldso FINI handling into _dl_fini(). Add #ifndef _DL_DO_FINI_IN_LIBC around registering _dl_fini with atexit(). This is a preparation to move the FINI handling to libc.
Move ldso FINI handling into _dl_fini(). Add #ifndef _DL_DO_FINI_IN_LIBC around
registering _dl_fini with atexit(). This is a preparation to move the
FINI handling to libc.

joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc