summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-01-30Patch from Christophe Massiot:Eric Andersen
Hello, When using uClibc to compile the modutils for a MIPS target, the linker outputs an "undefined symbol: _flush_cache". After some digging, it's a syscall only available on the MIPS architecture, and the _flush_cache symbol is in the GNU libc. Attached patch defines it in uClibc as well. I'm not sure if I made it the right way, though, but it works for me.
2003-01-30Patch from Christian Krause:Eric Andersen
I found a problem in uClibc in libpthread/linuxthres/condvar.c: pthread_cond_timedwait never uses rt singals uClibc has two implementations of pthread_cond_timewait - pthread_cond_timedwait_relative_old using the "normal" signals and pthread_cond_timedwait_relative_new usign the rt signals (for kernels >= 2.2). The function pointer pthread_cond_tw_rel is initialised with the old function. In "__pthread_init_condvar(int)" this pointer is set to the new function using rt signals, but "__pthread_init_condvar" is never called in the uClibc. The following patch solves this issue, so that __pthread_init_condvars is called and the function pointer is always initialised with the correct function. regards, christian
2003-01-30The original glibc sysdeps/mips/dl-machine.h source from Kazumoto Kojima wasEric Andersen
under the LGPL. I noticed Steven J. Hill has accidentally changed the license to be GPL. Per email with him, change it back to LGPL. Erik Andersen wrote: >I just noticed that uClibc/ldso/ldso/mips/resolve.S is >listed as licensed under the GPL, rather than the LGPL >like the rest of uClibc. Accident? > Yes. Feel free to change it.
2003-01-30Use correct names for dummy crti.o/crtn.o files.Miles Bader
2003-01-30Initial checkin.Miles Bader
2003-01-29Create stub crti.o and crtn.o files when UCLIBC_CTOR_DTOR is disabledEric Andersen
-Erik
2003-01-28Fix scandir64 to not free the wrong pieces of memory (which couldEric Andersen
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
2003-01-28Add a couple of testsEric Andersen
2003-01-28Stefan Allius noticed dlib_pic.o was not using XXFLAGS as it shouldEric Andersen
2003-01-28Patch from Stefan Allius to fix the build whenEric Andersen
large file support is disabled
2003-01-27Add multiple-include protection.Miles Bader
2003-01-25bahEric Andersen
2003-01-25CleanerEric Andersen
2003-01-25Fix the 'make release' targetEric Andersen
2003-01-25This seems to be needed or else apps will blow up.Eric Andersen
-Erik
2003-01-25some minor todo updatesEric Andersen
2003-01-25Move some stuff into old-newsEric Andersen
2003-01-25Update webpage for releaseEric Andersen
2003-01-25Update the changelog for releaseEric Andersen
2003-01-24Fix powerpc struct kernel_stat typesEric Andersen
2003-01-24Stick some evil casts in to make sure this works regardlessEric Andersen
of the underlying data types.
2003-01-24A few more needed updatesEric Andersen
2003-01-24Begin release preparations...Eric Andersen
2003-01-24Support having libs in /usr/X11R6/lib by default as wellEric Andersen
2003-01-24Stupid typoEric Andersen
2003-01-24Finish up fixing stat and setting various system types.Eric Andersen
2003-01-24Don't clean config system except on 'make distclean'. Remember toEric Andersen
clean locale stuff on 'make clean'
2003-01-24Better stat testsEric Andersen
2003-01-24I thought it would be smaller to inline since these funcs are small.Eric Andersen
Well, not inlining saves 300 bytes, so do that instead. -Erik
2003-01-24Ok, people are probably going to hate me for this... This commit changes theEric Andersen
type of 'struct stat' and 'struct stat64' so they use consistant types. This change is the result of a bug I found while trying to use GNU tar. The problem was caused by our using kernel types within struct stat and trying to directly compare these values with standard types. Trying an 'if (a < b)' when 'a' is an 'unsigned long' and 'b' is an 'int' leads to very different results then when comparing entities of the same type (i.e. time_t values).... Grumble. Nasty stuff, but I'm glad I got this out of the way now. As a result of this fix, uClibc 0.9.17 will not be binary compatible with earlier releases. I have always warned people this can and will happen. -Erik
2003-01-24Add FAQ entry for "sh: can't access tty; job control turned off"Eric Andersen
-Erik
2003-01-24Doh! Fix potential stack corruption caused by dynamic atexitEric Andersen
allocating size incorrectly.... -Erik
2003-01-23Update architecture specific support to consistantlyEric Andersen
generate a crt0 and crt1 file. Most arches still need to be updated to call __uClibc_start_main() rather than __uClibc_main().
2003-01-23Hopefully this is correctEric Andersen
2003-01-23Hopefully this will work as expected. I have no way toEric Andersen
test but this should be correct.
2003-01-23Update crt0 for arm to provide the main referenceEric Andersen
a bit more nicely, and make _init and _fini be weak for people with broken compilers -Erik
2003-01-23Shuffle OPTIMIZATION setting a bitEric Andersen
2003-01-23Wasn't thinking... we don't need to seek to end when appending if stdioManuel Novoa III
is built without buffer support.
2003-01-23Update tests to be somewhat consistant with the rest of the worldEric Andersen
2003-01-23Update ignore listEric Andersen
2003-01-23Update a tiny bitEric Andersen
2003-01-23Cleanup makefiles and make clean a bitEric Andersen
2003-01-23Making atexit weak does nothing for dynamicly linked apps. And forEric Andersen
staticly linked apps it entirely prevents destructors from running unless atexit is called for some other reason. So if they enabled ctor/dtor support we need to have a call to the real atexit for dtors to work properly. If people don't want the extra 4k or so of junk in their static apps, they should leave ctor/dtor support disabled. -Erik
2003-01-23simpler method for getting a 'main' reference. Make _init and _finiEric Andersen
be weak so people won't need to fix their compilers
2003-01-23Shuffle two lines so the comment applies to the correct line.Eric Andersen
2003-01-23Rewrite powerpc crt0.S for proper ctor/dtor handlingEric Andersen
2003-01-23Kill the needless '#if 1'Eric Andersen
2003-01-23Update malloc behavior on malloc(0) to be consistant withEric Andersen
malloc-930716 behavior, i.e. return a NULL.
2003-01-23Just be a bit less different from latest glibc version in commentsEric Andersen
and in the files where variables live.
2003-01-23Per patch from Nathan Field at ghs.com, fix the mips __compare_and_swap inlineEric Andersen
function. Without this fix, pthread_mutex_lock/pthread_mutex_unlock don't work on mips.