summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/i386')
-rw-r--r--libc/sysdeps/linux/i386/crt1.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/i386/crt1.S b/libc/sysdeps/linux/i386/crt1.S
index 53a545526..12299c687 100644
--- a/libc/sysdeps/linux/i386/crt1.S
+++ b/libc/sysdeps/linux/i386/crt1.S
@@ -57,8 +57,13 @@
.text
.globl _start
.type _start,@function
+#if defined(__UCLIBC_CTOR_DTOR__)
.type _init,%function
.type _fini,%function
+#else
+ .weak _init
+ .weak _fini
+#endif
.type main,%function
.type __uClibc_main,%function
_start: