summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Make ldd work even more like GNU ldd by appending dummy load addressesDavid Schleef2002-12-011-2/+2
|
* I forgot to include features.hEric Andersen2002-11-291-0/+2
|
* Silly me, I forgot to include features.hEric Andersen2002-11-291-4/+5
|
* Kill a bit of unused cruftEric Andersen2002-11-281-6/+0
|
* Fix compilation on mipsEric Andersen2002-11-281-6/+8
|
* Make support for global constructors and global destructors beEric Andersen2002-11-2711-23/+132
| | | | | | configurable, so people who do not need or want ctor/dtor support can disable it and make their binaries a little bit smaller. -Erik
* Fixup sysconf to report the correct answer when UCLIBC_DYNAMIC_ATEXITEric Andersen2002-11-271-1/+6
| | | | is enabled.
* Fix an ifdef mismatch.Manuel Novoa III2002-11-271-2/+2
|
* Fix the defaults to make them be saneEric Andersen2002-11-271-3/+0
|
* 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
|
* Use 'install' rather than 'mkdir -p' for target directories.Eric Andersen2002-11-231-4/+4
| | | | | Add $(PREFIX) to avoid leaking things at install time. -Erik
* Ok... here's the summary:Manuel Novoa III2002-11-2225-573/+2299
| | | | | | | | | | | | | | 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-218-1/+296
|
* Improve malloc debugging support.Miles Bader2002-11-218-46/+197
|
* Act more like the GNU version. Accept multiple args. Accept/ignoreEric Andersen2002-11-211-30/+62
| | | | | the "--" option since we always do that anyways. -Erik
* Doh! Manuel noticed I'd put the CFLAGS before DODEBUG, killingEric Andersen2002-11-211-4/+3
| | | | | any chance of actually building with debug symbols. -Erik
* 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
* Kill SVR4_BUGCOMPATEric Andersen2002-11-204-16/+4
|
* Patch from Stefan Allius:Eric Andersen2002-11-207-10/+36
| | | | | | | | | - Invert all FORCE_SHAREABLE_TEXT_SEGMENTS checks. - Define FORCE_SHAREABLE_TEXT_SEGMENTS in the Makefile, so it can be configured by the config system. - linuxelf.h inspects that we don't combine FORCE_SHAREABLE_TEXT_SEGMENTS and SVR4_BUGCOMPAT - Add a new config option for FORCE_SHAREABLE_TEXT_SEGMENTS
* Patch from Aidan Van Dyk to make _toupper and _tolowerEric Andersen2002-11-201-2/+2
| | | | work properly, reverting my wrong reading of SuSv3
* Update verbage regarding NISEric Andersen2002-11-191-3/+10
|
* Remove use of $(strip) when no longer needed. Fixup DODEBUGEric Andersen2002-11-191-12/+14
| | | | | | so when debugging is enabled we don't enable all the major optimizations. -Erik
* Implement dynamic atexit handling. Adds a few bytes and a dependancyEric Andersen2002-11-192-28/+85
| | | | | on malloc (via realloc). -Erik
* Silence some whiningEric Andersen2002-11-192-1/+3
|
* Aidan Van Dyk noticed that _toupper and _tolower were misbehaving.Eric Andersen2002-11-191-3/+3
| | | | This corrects them, per SuSv3.
* Per suggestion from Stefan Allius, change DO_MPROTECT_HACKS toEric Andersen2002-11-193-6/+6
| | | | the more clear FORCE_SHAREABLE_TEXT_SEGMENTS.
* Stefan Allius writes:Eric Andersen2002-11-193-3/+19
| | | | | | | | | | | | | | | | | | I fixed two little bugs in ldso.c: - For LDD support we test the old environment variable LD_TRACE_LOADED_OBJECTS. - Before we init the GOT table of the dynamic loader we have to check, if we have a DT_PLTGOT entry. If DT_PLTGOT was zero we patch somthing in the header of the dynamic loader. This was the cause, why we have to enable the DO_MPROTECT_HACKS option for all targets, to avoid segment faults. In readelflib1.c I added a warning, if we try to load a shared library, which wasn't compiled with -fPIC or -fpic. So if we disable the DO_MPROTECT_HACKS option we are sure, that we don't waste memory by shared libraries which aren't able to share their text segment. I think this is a helpful option on little embedded systems.
* cut-n-paste typoEric Andersen2002-11-191-1/+1
|
* Update to sync up with glibc 2.3Eric Andersen2002-11-191-9/+16
|
* For now, revert Ronald Wahl's change to dlopen. We need toEric Andersen2002-11-152-2/+2
| | | | | look into what is breaking dlclose() further... -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
* Only build the 64 tests when relevantEric Andersen2002-11-151-0/+5
|
* Add in a pread/pwrite testEric Andersen2002-11-153-1/+154
|
* 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
* Fixup minislang linkEric Andersen2002-11-151-1/+1
|
* Ronald Wahl writes:Eric Andersen2002-11-151-0/+3
| | | | | | since uclibc-0.9.16 I have to specify -fpic during _link_-time or else I get an error from the dynamic linker when I load shared objects. Patch is appended.