--------------------- PatchSet 3162 Date: 2004/01/04 05:34:35 Author: andersen Branch: HEAD Tag: uClibc_0_9_26 **FUNKY** Log: Fix grammar Members: docs/uclibc.org/news.html:1.8->1.9 --------------------- PatchSet 3163 Date: 2004/01/04 05:46:15 Author: andersen Branch: HEAD Tag: (none) Log: spell 'pthread' properly Members: docs/uclibc.org/news.html:1.9->1.10 --------------------- PatchSet 3164 Date: 2004/01/04 05:49:55 Author: andersen Branch: HEAD Tag: (none) Log: Fix paragraph seperation Members: docs/uclibc.org/news.html:1.10->1.11 --------------------- PatchSet 3165 Date: 2004/01/04 09:32:14 Author: andersen Branch: HEAD Tag: (none) Log: Bump .deb version Members: debian/changelog:1.19->1.20 --------------------- PatchSet 3166 Date: 2004/01/04 09:35:20 Author: andersen Branch: HEAD Tag: (none) Log: Implement res_search and res_querydomain based on netbsd code, but remove support for host aliases (the HOSTALIASES env variable) which looks like a very bad idea. -Erik Members: libc/inet/resolv.c:1.50->1.51 --------------------- PatchSet 3167 Date: 2004/01/06 01:05:12 Author: andersen Branch: HEAD Tag: (none) Log: Some badly behaved arches fail to provide a PAGE_SIZE define Members: ldso/include/ldso.h:1.2->1.3 --------------------- PatchSet 3168 Date: 2004/01/09 09:13:37 Author: andersen Branch: HEAD Tag: (none) Log: As mjn3 noticed, 64 bit arches should select UCLIBC_HAS_LFS Members: extra/Configs/Config.alpha:1.15->1.16 extra/Configs/Config.sh:1.46->1.47 --------------------- PatchSet 3169 Date: 2004/01/12 11:07:02 Author: mjn3 Branch: HEAD Tag: (none) Log: Oops... Seems I forgot an else... Members: libc/unistd/Makefile:1.36->1.37 --------------------- PatchSet 3170 Date: 2004/01/13 05:58:00 Author: andersen Branch: HEAD Tag: (none) Log: Fixup dated comments Members: Makefile:1.242->1.243 --------------------- PatchSet 3171 Date: 2004/01/13 10:26:56 Author: mjn3 Branch: HEAD Tag: (none) Log: Add another devfs subdir to the list of checked subdirs. Members: libc/termios/ttyname.c:1.12->1.13 --------------------- PatchSet 3172 Date: 2004/01/14 06:30:58 Author: mjn3 Branch: HEAD Tag: (none) Log: Add a dummy (always fails) wcsftime. This is needed for the libstdc++ locale implementation to build. Later this month I'll add a functional wcsftime. Members: include/wchar.h:1.5->1.6 libc/misc/time/Makefile:1.35->1.36 libc/misc/time/time.c:1.19->1.20 --------------------- PatchSet 3173 Date: 2004/01/14 09:14:47 Author: mjn3 Branch: HEAD Tag: (none) Log: Ok.. we need to link with libgcc.a for some archs. I haven't looked at all cases, but the archs I've looked at do build the needed routines as PIC so we should be ok. Members: libc/Makefile:1.33->1.34 --------------------- PatchSet 3174 Date: 2004/01/14 10:31:58 Author: andersen Branch: HEAD Tag: (none) Log: Use the gcc 3.4 -funit-at-a-time optimization when available Members: Rules.mak:1.161->1.162 --------------------- PatchSet 3175 Date: 2004/01/14 22:37:55 Author: andersen Branch: HEAD Tag: (none) Log: Include missing errno.h header (as noted by Alan Hourihane). Fix uninitialized pthread mutex used to lock the list of aligned memory blocks. Members: libc/stdlib/malloc-simple/alloc.c:1.13->1.14 --------------------- PatchSet 3176 Date: 2004/01/16 00:44:34 Author: davidm Branch: HEAD Tag: (none) Log: Make sure we remove -fomit-frame-pointer from the ldso build. It's 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. Members: ldso/ldso/Makefile:1.51->1.52 --------------------- PatchSet 3177 Date: 2004/01/16 00:46:39 Author: mjn3 Branch: HEAD Tag: (none) Log: Link with libfloat if necessary. Members: libc/Makefile:1.34->1.35 --------------------- PatchSet 3178 Date: 2004/01/16 11:49:06 Author: andersen Branch: HEAD Tag: (none) Log: Minor updates from linux 2.6.1 Members: extra/config/Kconfig-language.txt:1.2->1.3 extra/config/conf.c:1.4->1.5 --------------------- PatchSet 3179 Date: 2004/01/16 12:38:10 Author: andersen Branch: HEAD Tag: (none) Log: Fixup selection of endianness, since select does not work on choice items, we have to declare what endianness cpus are capable of supporting and work using dependancies. Members: extra/Configs/Config.arm:1.40->1.41 extra/Configs/Config.h8300:1.18->1.19 extra/Configs/Config.i960:1.14->1.15 extra/Configs/Config.microblaze:1.5->1.6 extra/Configs/Config.mips:1.39->1.40 extra/Configs/Config.sparc:1.16->1.17 extra/Configs/Config.v850:1.7->1.8 --------------------- PatchSet 3180 Date: 2004/01/16 12:43:01 Author: andersen Branch: HEAD Tag: (none) Log: s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/g Members: extra/Configs/Config.alpha:1.17->1.18 extra/Configs/Config.cris:1.11->1.12 extra/Configs/Config.in.arch:1.13->1.14 extra/Configs/Config.powerpc:1.34->1.35 extra/Configs/Config.sh:1.48->1.49 libc/inet/rpc/rcmd.c:1.9->1.10 libc/sysdeps/linux/common/bits/posix_opt.h:1.2->1.3 libc/unistd/daemon.c:1.7->1.8 libpthread/linuxthreads/manager.c:1.7->1.8 --------------------- PatchSet 3181 Date: 2004/01/16 12:49:06 Author: andersen Branch: HEAD Tag: (none) Log: Minor updates from linux 2.6.1 Members: extra/config/confdata.c:1.9->1.10 --------------------- PatchSet 3182 Date: 2004/01/16 13:38:10 Author: andersen Branch: HEAD Tag: (none) Log: Fixup selection of endianness, since select does not work on choice items, we have to declare what endianness cpus are capable of supporting and work using dependancies. Members: extra/Configs/Config.alpha:1.16->1.17 extra/Configs/Config.cris:1.10->1.11 extra/Configs/Config.e1:1.6->1.7 extra/Configs/Config.i386:1.37->1.38 extra/Configs/Config.in.arch:1.12->1.13 extra/Configs/Config.m68k:1.35->1.36 extra/Configs/Config.powerpc:1.33->1.34 extra/Configs/Config.sh:1.47->1.48 --------------------- PatchSet 3183 Date: 2004/01/16 13:42:58 Author: andersen Branch: HEAD Tag: (none) Log: s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/g Members: Makefile:1.243->1.244 extra/Configs/Config.i386:1.38->1.39 extra/Configs/Config.in:1.43->1.44 libc/stdlib/malloc/malloc.h:1.18->1.19 libc/stdlib/malloc-simple/alloc.c:1.14->1.15 libc/sysdeps/linux/arm/crt0.S:1.20->1.21 libc/sysdeps/linux/common/syscalls.c:1.125->1.126 libc/sysdeps/linux/m68k/Makefile:1.32->1.33 libc/unistd/Makefile:1.37->1.38 libc/unistd/exec.c:1.1->1.2 libpthread/linuxthreads/internals.h:1.6->1.7 libpthread/linuxthreads/ptfork.c:1.2->1.3 libpthread/linuxthreads/pthread.c:1.11->1.12 libutil/Makefile:1.22->1.23 --------------------- PatchSet 3184 Date: 2004/01/16 18:52:51 Author: mjn3 Branch: HEAD Tag: (none) Log: We need to link with libgcc.a when creating shared libs, in order to avoid problems 'hidden symbol' problems. Also handle -lfloat for the soft-float arm case. Members: ldso/libdl/Makefile:1.33->1.34 libcrypt/Makefile:1.25->1.26 libintl/Makefile:1.5->1.6 libm/Makefile:1.39->1.40 libnsl/Makefile:1.6->1.7 libpthread/Makefile:1.27->1.28 libresolv/Makefile:1.16->1.17 libutil/Makefile:1.23->1.24 --------------------- PatchSet 3185 Date: 2004/01/17 14:39:40 Author: mjn3 Branch: HEAD Tag: (none) Log: Prevent runaway asserts, which can happen if there's a problem with stdio or locales. Members: libc/misc/assert/__assert.c:1.7->1.8 --------------------- PatchSet 3186 Date: 2004/01/17 14:45:55 Author: mjn3 Branch: HEAD Tag: (none) Log: Add __data_start needed by boehm garbage collector, in turn needed by libgcj. Members: libc/sysdeps/linux/i386/crt0.S:1.21->1.22 --------------------- PatchSet 3187 Date: 2004/01/20 17:38:25 Author: andersen Branch: HEAD Tag: (none) Log: Joakim Tjernlund writes: > 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 Members: ldso/ldso/powerpc/elfinterp.c:1.29->1.30 --------------------- PatchSet 3188 Date: 2004/01/20 17:44:17 Author: andersen Branch: HEAD Tag: (none) Log: Paul Mundt writes: 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. Members: ldso/ldso/powerpc/boot1_arch.h:1.4->1.5 ldso/ldso/powerpc/dl-startup.h:1.4->1.5 --------------------- PatchSet 3189 Date: 2004/01/20 18:00:16 Author: andersen Branch: HEAD Tag: (none) Log: As noted by Doru Petrescu, there was a spurious line that was using _dl_debug_addr prior to checking if it was NULL. Members: ldso/libdl/dlib.c:1.32->1.33 ldso/libdl/libdl.c:1.32->1.33 --------------------- PatchSet 3190 Date: 2004/01/20 21:28:42 Author: andersen Branch: HEAD Tag: (none) Log: support building the uClibc utils for the host system... Members: utils/Makefile:1.10->1.11 --------------------- PatchSet 3191 Date: 2004/01/20 21:36:23 Author: andersen Branch: HEAD Tag: (none) Log: Erik is an idiot Members: utils/Makefile:1.11->1.12 --------------------- PatchSet 3192 Date: 2004/01/21 20:14:41 Author: andersen Branch: HEAD Tag: (none) Log: Massive formatting cleanup, making it easier to parse Members: libc/sysdeps/linux/common/syscalls.c:1.126->1.127 --------------------- PatchSet 3193 Date: 2004/01/21 20:27:25 Author: andersen Branch: HEAD Tag: (none) Log: Move poll to its own file, rather than being only half in its own file Members: libc/sysdeps/linux/common/poll.c:1.1->1.2 libc/sysdeps/linux/common/syscalls.c:1.127->1.128 --------------------- PatchSet 3194 Date: 2004/01/21 21:06:38 Author: andersen Branch: HEAD Tag: (none) Log: Add poll Members: libc/sysdeps/linux/common/Makefile:1.95->1.96 --------------------- PatchSet 3195 Date: 2004/01/21 22:27:39 Author: andersen Branch: HEAD Tag: (none) Log: Split up syscalls.c, since it had grown to be quite large and ugly. -Erik Members: libc/misc/sysvipc/ftok.c:1.3->1.4 libc/misc/sysvipc/ipc.h:1.2->1.3 libc/misc/sysvipc/msgq.c:1.2->1.3 libc/misc/sysvipc/shm.c:1.5->1.6 libc/sysdeps/linux/common/list_syscalls.sh:1.1->1.2(DEAD) libc/sysdeps/linux/common/str_syscalls.sh:1.5->1.6(DEAD) libc/sysdeps/linux/common/syscalls.c:1.128->1.129(DEAD) libc/sysdeps/linux/common/unified_syscall_i386.h:1.6->1.7(DEAD) libc/sysdeps/linux/common/xstatconv.h:1.2->1.3 libc/sysdeps/linux/i960/_mmap.S:1.1->1.2(DEAD) libc/sysdeps/linux/i960/mmap.S:INITIAL->1.1 libc/sysdeps/linux/microblaze/_mmap.c:1.1->1.2(DEAD) libc/sysdeps/linux/microblaze/mmap.c:INITIAL->1.1 libc/sysdeps/linux/mips/_mmap.c:1.3->1.4(DEAD) libc/sysdeps/linux/mips/mmap.c:INITIAL->1.1 libc/sysdeps/linux/powerpc/_mmap.c:1.5->1.6(DEAD) libc/sysdeps/linux/powerpc/mmap.c:INITIAL->1.1 libc/sysdeps/linux/sh/_mmap.c:1.5->1.6(DEAD) libc/sysdeps/linux/sh/mmap.c:INITIAL->1.1 libc/sysdeps/linux/v850/_mmap.c:1.4->1.5(DEAD) libc/sysdeps/linux/v850/mmap.c:INITIAL->1.1 --------------------- PatchSet 3196 Date: 2004/01/21 22:30:52 Author: andersen Branch: HEAD Tag: (none) Log: ignore host binaries Members: utils/.cvsignore:1.2->1.3 --------------------- PatchSet 3197 Date: 2004/01/21 23:27:39 Author: andersen Branch: HEAD Tag: (none) Log: Split up syscalls.c, since it had grown to be quite large and ugly. -Erik Members: libc/misc/sysvipc/sem.c:1.4->1.5 libc/sysdeps/linux/common/Makefile:1.96->1.97 libc/sysdeps/linux/common/__rt_sigtimedwait.c:INITIAL->1.1 libc/sysdeps/linux/common/__socketcall.c:INITIAL->1.1 libc/sysdeps/linux/common/__syscall_fcntl.c:INITIAL->1.1 libc/sysdeps/linux/common/__syscall_fcntl64.c:INITIAL->1.1 libc/sysdeps/linux/common/__syscall_ipc.c:INITIAL->1.1 libc/sysdeps/linux/common/__syscall_rt_sigaction.c:INITIAL->1.1 libc/sysdeps/linux/common/__syscall_sigaction.c:INITIAL->1.1 libc/sysdeps/linux/common/_exit.c:1.1->1.2 libc/sysdeps/linux/common/access.c:INITIAL->1.1 libc/sysdeps/linux/common/acct.c:INITIAL->1.1 libc/sysdeps/linux/common/adjtimex.c:INITIAL->1.1 libc/sysdeps/linux/common/alarm.c:INITIAL->1.1 libc/sysdeps/linux/common/bdflush.c:INITIAL->1.1 libc/sysdeps/linux/common/capget.c:INITIAL->1.1 libc/sysdeps/linux/common/capset.c:INITIAL->1.1 libc/sysdeps/linux/common/chdir.c:INITIAL->1.1 libc/sysdeps/linux/common/chmod.c:INITIAL->1.1 libc/sysdeps/linux/common/chown.c:INITIAL->1.1 libc/sysdeps/linux/common/chroot.c:INITIAL->1.1 libc/sysdeps/linux/common/close.c:INITIAL->1.1 libc/sysdeps/linux/common/delete_module.c:INITIAL->1.1 libc/sysdeps/linux/common/dup.c:INITIAL->1.1 libc/sysdeps/linux/common/dup2.c:INITIAL->1.1 libc/sysdeps/linux/common/execve.c:INITIAL->1.1 libc/sysdeps/linux/common/fchdir.c:INITIAL->1.1 libc/sysdeps/linux/common/fchmod.c:INITIAL->1.1 libc/sysdeps/linux/common/fchown.c:INITIAL->1.1 libc/sysdeps/linux/common/fdatasync.c:INITIAL->1.1 libc/sysdeps/linux/common/flock.c:INITIAL->1.1 libc/sysdeps/linux/common/fork.c:INITIAL->1.1 libc/sysdeps/linux/common/fstat.c:INITIAL->1.1 libc/sysdeps/linux/common/fstat64.c:INITIAL->1.1 libc/sysdeps/linux/common/fstatfs.c:INITIAL->1.1 libc/sysdeps/linux/common/fsync.c:INITIAL->1.1 libc/sysdeps/linux/common/ftruncate.c:INITIAL->1.1 libc/sysdeps/linux/common/get_kernel_syms.c:INITIAL->1.1 libc/sysdeps/linux/common/getegid.c:INITIAL->1.1 libc/sysdeps/linux/common/geteuid.c:INITIAL->1.1 libc/sysdeps/linux/common/getgid.c:INITIAL->1.1 libc/sysdeps/linux/common/getgroups.c:INITIAL->1.1 libc/sysdeps/linux/common/getitimer.c:INITIAL->1.1 libc/sysdeps/linux/common/getpgid.c:INITIAL->1.1 libc/sysdeps/linux/common/getpgrp.c:INITIAL->1.1 libc/sysdeps/linux/common/getpid.c:INITIAL->1.1 libc/sysdeps/linux/common/getppid.c:INITIAL->1.1 libc/sysdeps/linux/common/getpriority.c:INITIAL->1.1 libc/sysdeps/linux/common/getresgid.c:INITIAL->1.1 libc/sysdeps/linux/common/getresuid.c:INITIAL->1.1 libc/sysdeps/linux/common/getrlimit.c:INITIAL->1.1 libc/sysdeps/linux/common/getrusage.c:INITIAL->1.1 libc/sysdeps/linux/common/getsid.c:INITIAL->1.1 libc/sysdeps/linux/common/gettimeofday.c:INITIAL->1.1 libc/sysdeps/linux/common/getuid.c:INITIAL->1.1 libc/sysdeps/linux/common/init_module.c:INITIAL->1.1 libc/sysdeps/linux/common/ioctl.c:1.1->1.2 libc/sysdeps/linux/common/ioperm.c:INITIAL->1.1 libc/sysdeps/linux/common/iopl.c:INITIAL->1.1 libc/sysdeps/linux/common/kill.c:INITIAL->1.1 libc/sysdeps/linux/common/klogctl.c:INITIAL->1.1 libc/sysdeps/linux/common/lchown.c:INITIAL->1.1 libc/sysdeps/linux/common/link.c:INITIAL->1.1 libc/sysdeps/linux/common/lseek.c:INITIAL->1.1 libc/sysdeps/linux/common/lstat.c:INITIAL->1.1 libc/sysdeps/linux/common/lstat64.c:INITIAL->1.1 libc/sysdeps/linux/common/madvise.c:INITIAL->1.1 libc/sysdeps/linux/common/mkdir.c:INITIAL->1.1 libc/sysdeps/linux/common/mknod.c:1.3->1.4 libc/sysdeps/linux/common/mlock.c:INITIAL->1.1 libc/sysdeps/linux/common/mlockall.c:INITIAL->1.1 libc/sysdeps/linux/common/mmap.c:INITIAL->1.1 libc/sysdeps/linux/common/modify_ldt.c:INITIAL->1.1 libc/sysdeps/linux/common/mount.c:INITIAL->1.1 libc/sysdeps/linux/common/mprotect.c:INITIAL->1.1 libc/sysdeps/linux/common/mremap.c:INITIAL->1.1 libc/sysdeps/linux/common/msync.c:INITIAL->1.1 libc/sysdeps/linux/common/munlock.c:INITIAL->1.1 libc/sysdeps/linux/common/munlockall.c:INITIAL->1.1 libc/sysdeps/linux/common/munmap.c:INITIAL->1.1 libc/sysdeps/linux/common/nanosleep.c:INITIAL->1.1 libc/sysdeps/linux/common/nice.c:INITIAL->1.1 libc/sysdeps/linux/common/open.c:INITIAL->1.1 libc/sysdeps/linux/common/pause.c:INITIAL->1.1 libc/sysdeps/linux/common/personality.c:INITIAL->1.1 libc/sysdeps/linux/common/pipe.c:INITIAL->1.1 libc/sysdeps/linux/common/pivot_root.c:INITIAL->1.1 libc/sysdeps/linux/common/prctl.c:INITIAL->1.1 libc/sysdeps/linux/common/query_module.c:INITIAL->1.1 libc/sysdeps/linux/common/quotactl.c:INITIAL->1.1 libc/sysdeps/linux/common/read.c:INITIAL->1.1 libc/sysdeps/linux/common/readlink.c:INITIAL->1.1 libc/sysdeps/linux/common/readv.c:INITIAL->1.1 libc/sysdeps/linux/common/reboot.c:INITIAL->1.1 libc/sysdeps/linux/common/rename.c:INITIAL->1.1 libc/sysdeps/linux/common/rmdir.c:INITIAL->1.1 libc/sysdeps/linux/common/sched_get_priority_max.c:INITIAL->1.1 libc/sysdeps/linux/common/sched_get_priority_min.c:INITIAL->1.1 libc/sysdeps/linux/common/sched_getparam.c:INITIAL->1.1 libc/sysdeps/linux/common/sched_getscheduler.c:INITIAL->1.1 libc/sysdeps/linux/common/sched_rr_get_interval.c:INITIAL->1.1 libc/sysdeps/linux/common/sched_setparam.c:INITIAL->1.1 libc/sysdeps/linux/common/sched_setscheduler.c:INITIAL->1.1 libc/sysdeps/linux/common/sched_yield.c:INITIAL->1.1 libc/sysdeps/linux/common/select.c:INITIAL->1.1 libc/sysdeps/linux/common/sendfile.c:INITIAL->1.1 libc/sysdeps/linux/common/setdomainname.c:INITIAL->1.1 libc/sysdeps/linux/common/setfsgid.c:INITIAL->1.1 libc/sysdeps/linux/common/setfsuid.c:INITIAL->1.1 libc/sysdeps/linux/common/setgid.c:INITIAL->1.1 libc/sysdeps/linux/common/setgroups.c:INITIAL->1.1 libc/sysdeps/linux/common/sethostname.c:INITIAL->1.1 libc/sysdeps/linux/common/setitimer.c:INITIAL->1.1 libc/sysdeps/linux/common/setpgid.c:INITIAL->1.1 libc/sysdeps/linux/common/setpriority.c:INITIAL->1.1 libc/sysdeps/linux/common/setregid.c:INITIAL->1.1 libc/sysdeps/linux/common/setresgid.c:INITIAL->1.1 libc/sysdeps/linux/common/setresuid.c:INITIAL->1.1 libc/sysdeps/linux/common/setreuid.c:INITIAL->1.1 libc/sysdeps/linux/common/setrlimit.c:INITIAL->1.1 libc/sysdeps/linux/common/setsid.c:INITIAL->1.1 libc/sysdeps/linux/common/settimeofday.c:INITIAL->1.1 libc/sysdeps/linux/common/setuid.c:1.2->1.3 libc/sysdeps/linux/common/sigaltstack.c:INITIAL->1.1 libc/sysdeps/linux/common/sigpending.c:INITIAL->1.1 libc/sysdeps/linux/common/sigprocmask.c:INITIAL->1.1 libc/sysdeps/linux/common/sigsuspend.c:INITIAL->1.1 libc/sysdeps/linux/common/ssp.c:1.1->1.2 libc/sysdeps/linux/common/stat.c:INITIAL->1.1 libc/sysdeps/linux/common/stat64.c:INITIAL->1.1 libc/sysdeps/linux/common/statfs.c:INITIAL->1.1 libc/sysdeps/linux/common/stime.c:INITIAL->1.1 libc/sysdeps/linux/common/swapoff.c:INITIAL->1.1 libc/sysdeps/linux/common/swapon.c:INITIAL->1.1 libc/sysdeps/linux/common/symlink.c:INITIAL->1.1 libc/sysdeps/linux/common/syscalls.h:INITIAL->1.1 libc/sysdeps/linux/common/sysctl.c:INITIAL->1.1 libc/sysdeps/linux/common/sysfs.c:INITIAL->1.1 libc/sysdeps/linux/common/sysinfo.c:INITIAL->1.1 libc/sysdeps/linux/common/time.c:INITIAL->1.1 libc/sysdeps/linux/common/times.c:INITIAL->1.1 libc/sysdeps/linux/common/truncate.c:INITIAL->1.1 libc/sysdeps/linux/common/umask.c:INITIAL->1.1 libc/sysdeps/linux/common/umount.c:INITIAL->1.1 libc/sysdeps/linux/common/umount2.c:INITIAL->1.1 libc/sysdeps/linux/common/uname.c:INITIAL->1.1 libc/sysdeps/linux/common/unlink.c:INITIAL->1.1 libc/sysdeps/linux/common/uselib.c:INITIAL->1.1 libc/sysdeps/linux/common/ustat.c:INITIAL->1.1 libc/sysdeps/linux/common/utime.c:INITIAL->1.1 libc/sysdeps/linux/common/utimes.c:INITIAL->1.1 libc/sysdeps/linux/common/vhangup.c:INITIAL->1.1 libc/sysdeps/linux/common/wait4.c:INITIAL->1.1 libc/sysdeps/linux/common/write.c:INITIAL->1.1 libc/sysdeps/linux/common/writev.c:INITIAL->1.1 libc/sysdeps/linux/powerpc/ioctl.c:1.1->1.2 --------------------- PatchSet 3198 Date: 2004/01/21 23:45:14 Author: andersen Branch: HEAD Tag: (none) Log: Sort all the files Members: libc/sysdeps/linux/common/Makefile:1.97->1.98 --------------------- PatchSet 3199 Date: 2004/01/22 00:44:25 Author: andersen Branch: HEAD Tag: (none) Log: Some minor debian junk I had sitting in my tree Members: debian/.cvsignore:1.1->1.2 debian/uclibc-dev.postinst:INITIAL->1.1 debian/uclibc-dev.prerm:INITIAL->1.1 debian/uclibc.postinst:1.1->1.2 debian/uclibc.prerm:INITIAL->1.1 debian/uclibc.shlibs:1.1->1.2 --------------------- PatchSet 3200 Date: 2004/01/24 07:40:27 Author: andersen Branch: HEAD Tag: (none) Log: Oleksandr G. Zhadan writes: Hi Eric, The attached diff file includes BUS_ISA fix for kernel since 2.4.23/ Kind regards, Oleks Members: libc/sysdeps/linux/arm/ioperm.c:1.5->1.6 --------------------- PatchSet 3201 Date: 2004/01/24 07:59:30 Author: andersen Branch: HEAD Tag: (none) Log: Joakim Tjernlund writes: Hi again I have done some serious clenup of powerpc/elfinterp.c - Make it look more like glibc. - Performance modifictions. - Fixed a few bugs in _dl_do_reloc(). These seem not to have affected anything, but this how glibc do it. Jocke Members: ldso/ldso/powerpc/elfinterp.c:1.30->1.31 --------------------- PatchSet 3202 Date: 2004/01/24 08:33:39 Author: andersen Branch: HEAD Tag: (none) Log: Imre Sunyi writes: Hi Erik I have corrected a bug in uClibc/libc/inet/resolv.c in function __dns_lookup(). Have attaced a txt file with my diffs regarding to uClibc 0.9.26. If two nameservers are included in /etc/resolv.conf and the first one is wrong and the secondary is correct the algorithm never looked up the secondary one. Please review my diff and feel free to submit the patch onto your CVS. If reading manual page resolv.conf(5) under nameserver and how the algorithm should work the previous dns_lookup did not fully followed that. Regards Imre Sunyi Members: libc/inet/resolv.c:1.51->1.52 --------------------- PatchSet 3203 Date: 2004/01/27 06:36:19 Author: andersen Branch: HEAD Tag: (none) Log: Joakim Tjernlund writes: Hi Erik I have had some fun trying to optimize memcpy, memset and memmove for PPC. There are only boot tested, but I don't expect any problems :) Read the comments in powerpc/string.c for more info. Patch is relative to libc/string Jocke Members: libc/string/powerpc/Makefile:INITIAL->1.1 --------------------- PatchSet 3204 Date: 2004/01/27 07:36:18 Author: andersen Branch: HEAD Tag: (none) Log: Joakim Tjernlund writes: Hi Erik I have had some fun trying to optimize memcpy, memset and memmove for PPC. There are only boot tested, but I don't expect any problems :) Read the comments in powerpc/string.c for more info. Patch is relative to libc/string Jocke Members: libc/string/Makefile:1.59->1.60 libc/string/powerpc/string.c:INITIAL->1.1 --------------------- PatchSet 3205 Date: 2004/01/27 07:37:12 Author: andersen Branch: HEAD Tag: (none) Log: Patch from Joakim Tjernlund to get rid of an annoying warning. Members: ldso/ldso/powerpc/boot1_arch.h:1.5->1.6 ldso/ldso/powerpc/dl-startup.h:1.5->1.6 --------------------- PatchSet 3206 Date: 2004/01/29 08:20:11 Author: andersen Branch: HEAD Tag: (none) Log: Patch from Joakim Tjernlund: Removed R_PPC_NONE and R_PPC_REL24 as these does not seem to be used. Corrected R_PPC_ADDR32 and R_PPC_JMP_SLOT Members: ldso/ldso/powerpc/dl-sysdep.h:1.8->1.9 ldso/ldso/powerpc/ld_sysdep.h:1.8->1.9 --------------------- PatchSet 3207 Date: 2004/01/29 08:59:00 Author: andersen Branch: HEAD Tag: (none) Log: Fixup silly typo Members: ldso/ldso/powerpc/elfinterp.c:1.31->1.32 --------------------- PatchSet 3208 Date: 2004/01/29 10:44:49 Author: andersen Branch: HEAD Tag: (none) Log: Eliminate separate passes for _dl_copy_fixups() and _dl_fixup(), and do both operations in a single pass. Members: ldso/include/dl-elf.h:1.4->1.5 ldso/include/ld_elf.h:1.4->1.5 ldso/ldso/dl-elf.c:1.54->1.55 ldso/ldso/ldso.c:1.78->1.79 ldso/ldso/readelflib1.c:1.54->1.55 ldso/libdl/dlib.c:1.33->1.34 ldso/libdl/libdl.c:1.33->1.34 --------------------- PatchSet 3209 Date: 2004/01/29 10:48:05 Author: andersen Branch: HEAD Tag: (none) Log: Joakim Tjernlund writes: Here is the cleaned up laze reloc patch. Summary: - Minor cleanup. - disable the "if (finaladdr <= 0x01fffffc || finaladdr >= 0xfe000000)" test since it almost never triggered. - Optimized the lazy relocs handling. Would be great if you could commit ASAP. Jocke Members: ldso/ldso/powerpc/elfinterp.c:1.32->1.33 --------------------- PatchSet 3210 Date: 2004/01/29 11:42:45 Author: andersen Branch: HEAD Tag: (none) Log: Scrub up use of ELF_USES_RELOCA and eliminte some unsightly ifdefs Members: ldso/include/dl-elf.h:1.5->1.6 ldso/include/ld_elf.h:1.5->1.6 ldso/include/ldso.h:1.3->1.4 ldso/ldso/dl-elf.c:1.55->1.56 ldso/ldso/ldso.c:1.79->1.80 ldso/ldso/readelflib1.c:1.55->1.56 --------------------- PatchSet 3211 Date: 2004/01/29 12:18:50 Author: andersen Branch: HEAD Tag: (none) Log: Modify interfaces for _dl_parse_relocation_information() _dl_parse_lazy_relocation_information() and _dl_parse_copy_information() so they are all consistant, allowing for future consolidation. Trim some trailing whitespace as well. Members: ldso/include/dl-elf.h:1.6->1.7 ldso/include/ld_elf.h:1.6->1.7 ldso/ldso/dl-elf.c:1.56->1.57 ldso/ldso/readelflib1.c:1.56->1.57 ldso/ldso/arm/elfinterp.c:1.17->1.18 ldso/ldso/cris/elfinterp.c:1.6->1.7 ldso/ldso/i386/elfinterp.c:1.27->1.28 ldso/ldso/m68k/elfinterp.c:1.14->1.15 ldso/ldso/mips/elfinterp.c:1.7->1.8 ldso/ldso/powerpc/elfinterp.c:1.33->1.34 ldso/ldso/sh/elfinterp.c:1.7->1.8 ldso/ldso/sh64/elfinterp.c:1.1->1.2 ldso/ldso/sparc/elfinterp.c:1.13->1.14 --------------------- PatchSet 3212 Date: 2004/01/30 20:11:18 Author: andersen Branch: HEAD Tag: (none) Log: Paul Mundt, lethal at linux-sh dot org writes: Boredom got the better of me, here's strlen() for sh64.. Members: libc/string/sh64/strlen.S:INITIAL->1.1 --------------------- PatchSet 3213 Date: 2004/01/30 20:34:03 Author: andersen Branch: HEAD Tag: (none) Log: Joakim Tjernlund writes: > Not there yet, but the interfaces are much closer now... > Heading to bed though, since its 5:30am. :-) This works, but I discovered something "funny". For all relocs but COPY you can use scope instead of scope->dyn->symbol_scope and it is much faster to do that. Search for "Funny" in the patch to see what I mean. Probably I probably broke something, please let me know if it works for you too. I think I am done with ldso now. Has been fun and I hope to actually use uClibc/busybox soon in a project. Ohh, there is one thing left, double sized PLT entries, but maybe these aren't needed in uClibc? Sweet dreams Jocke Members: ldso/ldso/powerpc/elfinterp.c:1.34->1.35 --------------------- PatchSet 3214 Date: 2004/01/30 21:10:39 Author: andersen Branch: HEAD Tag: (none) Log: Andrew May writes: Here are some simple fixes for things that broke for PPC with the recent syscall cleanup. I am not sure they are correct but they seem pretty trivial. Members: libc/sysdeps/linux/powerpc/ioctl.c:1.2->1.3 --------------------- PatchSet 3215 Date: 2004/01/30 21:11:18 Author: andersen Branch: HEAD Tag: (none) Log: Paul Mundt, lethal at linux-sh dot org writes: Boredom got the better of me, here's strlen() for sh64.. Members: libc/string/sh64/Makefile:1.1->1.2 --------------------- PatchSet 3216 Date: 2004/01/30 21:13:24 Author: andersen Branch: HEAD Tag: (none) Log: Add missing abort instruction for powerpc Members: libc/stdlib/abort.c:1.14->1.15 --------------------- PatchSet 3217 Date: 2004/01/30 22:09:38 Author: andersen Branch: HEAD Tag: (none) Log: Andrew May writes: Here are some simple fixes for things that broke for PPC with the recent syscall cleanup. I am not sure they are correct but they seem pretty trivial. Members: libc/sysdeps/linux/common/modify_ldt.c:1.1->1.2 libc/sysdeps/linux/powerpc/Makefile:1.29->1.30 --------------------- PatchSet 3218 Date: 2004/01/31 03:02:39 Author: andersen Branch: HEAD Tag: (none) Log: Patch from Paul Mundt, lethal at linux-sh dot org, add sh/sh64: ABORT_INSTRUCTION definitions Members: libc/stdlib/abort.c:1.15->1.16 --------------------- PatchSet 3219 Date: 2004/01/31 03:15:07 Author: andersen Branch: HEAD Tag: (none) Log: Revert to scope as used by original code for now, just in case. I still don't have a good handle on why and when the different scope values should be used. Members: ldso/ldso/powerpc/elfinterp.c:1.35->1.36 --------------------- PatchSet 3220 Date: 2004/02/01 08:30:55 Author: andersen Branch: HEAD Tag: (none) Log: Jakub Bogusz writes: Hello, the attached patch fixes ldso compilation on sparc-linux (at least with sparc32 userland). It was made against uClibc 0.9.21, but it's still OK with 0.9.26. There were three problems: - missing __NR_getpid definition - conflicting prototypes in elfinterp.c - syntax error (missing semicolon) in ldso.c With this patch shared libraries and ldso can be built on sparc. It contains also ldso.c syntax fix for m68k - there was the same mistake two lines earlier; but I didn't test build on m68k. Members: ldso/ldso/ldso.c:1.80->1.81 ldso/ldso/sparc/dl-syscalls.h:1.5->1.6 ldso/ldso/sparc/ld_syscalls.h:1.5->1.6 --------------------- PatchSet 3221 Date: 2004/02/01 11:10:32 Author: andersen Branch: HEAD Tag: (none) Log: The code for checking the rpath was not finding the rpath value correctly, since it forgot to lookup the correct value in the string table. Members: utils/ldd.c:1.3->1.4 --------------------- PatchSet 3222 Date: 2004/02/02 22:27:22 Author: mjn3 Branch: HEAD Tag: (none) Log: Use the correct configuration test define. Members: include/printf.h:1.2->1.3 --------------------- PatchSet 3223 Date: 2004/02/03 16:33:50 Author: mjn3 Branch: HEAD Tag: (none) Log: Today's Toni's birthday. Seems an appropriate day to add this. Members: DEDICATION.mjn3:INITIAL->1.1 --------------------- PatchSet 3224 Date: 2004/02/04 10:24:12 Author: andersen Branch: HEAD Tag: (none) Log: Use a static const char array for static strings Members: ldso/ldso/dl-elf.c:1.57->1.58 ldso/ldso/readelflib1.c:1.57->1.58 --------------------- PatchSet 3225 Date: 2004/02/05 01:38:27 Author: mjn3 Branch: HEAD Tag: (none) Log: Allow building on 64 bit archs. Hopefully the last cvs activity this stuff will see other than "delete". Members: extra/locale/gen_wctype.c:1.4->1.5 --------------------- PatchSet 3226 Date: 2004/02/05 01:54:33 Author: andersen Branch: HEAD Tag: (none) Log: Fixup a badly merged update -Erik Members: ldso/ldso/mips/elfinterp.c:1.8->1.9 --------------------- PatchSet 3227 Date: 2004/02/05 02:17:02 Author: andersen Branch: HEAD Tag: (none) Log: Use 'mmap.c' instead of '_mmap.c' Members: libc/sysdeps/linux/microblaze/Makefile:1.5->1.6 libc/sysdeps/linux/mips/Makefile:1.37->1.38 libc/sysdeps/linux/sh/Makefile:1.31->1.32 libc/sysdeps/linux/v850/Makefile:1.18->1.19 --------------------- PatchSet 3228 Date: 2004/02/05 14:53:22 Author: mjn3 Branch: HEAD Tag: (none) Log: Patch from Alan Hourihane for building alpha. Members: libc/sysdeps/linux/alpha/brk.S:1.2->1.3 libc/sysdeps/linux/common/llseek.c:1.2->1.3 --------------------- PatchSet 3229 Date: 2004/02/06 06:07:06 Author: andersen Branch: HEAD Tag: (none) Log: Sigh. The 2.6.x kernel removed '__kernel_dev_t' and renamed it as '__kernel_old_dev_t'. And of course there is no good way to know which is in use except checking linux/version.h. Grumble. This is rather lame, but for now, define __kernel_old_dev_t to be the same as __kernel_dev_t. This will want to be revisited soon. -Erik Members: libc/sysdeps/linux/alpha/bits/kernel_types.h:1.3->1.4 libc/sysdeps/linux/arm/bits/kernel_types.h:1.3->1.4 libc/sysdeps/linux/e1/bits/kernel_types.h:1.1->1.2 libc/sysdeps/linux/i386/bits/kernel_types.h:1.3->1.4 libc/sysdeps/linux/m68k/bits/kernel_types.h:1.3->1.4 libc/sysdeps/linux/microblaze/bits/kernel_types.h:1.1->1.2 libc/sysdeps/linux/mips/bits/kernel_types.h:1.5->1.6 libc/sysdeps/linux/powerpc/bits/kernel_types.h:1.3->1.4 libc/sysdeps/linux/sh/bits/kernel_types.h:1.3->1.4 libc/sysdeps/linux/sh64/bits/kernel_types.h:1.1->1.2 libc/sysdeps/linux/sparc/bits/kernel_types.h:1.3->1.4 libc/sysdeps/linux/v850/bits/kernel_types.h:1.7->1.8 --------------------- PatchSet 3230 Date: 2004/02/06 06:09:46 Author: andersen Branch: HEAD Tag: (none) Log: Fix completely hosed up formatting Members: libc/sysdeps/linux/cris/bits/kernel_types.h:1.2->1.3 --------------------- PatchSet 3231 Date: 2004/02/06 07:07:07 Author: andersen Branch: HEAD Tag: (none) Log: Sigh. The 2.6.x kernel removed '__kernel_dev_t' and renamed it as '__kernel_old_dev_t'. And of course there is no good way to know which is in use except checking linux/version.h. Grumble. This is rather lame, but for now, define __kernel_old_dev_t to be the same as __kernel_dev_t. This will want to be revisited soon. -Erik Members: libc/sysdeps/linux/cris/bits/kernel_types.h:1.1->1.2 libc/sysdeps/linux/h8300/bits/kernel_types.h:1.1->1.2 --------------------- PatchSet 3232 Date: 2004/02/06 11:11:23 Author: andersen Branch: HEAD Tag: (none) Log: Remove trailing whitespace Members: ldso/ldso/dl-elf.c:1.58->1.59 ldso/ldso/readelflib1.c:1.58->1.59 --------------------- PatchSet 3233 Date: 2004/02/06 11:12:44 Author: andersen Branch: HEAD Tag: (none) Log: Trim trailing whitespace Members: ldso/include/dl-string.h:1.2->1.3 ldso/include/ld_string.h:1.2->1.3 --------------------- PatchSet 3234 Date: 2004/02/07 09:53:43 Author: andersen Branch: HEAD Tag: (none) Log: Use unsigned char * pointers Members: ldso/ldso/dl-elf.c:1.59->1.60 ldso/ldso/ldso.c:1.81->1.82 ldso/ldso/readelflib1.c:1.59->1.60 --------------------- PatchSet 3235 Date: 2004/02/07 09:54:46 Author: andersen Branch: HEAD Tag: (none) Log: Yet more consistancy fixups Members: ldso/ldso/ldso.c:1.82->1.83 --------------------- PatchSet 3236 Date: 2004/02/07 10:12:24 Author: andersen Branch: HEAD Tag: (none) Log: Step one, begin shuffling things around a bit Members: ldso/include/dl-elf.h:1.7->1.8 ldso/include/ld_elf.h:1.7->1.8 ldso/include/ldso.h:1.4->1.5 ldso/ldso/Makefile:1.52->1.53 ldso/ldso/dl-elf.c:1.60->1.61 ldso/ldso/ldso.c:1.83->1.84 ldso/ldso/readelflib1.c:1.60->1.61 ldso/libdl/dlib.c:1.34->1.35 ldso/libdl/libdl.c:1.34->1.35 --------------------- PatchSet 3237 Date: 2004/02/07 10:40:14 Author: andersen Branch: HEAD Tag: (none) Log: Split off the stuff that cannot use function into its own file, to make it easier to treat it specially while not bothering the rest of the code with the same constraints. Members: ldso/Makefile:1.26->1.27 ldso/include/dl-syscall.h:1.1->1.2 ldso/include/ld_syscall.h:1.1->1.2 ldso/ldso/Makefile:1.53->1.54 ldso/ldso/dl-startup.c:INITIAL->1.1 ldso/ldso/ldso.c:1.84->1.85 ldso/ldso/startup.c:INITIAL->1.1 ldso/ldso/arm/boot1_arch.h:1.4->1.5 ldso/ldso/arm/dl-startup.h:1.4->1.5 ldso/ldso/cris/boot1_arch.h:1.3->1.4 ldso/ldso/cris/dl-startup.h:1.3->1.4 ldso/ldso/i386/boot1_arch.h:1.2->1.3 ldso/ldso/i386/dl-startup.h:1.2->1.3 ldso/ldso/i386/elfinterp.c:1.28->1.29 ldso/ldso/m68k/boot1_arch.h:1.2->1.3 ldso/ldso/m68k/dl-startup.h:1.2->1.3 ldso/ldso/mips/boot1_arch.h:1.6->1.7 ldso/ldso/mips/dl-startup.h:1.6->1.7 ldso/ldso/powerpc/boot1_arch.h:1.6->1.7 ldso/ldso/powerpc/dl-startup.h:1.6->1.7 ldso/ldso/sh/boot1_arch.h:1.3->1.4 ldso/ldso/sh/dl-startup.h:1.3->1.4 ldso/ldso/sh64/boot1_arch.h:1.1->1.2 ldso/ldso/sh64/dl-startup.h:1.1->1.2 ldso/ldso/sparc/boot1_arch.h:1.2->1.3 ldso/ldso/sparc/dl-startup.h:1.2->1.3 --------------------- PatchSet 3238 Date: 2004/02/07 11:30:33 Author: andersen Branch: HEAD Tag: (none) Log: Remove unneeded forward declaration Members: ldso/ldso/ldso.c:1.85->1.86 --------------------- PatchSet 3239 Date: 2004/02/07 12:05:16 Author: andersen Branch: HEAD Tag: (none) Log: Joakim Tjernlund writes: Hi again All dltest* and test* programs pass for me. uClibc ld.so resolves according to the OLD weak symbol handling. I have tried to use the new scheme as well, but that segfaults in all cases but test3. Members: ldso/ldso/dl-hash.c:1.14->1.15 ldso/ldso/hash.c:1.14->1.15 --------------------- PatchSet 3240 Date: 2004/02/07 12:26:09 Author: andersen Branch: HEAD Tag: (none) Log: Restore the library entry point so it works. It does have to be arch specific to work properly. Members: ldso/ldso/dl-startup.c:1.1->1.2 ldso/ldso/startup.c:1.1->1.2 ldso/ldso/arm/boot1_arch.h:1.5->1.6 ldso/ldso/arm/dl-startup.h:1.5->1.6 ldso/ldso/cris/boot1_arch.h:1.4->1.5 ldso/ldso/cris/dl-startup.h:1.4->1.5 ldso/ldso/i386/boot1_arch.h:1.3->1.4 ldso/ldso/i386/dl-startup.h:1.3->1.4 ldso/ldso/m68k/boot1_arch.h:1.3->1.4 ldso/ldso/m68k/dl-startup.h:1.3->1.4 ldso/ldso/mips/boot1_arch.h:1.7->1.8 ldso/ldso/mips/dl-startup.h:1.7->1.8 ldso/ldso/powerpc/boot1_arch.h:1.7->1.8 ldso/ldso/powerpc/dl-startup.h:1.7->1.8 ldso/ldso/sh/boot1_arch.h:1.4->1.5 ldso/ldso/sh/dl-startup.h:1.4->1.5 ldso/ldso/sh64/boot1_arch.h:1.2->1.3 ldso/ldso/sh64/dl-startup.h:1.2->1.3 ldso/ldso/sparc/boot1_arch.h:1.3->1.4 ldso/ldso/sparc/dl-startup.h:1.3->1.4 --------------------- PatchSet 3241 Date: 2004/02/07 20:08:01 Author: andersen Branch: HEAD Tag: (none) Log: Thanks to Joakim's recent paches, we can now remove the FIXME Members: ldso/libdl/dlib.c:1.35->1.36 ldso/libdl/libdl.c:1.35->1.36 --------------------- PatchSet 3242 Date: 2004/02/08 07:57:37 Author: andersen Branch: HEAD Tag: (none) Log: Add some permissions when creating the logfile Members: ldso/ldso/ldso.c:1.86->1.87 --------------------- PatchSet 3243 Date: 2004/02/08 10:57:59 Author: andersen Branch: HEAD Tag: (none) Log: Cleanup whitespace and formatting Members: ldso/ldso/dl-elf.c:1.61->1.62 ldso/ldso/dl-hash.c:1.15->1.16 ldso/ldso/dl-startup.c:1.2->1.3 ldso/ldso/hash.c:1.15->1.16 ldso/ldso/ldso.c:1.87->1.88 ldso/ldso/readelflib1.c:1.61->1.62 ldso/ldso/startup.c:1.2->1.3 --------------------- PatchSet 3244 Date: 2004/02/08 10:59:52 Author: andersen Branch: HEAD Tag: (none) Log: Move _dl_printf and _dl_malloc to ldso, which is a more sensible location for this stuff Members: ldso/ldso/dl-elf.c:1.62->1.63 ldso/ldso/ldso.c:1.88->1.89 ldso/ldso/readelflib1.c:1.62->1.63 --------------------- PatchSet 3245 Date: 2004/02/09 06:10:38 Author: andersen Branch: HEAD Tag: (none) Log: Nicolas Pitre writes: Hello Erik, My patch adding ARM assembly soft-float routines to gcc also changes the default FPA float word ordering for the saner VFP word ordering which is also the order anyone would expect on a little endian machine. Problem is that uClibc curently hardwire floats to big endian (FPA) ordering in all cases. Please consider the attached patch to fix this problem. Nicolas Members: libm/math_private.h:1.2->1.3 --------------------- PatchSet 3246 Date: 2004/02/10 06:50:28 Author: andersen Branch: HEAD Tag: (none) Log: Fixup the definition of _dl_open, and move some bits back where they were, till I properly finish the next step in my evil plan. Members: ldso/include/dl-syscall.h:1.2->1.3 ldso/include/ld_syscall.h:1.2->1.3 ldso/ldso/dl-elf.c:1.63->1.64 ldso/ldso/ldso.c:1.89->1.90 ldso/ldso/readelflib1.c:1.63->1.64 --------------------- PatchSet 3247 Date: 2004/02/10 06:54:27 Author: andersen Branch: HEAD Tag: (none) Log: oops, manditory forgotten patch Members: ldso/ldso/dl-elf.c:1.64->1.65 ldso/ldso/readelflib1.c:1.64->1.65 --------------------- PatchSet 3248 Date: 2004/02/10 08:26:46 Author: andersen Branch: HEAD Tag: (none) Log: Rework file naming, aiming for at least a vague level of consistancy Members: ldso/include/ld_elf.h:1.8->1.9(DEAD) ldso/include/ld_hash.h:1.2->1.3(DEAD) ldso/include/ld_string.h:1.3->1.4(DEAD) ldso/include/ld_syscall.h:1.3->1.4(DEAD) ldso/ldso/hash.c:1.16->1.17(DEAD) ldso/ldso/readelflib1.c:1.65->1.66(DEAD) ldso/ldso/startup.c:1.3->1.4(DEAD) ldso/ldso/arm/boot1_arch.h:1.6->1.7(DEAD) ldso/ldso/arm/ld_syscalls.h:1.6->1.7(DEAD) ldso/ldso/arm/ld_sysdep.h:1.7->1.8(DEAD) ldso/ldso/cris/boot1_arch.h:1.5->1.6(DEAD) ldso/ldso/cris/ld_syscalls.h:1.3->1.4(DEAD) ldso/ldso/cris/ld_sysdep.h:1.3->1.4(DEAD) ldso/ldso/i386/boot1_arch.h:1.4->1.5(DEAD) ldso/ldso/i386/ld_syscalls.h:1.8->1.9(DEAD) ldso/ldso/i386/ld_sysdep.h:1.9->1.10(DEAD) ldso/ldso/m68k/boot1_arch.h:1.4->1.5(DEAD) ldso/ldso/m68k/ld_syscalls.h:1.7->1.8(DEAD) ldso/ldso/m68k/ld_sysdep.h:1.4->1.5(DEAD) ldso/ldso/mips/README:1.3->1.4 ldso/ldso/mips/boot1_arch.h:1.8->1.9(DEAD) ldso/ldso/mips/ld_syscalls.h:1.5->1.6(DEAD) ldso/ldso/mips/ld_sysdep.h:1.7->1.8(DEAD) ldso/ldso/powerpc/boot1_arch.h:1.8->1.9(DEAD) ldso/ldso/powerpc/ld_syscalls.h:1.4->1.5(DEAD) ldso/ldso/powerpc/ld_sysdep.h:1.9->1.10(DEAD) ldso/ldso/sh/boot1_arch.h:1.5->1.6(DEAD) ldso/ldso/sh/ld_syscalls.h:1.2->1.3(DEAD) ldso/ldso/sh/ld_sysdep.h:1.8->1.9(DEAD) ldso/ldso/sh64/boot1_arch.h:1.3->1.4(DEAD) ldso/ldso/sh64/ld_syscalls.h:1.1->1.2(DEAD) ldso/ldso/sh64/ld_sysdep.h:1.1->1.2(DEAD) ldso/ldso/sparc/boot1_arch.h:1.4->1.5(DEAD) ldso/ldso/sparc/ld_syscalls.h:1.6->1.7(DEAD) ldso/ldso/sparc/ld_sysdep.h:1.5->1.6(DEAD) ldso/ldso/sparc/resolve.S:1.2->1.3 ldso/libdl/dlib.c:1.36->1.37(DEAD) --------------------- PatchSet 3249 Date: 2004/02/10 08:40:18 Author: andersen Branch: HEAD Tag: (none) Log: clean trailing whitespace Members: utils/bswap.h:1.1->1.2 --------------------- PatchSet 3250 Date: 2004/02/10 09:26:46 Author: andersen Branch: HEAD Tag: (none) Log: Rework file naming, aiming for at least a vague level of consistancy Members: ldso/Makefile:1.27->1.28 ldso/include/dl-elf.h:1.8->1.9 ldso/include/dl-string.h:1.3->1.4 ldso/include/dl-syscall.h:1.3->1.4 ldso/include/ldso.h:1.5->1.6 ldso/ldso/.cvsignore:1.7->1.8 ldso/ldso/Makefile:1.54->1.55 ldso/ldso/dl-startup.c:1.3->1.4 ldso/ldso/ldso.c:1.90->1.91 ldso/ldso/cris/dl-sysdep.h:1.3->1.4 ldso/libdl/Makefile:1.34->1.35 ldso/libdl/libdl.c:1.36->1.37 --------------------- PatchSet 3251 Date: 2004/02/10 09:40:18 Author: andersen Branch: HEAD Tag: (none) Log: clean trailing whitespace Members: utils/readsoname.h:1.1->1.2 --------------------- PatchSet 3252 Date: 2004/02/10 09:41:56 Author: andersen Branch: HEAD Tag: (none) Log: Fixup header file naming Members: utils/ldconfig.c:1.2->1.3 utils/readsoname.c:1.1->1.2 --------------------- PatchSet 3253 Date: 2004/02/10 11:47:57 Author: andersen Branch: HEAD Tag: (none) Log: Fix function prototype to match the official ELF standard hash function Members: ldso/include/dl-hash.h:1.2->1.3 ldso/ldso/dl-hash.c:1.16->1.17 --------------------- PatchSet 3254 Date: 2004/02/10 13:31:43 Author: andersen Branch: HEAD Tag: (none) Log: Eliminate the PIE support option, and simply support that all the time Members: ldso/ldso/dl-startup.c:1.4->1.5 ldso/ldso/ldso.c:1.91->1.92 --------------------- PatchSet 3255 Date: 2004/02/10 20:52:00 Author: andersen Branch: HEAD Tag: (none) Log: Do not include the create_module syscall if it is not present Members: libc/sysdeps/linux/common/create_module.c:1.8->1.9 --------------------- PatchSet 3256 Date: 2004/02/11 02:48:13 Author: andersen Branch: HEAD Tag: (none) Log: Update TODO list with some items for 1.0 Members: TODO:1.44->1.45 --------------------- PatchSet 3257 Date: 2004/02/11 03:00:17 Author: andersen Branch: HEAD Tag: (none) Log: mention valgrind/atexit annoyance Members: TODO:1.45->1.46 --------------------- PatchSet 3258 Date: 2004/02/11 11:03:32 Author: andersen Branch: HEAD Tag: (none) Log: yet another todo item Members: TODO:1.46->1.47 --------------------- PatchSet 3259 Date: 2004/02/11 16:56:14 Author: mjn3 Branch: HEAD Tag: (none) Log: Fix bug from the syscall reorganization, detected by python's test_poll.py. The #ifdef __NR_poll test was failing because it was done before any includes. Hence, the emulation was always being used. NOTE: The emulation fails a couple of tests in test_poll.py! Members: libc/sysdeps/linux/common/poll.c:1.2->1.3 --------------------- PatchSet 3260 Date: 2004/02/11 22:48:40 Author: mjn3 Branch: HEAD Tag: (none) Log: New stdio core. Should be more maintainable. Fixes a couple of bugs. Codepaths streamlined. Improved performance for nonthreaded apps when linked with a thread-enabled libc. Minor iconv bug and some locale/thread related startup issues fixed. These showed up in getting a gcj-compiled java helloworld app running. Removed some old extension functions... _stdio_fdout and _stdio_fsfopen. Members: libc/misc/assert/__assert.c:1.8->1.9 libc/misc/wchar/Makefile:1.9->1.10 libc/misc/wchar/wchar.c:1.12->1.13 libc/misc/wchar/wstdio.c:1.5->1.6 libc/stdio/_READ.c:INITIAL->1.1 libc/stdio/_WRITE.c:INITIAL->1.1 libc/stdio/__fbufsize.c:INITIAL->1.1 libc/stdio/__flbf.c:INITIAL->1.1 libc/stdio/__fpending.c:INITIAL->1.1 libc/stdio/__fpurge.c:INITIAL->1.1 libc/stdio/__freadable.c:INITIAL->1.1 libc/stdio/__freading.c:INITIAL->1.1 libc/stdio/__fsetlocking.c:INITIAL->1.1 libc/stdio/__fwritable.c:INITIAL->1.1 libc/stdio/__fwriting.c:INITIAL->1.1 libc/stdio/_adjust_pos.c:INITIAL->1.1 libc/stdio/_cs_funcs.c:INITIAL->1.1 libc/stdio/_flushlbf.c:INITIAL->1.1 libc/stdio/_fopen.c:INITIAL->1.1 libc/stdio/_fpmaxtostr.c:INITIAL->1.1 libc/stdio/_fwrite.c:INITIAL->1.1 libc/stdio/_load_inttype.c:INITIAL->1.1 libc/stdio/_rfill.c:INITIAL->1.1 libc/stdio/_stdio.c:INITIAL->1.1 libc/stdio/_store_inttype.c:INITIAL->1.1 libc/stdio/_trans2r.c:INITIAL->1.1 libc/stdio/_trans2w.c:INITIAL->1.1 libc/stdio/_uintmaxtostr.c:INITIAL->1.1 libc/stdio/_wcommit.c:INITIAL->1.1 libc/stdio/_wfwrite.c:INITIAL->1.1 libc/stdio/asprintf.c:INITIAL->1.1 libc/stdio/clearerr.c:INITIAL->1.1 libc/stdio/ctermid.c:1.1->1.2 libc/stdio/dprintf.c:INITIAL->1.1 libc/stdio/fclose.c:INITIAL->1.1 libc/stdio/fcloseall.c:INITIAL->1.1 libc/stdio/fdopen.c:INITIAL->1.1 libc/stdio/feof.c:INITIAL->1.1 libc/stdio/ferror.c:INITIAL->1.1 libc/stdio/fflush.c:INITIAL->1.1 libc/stdio/fgetc.c:INITIAL->1.1 libc/stdio/fgetpos.c:INITIAL->1.1 libc/stdio/fgets.c:INITIAL->1.1 libc/stdio/fgetwc.c:INITIAL->1.1 libc/stdio/fgetws.c:INITIAL->1.1 libc/stdio/fileno.c:INITIAL->1.1 libc/stdio/flockfile.c:INITIAL->1.1 libc/stdio/fmemopen.c:INITIAL->1.1 libc/stdio/fopen.c:INITIAL->1.1 libc/stdio/fopencookie.c:INITIAL->1.1 libc/stdio/fprintf.c:INITIAL->1.1 libc/stdio/fputc.c:INITIAL->1.1 libc/stdio/fputs.c:INITIAL->1.1 libc/stdio/fputwc.c:INITIAL->1.1 libc/stdio/fputws.c:INITIAL->1.1 libc/stdio/fread.c:INITIAL->1.1 libc/stdio/freopen.c:INITIAL->1.1 libc/stdio/fseeko.c:INITIAL->1.1 libc/stdio/fsetpos.c:INITIAL->1.1 libc/stdio/ftello.c:INITIAL->1.1 libc/stdio/ftrylockfile.c:INITIAL->1.1 libc/stdio/funlockfile.c:INITIAL->1.1 libc/stdio/fwide.c:INITIAL->1.1 libc/stdio/fwprintf.c:INITIAL->1.1 libc/stdio/fwrite.c:INITIAL->1.1 libc/stdio/getchar.c:INITIAL->1.1 libc/stdio/getdelim.c:1.9->1.10 libc/stdio/getline.c:1.8->1.9 libc/stdio/gets.c:INITIAL->1.1 libc/stdio/getw.c:1.2->1.3 libc/stdio/getwchar.c:INITIAL->1.1 libc/stdio/old_vfprintf.c:1.9->1.10 libc/stdio/open_memstream.c:INITIAL->1.1 libc/stdio/perror.c:1.4->1.5 libc/stdio/popen.c:1.10->1.11 libc/stdio/printf.c:1.49->1.50 libc/stdio/putchar.c:INITIAL->1.1 libc/stdio/puts.c:INITIAL->1.1 libc/stdio/putw.c:1.2->1.3 libc/stdio/putwchar.c:INITIAL->1.1 libc/stdio/remove.c:1.3->1.4 libc/stdio/rewind.c:INITIAL->1.1 libc/stdio/scanf.c:1.33->1.34 libc/stdio/setbuf.c:INITIAL->1.1 libc/stdio/setbuffer.c:INITIAL->1.1 libc/stdio/setlinebuf.c:INITIAL->1.1 libc/stdio/setvbuf.c:INITIAL->1.1 libc/stdio/snprintf.c:INITIAL->1.1 libc/stdio/sprintf.c:INITIAL->1.1 libc/stdio/stdio.c:1.75->1.76(DEAD) libc/stdio/swprintf.c:INITIAL->1.1 libc/stdio/ungetc.c:INITIAL->1.1 libc/stdio/ungetwc.c:INITIAL->1.1 libc/stdio/vasprintf.c:INITIAL->1.1 libc/stdio/vdprintf.c:INITIAL->1.1 libc/stdio/vfprintf.c:INITIAL->1.1 libc/stdio/vprintf.c:INITIAL->1.1 libc/stdio/vsnprintf.c:INITIAL->1.1 libc/stdio/vsprintf.c:INITIAL->1.1 libc/stdio/vswprintf.c:INITIAL->1.1 libc/stdio/vwprintf.c:INITIAL->1.1 libc/stdio/wprintf.c:INITIAL->1.1 libc/stdlib/ptsname.c:1.8->1.9 libc/stdlib/stdlib.c:1.12->1.13 libc/sysdeps/linux/common/bits/uClibc_locale.h:1.12->1.13 libc/sysdeps/linux/common/bits/uClibc_uintmaxtostr.h:INITIAL->1.1 libpthread/linuxthreads/lockfile.c:1.3->1.4 --------------------- PatchSet 3261 Date: 2004/02/11 23:18:33 Author: andersen Branch: HEAD Tag: (none) Log: Add our own copies of the include/scsi header files, per what glibc does, rather than depending on the kernel header files. -Erik Members: include/scsi/scsi.h:INITIAL->1.1 include/scsi/scsi_ioctl.h:INITIAL->1.1 include/scsi/sg.h:INITIAL->1.1 --------------------- PatchSet 3262 Date: 2004/02/11 23:38:34 Author: andersen Branch: HEAD Tag: (none) Log: Paul Mundt lethal at linux-sh dot org writes: We can't use trapa #0xff on sh2, the only permissible trapa ranges are 32 to 63. On SH-2, we use trapa32 to issue a break in the same way that trapa #0xff is used on SH-3/4. This behavior is implementation specific, but is what is used in sh-ipl+g, linux, eCos, uITRON, etc. so we follow suit here. Members: libc/stdlib/abort.c:1.17->1.18 --------------------- PatchSet 3263 Date: 2004/02/11 23:48:39 Author: mjn3 Branch: HEAD Tag: (none) Log: New stdio core. Should be more maintainable. Fixes a couple of bugs. Codepaths streamlined. Improved performance for nonthreaded apps when linked with a thread-enabled libc. Minor iconv bug and some locale/thread related startup issues fixed. These showed up in getting a gcj-compiled java helloworld app running. Removed some old extension functions... _stdio_fdout and _stdio_fsfopen. Members: include/stdio.h:1.29->1.30 include/wchar.h:1.6->1.7 libc/inet/addr.c:1.14->1.15 libc/misc/locale/locale.c:1.18->1.19 libc/misc/time/time.c:1.20->1.21 libc/pwd_grp/pwd_grp.c:1.5->1.6 libc/stdio/Makefile:1.42->1.43 libc/stdio/_stdio.h:INITIAL->1.1 libc/stdlib/abort.c:1.16->1.17 libc/string/wstring.c:1.18->1.19 libc/sysdeps/linux/common/bits/uClibc_stdio.h:1.15->1.16 libpthread/linuxthreads/pthread.c:1.12->1.13 --------------------- PatchSet 3264 Date: 2004/02/12 00:18:32 Author: andersen Branch: HEAD Tag: (none) Log: Add our own copies of the include/scsi header files, per what glibc does, rather than depending on the kernel header files. -Erik Members: Makefile:1.244->1.245 extra/scripts/fix_includes.sh:1.10->1.11 --------------------- PatchSet 3265 Date: 2004/02/12 00:28:04 Author: andersen Branch: HEAD Tag: (none) Log: Add missing mips specific include/sys/user.h Members: libc/sysdeps/linux/mips/sys/user.h:INITIAL->1.1 --------------------- PatchSet 3266 Date: 2004/02/12 06:59:32 Author: andersen Branch: HEAD Tag: (none) Log: More todo list updates Members: TODO:1.47->1.48 --------------------- PatchSet 3267 Date: 2004/02/12 08:51:21 Author: andersen Branch: HEAD Tag: (none) Log: Based on a problem report and patch from Florian Schirmer, fix a compile problem with mips -- contrary to my expectation gcc on mips _always_ defines __PIC__ which breaks the assumption inherent in my code. This should fix things up. Members: ldso/libdl/Makefile:1.35->1.36 ldso/libdl/libdl.c:1.37->1.38 --------------------- PatchSet 3268 Date: 2004/02/13 00:03:48 Author: mjn3 Branch: HEAD Tag: (none) Log: Oops.. The custom stream funcs should only be compiled if wanted. Members: libc/stdio/Makefile:1.43->1.44 --------------------- PatchSet 3269 Date: 2004/02/13 09:51:32 Author: andersen Branch: HEAD Tag: (none) Log: Avoid potential double free when locate_library_file() is used on fully resolved names Members: utils/ldd.c:1.4->1.5 --------------------- PatchSet 3270 Date: 2004/02/13 10:39:59 Author: andersen Branch: HEAD Tag: (none) Log: Cleanup whitespace and formatting Members: utils/ldd.c:1.5->1.6 --------------------- PatchSet 3271 Date: 2004/02/13 10:52:41 Author: andersen Branch: HEAD Tag: (none) Log: Fix the annoying "not a dynamic executable" problem when running ldd on libuClibc Members: utils/ldd.c:1.6->1.7 --------------------- PatchSet 3272 Date: 2004/02/13 10:56:43 Author: andersen Branch: HEAD Tag: (none) Log: A better fix... Members: utils/ldd.c:1.7->1.8 --------------------- PatchSet 3273 Date: 2004/02/13 11:01:02 Author: andersen Branch: HEAD Tag: (none) Log: Another little touch up to avoid problems... Members: utils/ldd.c:1.8->1.9 --------------------- PatchSet 3274 Date: 2004/02/13 11:05:36 Author: andersen Branch: HEAD Tag: (none) Log: Done free path if it equals not_found Remember to flose an fopened file Members: utils/ldd.c:1.9->1.10 --------------------- PatchSet 3275 Date: 2004/02/13 11:11:10 Author: andersen Branch: HEAD Tag: (none) Log: Yet more fixups.. Members: utils/ldd.c:1.10->1.11 --------------------- PatchSet 3276 Date: 2004/02/14 11:30:30 Author: andersen Branch: HEAD Tag: (none) Log: Joakim Tjernlund writes: Hi it is me again. This is the latest ldso patch. the NEW weak symbol handling works now with a little special handling in _dl_find_hash(). You get to chose if you want the new or old handling :) There was 2 missing _dl_check_if_named_library_is_loaded() calls in _dlopen(). I then disabled the _dl_check_if_named_library_is_loaded() in dl-elf.c since it is rendundant. Question, why does some _dl_linux_resolver(), like i386, have 2 calls to _dl_find_hash()? I think that is wrong, isn't it? I really hope you can check this out soon ... Members: ldso/include/dl-elf.h:1.9->1.10 ldso/include/dl-hash.h:1.3->1.4 ldso/ldso/dl-elf.c:1.65->1.66 ldso/ldso/dl-hash.c:1.17->1.18 ldso/ldso/dl-startup.c:1.5->1.6 ldso/ldso/ldso.c:1.92->1.93 ldso/ldso/arm/dl-sysdep.h:1.7->1.8 ldso/ldso/arm/elfinterp.c:1.18->1.19 ldso/ldso/cris/dl-sysdep.h:1.4->1.5 ldso/ldso/cris/elfinterp.c:1.7->1.8 ldso/ldso/i386/dl-sysdep.h:1.9->1.10 ldso/ldso/i386/elfinterp.c:1.29->1.30 ldso/ldso/m68k/dl-sysdep.h:1.4->1.5 ldso/ldso/m68k/elfinterp.c:1.15->1.16 ldso/ldso/mips/dl-sysdep.h:1.7->1.8 ldso/ldso/mips/elfinterp.c:1.9->1.10 ldso/ldso/powerpc/dl-sysdep.h:1.9->1.10 ldso/ldso/powerpc/elfinterp.c:1.36->1.37 ldso/ldso/sh/dl-sysdep.h:1.8->1.9 ldso/ldso/sh/elfinterp.c:1.8->1.9 ldso/ldso/sh64/dl-sysdep.h:1.1->1.2 ldso/ldso/sh64/elfinterp.c:1.2->1.3 ldso/ldso/sparc/dl-sysdep.h:1.5->1.6 ldso/ldso/sparc/elfinterp.c:1.14->1.15 ldso/libdl/libdl.c:1.38->1.39 --------------------- PatchSet 3277 Date: 2004/02/14 11:53:48 Author: andersen Branch: HEAD Tag: (none) Log: Give gcc branch prediction some hits on obviously unlikely branches Members: ldso/ldso/arm/elfinterp.c:1.19->1.20 ldso/ldso/cris/elfinterp.c:1.8->1.9 ldso/ldso/i386/elfinterp.c:1.30->1.31 ldso/ldso/m68k/elfinterp.c:1.16->1.17 ldso/ldso/mips/elfinterp.c:1.10->1.11 ldso/ldso/powerpc/elfinterp.c:1.37->1.38 ldso/ldso/sh/elfinterp.c:1.9->1.10 ldso/ldso/sh64/elfinterp.c:1.3->1.4 ldso/ldso/sparc/elfinterp.c:1.15->1.16 --------------------- PatchSet 3278 Date: 2004/02/14 11:57:41 Author: mjn3 Branch: HEAD Tag: (none) Log: Fix this as should have been done a long time ago... Members: ldso/ldso/Makefile:1.55->1.56 --------------------- PatchSet 3279 Date: 2004/02/14 12:33:19 Author: andersen Branch: HEAD Tag: (none) Log: Atsushi Nemoto writes: Also, if you are to enable SUPPORT_LD_DEBUG on MIPS, I think this patch is needed too. Members: ldso/ldso/mips/elfinterp.c:1.11->1.12 --------------------- PatchSet 3280 Date: 2004/02/14 12:48:47 Author: andersen Branch: HEAD Tag: (none) Log: No point in including debug info for ldso. It isn't helpful to do so since gdb can't do anything for us. Members: ldso/ldso/Makefile:1.56->1.57 --------------------- PatchSet 3281 Date: 2004/02/14 21:02:41 Author: andersen Branch: HEAD Tag: (none) Log: Update FAQ a bit Members: docs/uclibc.org/FAQ.html:1.24->1.25 --------------------- PatchSet 3282 Date: 2004/02/14 21:24:17 Author: andersen Branch: HEAD Tag: (none) Log: Add some padding on the bottom Members: docs/uclibc.org/FAQ.html:1.25->1.26 --------------------- PatchSet 3283 Date: 2004/02/15 07:52:38 Author: andersen Branch: HEAD Tag: (none) Log: Use the generic fork implementation on sh64 Members: libc/sysdeps/linux/sh64/fork.c:1.1->1.2(DEAD) --------------------- PatchSet 3284 Date: 2004/02/15 08:02:54 Author: andersen Branch: HEAD Tag: (none) Log: Fixup fork implementation to provide the __libc_fork symbol Members: libc/sysdeps/linux/cris/fork.c:1.1->1.2 --------------------- PatchSet 3285 Date: 2004/02/15 08:43:03 Author: andersen Branch: HEAD Tag: (none) Log: Cris can use the generic vfork Members: libc/sysdeps/linux/cris/vfork.c:1.1->1.2(DEAD) --------------------- PatchSet 3286 Date: 2004/02/15 08:47:47 Author: andersen Branch: HEAD Tag: (none) Log: Mips can use the generic vfork Members: libc/sysdeps/linux/mips/vfork.c:1.2->1.3(DEAD) --------------------- PatchSet 3287 Date: 2004/02/15 08:52:38 Author: andersen Branch: HEAD Tag: (none) Log: Use the generic fork implementation on sh64 Members: libc/sysdeps/linux/sh64/Makefile:1.6->1.7 --------------------- PatchSet 3288 Date: 2004/02/15 08:54:41 Author: andersen Branch: HEAD Tag: (none) Log: Oops. Members: libc/sysdeps/linux/sparc/fork.S:1.3->1.4 --------------------- PatchSet 3289 Date: 2004/02/15 09:02:54 Author: andersen Branch: HEAD Tag: (none) Log: Fixup fork implementation to provide the __libc_fork symbol Members: libc/sysdeps/linux/sparc/fork.S:1.2->1.3 --------------------- PatchSet 3290 Date: 2004/02/15 09:34:42 Author: andersen Branch: HEAD Tag: (none) Log: This should not be inlined. This should probably use a weak alias as well... Members: libc/sysdeps/linux/e1/vfork.c:1.1->1.2 --------------------- PatchSet 3291 Date: 2004/02/15 09:35:42 Author: mjn3 Branch: HEAD Tag: (none) Log: Generic fork works. Use it instead since this didn't handle errno_location. Members: libc/sysdeps/linux/mips/fork.S:1.3->1.4(DEAD) --------------------- PatchSet 3292 Date: 2004/02/15 09:43:03 Author: andersen Branch: HEAD Tag: (none) Log: Cris can use the generic vfork Members: libc/sysdeps/linux/cris/Makefile:1.12->1.13 --------------------- PatchSet 3293 Date: 2004/02/15 09:47:47 Author: andersen Branch: HEAD Tag: (none) Log: Mips can use the generic vfork Members: libc/sysdeps/linux/mips/Makefile:1.38->1.39 --------------------- PatchSet 3294 Date: 2004/02/15 10:35:42 Author: mjn3 Branch: HEAD Tag: (none) Log: Generic fork works. Use it instead since this didn't handle errno_location. Members: libc/sysdeps/linux/mips/Makefile:1.39->1.40 --------------------- PatchSet 3295 Date: 2004/02/17 06:37:02 Author: andersen Branch: HEAD Tag: (none) Log: Provide the ldso syscalls and string funcs earlier in the list Members: ldso/include/ldso.h:1.6->1.7 --------------------- PatchSet 3296 Date: 2004/02/17 06:38:01 Author: andersen Branch: HEAD Tag: (none) Log: Do not duplicate stuff from ldso.h Members: ldso/ldso/arm/dl-syscalls.h:1.6->1.7 --------------------- PatchSet 3297 Date: 2004/02/17 07:02:08 Author: andersen Branch: HEAD Tag: (none) Log: When doing _dl_mmap to obtain a bit of anonymous memory, use a much more sensible -1 fd, rather than pretending to work off of fd 0, which makes absolutely no sense. Members: ldso/ldso/dl-elf.c:1.66->1.67 ldso/ldso/dl-startup.c:1.6->1.7 --------------------- PatchSet 3298 Date: 2004/02/17 07:33:12 Author: andersen Branch: HEAD Tag: (none) Log: Kill off an arm specific hack, that fostered three other arch specific hacks. Just check for the elf magic string one byte at a time.... Members: ldso/ldso/dl-startup.c:1.7->1.8 ldso/ldso/arm/dl-startup.h:1.6->1.7 --------------------- PatchSet 3299 Date: 2004/02/17 09:40:47 Author: mjn3 Branch: HEAD Tag: (none) Log: Sigh... Fall back to alloca() if munmap is broken (uClinux). Members: libc/unistd/exec.c:1.2->1.3 --------------------- PatchSet 3300 Date: 2004/02/17 09:55:55 Author: andersen Branch: HEAD Tag: (none) Log: Seperate out the startup stuff from the non-startup stuff. Begin converting some big ugly macros to inline functions instead Members: ldso/ldso/m68k/dl-sysdep.h:1.5->1.6 ldso/ldso/sh/dl-sysdep.h:1.9->1.10 --------------------- PatchSet 3301 Date: 2004/02/17 10:49:01 Author: andersen Branch: HEAD Tag: (none) Log: Fixup fdatasync on alpha, thanks to Alan Hourihane Members: libc/sysdeps/linux/common/fdatasync.c:1.1->1.2 --------------------- PatchSet 3302 Date: 2004/02/17 10:55:54 Author: andersen Branch: HEAD Tag: (none) Log: Seperate out the startup stuff from the non-startup stuff. Begin converting some big ugly macros to inline functions instead Members: ldso/ldso/arm/dl-startup.h:1.7->1.8 ldso/ldso/arm/dl-sysdep.h:1.8->1.9 ldso/ldso/cris/dl-startup.h:1.5->1.6 ldso/ldso/cris/dl-sysdep.h:1.5->1.6 ldso/ldso/i386/dl-startup.h:1.4->1.5 ldso/ldso/i386/dl-sysdep.h:1.10->1.11 ldso/ldso/m68k/dl-startup.h:1.4->1.5 ldso/ldso/mips/dl-startup.h:1.8->1.9 ldso/ldso/mips/dl-sysdep.h:1.8->1.9 ldso/ldso/powerpc/dl-startup.h:1.8->1.9 ldso/ldso/powerpc/dl-sysdep.h:1.10->1.11 ldso/ldso/sh/dl-startup.h:1.5->1.6 ldso/ldso/sh64/dl-startup.h:1.3->1.4 ldso/ldso/sh64/dl-sysdep.h:1.2->1.3 ldso/ldso/sparc/dl-startup.h:1.4->1.5 ldso/ldso/sparc/dl-sysdep.h:1.6->1.7 --------------------- PatchSet 3303 Date: 2004/02/17 11:25:03 Author: andersen Branch: HEAD Tag: (none) Log: Fixup support for gcc 2.95 Members: ldso/include/ldso.h:1.7->1.8 --------------------- PatchSet 3304 Date: 2004/02/18 00:15:34 Author: andersen Branch: HEAD Tag: (none) Log: Alexandre Oliva writes: While testing the FR-V code with GCC mainline, I ran into some problems in the RPC code. It relies on a GCC extension that is no longer available, namely, the result of a cast is no longer considered an lvalue. This patch enables the code to compile. I haven't been able to test RPC though, especially in a multi-threaded environment. Members: include/rpc/xdr.h:1.5->1.6 libc/inet/rpc/auth_none.c:1.6->1.7 libc/inet/rpc/clnt_raw.c:1.7->1.8 libc/inet/rpc/clnt_simple.c:1.9->1.10 libc/inet/rpc/svc.c:1.10->1.11 libc/inet/rpc/svc_raw.c:1.7->1.8 --------------------- PatchSet 3305 Date: 2004/02/18 01:15:34 Author: andersen Branch: HEAD Tag: (none) Log: Alexandre Oliva writes: While testing the FR-V code with GCC mainline, I ran into some problems in the RPC code. It relies on a GCC extension that is no longer available, namely, the result of a cast is no longer considered an lvalue. This patch enables the code to compile. I haven't been able to test RPC though, especially in a multi-threaded environment. Members: libc/inet/rpc/clnt_perror.c:1.9->1.10 libc/inet/rpc/svc_simple.c:1.8->1.9 --------------------- PatchSet 3306 Date: 2004/02/18 07:04:49 Author: andersen Branch: HEAD Tag: (none) Log: Alexandre Oliva writes: This patch adds code to uClibc to support a new ABI designed for the FR-V architecture, that enables text segments of executables and shared libraries to be shared by multiple processes on an OS such as uClinux, that can run on FR-V processors without an MMU. Patches for binutils and GCC have just been posted in the corresponding mailing lists. The binutils patch was approved, but there's one additional patch pending review, that I posted this week. An updated GCC patch will be posted to gcc-patches@gcc.gnu.org as soon as I complete testing (I used a known-good compiler to test the uClibc patch below). Since the existing dynamic loader code didn't support independent relocation of segments, it required changes that were somewhat extensive. I've added a number of new machine-specific macros to try to keep the platform and ABI-specific details outside the generic code. I hope this is not a problem. Members: libc/sysdeps/linux/frv/__longjmp.S:INITIAL->1.1 libc/sysdeps/linux/frv/dl-iterate-phdr.c:INITIAL->1.1 libc/sysdeps/linux/frv/setjmp.S:INITIAL->1.1 libc/sysdeps/linux/frv/bits/endian.h:INITIAL->1.1 libc/sysdeps/linux/frv/bits/fcntl.h:INITIAL->1.1 libc/sysdeps/linux/frv/bits/kernel_types.h:INITIAL->1.1 libc/sysdeps/linux/frv/bits/mman.h:INITIAL->1.1 libc/sysdeps/linux/frv/bits/setjmp.h:INITIAL->1.1 libc/sysdeps/linux/frv/bits/stackinfo.h:INITIAL->1.1 libc/sysdeps/linux/frv/bits/wordsize.h:INITIAL->1.1 libc/sysdeps/linux/frv/sys/procfs.h:INITIAL->1.1 libc/sysdeps/linux/frv/sys/ptrace.h:INITIAL->1.1 --------------------- PatchSet 3307 Date: 2004/02/18 07:18:34 Author: andersen Branch: HEAD Tag: (none) Log: Fixup naming of '_mmap' to 'mmap' so it will properly override the symbol in common. Members: libc/sysdeps/linux/frv/_mmap.c:1.1->1.2(DEAD) libc/sysdeps/linux/frv/mmap.c:INITIAL->1.1 --------------------- PatchSet 3308 Date: 2004/02/18 08:04:48 Author: andersen Branch: HEAD Tag: (none) Log: Alexandre Oliva writes: This patch adds code to uClibc to support a new ABI designed for the FR-V architecture, that enables text segments of executables and shared libraries to be shared by multiple processes on an OS such as uClinux, that can run on FR-V processors without an MMU. Patches for binutils and GCC have just been posted in the corresponding mailing lists. The binutils patch was approved, but there's one additional patch pending review, that I posted this week. An updated GCC patch will be posted to gcc-patches@gcc.gnu.org as soon as I complete testing (I used a known-good compiler to test the uClibc patch below). Since the existing dynamic loader code didn't support independent relocation of segments, it required changes that were somewhat extensive. I've added a number of new machine-specific macros to try to keep the platform and ABI-specific details outside the generic code. I hope this is not a problem. Members: Rules.mak:1.162->1.163 extra/Configs/Config.frv:INITIAL->1.1 extra/Configs/Config.frv.default:INITIAL->1.1 extra/Configs/Config.in:1.44->1.45 include/elf.h:1.10->1.11 ldso/ldso/frv/dl-startup.h:INITIAL->1.1 ldso/ldso/frv/dl-syscalls.h:INITIAL->1.1 ldso/ldso/frv/dl-sysdep.h:INITIAL->1.1 ldso/ldso/frv/elfinterp.c:INITIAL->1.1 ldso/ldso/frv/resolve.S:INITIAL->1.1 libc/sysdeps/linux/frv/Makefile:INITIAL->1.1 libc/sysdeps/linux/frv/__init_brk.c:INITIAL->1.1 libc/sysdeps/linux/frv/_mmap.c:INITIAL->1.1 libc/sysdeps/linux/frv/brk.c:INITIAL->1.1 libc/sysdeps/linux/frv/clone.S:INITIAL->1.1 libc/sysdeps/linux/frv/crt0.S:INITIAL->1.1 libc/sysdeps/linux/frv/crti.S:INITIAL->1.1 libc/sysdeps/linux/frv/crtn.S:INITIAL->1.1 libc/sysdeps/linux/frv/crtreloc.c:INITIAL->1.1 libc/sysdeps/linux/frv/sbrk.c:INITIAL->1.1 libc/sysdeps/linux/frv/sysdep.c:INITIAL->1.1 libc/sysdeps/linux/frv/vfork.S:INITIAL->1.1 libc/sysdeps/linux/frv/bits/elf-fdpic.h:INITIAL->1.1 libc/sysdeps/linux/frv/bits/kernel_stat.h:INITIAL->1.1 libc/sysdeps/linux/frv/bits/syscalls.h:INITIAL->1.1 libc/sysdeps/linux/frv/sys/ucontext.h:INITIAL->1.1 libpthread/linuxthreads/sysdeps/frv/pt-machine.h:INITIAL->1.1 --------------------- PatchSet 3309 Date: 2004/02/18 08:12:30 Author: andersen Branch: HEAD Tag: (none) Log: Minor change to better match recent changes to other arches Members: ldso/ldso/frv/dl-startup.h:1.1->1.2 ldso/ldso/frv/dl-sysdep.h:1.1->1.2 --------------------- PatchSet 3310 Date: 2004/02/18 08:18:34 Author: andersen Branch: HEAD Tag: (none) Log: Fixup naming of '_mmap' to 'mmap' so it will properly override the symbol in common. Members: libc/sysdeps/linux/frv/Makefile:1.1->1.2 --------------------- PatchSet 3311 Date: 2004/02/19 02:36:31 Author: andersen Branch: HEAD Tag: (none) Log: Update the x86 processor listing a bit, to preempt further questions about the best settings the AMD Elan and the VIA Nehemiah. Members: extra/Configs/Config.i386:1.39->1.40 --------------------- PatchSet 3312 Date: 2004/02/19 03:36:31 Author: andersen Branch: HEAD Tag: (none) Log: Update the x86 processor listing a bit, to preempt further questions about the best settings the AMD Elan and the VIA Nehemiah. Members: Rules.mak:1.163->1.164 --------------------- PatchSet 3313 Date: 2004/02/20 02:32:06 Author: andersen Branch: HEAD Tag: (none) Log: When doing symbol lookups on functions Members: ldso/ldso/ldso.c:1.93->1.94 --------------------- PatchSet 3314 Date: 2004/02/20 02:36:23 Author: mjn3 Branch: HEAD Tag: (none) Log: Patch by Joakim Tjernlund , which got mips mostly working. From there, I tracked the bash failure to a bad _dl_atexit address and Erik took it from there. Members: ldso/ldso/mips/elfinterp.c:1.12->1.13 --------------------- PatchSet 3315 Date: 2004/02/20 02:40:15 Author: andersen Branch: HEAD Tag: (none) Log: Slightly cleaner formatting Members: ldso/include/dl-elf.h:1.10->1.11 --------------------- PatchSet 3316 Date: 2004/02/20 02:59:42 Author: andersen Branch: HEAD Tag: (none) Log: ___brk_addr and __environ are not functions. Finding the broken 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.... Members: ldso/ldso/ldso.c:1.94->1.95 --------------------- PatchSet 3317 Date: 2004/02/20 03:05:35 Author: andersen Branch: HEAD Tag: (none) Log: Patch from Joakim Tjernlund: white space cleanup and optimize the inner loop in dl_find_hash. Members: ldso/ldso/dl-hash.c:1.18->1.19 --------------------- PatchSet 3318 Date: 2004/02/20 03:09:45 Author: andersen Branch: HEAD Tag: (none) Log: Per discussion with Joakim Tjernlund, all the horrible weak declarations junk 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), Members: ldso/libdl/libdl.c:1.39->1.40 --------------------- PatchSet 3319 Date: 2004/02/20 03:37:58 Author: andersen Branch: HEAD Tag: (none) Log: Sigh. I switched the values... Members: ldso/include/dl-elf.h:1.11->1.12 --------------------- PatchSet 3320 Date: 2004/03/06 00:18:08 Author: andersen Branch: HEAD Tag: (none) Log: note that syscall on mips needs to be fixed Members: TODO:1.48->1.49 --------------------- PatchSet 3321 Date: 2004/03/06 18:44:35 Author: andersen Branch: HEAD Tag: (none) Log: Update with the contents of a very helpful comparison of interfaces vs SuSv3 from heukelum at freemail dot nl Members: docs/uClibc_vs_SuSv3.txt:1.4->1.5 --------------------- PatchSet 3322 Date: 2004/03/08 20:57:21 Author: andersen Branch: HEAD Tag: (none) Log: Fix comment Members: utils/ldd.c:1.11->1.12 --------------------- PatchSet 3323 Date: 2004/03/09 21:57:12 Author: andersen Branch: HEAD Tag: (none) Log: Update todo list indicating the items remaining before 0.9.27 Members: TODO:1.49->1.50 --------------------- PatchSet 3324 Date: 2004/03/09 22:33:56 Author: andersen Branch: HEAD Tag: (none) Log: More detail about malloc-simple Members: extra/Configs/Config.in:1.45->1.46 --------------------- PatchSet 3325 Date: 2004/03/10 20:43:23 Author: mjn3 Branch: HEAD Tag: (none) Log: Bug fix: gethostbyname2_r would fail if /etc/host was missing. Bug fix: gethostbyname_r checked errno without first setting it to a known value. Members: libc/inet/resolv.c:1.52->1.53 --------------------- PatchSet 3326 Date: 2004/03/11 09:10:53 Author: mjn3 Branch: HEAD Tag: (none) Log: Rewrite the err/warn functions as they were broken (__noreturn__ funcs were returning). Anyway, also make them threadsafe and smaller. The error.c file still needs work. Members: libc/misc/error/Makefile:1.2->1.3 libc/misc/error/err.c:INITIAL->1.1 libc/misc/error/error.c:1.3->1.4 --------------------- PatchSet 3327 Date: 2004/03/11 23:21:20 Author: andersen Branch: HEAD Tag: (none) Log: Cope gracefully with missing module syscalls Members: libc/sysdeps/linux/common/create_module.c:1.9->1.10 --------------------- PatchSet 3328 Date: 2004/03/12 00:21:20 Author: andersen Branch: HEAD Tag: (none) Log: Cope gracefully with missing module syscalls Members: libc/sysdeps/linux/common/delete_module.c:1.1->1.2 libc/sysdeps/linux/common/init_module.c:1.1->1.2 libc/sysdeps/linux/common/query_module.c:1.1->1.2 --------------------- PatchSet 3329 Date: 2004/03/18 08:00:40 Author: andersen Branch: HEAD Tag: (none) Log: Joakim Tjernlund writes: 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? Members: ldso/ldso/powerpc/dl-startup.h:1.9->1.10 --------------------- PatchSet 3330 Date: 2004/03/18 10:12:33 Author: andersen Branch: HEAD Tag: (none) Log: Reduce memory used by static buffers and allocate that memory dynamicly 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? Members: libc/inet/getproto.c:1.6->1.7 libc/misc/mntent/mntent.c:1.6->1.7 --------------------- PatchSet 3331 Date: 2004/03/18 10:28:51 Author: andersen Branch: HEAD Tag: (none) Log: Based on a patch from Alexandre Oliva, remove all reference to 'bzero' (which is not a SuSv3 symbol). Rather than using __bzero internally per Alexandre's original patch, use memset instead. Members: libc/inet/rpc/bindresvport.c:1.9->1.10 libc/inet/rpc/clnt_generic.c:1.7->1.8 libc/inet/rpc/pmap_rmt.c:1.11->1.12 libc/inet/rpc/svc_simple.c:1.9->1.10 libc/inet/rpc/svc_tcp.c:1.8->1.9 libc/inet/rpc/svc_udp.c:1.7->1.8 libc/inet/rpc/xdr_array.c:1.8->1.9 libc/inet/rpc/xdr_reference.c:1.7->1.8 libc/sysdeps/linux/common/poll.c:1.3->1.4 --------------------- PatchSet 3332 Date: 2004/03/18 10:38:02 Author: andersen Branch: HEAD Tag: (none) Log: Supply '__bzero' with 'bzero' as just a weak alias (since it is not SuSv3) Members: libc/string/arm/bzero.S:1.1->1.2 libc/string/powerpc/string.c:1.1->1.2 --------------------- PatchSet 3333 Date: 2004/03/18 10:41:12 Author: andersen Branch: HEAD Tag: (none) Log: Alexandre Oliva writes: I added this function after I posted the last version of the FR-V patch. Add syscall.c. Members: libc/sysdeps/linux/frv/syscall.c:INITIAL->1.1 --------------------- PatchSet 3334 Date: 2004/03/18 10:43:18 Author: andersen Branch: HEAD Tag: (none) Log: Alexandre Oliva writes: 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. Members: extra/scripts/relative_path.sh:INITIAL->1.1 --------------------- PatchSet 3335 Date: 2004/03/18 11:12:33 Author: andersen Branch: HEAD Tag: (none) Log: Reduce memory used by static buffers and allocate that memory dynamicly 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? Members: libc/inet/getnetent.c:1.5->1.6 libc/inet/getservice.c:1.8->1.9 libc/misc/ttyent/getttyent.c:1.3->1.4 --------------------- PatchSet 3336 Date: 2004/03/18 11:17:14 Author: andersen Branch: HEAD Tag: (none) Log: Look in /usr/X11R6/lib as well Members: ldso/ldso/dl-elf.c:1.67->1.68 utils/ldd.c:1.12->1.13 --------------------- PatchSet 3337 Date: 2004/03/18 11:28:50 Author: andersen Branch: HEAD Tag: (none) Log: Based on a patch from Alexandre Oliva, remove all reference to 'bzero' (which is not a SuSv3 symbol). Rather than using __bzero internally per Alexandre's original patch, use memset instead. Members: libc/string/wstring.c:1.19->1.20 libutil/logout.c:1.1->1.2 --------------------- PatchSet 3338 Date: 2004/03/18 11:41:12 Author: andersen Branch: HEAD Tag: (none) Log: Alexandre Oliva writes: I added this function after I posted the last version of the FR-V patch. Add syscall.c. Members: libc/sysdeps/linux/frv/Makefile:1.2->1.3 --------------------- PatchSet 3339 Date: 2004/03/18 11:43:18 Author: andersen Branch: HEAD Tag: (none) Log: Alexandre Oliva writes: 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. Members: Makefile:1.245->1.246 --------------------- PatchSet 3340 Date: 2004/03/19 12:03:30 Author: andersen Branch: HEAD Tag: (none) Log: Based on a patch from Alexandre Oliva, allow uClibc to compile with __NR_mmap is not available (i.e. only __NR_mmap2) Members: ldso/include/dl-syscall.h:1.4->1.5 libc/sysdeps/linux/common/mmap.c:1.1->1.2 --------------------- PatchSet 3341 Date: 2004/03/19 19:38:10 Author: andersen Branch: HEAD Tag: (none) Log: Patch from Stefan Holst to fix argv[0] Members: libc/sysdeps/linux/sparc/crt0.c:1.4->1.5 --------------------- PatchSet 3342 Date: 2004/03/19 20:53:54 Author: andersen Branch: HEAD Tag: (none) Log: Per patch from Stefan Holst, do not try to compile these syscalls if they are not supported. Members: libc/sysdeps/linux/common/getresgid.c:1.1->1.2 libc/sysdeps/linux/common/getresuid.c:1.1->1.2 libc/sysdeps/linux/common/setresgid.c:1.1->1.2 libc/sysdeps/linux/common/setresuid.c:1.1->1.2 --------------------- PatchSet 3343 Date: 2004/03/24 21:21:07 Author: andersen Branch: HEAD Tag: (none) Log: glibc does not provide pppio.h, and our doing so conflicts with the ppp package Members: include/net/pppio.h:1.2->1.3(DEAD) --------------------- PatchSet 3344 Date: 2004/04/06 12:19:22 Author: andersen Branch: HEAD Tag: (none) Log: Fix a bug noticed by Oleg I. Vdovikin, oleg at cs dot msu dot su. 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. Members: libc/misc/syslog/syslog.c:1.12->1.13 --------------------- PatchSet 3345 Date: 2004/04/14 16:21:27 Author: mjn3 Branch: HEAD Tag: (none) Log: Fix typo. Members: libc/sysdeps/linux/common/bits/uClibc_stdio.h:1.16->1.17 --------------------- PatchSet 3346 Date: 2004/04/20 06:27:58 Author: andersen Branch: HEAD Tag: (none) Log: We don't need these... Members: libpthread/linuxthreads/ChangeLog:1.1->1.2(DEAD) libpthread/linuxthreads_db/ChangeLog:1.2->1.3(DEAD) --------------------- PatchSet 3347 Date: 2004/04/20 06:32:52 Author: andersen Branch: HEAD Tag: (none) Log: Cope with gcc 3.4's more aggressive persuit of attribute unused Members: include/features.h:1.57->1.58 ldso/ldso/arm/dl-startup.h:1.8->1.9 ldso/ldso/cris/dl-startup.h:1.6->1.7 ldso/ldso/frv/elfinterp.c:1.1->1.2 ldso/ldso/i386/dl-startup.h:1.5->1.6 ldso/ldso/m68k/dl-startup.h:1.5->1.6 ldso/ldso/mips/dl-startup.h:1.9->1.10 ldso/ldso/powerpc/dl-startup.h:1.10->1.11 ldso/ldso/sh/dl-startup.h:1.6->1.7 ldso/ldso/sh64/dl-startup.h:1.4->1.5 ldso/ldso/sparc/dl-startup.h:1.5->1.6 libc/inet/rpc/clnt_perror.c:1.10->1.11 libc/sysdeps/linux/alpha/bits/atomicity.h:1.1->1.2 libc/sysdeps/linux/arm/bits/atomicity.h:1.1->1.2 libc/sysdeps/linux/common/bits/atomicity.h:1.1->1.2 libc/sysdeps/linux/i386/bits/atomicity.h:1.1->1.2 libc/sysdeps/linux/i386/bits/mathinline.h:1.3->1.4 libc/sysdeps/linux/m68k/bits/atomicity.h:1.1->1.2 libc/sysdeps/linux/mips/bits/atomicity.h:1.1->1.2 libc/sysdeps/linux/powerpc/bits/atomicity.h:1.1->1.2 libc/sysdeps/linux/sh/bits/machine-gmon.h:1.2->1.3 libc/sysdeps/linux/sparc/bits/atomicity.h:1.1->1.2 libpthread/linuxthreads_db/td_thr_tls_get_addr.c:1.1->1.2 --------------------- PatchSet 3348 Date: 2004/04/20 17:09:40 Author: andersen Branch: HEAD Tag: (none) Log: Mention uwoody Members: docs/uclibc.org/news.html:1.11->1.12 --------------------- PatchSet 3349 Date: 2004/04/20 17:15:53 Author: andersen Branch: HEAD Tag: (none) Log: Fix grammar and spelling Members: docs/uclibc.org/news.html:1.12->1.13 --------------------- PatchSet 3350 Date: 2004/04/20 18:51:24 Author: andersen Branch: HEAD Tag: (none) Log: blah Members: docs/uclibc.org/news.html:1.13->1.14 --------------------- PatchSet 3351 Date: 2004/04/23 21:39:34 Author: andersen Branch: HEAD Tag: (none) Log: It turns out that asm/reg.h is missing from the 2.6.x kernel headers, 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. Members: libc/sysdeps/linux/mips/sys/user.h:1.1->1.2 --------------------- PatchSet 3352 Date: 2004/04/30 22:20:01 Author: andersen Branch: HEAD Tag: (none) Log: These headers should not be included in uClibc -- they should be part of the ppp instead. Members: include/net/slcompress.h:1.3->1.4(DEAD) include/net/vjcompress.h:1.3->1.4(DEAD) --------------------- PatchSet 3353 Date: 2004/04/30 22:59:38 Author: andersen Branch: HEAD Tag: (none) Log: Minor .deb updates Members: debian/changelog:1.20->1.21 debian/rules:1.30->1.31 --------------------- PatchSet 3354 Date: 2004/05/05 06:56:03 Author: andersen Branch: HEAD Tag: (none) Log: Jeroen Dobbelaere writes: 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. Members: libc/sysdeps/linux/arm/syscall.c:1.2->1.3 --------------------- PatchSet 3355 Date: 2004/05/05 06:56:30 Author: andersen Branch: HEAD Tag: (none) Log: Fix screwed up formatting Members: libc/sysdeps/linux/arm/syscall.c:1.3->1.4 --------------------- PatchSet 3356 Date: 2004/05/06 09:16:11 Author: andersen Branch: HEAD Tag: (none) Log: Alexandre Oliva writes: 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. Members: libpthread/linuxthreads/ptfork.c:1.3->1.4 --------------------- PatchSet 3357 Date: 2004/05/07 05:26:31 Author: andersen Branch: HEAD Tag: (none) Log: Change the global 'buf' to 'servbuf' since some functions in here use a local named 'buf' and we want to avoid shadowing that. Members: libc/inet/getservice.c:1.9->1.10 --------------------- PatchSet 3358 Date: 2004/05/07 06:52:18 Author: andersen Branch: HEAD Tag: (none) Log: UCLIBC_COMPLETELY_PIC does nothing, so kill it Members: extra/Configs/Config.frv:1.1->1.2 extra/Configs/Config.frv.default:1.1->1.2 extra/Configs/Config.in:1.46->1.47 --------------------- PatchSet 3359 Date: 2004/05/07 10:00:36 Author: mjn3 Branch: HEAD Tag: (none) Log: Add missing include. Members: libc/inet/getnetent.c:1.6->1.7 --------------------- PatchSet 3360 Date: 2004/05/07 10:19:14 Author: mjn3 Branch: HEAD Tag: (none) Log: Fix a couple of issues in configurations I hadn't tested. Members: libc/stdio/_stdio.h:1.1->1.2 libc/sysdeps/linux/common/bits/uClibc_stdio.h:1.17->1.18 --------------------- PatchSet 3361 Date: 2004/05/07 10:22:52 Author: mjn3 Branch: HEAD Tag: (none) Log: "Fix" this so that at least things will link when threading is disabled. 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. Members: libc/misc/ttyent/getttyent.c:1.4->1.5 --------------------- PatchSet 3362 Date: 2004/05/07 10:30:59 Author: mjn3 Branch: HEAD Tag: (none) Log: Patch from Yoshinori Sato . Members: libc/sysdeps/linux/common/bits/machine-gmon.h:1.1->1.2 --------------------- PatchSet 3363 Date: 2004/05/07 10:53:57 Author: mjn3 Branch: HEAD Tag: (none) Log: Peter Mazinger asked for this several months ago. Members: include/elf.h:1.11->1.12 --------------------- PatchSet 3364 Date: 2004/05/08 05:12:14 Author: mjn3 Branch: HEAD Tag: (none) Log: Change clock() to allow wrapping. 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. Members: include/time.h:1.11->1.12 libc/misc/time/time.c:1.21->1.22 --------------------- PatchSet 3365 Date: 2004/05/08 05:20:24 Author: mjn3 Branch: HEAD Tag: (none) Log: Obligatory forgotten file... Members: libc/misc/time/Makefile:1.36->1.37 --------------------- PatchSet 3366 Date: 2004/05/10 12:59:17 Author: tobiasa Branch: HEAD Tag: (none) Log: Save r0 before modifying it. Members: ldso/ldso/cris/resolve.S:1.1->1.2 --------------------- PatchSet 3367 Date: 2004/05/11 07:21:47 Author: andersen Branch: HEAD Tag: (none) Log: Bradley D. LaRonde, brad at laronde dot org writes: 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! :-) Members: ldso/ldso/mips/elfinterp.c:1.13->1.14 --------------------- PatchSet 3368 Date: 2004/05/11 10:45:25 Author: andersen Branch: HEAD Tag: (none) Log: Purge trailing white space Members: libc/misc/internals/__uClibc_main.c:1.30->1.31 --------------------- PatchSet 3369 Date: 2004/05/11 11:14:57 Author: andersen Branch: HEAD Tag: (none) Log: make certain that getpagesize() returns correct the value for mips by extracting the value from the ELF header. Members: ldso/include/ldso.h:1.8->1.9 ldso/ldso/dl-elf.c:1.68->1.69 ldso/ldso/dl-startup.c:1.8->1.9 ldso/ldso/ldso.c:1.95->1.96 libc/misc/internals/__uClibc_main.c:1.31->1.32 libc/sysdeps/linux/common/getpagesize.c:1.3->1.4 --------------------- PatchSet 3370 Date: 2004/05/11 11:35:10 Author: andersen Branch: HEAD Tag: (none) Log: Setup a _dl_pagesize value for use by staticly linked apps Members: libc/misc/internals/__uClibc_main.c:1.32->1.33 --------------------- PatchSet 3371 Date: 2004/05/11 19:13:26 Author: andersen Branch: HEAD Tag: (none) Log: As noticed by the sharp eyed Joakim Tjernlund, I stupidly hard coded 4096 instead of PAGE_SIZE. Because I'm an idiot. Members: ldso/ldso/dl-startup.c:1.9->1.10 ldso/ldso/ldso.c:1.96->1.97 --------------------- PatchSet 3372 Date: 2004/05/12 22:54:50 Author: andersen Branch: HEAD Tag: (none) Log: Add a local '_dl_errno' to be used by syscalls in ldso, allowing useful syscall failure diagnostics. Members: ldso/ldso/ldso.c:1.97->1.98 ldso/ldso/arm/dl-syscalls.h:1.7->1.8 ldso/ldso/cris/dl-syscalls.h:1.3->1.4 ldso/ldso/frv/dl-syscalls.h:1.1->1.2 ldso/ldso/i386/dl-syscalls.h:1.8->1.9 ldso/ldso/m68k/dl-syscalls.h:1.7->1.8 ldso/ldso/mips/dl-syscalls.h:1.5->1.6 ldso/ldso/powerpc/dl-syscalls.h:1.4->1.5 ldso/ldso/sh/dl-syscalls.h:1.2->1.3 ldso/ldso/sh64/dl-syscalls.h:1.1->1.2 ldso/ldso/sparc/dl-syscalls.h:1.6->1.7 --------------------- PatchSet 3373 Date: 2004/05/12 23:11:30 Author: andersen Branch: HEAD Tag: (none) Log: Patch from Bradley D. LaRonde: 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. Members: ldso/ldso/dl-startup.c:1.10->1.11 --------------------- PatchSet 3374 Date: 2004/05/13 00:19:47 Author: andersen Branch: HEAD Tag: (none) Log: Bradley D. LaRonde writes: Oops, this adds the page alignment offset to the mprotected size. Regards, Brad Members: ldso/ldso/dl-startup.c:1.11->1.12 --------------------- PatchSet 3375 Date: 2004/05/13 05:53:37 Author: andersen Branch: HEAD Tag: (none) Log: Add define for SHM_HUGETLB Members: libc/sysdeps/linux/common/bits/shm.h:1.3->1.4 --------------------- PatchSet 3376 Date: 2004/05/13 09:23:34 Author: andersen Branch: HEAD Tag: (none) Log: update libdl so it also groks the new _dl_errno Members: ldso/libdl/libdl.c:1.40->1.41 --------------------- PatchSet 3377 Date: 2004/05/14 10:22:10 Author: andersen Branch: HEAD Tag: (none) Log: Alexandre Oliva writes: 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. Members: libpthread/linuxthreads/signals.c:1.4->1.5 --------------------- PatchSet 3378 Date: 2004/05/14 10:25:08 Author: andersen Branch: HEAD Tag: (none) Log: Patch from Alexandre Oliva: On Mar 20, 2004, Erik Andersen 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. Members: libc/sysdeps/linux/frv/Makefile:1.3->1.4 libc/sysdeps/linux/frv/link.h:INITIAL->1.1 --------------------- PatchSet 3379 Date: 2004/05/14 10:29:44 Author: andersen Branch: HEAD Tag: (none) Log: Alexandre Oliva writes: This patch introduces optimized versions of memcpy and memset for frv. Members: libc/string/Makefile:1.60->1.61 libc/string/frv/Makefile:INITIAL->1.1 libc/string/frv/memcpy.S:INITIAL->1.1 libc/string/frv/memset.S:INITIAL->1.1 --------------------- PatchSet 3380 Date: 2004/05/14 10:39:04 Author: andersen Branch: HEAD Tag: (none) Log: Kill off the now obsolete __libc_vfork symbol Members: libc/sysdeps/linux/arm/vfork.S:1.7->1.8 libc/sysdeps/linux/e1/vfork.c:1.2->1.3 libc/sysdeps/linux/frv/vfork.S:1.1->1.2 libc/sysdeps/linux/m68k/vfork.S:1.4->1.5 --------------------- PatchSet 3381 Date: 2004/05/14 10:51:01 Author: andersen Branch: HEAD Tag: (none) Log: __data_start needs to be added to all crt0.S files that don't currently have it. It is used by the boehm gc, amoung other things. Members: libc/sysdeps/linux/arm/crt0.S:1.21->1.22 libc/sysdeps/linux/cris/crt0.S:1.1->1.2 libc/sysdeps/linux/e1/crt0.S:1.1->1.2 libc/sysdeps/linux/frv/crt0.S:1.1->1.2 libc/sysdeps/linux/h8300/crt0.S:1.7->1.8 libc/sysdeps/linux/i386/crt0.S:1.22->1.23 libc/sysdeps/linux/i960/crt0.S:1.1->1.2 libc/sysdeps/linux/m68k/crt0.S:1.12->1.13 libc/sysdeps/linux/microblaze/crt0.S:1.1->1.2 libc/sysdeps/linux/mips/crt0.S:1.11->1.12 libc/sysdeps/linux/powerpc/crt0.S:1.7->1.8 libc/sysdeps/linux/sh/crt0.S:1.13->1.14 libc/sysdeps/linux/sh64/crt0.S:1.1->1.2 libc/sysdeps/linux/v850/crt0.S:1.7->1.8 --------------------- PatchSet 3382 Date: 2004/05/14 10:59:09 Author: andersen Branch: HEAD Tag: (none) Log: Alexandre Oliva writes: 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 - 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. Members: ldso/ldso/frv/dl-syscalls.h:1.2->1.3 ldso/ldso/frv/dl-sysdep.h:1.2->1.3 libc/sysdeps/linux/frv/clone.S:1.1->1.2 libc/sysdeps/linux/frv/crtreloc.c:1.1->1.2 libc/sysdeps/linux/frv/sysdep.c:1.1->1.2 libc/sysdeps/linux/frv/vfork.S:1.2->1.3 libc/sysdeps/linux/frv/bits/syscalls.h:1.1->1.2 libc/sysdeps/linux/frv/sys/ucontext.h:1.1->1.2 --------------------- PatchSet 3383 Date: 2004/05/14 11:12:24 Author: andersen Branch: HEAD Tag: (none) Log: Joakim Tjernlund writes: 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 Members: libc/inet/rpc/rpc_thread.c:1.6->1.7 libc/misc/pthread/weaks.c:1.5->1.6 --------------------- PatchSet 3384 Date: 2004/05/14 19:49:40 Author: mjn3 Branch: HEAD Tag: (none) Log: Fix changed link into the mailing list archive. Members: docs/uclibc.org/FAQ.html:1.26->1.27 --------------------- PatchSet 3385 Date: 2004/05/15 08:21:58 Author: andersen Branch: HEAD Tag: (none) Log: Cope when the __NR_get_kernel_syms is undefined (i.e. 2.6.x arm-linux) Members: libc/sysdeps/linux/common/get_kernel_syms.c:1.1->1.2 --------------------- PatchSet 3386 Date: 2004/05/24 10:03:59 Author: tobiasa Branch: HEAD Tag: (none) Log: Removed unused file. Members: libc/sysdeps/linux/cris/crt0.S:1.2->1.3(DEAD) --------------------- PatchSet 3387 Date: 2004/06/06 08:08:25 Author: andersen Branch: HEAD Tag: (none) Log: scrap the goofy time + getpid() based "randomness" and use the real thing. Members: libc/misc/internals/tempname.c:1.6->1.7 --------------------- PatchSet 3388 Date: 2004/06/12 05:43:09 Author: andersen Branch: HEAD Tag: (none) Log: Oops. Missed a spot. Members: libc/misc/internals/tempname.c:1.7->1.8 --------------------- PatchSet 3389 Date: 2004/06/12 05:52:22 Author: andersen Branch: HEAD Tag: (none) Log: Per comments from Bernhard Rosenkraenzer, adjust gcc 3.3.x generated asm with s/i686.get_pc_thunk.bx/get_pc_thunk_bx/g to make gcc 3.4 happy. Members: libc/sysdeps/linux/i386/crti.S:1.1->1.2 libc/sysdeps/linux/i386/crtn.S:1.1->1.2 --------------------- PatchSet 3390 Date: 2004/06/12 06:12:21 Author: andersen Branch: HEAD Tag: (none) Log: Philip Craig at snapgear dot com writes: Strlen was counting the last 3 bytes incorrectly for big endian arm. Members: libc/string/arm/strlen.S:1.1->1.2 --------------------- PatchSet 3391 Date: 2004/06/12 08:38:38 Author: andersen Branch: HEAD Tag: (none) Log: Jakub Bogusz from pld-linux dot org writes: Hello, I managed to get ldso (and thus shared linking to uClibc) to work on sparc (actually sparc64 kernel with 32-bit userspace), at least on simple "hello world" program (more complex ones not tested). Some notes on attached patch (against 0.9.26, would require some work to apply on current CVS - but I tested 0.9.26, not CVS): - ELF magic cannot be examined by _dl_strncmp so early, probably because of string constant, like on ppc/mips/sh (note that early SEND_STDERR still crashes when trying to do _dl_strlen - I suppose that string constants require relocation; but adding load_addr didn't help, just ELF header was displayed instead of crash) - mmap() is syscall6 like on ppc/mips/sh, not old i386 mmap() - for generic sparc (i.e. not sparcv8/sparcv9) gcc produces .udiv/.urem calls for unsigned integer / and % operators - so these operations must be avoided. I copied do_rem definition from arm header. But / and % are used also in _dl_simple_ltoa() and _dl_simple_ltoahex(); in ltoahex gcc optimizes it to shifts (but I think it's safer to use shifts explicitly, not rely on optimization...). I changed % in ltoa to do_rem, but as there was no do_div definition, I changed all "%d" specifiers to "%x" to avoid crashes (this changes wouldn't be needed if _dl_simple_ltoa() were fixed to not use division on sparc). - "#define SOLARIS_COMPATIBLE" in ld_sysdep.h broke ldso on Linux because of redefining _dl_linux_resolve only in some places (it was still referenced in INIT_GOT before redefinition). So _dl_linux_resolve redefinition should be moved before INIT_GOT definition or removed. - sparc64 kernel requires mmap() addresses to be aligned to 8192, not 4096, otherwise mmap() call failed - reloc_entry must be shifted by 10, not 12 (I found similar operation in glibc sources) Aside of sparc-specific fixes: - I moved some _dl_dprintf()s inside if(_dl_debug_*) conditions (to avoid debugging messages when LD_DEBUG is not defined) - it seems that there was possible off-by-one in ltoa and ltoahex? they are called with char[22] as 1st argument, and then '\0' is stored in local[22] (_before_ p decrementation)... or am I missing something? If not, fix is included in patch. Members: ldso/include/dl-string.h:1.4->1.5 ldso/include/dl-syscall.h:1.5->1.6 ldso/ldso/dl-elf.c:1.69->1.70 ldso/ldso/sparc/dl-syscalls.h:1.7->1.8 ldso/ldso/sparc/dl-sysdep.h:1.7->1.8 ldso/ldso/sparc/elfinterp.c:1.16->1.17 --------------------- PatchSet 3392 Date: 2004/06/12 08:41:18 Author: andersen Branch: HEAD Tag: (none) Log: Stephen Hemminger from osdl dot org writes: Rather than copy more code back into the bridge-utilities, how about applying this change to uClibc? I hate when packages get cluttered for workarounds for other incompatibilities. The problem is that SIOCGIFCONF only lists interfaces that have IP addresses, so it doesn't find the other interfaces that are being used for bridging. It could be fixed in the kernel to return all interfaces, but then something else might break; and still it mean a kernel update for the 2.4 users. The whole use of ifindex in the bridge API is a bad idea. But we probably have to live with it for compatibility. Patch against uClibc 0.9.26 Members: libc/inet/if_nametoindex.c:1.2->1.3 --------------------- PatchSet 3393 Date: 2004/06/19 06:28:24 Author: andersen Branch: HEAD Tag: (none) Log: note new mailing list posting policy Members: docs/uclibc.org/lists.html:1.1->1.2 --------------------- PatchSet 3394 Date: 2004/06/19 19:54:40 Author: andersen Branch: HEAD Tag: (none) Log: Bradley D. LaRonde writes: dl-string.h references do_rem, but do_rem is a #define in /dl-sysdep.h which is not included by dl-sysdep.h. This causes a problem in libdl: In file included from ../../ldso/include/ldso.h:27, from libdl.c:33: ../../ldso/include/dl-string.h: In function `_dl_simple_ltoa': ../../ldso/include/dl-string.h:216: warning: implicit declaration of function `do_rem' Include dl-sysdep.h in dl-string.h before using do_rem. Members: ldso/include/dl-string.h:1.5->1.6 --------------------- PatchSet 3395 Date: 2004/06/19 21:32:41 Author: andersen Branch: HEAD Tag: (none) Log: Joakim Tjernlund writes: Glibc does not use COPY class for SHN_COMMOM in MIPS. Make uClibc ldso the same. Members: ldso/ldso/mips/elfinterp.c:1.14->1.15 --------------------- PatchSet 3396 Date: 2004/06/19 21:33:04 Author: andersen Branch: HEAD Tag: (none) Log: Joakim Tjernlund writes: Since MIPS don't have COPY relocs it seems apropiate to define DL_NO_COPY_RELOCS. This will optimize dl_find_hash somewhat. Members: ldso/ldso/mips/dl-sysdep.h:1.9->1.10 --------------------- PatchSet 3397 Date: 2004/06/19 21:38:41 Author: andersen Branch: HEAD Tag: (none) Log: Joakim Tjernlund writes: Make old weak symbol handling work, if someone wants to enable it. Members: ldso/ldso/dl-hash.c:1.19->1.20 --------------------- PatchSet 3398 Date: 2004/06/20 05:39:04 Author: andersen Branch: HEAD Tag: (none) Log: Whine about R_PPC_REL24 relocations, and tell people to compile shared libraries with -fPIC Members: ldso/ldso/powerpc/elfinterp.c:1.38->1.39 --------------------- PatchSet 3399 Date: 2004/06/20 11:10:49 Author: andersen Branch: HEAD Tag: (none) Log: Let dl-string.h include dl-sysdep.h, since it has proper include guards Members: ldso/include/dl-elf.h:1.12->1.13 --------------------- PatchSet 3400 Date: 2004/06/24 07:52:08 Author: andersen Branch: HEAD Tag: (none) Log: Disable support for R_ARM_PC24, just like R_PPC_REL24 these should only occur when shared libs are not compiled with -fPIC Members: ldso/ldso/arm/elfinterp.c:1.20->1.21 --------------------- PatchSet 3401 Date: 2004/06/27 01:16:05 Author: andersen Branch: HEAD Tag: (none) Log: Joakim Tjernlund writes: Hi yet again :) in dl-startup.c when performing boot strap relocation the following test exists to make sure that only "_dl_" symbols are relocated: /* We only do a partial dynamic linking right now. The user is not supposed to define any symbols that start with a '_dl', so we can do this with confidence. */ if (!symname || !_dl_symbol(symname)) { continue; } However on PPC(and the other archs as well I suspect) all symbols are "_dl_" symbols so the test is never true. The test can be removed and the whole loop simplified(smaller). This also makes it possible to simplify elfinterp.c This remove the scanning of ldso.so relocs, making relocation faster. I have tested this on PPC and it works well. Do you think this optimization will work for the other arches as well? I can't see why not. Jocke * Tested on x86, arm, mipsel, and powerpc by Erik and works nicely -Erik Members: ldso/ldso/dl-startup.c:1.12->1.13 ldso/ldso/arm/elfinterp.c:1.21->1.22 ldso/ldso/i386/elfinterp.c:1.31->1.32 ldso/ldso/mips/elfinterp.c:1.15->1.16 ldso/ldso/powerpc/elfinterp.c:1.39->1.40 --------------------- PatchSet 3402 Date: 2004/07/05 18:45:50 Author: andersen Branch: HEAD Tag: (none) Log: Update FAQ a bit Members: docs/uclibc.org/FAQ.html:1.27->1.28 --------------------- PatchSet 3403 Date: 2004/07/14 12:27:02 Author: andersen Branch: HEAD Tag: (none) Log: Based on a patch from Alexandre Oliva, make sure _dl_malloc returns a nicely aligned pointer that may be aligned up to page_size. Also add _dl_free, Members: ldso/include/ldso.h:1.9->1.10 ldso/ldso/dl-elf.c:1.70->1.71 ldso/ldso/dl-hash.c:1.20->1.21 ldso/ldso/ldso.c:1.98->1.99 ldso/libdl/libdl.c:1.41->1.42 --------------------- PatchSet 3404 Date: 2004/07/14 23:07:44 Author: andersen Branch: HEAD Tag: (none) Log: Sigh. I got things working this morning, then checked stuff in from the wrong tree. Bad boy, No doughnut. -Erik Members: ldso/include/ldso.h:1.10->1.11 ldso/ldso/dl-elf.c:1.71->1.72 ldso/ldso/dl-hash.c:1.21->1.22 ldso/ldso/ldso.c:1.99->1.100 ldso/libdl/libdl.c:1.42->1.43 --------------------- PatchSet 3405 Date: 2004/07/15 05:54:13 Author: andersen Branch: HEAD Tag: (none) Log: Peter Kjellerstedt at axis.com writes: Hello, the attached patch should bring extra/config in line with the Linux 2.6.7 sources. The following are the commit messages for the respective files from the Linux bk-repository: checklist.c: * fix menuconfig choice item help display confdata.c: * config: choice fix * kconfig: don't rename target dir when saving config expr.c, expr.h: * config: disable debug prints mconf.c: * fix menuconfig choice item help display menu.c: * Kconfig: use select statements symbol.c: * config: choice fix * Avoid bogus warning about recursive dependencies * c99 struct initialiser conversions textbox.c: * janitor: don't init statics to 0 util.c: * fix lxdialog behaviour //Peter Members: extra/config/checklist.c:1.1->1.2 extra/config/confdata.c:1.10->1.11 extra/config/expr.c:1.2->1.3 extra/config/expr.h:1.3->1.4 extra/config/mconf.c:1.8->1.9 extra/config/menu.c:1.3->1.4 extra/config/symbol.c:1.5->1.6 extra/config/textbox.c:1.1->1.2 extra/config/util.c:1.1->1.2 --------------------- PatchSet 3406 Date: 2004/07/15 07:05:07 Author: andersen Branch: HEAD Tag: (none) Log: Patch from Yoshinori Sato to add H8/300 relocation types. Members: include/elf.h:1.12->1.13 --------------------- PatchSet 3407 Date: 2004/07/15 07:33:59 Author: andersen Branch: HEAD Tag: (none) Log: h8300 updates from Yoshinori Sato Members: libc/sysdeps/linux/h8300/Makefile:1.11->1.12 libc/sysdeps/linux/h8300/__longjmp.S:INITIAL->1.1 libc/sysdeps/linux/h8300/brk.c:INITIAL->1.1 libc/sysdeps/linux/h8300/bsd-_setjmp.S:INITIAL->1.1 libc/sysdeps/linux/h8300/bsd-setjmp.S:INITIAL->1.1 libc/sysdeps/linux/h8300/clone.S:INITIAL->1.1 libc/sysdeps/linux/h8300/crt0.S:1.8->1.9 libc/sysdeps/linux/h8300/crti.S:INITIAL->1.1 libc/sysdeps/linux/h8300/crtn.S:INITIAL->1.1 libc/sysdeps/linux/h8300/pt-machine.h:INITIAL->1.1 libc/sysdeps/linux/h8300/ptrace.c:1.2->1.3 libc/sysdeps/linux/h8300/setjmp.S:1.2->1.3 libc/sysdeps/linux/h8300/vfork.S:1.3->1.4 libc/sysdeps/linux/h8300/bits/atomicity.h:INITIAL->1.1 libc/sysdeps/linux/h8300/bits/huge_val.h:1.3->1.4(DEAD) libc/sysdeps/linux/h8300/bits/kernel_stat.h:1.3->1.4 libc/sysdeps/linux/h8300/bits/kernel_types.h:1.2->1.3 libc/sysdeps/linux/h8300/bits/mman.h:1.3->1.4 libc/sysdeps/linux/h8300/bits/resource.h:1.3->1.4(DEAD) libc/sysdeps/linux/h8300/bits/setjmp.h:1.3->1.4 libc/sysdeps/linux/h8300/bits/sigcontextinfo.h:INITIAL->1.1 libc/sysdeps/linux/h8300/bits/stackinfo.h:INITIAL->1.1 libc/sysdeps/linux/h8300/bits/syscalls.h:1.6->1.7 libc/sysdeps/linux/h8300/bits/wordsize.h:1.3->1.4 libc/sysdeps/linux/h8300/sys/procfs.h:INITIAL->1.1 --------------------- PatchSet 3408 Date: 2004/07/15 07:52:22 Author: andersen Branch: HEAD Tag: (none) Log: Atsushi Nemoto writes: This is a patch for uClibc/libc/sysdeps/linux/mips/sys/procfs.h pulled from glibc CVS. This fixes gdb with threaded application (with glibc environment). Although debugging threaded programs seems not working on uClibc/mips yet, this patch will be required when it becomes working. This patch can be applied to any version of uClibc (including current CVS). Members: libc/sysdeps/linux/mips/sys/procfs.h:1.1->1.2 --------------------- PatchSet 3409 Date: 2004/07/15 08:06:24 Author: andersen Branch: HEAD Tag: (none) Log: Use MAP_PRIVATE whenever __ARCH_HAS_MMU__ is set. Only use MAP_SHARED when mmu-less. Members: libc/stdlib/malloc/malloc.c:1.36->1.37 libc/stdlib/malloc-simple/alloc.c:1.15->1.16 libc/stdlib/malloc-standard/malloc.c:1.1->1.2 libc/stdlib/malloc-standard/malloc.h:1.1->1.2 --------------------- PatchSet 3410 Date: 2004/07/15 08:22:48 Author: andersen Branch: HEAD Tag: (none) Log: _SC_PAGESIZE is standard. Some ancient legacy unix variants used _SC_PAGE_SIZE instead, but we are not such a system and should not propagate such things. Members: libpthread/linuxthreads/internals.h:1.7->1.8 --------------------- PatchSet 3411 Date: 2004/07/15 08:31:31 Author: andersen Branch: HEAD Tag: (none) Log: _SC_PAGESIZE is standard. Some ancient legacy unix variants used _SC_PAGE_SIZE instead, but we are not such a system and should not propagate such things. Members: libc/stdlib/malloc-standard/malloc.h:1.2->1.3 --------------------- PatchSet 3412 Date: 2004/07/15 09:09:24 Author: andersen Branch: HEAD Tag: (none) Log: Cleanup a few of the more egregiously broken sysconf values to actually match reality. In particular, _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX were causing us problems with programs such as libglib, since they were always returning -1, which is a bit smaller than the actual passwd and group max buffer sizes. -Erik Members: libc/pwd_grp/pwd_grp.c:1.6->1.7 libc/termios/ttyname.c:1.13->1.14 libc/unistd/sysconf.c:1.15->1.16 --------------------- PatchSet 3413 Date: 2004/07/15 09:21:07 Author: andersen Branch: HEAD Tag: (none) Log: update packaging a bit Members: debian/changelog:1.21->1.22 debian/config:1.5->1.6 debian/rules:1.31->1.32 --------------------- PatchSet 3414 Date: 2004/07/15 10:14:10 Author: andersen Branch: HEAD Tag: (none) Log: Cleanup some cruft Members: libc/pwd_grp/Makefile:1.25->1.26 --------------------- PatchSet 3415 Date: 2004/07/16 11:09:29 Author: andersen Branch: HEAD Tag: (none) Log: Pete Popov writes: Hi Erik, I'm not sure why the NIOS support is not in uClibc -- perhaps the patch was rejected or never submitted? In any case, I'm playing with some NIOS stuff and created this patch against 0.9.26. The work was done by Microtronix. I'm not sure who else contributed to it. It would be great to have the NIOS support available in uClibc so developers don't have to go searching for these bits. Pete Members: extra/Configs/Config.in:1.47->1.48 extra/Configs/Config.nios:INITIAL->1.1 extra/Configs/Config.nios2:INITIAL->1.1 include/elf.h:1.13->1.14 libc/sysdeps/linux/Makefile:1.21->1.22 libc/sysdeps/linux/nios/Makefile:INITIAL->1.1 libc/sysdeps/linux/nios/NM_Macros.S:INITIAL->1.1 libc/sysdeps/linux/nios/NR_Math1.S:INITIAL->1.1 libc/sysdeps/linux/nios/__longjmp.S:INITIAL->1.1 libc/sysdeps/linux/nios/brk.c:INITIAL->1.1 libc/sysdeps/linux/nios/bsd-_setjmp.S:INITIAL->1.1 libc/sysdeps/linux/nios/bsd-setjmp.S:INITIAL->1.1 libc/sysdeps/linux/nios/clone.S:INITIAL->1.1 libc/sysdeps/linux/nios/crt0.S:INITIAL->1.1 libc/sysdeps/linux/nios/crt0.c:INITIAL->1.1 libc/sysdeps/linux/nios/crtbegin.c:INITIAL->1.1 libc/sysdeps/linux/nios/crtend.c:INITIAL->1.1 libc/sysdeps/linux/nios/fpu_control.h:INITIAL->1.1 libc/sysdeps/linux/nios/setjmp.S:INITIAL->1.1 libc/sysdeps/linux/nios/vfork.S:INITIAL->1.1 libc/sysdeps/linux/nios/bits/endian.h:INITIAL->1.1 libc/sysdeps/linux/nios/bits/fcntl.h:INITIAL->1.1 libc/sysdeps/linux/nios/bits/kernel_types.h:INITIAL->1.1 libc/sysdeps/linux/nios/bits/mathdef.h:INITIAL->1.1 libc/sysdeps/linux/nios/bits/mman.h:INITIAL->1.1 libc/sysdeps/linux/nios/bits/resource.h:INITIAL->1.1 libc/sysdeps/linux/nios/bits/setjmp.h:INITIAL->1.1 libc/sysdeps/linux/nios/bits/sigcontextinfo.h:INITIAL->1.1 libc/sysdeps/linux/nios/bits/stackinfo.h:INITIAL->1.1 libc/sysdeps/linux/nios/bits/stat.h:INITIAL->1.1 libc/sysdeps/linux/nios/bits/syscalls.h:INITIAL->1.1 libc/sysdeps/linux/nios/bits/wordsize.h:INITIAL->1.1 libc/sysdeps/linux/nios/sys/procfs.h:INITIAL->1.1 libc/sysdeps/linux/nios/sys/ucontext.h:INITIAL->1.1 libc/sysdeps/linux/nios2/Makefile:INITIAL->1.1 libc/sysdeps/linux/nios2/__longjmp.S:INITIAL->1.1 libc/sysdeps/linux/nios2/brk.c:INITIAL->1.1 libc/sysdeps/linux/nios2/bsd-_setjmp.S:INITIAL->1.1 libc/sysdeps/linux/nios2/bsd-setjmp.S:INITIAL->1.1 libc/sysdeps/linux/nios2/clone.S:INITIAL->1.1 libc/sysdeps/linux/nios2/clone.c:INITIAL->1.1 libc/sysdeps/linux/nios2/crt0.S:INITIAL->1.1 libc/sysdeps/linux/nios2/crti.S:INITIAL->1.1 libc/sysdeps/linux/nios2/crtn.S:INITIAL->1.1 libc/sysdeps/linux/nios2/fpu_control.h:INITIAL->1.1 libc/sysdeps/linux/nios2/setjmp.S:INITIAL->1.1 libc/sysdeps/linux/nios2/syscall.c:INITIAL->1.1 libc/sysdeps/linux/nios2/vfork.S:INITIAL->1.1 libc/sysdeps/linux/nios2/bits/endian.h:INITIAL->1.1 libc/sysdeps/linux/nios2/bits/fcntl.h:INITIAL->1.1 libc/sysdeps/linux/nios2/bits/kernel_stat.h:INITIAL->1.1 libc/sysdeps/linux/nios2/bits/kernel_types.h:INITIAL->1.1 libc/sysdeps/linux/nios2/bits/mathdef.h:INITIAL->1.1 libc/sysdeps/linux/nios2/bits/mman.h:INITIAL->1.1 libc/sysdeps/linux/nios2/bits/profil-counter.h:INITIAL->1.1 libc/sysdeps/linux/nios2/bits/resource.h:INITIAL->1.1 libc/sysdeps/linux/nios2/bits/setjmp.h:INITIAL->1.1 libc/sysdeps/linux/nios2/bits/sigcontextinfo.h:INITIAL->1.1 libc/sysdeps/linux/nios2/bits/stackinfo.h:INITIAL->1.1 libc/sysdeps/linux/nios2/bits/stat.h:INITIAL->1.1 libc/sysdeps/linux/nios2/bits/syscalls.h:INITIAL->1.1 libc/sysdeps/linux/nios2/bits/wordsize.h:INITIAL->1.1 libc/sysdeps/linux/nios2/sys/procfs.h:INITIAL->1.1 libc/sysdeps/linux/nios2/sys/ucontext.h:INITIAL->1.1 libpthread/linuxthreads/sysdeps/nios/pt-machine.h:INITIAL->1.1 libpthread/linuxthreads/sysdeps/nios2/pt-machine.h:INITIAL->1.1 --------------------- PatchSet 3416 Date: 2004/07/16 13:23:21 Author: andersen Branch: HEAD Tag: (none) Log: Revert this stuff for now Members: ldso/include/ldso.h:1.11->1.12 ldso/ldso/dl-elf.c:1.72->1.73 ldso/libdl/libdl.c:1.43->1.44 --------------------- PatchSet 3417 Date: 2004/07/16 20:22:22 Author: mjn3 Branch: HEAD Tag: (none) Log: Hide the arm libfloat support for now. No longer needed for gcc 3.4.1 and won't be needed for 3.3.4 either when I get some time to clean up that toolchain which also suffers from the g++ include dir search order bug. Members: Rules.mak:1.164->1.165 --------------------- PatchSet 3418 Date: 2004/07/16 20:23:19 Author: mjn3 Branch: HEAD Tag: (none) Log: Follow glibc's lead and add a gcc-3.4.1 required symbol to crt0.S. Members: libc/sysdeps/linux/sh/crt0.S:1.14->1.15 --------------------- PatchSet 3419 Date: 2004/07/17 00:39:14 Author: andersen Branch: HEAD Tag: (none) Log: Add sigaction for mips Members: libc/sysdeps/linux/mips/Makefile:1.40->1.41 libc/sysdeps/linux/mips/sigaction.c:INITIAL->1.1 --------------------- PatchSet 3420 Date: 2004/07/17 09:36:08 Author: andersen Branch: HEAD Tag: (none) Log: Update sigaction for arm Members: libc/sysdeps/linux/arm/sigaction.c:1.2->1.3 --------------------- PatchSet 3421 Date: 2004/07/17 22:39:13 Author: andersen Branch: HEAD Tag: (none) Log: Update todo list Members: TODO:1.50->1.51 --------------------- PatchSet 3422 Date: 2004/07/21 10:00:04 Author: andersen Branch: HEAD Tag: (none) Log: Fix ftruncate64 and truncate64 for powerpc and mips -Erik Members: libc/sysdeps/linux/common/ftruncate64.c:1.10->1.11 libc/sysdeps/linux/common/truncate64.c:1.8->1.9 --------------------- PatchSet 3423 Date: 2004/07/26 12:36:24 Author: andersen Branch: HEAD Tag: (none) Log: Support linux 2.6.x wide device major/minor numbers Members: include/sys/sysmacros.h:1.2->1.3 --------------------- PatchSet 3424 Date: 2004/07/27 22:48:36 Author: andersen Branch: HEAD Tag: (none) Log: Remove all reference to __GLIBC_HAVE_LONG_LONG Members: include/stdlib.h:1.42->1.43 include/sys/sysmacros.h:1.3->1.4 --------------------- PatchSet 3425 Date: 2004/07/27 23:14:44 Author: andersen Branch: HEAD Tag: (none) Log: Be certain to include sys/sysmacros.h when major() and minor() are being used Members: libc/sysdeps/linux/common/mknod.c:1.4->1.5 libc/sysdeps/linux/common/ustat.c:1.1->1.2 --------------------- PatchSet 3426 Date: 2004/07/28 14:52:51 Author: andersen Branch: HEAD Tag: (none) Log: Do not grovel about in the ELF header for the page size when running on uClinux, which at runtime uses the FLAT file format. Members: libc/misc/internals/__uClibc_main.c:1.33->1.34 --------------------- PatchSet 3427 Date: 2004/07/30 00:21:01 Author: andersen Branch: HEAD Tag: (none) Log: Fix screwed up indenting Members: ldso/libdl/libdl.c:1.44->1.45 --------------------- PatchSet 3428 Date: 2004/07/30 03:31:28 Author: andersen Branch: HEAD Tag: (none) Log: Whitespace cleanup Members: ldso/ldso/arm/resolve.S:1.4->1.5 ldso/ldso/cris/resolve.S:1.2->1.3 ldso/ldso/frv/resolve.S:1.1->1.2 ldso/ldso/i386/resolve.S:1.5->1.6 ldso/ldso/mips/resolve.S:1.4->1.5 ldso/ldso/powerpc/resolve.S:1.1->1.2 ldso/ldso/sh64/resolve.S:1.1->1.2 --------------------- PatchSet 3429 Date: 2004/07/30 03:32:39 Author: andersen Branch: HEAD Tag: (none) Log: Teach libdl to use normal libc symbols whenever possible, i.e. malloc rather than _dl_malloc, fprintf rather than _dl_printf, etc. -Erik Members: ldso/Makefile:1.28->1.29 ldso/include/.cvsignore:1.1->1.2 ldso/include/ldso.h:1.12->1.13 ldso/ldso/.cvsignore:1.8->1.9 ldso/ldso/Makefile:1.57->1.58 ldso/ldso/dl-elf.c:1.73->1.74 ldso/ldso/ldso.c:1.100->1.101 ldso/libdl/Makefile:1.36->1.37 ldso/libdl/libdl.c:1.45->1.46 --------------------- PatchSet 3430 Date: 2004/07/30 19:23:54 Author: mjn3 Branch: HEAD Tag: (none) Log: Some mips updates. Add a couple of missing sys/*.h files and update a few others. Members: libc/sysdeps/linux/mips/sgidefs.h:1.1->1.2 libc/sysdeps/linux/mips/sys/asm.h:INITIAL->1.1 libc/sysdeps/linux/mips/sys/fpregdef.h:INITIAL->1.1 libc/sysdeps/linux/mips/sys/regdef.h:1.1->1.2 libc/sysdeps/linux/mips/sys/ucontext.h:1.1->1.2 --------------------- PatchSet 3431 Date: 2004/07/30 20:05:55 Author: andersen Branch: HEAD Tag: (none) Log: s/___brk_addr/__curbrk/g Some utilities, such as valgrind, have a legitimate reason to know the address of the current brk. Since we know such utils will peek under our skirt, we might as well give them what they expect and not use a gratuitously different symbol name. -Erik Members: ldso/ldso/ldso.c:1.101->1.102 libc/sysdeps/linux/alpha/brk.S:1.3->1.4 libc/sysdeps/linux/arm/brk.c:1.1->1.2 libc/sysdeps/linux/common/sbrk.c:1.2->1.3 libc/sysdeps/linux/cris/__init_brk.c:1.2->1.3 libc/sysdeps/linux/cris/brk.c:1.2->1.3 libc/sysdeps/linux/cris/sbrk.c:1.2->1.3 libc/sysdeps/linux/frv/__init_brk.c:1.1->1.2 libc/sysdeps/linux/frv/brk.c:1.1->1.2 libc/sysdeps/linux/frv/sbrk.c:1.1->1.2 libc/sysdeps/linux/h8300/brk.c:1.1->1.2 libc/sysdeps/linux/i386/brk.c:1.5->1.6 libc/sysdeps/linux/m68k/brk.c:1.1->1.2 libc/sysdeps/linux/mips/brk.c:1.2->1.3 libc/sysdeps/linux/nios/brk.c:1.1->1.2 libc/sysdeps/linux/nios2/brk.c:1.1->1.2 libc/sysdeps/linux/powerpc/brk.S:1.3->1.4 libc/sysdeps/linux/sh/__init_brk.c:1.2->1.3 libc/sysdeps/linux/sh/brk.c:1.2->1.3 libc/sysdeps/linux/sh/sbrk.c:1.2->1.3 libc/sysdeps/linux/sh64/__init_brk.c:1.1->1.2 libc/sysdeps/linux/sh64/brk.c:1.1->1.2 libc/sysdeps/linux/sh64/sbrk.c:1.1->1.2 libc/sysdeps/linux/sparc/brk.c:1.1->1.2 --------------------- PatchSet 3432 Date: 2004/07/30 20:51:28 Author: andersen Branch: HEAD Tag: (none) Log: Cleanup some dead wood in the header files Members: include/errno.h:1.8->1.9 include/features.h:1.58->1.59 include/inttypes.h:1.4->1.5 include/stdio.h:1.30->1.31 include/stdlib.h:1.43->1.44 include/string.h:1.25->1.26 include/unistd.h:1.25->1.26 include/wchar.h:1.7->1.8 include/sys/sysmacros.h:1.4->1.5 libc/sysdeps/linux/arm/bits/string.h:1.1->1.2(DEAD) libc/sysdeps/linux/common/bits/string.h:1.1->1.2(DEAD) libc/sysdeps/linux/common/bits/string2.h:1.1->1.2(DEAD) libc/sysdeps/linux/i386/bits/string.h:1.2->1.3(DEAD) libc/sysdeps/linux/sparc/bits/string.h:1.2->1.3(DEAD) libpthread/linuxthreads/testrtsig.h:1.1->1.2(DEAD) --------------------- PatchSet 3433 Date: 2004/07/30 20:55:26 Author: andersen Branch: HEAD Tag: (none) Log: cut-n-paste strikes again Members: include/stdio.h:1.31->1.32 --------------------- PatchSet 3434 Date: 2004/08/03 09:44:28 Author: andersen Branch: HEAD Tag: (none) Log: As Joakim Tjernlund rightly notes, I should have used PAGE_SIZE not the hard coded value of 4096. Members: libc/misc/internals/__uClibc_main.c:1.34->1.35 --------------------- PatchSet 3435 Date: 2004/08/04 16:15:42 Author: andersen Branch: HEAD Tag: (none) Log: Add missing header file needed to define PAGE_SIZE Members: libc/misc/internals/__uClibc_main.c:1.35->1.36 --------------------- PatchSet 3436 Date: 2004/08/04 17:34:07 Author: andersen Branch: HEAD Tag: (none) Log: doh Members: libc/misc/internals/__uClibc_main.c:1.36->1.37 --------------------- PatchSet 3437 Date: 2004/08/06 16:11:42 Author: andersen Branch: HEAD Tag: (none) Log: Joakim Tjernlund writes: This patch makes -fpic work for PCC and optimzes the relcation by moving the cache flushing stuff to JMP relocs only. Actually PPCs ldso can only handle small GOT tables(<=8192 entries)anyhow, so it makes little sense to compile PPC with -fPIC. libuClibc shrunk from 340724 to 330780 bytes with -fpic. Members: Rules.mak:1.165->1.166 ldso/ldso/powerpc/dl-startup.h:1.11->1.12 --------------------- PatchSet 3438 Date: 2004/08/06 16:12:10 Author: andersen Branch: HEAD Tag: (none) Log: Joakim Tjernlund writes: PPC32, SPARC32/64 and S390 includes the PLT in its RELA size. This caused ldso to always do unlazy relocation of the JMPRELs. This patch fixes it. Members: ldso/ldso/dl-elf.c:1.74->1.75 ldso/ldso/powerpc/dl-sysdep.h:1.11->1.12 ldso/ldso/sparc/dl-sysdep.h:1.8->1.9 --------------------- PatchSet 3439 Date: 2004/08/09 08:11:53 Author: jocke Branch: HEAD Tag: (none) Log: This should fix the dlsym problem Peter van Hoyweghen reported. However RTLD_LOCAL still doesn't work. Everything is RTLD_GLOBAL. Members: ldso/ldso/dl-hash.c:1.22->1.23 ldso/ldso/ldso.c:1.102->1.103 ldso/libdl/libdl.c:1.46->1.47 --------------------- PatchSet 3440 Date: 2004/08/09 08:28:00 Author: jocke Branch: HEAD Tag: (none) Log: From: uclibc-bounces@uclibc.org on behalf of Peter Kjellerstedt [peter.kjellerstedt@axis.com] Peter Kellerstedt writes: May I suggest the attached patch instead? It handles PICFLAG the same way as it was already done for other architectures (e.g., CRIS and frv). Members: Rules.mak:1.166->1.167 --------------------- PatchSet 3441 Date: 2004/08/09 08:35:31 Author: jocke Branch: HEAD Tag: (none) Log: Oops. Members: Rules.mak:1.167->1.168 --------------------- PatchSet 3442 Date: 2004/08/10 08:58:12 Author: jocke Branch: HEAD Tag: (none) Log: Mike Frysinger writes: while playing around with Gentoo on uClibc, i hit some troubles with ldconfig first, i found that it kept trying to read 'etc/ld.so.conf' ... it didnt want to read '/etc/ld.so.conf' ... looking at the source, the default conf file is defined as UCLIBC_RUNTIME_PREFIX "etc/ld.so.conf" ... all fine and dandy, but the utils/Makefile builds the .c files with this: -DUCLIBC_RUNTIME_PREFIX=$(R_PREFIX) i couldnt find where R_PREFIX was defined/used anywhere else, but i did find that every other time UCLIBC_RUNTIME_PREFIX was defined, it was set like: -DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" changing the utils/Makefile to be like this fixed things for me next up, i found that i wasnt getting an /etc/ld.so.cache file when i ran `ldconfig` ... looking at the code, USE_CACHE needs to be defined ... Rules.mak has a line that reads LIBRARY_CACHE:=#-DUSE_CACHE by default, but then LIBRARY_CACHE is never used anywhere :) so the fix here is to add $(LIBRARY_CACHE) to the lines in utils/Makefile where the .c files are compiled perhaps a suggestion then ? in my mind it makes sense to utilize a cache file when running uclibc native but perhaps not while cross compiling ... so perhaps add LIBRARY_CACHE:=-DUSE_CACHE to the section in Rules.mak where LDSO is set to the uclibc linker (i.e. native) but set LIBRARY_CACHE:=#-DUSE_CACHE where LDSO is the $(SYSTEM_LDSO) (i.e. cross compiling) Applied with minor fixes. Members: utils/Makefile:1.12->1.13 --------------------- PatchSet 3443 Date: 2004/08/10 09:23:57 Author: jocke Branch: HEAD Tag: (none) Log: Mike Frysinger writes: in libdl, the XXFLAGS is set incorrectly if DODEBUG=y ... it has 'I.' added to it instead of '-I.' ... this of course pisses of gcc :) find attached a patch that cleans up the XXFLAGS setting so as to minimize this kind of thing ... when asked, mjn3 said it was a kosher idea ;) and later writes: hmm it seems ldso also utilizes USE_CACHE in the code (but LIBRARY_CACHE never propogates down to the Makefiles) so the fix is to add $(LIBRARY_CACHE) while setting $(XXFLAGS) Applied with minor fixes and also fixed up ldso/Makefile to match libdl/Makefile. Members: ldso/ldso/Makefile:1.58->1.59 ldso/libdl/Makefile:1.37->1.38 --------------------- PatchSet 3444 Date: 2004/08/10 09:50:07 Author: jocke Branch: HEAD Tag: (none) Log: Mike Frysinger writes: i was sticking some libraries in non-standard (i.e. not-hardcoded) paths and then updating ld.so.conf accordingly ... oddly though, i couldnt get binaries that linked against those libraries to run ... `ldconfig -v` showed the required libraries being detected/cached, so something seemed wrong ... turns out the libraries were being tagged as LIB_ELF_LIBC0 in the cache and the loader currently only accepts LIB_ELF_LIBC{5,6} ... since readsoname.c in ldconfig defines needed_tab with the mapping 'libc.so.0' -> LIB_ELF_LIBC0 it seems like the loader should accept this type too find attached a small patch which adds LIB_ELF_LIBC0 along side LIB_ELF_LIBC{5,6} as an accepted lib type in the loader when dealing with the ld.so.cache file Members: ldso/ldso/dl-elf.c:1.75->1.76 --------------------- PatchSet 3445 Date: 2004/08/10 10:04:35 Author: jocke Branch: HEAD Tag: (none) Log: Revmoved _dl_brkp and _dl_envp. They are not needed anymore. Members: ldso/ldso/ldso.c:1.103->1.104 --------------------- PatchSet 3446 Date: 2004/08/10 14:44:34 Author: jocke Branch: HEAD Tag: (none) Log: _dl_get_last_path_component: handle "" strings and optimze it. _dl_simple_ltoa,_dl_simple_ltoahex: Optimize for archs which can do pre increment/decrement and load/store in one instruction. Members: ldso/include/dl-string.h:1.6->1.7 --------------------- PatchSet 3447 Date: 2004/08/10 15:06:30 Author: jocke Branch: HEAD Tag: (none) Log: _dl_strlen,_dl_strcat,_dl_strcpy,_dl_strcmp,_dl_strncmp, _dl_strchr,_dl_strrchr,_dl_strstr,_dl_memcmp: Optimize for archs which can do pre increment/decrement and load/store in one instruction. Members: ldso/include/dl-string.h:1.7->1.8 --------------------- PatchSet 3448 Date: 2004/08/10 15:11:51 Author: mjn3 Branch: HEAD Tag: (none) Log: At solar's request... Members: Makefile:1.246->1.247 --------------------- PatchSet 3449 Date: 2004/08/10 15:12:48 Author: mjn3 Branch: HEAD Tag: (none) Log: On Monday 02 August 2004 08:44 am, Mike Frysinger wrote: > the gethostbyname_r() call itself is not segfaulting, but the memory > returned in the h_aliases array seems to be wrong ... was playing around with the source today and eventually the obvious answer hit me ... while read_etc_hosts_r() generatings an array of strings fo h_aliases and populates it, the dns path does not :) find attached a patch that'll actually generate the h_aliases list in the normal dns code path ... i used the etc_hosts_r() code as a template for some of it ... note that this is just a simple fix ... it fills the alias list with just the hostname gethostbyname_r was passed ... the proper fix i think would be to parse the dns packet down in __dns_lookup() and pass the info back via the resolv_answer struct ... but this fix is better than the current state of things ... that is, h_aliases currently is never initailized in the dns code path :) Members: libc/inet/resolv.c:1.53->1.54 --------------------- PatchSet 3450 Date: 2004/08/10 15:18:18 Author: jocke Branch: HEAD Tag: (none) Log: Forgot _dl_memcpy in previous checkin. Members: ldso/include/dl-string.h:1.8->1.9 --------------------- PatchSet 3451 Date: 2004/08/10 15:25:35 Author: jocke Branch: HEAD Tag: (none) Log: Optimze _dl_memset() for PowerPC. Other arches may also benefit from this iff it can do unaligned stores. Members: ldso/include/dl-string.h:1.9->1.10 --------------------- PatchSet 3452 Date: 2004/08/10 16:43:12 Author: mjn3 Branch: HEAD Tag: (none) Log: Apparently the sigaction code added was broken, as it generated illegal instruction errors. Disable it for now. Members: libc/sysdeps/linux/mips/Makefile:1.41->1.42 --------------------- PatchSet 3453 Date: 2004/08/10 18:47:06 Author: mjn3 Branch: HEAD Tag: (none) Log: Fix mips bug related to 2.6 headers by following glibc's lead. Based on the comment, newer kernels appended "64" to __NR_pread and __NR_pwrite. Members: libc/sysdeps/linux/mips/pread_write.c:1.3->1.4 --------------------- PatchSet 3454 Date: 2004/08/13 04:35:03 Author: mjn3 Branch: HEAD Tag: (none) Log: Always include the sqrtf wrapper in libm so that we don't need to worry about conditionally configuring something else for libstdc++. Members: libm/Makefile:1.40->1.41 --------------------- PatchSet 3455 Date: 2004/08/13 13:56:24 Author: jocke Branch: HEAD Tag: (none) Log: Fix usage_count in ldso/libdl. Don't' use atexit in libdl. Make destrutor in libdl actually run and to dlclose all dlopened libs. Remove dlclosed libs from the _dl_symbol_tables list. Members: ldso/ldso/ldso.c:1.104->1.105 ldso/libdl/Makefile:1.38->1.39 ldso/libdl/libdl.c:1.47->1.48 ------