summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/crt0.S
AgeCommit message (Collapse)Author
2002-10-01This commit contains a patch from Stefan Allius <allius@atecom.com> to changeEric Andersen
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.
2002-08-27Somehow the bit of code that add the offset of envp to argv got lostDavid McCullough
and envp was a very small number and not an address. I think this fixes most of the SH platform.
2002-08-27Fix a delay slot problem, this gets some apps working on SH, a good numberDavid McCullough
are still seg-faulting.
2002-08-08I reworked syscalls.h to match how I'm doing other arches. Stefan Allius andEric Andersen
Edie C. Dost has some concerns about the perl script used to general crti.o and crtn.o and added their own versions. These versions will win since they are built last,
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-04-03Run dos2unix on these filesEric Andersen
2001-05-25Update for the SH port from Jean-Yves Avenard <jean-yves_avenard@hp.com>Eric Andersen
2001-02-21Add an SH port done by Jean-Yves Avenard of Hewlett-Packard - EmbeddedEric Andersen
and Personal Systems. Thanks! -Erik