summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III2003-12-2737-155/+129
| | | | | | | | | | | | | | | | were including libc-lock.h which had a bunch of weak pragmas. Also, uClibc supplied a number of no-op weak thread functions even though many weren't needed. This combined result was that sometimes the functional versions of thread functions in pthread would not override the weaks in libc. While fixing this, I also prepended double-underscore to all necessary weak thread funcs in uClibc, and removed all unused weaks. I did a test build, but haven't tested this since these changes are a backport from my working tree. I did test the changes there and no longer need to explicitly add -lpthread in the perl build for perl to pass its thread self tests.
* oopsEric Andersen2003-12-221-1/+1
|
* implement the worthless cuserid() function we claim to support.Eric Andersen2003-12-221-0/+8
| | | | | This isn't in SuSv3, but is expected by at least some apps such as emacs...
* In unistd.h, getpgrp() is redirected to __getpgid(), butEric Andersen2003-12-221-1/+3
| | | | we did not have a __getpgid(). Fix that.
* That was awfully stupid.Eric Andersen2003-12-221-4/+5
|
* Use 'sed -i -e' rather than 'sed -ie' since we don't wantEric Andersen2003-12-221-8/+8
| | | | | to leave backup files with "e" appended scattered all over the place.
* Update the config used when building a .debEric Andersen2003-12-222-8/+13
|
* dev systems updatedEric Andersen2003-12-192-4/+32
|
* Use PAGE_SIZE rather than hard coding 4096Eric Andersen2003-12-175-29/+31
|
* Patch from Paul Mundt <lethal@linux-sh.org>:Eric Andersen2003-12-179-1/+1039
| | | | | | | | | | Here's the patch for the ldso bits for sh64. This is still in need of a bunch of debugging, testing, etc. and is really only being submitted for general completeness. This assumes that the previous patches I've submitted have already been applied. I plan on playing with this and buildroot some more later, as I'd definitely like to see buildroot images for sh64.
* Patch from Paul Mundt <lethal@linux-sh.org>:Eric Andersen2003-12-1717-69/+71
| | | | | | | | | | | | | | | | | For sh64 we need implicit access to the symtab, primarily to get at the ->st_other value. This presently isn't possible, as PERFORM_BOOTSTRAP_RELOC() is invoked as such: PERFORM_BOOTSTRAP_RELOC(rpnt, reloc_addr, symbol_addr, load_addr); while we can easily get the symtab_index value from rpnt->r_info, this still doesn't buy us easy access to the actual table. As such, I've modified PERFORM_BOOTSTRAP_RELOC() to take an additional SYMTAB argument. Most architectures aren't going to care about this, but unfortunately we don't have any other options for sh64. The following patch fixes up the API for what we need for sh64, and updates the other architectures appropriately.
* Patch from Paul Mundt <lethal@linux-sh.org>:Eric Andersen2003-12-175-1/+431
| | | | | The subject says it all.. optimized memset/memcpy/strcpy, lifted from SuperH's glibc tree.
* When I switched from using stack allocated space for printf, I missed a caseEric Andersen2003-12-172-6/+10
| | | | | | | | where a sizeof(foo) was changed to the sizeof a pointer. This caused _dl_printf to complain a lot when debug is enabled (which itself revealed a bug since it should have exited on buffer overflow), and let me to find another bug, where memory failures would try to recursively call _dl_printf.... What a mess.
* Add in the axis network camerasEric Andersen2003-12-171-0/+1
|
* Add LEAF Bering-uClibcEric Andersen2003-12-161-2/+3
|
* fix grammer such it is possible to understand what is written...Eric Andersen2003-12-161-3/+3
|
* Update for release (no really this time ;-)0_9_24Eric Andersen2003-12-162-1/+149
|
* Update the websiteEric Andersen2003-12-162-0/+30
|
* Link ldconfig with the appropriate libraries.Manuel Novoa III2003-12-141-1/+1
|
* Fix some dst issues in _time_mktime().Manuel Novoa III2003-12-141-5/+12
| | | | | Normalize the tm_isdst value to -1, 0, or 1. If no dst for this timezone, then reset tm_isdst to 0.
* Fix a couple of 'declaration after statement' errors.Manuel Novoa III2003-12-142-3/+2
|
* fix a cut-n-paste typoEric Andersen2003-12-111-1/+1
|
* add image for validatorEric Andersen2003-12-111-0/+0
|
* fixup some silly html bugsEric Andersen2003-12-116-8/+6
|
* mjn3 found a url for the darwin C libEric Andersen2003-12-111-0/+1
|
* more minor cleanupsEric Andersen2003-12-112-6/+15
|
* Rework the websiteEric Andersen2003-12-1115-1027/+646
|
* Prepare for uClibc 0.9.24 releaseEric Andersen2003-12-084-2760/+827
|
* Paul Mundt <lethal@linux-sh.org> writes:Eric Andersen2003-12-057-3/+292
| | | | | | | | | | | | | This patch adds the libpthread backend bits for sh64. As noted previously, we can't inline things like the testandset() in pt-machine.h as we need to use a completely different ISA / CFLAGS in order for this to work. As a result, this patch is somewhat of a RFC as well to see what people think of the libpthread/linuxthreads/sysdeps Makefile approach, etc. The approach I've taken currently has been to provide a sysdeps/Makefile with a note that TARGET_ARCHs that want build rules can simply add themselves into the list of matching architectures to add to the subdir rule for. This probably isn't the cleanest solution, but it's quite transparent and works quite well.
* move _dl_fixup so staticly linked apps using dlopen have aEric Andersen2003-12-053-65/+132
| | | | chance of actually working
* Fix infinite loop in putgrent (forgotten increment).Manuel Novoa III2003-12-041-0/+1
|
* Fix arm profiling support, which was accidentally removedEric Andersen2003-12-041-0/+6
|
* Set the default stdio buffer size to 4096, rather then 256.Eric Andersen2003-12-041-1/+1
| | | | | 256 is fine of course, but many applications use this value and expect it to be larger.
* Don't download the local data if we have it already.Manuel Novoa III2003-12-041-2/+6
|
* Building of iconv.o was accidently always disabled.Manuel Novoa III2003-12-043-15/+25
| | | | Also, build the iconv app in utils.
* Henrik Grindal Bakken writes:Eric Andersen2003-12-032-4/+20
| | | | | | | | | | | | | | The patch touches a minor (well, not that minor, but perhaps only rarely encountered) bug in the powerpc dynamic linker. The problem is that addi is called in inline assembly, but there is no restriction on the second argument. In powerpc assembler, if the second argument to addi is r0, it is taken as the value 0, not the contents of r0. This happened to me, making the stack pointer 0 on the invocation on the application. The patch is against 0.9.22, but there didn't seem to be any changes to the relevant section in 0.9.23.
* Joakim Tjernlund writes:Eric Andersen2003-12-031-2/+2
| | | | | This is just a wild guess, but you could try this to see if it fixes Richards problem:
* Lethal noticed that the generated file gmon-start.S was notEric Andersen2003-12-034-0/+8
| | | | being cleaned up.
* Patch from lethal, adding syscall() to the sh64 portEric Andersen2003-12-032-1/+25
|
* Paul Mundt <lethal@linux-sh.org> writes:Eric Andersen2003-12-033-16/+16
| | | | | | Nothing overly interesting here, this renames Hitachi/Mitsubishi to Renesas for the relevant platforms (in this case, h8, sh, and m32r). The same changes have already been going on in gcc/binutils/gdb/glibc/etc.
* Eliminate some static buffers based on a patch from Tobias AnderbergEric Andersen2003-12-032-12/+60
|
* remove some garbageEric Andersen2003-12-031-1/+0
|
* Rob McMullen writes:Eric Andersen2003-12-031-3/+2
| | | | | | There is code in ldconfig that checks to see if a shared library is named either ``lib*'' or ``ld-*'' before ldconfig -l will work on it. gawk uses this feature of ldconfig to make /lib/rcscripts/filefuncs.so, so the build fails.
* force enable FORCE_SHAREABLE_TEXT_SEGMENTS for sh4Eric Andersen2003-12-031-0/+1
|
* Disable pthreads for sh64 for the time being (since it is notEric Andersen2003-12-021-0/+1
| | | | currently supported)
* Include Rules.mk for consistency. Trying not to was simply too painful.Manuel Novoa III2003-12-021-58/+1
|
* Add a syscall() implementation using a hacked version of the syscall6 macro.Manuel Novoa III2003-12-022-1/+26
| | | | Untested, but syscall() is needed by busybox for pivot_root at least.
* Add function versions of ntohl and friendsEric Andersen2003-12-022-1/+68
|
* Avoid a potentially undefined operation with a veriable++ in a macroEric Andersen2003-12-021-2/+2
|
* Put in a dummy reference to main so busybox will link.Manuel Novoa III2003-12-021-0/+6
|