blob: d49e9df836d59638a3d842c3ca35c74910d3a547 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/* we put the _init() function here in case the user files for the shared
2 * libs want to drop things into .init section.
3 * We then will call our ctors from crtend_so.o */
4.section .init
5.align 4
6.type _init, @function
7.globl _init
8_init:
9
10.section .init_array, "aw"
11.align 4
12.type __INIT_ARRAY__, @object
13.globl __INIT_ARRAY__
14__INIT_ARRAY__:
15 .long -1
16
17.section .fini_array, "aw"
18.align 4
19.type __FINI_ARRAY__, @object
20.globl __FINI_ARRAY__
21__FINI_ARRAY__:
22 .long -1
23
24.section .ctors, "aw"
25.align 4
26.type __CTOR_LIST__, @object
27.globl __CTOR_LIST__
28__CTOR_LIST__:
29 .long -1