platform_bionic/libc/arch-sh/bionic
David 'Digit' Turner 6a9b888d7c Allow static C++ destructors to be properly called on dlclose().
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)

Change-Id: Ie771aa204e3acbdf02fd30ebd4150373a1398f39
NOTE: The NDK will need to be modified to enable this feature in
      the shared libraries that are generated through it.
2010-06-18 16:07:10 -07:00
..
__get_pc.S added and modified bionic code to support SuperH architecture 2009-09-28 16:11:39 +09:00
__get_sp.S added and modified bionic code to support SuperH architecture 2009-09-28 16:11:39 +09:00
__get_tls.c added and modified bionic code to support SuperH architecture 2009-09-28 16:11:39 +09:00
__set_tls.c added and modified bionic code to support SuperH architecture 2009-09-28 16:11:39 +09:00
_exit_with_stack_teardown.S added and modified bionic code to support SuperH architecture 2009-09-28 16:11:39 +09:00
_setjmp.S added and modified bionic code to support SuperH architecture 2009-09-28 16:11:39 +09:00
atomic_cmpxchg.S added and modified bionic code to support SuperH architecture 2009-09-28 16:11:39 +09:00
atomics_sh.c Use private futexes for pthread_mutex_t. 2010-03-18 17:13:41 -07:00
bzero.S added and modified bionic code to support SuperH architecture 2009-09-28 16:11:39 +09:00
clone.S Implement clone() C library function properly. 2010-01-25 11:18:30 -08:00
crtbegin_dynamic.S Allow static C++ destructors to be properly called on dlclose(). 2010-06-18 16:07:10 -07:00
crtbegin_static.S Allow static C++ destructors to be properly called on dlclose(). 2010-06-18 16:07:10 -07:00
crtend.S added and modified bionic code to support SuperH architecture 2009-09-28 16:11:39 +09:00
ffs.S added and modified bionic code to support SuperH architecture 2009-09-28 16:11:39 +09:00
memcpy.S added and modified bionic code to support SuperH architecture 2009-09-28 16:11:39 +09:00
memmove.S added and modified bionic code to support SuperH architecture 2009-09-28 16:11:39 +09:00
memset.S added and modified bionic code to support SuperH architecture 2009-09-28 16:11:39 +09:00
pipe.S added and modified bionic code to support SuperH architecture 2009-09-28 16:11:39 +09:00
setjmp.S added and modified bionic code to support SuperH architecture 2009-09-28 16:11:39 +09:00
sigsetjmp.S added and modified bionic code to support SuperH architecture 2009-09-28 16:11:39 +09:00
syscall.S added and modified bionic code to support SuperH architecture 2009-09-28 16:11:39 +09:00
unwind.c added and modified bionic code to support SuperH architecture 2009-09-28 16:11:39 +09:00