summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-01-20support building the uClibc utils for the host system...Eric Andersen
2004-01-20As noted by Doru Petrescu, there was a spurious line that was usingEric Andersen
_dl_debug_addr prior to checking if it was NULL.
2004-01-20Paul Mundt writes:Eric Andersen
The current behavior of the powerpc boot1_arch.h seems somewhat broken. Currently room is made on the stack pointer for the link register, but the link register is never actually pushed onto it. glibc bears the following comments: /* Call _dl_start with one parameter pointing at argc */ mr r3,r1 /* (we have to frob the stack pointer a bit to allow room for _dl_start to save the link register). */ followed by the -16 add to r1. Despite the fact that r1 is modified, the link register is never actually pushed onto r1, thus the adjustment is completely superfluous. There's two possible fixes for this, either saving the link register in the way that glibc does, or getting rid of the r1 adjustment. As I'm not sure if saving the link register will actually break the _dl_boot2 callin, both options will probably want to be played with. The following bit of inline assembly in the attached patch builds cleanly for me with gcc 3.3 on darwin, but I'm not able to test it any further beyond that.
2004-01-20Joakim Tjernlund writes:Eric Andersen
> Is there anything I can do/provide that would assist in the solving of > this problem on PowerPC? I'm still concerned about my lack of flash space... Try this path. It fixes the recent ldso problems for me on my mpc860 board. You should be able to use ldso without the dcbx patch to the kernel now. Please report back. Jocke
2004-01-17Add __data_start needed by boehm garbage collector, in turn needed by libgcj.Manuel Novoa III
2004-01-17Prevent runaway asserts, which can happen if there's a problem withManuel Novoa III
stdio or locales.
2004-01-16We need to link with libgcc.a when creating shared libs, in order toManuel Novoa III
avoid problems 'hidden symbol' problems. Also handle -lfloat for the soft-float arm case.
2004-01-16s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/gEric Andersen
2004-01-16Fixup selection of endianness, since select does not work on choiceEric Andersen
items, we have to declare what endianness cpus are capable of supporting and work using dependancies.
2004-01-16Minor updates from linux 2.6.1Eric Andersen
2004-01-16Link with libfloat if necessary.Manuel Novoa III
2004-01-16Make sure we remove -fomit-frame-pointer from the ldso build. It'sDavid McCullough
inclusion will cause the loader to crash when jumping to the application. The reason is due to the START macro having a "leave" instruction included to fixup the stack before starting the app.
2004-01-14Include missing errno.h header (as noted by Alan Hourihane).Eric Andersen
Fix uninitialized pthread mutex used to lock the list of aligned memory blocks.
2004-01-14Use the gcc 3.4 -funit-at-a-time optimization when availableEric Andersen
2004-01-14Ok.. we need to link with libgcc.a for some archs. I haven't looked atManuel Novoa III
all cases, but the archs I've looked at do build the needed routines as PIC so we should be ok.
2004-01-14Add a dummy (always fails) wcsftime. This is needed for the libstdc++ localeManuel Novoa III
implementation to build. Later this month I'll add a functional wcsftime.
2004-01-13Add another devfs subdir to the list of checked subdirs.Manuel Novoa III
2004-01-13Fixup dated commentsEric Andersen
2004-01-12Oops... Seems I forgot an else...Manuel Novoa III
2004-01-09As mjn3 noticed, 64 bit arches should select UCLIBC_HAS_LFSEric Andersen
2004-01-06Some badly behaved arches fail to provide a PAGE_SIZE defineEric Andersen
2004-01-04Implement res_search and res_querydomain based on netbsd code,Eric Andersen
but remove support for host aliases (the HOSTALIASES env variable) which looks like a very bad idea. -Erik
2004-01-04Bump .deb versionEric Andersen
2004-01-04Fix paragraph seperationEric Andersen
2004-01-04spell 'pthread' properlyEric Andersen
2004-01-04Fix grammarEric Andersen
2004-01-04Update for releaseEric Andersen
2004-01-04My mistake. We do need some weak pthread_* funcs. But we were previouslyManuel Novoa III
missing one in the glibc abi, and including a number of extras (which I left in commented). Unfortunately, this brings back the perl pthread bug. Fixing the incorrect weaks in libpthread wasn't sufficient to escape the shared loader bug. :-(
2004-01-03Fix up the news a bitEric Andersen
2004-01-03Update for releaseEric Andersen
2004-01-03Be sure to fully clean 2.6 kernel headers on 'make clean'Eric Andersen
2004-01-03Add ldflags where neededEric Andersen
2004-01-03And just like that, clone is now fixed.... Previously theEric Andersen
error handling code was mostly broken. -Erik
2004-01-03oopsEric Andersen
2004-01-03Minor changesEric Andersen
2004-01-02A useful/useless little malloc time testEric Andersen
2004-01-02Peter S. Mazinger writes:Eric Andersen
Hello Erik! I have made some cosmetical changes to the files, removed the added SCRT=-fPIC option from building the crt0.S file (but it is a requirement to build them with -fPIC), and changed some comments. I have left the ldso.c patch with PIE_SUPPORT ifdefs, but consider applying it w/o them (see some earlier comment from PaX Team on this issue, as it is considered a bug). To have it work correctly, you'll also need removing COMPLETELY_PIC. One thing is missing: PIE_SUPPORT should be usable only for i386 (for now). Also added the support for propolice protection (that works for me and catches memcpy/strcpy attacks (but needs a special gcc version). Thanks, Peter
2004-01-02Minor update of the debian packaging stuffEric Andersen
2004-01-02Remove remnants of the gcc wrapperEric Andersen
2004-01-02Do not make tests depend on CC, since we no longer build a wrapper.Eric Andersen
2004-01-02Bump version, cleanup whitespaceEric Andersen
2004-01-02Cope with 2.6.x headersEric Andersen
2004-01-02rohde at soap dot adsl dot dk writes:Eric Andersen
The macro to do some floating point checks in libc/sysdeps/linux/powerpc/setjmp.S is incorrect. The following should fix it. Same applies to uClibc/libc/sysdeps/linux/powerpc/__longjmp.S Hope there aren't other files I've missed :)
2004-01-02rohde at soap dot adsl dot dk writes:Eric Andersen
The macro to do some floating point checks in libc/sysdeps/linux/powerpc/setjmp.S is incorrect. The following should fix it.
2004-01-02Fix __freadable and __fwritable... were using '~' instead of '!'. (ugh)Manuel Novoa III
Fix (hopefully) a potential problem with failed freopen() calls. The fix isn't tested since I've been working on the replacement stdio core code which will go in after the next release.
2004-01-02Oops... temporarily support the old stdio code.Manuel Novoa III
2004-01-02The checking Erik added seems to be unnecessary. Without it, I am notManuel Novoa III
seeing any LTP failures.
2004-01-02Redo the exec functions to comply with SUSv3.Manuel Novoa III
2004-01-02Rewrite popen for SUSv3 compliance.Manuel Novoa III
Added a list of popen()'d to store pids and use waitpid() in pclose(). Loop on waitpid() failure due to EINTR as required. Close parent's popen()'d FILEs in the {v}fork()'d child. Fix failure exit code for failed execve().
2004-01-02Minor fix from upstream glibc.Manuel Novoa III