summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/arm/crt1.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/arm/crt1.S b/libc/sysdeps/linux/arm/crt1.S
index 01e1f61d3..82e1c8c42 100644
--- a/libc/sysdeps/linux/arm/crt1.S
+++ b/libc/sysdeps/linux/arm/crt1.S
@@ -132,6 +132,14 @@ _start:
.word _fini(GOT)
.word _init(GOT)
.word main(GOT)
+#else
+# ifdef __UCLIBC_CTOR_DTOR__
+ .type _init,%function
+ .type _fini,%function
+# else
+ .weak _fini
+ .weak _init
+# endif
#endif
/* Define a symbol for the first piece of initialized data. */