platform_bionic/libc/arch-sh
David 'Digit' Turner 3b43f87d29 Allow dlclose() to properly call static C++ destructors.
With this patch _and_ an upcoming build/ patch, the destruction
of static C++ objects contained in shared libraries will happen
properly when dlclose() is called.

Note that this change introduces crtbegin_so.S and crtend_so.S which
are currently ignored by the build system.

+ move definition of __dso_handle to the right place
(before that, all shared libraries used the __dso_handle
global variable from the C library).

Note that we keep a 'weak' __dso_handle in aeabi.c to avoid
breaking the build until the next patch to build/core/combo/
appears. We will be able to remove that later.

+ move bionic/aeabi.c to arch-arm/bionic/ (its proper location)

NOTE: The NDK will need to be modified to enable this feature in
         the shared libraries that are generated through it.

Change-Id: I99cd801375bbaef0581175893d1aa0943211b9bc
2010-07-01 23:09:28 -07:00
..
bionic Allow dlclose() to properly call static C++ destructors. 2010-07-01 23:09:28 -07:00
include added and modified bionic code to support SuperH architecture 2009-09-28 16:11:39 +09:00
syscalls bonic: libc: cpuacct support for setuid functions 2010-03-02 18:18:04 -08:00
syscalls.mk bonic: libc: cpuacct support for setuid functions 2010-03-02 18:18:04 -08:00