summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2003-11-06Sigh... I wasn't checking if the gid field in a group line actuallyManuel Novoa III
contained a digit. Also adjust a comment.
2003-11-06Add a utility macro.Manuel Novoa III
2003-11-06Oops... don't need recursive mutexes.Manuel Novoa III
2003-11-06Rewrite the pwd.h, grp.h, and shadow.h functions (except lckpwdf/ulckpwdf).Manuel Novoa III
2003-11-06Add in aliases provided by the non arch specific implementationsEric Andersen
2003-11-06George Thanos writes:Eric Andersen
Dear Erik, We downloded uClibc lattest version from the CVS. Still there are some minor problems with extra/Configs/Config.e1 You have actually set ARCH_HAS_C_SYMBOL_PREFIX to NO which is not correct for our architecture. Please apply the patch that will fix the problem. Best Regards, - George P.S. Patch also removes some irritating comments we have added in the past.
2003-11-06The curse of cut-n-pasteEric Andersen
2003-11-06Add some initial x86 string optimizations. These make no attempt to use niftyEric Andersen
things like mmx/3dnow/etc. These are not inline, and will therefore not be as fast as modifying the headers to use inlines (and cannot therefore do tricky things when dealing with const memory). But they should (I hope!) be faster than their generic equivalents.... More importantly, these should provide a good example for others to follow when adding arch specific optimizations. -Erik
2003-11-05Remove erroneous trailing semicolon.Manuel Novoa III
2003-11-05Rip the guts out of the dynamically generated sysconf.c, and live with a simpleEric Andersen
static version. This will need further work later on, but should do the job for the time being,
2003-11-05last but certinaly not least, kill off initfini.cEric Andersen
2003-11-05Add quick hacks to create fake crti.o and crtn.o files. These architecturesEric Andersen
need to be fixed properly. I tried, but I was unable to build a cross toolchain for each of these (using stock binutils and gcc) so it is someone else's problem to fix them now.
2003-11-05Kill initfini.awkEric Andersen
2003-11-05Continue the conversion to using per-arch crti.S and crtn.SEric Andersen
2003-11-05Continue the conversion to using per-arch crti.S and crtn.SEric Andersen
2003-11-05Continue the conversion to using per-arch crti.S and crtn.SEric Andersen
2003-11-05Continue the conversion to using per-arch crti.S and crtn.SEric Andersen
2003-11-05Continue the conversion to using per-arch crti.S and crtn.SEric Andersen
2003-11-05Continue the conversion to using per-arch crti.S and crtn.SEric Andersen
2003-11-05Arthur Shipkowski, art ! videon-central ! com, writes:Eric Andersen
I've noticed a few people have posted over the last year about problems compiling programs that use vfork when pthreads are involved. Some detective work turned up that ptfork.c aliases vfork to fork and then tries to call the original fork as __libc_fork. This patch removes the aliasing when there is no MMU present, and uses the same call semantics to call __libc_vfork. I then added a symbol to the m68k vfork.S to allow vfork to be called as __libc_vfork. The same bug exists in the uClibc CVS, and with a possible tweak this patch should go through there as well. Obviously, all other platforms need __libc_vfork as a workable means to call vfork in order for this to work for them. Let me know if there are any problems with this patch. Art Shipkowski Videon Central Software Engineer (814)235-1111 x307
2003-11-05Continue the conversion to using per-arch crti.S and crtn.SEric Andersen
2003-11-05Continue the conversion to using per-arch crti.S and crtn.SEric Andersen
2003-11-05Continue the conversion to using per-arch crti.S and crtn.SEric Andersen
2003-11-05Begin the conversion to using per-arch crti.S and crtn.SEric Andersen
2003-11-04minor cleanupEric Andersen
2003-11-03Remove warning that apparently is not needed for e1Eric Andersen
2003-11-03Updated to match the other architectures. Fixes problem with "fcntl:Tobias Anderberg
function not implemented".
2003-11-02Implement getgrent_r. Rework getpwent and getgrent a bit furtherEric Andersen
2003-11-02Both setegid and seteuid were implemented suboptimally, such thatEric Andersen
we were unable to switch back to the original saved group/user ID. -Erik
2003-11-02Be extra careful to check uid and gid converstions to kernel typesEric Andersen
2003-11-02Make the syscall locally, avoid an externEric Andersen
2003-11-02If realloc failed, we'd lose the pointer to the exit function table.Manuel Novoa III
2003-11-02Hopefully fix the struct tm extension problem once and for all.Manuel Novoa III
Also fix a dst-related bug which caused the use of uninitialized data.
2003-11-01Fix things (properly) to open /etc/passd and /etc/group ifEric Andersen
they have not yet been opened. My last try was completely and embarrasingly broken. -Erik
2003-10-31Fix Erik's typo.Manuel Novoa III
2003-10-31Some more soft float fixes... for arm in particular (libfloat).Manuel Novoa III
Remove the ADD_LIBGCC_FUNCTIONS option and do things the right way. Either we have a shared libgcc available, or the libgcc routines aren't PIC and don't belong in the shared libc anyway.
2003-10-31getpwent(), getpwent_r(), and getgrent(), getgrent_r() would allEric Andersen
fail if you had not previously called setpwent() or setgrent() respectively. Oops. My bad. -Erik
2003-10-25properly deal with soft-float when profiling as wellEric Andersen
2003-10-25Add -msoft-float to SAFECFLAGS when necessary.Manuel Novoa III
2003-10-22Peter S. Mazinger pointed out that I missed a spot. I shouldEric Andersen
stop applying patches by hand...
2003-10-22Per suggestion and patch from Ken Staton, emulates poll usingEric Andersen
select for older 2.0 kernels where poll is missing.
2003-10-20Fix a stupid bug that caused uClibc to never provide the correctEric Andersen
fpu_control.h header file, since the correct arch specific one was always later overwritten by the generic one. oops. -Erik
2003-10-19We were failing to properly set h_errno on success, which couldEric Andersen
cause gethostbyaddr_r to keep looping allocating more and more memory each time till alloca finally caused a segfault. Ugh. This fixes that as well... -Erik
2003-10-18Peter Kjellerstedt writes:Eric Andersen
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.
2003-10-18Peter Kjellerstedt writes:Eric Andersen
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).
2003-10-18Peter Kjellerstedt writes:Eric Andersen
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.
2003-10-18Implement putgrent to make Peter S. Mazing happyEric Andersen
2003-10-17Doh!!!Eric Andersen
2003-10-16Do not set errno when they asked for size 0Eric Andersen
2003-10-16Code formatting cleanup.Miles Bader