summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/arm/crt0.S
Commit message (Collapse)AuthorAgeFilesLines
* Make profiling on arm workEric Andersen2003-03-061-1/+5
|
* Fixup handling of the .note.ABI-tag section so that it is ARM only,Eric Andersen2003-02-081-0/+14
| | | | | | and so it actually works as intended allowing binaries on ARM to be debugged. -Erik
* Update crt0 for arm to provide the main referenceEric Andersen2003-01-231-7/+13
| | | | | | a bit more nicely, and make _init and _fini be weak for people with broken compilers -Erik
* Based on discussions with Stefan Allius, change it so that we alwaysEric Andersen2002-12-121-1/+1
| | | | | | | build a crt0.o and a crt1.o. crt1.o will support ctors and dtors if such support is enabled. One more gratuitous toolchain support issue is thereby removed... -Erik
* Make support for global constructors and global destructors beEric Andersen2002-11-271-0/+4
| | | | | | configurable, so people who do not need or want ctor/dtor support can disable it and make their binaries a little bit smaller. -Erik
* I was an idiot and put _fini into the wrong register. Duh.Eric Andersen2002-11-151-3/+2
| | | | This patch from David Meggy fixes it...
* This commit contains a patch from Stefan Allius <allius@atecom.com> to changeEric Andersen2002-10-011-13/+15
| | | | | | | how uClibc handles _init and _fini, allowing shared lib constructors and destructors to initialize things in the correct sequence. Stefan ported the SH architecture. I then ported x86, arm, and mips. x86 and arm are working fine, but I don't think I quite got things correct for mips.
* Manuel and I were looking into a problem with applications failing to linkEric Andersen2002-04-141-0/+6
| | | | | | | | | | (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
* Remove the C++ support stubs, since these now live elsewhere andEric Andersen2002-03-161-14/+0
| | | | | these stubs were preventing the real stuff from working properly. -Erik
* merged the two startup files so that uClinux people always get the correctDavid McCullough2001-12-191-0/+30
| | | | | arg processing whether they are using PIC or not, and vice-versa for the MMU folks.
* Patch from David McCullough <davidm@lineo.com>:Eric Andersen2001-10-041-0/+2
| | | | | | | | | | | | | | * 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 :-(
* This will hopefully make global constructors and destructors workEric Andersen2001-08-281-0/+12
|
* Fix up a commentEric Andersen2001-04-281-1/+1
|
* Update arm for the new way of entering main. BTW, I can now run things on armEric Andersen2001-02-231-54/+32
| | | | | | | as a shared library, using the glibc shared lib loader. :-) I've updated the pic case but havn't tested it yet. -Erik
* Revert stdio to initializing itself. Not quite a pretty but that ensures thatEric Andersen2001-02-091-24/+2
| | | | | | | 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
* _void_void_null_func never returned. I noticed this yesterdayEric Andersen2001-02-071-1/+1
| | | | | | in crt0.S and Michiel Thuys <michiel.thuys@intersil.com> noticed the same thing in crt0pic.S. -Erik
* Minor comment updateEric Andersen2001-01-171-2/+7
|
* Fix arm so it actually works.Eric Andersen2001-01-161-40/+82
|
* Added common handling of errno.Eric Andersen2001-01-161-6/+1
|
* USe the name crt0.o, and cp it to $(TOPDIR)/libcrt0.oEric Andersen2001-01-151-0/+66