summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sh
Commit message (Collapse)AuthorAgeFilesLines
...
* Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen2002-10-311-3/+3
| | | | | | | | | | | | | | | 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
|
* Patch from Stefan Allius <allius@atecom.com>:Eric Andersen2002-10-013-6/+6
| | | | | | | | | | | | | | | | | | | ----------------------------------- In extra/Configs/Config.sh I added the INCLUDE_PTHREADS statement and change the default values for BUILD_UCLIBC_LDSO and HAVE_SHARED. ----------------------------------- In extra/scripts/initfini.pl My last patch removes two labels, which migth be used by the .size statements. (Sorry, but I'm a perl beginner) I fixed it. ----------------------------------- In libc/sysdeps/linux/common/initfini.c I fixed two warnings "nested extern declaration of `i_am_not_a_leaf.. ----------------------------------- In libc/sysdeps/linux/sh/__init_brl.c brk.c sbrk.c I fixed some compiler warnings which comes from a wrong inclusion order. -----------------------------------
* 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.
* Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader2002-09-053-4/+4
|
* 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.
* Added __kernel_fsid_t to satisfy some apps that need it.David McCullough2002-08-271-0/+8
| | | | Definitions taken from 2.4 kernel sources for each of the platforms.
* Make bits/kernel_types.h include guard names match the includeEric Andersen2002-08-261-3/+9
| | | | | | | guard names used by the kernel's asm/posix_types.h to eliminate gratuitous conflicts and let our file win over the very-likely- to-be-broken kernel header file. -Erik
* Finish off the bits/kernel_stat.h cleanup for properEric Andersen2002-08-251-0/+55
| | | | | __USE_FILE_OFFSET64 handling. -Erik
* Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen2002-08-241-0/+29
| | | | | header, which is not directly usable for many architectures. -Erik
* Split out the definition of struct stat into the new archEric Andersen2002-08-231-0/+87
| | | | | specific bits/kernel_stat.h file. -Erik
* Work from Stefan Allius which allows superH to use the commonEric Andersen2002-08-193-54/+1
| | | | method for building crti.o and crtn.o
* Fix a number of compile time warnings so that uClibc will build with -Werror ↵David McCullough2002-08-091-1/+3
| | | | | | using a 3.0.4 version of the sh-linux-gcc compiler.
* Doh! I broke it. oops. Patch from Stefan Allius to fix it.Eric Andersen2002-08-091-1/+1
|
* I reworked syscalls.h to match how I'm doing other arches. Stefan Allius andEric Andersen2002-08-085-31/+197
| | | | | | 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,
* Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen2002-07-221-101/+10
| | | | | | Prepare to kill the UNIFIED_SYSCALL option and instead have it be a per arch thing that is either enabled or not for that arch. -Erik
* 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-034-11/+11
|
* Build our own crti.o and crtn.o with a cross arch method that IEric Andersen2002-03-131-1/+1
| | | | | can live with much better the what glibc does. -Erik
* Remove generated stuff, restore sh/sys/procfs.h from M. R. BrownEric Andersen2002-03-021-0/+117
|
* Move syscall.h generation to the top level MakefileEric Andersen2002-03-011-1/+0
| | | | -Erik
* Patch from M. R. Brown <mrbrown@0xd6.org> to fix pthread supportEric Andersen2002-03-013-1/+139
| | | | for SH, and fix vfork
* Major rework of the include files to eliminate redundancyEric Andersen2002-03-0167-7782/+170
| | | | | and to better support each arch. This is a really big patch... -Erik
* A number of naming updates in preparation for adding inEric Andersen2002-02-131-5/+4
| | | | | proper threading. Most of this is from Stefan Soucek, with additions and changes as needed from me.
* Add sbrk and friendsDavid McCullough2002-01-175-2/+74
| | | | Fix bug in setjmp (jmpbuf changed size)
* Mahe 'make clean' remove generated bits/syscall.h, asEric Andersen2002-01-071-0/+1
| | | | | noted by "Kim B. Heino" <Kim.Heino@bluegiga.com> -Erik
* Fixes from M. R. Brown <mrbrown@0xd6.org> to fixup some littleEric Andersen2002-01-023-4/+6
| | | | compile nits with the SH architecture, and support SH4,
* Oops. Disable threading.Eric Andersen2002-01-021-2/+2
| | | | -Erik
* Sync SH header files with glibc 2.2.4, so it can actually have a chanceEric Andersen2002-01-0270-965/+1890
| | | | | (at least in theory) of working. -Erik
* Scrub up some lingering problems preventing readdir64 from workingEric Andersen2001-11-141-0/+3
| | | | | | and creating several *64 problems, particualrly when client apps used -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64. All better now. -Erik
* Patch from David McCullough <davidm@lineo.com>:Eric Andersen2001-10-041-69/+10
| | | | | | | | | | | | | | * reduce the sigset types to 32 bits (I've mentioned this before) I think I saw this change go in for another platform anyway ;-) * Do not use _IO_FILE as it clashes with the C++ libraries which know too much about how glibc workds :-( * Do not use _G_va_list for the same reason. * remove the CTORS/DTORS from crt0.S for ARM as the compiler provided crtbegin.o and crtend.o have these (and only these) already in them and you get multiple defined errs :-(
* Fixup the pipe system call for the SH target.David McCullough2001-08-062-1/+31
| | | | The FD's are returned in registers.
* Added __BEGIN_DECLS and __END_DECLS to the files that didn't haveDavid McCullough2001-07-115-0/+19
| | | | | | it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
* Changes to support autogenerated syscall.hDavid McCullough2001-06-283-227/+2
|
* sysdep.h was not providing all the needed bits to build working asm withDavid McCullough2001-06-283-35/+12
| | | | | | | | | | some compilers, so define any macros we need that are not defined already. Needed to include uClibc_config.h to get some defines. New syscall header files for _mmap vfork.c is not used so ditch it.
* the minimum needed for nowDavid McCullough2001-06-271-0/+4
|
* Yes... I forgot to update bits/dirent.h for the other archs. :-(Manuel Novoa III2001-06-271-2/+11
|
* Makefile targets to symlink arch-specific headers into include/ (onlyDavid Schleef2001-05-261-0/+3
| | | | used on mipsel.)
* Update for the SH port from Jean-Yves Avenard <jean-yves_avenard@hp.com>Eric Andersen2001-05-255-43/+218
|
* Ok, this should finish off my massive ro-organization. The sourceEric Andersen2001-05-121-4/+2
| | | | | | | | | tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
* Change FILENAME_MAX to be only 255. Max filename on ext2 is 255,Eric Andersen2001-05-071-1/+1
| | | | | | | so there is no reason to allocate 4k. Change working of execvep.c per patch from Matthias Kilian <kili@outback.escape.de> so that there is not a fixed 127 byte buffer. Too easy to overflow... -Erik
* Bring sh and i386 longjmp implementations into syncEric Andersen2001-04-192-46/+12
|
* Remove all the __THROW macrosEric Andersen2001-04-192-12/+12
|
* Move fork to common/syscalls (with NO_MMU check). Add Makefile to sparc soManuel Novoa III2001-03-062-36/+1
| | | | make clean works.
* Patch from Jean-Yves Avenard to add missing siglongjmp entry andEric Andersen2001-02-225-5/+92
| | | | fix a bug in setjmp for SH
* Add an SH port done by Jean-Yves Avenard of Hewlett-Packard - EmbeddedEric Andersen2001-02-2177-0/+8369
and Personal Systems. Thanks! -Erik