summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* some incomplete asm source for x86_64Mike Frysinger2005-02-152-0/+178
|
* some more x86_64 sourceMike Frysinger2005-02-151-0/+48
|
* some more x86_64 sourceMike Frysinger2005-02-152-0/+169
|
* some source files for x86_64Mike Frysinger2005-02-157-0/+353
|
* headers for x86_64Mike Frysinger2005-02-1525-0/+2569
|
* When I broke up the stdio code, the "support pre C99 compilers" va_copy compatManuel Novoa III2005-02-143-34/+29
| | | | | | | | | define was no longer visible to vasprintf. I didn't catch this since I no longer use such old tools. Unfortunately, some well-meaning but misguided individual decided to just cut-and-paste the macro. :-( Try to clean up the situation by putting it into a header that can be overriden by any archs that need to. If this breaks for anyone (as I said, I no longer use such old tools and so haven't tested), let me know and I'll fix it.
* Fix some issues with nice(). SUSv3 specifies that it return the newManuel Novoa III2005-02-141-16/+52
| | | | | | | priority if successful, while the linux syscall returns 0. Also, in the non-syscall version, we must be sure to set errno to EPERM on failure since setpriority() can set errno to several possible values. Note: The version of glibc on my debian system is broken wrt EPERM too.
* x86_64 fixes: make sure the fall back routine for using umount2() for ↵Mike Frysinger2005-02-131-2/+7
| | | | umount() actually works :)
* x86_64 fixes: update prototype to match the other prototypesMike Frysinger2005-02-131-1/+1
|
* x86_64 fixes: __NR_socketcall doesnt exist, nor does __NR_recv / __NR_send ↵Mike Frysinger2005-02-131-19/+21
| | | | ... so dont try using socketcall() unless the system call exists
* touchup the $(AR) mojo to address some bugs by Peter KjellerstedtMike Frysinger2005-02-131-6/+11
|
* no more cvsMike Frysinger2005-02-1214-19/+0
|
* Define va_copy for pre-C99 compilers (code taken from vfprintf.c).Peter Kjellerstedt2005-02-091-0/+13
|
* 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).
* - 2/NN patches for ssp. Updates from Peter S. Mazinger and Robert ConnollyNed Ludd2005-02-081-10/+9
|
* - 1/NN patches for sspNed Ludd2005-02-081-6/+7
|
* merge parallel build supportMike Frysinger2005-01-291-7/+7
|
* merge parallel build supportMike Frysinger2005-01-2568-341/+303
|
* When there is no umount syscall, but umount2 is available, thenEric Andersen2005-01-231-0/+7
| | | | try to emulate umount() using umount2()
* Avoid compiler warnings.Peter Kjellerstedt2005-01-194-43/+51
|
* Make it compile for architectures which have __UCLIBC_HAS_LFS__ defined,Peter Kjellerstedt2005-01-192-15/+26
| | | | but neither __NR_fadvise64 nor __NR_fadvise64_64.
* fix target dependencies to support parallel buildingMike Frysinger2005-01-191-6/+3
|
* use $(RANLIB)Mike Frysinger2005-01-191-2/+1
|
* add posix_fadvise / posix_fadvise64 supportMike Frysinger2005-01-173-8/+99
|
* whitespace cleanupEric Andersen2005-01-161-4/+4
|
* Per http://bugs.uclibc.org/view.php?id=12:Eric Andersen2005-01-161-0/+10
| | | | Some newer archs only have umount2
* - ifdef bdflush update from bug #0000011Ned Ludd2005-01-161-0/+9
|
* - ifdef uselib update from bug #0000013Ned Ludd2005-01-161-0/+2
|
* dont bother including sysctl.h unless we need itMike Frysinger2005-01-111-1/+3
|
* Jean writes:Eric Andersen2005-01-111-1/+9
| | | | | | | | | | | | | | | | | | | Hello, under some circumstances the following small example prints lots of garbage onto the console and into the syslog: #include <syslog.h> int main () { openlog("foo", LOG_CONS|LOG_NDELAY|LOG_PID|LOG_PERROR, LOG_DAEMON); syslog (LOG_WARNING, "mlock: %m"); return 1; } The reason is, that sprintf returns with -1 and vsyslog dumps the complete buffer onto stderr and the syslogd socket. The following patch would fix the problem:
* Patch from Bernardo Innocenti:Eric Andersen2005-01-111-1/+2
| | | | Remove use of cast-as-l-value extension, removed in GCC 3.5.
* Jan Lana writes:Eric Andersen2005-01-111-11/+12
| | | | | | | | | | | | | | | | | | | | uClibc resolver doesn't lookup all search domains. For example, if you have computer 'jenda.prague.my.cz' and resolv.conf: search my.cz nameserver xx.xx.xx.xx try this: ping jenda.prague.my.cz #works ping jenda.prague #unknown host libc/inet/resolv.c doesn't want to try search domains if the domain name contains '.'. I don't find any reason for the behaviour in literature and it is inconsistent with the glibc. Patch is attached. regards, - jenda
* Document more things inet_aton() 'should' support but actually doesn't.Mike Frysinger2005-01-061-22/+38
| | | | | Most of the time, no one ever notices, so there's not point eh ? Also standardize tab usage.
* Justin Cormack <justin@street-vision.com> writes:Mike Frysinger2005-01-062-1/+66
| | | | | | | | | | | | | | | 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.
* fix eriks e-mail addressMike Frysinger2005-01-05161-161/+161
|
* Peter S. Mazinger: use ASFLAGS when compiling asm filesMike Frysinger2004-12-261-6/+4
|
* Make certain that the prototype for fgets_unlocked is definedEric Andersen2004-12-221-0/+1
|
* Patch from Peter S. Mazinger:Eric Andersen2004-12-221-1/+3
| | | | Add pie support for mips
* Patch from Peter S. Mazinger:Eric Andersen2004-12-222-3/+3
| | | | rename UCLIBC_PROPOLICE to UCLIBC_HAS_SSP
* Patch from psm, vapier, and solar, adding xattr syscallsEric Andersen2004-12-222-19/+105
|
* Patch from Peter S. Mazinger to simplify PIE handlingEric Andersen2004-12-223-10/+0
|
* Patch from Peter S. Mazinger to consistantly use "ASFLAGS"Eric Andersen2004-12-2222-95/+85
| | | | as the flags for all calls to 'as'
* Add support for the Analog Devices Blackfin mmuless processorEric Andersen2004-12-2129-0/+1897
|
* - Added support for 13 new syscalls to allow more things to compile when ↵Ned Ludd2004-12-203-2/+93
| | | | using uClibc. mincore() and the ones for Extended Attributes setxattr(), lsetxattr(), fsetxattr(), getxattr(), lgetxattr(), fgetxattr(), listxattr(), llistxattr(), flistxattr(), removexattr(), lremovexattr(), fremovexattr() which are optional.
* On Thu Dec 16, 2004 at 03:49:31PM +0100, Johan Adolfsson wrote:Eric Andersen2004-12-161-0/+1
| | | | | | | | > What's the correct way of calling llseek/_llseek? > The manpage I have indicates _llseek and thats what the version of > util-linux > I tried use as well so compiling for uClibc fails. > Would the following patch fix it or is it the apps that needs fixing?
* Patch from Paul Brook:Eric Andersen2004-12-121-0/+17
| | | | | | | | | | The Arm crt0.S contains non-PIC code for locating _init and _fini sections. This caused problems on my uclinux system when static constructors were enabled. The attached patch implements a PIC version of this code. Paul
* Partial commit of a patch from Alexandre Oliva:Eric Andersen2004-12-111-1/+1
| | | | | | | | | | Here's an updated version of the patch I posted about a month ago. It leaves -nostdinc alone, and uses -print-file-name=include instead of -print-search-dirs to figure out where GCC's internal headers are. Please let me know whether there are any portions of this patch you'd like me to break into smaller pieces, to rework, or to give up trying to get into uClibc :-) Thanks,
* Kill off ancient unused cruftEric Andersen2004-12-081-68/+0
|
* Add missing definition for O_DIRECTEric Andersen2004-12-061-8/+7
|