summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Oops. Missed a spot.Eric Andersen2004-06-121-1/+1
|
* scrap the goofy time + getpid() based "randomness" and useEric Andersen2004-06-061-28/+35
| | | | the real thing.
* Removed unused file.Tobias Anderberg2004-05-241-72/+0
|
* Cope when the __NR_get_kernel_syms is undefined (i.e. 2.6.x arm-linux)Eric Andersen2004-05-151-0/+9
|
* Fix changed link into the mailing list archive.Manuel Novoa III2004-05-141-1/+1
|
* Joakim Tjernlund writes:Eric Andersen2004-05-142-11/+7
| | | | | | | | | | | Hi Erik It seems to me that __pthread_once and __pthread_initialize_minimal could be made WEAKs with no stub. The code in rpc_thread.c and __uClibc_main.c appears to expect this. Also, __pthread_return_0 __pthread_return_1 and __pthread_return_void can be static, not to pollute the name space. Jocke
* Alexandre Oliva writes:Eric Andersen2004-05-148-350/+364
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here are a number of minor changes to FR-V-specific bits of the uClibc port: - I've adjusted the definition of _dl_mmap to cope with the fact that there will be a definition for an mmap2-only system. - We don't have COPY relocs, so optimize the copy reloc-related code away. - Change the page size to 16KiB, to match the ABI spec, and not a stale value I'd copied from a linker config file. Oops. - Fix error handling in clone and vfork; parts of the changes by David Howells <dhowells@redhat.com> - Rearrange includes in crtreloc.c. - Change the API of __syscall_error, to reduce code size. - Improve __syscall_return in terms of code size, so as to enable tail-calling of __syscall_error, at least within libc. Ideally, __syscall_error should be hidden within libc.so, but this didn't work because of libdl. I haven't looked into why, and figured I'd leave it visible for now. - Rename enumerators and macros in sys/ucontext.h to reduce namespace pollution.
* __data_start needs to be added to all crt0.S files that don't currentlyEric Andersen2004-05-1414-44/+145
| | | | have it. It is used by the boehm gc, amoung other things.
* Kill off the now obsolete __libc_vfork symbolEric Andersen2004-05-144-11/+4
|
* Alexandre Oliva writes:Eric Andersen2004-05-144-1/+319
| | | | | This patch introduces optimized versions of memcpy and memset for frv.
* Patch from Alexandre Oliva:Eric Andersen2004-05-142-2/+130
| | | | | | | | | | | On Mar 20, 2004, Erik Andersen <andersen@codepoet.org> wrote: > If you supply a FR-V specific link.h header into > libc/sysdeps/linux/frv/ then you can do the same sortof > thing that mips does i.e. with sgidefs.h in the headers > target in libc/sysdeps/linux/mips/Makefile Thanks, this patch implements your suggestion.
* Alexandre Oliva writes:Eric Andersen2004-05-141-0/+4
| | | | | | | | | A program that requests __pthread_sig_debug to be blocked will self-deadlock when it requests a thread to be created, because the debugger (rda or gdb) will never get the signal, so it won't wake up the pthread manager as expected. This patch fixes it.
* update libdl so it also groks the new _dl_errnoEric Andersen2004-05-131-0/+2
|
* Add define for SHM_HUGETLBEric Andersen2004-05-131-0/+1
|
* Bradley D. LaRonde writes:Eric Andersen2004-05-131-1/+2
| | | | | | | Oops, this adds the page alignment offset to the mprotected size. Regards, Brad
* Patch from Bradley D. LaRonde:Eric Andersen2004-05-121-4/+9
| | | | | | | ld.so mprotect rwx .dyanmic segment for mips DT_DEBUG Allow writing debug_addr into the .dynamic segment. Even though the program header is marked RWE, the kernel gives it to us rx.
* Add a local '_dl_errno' to be used by syscalls in ldso, allowingEric Andersen2004-05-1211-59/+62
| | | | useful syscall failure diagnostics.
* As noticed by the sharp eyed Joakim Tjernlund, I stupidlyEric Andersen2004-05-112-2/+2
| | | | hard coded 4096 instead of PAGE_SIZE. Because I'm an idiot.
* Setup a _dl_pagesize value for use by staticly linked appsEric Andersen2004-05-111-0/+2
|
* 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.