summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/crt0.S
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-10-04 07:38:56 +0000
committerEric Andersen <andersen@codepoet.org>2001-10-04 07:38:56 +0000
commit0ee72c0b1534e16e6240e99f822b2401cfc1dd4d (patch)
treec7e7345c649b805563fd0ec44c4e12dd75816bad /libc/sysdeps/linux/arm/crt0.S
parentdc52a36cadc2279f9cc104b921ef8f3b3ad9531a (diff)
Patch from David McCullough <davidm@lineo.com>:
* reduce the sigset types to 32 bits (I've mentioned this before) I think I saw this change go in for another platform anyway ;-) * Do not use _IO_FILE as it clashes with the C++ libraries which know too much about how glibc workds :-( * Do not use _G_va_list for the same reason. * remove the CTORS/DTORS from crt0.S for ARM as the compiler provided crtbegin.o and crtend.o have these (and only these) already in them and you get multiple defined errs :-(
Diffstat (limited to 'libc/sysdeps/linux/arm/crt0.S')
-rw-r--r--libc/sysdeps/linux/arm/crt0.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/arm/crt0.S b/libc/sysdeps/linux/arm/crt0.S
index 01bcb321f..65253881c 100644
--- a/libc/sysdeps/linux/arm/crt0.S
+++ b/libc/sysdeps/linux/arm/crt0.S
@@ -62,6 +62,7 @@ _start:
/* Ok, now run uClibc's main() -- shouldn't return */
bl __uClibc_main
+#if 0 /* this is already provided by crtbegin/crtend in the arm-elf compiler */
/* a little bit of stuff to support C++ */
.section .ctors,"aw"
.align 4
@@ -74,3 +75,4 @@ __CTOR_LIST__:
.global __DTOR_LIST__
__DTOR_LIST__:
.long -1
+#endif