summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Re-enable the strchrnul and rawmemchr testsEric Andersen2002-11-081-4/+0
|
* Scare people away from enabling locale support for now.Eric Andersen2002-11-081-3/+4
|
* Disable ldso debugging. It should not be on by default.Eric Andersen2002-11-081-2/+2
|
* Use NATIVE_CC. Don't hard code using 'gcc'.Eric Andersen2002-11-081-1/+1
| | | | -Erik
* Patch from Stefan Allius for libgcc multilib supportEric Andersen2002-11-083-7/+5
| | | | | | | | | | | | | | | | | | 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. ---------------------------------
* Disble unimplemented function prototypesEric Andersen2002-11-081-0/+3
|
* Patch from Stefan Allius to fixup SuperH ARCH_HAS_MMU and ARCH_HAS_FPUEric Andersen2002-11-081-1/+5
|
* Initial checkin.Miles Bader2002-11-081-0/+59
|
* Add CPU_CFLAGS-y into LIBGCC_CFLAGS so multilibs gcc will behaveEric Andersen2002-11-081-8/+8
| | | | | itself. Revery the "=" to ":=" change, so people like Miles can set stuff in their .config
* Add defaults for powerpcEric Andersen2002-11-081-0/+59
|
* Kill the now obsolete uClibc_config_fix.plEric Andersen2002-11-081-200/+0
|
* Add a default for shEric Andersen2002-11-081-0/+66
|
* Add notes about setvbuf and struct tm extension fields tm_gmtoff and tm_zone.Manuel Novoa III2002-11-081-0/+6
|
* 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.
* Cleanup everythingEric Andersen2002-11-081-1/+1
|
* 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.
* Leave ldso debugging off by defaultEric Andersen2002-11-081-2/+2
|
* Fix a silly compile bugEric Andersen2002-11-081-0/+1
|