summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Ronald Wahl writes:Eric Andersen2002-11-152-0/+2
| | | | | | I noticed that dlclose() does not work since libraries loaded with dlopen are not marked as "loaded_file". This breaks apache with dynamic modules. I append a small fix against uClibc-0.9.16.
* 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-143-9/+71
| | | | -Erik
* Add missing quotesEric Andersen2002-11-142-26/+24
| | | | -Erik
* A powerpc patch from Ronald Wahl:Eric Andersen2002-11-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ok, now i got it after a day of work. I have had a look into glibc and found the following: sysdeps/powerpc/dl-machine.c: ... case R_PPC_JMP_SLOT: /* It used to be that elf_machine_fixup_plt was used here, but that doesn't work when ld.so relocates itself for the second time. On the bright side, there's no need to worry about thread-safety here. */ { Elf32_Sword delta = finaladdr - (Elf32_Word) reloc_addr; ... The comment made me suspicious. The same position in uClibc looks like this: ldso/ldso/powerpc/elfinterp.c: ... case R_PPC_JMP_SLOT: { unsigned long targ_addr = (unsigned long)_dl_linux_resolve; int delta = targ_addr - (unsigned long)reloc_addr; ... When I change it to the following it works: ... case R_PPC_JMP_SLOT: { unsigned long targ_addr = *reloc_addr; int delta = targ_addr - (unsigned long)reloc_addr; ... I hope it will not break anything. Can anyone review this change and commit it into CVS? thanks, ron
* Add in 'ldso' to directory list since 'make clean' was not recursing"Steven J. Hill"2002-11-111-1/+1
| | | | into it.
* Don't link to us.kernel.orgEric Andersen2002-11-101-3/+3
|
* fix typoAaron Lehmann2002-11-091-1/+1
|
* Update from upstreamEric Andersen2002-11-092-11/+9
|
* For arm use -mcpu for the moment, since it seems to work0_9_16Eric Andersen2002-11-091-3/+3
|
* typo fixesEric Andersen2002-11-091-4/+4
|
* Make sure we have __linux__ definedEric Andersen2002-11-091-0/+3
|
* Manditory typo..Eric Andersen2002-11-091-3/+3
|
* Final update for 0.9.16Eric Andersen2002-11-095-395/+1034
|
* Patch from Simon Rowe to try and build asm libm codeEric Andersen2002-11-091-2/+3
| | | | | only when HAS_FPU is set. If you don't have an FPU then usm FPU code isn't going to help much...
* Patch from Stefan Allius, rebuild extra/config/conf if it is missingEric Andersen2002-11-091-0/+3
| | | | following a make clean
* Patch from Stefan Allius: avoid implicit casting of void *(64bit) to int(32bit)Eric Andersen2002-11-091-1/+1
|