Searched refs:fini_array (Results 1 - 13 of 13) sorted by relevance

/bionic/libc/arch-common/bionic/
H A Dcrtend.S37 .section .fini_array, "aw"
H A Dcrtend_so.S35 .section .fini_array, "aw"
H A Dcrtbegin.c39 __attribute__ ((section (".fini_array")))
50 array.fini_array = &__FINI_ARRAY__;
/bionic/libc/bionic/
H A Dlibc_init_common.h36 void (**fini_array)(void); member in struct:__anon5
H A Dlibc_init_common.cpp125 * to run the destructors that are listed in the .fini_array section
128 * 'fini_array' points to a list of function addresses. The first
132 void** fini_array = reinterpret_cast<void**>(array); local
136 if (array == NULL || (size_t)fini_array[0] != minus1) {
141 fini_array += 1;
145 while (fini_array[count] != NULL) {
151 void (*func)() = (void (*)()) fini_array[--count];
H A Dlibc_init_dynamic.cpp106 // The executable may have its own destructors listed in its .fini_array
109 if (structors->fini_array) {
110 __cxa_atexit(__libc_fini,structors->fini_array,NULL);
H A Dlibc_init_static.cpp104 // The executable may have its own destructors listed in its .fini_array
107 if (structors->fini_array != NULL) {
108 __cxa_atexit(__libc_fini,structors->fini_array,NULL);
/bionic/libc/arch-arm64/bionic/
H A Dcrtbegin.c39 __attribute__ ((section (".fini_array")))
47 array.fini_array = &__FINI_ARRAY__;
/bionic/libc/arch-mips/bionic/
H A Dcrtbegin.c39 __attribute__ ((section (".fini_array")))
47 array.fini_array = &__FINI_ARRAY__;
/bionic/libc/arch-mips64/bionic/
H A Dcrtbegin.c39 __attribute__ ((section (".fini_array")))
47 array.fini_array = &__FINI_ARRAY__;
/bionic/linker/
H A Dlinker.h169 linker_function_t* fini_array; member in struct:soinfo
H A Dlinker.cpp1526 CallArray("DT_FINI_ARRAY", fini_array, fini_array_count, true);
1806 si->fini_array = reinterpret_cast<linker_function_t*>(base + d->d_un.d_ptr);
1807 DEBUG("%s destructors (DT_FINI_ARRAY) found at %p", si->name, si->fini_array);
/bionic/libc/
H A Dcrt.mk11 # For all the platforms, the .fini_array section must point to a function

Completed in 1514 milliseconds