diff options
-rw-r--r-- | Changelog | 23 | ||||
-rw-r--r-- | Changelog.full | 1161 | ||||
-rw-r--r-- | Rules.mak | 2 | ||||
-rw-r--r-- | docs/uclibc.org/index.html | 154 | ||||
-rw-r--r-- | docs/uclibc.org/old-news.html | 89 |
5 files changed, 1034 insertions, 395 deletions
@@ -1,3 +1,26 @@ +0.9.16 8 November 2002 + +See Changelog.full for the complete list of who did what. + +Release highlights: + o CRIS architecture and shared library support from Tobias Anderberg + o New uClibc configuration system + o shared library global constructors and destructors initialization + ordering fixed by Stefan Allius + o More SuperH architecture fixes from Stefan Allius + o uClibc now compiles with newer versions of gcc (i.e. RedHat 8.0) + o uClibc no longer requires perl to compile + o mips dlopen was fixed by Steven J. Hill + o pty and tty handling fixes + o Manuel Novoa added support for a new /etc/TZ file for globally + setting the system timezone. + o Manuel also fixed up a number of remaining wide char issues. + o Lots of other little bug fixes and cleanups + + -Erik + + + 0.9.15 27 August 2002 This is a minor bugfix release. diff --git a/Changelog.full b/Changelog.full index 0c81acebf..f2327ea80 100644 --- a/Changelog.full +++ b/Changelog.full @@ -1,471 +1,1028 @@ -2002-08-27 davidm <davidm@dillweed> +2002-11-09 Erik Andersen <andersen@dillweed> - * /var/cvs/uClibc/libc/sysdeps/linux/sh/crt0.S: - Somehow the bit of code that add the offset of envp to argv got lost - and envp was a very small number and not an address. I think this fixes - most of the SH platform. + * libm/Makefile: Patch from Simon Rowe to try and build asm libm code + only when HAS_FPU is set. If you don't have an FPU + then usm FPU code isn't going to help much... -2002-08-27 Erik Andersen <andersen@dillweed> + * Makefile: + Patch from Stefan Allius, rebuild extra/config/conf if it is missing + following a make clean - * /var/cvs/uClibc/docs/uclibc.org/index.html: update for release + * extra/config/mconf.c: + Patch from Stefan Allius: avoid implicit casting of void *(64bit) to int(32bit) - * /var/cvs/uClibc/Changelog, /var/cvs/uClibc/Changelog.full: - Update changelog for release +2002-11-08 Erik Andersen <andersen@dillweed> -2002-08-27 Manuel Novoa III <mjn3@dillweed> + * test/string/string.c: Re-enable the strchrnul and rawmemchr tests - * /var/cvs/uClibc/include/stdio.h: - Obligatory forgotten file... sys_errlist garbage. + * extra/Configs/Config.in: + Scare people away from enabling locale support for now. -2002-08-27 Erik Andersen <andersen@dillweed> + * extra/Configs/Config.i386.default: + Disable ldso debugging. It should not be on by default. - * /var/cvs/uClibc/test/ldso/.cvsignore, /var/cvs/uClibc/test/ldso/Makefile, /var/cvs/uClibc/test/ldso/dlttest.c, /var/cvs/uClibc/test/ldso/howdy.c: - Semonstrate a problem where weak symbols referenced in shared libs are not - being overridden when those same symbols _are_ overridden by other shared libs - in the main app. Ick. + * extra/gcc-uClibc/Makefile: + Use NATIVE_CC. Don't hard code using 'gcc'. -Erik - * /var/cvs/uClibc/extra/scripts/gen_bits_syscall_h.sh, /var/cvs/uClibc/libc/sysdeps/linux/alpha/bits/syscalls.h, /var/cvs/uClibc/libc/sysdeps/linux/h8300/bits/syscalls.h, /var/cvs/uClibc/libc/sysdeps/linux/i960/bits/syscalls.h, /var/cvs/uClibc/libc/sysdeps/linux/m68k/bits/syscalls.h, /var/cvs/uClibc/libc/sysdeps/linux/powerpc/bits/syscalls.h, /var/cvs/uClibc/libc/sysdeps/linux/sparc/bits/syscalls.h, /var/cvs/uClibc/libc/sysdeps/linux/v850/bits/syscalls.h: - Make sure that bits/syscalls.h always includes bits/syscall.h - -Erik + * extra/scripts/get-needed-libgcc-objects.sh, ldso/ldso/Makefile, libc/Makefile: + Patch from Stefan Allius for libgcc multilib support -2002-08-27 Manuel Novoa III <mjn3@dillweed> + this is the last patch, we need to make the support of multitarget libgcc + complete. - * /var/cvs/uClibc/libc/string/Makefile, /var/cvs/uClibc/libc/string/wstring.c: - Reimplement sys_errlist[] so that it works on sparc, alpha, and mips. - In my opinion, this is a complete waste of good memory and is only - done to avoid the anticipated whining by people who think this libary - is named uCglibc. At some point this may become a configurable option. - And even then, it may not be available in all configs... for instance - when system error messages become locale-dependent. + --------------------------------- + In ldso/ldso/Makefile + I added the CPU_LDFLAGS-y to the LDFLAGS + --------------------------------- + In libc/Makefile + I set the LDFLAGS for the script get-needed-objects.sh with CPU_LDFLAGS-y + --------------------------------- + In extra/scripts/get-needed-object.sh + we now use the LIBGCC from Rules.mak and call LD with LDFLAGS + (==CPU_LDFLAGS-y). Addtionally I grep the NM output, to fix the unresolved + external __GLOBAL_OFFSET_TABLE__ on SuperH targets. + --------------------------------- - * /var/cvs/uClibc/include/dirent.h: - Make this as glibc-like as possible while avoiding the fileutils - problem. glibc hides the DT_* enum values unless __USE_BSD is defined. + * include/fstab.h: Disble unimplemented function prototypes -2002-08-27 davidm <davidm@dillweed> + * extra/Configs/Config.sh: + Patch from Stefan Allius to fixup SuperH ARCH_HAS_MMU and ARCH_HAS_FPU - * /var/cvs/uClibc/libc/sysdeps/linux/sh/crt0.S: - Fix a delay slot problem, this gets some apps working on SH, a good number - are still seg-faulting. +2002-11-08 miles <miles@dillweed> -2002-08-27 Erik Andersen <andersen@dillweed> + * extra/Configs/Config.v850.default: Initial checkin. - * /var/cvs/uClibc/include/dirent.h: - Move the _DIRENT_HAVE_D_TYPE test to avoid breaking fileutils - -Erik +2002-11-08 Erik Andersen <andersen@dillweed> - * /var/cvs/uClibc/include/dirent.h: - No need to hide this stuff when _DIRENT_HAVE_D_TYPE is not - defined... Nothing too sacred in there and it can be used - for other things... - -Erik + * Rules.mak: + Add CPU_CFLAGS-y into LIBGCC_CFLAGS so multilibs gcc will behave + itself. Revery the "=" to ":=" change, so people like Miles can + set stuff in their .config -2002-08-27 davidm <davidm@dillweed> + * extra/Configs/Config.powerpc.default: Add defaults for powerpc - * /var/cvs/uClibc/libc/sysdeps/linux/v850/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/sparc/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/sh/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/powerpc/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/mips/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/m68k/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/i386/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/arm/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/alpha/bits/kernel_types.h: - Added __kernel_fsid_t to satisfy some apps that need it. - Definitions taken from 2.4 kernel sources for each of the platforms. + * extra/Configs/uClibc_config_fix.pl: + Kill the now obsolete uClibc_config_fix.pl -2002-08-26 Erik Andersen <andersen@dillweed> + * extra/Configs/Config.sh.default: Add a default for sh - * /var/cvs/uClibc/libc/misc/dirent/Makefile, /var/cvs/uClibc/libc/misc/dirent/readdir64_r.c: - Implement missing readdir64_r.c - -Erik +2002-11-08 Manuel Novoa III <mjn3@dillweed> + + * docs/Glibc_vs_uClibc_Differences.txt: + Add notes about setvbuf and struct tm extension fields tm_gmtoff and tm_zone. + + * libc/string/Makefile, libc/string/strxfrm.c, libc/string/wstring.c: + Added some temporary "stubs" for collation. + strcoll is an alias for strcmp. + strxfrm is an alias for strlcpy. + wcscoll is an alias for wcscmp. + wcsxfrm is implemented as a wchar version of strlcpy. + Real locale-dependent implementations are coming soon. + +2002-11-08 Erik Andersen <andersen@dillweed> + + * test/ldso/Makefile: Cleanup everything + +2002-11-08 Manuel Novoa III <mjn3@dillweed> + + * libc/misc/wchar/Makefile, libc/misc/wchar/wchar.c: + Add wcwidth and wcswidth, based on Markus Kuhn's wcwidth of 2002-05-08. + Added some size/speed optimizations and integrated it into my locale + framework. Minimally tested at the moment, but the stub C-locale + version (which most people would probably be using) should be fine. + +2002-11-08 Erik Andersen <andersen@dillweed> + + * extra/Configs/Config.arm.default: Leave ldso debugging off by default + + * ldso/ldso/arm/elfinterp.c: Fix a silly compile bug + + * extra/Configs/Config.in: Doh! Leave ldso debugging off by default.. + + * extra/Configs/Config.arm.default: + Construct a default arm configuration + + * extra/config/conf.c, extra/config/confdata.c, extra/config/mconf.c, extra/config/symbol.c: + Some minor changes from Stefan Allius to make conf and + mconf compile under Solaris. + + * ldso/ldso/sh/ld_sysdep.h, ldso/ldso/sh/resolve.S: + Another SuperH patch from Stefan Allius. This make it so + the SuperH lib loader can be compiled by GCC 3.3 + + * INSTALL, README: Update the docs + + * extra/Configs/Config.in.arch, Rules.mak: + Large cleanup patch, based in large part on a patch from + Stefan Allius, which adds a great deal of sanity. + + * extra/config/symbol.c, extra/config/zconf.l, extra/config/zconf.tab.c_shipped, extra/config/zconf.tab.h_shipped, extra/config/conf.c, extra/config/confdata.c, extra/config/expr.h, extra/config/lex.zconf.c_shipped, extra/config/mconf.c: + Merge an update from upstream + + * extra/Configs/Config.in, extra/Configs/Config.in.arch, extra/Configs/Config.m68k, extra/Configs/Config.mips, extra/Configs/Config.mipsel, extra/Configs/Config.powerpc, extra/Configs/Config.sh, extra/Configs/Config.sparc, extra/Configs/Config.v850, extra/Configs/Config.alpha, extra/Configs/Config.arm, extra/Configs/Config.cris, extra/Configs/Config.h8300, extra/Configs/Config.i386, extra/Configs/Config.i386.default, extra/Configs/Config.i960, extra/config/Kconfig-language.txt: + Update doc reference + +2002-11-07 sjhill <sjhill@dillweed> + + * Rules.mak, extra/Configs/Config.mips, extra/Configs/Config.mips.default, extra/Configs/Config.mipsel.default: + Changes for MIPS and new configuration system. -2002-08-26 Manuel Novoa III <mjn3@dillweed> + * Rules.mak: Fix target determination for MIPSEL. - * /var/cvs/uClibc/test/string/string.c, /var/cvs/uClibc/libc/string/Makefile, /var/cvs/uClibc/libc/string/wstring.c, /var/cvs/uClibc/include/stdio.h: - sparc, alpha, and mips have different errno values than the other - supported platforms. Adjust _susv3_strerror_r function to deal with - this. Also fix an error in strerror() wrt invalid errnos. +2002-11-07 Manuel Novoa III <mjn3@dillweed> - NOTE: sys_errlist and sys_nerr are no longer supported!!! + * libc/stdlib/strtod.c: Remove atof from strtod.o... -2002-08-26 Erik Andersen <andersen@dillweed> + * libc/stdlib/Makefile: Okay, fix for atof _correctly_... - * /var/cvs/uClibc/libc/sysdeps/linux/v850/bits/kernel_types.h: - Oops. I got the include guard wrong. Fix it per current - value in include/asm-v850/posix_types.h on cvs.uclinux.org + * libc/stdlib/Makefile: Apparently I forgot to build atof... + +2002-11-07 Erik Andersen <andersen@dillweed> + + * libc/sysdeps/linux/powerpc/sys/procfs.h: + Fixup function prototype for __uint128_t which fixes the compile + on powerpc with gcc 3.2. -Erik - * /var/cvs/uClibc/libc/sysdeps/linux/alpha/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/arm/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/common/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/i386/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/m68k/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/mips/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/powerpc/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/sh/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/sparc/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/v850/bits/kernel_types.h: - Make bits/kernel_types.h include guard names match the include - guard names used by the kernel's asm/posix_types.h to eliminate - gratuitous conflicts and let our file win over the very-likely- - to-be-broken kernel header file. +2002-11-07 sjhill <sjhill@dillweed> + + * extra/config/Makefile, extra/Makefile, Makefile: + Fixed makefiles to remove binaries generated for the configuration + menu system when doing a 'make clean'. + +2002-11-07 Erik Andersen <andersen@dillweed> + + * extra/Configs/Config.in.arch: Add missing blank line + +2002-11-07 miles <miles@dillweed> + + * extra/Configs/Config.v850, extra/Configs/Config.v850e: + Rename `Config.v850e' to `Config.v850'. + + * extra/Configs/Config.in.arch (UCLIBC_HAS_MMU): + Depend on !ARCH_HAS_NO_MMU, rather than just using it + to set the default. + (HAS_FPU): Depend on !ARCH_HAS_NO_FPU. + (USE_GCC_SOFT_FLOAT_OPTION): New option. + + * extra/Configs/Config.in (DOPIC): Depend on !HAVE_NO_PIC. + (UCLIBC_HAS_FULL_RPC): default to `y' if !HAVE_SHARED. + (SYSTEM_LDSO): Depend on HAVE_SHARED. + (DOASSERTS): New option. + + * Rules.mak: * Make -DNDEBUG depend on DOASSERTS, not DODEBUG + * Make -msoft-float depend on USE_GCC_SOFT_FLOAT_OPTION, not + UCLIBC_HAS_SOFT_FLOAT. + +2002-11-06 Erik Andersen <andersen@dillweed> + + * libc/sysdeps/linux/arm/__longjmp.S, libc/sysdeps/linux/arm/setjmp.S, libc/sysdeps/linux/mips/__longjmp.c, libc/sysdeps/linux/mips/setjmp_aux.c: + Update soft-float handling + + * extra/config/confdata.c: Increase maximum .config line size to 1024. + + * extra/config/confdata.c: + Recognize 'n' tristate/boolean symbol value in the .config file, + allowing more convenient manual editing of the .config file. Patch + by Petr Baudis, skimmed from linux-kernel mailing list. + + * ldso/ldso/powerpc/elfinterp.c: Fix up a compile error + + * ldso/ldso/Makefile: Cleanup patch from Simon Rowe + +2002-11-05 Manuel Novoa III <mjn3@dillweed> + + * libc/misc/wchar/wchar.c: + Forgot to change btowc and wctob when I changed the wc<->mb functions yesterday. + +2002-11-05 Erik Andersen <andersen@dillweed> + + * libc/stdio/stdio.c: + For now, leave the "Oddly enough, __fsetlocking() is NOT threadsafe." + comment as an mjn3 only item. + + * Rules.mak, extra/Configs/Config.in.arch: Cleanup soft-float support + + * libc/sysdeps/linux/h8300/Makefile, libc/sysdeps/linux/m68k/Makefile, Rules.mak: + Fixup handling of disabled options + + * extra/gcc-uClibc/Makefile: Fix gcc-uClibc.h dependancies + + * ldso/ldso/sparc/elfinterp.c, ldso/ldso/sh/elfinterp.c, ldso/ldso/powerpc/elfinterp.c, ldso/ldso/mips/elfinterp.c, ldso/ldso/m68k/elfinterp.c, ldso/ldso/i386/elfinterp.c, ldso/ldso/cris/elfinterp.c, ldso/ldso/arm/elfinterp.c, ldso/ldso/readelflib1.c, ldso/ldso/Makefile, ldso/ldso/ldso.c, extra/Configs/Config.in: + Massive scrubbing of the shared lib loader error handling. + Move all configuration options into the new config system. -Erik -2002-08-26 miles <miles@dillweed> + * libc/termios/ttyname.c: + A patch from Danny Lepage so that we do not setting on symlinks + when looking for a device match, and instead keep looking till + we find the correct device. + + * docs/Glibc_vs_uClibc_Differences.txt: Expand NIS comments - * /var/cvs/uClibc/libc/sysdeps/linux/v850/bits/kernel_stat.h, /var/cvs/uClibc/libc/sysdeps/linux/v850/bits/kernel_types.h: - Initial checkin. + * Rules.mak, extra/gcc-uClibc/Makefile, extra/gcc-uClibc/gcc-uClibc.c, libpthread/Makefile: + Standardize LIBGCC_DIR -2002-08-25 Erik Andersen <andersen@dillweed> + * ldso/ldso/Makefile: Kill legacy DOPIC=true assignment - * /var/cvs/uClibc/Rules.mak: - Update version to 0.9.15 in preparation for making a release + * libc/Makefile: Patch from Stefan Allius -- export LIBGCC + + * libc/sysdeps/linux/common/Makefile: + Patch from Stefan Allius. Include CPU_CFLAGS when compiling + initfini + + * extra/config/symbol.c: Patch from M. R. Brown to fix 'make defconfig' + + * Rules.mak: Export TARGET_ARCH + +2002-11-04 Manuel Novoa III <mjn3@dillweed> + + * docs/Glibc_vs_uClibc_Differences.txt: + Hit the highlights of glibc differences in my code. Not yet complete though. + + * libc/misc/wchar/wchar.c, libc/stdio/printf.c: + Add printf wchar support for %lc (%C) and %ls (%S). + Require printf format strings to be valid multibyte strings beginning and + ending in their initial shift state, as per the stds. + + Fixed a bug in _wchar_wcsntoutf8s(). Don't store wcs position if dst is NULL. + Also, introduce an awful hack into _wchar_wcsntoutf8s() and wcsrtombs() in + order to support %ls in printf. See comments below for details. + Change behaviour of wc<->mb functions when in the C locale. Now they do + a 1-1 map for the range 0x80-UCHAR_MAX. This is for backwards compatibility + and consistency with the stds requirements that a printf format string by + a valid multibyte string beginning and ending in it's initial shift state. + + * Rules.mak: This fixes a broken build for me. + +2002-11-04 Erik Andersen <andersen@dillweed> + + * Rules.mak: Fixup so we use soft-float when HAS_FPU is disabled. -Erik -2002-08-25 Manuel Novoa III <mjn3@dillweed> + * libc/sysdeps/linux/sh/__longjmp.S, libc/sysdeps/linux/sh/bsd-_setjmp.S, libc/sysdeps/linux/sh/bsd-setjmp.S, libc/sysdeps/linux/sh/clone.S, libc/sysdeps/linux/sh/setjmp.S, libc/sysdeps/linux/sh/vfork.S: + I dunno why there were align 5, but align 4 is much more sensible. - * /var/cvs/uClibc/libc/stdio/stdio.c: - Changed fclose behavior when custom streams were enabled. Previously, - the cookie pointer was set to NULL as a debugging aid. However, - some of the perl 5.8 test rely on being able to close stderr and - still try writing to it. So now, the cookie pointer and handler - function pointers are set to that it is a "normal" file with a - file descriptor of -1. + * libc/sysdeps/linux/sh/bsd-setjmp.S, libc/sysdeps/linux/sh/clone.S, libc/sysdeps/linux/sh/setjmp.S, libc/sysdeps/linux/sh/sysdep.h, libc/sysdeps/linux/sh/vfork.S, libc/sysdeps/linux/sh/__longjmp.S, libc/sysdeps/linux/sh/bsd-_setjmp.S: + Kill sysdep.h and fixup the SH asm to not use it. + -Erik - Note: The cookie pointer is reset to NULL if the FILE struct is - free'd by fclose. + * libc/sysdeps/linux/sh/clone.S: + Don't use ENTRY(), make the asm explicit + -Erik -2002-08-25 Erik Andersen <andersen@dillweed> + * docs/uclibc.org/index.html: + Add link to search google's uclibc archive - * /var/cvs/uClibc/extra/Configs/Config.sh, /var/cvs/uClibc/extra/Configs/Config.sparc, /var/cvs/uClibc/extra/Configs/Config.v850e, /var/cvs/uClibc/extra/Configs/uClibc_config_fix.pl, /var/cvs/uClibc/extra/Configs/Config.m68k.coff, /var/cvs/uClibc/extra/Configs/Config.mips, /var/cvs/uClibc/extra/Configs/Config.mipsel, /var/cvs/uClibc/extra/Configs/Config.powerpc, /var/cvs/uClibc/extra/Configs/Config.alpha, /var/cvs/uClibc/extra/Configs/Config.arm, /var/cvs/uClibc/extra/Configs/Config.cross.arm.uclinux, /var/cvs/uClibc/extra/Configs/Config.h8300, /var/cvs/uClibc/extra/Configs/Config.i386, /var/cvs/uClibc/extra/Configs/Config.i960, /var/cvs/uClibc/extra/Configs/Config.m68k, /var/cvs/uClibc/Makefile, /var/cvs/uClibc/include/stdlib.h, /var/cvs/uClibc/libc/stdlib/Makefile, /var/cvs/uClibc/libc/stdlib/drand48-iter.c, /var/cvs/uClibc/libc/stdlib/srand48_r.c, /var/cvs/uClibc/libc/stdio/scanf.c: - Kill the HAS_LONG_LONG option. It really did not make a lot of - sense to exclude it, gcc always supports long long, and we never - fully excluded long long anyways (off64_t for example). + * libc/sysdeps/linux/common/syscalls.c: Oops. Fix compilation on arm. -Erik - * /var/cvs/uClibc/libc/sysdeps/linux/common/bits/msq.h: - Use the kernel version of struct msqid_ds directly, since we don't - do any of that silly translating... +2002-11-03 Erik Andersen <andersen@dillweed> + + * libc/sysdeps/linux/arm/inout_bwl.c, libc/sysdeps/linux/arm/ioperm.c, libc/sysdeps/linux/arm/Makefile: + A patch from Vincent Sanders to fix the arm implementation of + ioperm() and iopl() + +2002-11-03 Manuel Novoa III <mjn3@dillweed> + + * libc/stdio/printf.c: + It was easy enough to respect locale-specific decimal point for printf + floating point output, so at least implement that. But grouping will + have to wait for the rewrite of _dtostr. + + * libc/stdio/stdio.c, libc/stdio/printf.c, libc/sysdeps/linux/common/bits/uClibc_stdio.h: + Implement locale-specific grouping in printf for base 10 integer conversions + when the grouping flag "'" is specified. Grouping for floating point values + may wait until I do a rewrite of the floating pt to string code... + +2002-11-03 Erik Andersen <andersen@dillweed> + + * ldso/ldso/sh/elfinterp.c, ldso/ldso/sh/ld_sysdep.h, ldso/ldso/sh/resolve.S, ldso/ldso/ldso.c: + Several SH lib loader patches by Stefan Allius <allius@atecom.com> + and "M. R. Brown" <mrbrown@0xd6.org> + + * extra/scripts/initfini.awk, libc/sysdeps/linux/common/initfini.c: + Another update to initfini.awk and initfini.c from Stefan Allius + to hopefully address SH wierdness. Now works on other architecture + properly as well. + + * libc/sysdeps/linux/cris/sysdep.h, libc/sysdeps/linux/i960/clone.S, libc/sysdeps/linux/m68k/clone.S, libc/sysdeps/linux/sh/sysdep.h: + Properly prefix some symbols + + * extra/Configs/Config.in.arch, extra/Configs/Config.m68k, extra/Configs/Config.mips, extra/Configs/Config.mipsel, extra/Configs/Config.powerpc, extra/Configs/Config.sh, extra/Configs/Config.sparc, extra/Configs/Config.v850e, extra/Configs/Config.cris, extra/Configs/Config.h8300, extra/Configs/Config.i386, extra/Configs/Config.i386.default, extra/Configs/Config.i960, extra/Configs/Config.alpha, extra/Configs/Config.arm, Rules.mak: + Yet more config system updating. + + * ldso/ldso/sh/boot1_arch.h, ldso/ldso/sh/ld_sysdep.h: + Patch from M. R. Brown <mrbrown@0xd6.org> to get rid of + "depreciated multi-line string literals" warnings + + * libc/inet/resolv.c: + Patch from "Cho, Seong-Myun" <smcho@xecurenexus.com> to limit + things to the lower 16 bits of 'id'. + + * Makefile, Rules.mak: Use "include_config" not "include-config" + +2002-11-02 Erik Andersen <andersen@dillweed> + + * extra/Configs/Config.sh: + kill some ancient stuff that appears to be lingering + + * extra/Configs/Config.sh: Default to SH4 + + * extra/Configs/Config.sparc, extra/Configs/Config.v850e, extra/Configs/Config.alpha, extra/Configs/Config.arm, extra/Configs/Config.cris, extra/Configs/Config.cross.arm.uclinux, extra/Configs/Config.h8300, extra/Configs/Config.i386, extra/Configs/Config.i386.default, extra/Configs/Config.i960, extra/Configs/Config.in.arch, extra/Configs/Config.m68k, extra/Configs/Config.m68k.coff, extra/Configs/Config.mips, extra/Configs/Config.mipsel, extra/Configs/Config.powerpc, extra/Configs/Config.sh: + update all the Config files for the various arches so they work with the new + config system. Hopefully I got everything here correct... -Erik - * /var/cvs/uClibc/libc/sysdeps/linux/alpha/bits/kernel_stat.h, /var/cvs/uClibc/libc/sysdeps/linux/sparc/bits/kernel_stat.h, /var/cvs/uClibc/libc/sysdeps/linux/sh/bits/kernel_stat.h, /var/cvs/uClibc/libc/sysdeps/linux/powerpc/bits/kernel_stat.h, /var/cvs/uClibc/libc/sysdeps/linux/mips/bits/kernel_stat.h, /var/cvs/uClibc/libc/sysdeps/linux/m68k/bits/kernel_stat.h, /var/cvs/uClibc/libc/sysdeps/linux/common/bits/kernel_stat.h, /var/cvs/uClibc/libc/sysdeps/linux/arm/bits/kernel_stat.h: - Finish off the bits/kernel_stat.h cleanup for proper - __USE_FILE_OFFSET64 handling. + * TODO: Update TODO items + + * extra/config/.cvsignore, extra/config/Makefile, extra/config/zconf.tab.c_shipped, extra/config/zconf.y: + A few cosmetic adjustments, and fixup the makefile a bit + + * extra/Configs/Config.i386.default, extra/Configs/Config.in, ldso/ldso/Makefile: + Fix PIC configuration, so shared libraries once again work -Erik - * /var/cvs/uClibc/libc/misc/sysvipc/sem.c, /var/cvs/uClibc/libc/sysdeps/linux/common/bits/ipc.h, /var/cvs/uClibc/libc/sysdeps/linux/common/bits/sem.h: - Make shm stuff work properly. + * extra/Configs/Config.in: + It looks like I lost DEVEL_TOOL_PREFIX. Put it back. -Erik - * /var/cvs/uClibc/test/misc/.cvsignore: ignore generated stuff +2002-11-01 Manuel Novoa III <mjn3@dillweed> + + * libc/misc/locale/locale.c: Fix a stupid bug. + + * libc/misc/locale/locale.c: + Reworked setlocale() return values and locale arg processing to + be more like glibc. Applications expecting to be able to + query locale settings should now work... at the cost of almost + doubling the size of the setlocale object code. + Fixed a bug in the internal fixed-size-string locale specifier code. + + * extra/locale/LOCALES: Add a few more entries. -2002-08-24 Manuel Novoa III <mjn3@dillweed> + * extra/locale/gen_locale.c: + Work around glibc brain-damage regarding nl_langinfo and {mon_}grouping + entries. - * /var/cvs/uClibc/libc/sysdeps/linux/i386/bits/kernel_stat.h, /var/cvs/uClibc/libc/sysdeps/linux/common/bits/stat.h: - Tweak things so that struct stat and struct stat64 (seem to) work on - i386. This is for Erik to look at wrt the other archs. +2002-11-01 Erik Andersen <andersen@dillweed> -2002-08-24 Erik Andersen <andersen@dillweed> + * docs/uclibc.org/uClibc-apps.html: Fix udhcp link - * /var/cvs/uClibc/test/misc/Makefile, /var/cvs/uClibc/test/misc/sem.c: - Simple shared memory test + * Rules.mak: Don't assume i386 - * /var/cvs/uClibc/libc/sysdeps/linux/common/bits/errno.h: - Avoid `ECANCELED' redefined on mips +2002-10-31 Erik Andersen <andersen@dillweed> + + * extra/Configs/Config.arm, extra/Configs/Config.i386, extra/Configs/Config.in.arch, Rules.mak: + Make it so arch specific stuff can be simpler. Initial attempt at + making CPU_CFLAGS, which should allow things to be optimized per-CPU + and/or per-system. -Erik - * /var/cvs/uClibc/ldso/ldso/ld_syscall.h: - Use bits/kernel_stat.h, not asm/stat.h + * extra/config/lxdialog/.cvsignore, extra/config/lxdialog/lxdialog, extra/config/zconf.tab.c, extra/config/zconf.tab.h, extra/config/.cvsignore, extra/config/conf, extra/config/lex.zconf.c, extra/config/lkc_defs.h, extra/config/mconf: + Oops. Kill generated binaries. + + * extra/gcc-uClibc/Makefile: Skip the dependancy on .config for now + + * extra/gcc-uClibc/Makefile: Fix a lingering reference to Config -Erik - * /var/cvs/uClibc/test/stdlib/.cvsignore: Ignore generated stuff + * test/Makefile, test/Rules.mak: + Allow 'make clean' on the test stuff to work with the new config system. + -Erik - * /var/cvs/uClibc/libc/sysdeps/linux/alpha/bits/types.h, /var/cvs/uClibc/libc/sysdeps/linux/sparc/bits/types.h, /var/cvs/uClibc/libc/sysdeps/linux/powerpc/bits/types.h, /var/cvs/uClibc/libc/sysdeps/linux/mips/bits/types.h, /var/cvs/uClibc/libc/sysdeps/linux/common/bits/types.h, /var/cvs/uClibc/libc/sysdeps/linux/alpha/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/sparc/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/sh/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/powerpc/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/mips/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/m68k/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/common/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/i386/bits/kernel_types.h, /var/cvs/uClibc/libc/sysdeps/linux/arm/bits/kernel_types.h: - Break dependancy of bits/types.h on the asm/posix_types.h kernel - header, which is not directly usable for many architectures. + * Rules.mak: Don't force gcc 3.2 on the world -Erik -2002-08-23 Erik Andersen <andersen@dillweed> + * libutil/Makefile, libpthread/linuxthreads/attr.c, libpthread/linuxthreads/weaks.c, libpthread/linuxthreads/wrapsyscall.c, libpthread/Makefile, libm/powerpc/Makefile, libm/Makefile, libc/unistd/Makefile, libc/unistd/daemon.c, libc/unistd/fpathconf.c, libc/unistd/pathconf.c, libc/sysdeps/linux/sh/sysdep.h, libc/sysdeps/linux/powerpc/Makefile, libc/sysdeps/linux/m68k/Makefile, libc/sysdeps/linux/m68k/clone.S, libc/sysdeps/linux/m68k/crt0.S, libc/sysdeps/linux/m68k/vfork.S, libc/sysdeps/linux/i960/README, libc/sysdeps/linux/h8300/Makefile, libc/sysdeps/linux/h8300/crt0.S, libc/sysdeps/linux/h8300/vfork.S, libc/sysdeps/linux/cris/Makefile, libc/sysdeps/linux/common/bits/posix_opt.h, libc/sysdeps/linux/common/bits/uClibc_stdio.h, libc/sysdeps/linux/common/setrlimit64.c, libc/sysdeps/linux/common/syscalls.c, libc/sysdeps/linux/common/truncate64.c, libc/sysdeps/linux/common/Makefile, libc/sysdeps/linux/common/creat64.c, libc/sysdeps/linux/common/ftruncate64.c, libc/sysdeps/linux/common/getdirname.c, libc/sysdeps/linux/common/getrlimit64.c, libc/sysdeps/linux/common/initfini.c, libc/sysdeps/linux/common/llseek.c, libc/sysdeps/linux/common/mmap64.c, libc/sysdeps/linux/common/open64.c, libc/sysdeps/linux/common/pread_write.c, libc/string/Makefile, libc/stdlib/Makefile, libc/stdlib/getpt.c, libc/stdlib/grantpt.c, libc/stdlib/ptsname.c, libc/stdio/Makefile, libc/stdio/tmpfile.c, libc/pwd_grp/Makefile, libc/misc/time/Makefile, libc/misc/statfs/Makefile, libc/misc/statfs/fstatfs64.c, libc/misc/statfs/fstatvfs64.c, libc/misc/statfs/statfs64.c, libc/misc/statfs/statvfs64.c, libc/misc/locale/Makefile, libc/misc/internals/Makefile, libc/misc/internals/tempname.c, libc/misc/glob/glob64.c, libc/misc/dirent/alphasort64.c, libc/misc/dirent/readdir64.c, libc/misc/dirent/readdir64_r.c, libc/misc/dirent/scandir64.c, libc/misc/Makefile, libc/inet/rpc/Makefile, libc/inet/Makefile, ldso/ldso/Makefile, ldso/Makefile, include/sys/cdefs.h, include/features.h, extra/locale/Makefile, extra/gcc-uClibc/Makefile, extra/gcc-uClibc/gcc-uClibc.c, extra/config/lxdialog/inputbox.c, extra/config/lxdialog/lxdialog, extra/config/lxdialog/lxdialog.c, extra/config/lxdialog/menubox.c, extra/config/lxdialog/msgbox.c, extra/config/lxdialog/textbox.c, extra/config/lxdialog/util.c, extra/config/lxdialog/yesno.c, extra/config/lxdialog/BIG.FAT.WARNING, extra/config/lxdialog/Makefile, extra/config/lxdialog/checklist.c, extra/config/lxdialog/colors.h, extra/config/lxdialog/dialog.h, extra/config/zconf.tab.c_shipped, extra/config/zconf.tab.h, extra/config/zconf.tab.h_shipped, extra/config/zconf.y, extra/config/lkc_proto.h, extra/config/mconf, extra/config/mconf.c, extra/config/menu.c, extra/config/symbol.c, extra/config/zconf.l, extra/config/zconf.tab.c, extra/config/lex.zconf.c_shipped, extra/config/lkc.h, extra/config/lkc_defs.h, extra/config/Makefile, extra/config/conf, extra/config/conf.c, extra/config/confdata.c, extra/config/expr.c, extra/config/expr.h, extra/config/lex.zconf.c, extra/Configs/Config.i386, extra/Configs/Config.i386.default, extra/Configs/Config.in, Rules.mak, .cvsignore, Makefile: + Ok, this commit is _huge_ and its gonna change the world. I've + been working on a new config system on and off for about 6 months + now, but I've never been fully satisfied. Well, I'm finally am + happy with the new config system, so here it is. This completely + removes the old uClibc configuration system, and replaces it with + an entirely new system based on LinuxKernelConf, from + http://www.xs4all.nl/~zippel/lc/ + As it turns out, Linus has just merged LinuxKernelConf into Linux + 2.5.45, so it looks like I made the right choice. + + I have thus far updated only x86. I'll be updating the other + architectures shortly. + -Erik + + * test/malloc/.cvsignore: Ignore generated stuff + + * test/malloc/Makefile, test/malloc/realloc0.c: + Add a simple realloc test + -Erik - * /var/cvs/uClibc/libc/sysdeps/linux/sparc/bits/kernel_stat.h, /var/cvs/uClibc/libc/sysdeps/linux/sh/bits/kernel_stat.h, /var/cvs/uClibc/libc/sysdeps/linux/powerpc/bits/kernel_stat.h, /var/cvs/uClibc/libc/sysdeps/linux/mips/bits/kernel_stat.h, /var/cvs/uClibc/libc/sysdeps/linux/m68k/bits/kernel_stat.h, /var/cvs/uClibc/libc/sysdeps/linux/i386/bits/kernel_stat.h, /var/cvs/uClibc/libc/sysdeps/linux/common/bits/kernel_stat.h, /var/cvs/uClibc/libc/sysdeps/linux/common/bits/stat.h, /var/cvs/uClibc/libc/sysdeps/linux/arm/bits/kernel_stat.h, /var/cvs/uClibc/libc/sysdeps/linux/alpha/bits/kernel_stat.h: - Split out the definition of struct stat into the new arch - specific bits/kernel_stat.h file. + * extra/scripts/get-needed-libgcc-objects.sh: + Fixup script to avoid potential spurious whining over empty object files. -Erik - * /var/cvs/uClibc/docs/uclibc.org/FAQ.html: Fix broken link +2002-10-30 Erik Andersen <andersen@dillweed> + + * ldso/util/bswap.h: Use '#ifdef __linux__' not '#ifdef linux' - * /var/cvs/uClibc/libc/sysdeps/linux/sparc/bits/errno_values.h, /var/cvs/uClibc/libc/sysdeps/linux/alpha/bits/errno_values.h, /var/cvs/uClibc/libc/sysdeps/linux/mips/bits/errno_values.h, /var/cvs/uClibc/libc/sysdeps/linux/common/bits/errno_values.h: - Split out the arch dependant errno_values.h junk into arch dependant files. + * Rules.mak: Use a nifty macro to make testing gcc features simpler + and easier to read. -Erik - * /var/cvs/uClibc/test/pthread/.cvsignore: Ignore generated binaries +2002-10-29 Manuel Novoa III <mjn3@dillweed> -2002-08-23 miles <miles@dillweed> + * libc/stdlib/stdlib.c: + Fix a couple of 'restrict' bugs in mbstowcs and wcstombs. - * /var/cvs/uClibc/libc/sysdeps/linux/common/Makefile (initfini.s): - Search the uClibc include dir, so we can find <features.h>. +2002-10-29 Erik Andersen <andersen@dillweed> -2002-08-22 Erik Andersen <andersen@dillweed> + * libc/stdio/printf.c: Fix a silly typo for Manuel + -Erik + + * extra/scripts/initfini.awk: For now, comment out the broken part + + * extra/scripts/initfini.awk, libc/sysdeps/linux/common/initfini.c: + Remove my horrible SH hack infavor of this fix for initfini.awk from + Stefan Allius <allius@atecom.com>, which does a better job. - * /var/cvs/uClibc/libc/sysdeps/linux/common/bits/stat.h, /var/cvs/uClibc/libc/sysdeps/linux/alpha/bits/stat.h, /var/cvs/uClibc/libc/sysdeps/linux/m68k/bits/stat.h, /var/cvs/uClibc/libc/sysdeps/linux/mips/bits/stat.h, /var/cvs/uClibc/libc/sysdeps/linux/powerpc/bits/stat.h, /var/cvs/uClibc/libc/sysdeps/linux/sparc/bits/stat.h: - Rework struct stat/stat64 handling to eliminate kernel headers + * libpthread/linuxthreads/manager.c: + A patch from Arne Jonsson <arne.jonsson@i3micro.com>: + + Attached are the changes we think is necessary in order to use user + defined stacksizes for each thread. When testing I forgot to lower the + PTHREAD_STACK_MIN to the lowest value used for the stacks, this caused + stranged reboots. + As said before, we are using uClinux 2.0.38 on a ARM7TDMI. + + * libc/sysdeps/linux/common/initfini.c: + Add in a horrible hack that seems necessary for the Hitachi + SH processors to work properly. -Erik - * /var/cvs/uClibc/libc/sysdeps/linux/common/bits/errno.h, /var/cvs/uClibc/libc/sysdeps/linux/common/bits/errno_values.h, /var/cvs/uClibc/libc/sysdeps/linux/mips/bits/errno.h: - Rework errno handling to be kernel header free +2002-10-29 Manuel Novoa III <mjn3@dillweed> + + * libc/stdio/printf.c: + Fix a problem in vasprintf (reported by vodz a while back) when built + without custom stream support. In that case, it is necessary to do + a va_copy. Note: The affected code is not built in the stock config. + Also, make sure each va_copy has a matching va_end, as required by C99. + +2002-10-28 Manuel Novoa III <mjn3@dillweed> + + * libc/misc/assert/__assert.c: + ANSI/ISO C99 requires assert() to write to stderr. This means that + writing to STDERR_FILENO is insufficient, as the user could freopen + stderr. It is also insufficient to output to fileno(stderr) since + this would fail in the custom stream case. I didn't remove the + old code though, as it doesn't use stdio stream functionality + and is useful in debugging the stdio code. + + * libc/misc/time/time.c: + Allow timezone info to be specified in a file... /etc/TZ. Turned on by + default for now. From the comments... + + * Defining __TIME_TZ_FILE causes tzset() to attempt to read the TZ value + * from the file /etc/TZ if the TZ env variable isn't set. The file contents + * must be the intended value of TZ, followed by a newline. No other chars, + * spacing, etc is allowed. As an example, an easy way for me to init + * /etc/TZ appropriately would be: echo CST6CDT > /etc/TZ + + Also optimized timezone setting when the timezone string hasn't changed, + as well as fixed a minor buglet wrt SUSv3-allowed chars in TZ std and + dst fields. + +2002-10-28 miles <miles@dillweed> + + * Makefile: + Define TOPDIR to be just `.' when invoking gen_bits_syscall_h.sh, since + we've already chdir'ed to $(TOPDIR). + + * extra/scripts/gen_bits_syscall_h.sh: + Add appropriate -I options so that any files included by unistd.h are + found correctly. + Tweak the whitespace of the generated file. + +2002-10-25 Erik Andersen <andersen@dillweed> + + * libc/misc/internals/Makefile: Fixup depends + + * libc/Makefile: Put it back the way it was. Sigh. + + * libc/Makefile: + Sigh. Lets not use LD to link, or we lose the INTERP field. -Erik - * /var/cvs/uClibc/libc/sysdeps/linux/arm/bits/syscalls.h: - Support _syscall6 and _syscall7 for arm + * libc/misc/internals/Makefile: + Doh. Add a missing #include to interp.c. I wonder why it used to + work? Perhaps the wrapper bug miles fixed? Regardless this is very + much needed. -Erik - * /var/cvs/uClibc/libc/sysdeps/linux/common/initfini.c, /var/cvs/uClibc/extra/Configs/Config.sh, /var/cvs/uClibc/Makefile: - Hide .hidden stuff unless explicitly enabled + * libc/sysdeps/linux/common/Makefile: + Overwriting the crt1.o link is fine + + * libc/sysdeps/linux/common/Makefile: + Be nicer to gcc -- add a link for crt1.o + + * ldso/libdl/Makefile: Actually install libdl.a -Erik -2002-08-21 Erik Andersen <andersen@dillweed> +2002-10-23 Erik Andersen <andersen@dillweed> + + * libpthread/linuxthreads/manager.c: + A patch from Arne Jonsson <arne.jonsson@i3micro.com> to allow + uClibc's libpthread to run on linux 2.0.x kernels which lack + poll() and therefore must use select() instead. + +2002-10-23 miles <miles@dillweed> - * /var/cvs/uClibc/libc/sysdeps/linux/alpha/bits/types.h, /var/cvs/uClibc/libc/sysdeps/linux/common/syscalls.c, /var/cvs/uClibc/libc/sysdeps/linux/common/bits/types.h, /var/cvs/uClibc/libc/sysdeps/linux/mips/bits/types.h, /var/cvs/uClibc/libc/sysdeps/linux/powerpc/bits/types.h, /var/cvs/uClibc/libc/sysdeps/linux/sparc/bits/types.h, /var/cvs/uClibc/libpthread/linuxthreads/wrapsyscall.c: - Revert mode_t change. Sigh. As Manuel so eloquently put it: "this is the way - we hose our code... hose our code... hose our code... this is the way we hose - our code... all thanks to glibc" + * extra/gcc-uClibc/gcc-uClibc.c: + Make `-nostdlib' and `-nodefaultlibs' work correctly. + +2002-10-22 Erik Andersen <andersen@dillweed> + + * libc/stdlib/ptsname.c: + When UNIX98PTY_ONLY was false, but Unix 98 ptys were in fact working and + functional, everything would succeed but then we would return a failure due to + a silly logic bug. This patch fixes it so things will work correctly + regardless of the UNIX98PTY_ONLY setting. -Erik - * /var/cvs/uClibc/libpthread/linuxthreads/wrapsyscall.c: - mode_t was being promoted to an int by gcc's __builtin_va_arg, causing bad - things to happen. This makes it explicit, so pthread using apps are no longer - broken... +2002-10-21 Erik Andersen <andersen@dillweed> + + * docs/uclibc.org/uClibc-apps.html: + Update freeswan entry, per success report from Arne Bernin + +2002-10-18 Erik Andersen <andersen@dillweed> + + * Rules.mak, libc/sysdeps/linux/common/Makefile: + This patch, based on a patch from Stefan Allius, lets us pick an + appropriate awk implementation at compile time, so we can again + compile on Solaris and whatnot. -Erik -2002-08-20 Erik Andersen <andersen@dillweed> + * Makefile: Echo mmu-less warning where appropriate - * /var/cvs/uClibc/libpthread/linuxthreads/wrapsyscall.c: - Remove some noise + * docs/Glibc_vs_uClibc_Differences.txt: + Add in an initial list of the differences between glibc and uClibc. + This is not complete, but covers some of the main points. + -Erik - * /var/cvs/uClibc/libresolv/resolv.c: Stupid cut-n-paste error +2002-10-18 miles <miles@dillweed> -2002-08-20 Manuel Novoa III <mjn3@dillweed> + * libc/stdlib/malloc/malloc.c: + Don't infinitely recurse when trying to grow __malloc_mmb_heap. - * /var/cvs/uClibc/include/dirent.h: - Unlike glibc, uClibc doesn't always support the d_type field of - struct dirent. So, disable the d_type support macros when d_type - isn't available. This fixes a build problem file fileutils-4.1. +2002-10-17 Erik Andersen <andersen@dillweed> -2002-08-20 Erik Andersen <andersen@dillweed> + * test/stdlib/.cvsignore, test/stdlib/Makefile, test/stdlib/ptytest.c: + Add a test from Alex King <alex@morrison.king.net.nz> which + shows a failure in ptsname when ASSUME_DEVPTS=false + -Erik - * /var/cvs/uClibc/libpthread/Makefile: - Only build libthread_db when both threads and debug are enabled + * libc/stdlib/malloc/heap.h, libc/stdlib/malloc/realloc.c: + Fix malloc so it compiles and works when using pthreads -Erik -2002-08-19 Erik Andersen <andersen@dillweed> +2002-10-16 Erik Andersen <andersen@dillweed> + |