summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Default to using fork() for vfork() when no arch specificEric Andersen2003-03-051-1/+1
| | | | implementation of vfork is present.
* Initial effort at adding profiling support.Eric Andersen2003-03-031-0/+6
|
* Fixup ioctl so we can special case powerpc sillinessEric Andersen2003-02-181-4/+4
|
* Using -g when doing the initfini compilation breaks the SH4 case prettyDavid McCullough2003-02-171-0/+5
| | | | | badly. I have removed -g for all platforms as I suspect no one wants it for the initfini creation process.
* Fix a _ton_ of system call user type/kernel type translationEric Andersen2003-02-151-1/+1
| | | | | problems, causing user space to get scrambled hosed up results. -Erik
* Use correct names for dummy crti.o/crtn.o files.Miles Bader2003-01-301-2/+2
|
* Create stub crti.o and crtn.o files when UCLIBC_CTOR_DTOR is disabledEric Andersen2003-01-291-2/+9
| | | | -Erik
* Fix scandir64 to not free the wrong pieces of memory (which couldEric Andersen2003-01-281-1/+1
| | | | | | | | and did cause segfaults) by adjusting the working scandir.c to the the 64 thing. Fix up potential for mismatches between the libc and kernel dirent structures, which could also cause ugly problems. -Erik
* I thought it would be smaller to inline since these funcs are small.Eric Andersen2003-01-241-1/+1
| | | | | Well, not inlining saves 300 bytes, so do that instead. -Erik
* 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().
* Cleanup makefiles and make clean a bitEric Andersen2003-01-231-6/+6
|
* Based on discussions with Stefan Allius, change it so that we alwaysEric Andersen2002-12-121-1/+0
| | | | | | | 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
* Make support for global constructors and global destructors beEric Andersen2002-11-271-6/+9
| | | | | | configurable, so people who do not need or want ctor/dtor support can disable it and make their binaries a little bit smaller. -Erik
* Implement sendfile64Eric Andersen2002-11-141-1/+2
| | | | -Erik
* Patch from Stefan Allius. Include CPU_CFLAGS when compilingEric Andersen2002-11-051-1/+1
| | | | initfini
* Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen2002-10-311-2/+2
| | | | | | | | | | | | | | | 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
* Overwriting the crt1.o link is fineEric Andersen2002-10-251-1/+1
|
* Be nicer to gcc -- add a link for crt1.oEric Andersen2002-10-251-0/+1
|
* This patch, based on a patch from Stefan Allius, lets us pick anEric Andersen2002-10-181-2/+2
| | | | | | appropriate awk implementation at compile time, so we can again compile on Solaris and whatnot. -Erik
* Patch from Christian MICHON <christian_michon@yahoo.fr> to reimplementEric Andersen2002-10-141-2/+2
| | | | | | my little initfini.pl script in awk. This eliminates uClibc's compile-time dependancy on perl, and lets us use the much lighter weight awk, which facilitates building uClibc standalone environments.
* Added function 'get_current_dir_name' for Linux Test Project. Tested and"Steven J. Hill"2002-09-041-1/+1
| | | | works identically to function in glibc.
* If the initfini.pl script changes, regenerate the crt[in].S files.David McCullough2002-08-281-1/+1
|
* (initfini.s): Search the uClibc include dir, so we can find <features.h>.Miles Bader2002-08-231-1/+1
|
* Eliminate wrapping of struct stat and use the kernel versionEric Andersen2002-08-191-3/+3
| | | | | | directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
* Work from Stefan Allius which allows superH to use the commonEric Andersen2002-08-191-1/+1
| | | | method for building crti.o and crtn.o
* Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen2002-07-221-1/+1
| | | | | | 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
* Rework pread and pwrite support so it should actually work.Eric Andersen2002-07-151-1/+2
| | | | | Add support for pread64 and pwrite64. Fixup llseek a bit. -Erik
* Cleanup the getcwd implementation (again) since I broke itEric Andersen2002-06-181-1/+1
| | | | | | | last night. Restore malloc-ing when buf=NULL for the syscall version... Move getcwd to libc/sysdeps/linux/common and out of syscalls.c so there is just one getcwd.o object present. -Erik
* Kill kernel_version.c, which is completely meaningless crapEric Andersen2002-06-181-1/+1
| | | | | and didn't even work. -Erik
* Add support for mmap64Eric Andersen2002-04-241-1/+1
| | | | -Erik
* Add creat64Eric Andersen2002-04-091-2/+2
| | | | -Erik
* Add truncate64.cEric Andersen2002-04-091-1/+1
|
* Create a much more careful ftruncate64 implementation, that shouldEric Andersen2002-04-091-1/+1
| | | | | address all the concern Miles had with the earlier versions... -Erik
* undefine __USE_FILE_OFFSET64, since we absolutely do _NOT_ want interfacesEric Andersen2002-04-091-1/+1
| | | | | | silently renamed under us or very bad things will happen. In this case, statfs64() ended up recurively calling statfs64() instead of statfs().... -Erik
* Be certain thatEric Andersen2002-04-031-1/+7
|
* Add support for getrlimit64 and setrlimit64. Fix some problemsEric Andersen2002-03-311-1/+2
| | | | | with the getrlimit and setrlimit syscalls. -Erik
* Build crti.o and crtn.o with optimization enabledEric Andersen2002-03-161-1/+1
| | | | -Erik
* Oops! When I fixed the debug flags, I forgot to make things beEric Andersen2002-03-141-3/+8
| | | | | PIC, so do that now. -Erik
* Do not enable debugging for initfini.s and friends. Won't work anyways.Eric Andersen2002-03-141-3/+3
| | | | -Erik
* Build our own crti.o and crtn.o with a cross arch method that IEric Andersen2002-03-131-2/+16
| | | | | can live with much better the what glibc does. -Erik
* Merge in the pthread library. This is the linuxthreads library taken fromEric Andersen2002-02-201-1/+1
| | | | | | | | glibc 2.1.3 and ported to work with uClibc by Stefan Soucek and Erik Andersen (me). Stefan has hacked things up such that linuxthreads runs on MMU-less systems (tested only on arm-nommu). Erik cleaned things up and made it work properly as a shared library. -Erik
* Fixup setjmp and longjmp so they behave themselves properly nowEric Andersen2002-01-311-1/+1
| | | | | on both x86 and arm... -Erik
* Doh! I'd included sbrk.o twice...Eric Andersen2002-01-291-1/+1
|
* Make it so powerpc can work despite lacking brk().Eric Andersen2002-01-291-0/+3
|
* Make sbrk common, add arm/brk.c, cleanup leftover damageEric Andersen2002-01-211-1/+1
|
* Update my email address. I am no longer andersen@lineo.comEric Andersen2001-12-191-2/+2
|
* Add statfs64Eric Andersen2001-11-071-1/+1
|
* This commit makes large file support actually work (when enabled inEric Andersen2001-10-171-1/+1
| | | | | the config file). I've tested this and it works for me. -Erik
* Add cmsg_nxthdr function for the cases where the headersDavid McCullough2001-08-091-1/+2
| | | | do not so it inline.
* Added a script to create bits/syscall.h for each arch.Manuel Novoa III2001-06-281-19/+2
| | | | | | | | | | | NOTE!!! This is run by "make -C libc/sysdeps/linux/$(TARGET_ARCH) headers" in the main Makefile, but I only changed libc/sysdeps/linux/i386/Makefile as I had no way of testing it for the other archs. Various arch maintainers, please check and update the corresponding Makefile... or report bugs ;-)... appropriately. You'll also want to "cvs del" syscall.h and add it to a .cvsignore in $(ARCH)/bits. Also added a define to uClibc_config.h, __UCLIBC_USE_UNIFIED_SYSCALL__, and moved i386 unified syscall stuff out of common and into i386/bits/syscalls.h.