summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-12-04Override optimization settings when debuggingEric Andersen
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-03Make the arm cpu-specific optimizations work properlyEric Andersen
2002-12-02Don't leak outside of the target area when installing things.Eric Andersen
-Erik
2002-12-02Spelling fixesEric Andersen
-Erik
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-12-01Make ldd work even more like GNU ldd by appending dummy load addressesDavid Schleef
2002-11-29I forgot to include features.hEric Andersen
2002-11-29Silly me, I forgot to include features.hEric Andersen
2002-11-28Kill a bit of unused cruftEric Andersen
2002-11-28Fix compilation on mipsEric 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-27Fixup sysconf to report the correct answer when UCLIBC_DYNAMIC_ATEXITEric Andersen
is enabled.
2002-11-27Fix an ifdef mismatch.Manuel Novoa III
2002-11-27Fix the defaults to make them be saneEric Andersen
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-23Use 'install' rather than 'mkdir -p' for target directories.Eric Andersen
Add $(PREFIX) to avoid leaking things at install time. -Erik
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-21Act more like the GNU version. Accept multiple args. Accept/ignoreEric Andersen
the "--" option since we always do that anyways. -Erik
2002-11-21Doh! Manuel noticed I'd put the CFLAGS before DODEBUG, killingEric Andersen
any chance of actually building with debug symbols. -Erik
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-20Kill SVR4_BUGCOMPATEric Andersen
2002-11-20Patch from Stefan Allius:Eric Andersen
- 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
2002-11-20Patch from Aidan Van Dyk to make _toupper and _tolowerEric Andersen
work properly, reverting my wrong reading of SuSv3
2002-11-19Update verbage regarding NISEric Andersen
2002-11-19Remove use of $(strip) when no longer needed. Fixup DODEBUGEric Andersen
so when debugging is enabled we don't enable all the major optimizations. -Erik
2002-11-19Implement dynamic atexit handling. Adds a few bytes and a dependancyEric Andersen
on malloc (via realloc). -Erik
2002-11-19Silence some whiningEric Andersen
2002-11-19Aidan Van Dyk noticed that _toupper and _tolower were misbehaving.Eric Andersen
This corrects them, per SuSv3.
2002-11-19Per suggestion from Stefan Allius, change DO_MPROTECT_HACKS toEric Andersen
the more clear FORCE_SHAREABLE_TEXT_SEGMENTS.
2002-11-19Stefan Allius writes:Eric Andersen
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.
2002-11-19cut-n-paste typoEric Andersen
2002-11-19Update to sync up with glibc 2.3Eric Andersen
2002-11-15For now, revert Ronald Wahl's change to dlopen. We need toEric Andersen
look into what is breaking dlclose() further... -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