summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* Be sure we have a crt1.o file. Use the asm version by default.Eric Andersen2002-12-211-22/+5
| | | | -Erik
* The big thing is locale dependent collation support.Manuel Novoa III2002-12-206-127/+1037
| | | | Also added outdigit support and (legacy) YESSTR/NOSTR support.
* Initial checkinMiles Bader2002-12-182-0/+184
|
* whitespaceMiles Bader2002-12-181-0/+1
|
* (SSRC): Rename longjmp.S to __longjmp.SMiles Bader2002-12-181-2/+2
| | | | (CSRC): Add clone.c
* Rename longjmp.S to __longjmp.SMiles Bader2002-12-181-8/+2
| | | | Remove extra weak symbols defined by ../common/longjmp.c
* Based on discussions with Stefan Allius, change it so that we alwaysEric Andersen2002-12-1210-90/+26
| | | | | | | build a crt0.o and a crt1.o. crt1.o will support ctors and dtors if such support is enabled. One more gratuitous toolchain support issue is thereby removed... -Erik
* Remove trailing comma from enum list as a nicety for older compilers.Manuel Novoa III2002-12-111-1/+1
|
* Change some variable names so we are more consistant with whatEric Andersen2002-12-041-7/+7
| | | | | the linux kernel uses. -Erik
* Implement the rest of the missing include/net/if.h interfacesEric Andersen2002-12-041-22/+149
| | | | -Erik
* Fix the other instance of getcwdEric Andersen2002-12-041-18/+21
|
* For now, always claim we have exactly one cpu. It shouldEric Andersen2002-12-041-2/+4
| | | | generally be the truth...
* Properly allocate memory when size is 0, but so is bufEric Andersen2002-12-041-25/+28
|
* Cut and paste error.Manuel Novoa III2002-12-021-4/+5
|
* Forgot one...Manuel Novoa III2002-12-021-33/+0
|
* Add hsearch and hsearch_r. Consolidate all functions prototyped inManuel Novoa III2002-12-029-93/+334
| | | | search.h in one directory.
* If the wait failed in pclose it would return a random status codeDavid McCullough2002-12-011-1/+2
| | | | instead of -1 as expected.
* I forgot to include features.hEric Andersen2002-11-291-0/+2
|
* Silly me, I forgot to include features.hEric Andersen2002-11-291-4/+5
|
* Make support for global constructors and global destructors beEric Andersen2002-11-276-11/+68
| | | | | | configurable, so people who do not need or want ctor/dtor support can disable it and make their binaries a little bit smaller. -Erik
* Fix an ifdef mismatch.Manuel Novoa III2002-11-271-2/+2
|
* Fix bug in setting daylight and timezone when no (valid) TZ.Manuel Novoa III2002-11-271-3/+5
| | | | Bug reported by Arne Bernin <arne@alamut.de> in regards to freeswan.
* Oops.. left in a bit of debugging code.Manuel Novoa III2002-11-231-2/+0
|
* Ok... here's the summary:Manuel Novoa III2002-11-2212-473/+1667
| | | | | | | | | | | | | | 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.
* Oops. As Pavel Roskin notes, I forgot to conditionally includeEric Andersen2002-11-211-0/+2
| | | | | the __fsetlocking call in libc/unistd/usershell.c. It should be wrapped and only included if __UCLIBC_HAS_THREADS__ is defined.
* Doh! As Stefan Allius points out, I forgot to properly reviewEric Andersen2002-11-211-1/+2
| | | | this change.
* Debugging tweaks.Miles Bader2002-11-212-8/+12
|
* Oops.Eric Andersen2002-11-211-0/+1
|
* Cleanup use of in6addr_loopback and in6addr_anyEric Andersen2002-11-214-20/+36
|
* Patch from Yoshinori Sato to update the h8300 architecture.Eric Andersen2002-11-215-0/+289
|
* Improve malloc debugging support.Miles Bader2002-11-217-46/+186
|
* Rework usershell.c, as the old one was packed full of unhandledEric Andersen2002-11-201-43/+114
| | | | | | failures, returned stack allocated memory, and misbehaved itself in a number of other annoying ways, -Erik
* Implement dynamic atexit handling. Adds a few bytes and a dependancyEric Andersen2002-11-191-28/+68
| | | | | on malloc (via realloc). -Erik
* This draws from an old patch by David Blythe for the now-deadEric Andersen2002-11-156-48/+276
| | | | | | | 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
* Cleanup a few structural wierdnessesEric Andersen2002-11-156-23/+27
|
* Stefan Allius writes:Eric Andersen2002-11-153-115/+116
| | | | | | | | | | | 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
* Remove obsolete filesEric Andersen2002-11-152-74/+0
|
* Fix it for real this time.Eric Andersen2002-11-152-8/+13
|
* Doh! I screwed that one all up. Lets try that again...Eric Andersen2002-11-152-8/+16
| | | | -Erik
* Patch from Luc Van Oostenryck to fix a buffer overflowEric Andersen2002-11-151-1/+1
| | | | in getlogin_r
* Stefan Allius writes:Eric Andersen2002-11-153-11/+78
| | | | | | | | | | | | | 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
* I was an idiot and put _fini into the wrong register. Duh.Eric Andersen2002-11-151-3/+2
| | | | This patch from David Meggy fixes it...
* As released in uClibc 0.9.16, regex was being compiled withoutEric Andersen2002-11-141-2/+2
| | | | | | wide char support, even when the rest of uClibc was. This led to anyone using regex segfaulting... -Erik
* Minor cleanupEric Andersen2002-11-142-8/+11
| | | | -Erik
* Implement sendfile64Eric Andersen2002-11-142-1/+48
| | | | -Erik
* Patch from Stefan Allius for libgcc multilib supportEric Andersen2002-11-081-1/+1
| | | | | | | | | | | | | | | | | | 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. ---------------------------------
* Added some temporary "stubs" for collation.Manuel Novoa III2002-11-083-60/+28
| | | | | | | | 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.
* Add wcwidth and wcswidth, based on Markus Kuhn's wcwidth of 2002-05-08.Manuel Novoa III2002-11-082-1/+254
| | | | | | 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.
* Remove atof from strtod.o...Manuel Novoa III2002-11-071-7/+0
|
* Okay, fix for atof _correctly_...Manuel Novoa III2002-11-071-1/+4
|