summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sh64
Commit message (Collapse)AuthorAgeFilesLines
* clean up O_CLOEXEC handlingMike Frysinger2009-10-161-0/+2
| | | | | | | | 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>
* fcntl.h: drop unused/dead O_STREAMINGMike Frysinger2009-10-161-1/+0
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* trim Experimentally off and uncommented hiddenAustin Foxley2009-09-182-2/+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-14/+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>
* 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-0/+9
| | | | | | | | 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-274-9/+5
| | | | | | 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-312-4/+4
| | | | | | | 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>
* Remove obsolete files and synch with trunkCarmelo Amoroso2008-06-182-226/+0
|
* Synch libc powerpc/arm/sh64/m68k/alpha/microblaze/i960/vax/e1 specific with ↵Carmelo Amoroso2008-06-188-58/+460
| | | | trunk
* Merge from trunk."Steven J. Hill"2006-12-162-5/+4
|
* Copy from trunk."Steven J. Hill"2006-12-161-0/+103
|
* Big fricking merge from trunk, but an easy one."Steven J. Hill"2006-08-244-23/+12
|
* Merge from trunk."Steven J. Hill"2006-08-213-5/+0
|
* Merge from trunk."Steven J. Hill"2006-08-181-13/+1
|
* Merge from trunk."Steven J. Hill"2006-02-284-5/+65
|
* Big fricking merge from trunk."Steven J. Hill"2006-01-073-6/+8
|
* Merge from trunk."Steven J. Hill"2005-12-021-0/+1
|
* Massive merge from trunk."Steven J. Hill"2005-11-181-10/+12
|
* 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-4/+3
| | | | going to smash your keyboard.
* merge parallel build supportMike Frysinger2005-01-251-6/+5
|
* Patch from Peter S. Mazinger to consistantly use "ASFLAGS"Eric Andersen2004-12-221-7/+7
| | | | as the flags for all calls to 'as'
* s/___brk_addr/__curbrk/gEric Andersen2004-07-303-11/+11
| | | | | | | | 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
* __data_start needs to be added to all crt0.S files that don't currentlyEric Andersen2004-05-141-1/+9
| | | | have it. It is used by the boehm gc, amoung other things.
* Use the generic fork implementation on sh64Eric Andersen2004-02-152-36/+1
|
* 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
* Paul Mundt <lethal@linux-sh.org> writes:Eric Andersen2003-12-051-0/+96
| | | | | | | | | | | | | This patch adds the libpthread backend bits for sh64. As noted previously, we can't inline things like the testandset() in pt-machine.h as we need to use a completely different ISA / CFLAGS in order for this to work. As a result, this patch is somewhat of a RFC as well to see what people think of the libpthread/linuxthreads/sysdeps Makefile approach, etc. The approach I've taken currently has been to provide a sysdeps/Makefile with a note that TARGET_ARCHs that want build rules can simply add themselves into the list of matching architectures to add to the subdir rule for. This probably isn't the cleanest solution, but it's quite transparent and works quite well.
* Patch from lethal, adding syscall() to the sh64 portEric Andersen2003-12-032-1/+25
|
* 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-1/+4
| | | | broke a couple of days ago. :-(
* Continue the conversion to using per-arch crti.S and crtn.SEric Andersen2003-11-053-1/+102
|
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-2/+2
| | | | | | | 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).
* Patch from Paul Mundt adding uClibc sh64 support:Eric Andersen2003-08-1316-0/+1223
Here's a patch that implements the beginnings of a rudimentary sh64 port. So far, this only works static, as I haven't done any of the ldso work yet. I've also not touched the libpthread stuff yet either, so that's also disabled for now. This port was based off of some work that Sean McGoogan at SuperH did for his initial port, but the this patch doesn't carry over too much from there (basically the libc/sysdeps/linux/sh64/Makefile (or rather, parts of it), the setjmp/longjmp stuff (which I had to rewrite portions of it to work with the new toolchains), etc.). However, for static, everything appears to work correcly, at least in a hello world type application.