summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm/bionic/crtbegin_static.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-arm/bionic/crtbegin_static.S')
-rw-r--r--libc/arch-arm/bionic/crtbegin_static.S10
1 files changed, 3 insertions, 7 deletions
diff --git a/libc/arch-arm/bionic/crtbegin_static.S b/libc/arch-arm/bionic/crtbegin_static.S
index e265923..6f9cf25 100644
--- a/libc/arch-arm/bionic/crtbegin_static.S
+++ b/libc/arch-arm/bionic/crtbegin_static.S
@@ -63,13 +63,7 @@ _start:
.long __INIT_ARRAY__
.long __FINI_ARRAY__
.long __CTOR_LIST__
-
-# the .ctors section contains a list of pointers to "constructor"
-# functions that need to be called in order during C library initialization,
-# just before the program is being run. This is a C++ requirement
-#
-# the last entry shall be 0, and is defined in crtend.S
-#
+
.section .preinit_array, "aw"
.globl __PREINIT_ARRAY__
__PREINIT_ARRAY__:
@@ -90,3 +84,5 @@ __FINI_ARRAY__:
__CTOR_LIST__:
.long -1
+
+#include "__dso_handle.S"