summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Merge from trunk. More to come you betcha'."Steven J. Hill"2005-12-021-55/+8
|
* Big, huge fricking merge. Peter, if you touch the build system again I'm ↵"Steven J. Hill"2005-10-041-3/+13
| | | | going to smash your keyboard.
* It occurred to me that for the uClibc way of doing things, we should be ↵"Steven J. Hill"2005-08-111-4/+0
| | | | using the syscall to fork if pthreads is not being used for NPTL, just like we do with the linuxthreads model. There were some name collisions that had to fixed, but things should be sane now. Also, due to complexities of the new thread model and compilation, the 'fork.c' from NPTL has to be compiled in with the C library, even though the code in it is not called until pthreads is linked in either dynamically by the loader or in a static binary. If that all makes sense to you, give yourself a cookie.
* Changes made to the dynamic loader for TLS/NPTL support. Additional changes ↵"Steven J. Hill"2005-08-091-0/+4
| | | | made to libpthread and libc for remaining support.
* Finalize the merge from the trunk. There are more files to be"Steven J. Hill"2005-07-301-0/+1
| | | | merged, but they will be done manually.
* The list of source files was just too much. Especially trying to keepPeter Kjellerstedt2005-04-281-42/+8
| | | | | it alphabetized (which was not fully successful) made adding a new file a mess. Replaced it with a call to the make function $(wildcard).
* merge parallel build supportMike Frysinger2005-01-251-5/+5
|
* add posix_fadvise / posix_fadvise64 supportMike Frysinger2005-01-171-8/+8
|
* Justin Cormack <justin@street-vision.com> writes:Mike Frysinger2005-01-061-1/+1
| | | | | | | | | | | | | | | Here is a small patch to add epoll support to uclibc. The only thing I am not sure about is what needs to be done (if anything) to make it work on 2.4/2.2 kernels (are the syscall numbers defined but give errors when called or not?). Tested on 2.6, though some other issues prevent more extensive testing at the minute. Mike Frysinger: cleaned up patch and added checks to make sure that the syscall actually exists, returning ENOSYS in cases where it doesn't.
* Patch from Peter S. Mazinger:Eric Andersen2004-12-221-1/+1
| | | | rename UCLIBC_PROPOLICE to UCLIBC_HAS_SSP
* Patch from psm, vapier, and solar, adding xattr syscallsEric Andersen2004-12-221-5/+1
|
* - Added support for 13 new syscalls to allow more things to compile when ↵Ned Ludd2004-12-201-2/+7
| | | | using uClibc. mincore() and the ones for Extended Attributes setxattr(), lsetxattr(), fsetxattr(), getxattr(), lgetxattr(), fgetxattr(), listxattr(), llistxattr(), flistxattr(), removexattr(), lremovexattr(), fremovexattr() which are optional.
* Make the stub profiling stuff workEric Andersen2004-08-221-7/+4
|
* Attempt to support 'gcc -finstrument-functions', which seems muchEric Andersen2004-08-211-0/+3
| | | | | more sane than 'gcc -pg' and seems much easier to support. -Erik
* Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both aEric Andersen2004-08-211-3/+0
| | | | | | | | 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
* Sort all the filesEric Andersen2004-01-211-45/+34
|
* Split up syscalls.c, since it had grown to be quite large and ugly.Eric Andersen2004-01-211-9/+40
| | | | -Erik
* Add pollEric Andersen2004-01-211-1/+1
|
* Peter S. Mazinger writes:Eric Andersen2004-01-021-0/+3
| | | | | | | | | | | | | | | | | | | Hello Erik! I have made some cosmetical changes to the files, removed the added SCRT=-fPIC option from building the crt0.S file (but it is a requirement to build them with -fPIC), and changed some comments. I have left the ldso.c patch with PIE_SUPPORT ifdefs, but consider applying it w/o them (see some earlier comment from PaX Team on this issue, as it is considered a bug). To have it work correctly, you'll also need removing COMPLETELY_PIC. One thing is missing: PIE_SUPPORT should be usable only for i386 (for now). Also added the support for propolice protection (that works for me and catches memcpy/strcpy attacks (but needs a special gcc version). Thanks, Peter
* Add support for missing ntp_gettime and ntp_adjtimeEric Andersen2003-11-121-1/+1
|
* Kill initfini.awkEric Andersen2003-11-051-47/+1
|
* Add -msoft-float to SAFECFLAGS when necessary.Manuel Novoa III2003-10-251-0/+3
|
* Fix a stupid bug that caused uClibc to never provide the correctEric Andersen2003-10-201-1/+1
| | | | | | fpu_control.h header file, since the correct arch specific one was always later overwritten by the generic one. oops. -Erik
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-2/+1
| | | | | | | | | | ln.patch: * Define $(LN) as ln in Rules.mak. * Change all occurrences of ln into $(LN). * Change all constructs like (cd path && ln -sf foo/file file) into $(LN) -sf foo/file path/file. The latter construct is already used in a number of places so it should not be an additional compatibility problem.
* 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).
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-4/+4
| | | | | | | | | install.patch: * Define $(INSTALL) as install in Rules.mak. * Change all occurrences of install into $(INSTALL). * Change all occurrences of mkdir -p into $(INSTALL) -d. install -d is already used in a number of places so this should not be an additional compatibility problem.
* Patch from Atsushi Nemoto (with some additions):Eric Andersen2003-10-081-1/+4
| | | | | | | Current uClibc contains only one fpu_control.h and it is i386 version. This is a patch to use platform specific fpu_control.h. All new files come from glibc 2.3.2. This patch is against 0.9.21 but also can be applied to CVS as is.
* Fix "subst -g,," problem for SAFECFLAGS.Manuel Novoa III2003-09-211-1/+1
|
* Remove profil.c, since it is constained within gmon.c.Manuel Novoa III2003-09-071-1/+1
|
* Add an implementation of profil(), based on the version fromEric Andersen2003-09-061-1/+1
| | | | glibc, with several changes for use in uClibc.
* Add support for personality(), prctl(), ustat(), and ulimit()Eric Andersen2003-08-081-1/+2
| | | | | syscalls, which had managed to stay unimplemented thus far. -Erik
* Patch from Peter Kjellerstedt to make it simpler for arches to specifyEric Andersen2003-07-151-1/+1
| | | | either -fPIC or -fpic
* 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
|