summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/cris
Commit message (Collapse)AuthorAgeFilesLines
* Implement _start completely in assembler. Otherwise the compiler willPeter Kjellerstedt2005-02-091-15/+19
| | | | | push the frame pointer when DO_DEBUG is enabled (and thus incorrect argc, argv and envp will be passed to the program).
* Include features.h (without it, testing for __UCLIBC_HAS_THREADS__ Peter Kjellerstedt2005-02-091-0/+1
| | | | makes no sense).
* merge parallel build supportMike Frysinger2005-01-251-6/+5
|
* Patch from Peter S. Mazinger to consistantly use "ASFLAGS"Eric Andersen2004-12-221-4/+3
| | | | as the flags for all calls to 'as'
* Do not assume a fifth argument is used with syscall(). Allocate stackPeter Kjellerstedt2004-10-301-6/+6
| | | | for saving SRP separately.
* Add bswap_64 macro and uClibc_page.h. From Peter Kjellerstedt.Joakim Tjernlund2004-09-232-0/+55
|
* Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both aEric Andersen2004-08-212-51/+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
* s/___brk_addr/__curbrk/gEric Andersen2004-07-303-18/+17
| | | | | | | | Some utilities, such as valgrind, have a legitimate reason to know the address of the current brk. Since we know such utils will peek under our skirt, we might as well give them what they expect and not use a gratuitously different symbol name. -Erik
* Removed unused file.Tobias Anderberg2004-05-241-72/+0
|
* __data_start needs to be added to all crt0.S files that don't currentlyEric Andersen2004-05-141-6/+6
| | | | have it. It is used by the boehm gc, amoung other things.
* Cris can use the generic vforkEric Andersen2004-02-152-12/+1
|
* Fixup fork implementation to provide the __libc_fork symbolEric Andersen2004-02-151-1/+3
|
* Fix completely hosed up formattingEric Andersen2004-02-061-10/+10
|
* Sigh. The 2.6.x kernel removed '__kernel_dev_t' and renamed it asEric Andersen2004-02-061-0/+1
| | | | | | | | | '__kernel_old_dev_t'. And of course there is no good way to know which is in use except checking linux/version.h. Grumble. This is rather lame, but for now, define __kernel_old_dev_t to be the same as __kernel_dev_t. This will want to be revisited soon. -Erik
* Put in a dummy reference to main so busybox will link.Manuel Novoa III2003-12-021-0/+6
|
* Remove SAFECFLAGS. It was a workaround for failures in old awk scriptEric Andersen2003-11-221-7/+2
| | | | | | | | | | used to generate the crti.S and crtn.S files. Since we don't use that anymore, keeping the workaround makes no sense. Furthermore, in most cases, SAFECFLAGS was not picking up all the needed flags, causing crti.o and crtn.o to not be built PIC. Which is very bad. Removing SAFECFLAGS and using CFLAGS fixes that as well.
* Darn. Fix compilation for soft-float, which I inadvertantlyEric Andersen2003-11-081-0/+4
| | | | broke a couple of days ago. :-(
* Continue the conversion to using per-arch crti.S and crtn.SEric Andersen2003-11-053-1/+89
|
* Updated to match the other architectures. Fixes problem with "fcntl:Tobias Anderberg2003-11-031-29/+67
| | | | function not implemented".
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-1/+1
| | | | | | | rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM).
* Hm. Keep using crt0.c for now. My fever-hack of crt0.S didn't do theTobias Anderberg2003-09-241-1/+1
| | | | expected thing. A so called "D'oh!".
* Added assembler version of startup code. Fix Makefile so it uses the newTobias Anderberg2003-09-192-1/+73
| | | | code.
* Cosmetic changes.Tobias Anderberg2003-08-273-5/+8
|
* Remove the arch specific shm.h and use the fixed up commonEric Andersen2003-08-011-84/+0
| | | | | one which now uses the kernel structs -Erik
* Initial effort at adding profiling support.Eric Andersen2003-03-033-0/+82
|
* Finish up fixing stat and setting various system types.Eric Andersen2003-01-241-1/+1
|
* Ok, people are probably going to hate me for this... This commit changes theEric Andersen2003-01-241-3/+3
| | | | | | | | | | | | | | | type of 'struct stat' and 'struct stat64' so they use consistant types. This change is the result of a bug I found while trying to use GNU tar. The problem was caused by our using kernel types within struct stat and trying to directly compare these values with standard types. Trying an 'if (a < b)' when 'a' is an 'unsigned long' and 'b' is an 'int' leads to very different results then when comparing entities of the same type (i.e. time_t values).... Grumble. Nasty stuff, but I'm glad I got this out of the way now. As a result of this fix, uClibc 0.9.17 will not be binary compatible with earlier releases. I have always warned people this can and will happen. -Erik
* Update architecture specific support to consistantlyEric Andersen2003-01-231-1/+5
| | | | | | generate a crt0 and crt1 file. Most arches still need to be updated to call __uClibc_start_main() rather than __uClibc_main().
* Hopefully this will work as expected. I have no way toEric Andersen2003-01-232-6/+16
| | | | test but this should be correct.
* Properly prefix some symbolsEric Andersen2002-11-031-8/+3
|
* Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen2002-10-311-1/+1
| | | | | | | | | | | | | | | been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
* Support O_STREAMINGEric Andersen2002-10-091-0/+1
|
* Replace _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__Eric Andersen2002-09-261-3/+3
| | | | -Erik
* Cosmetic cleanup.Tobias Anderberg2002-09-236-28/+32
|
* * Added clone() system call.Tobias Anderberg2002-09-208-65/+493
| | | | | | | | | | | | * Proper implementation of bits/syscalls.h, no cheating by just including <asm/unistd.h>. * Proper implementation of syscall.S, it no longer contains the __syscall_error, instead it contains code which makes syscall(nr,...) a system call. * Added sysdep.S which contains the code for __syscall_error. * Added some macros to sysdep.h. * Added sys/procfs.h, which is needed when compiling with thread support. * Removed unused syscall-cris.c.
* Removed unused fileTobias Anderberg2002-09-201-4/+0
|
* Initial version of the CRIS port.Tobias Anderberg2002-09-1627-0/+1634