summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/cris
Commit message (Collapse)AuthorAgeFilesLines
* clean up O_CLOEXEC handlingMike Frysinger2009-10-161-0/+1
| | | | | | | | Drop the "#ifndef O_CLOEXEC" cruft, enable O_CLOEXEC in most fcntl.h headers, and import __ASSUME_O_CLOEXEC from glibc. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* trim Experimentally off and uncommented hiddenAustin Foxley2009-09-183-3/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* enable nanosecond stat support for everyoneMike Frysinger2009-08-191-28/+6
| | | | | | | | | | | | | | Fill out the stat structure so that the nanosecond resolution support is always available. There is a small code size increase for a few ports (three additional assignments in xstatconv), but otherwise everything should remain the same. While we're here, punt __old_kernel_stat from the few headers that still define it as it is unused in uClibc and causes compile errors after these nanosecond changes. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* byteswap: unify common definitionsMike Frysinger2009-08-191-71/+8
| | | | | | | | | | The majority of the byteswap functions are the same across all arches, so setup a common header to provide definitions if they don't exist. This allows arches to override only the ones they actually want to implement with inline assembly. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* syscall: convert cris/hppa to common syscallsMike Frysinger2009-08-191-68/+4
| | | | | | | | The cris/hppa code appears to be easy to convert, so go ahead and do it for them. Build tested only. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* build: Include Makefile.commonarch from common Makefile.inCarmelo Amoroso2009-07-291-2/+0
| | | | | | | | Avoid including akefile.commonarch in each Makefile.arch. Include it instead from Makefile.in just after the arch specific Makefile.arch Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* uClibc_arch_features: sync defines between portsMike Frysinger2009-07-091-1/+7
| | | | | | | | Make sure each arch has the same complete list to make comparing between them easier. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Synch with trunk @ 24160Carmelo Amoroso2008-11-276-342/+13
| | | | | | Step 14: miscellaneous merge for arch specific files in libc/sysdeps. Comments, cleanup, formatting, hidden_proto removal and others.
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-311-1/+1
| | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Synch libc nios/xtensa/v850/h8300/cris/x86_64/ia64/hppa/i382/nios2/frv/avr32 ↵Carmelo Amoroso2008-06-186-18/+29
| | | | specific with trunk
* Merge from trunk."Steven J. Hill"2006-12-164-13/+7
|
* When you delete a '1' does it become '0' or tri-stated?"Steven J. Hill"2006-12-161-81/+0
|
* Big fricking merge from trunk, but an easy one."Steven J. Hill"2006-08-245-24/+48
|
* Removal as per trunk."Steven J. Hill"2006-08-221-26/+0
|
* Merge from trunk."Steven J. Hill"2006-08-214-6/+1
|
* Merge from trunk."Steven J. Hill"2006-08-182-5/+18
|
* Merge from trunk."Steven J. Hill"2006-02-2819-245/+632
|
* Big fricking merge from trunk."Steven J. Hill"2006-01-074-6/+7
|
* Merge from trunk."Steven J. Hill"2005-12-022-3/+2
|
* Sync up with trunk."Steven J. Hill"2005-11-191-1/+1
|
* Massive merge from trunk."Steven J. Hill"2005-11-181-10/+12
|
* Massive merge from trunk."Steven J. Hill"2005-11-171-66/+8
|
* Copy from trunk."Steven J. Hill"2005-11-161-0/+15
|
* Merge from trunk."Steven J. Hill"2005-10-301-36/+25
|
* Big, huge fricking merge. Peter, if you touch the build system again I'm ↵"Steven J. Hill"2005-10-041-3/+3
| | | | going to smash your keyboard.
* 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
|