summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-08-22mention ucdot.orgEric Andersen
2003-08-22Patch from Atsushi Nemoto, who writes:Eric Andersen
I found that current pread/pwrite is broken on mips. On mips, kernel needs 6 arguments for pread/pwrite system call. (3 words for first 3 arguments + 1 padding word + 2 words for last 64bit argument). Also, mips64 kernel needs just 4 arguments so no wrapper will be required. This is a patch against 0.9.20.
2003-08-22Remove some mips specific hacks that are no longer needed, and actively breakEric Andersen
things, now that I have cleaned up the code to be a bit less horribly messy. With this, the shared lib loader works on mips once again. -Erik
2003-08-21Add missing semicolonsEric Andersen
2003-08-21Be sure to remove the old ldso.h, since it will screw thingsEric Andersen
up badly if still present...
2003-08-20Revert this change for now.Eric Andersen
2003-08-20Correct included header for ustat.Manuel Novoa III
2003-08-19ignore unwanted stuffEric Andersen
2003-08-19Update the tests a little bitEric Andersen
2003-08-19I just realized we need global symbol resolution for everything inEric Andersen
a chain of dependent libraries or libraries that depend on other shared libraries will not work! So with a well placed dyn_chain->flags |= RTLD_GLOBAL; everything is now working perfectly!!! Sweet!!!! This patch also removes some leftover junk from my previous efforts.
2003-08-19More routine cleanupEric Andersen
2003-08-19Cool. Found most of the problem. Turns out we were inadvertanly loading someEric Andersen
libraries multiple times, wasting memory and causing different libraries to use different symbol sets, some of which were not properly resolved. Continue scrubbing ld.so and converting it to use proper types.
2003-08-19Phase one of my evil plan to clean up ld.so...Eric Andersen
2003-08-18Work around a bug in nm from binutils-2.14.90.0.5.Manuel Novoa III
2003-08-18Cleanup arm architecture optimizations and add big endian arm as well.Eric Andersen
2003-08-18Fixed a bug where locales nontrivially derived from iso14651_t1 did not haveManuel Novoa III
the UNDEFINED entry set properly.
2003-08-18scanf %lc,%ls,%l[ would always set mb_fail on eof or error,Manuel Novoa III
even when just starting a new mb char. wscanf would incorrectly unget in certain situations.
2003-08-18_wchar_utf8sntowcs and _wchar_wcsntoutf8s now set errno if EILSEQ.Manuel Novoa III
2003-08-17Fix a cut-and-paste error. Collation should be working again.Manuel Novoa III
2003-08-14Use the common version for bits/sem.h. Fixup the types toEric Andersen
match the kernel type exactly.
2003-08-13Patch from Paul Mundt adding uClibc sh64 support:Eric Andersen
Here's a patch that implements the beginnings of a rudimentary sh64 port. So far, this only works static, as I haven't done any of the ldso work yet. I've also not touched the libpthread stuff yet either, so that's also disabled for now. This port was based off of some work that Sean McGoogan at SuperH did for his initial port, but the this patch doesn't carry over too much from there (basically the libc/sysdeps/linux/sh64/Makefile (or rather, parts of it), the setjmp/longjmp stuff (which I had to rewrite portions of it to work with the new toolchains), etc.). However, for static, everything appears to work correcly, at least in a hello world type application.
2003-08-12Fixup centering so the site does not look like crap in IEEric Andersen
2003-08-11also carefully booleanize the false valueEric Andersen
2003-08-10silly me, thats not going to work.Eric Andersen
2003-08-10An even simpler likelyEric Andersen
2003-08-10Update likely() to cope with truth values other than 1Eric Andersen
2003-08-10Add support for the ulimit syscallEric Andersen
2003-08-08Add in a MALLOC_GLIBC_COMPAT option to let people decide if theyEric Andersen
want glibc style malloc(0) behavior
2003-08-08Add support for personality(), prctl(), ustat(), and ulimit()Eric Andersen
syscalls, which had managed to stay unimplemented thus far. -Erik
2003-08-06Begin documenting differences between uClibc and SuSv3Eric Andersen
-Erik
2003-08-05Patch from David Wuertele to prevent "conflicts with new declaration with CEric Andersen
linkage" problems with C++
2003-08-05Zou WeiJun noticed a type breaking the stime syscallEric Andersen
-Erik
2003-08-05Looks like I missed a spotEric Andersen
2003-08-05Shuffle options around a bitEric Andersen
2003-08-05Merge/rework config system per the latest from linux-2.6.0-test2Eric Andersen
-Erik
2003-08-04For sparc, powerpc, mips, and alpha we should also use theEric Andersen
common ipc.h header and struct definitions. -Erik
2003-08-04Update inet_aton() to support an undocumented feature of inet_aton,Eric Andersen
per UNIX Network Programming, Volume 1, second edition: An undocumented feature of inet_aton is that if addrptr is a null pointer, the function still performs it validation of the input string, but does not store the result.
2003-08-02Update licensing discussionEric Andersen
2003-08-01Replace 'new' in a prototype to avoid c++ problems.Manuel Novoa III
2003-08-01Fix a silly error.Manuel Novoa III
To use the pregenerated locales, untar in the extra/locale directory. Do a 'make config' or 'make menuconfig' in the uClibc root dir, then a 'make headers' followed by 'make -C extra/locale pregen'. Then continue with 'make' as usual.
2003-08-01Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III
Should be standards compliant and with several optional features, including support for hexadecimal float notation, locale awareness, glibc-like locale-specific digit grouping with the `'' flag, and positional arg support. I tested it pretty well (finding several bugs in glibc's scanf in the process), but it is brand new so be aware. The *wprintf functions now support floating point output. Also, a couple of bugs were squashed. Finally, %a/%A conversions are now implemented. Implement the glibc xlocale interface for thread-specific locale support. Also add the various *_l(args, locale_t loc_arg) funcs. NOTE!!! setlocale() is NOT threadsafe! NOTE!!! The strto{floating point} conversion functions are now locale aware. The also now support hexadecimal floating point notation. Add the wcsto{floating point} conversion functions. Fix a bug in mktime() related to dst. Note that unlike glibc's mktime, uClibc's version always normalizes the struct tm before attempting to determine the correct dst setting if tm_isdst == -1 on entry. Add a stub version of the libintl functions. (untested) Fixed a known memory leak in setlocale() related to the collation data. Add lots of new config options (which Erik agreed to sort out :-), including finally exposing some of the stripped down stdio configs. Be careful with those though, as they haven't been tested in a long time. (temporary) GOTCHAs... The ctype functions are currently incorrect for 8-bit locales. They will be fixed shortly. The ctype functions are now table-based, resulting in larger staticly linked binaries. I'll be adding an option to use the old approach in the stub locale configuration.
2003-08-01Remove the arch specific shm.h and use the fixed up commonEric Andersen
one which now uses the kernel structs -Erik
2003-07-21Doing an search and replace on CFLAGS can prove dangerous. We don'tEric Andersen
do -O0 by default anyways, so leave this disabled for now.
2003-07-17Bug fix from Peter Kjellerstedt <peter.kjellerstedt@axis.com>. vfscanf wasManuel Novoa III
not setting the FILE bufread member to flag the end of the buffer. Also, do not set bufgetc member if getc macro support is disabled.
2003-07-15Patch from Peter Kjellerstedt to not modify include/bits/sysnum.hEric Andersen
if it does not need to be updated.
2003-07-15Patch from Peter Kjellerstedt to make it simpler for arches to specifyEric Andersen
either -fPIC or -fpic
2003-07-15Fix a silly cut-n-paste errorEric Andersen
2003-07-14Yikes! This was doing another lock instead of unlocking the stream.Manuel Novoa III
2003-07-03As noted by Felix Radensky back on 16 Mar:Eric Andersen
I've tried several times to compile uClibc with soft-float (both gcc-3.2.2 toolchain and wrapper), but applications compiled with uClibc always failed with "Invalid instruction". So I ended up disabling floating point at all and this works well. I also has no problem with glibc from Monta Vista, which is compiled with soft-float. My processor is PowerPC 405GP. Maybe the problem is in FP() macro definition in libc/sysdeps/linux/powerpc/setjmp.S and libc/sysdeps/linux/powerpc/__longjmp.S #ifdef __UCLIBC_HAS_FLOATS__ #define FP(x...) x #else #define FP(x...) #endif which should be defined as if defined __UCLIBC_HAS_FLOATS__ && ! defined __UCLIBC_HAS_SOFT_FLOAT__ #define FP(x...) x #else #define FP(x...) #endif
2003-07-02Only exec child apps if they are elf type ET_EXECEric Andersen