summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-06-12Per comments from Bernhard Rosenkraenzer, adjust gcc 3.3.x generated asmEric Andersen
with s/i686.get_pc_thunk.bx/get_pc_thunk_bx/g to make gcc 3.4 happy.
2004-06-12Oops. Missed a spot.Eric Andersen
2004-06-06scrap the goofy time + getpid() based "randomness" and useEric Andersen
the real thing.
2004-05-24Removed unused file.Tobias Anderberg
2004-05-15Cope when the __NR_get_kernel_syms is undefined (i.e. 2.6.x arm-linux)Eric Andersen
2004-05-14Fix changed link into the mailing list archive.Manuel Novoa III
2004-05-14Joakim Tjernlund writes:Eric Andersen
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
2004-05-14Alexandre Oliva writes:Eric Andersen
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.
2004-05-14__data_start needs to be added to all crt0.S files that don't currentlyEric Andersen
have it. It is used by the boehm gc, amoung other things.
2004-05-14Kill off the now obsolete __libc_vfork symbolEric Andersen
2004-05-14Alexandre Oliva writes:Eric Andersen
This patch introduces optimized versions of memcpy and memset for frv.
2004-05-14Patch from Alexandre Oliva:Eric Andersen
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.
2004-05-14Alexandre Oliva writes:Eric Andersen
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.
2004-05-13update libdl so it also groks the new _dl_errnoEric Andersen
2004-05-13Add define for SHM_HUGETLBEric Andersen
2004-05-13Bradley D. LaRonde writes:Eric Andersen
Oops, this adds the page alignment offset to the mprotected size. Regards, Brad
2004-05-12Patch from Bradley D. LaRonde:Eric Andersen
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.
2004-05-12Add a local '_dl_errno' to be used by syscalls in ldso, allowingEric Andersen
useful syscall failure diagnostics.
2004-05-11As noticed by the sharp eyed Joakim Tjernlund, I stupidlyEric Andersen
hard coded 4096 instead of PAGE_SIZE. Because I'm an idiot.
2004-05-11Setup a _dl_pagesize value for use by staticly linked appsEric Andersen
2004-05-11make certain that getpagesize() returns correct the value for mipsEric Andersen
by extracting the value from the ELF header.
2004-05-11Purge trailing white spaceEric Andersen
2004-05-11Bradley D. LaRonde, brad at laronde dot org writes:Eric Andersen
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! :-)
2004-05-10Save r0 before modifying it.Tobias Anderberg
2004-05-08Obligatory forgotten file...Manuel Novoa III
2004-05-08Change clock() to allow wrapping.Manuel Novoa III
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.
2004-05-07Peter Mazinger asked for this several months ago.Manuel Novoa III
2004-05-07Patch from Yoshinori Sato <ysato@users.sourceforge.jp>.Manuel Novoa III
2004-05-07"Fix" this so that at least things will link when threading is disabled.Manuel Novoa III
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.
2004-05-07Fix a couple of issues in configurations I hadn't tested.Manuel Novoa III
2004-05-07Add missing include.Manuel Novoa III
2004-05-07UCLIBC_COMPLETELY_PIC does nothing, so kill itEric Andersen
2004-05-07Change the global 'buf' to 'servbuf' since some functions in here useEric Andersen
a local named 'buf' and we want to avoid shadowing that.
2004-05-06Alexandre Oliva writes:Eric Andersen
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.
2004-05-05Fix screwed up formattingEric Andersen
2004-05-05Jeroen Dobbelaere writes:Eric Andersen
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.
2004-04-30Minor .deb updatesEric Andersen
2004-04-30These headers should not be included in uClibc -- they should beEric Andersen
part of the ppp instead.
2004-04-23It turns out that asm/reg.h is missing from the 2.6.x kernel headers,Eric Andersen
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.
2004-04-20blahEric Andersen
2004-04-20Fix grammar and spellingEric Andersen
2004-04-20Mention uwoodyEric Andersen
2004-04-20Cope with gcc 3.4's more aggressive persuit of attribute unusedEric Andersen
2004-04-20We don't need these...Eric Andersen
2004-04-14Fix typo.Manuel Novoa III
2004-04-06Fix a bug noticed by Oleg I. Vdovikin, oleg at cs dot msu dot su.Eric Andersen
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.
2004-03-24glibc does not provide pppio.h, and our doing so conflictsEric Andersen
with the ppp package
2004-03-19Per patch from Stefan Holst, do not try to compile theseEric Andersen
syscalls if they are not supported.
2004-03-19Patch from Stefan Holst to fix argv[0]Eric Andersen
2004-03-19Based on a patch from Alexandre Oliva, allow uClibc to compileEric Andersen
with __NR_mmap is not available (i.e. only __NR_mmap2)