summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2002-12-04Change some variable names so we are more consistant with whatEric Andersen
the linux kernel uses. -Erik
2002-12-04Implement the rest of the missing include/net/if.h interfacesEric Andersen
-Erik
2002-12-04Fix the other instance of getcwdEric Andersen
2002-12-04For now, always claim we have exactly one cpu. It shouldEric Andersen
generally be the truth...
2002-12-04Properly allocate memory when size is 0, but so is bufEric Andersen
2002-12-02Cut and paste error.Manuel Novoa III
2002-12-02Forgot one...Manuel Novoa III
2002-12-02Add hsearch and hsearch_r. Consolidate all functions prototyped inManuel Novoa III
search.h in one directory.
2002-12-01If the wait failed in pclose it would return a random status codeDavid McCullough
instead of -1 as expected.
2002-11-29I forgot to include features.hEric Andersen
2002-11-29Silly me, I forgot to include features.hEric Andersen
2002-11-27Make support for global constructors and global destructors beEric Andersen
configurable, so people who do not need or want ctor/dtor support can disable it and make their binaries a little bit smaller. -Erik
2002-11-27Fix an ifdef mismatch.Manuel Novoa III
2002-11-27Fix bug in setting daylight and timezone when no (valid) TZ.Manuel Novoa III
Bug reported by Arne Bernin <arne@alamut.de> in regards to freeswan.
2002-11-23Oops.. left in a bit of debugging code.Manuel Novoa III
2002-11-22Ok... here's the summary:Manuel Novoa III
Hopefully locale support will build when cross compiling now. Collation is still not supported, but that's what I'm currently working on. In the next couple of days, I'll probably put up a couple of files for download that will save people the trouble of generating all the glibc locales. Added *wprintf functions, although they currently don't support floating point. That will be fixed when I rewrite _dtostr... or possibly before. Added the wcsto{inttype} functions. Added iconv() and a mini iconv utility. The require locale support and only provide for conversions involving the various unicode encodings { UCS-4*, UCS-2*, UTF-32*, UTF-16*, UTF-8 }, the 8-bit codesets built with the locale data, and the internal WCHAR_T.
2002-11-21Oops. As Pavel Roskin notes, I forgot to conditionally includeEric Andersen
the __fsetlocking call in libc/unistd/usershell.c. It should be wrapped and only included if __UCLIBC_HAS_THREADS__ is defined.
2002-11-21Doh! As Stefan Allius points out, I forgot to properly reviewEric Andersen
this change.
2002-11-21Debugging tweaks.Miles Bader
2002-11-21Oops.Eric Andersen
2002-11-21Cleanup use of in6addr_loopback and in6addr_anyEric Andersen
2002-11-21Patch from Yoshinori Sato to update the h8300 architecture.Eric Andersen
2002-11-21Improve malloc debugging support.Miles Bader
2002-11-20Rework usershell.c, as the old one was packed full of unhandledEric Andersen
failures, returned stack allocated memory, and misbehaved itself in a number of other annoying ways, -Erik
2002-11-19Implement dynamic atexit handling. Adds a few bytes and a dependancyEric Andersen
on malloc (via realloc). -Erik
2002-11-15This draws from an old patch by David Blythe for the now-deadEric Andersen
unified syscall interface. I reworked his old patch considerably and cleaned up his version of bits/syscalls.h with some sneaky macro magic. And I implemented a powerpc correct version of pread/pwrite -Erik
2002-11-15Cleanup a few structural wierdnessesEric Andersen
2002-11-15Stefan Allius writes:Eric Andersen
I attached a patch, which revise the clone.S and vfork.S: - Use PIC code. - include new file syscall.S, so we can simply make a branch to __syscall_error instead of a PLT/GOT call - call errno_location to store the syscall error (for pthreads) - avoid to use the 'shad' statement on SH2 targets - call fork if vfork isn't available - some cleanups and optimization
2002-11-15Remove obsolete filesEric Andersen
2002-11-15Fix it for real this time.Eric Andersen
2002-11-15Doh! I screwed that one all up. Lets try that again...Eric Andersen
-Erik
2002-11-15Patch from Luc Van Oostenryck to fix a buffer overflowEric Andersen
in getlogin_r
2002-11-15Stefan Allius writes:Eric Andersen
Hi Erik, I added the FPU support for the setjmp/longjmp stuff. This patch also moves the code from the bsd*.S files to the setjmp.S file, so we can use simple branch instructions instead of referencing over the .GOT/.PLT section. This makes the PIC code much easier, smaller and faster. (The idea comes from the SPARC target) Bye Stefan
2002-11-15I was an idiot and put _fini into the wrong register. Duh.Eric Andersen
This patch from David Meggy fixes it...
2002-11-14As released in uClibc 0.9.16, regex was being compiled withoutEric Andersen
wide char support, even when the rest of uClibc was. This led to anyone using regex segfaulting... -Erik
2002-11-14Minor cleanupEric Andersen
-Erik
2002-11-14Implement sendfile64Eric Andersen
-Erik
2002-11-08Patch from Stefan Allius for libgcc multilib supportEric Andersen
this is the last patch, we need to make the support of multitarget libgcc complete. --------------------------------- In ldso/ldso/Makefile I added the CPU_LDFLAGS-y to the LDFLAGS --------------------------------- In libc/Makefile I set the LDFLAGS for the script get-needed-objects.sh with CPU_LDFLAGS-y --------------------------------- In extra/scripts/get-needed-object.sh we now use the LIBGCC from Rules.mak and call LD with LDFLAGS (==CPU_LDFLAGS-y). Addtionally I grep the NM output, to fix the unresolved external __GLOBAL_OFFSET_TABLE__ on SuperH targets. ---------------------------------
2002-11-08Added some temporary "stubs" for collation.Manuel Novoa III
strcoll is an alias for strcmp. strxfrm is an alias for strlcpy. wcscoll is an alias for wcscmp. wcsxfrm is implemented as a wchar version of strlcpy. Real locale-dependent implementations are coming soon.
2002-11-08Add wcwidth and wcswidth, based on Markus Kuhn's wcwidth of 2002-05-08.Manuel Novoa III
Added some size/speed optimizations and integrated it into my locale framework. Minimally tested at the moment, but the stub C-locale version (which most people would probably be using) should be fine.
2002-11-07Remove atof from strtod.o...Manuel Novoa III
2002-11-07Okay, fix for atof _correctly_...Manuel Novoa III
2002-11-07Apparently I forgot to build atof...Manuel Novoa III
2002-11-07Fixup function prototype for __uint128_t which fixes the compileEric Andersen
on powerpc with gcc 3.2. -Erik
2002-11-06Update soft-float handlingEric Andersen
2002-11-05Forgot to change btowc and wctob when I changed the wc<->mb functions yesterday.Manuel Novoa III
2002-11-05For now, leave the "Oddly enough, __fsetlocking() is NOT threadsafe."Eric Andersen
comment as an mjn3 only item.
2002-11-05Fixup handling of disabled optionsEric Andersen
2002-11-05A patch from Danny Lepage so that we do not setting on symlinksEric Andersen
when looking for a device match, and instead keep looking till we find the correct device.
2002-11-05Patch from Stefan Allius -- export LIBGCCEric Andersen