summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/crt0.S
AgeCommit message (Collapse)Author
2002-04-14Manuel and I were looking into a problem with applications failing to linkEric Andersen
(undefined reference to `main') when the .o file containing main was contained in an static library(a '.a' ar archive). It turns out that due to its single pass nature, GNU ld was failing to pull it into the build. This sticks a dummy reference to main() into crt0.o, so that when an application is linked with the main() function in a static library, we can be sure that main() actually gets linked in. -Erik
2002-03-16Remove the C++ support stubs, since these now live elsewhere andEric Andersen
these stubs were preventing the real stuff from working properly. -Erik
2001-12-19merged the two startup files so that uClinux people always get the correctDavid McCullough
arg processing whether they are using PIC or not, and vice-versa for the MMU folks.
2001-10-04Patch from David McCullough <davidm@lineo.com>:Eric Andersen
* 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 :-(
2001-08-28This will hopefully make global constructors and destructors workEric Andersen
2001-04-28Fix up a commentEric Andersen
2001-02-23Update arm for the new way of entering main. BTW, I can now run things on armEric Andersen
as a shared library, using the glibc shared lib loader. :-) I've updated the pic case but havn't tested it yet. -Erik
2001-02-09Revert stdio to initializing itself. Not quite a pretty but that ensures thatEric Andersen
we don't blow up by using too much stack space, and simplifies the job of supporting new architectures, since they don't have to mess with calling foo init functions in crt0 and cleaning up the resulting damage. -Erik
2001-02-07_void_void_null_func never returned. I noticed this yesterdayEric Andersen
in crt0.S and Michiel Thuys <michiel.thuys@intersil.com> noticed the same thing in crt0pic.S. -Erik
2001-01-17Minor comment updateEric Andersen
2001-01-16Fix arm so it actually works.Eric Andersen
2001-01-16Added common handling of errno.Eric Andersen
2001-01-15USe the name crt0.o, and cp it to $(TOPDIR)/libcrt0.oEric Andersen