summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
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
2003-10-16Don't set errno if for zero SIZE returns.Miles Bader
Code formatting cleanup.
2003-10-15Patch from Tony J. White:Eric Andersen
I've created a patch for adding dn_expand() to uClibc 0.9.21. dn_expand() is used by at least ipsec-tools and also openldap I think.
2003-10-14Microblaze port from the uClinux-dist,David McCullough
contributed by John Williams <jwilliams@itee.uq.edu.au>
2003-10-12Don't make two copiesEric Andersen
2003-10-12Sigh. It seems that csh wants glob_pattern_p(), we need toEric Andersen
export it,
2003-10-10Implement getgrgid_r and getgrnam_r. Rework group handling code to be fullyEric Andersen
reentrant, since there was still a shared static value. indent stuff,
2003-10-09Patch from Rob McMullen:Eric Andersen
Here's a patch... Since they aren't SUSv3 functions, I don't know if they'll ever get officially added, but it helps with BSD porting and allows quite a few Gentoo ebuilds to compile without changing anything. Rob
2003-10-08Atsushi Nemoto writes:Eric Andersen
I found inappropriate data types are used in some places in networking codes. * tcp_seq is 32bit (u_long -> u_int32_t) * in_addt_t should be used for internet address (unsigned long -> in_addr_t) * socklen_t should be used for accept() This is a patch against uclibc-0.9.21 (can be applied for current CVS). 64bit platforms (sizeof(int)!=sizeof(long)) will need this. I believe this patch does not harm any 32bit platforms.
2003-10-08Patch from Atsushi Nemoto (with some additions):Eric Andersen
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.