summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sh/crt0.S
Commit message (Collapse)AuthorAgeFilesLines
* update crt0 to crt1 based heavily on glibc start.S and to sync up with ↵Mike Frysinger2005-08-091-136/+0
| | | | __uClibc_main changes
* move __fpscr_values out of crt0 and into libc as proposed by Daniel ↵Mike Frysinger2005-08-091-7/+0
| | | | Jacobowitz so that libm.so links properly with newer toolchains
* Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both aEric Andersen2004-08-211-5/+1
| | | | | | | | size and performance penalty to profiling applications this way, as well as Heisenberg effects, where the act of measuring changes what is measured. There are better tools for doing profiling, such as OProfile, that do not require gcc to instrument the application code. -Erik
* Follow glibc's lead and add a gcc-3.4.1 required symbol to crt0.S.Manuel Novoa III2004-07-161-0/+6
|
* __data_start needs to be added to all crt0.S files that don't currentlyEric Andersen2004-05-141-4/+13
| | | | have it. It is used by the boehm gc, amoung other things.
* Patch from Stefan Allius to finish off the last required bitsEric Andersen2003-03-061-3/+5
| | | | for gmon profiling support for the SuperH target.
* Update architecture specific support to consistantlyEric Andersen2003-01-231-6/+1
| | | | | | generate a crt0 and crt1 file. Most arches still need to be updated to call __uClibc_start_main() rather than __uClibc_main().
* Based on discussions with Stefan Allius, change it so that we alwaysEric Andersen2002-12-121-4/+3
| | | | | | | 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
* Silly me, I forgot to include features.hEric Andersen2002-11-291-4/+5
|
* Make support for global constructors and global destructors beEric Andersen2002-11-271-4/+34
| | | | | | configurable, so people who do not need or want ctor/dtor support can disable it and make their binaries a little bit smaller. -Erik
* This commit contains a patch from Stefan Allius <allius@atecom.com> to changeEric Andersen2002-10-011-19/+30
| | | | | | | 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.
* Somehow the bit of code that add the offset of envp to argv got lostDavid McCullough2002-08-271-0/+1
| | | | | and envp was a very small number and not an address. I think this fixes most of the SH platform.
* Fix a delay slot problem, this gets some apps working on SH, a good numberDavid McCullough2002-08-271-1/+3
| | | | are still seg-faulting.
* I reworked syscalls.h to match how I'm doing other arches. Stefan Allius andEric Andersen2002-08-081-25/+14
| | | | | | 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,
* Manuel and I were looking into a problem with applications failing to linkEric Andersen2002-04-141-0/+7
| | | | | | | | | | (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
* Run dos2unix on these filesEric Andersen2002-04-031-1/+1
|
* Update for the SH port from Jean-Yves Avenard <jean-yves_avenard@hp.com>Eric Andersen2001-05-251-13/+27
|
* Add an SH port done by Jean-Yves Avenard of Hewlett-Packard - EmbeddedEric Andersen2001-02-211-0/+81
and Personal Systems. Thanks! -Erik