The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 1 | /* 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 |