summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* make certain that getpagesize() returns correct the value for mipsEric Andersen2004-05-116-28/+61
| | | | by extracting the value from the ELF header.
* Purge trailing white spaceEric Andersen2004-05-111-13/+13
|
* Bradley D. LaRonde, brad at laronde dot org writes:Eric Andersen2004-05-111-1/+1
| | | | | | | If I change that ELF_RTYPE_CLASS_COPY to ELF_RTYPE_CLASS_PLT to tell _dl_find_hash to ignore stubs when resolving undefined functions without stubs, the dlopen tests all pass. dlopen gets a pointer to the libc.so malloc instead of a pointer to the libpthread malloc stub. Yay! :-)
* Save r0 before modifying it.Tobias Anderberg2004-05-101-2/+4
|
* Obligatory forgotten file...Manuel Novoa III2004-05-081-1/+2
|
* Change clock() to allow wrapping.Manuel Novoa III2004-05-082-88/+145
| | | | | | | Add timegm() function. Make lookup_tzname() static (as it should have been). Have strftime() get timezone information from the passed struct for the %z and %Z conversions when using struct tm extensions.
* Peter Mazinger asked for this several months ago.Manuel Novoa III2004-05-071-0/+2
|
* Patch from Yoshinori Sato <ysato@users.sourceforge.jp>.Manuel Novoa III2004-05-071-0/+4
|
* "Fix" this so that at least things will link when threading is disabled.Manuel Novoa III2004-05-071-4/+8
| | | | | | Also fix the sizeof() issue since the change to a dynamicly allocated buf. Note! This is still broken wrt threading, but so is the glibc version. I'm just commiting this for new until I can test my rewrite.
* Fix a couple of issues in configurations I hadn't tested.Manuel Novoa III2004-05-072-23/+9
|
* Add missing include.Manuel Novoa III2004-05-071-0/+1
|
* UCLIBC_COMPLETELY_PIC does nothing, so kill itEric Andersen2004-05-073-5/+1
|
* Change the global 'buf' to 'servbuf' since some functions in here useEric Andersen2004-05-071-7/+7
| | | | a local named 'buf' and we want to avoid shadowing that.
* Alexandre Oliva writes:Eric Andersen2004-05-061-21/+16
| | | | | | | | | | | | | | | | The vfork() wrapper defined in libpthread, that's used to run pthread_atfork()-registered handlers, is not only a very bad idea, it's broken and useless. Here's the rationale: [---------snip----------] Since the implementation as it stands is broken (linking a program that vfork()s and exec()s on the child and wait()s on the parent works unless you happen to link with libpthread), and I can't think of any workable solution, I suggest that we simply remove the vfork() overrider in the non-MMU case. Yes, we might lose some small amount of functionality here, but it's not like people running uClinux expect anything resembling actual fork() to work.
* Fix screwed up formattingEric Andersen2004-05-051-20/+20
|
* Jeroen Dobbelaere writes:Eric Andersen2004-05-051-1/+2
| | | | | | | | | | Because variables are linked to fixed registers, there is a problem in : (*__errno_location())=(-_r0); As __errno_location() uses r0 to return the address of the errno location, the negated address will be assigned instead of the error code. Attached patch will resolve this.
* Minor .deb updatesEric Andersen2004-04-302-10/+20
|
* These headers should not be included in uClibc -- they should beEric Andersen2004-04-302-292/+0
| | | | part of the ppp instead.
* It turns out that asm/reg.h is missing from the 2.6.x kernel headers,Eric Andersen2004-04-231-2/+167
| | | | | which prevents libthread_db (used by gdb) from compiling. Include a copy within include/sys/user.h for mips, per what was done in glibc.
* blahEric Andersen2004-04-201-1/+2
|
* Fix grammar and spellingEric Andersen2004-04-201-9/+11
|
* Mention uwoodyEric Andersen2004-04-201-0/+15
|
* Cope with gcc 3.4's more aggressive persuit of attribute unusedEric Andersen2004-04-2023-55/+56
|
* We don't need these...Eric Andersen2004-04-202-1653/+0
|
* Fix typo.Manuel Novoa III2004-04-141-1/+1
|
* Fix a bug noticed by Oleg I. Vdovikin, oleg at cs dot msu dot su.Eric Andersen2004-04-061-4/+0
| | | | | | | This code in uClibc would attempt to set the default facility if none was specified. Except none being specified is 0, which is also LOG_KERN, therefore klogd could never get kernel messages logged as LOG_KERN.
* glibc does not provide pppio.h, and our doing so conflictsEric Andersen2004-03-241-99/+0
| | | | with the ppp package
* Per patch from Stefan Holst, do not try to compile theseEric Andersen2004-03-194-0/+8
| | | | syscalls if they are not supported.
* Patch from Stefan Holst to fix argv[0]Eric Andersen2004-03-191-5/+5
|
* Based on a patch from Alexandre Oliva, allow uClibc to compileEric Andersen2004-03-192-1/+18
| | | | with __NR_mmap is not available (i.e. only __NR_mmap2)
* Alexandre Oliva writes:Eric Andersen2004-03-182-2/+58
| | | | | | | This patch arranges for the .so files in say /usr/lib to be soft links to ../../lib, instead of to /some/arbitrary/pathname/lib. This enables seamless relocation of a toolchain containing the development and run time trees in a sys-root.
* Alexandre Oliva writes:Eric Andersen2004-03-182-1/+42
| | | | | I added this function after I posted the last version of the FR-V patch. Add syscall.c.
* Supply '__bzero' with 'bzero' as just a weak alias (since it is not SuSv3)Eric Andersen2004-03-182-4/+7
|
* Based on a patch from Alexandre Oliva, remove all reference to 'bzero' (whichEric Andersen2004-03-1811-25/+26
| | | | | is not a SuSv3 symbol). Rather than using __bzero internally per Alexandre's original patch, use memset instead.
* Look in /usr/X11R6/lib as wellEric Andersen2004-03-182-1/+2
|
* Reduce memory used by static buffers and allocate that memory dynamiclyEric Andersen2004-03-185-13/+68
| | | | | | | | | | instead. Based on an initial patch from Tobias Anderberg, but reworked. I asked Tobias to look into doing something more like what is done in busybox, but that proved to be a pain. One possible concern is that these buffers will probably show up as memory leaks i.e. with valgrind. Perhaps we should add in an atexit call to free this memory right after we allocate it?
* Joakim Tjernlund writes:Eric Andersen2004-03-181-8/+4
| | | | | | | | | | Hi I just noticed that gcc has an "b"(Address base register) operand that will match all "r" registers but r0. It is a better fix then adding r0 to the clobber list. What do you think?
* Cope gracefully with missing module syscallsEric Andersen2004-03-124-6/+21
|
* Rewrite the err/warn functions as they were broken (__noreturn__ funcsManuel Novoa III2004-03-113-76/+111
| | | | | were returning). Anyway, also make them threadsafe and smaller. The error.c file still needs work.
* Bug fix: gethostbyname2_r would fail if /etc/host was missing.Manuel Novoa III2004-03-101-21/+38
| | | | | Bug fix: gethostbyname_r checked errno without first setting it to a known value.
* More detail about malloc-simpleEric Andersen2004-03-091-2/+5
|
* Update todo list indicating the items remaining before 0.9.27Eric Andersen2004-03-091-11/+19
|
* Fix commentEric Andersen2004-03-081-2/+2
|
* Update with the contents of a very helpful comparison ofEric Andersen2004-03-061-7/+79
| | | | interfaces vs SuSv3 from heukelum at freemail dot nl
* note that syscall on mips needs to be fixedEric Andersen2004-03-061-0/+2
|
* Sigh. I switched the values...Eric Andersen2004-02-201-2/+2
|
* Per discussion with Joakim Tjernlund, all the horrible weak declarations junkEric Andersen2004-02-201-78/+96
| | | | | | in libdl pointing to the local 'foobar' function is garbage. This cleans all that up and makes the code much less horrible. Now it is only really really ugly (which is a marked improvement),
* Patch from Joakim Tjernlund:Eric Andersen2004-02-201-22/+13
| | | | white space cleanup and optimize the inner loop in dl_find_hash.
* ___brk_addr and __environ are not functions. Finding the brokenEric Andersen2004-02-201-2/+2
| | | | | | lookup on 'atexit' got me excited and I started fixing the same problem elsewhere. Except these were correct as-was, and were not a problem....
* Slightly cleaner formattingEric Andersen2004-02-201-4/+4
|