summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm/bionic/crtbegin_so.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-arm/bionic/crtbegin_so.S')
-rw-r--r--libc/arch-arm/bionic/crtbegin_so.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/arch-arm/bionic/crtbegin_so.S b/libc/arch-arm/bionic/crtbegin_so.S
index bb6b3e2..9275b1e 100644
--- a/libc/arch-arm/bionic/crtbegin_so.S
+++ b/libc/arch-arm/bionic/crtbegin_so.S
@@ -52,4 +52,10 @@ __FINI_ARRAY__:
.long -1
.long __on_dlclose
+#ifdef CRT_LEGACY_WORKAROUND
#include "__dso_handle.S"
+#else
+#include "__dso_handle_so.S"
+#endif
+
+#include "atexit.S"