From 64cd3e83c9993f3c1a3c24ea3030a22ccf35e12d Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 27 Dec 2005 14:48:14 +0000 Subject: [PATCH] Updated to fedora-glibc-20051227T1426 --- ChangeLog | 157 +++++++++++ Makeconfig | 20 +- Makerules | 23 +- Versions.def | 1 + {sysdeps/generic/bits => bits}/byteswap.h | 0 {sysdeps/generic/bits => bits}/confname.h | 0 {sysdeps/generic/bits => bits}/dlfcn.h | 0 {sysdeps/generic/bits => bits}/environments.h | 0 {sysdeps/generic/bits => bits}/link.h | 0 {sysdeps/generic/bits => bits}/linkmap.h | 0 {sysdeps/generic/bits => bits}/mman.h | 0 {sysdeps/generic/bits => bits}/types.h | 0 {sysdeps/generic/bits => bits}/waitstatus.h | 0 csu/dso_handle.c | 2 +- elf/cache.c | 4 +- elf/chroot_canon.c | 6 +- elf/dl-error.c | 2 +- elf/dl-lookup.c | 2 +- elf/ldconfig.c | 6 +- elf/readlib.c | 4 +- elf/rtld.c | 2 +- fedora/branch.mk | 4 +- fedora/glibc.spec.in | 51 +++- gmon/mcount.c | 2 +- hurd/hurdfault.c | 5 +- hurd/hurdsig.c | 6 +- hurd/report-wait.c | 6 +- hurd/sigunwind.c | 2 +- iconv/gconv_conf.c | 2 +- include/stdlib.h | 4 + include/time.h | 8 + intl/l10nflist.c | 7 +- mach/setup-thread.c | 4 +- manual/errno.texi | 36 +++ misc/syslog.c | 9 +- nptl/ChangeLog | 95 +++++++ nptl/Makefile | 11 +- nptl/Versions | 5 + nptl/descr.h | 45 +++ nptl/libc-cancellation.c | 4 +- nptl/pt-cleanup.c | 5 +- nptl/pthreadP.h | 28 +- nptl/pthread_create.c | 29 +- nptl/pthread_join.c | 4 +- .../uio.h => nptl/pthread_mutex_consistent.c | 28 +- nptl/pthread_mutex_destroy.c | 5 +- nptl/pthread_mutex_init.c | 14 +- nptl/pthread_mutex_lock.c | 76 +++++- nptl/pthread_mutex_timedlock.c | 90 +++++- nptl/pthread_mutex_trylock.c | 97 ++++++- nptl/pthread_mutex_unlock.c | 58 +++- nptl/pthread_mutexattr_getpshared.c | 6 +- .../pthread_mutexattr_getrobust.c | 35 ++- nptl/pthread_mutexattr_gettype.c | 6 +- nptl/pthread_mutexattr_setpshared.c | 8 +- .../pthread_mutexattr_setrobust.c | 49 ++-- nptl/pthread_mutexattr_settype.c | 6 +- nptl/pthread_timedjoin.c | 4 +- nptl/pthread_tryjoin.c | 4 +- nptl/sysdeps/pthread/pthread.h | 53 +++- nptl/sysdeps/pthread/sigaction.c | 8 +- .../unix/sysv/linux/i386/bits/pthreadtypes.h | 8 +- .../unix/sysv/linux/i386/i486/sem_wait.S | 4 +- .../unix/sysv/linux/libc_pthread_init.c | 4 +- .../sysdeps/unix/sysv/linux/register-atfork.c | 4 +- .../unix/sysv/linux/unregister-atfork.c | 4 +- .../sysv/linux/x86_64/bits/pthreadtypes.h | 17 +- nptl/tst-cancel24.cc | 113 ++++++++ nptl/tst-once3.c | 7 +- nptl/tst-robust1.c | 245 +++++++++++++++++ nptl/tst-robust2.c | 3 + nptl/tst-robust3.c | 20 ++ nptl/tst-robust4.c | 2 + nptl/tst-robust5.c | 2 + nptl/tst-robust6.c | 2 + nptl/tst-typesizes.c | 68 +++++ nptl/unwind.c | 4 +- nptl/version.c | 4 +- rt/aio_read64.c | 2 +- rt/aio_sigqueue.c | 4 +- rt/aio_write64.c | 2 +- scripts/gen-as-const.awk | 28 +- soft-fp/soft-fp.h | 5 +- stdio-common/tmpfile64.c | 2 +- stdlib/Makefile | 5 +- stdlib/tst-ucontext-off.c | 35 --- sysdeps/generic/bits/atomic.h | 43 --- sysdeps/generic/bits/dirent.h | 37 --- sysdeps/generic/bits/elfclass.h | 14 - sysdeps/generic/bits/endian.h | 13 - sysdeps/generic/bits/errno.h | 35 --- sysdeps/generic/bits/fcntl.h | 95 ------- sysdeps/generic/bits/fenv.h | 56 ---- sysdeps/generic/bits/fenvinline.h | 8 - sysdeps/generic/bits/huge_val.h | 29 -- sysdeps/generic/bits/huge_valf.h | 29 -- sysdeps/generic/bits/huge_vall.h | 29 -- sysdeps/generic/bits/in.h | 82 ------ sysdeps/generic/bits/inf.h | 33 --- sysdeps/generic/bits/ioctl-types.h | 114 -------- sysdeps/generic/bits/ioctls.h | 5 - sysdeps/generic/bits/ipc.h | 47 ---- sysdeps/generic/bits/libc-lock.h | 138 ---------- sysdeps/generic/bits/libc-tsd.h | 69 ----- sysdeps/generic/bits/local_lim.h | 3 - sysdeps/generic/bits/mathdef.h | 43 --- sysdeps/generic/bits/mathinline.h | 12 - sysdeps/generic/bits/mqueue.h | 31 --- sysdeps/generic/bits/msq.h | 45 --- sysdeps/generic/bits/nan.h | 5 - sysdeps/generic/bits/netdb.h | 33 --- sysdeps/generic/bits/poll.h | 43 --- sysdeps/generic/bits/posix_opt.h | 2 - sysdeps/generic/bits/pthreadtypes.h | 1 - sysdeps/generic/bits/resource.h | 182 ------------- sysdeps/generic/bits/sched.h | 71 ----- sysdeps/generic/bits/select.h | 35 --- sysdeps/generic/bits/sem.h | 62 ----- sysdeps/generic/bits/setjmp.h | 7 - sysdeps/generic/bits/shm.h | 58 ---- sysdeps/generic/bits/sigaction.h | 78 ------ sysdeps/generic/bits/sigcontext.h | 33 --- sysdeps/generic/bits/siginfo.h | 211 --------------- sysdeps/generic/bits/signum.h | 64 ----- sysdeps/generic/bits/sigset.h | 83 ------ sysdeps/generic/bits/sigstack.h | 55 ---- sysdeps/generic/bits/sigthread.h | 35 --- sysdeps/generic/bits/sockaddr.h | 40 --- sysdeps/generic/bits/socket.h | 251 ----------------- sysdeps/generic/bits/stat.h | 99 ------- sysdeps/generic/bits/statfs.h | 70 ----- sysdeps/generic/bits/statvfs.h | 84 ------ sysdeps/generic/bits/stdio-lock.h | 58 ---- sysdeps/generic/bits/string.h | 12 - sysdeps/generic/bits/stropts.h | 231 ---------------- sysdeps/generic/bits/sys_errlist.h | 24 -- sysdeps/generic/bits/termios.h | 256 ------------------ sysdeps/generic/bits/time.h | 75 ----- sysdeps/generic/bits/typesizes.h | 66 ----- sysdeps/generic/bits/ustat.h | 31 --- sysdeps/generic/bits/utsname.h | 25 -- sysdeps/generic/bits/waitflags.h | 27 -- sysdeps/generic/bits/wchar.h | 26 -- sysdeps/generic/bits/wordsize.h | 1 - sysdeps/generic/bits/xtitypes.h | 34 --- sysdeps/generic/unwind-dw2.c | 6 +- sysdeps/gnu/errlist.c | 48 ++++ sysdeps/i386/fpu/e_expl.c | 4 +- sysdeps/i386/i586/memusage.h | 1 + sysdeps/i386/memusage.h | 1 - sysdeps/ieee754/dbl-64/e_exp2.c | 13 +- sysdeps/ieee754/dbl-64/halfulp.c | 4 +- sysdeps/ieee754/flt-32/e_exp2f.c | 13 +- sysdeps/ieee754/flt-32/e_expf.c | 13 +- sysdeps/ieee754/flt-32/s_expm1f.c | 18 +- sysdeps/mach/hurd/fork.c | 5 +- sysdeps/mach/hurd/hppa/trampoline.c | 4 +- sysdeps/mach/hurd/i386/trampoline.c | 7 +- sysdeps/mach/hurd/ifreq.c | 6 + sysdeps/mach/hurd/mips/trampoline.c | 10 +- sysdeps/mach/hurd/powerpc/trampoline.c | 7 +- sysdeps/posix/sprofil.c | 4 +- sysdeps/powerpc/fpu/libm-test-ulps | 34 +-- sysdeps/pthread/aio_cancel.c | 4 +- sysdeps/pthread/aio_fsync.c | 4 +- sysdeps/pthread/aio_read.c | 4 +- sysdeps/pthread/aio_read64.c | 4 +- sysdeps/pthread/aio_suspend.c | 5 +- sysdeps/pthread/aio_write.c | 4 +- sysdeps/pthread/aio_write64.c | 4 +- sysdeps/pthread/lio_listio.c | 5 +- sysdeps/pthread/lio_listio64.c | 4 +- sysdeps/unix/sysv/linux/Versions | 3 + sysdeps/unix/sysv/linux/aio_sigqueue.c | 5 +- sysdeps/unix/sysv/linux/bits/errno.h | 11 +- sysdeps/unix/sysv/linux/i386/Makefile | 4 + sysdeps/unix/sysv/linux/i386/ucontext_i.h | 61 ----- sysdeps/unix/sysv/linux/i386/ucontext_i.sym | 30 ++ sysdeps/unix/sysv/linux/powerpc/Makefile | 4 + .../sysv/linux/powerpc/powerpc32/ucontext_i.h | 62 ----- .../linux/powerpc/powerpc32/ucontext_i.sym | 34 +++ .../sysv/linux/powerpc/powerpc64/ucontext_i.h | 75 ----- .../linux/powerpc/powerpc64/ucontext_i.sym | 50 ++++ sysdeps/unix/sysv/linux/s390/Makefile | 4 + .../unix/sysv/linux/s390/s390-32/ucontext_i.h | 49 ---- .../unix/sysv/linux/s390/s390-64/ucontext_i.h | 49 ---- sysdeps/unix/sysv/linux/s390/ucontext_i.sym | 23 ++ sysdeps/unix/sysv/linux/sh/Makefile | 4 + sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h | 79 ------ sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym | 38 +++ sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h | 149 ---------- sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym | 73 +++++ sysdeps/unix/sysv/linux/x86_64/Makefile | 4 + sysdeps/unix/sysv/linux/x86_64/ucontext_i.h | 69 ----- sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym | 34 +++ sysdeps/unix/sysv/tcflow.c | 4 +- sysdeps/x86_64/__longjmp.S | 2 + sysdeps/x86_64/setjmp.S | 9 + test-skeleton.c | 4 +- 199 files changed, 1984 insertions(+), 4405 deletions(-) rename {sysdeps/generic/bits => bits}/byteswap.h (100%) rename {sysdeps/generic/bits => bits}/confname.h (100%) rename {sysdeps/generic/bits => bits}/dlfcn.h (100%) rename {sysdeps/generic/bits => bits}/environments.h (100%) rename {sysdeps/generic/bits => bits}/link.h (100%) rename {sysdeps/generic/bits => bits}/linkmap.h (100%) rename {sysdeps/generic/bits => bits}/mman.h (100%) rename {sysdeps/generic/bits => bits}/types.h (100%) rename {sysdeps/generic/bits => bits}/waitstatus.h (100%) rename sysdeps/generic/bits/uio.h => nptl/pthread_mutex_consistent.c (61%) rename sysdeps/generic/bits/ipctypes.h => nptl/pthread_mutexattr_getrobust.c (62%) rename sysdeps/generic/bits/utmp.h => nptl/pthread_mutexattr_setrobust.c (52%) create mode 100644 nptl/tst-cancel24.cc create mode 100644 nptl/tst-robust1.c create mode 100644 nptl/tst-robust2.c create mode 100644 nptl/tst-robust3.c create mode 100644 nptl/tst-robust4.c create mode 100644 nptl/tst-robust5.c create mode 100644 nptl/tst-robust6.c create mode 100644 nptl/tst-typesizes.c delete mode 100644 stdlib/tst-ucontext-off.c delete mode 100644 sysdeps/generic/bits/atomic.h delete mode 100644 sysdeps/generic/bits/dirent.h delete mode 100644 sysdeps/generic/bits/elfclass.h delete mode 100644 sysdeps/generic/bits/endian.h delete mode 100644 sysdeps/generic/bits/errno.h delete mode 100644 sysdeps/generic/bits/fcntl.h delete mode 100644 sysdeps/generic/bits/fenv.h delete mode 100644 sysdeps/generic/bits/fenvinline.h delete mode 100644 sysdeps/generic/bits/huge_val.h delete mode 100644 sysdeps/generic/bits/huge_valf.h delete mode 100644 sysdeps/generic/bits/huge_vall.h delete mode 100644 sysdeps/generic/bits/in.h delete mode 100644 sysdeps/generic/bits/inf.h delete mode 100644 sysdeps/generic/bits/ioctl-types.h delete mode 100644 sysdeps/generic/bits/ioctls.h delete mode 100644 sysdeps/generic/bits/ipc.h delete mode 100644 sysdeps/generic/bits/libc-lock.h delete mode 100644 sysdeps/generic/bits/libc-tsd.h delete mode 100644 sysdeps/generic/bits/local_lim.h delete mode 100644 sysdeps/generic/bits/mathdef.h delete mode 100644 sysdeps/generic/bits/mathinline.h delete mode 100644 sysdeps/generic/bits/mqueue.h delete mode 100644 sysdeps/generic/bits/msq.h delete mode 100644 sysdeps/generic/bits/nan.h delete mode 100644 sysdeps/generic/bits/netdb.h delete mode 100644 sysdeps/generic/bits/poll.h delete mode 100644 sysdeps/generic/bits/posix_opt.h delete mode 100644 sysdeps/generic/bits/pthreadtypes.h delete mode 100644 sysdeps/generic/bits/resource.h delete mode 100644 sysdeps/generic/bits/sched.h delete mode 100644 sysdeps/generic/bits/select.h delete mode 100644 sysdeps/generic/bits/sem.h delete mode 100644 sysdeps/generic/bits/setjmp.h delete mode 100644 sysdeps/generic/bits/shm.h delete mode 100644 sysdeps/generic/bits/sigaction.h delete mode 100644 sysdeps/generic/bits/sigcontext.h delete mode 100644 sysdeps/generic/bits/siginfo.h delete mode 100644 sysdeps/generic/bits/signum.h delete mode 100644 sysdeps/generic/bits/sigset.h delete mode 100644 sysdeps/generic/bits/sigstack.h delete mode 100644 sysdeps/generic/bits/sigthread.h delete mode 100644 sysdeps/generic/bits/sockaddr.h delete mode 100644 sysdeps/generic/bits/socket.h delete mode 100644 sysdeps/generic/bits/stat.h delete mode 100644 sysdeps/generic/bits/statfs.h delete mode 100644 sysdeps/generic/bits/statvfs.h delete mode 100644 sysdeps/generic/bits/stdio-lock.h delete mode 100644 sysdeps/generic/bits/string.h delete mode 100644 sysdeps/generic/bits/stropts.h delete mode 100644 sysdeps/generic/bits/sys_errlist.h delete mode 100644 sysdeps/generic/bits/termios.h delete mode 100644 sysdeps/generic/bits/time.h delete mode 100644 sysdeps/generic/bits/typesizes.h delete mode 100644 sysdeps/generic/bits/ustat.h delete mode 100644 sysdeps/generic/bits/utsname.h delete mode 100644 sysdeps/generic/bits/waitflags.h delete mode 100644 sysdeps/generic/bits/wchar.h delete mode 100644 sysdeps/generic/bits/wordsize.h delete mode 100644 sysdeps/generic/bits/xtitypes.h create mode 100644 sysdeps/i386/i586/memusage.h delete mode 100644 sysdeps/unix/sysv/linux/i386/ucontext_i.h create mode 100644 sysdeps/unix/sysv/linux/i386/ucontext_i.sym delete mode 100644 sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h create mode 100644 sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym delete mode 100644 sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h create mode 100644 sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym delete mode 100644 sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h delete mode 100644 sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h create mode 100644 sysdeps/unix/sysv/linux/s390/ucontext_i.sym delete mode 100644 sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h create mode 100644 sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym delete mode 100644 sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h create mode 100644 sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym delete mode 100644 sysdeps/unix/sysv/linux/x86_64/ucontext_i.h create mode 100644 sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym diff --git a/ChangeLog b/ChangeLog index f471b85859..33a598ff07 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,160 @@ +2005-12-26 Ulrich Drepper + + * Versions.def: Add GLIBC_2.4 for libpthread. + +2005-12-25 Ulrich Drepper + + * stdlib/Makefile ($(objpfx)isomac.out): Move -I.. to the end so + that $(..)/bits is not found early. + +2005-12-24 Ulrich Drepper + + * manual/errno.texi: Add new Linux errno codes. + * sysdeps/unix/sysv/linux/Versions: Add new errlist-compat entry + for up to 132 errnos. + * sysdeps/unix/sysv/linux/bits/errno.h: Define EOWNERDEAD and + ENOTRECOVERABLE if not already defined. + +2005-12-23 Ulrich Drepper + + [BZ #1566] + * sysdeps/i386/i586/memusage.h: New file. + * sysdeps/i386/memusage.h: Don't define GETTIME. + +2005-12-22 Ulrich Drepper + + [BZ #1499] + * misc/syslog.c (SyslogAddr): Use sockaddr_un instead of sockaddr. + (openlog_internal): Adjust for this change. + + * Makeconfig: Define CXXFLAGS. Split out warnings from +gccwarn which + are not understood by the C++ compiler. + * Makerules: Add rules to build C++ code for test cases. + * include/stdlib.h: Protect for inclusion in C++ code. + * include/time.h: Likewise. + +2005-12-22 Roland McGrath + + * Makerules [gen-as-const-headers] (tests): Add one test per .sym + file, not just one. + ($(objpfx)test-as-const.c): Target replaced with ... + ($(objpfx)test-as-const-%.c): ... this pattern rule. + (generated): Add those files. + +2005-12-22 Ulrich Drepper + + * test-skeleton.c (timeout_handler): Rewrite ts initialization for + C++ compatibility. + + * sysdeps/x86_64/__longjmp.S: Also protect SP and BP. + * sysdeps/x86_64/setjmp.S: Likewise. + +2005-12-21 Roland McGrath + + * sysdeps/unix/sysv/linux/i386/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/i386/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: File removed. + * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: New file. + * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = stdlib]: + (gen-as-const-headers): Add it. + * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise. + * sysdeps/unix/sysv/linux/sh/Makefile: Likewise. + * sysdeps/unix/sysv/linux/s390/Makefile: Likewise. + * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise. + * stdlib/tst-ucontext-off.c: File removed. + * stdlib/Makefile (tests): Remove it. + + * scripts/gen-as-const.awk: Support generating a test program. + * Makerules [gen-as-const-headers] (tests): Add test-as-const. + [gen-as-const-headers] ($(objpfx)test-as-const.c): New target. + + * sysdeps/generic/bits: Subdirectory and all files moved to ... + * bits: ... here, new subdirectory. + * Makeconfig (+includes): Reordered includes to put build and sysdeps + dirs first after $(..)include, $(sysincludes) last. + + [BZ #2066] + * intl/l10nflist.c (_nl_make_l10nflist): Free ABS_FILENAME when later + malloc fails. + +2005-12-21 Jakub Jelinek + + * sysdeps/powerpc/fpu/libm-test-ulps: Update for GCC 4.1 prerelease. + +2005-12-21 Roland McGrath + + * sysdeps/mach/hurd/ifreq.c: Add missing #includes. + + * elf/cache.c: Use <> rather than "" #includes. + * elf/chroot_canon.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/ldconfig.c: Likewise. + * elf/readlib.c: Likewise. + * elf/rtld.c: Likewise. + * gmon/mcount.c: Likewise. + * hurd/hurdfault.c: Likewise. + * hurd/hurdsig.c: Likewise. + * hurd/report-wait.c: Likewise. + * hurd/sigunwind.c: Likewise. + * mach/setup-thread.c: Likewise. + * rt/aio_read64.c: Likewise. + * rt/aio_sigqueue.c: Likewise. + * rt/aio_write64.c: Likewise. + * soft-fp/soft-fp.h: Likewise. + * stdio-common/tmpfile64.c: Likewise. + * sysdeps/mach/hurd/fork.c: Likewise. + * sysdeps/mach/hurd/hppa/trampoline.c: Likewise. + * sysdeps/mach/hurd/i386/trampoline.c: Likewise. + * sysdeps/mach/hurd/mips/trampoline.c: Likewise. + * sysdeps/mach/hurd/powerpc/trampoline.c: Likewise. + * sysdeps/posix/sprofil.c: Likewise. + * sysdeps/pthread/aio_cancel.c: Likewise. + * sysdeps/pthread/aio_fsync.c: Likewise. + * sysdeps/pthread/aio_read64.c: Likewise. + * sysdeps/pthread/aio_read.c: Likewise. + * sysdeps/pthread/aio_suspend.c: Likewise. + * sysdeps/pthread/aio_write64.c: Likewise. + * sysdeps/pthread/aio_write.c: Likewise. + * sysdeps/pthread/lio_listio64.c: Likewise. + * sysdeps/pthread/lio_listio.c: Likewise. + * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. + * sysdeps/unix/sysv/tcflow.c: Likewise. + + * sysdeps/generic/unwind-dw2.c (extract_cie_info): Add a cast. + + * elf/dl-error.c (_dl_signal_error): Use .__jmpbuf in __longjmp call. + + * csu/dso_handle.c (__dso_handle): Add const to pointer type too. + +2005-12-21 Ulrich Drepper + + * iconv/gconv_conf.c: Initialize empty_path_elem. + + * sysdeps/ieee754/dbl-64/halfulp.c: Mark tab54 as static and const. + * sysdeps/i386/fpu/e_expl.c: Mark c0 and c1 as const. + * sysdeps/ieee754/flt-32/s_expm1f.c: Make sure huge and tiny end + up in .rodata. + * sysdeps/ieee754/flt-32/e_exp2f.c: Make sure TWO127 and TWOM100 + end up in .rodata. + * sysdeps/ieee754/flt-32/e_expf.c: Likewise. + * sysdeps/ieee754/dbl-64/e_exp2.c: Make sure TWO1023 and TWOM1000 + end up in .rodata. + +2005-12-21 Thorsten Kukuk + + * elf/readlib.c: Fix include of readelflib.c. + 2005-12-21 Ulrich Drepper [BZ #1962] diff --git a/Makeconfig b/Makeconfig index 45a970402e..f32a19eab6 100644 --- a/Makeconfig +++ b/Makeconfig @@ -552,10 +552,11 @@ endif # Extra flags to pass to GCC. ifeq ($(all-warnings),yes) -+gccwarn := -Wall -Wwrite-strings -Winline -Wstrict-prototypes -Wcast-qual -Wbad-function-cast -Wmissing-noreturn -Wmissing-prototypes -Wmissing-declarations -Wcomment -Wcomments -Wtrigraphs -Wsign-compare -Wfloat-equal -Wmultichar ++gccwarn := -Wall -Wwrite-strings -Winline -Wcast-qual -Wbad-function-cast -Wmissing-noreturn -Wmissing-prototypes -Wmissing-declarations -Wcomment -Wcomments -Wtrigraphs -Wsign-compare -Wfloat-equal -Wmultichar else -+gccwarn := -Wall -Wwrite-strings -Winline -Wstrict-prototypes ++gccwarn := -Wall -Wwrite-strings -Winline endif ++gccwarn-c = -Wstrict-prototypes # We do not depend on the address of constants in different files to be # actually different, so allow the compiler to merge them all. @@ -627,10 +628,10 @@ endif # $(+cflags) == "" # library source directory, in the include directory, and in the # current directory. # `+sysdep-includes' will be defined by Makerules. -+includes = -I$(..)include $(patsubst %/,-I%,$(..)) \ - $(libio-include) $(includes) \ - $(+sysdep-includes) $(sysincludes) -I. \ - $(patsubst %/,-I%,$(objpfx)) ++includes = -I$(..)include \ + $(patsubst %/,-I%,$(objpfx)) $(+sysdep-includes) \ + $(patsubst %/,-I%,$(..)) $(libio-include) $(includes) -I. \ + $(sysincludes) # Since libio has several internal header files, we use a -I instead # of many little headers in the include directory. @@ -647,8 +648,11 @@ CPPFLAGS = $($(subdir)-CPPFLAGS) $(+includes) $(defines) \ $(libof-$( $@T + mv -f $@T $@ +endif # Generate an ordered list of implicit rules which find the source files in # each sysdep directory. The old method was to use vpath to search all the @@ -295,6 +306,12 @@ endef object-suffixes-left := $(all-object-suffixes) include $(o-iterator) +define o-iterator-doit +$(objpfx)%$o: %.cc $(before-compile); $$(compile-command.cc) +endef +object-suffixes-left := $(all-object-suffixes) +include $(o-iterator) + # Omit the objpfx rules when building in the source tree, because # objpfx is empty and so these rules just override the ones above. ifdef objpfx @@ -370,9 +387,11 @@ compile-mkdep-flags = -MD -MP -MF $@.dt -MT $@ compile-command.S = $(compile.S) $(OUTPUT_OPTION) $(compile-mkdep-flags) compile-command.s = $(COMPILE.s) $< $(OUTPUT_OPTION) $(compile-mkdep-flags) compile-command.c = $(compile.c) $(OUTPUT_OPTION) $(compile-mkdep-flags) +compile-command.cc = $(compile.cc) $(OUTPUT_OPTION) $(compile-mkdep-flags) # GCC can grok options after the file name, and it looks nicer that way. compile.c = $(CC) $< -c $(CFLAGS) $(CPPFLAGS) +compile.cc = $(CXX) $< -c $(CXXFLAGS) $(CPPFLAGS) compile.S = $(CC) $< -c $(CPPFLAGS) $(S-CPPFLAGS) \ $(ASFLAGS) $(ASFLAGS-$(suffix $@)) COMPILE.S = $(CC) -c $(CPPFLAGS) $(S-CPPFLAGS) \ @@ -1169,9 +1188,9 @@ xcheck: xtests all-nonlib = $(strip $(tests) $(xtests) $(test-srcs) $(test-extras) $(others)) ifneq (,$(all-nonlib)) -cpp-srcs-left = $(all-nonlib:=.c) +cpp-srcs-left = $(all-nonlib:=.c) $(all-nonlib:=.cc) lib := nonlib -include $(patsubst %,$(..)cppflags-iterator.mk,$(all-nonlib)) +include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left)) endif # The include magic above causes those files to use this variable for flags. diff --git a/Versions.def b/Versions.def index 09cef140bf..d7be70386e 100644 --- a/Versions.def +++ b/Versions.def @@ -80,6 +80,7 @@ libpthread { GLIBC_2.3.2 GLIBC_2.3.3 GLIBC_2.3.4 + GLIBC_2.4 GLIBC_PRIVATE } libresolv { diff --git a/sysdeps/generic/bits/byteswap.h b/bits/byteswap.h similarity index 100% rename from sysdeps/generic/bits/byteswap.h rename to bits/byteswap.h diff --git a/sysdeps/generic/bits/confname.h b/bits/confname.h similarity index 100% rename from sysdeps/generic/bits/confname.h rename to bits/confname.h diff --git a/sysdeps/generic/bits/dlfcn.h b/bits/dlfcn.h similarity index 100% rename from sysdeps/generic/bits/dlfcn.h rename to bits/dlfcn.h diff --git a/sysdeps/generic/bits/environments.h b/bits/environments.h similarity index 100% rename from sysdeps/generic/bits/environments.h rename to bits/environments.h diff --git a/sysdeps/generic/bits/link.h b/bits/link.h similarity index 100% rename from sysdeps/generic/bits/link.h rename to bits/link.h diff --git a/sysdeps/generic/bits/linkmap.h b/bits/linkmap.h similarity index 100% rename from sysdeps/generic/bits/linkmap.h rename to bits/linkmap.h diff --git a/sysdeps/generic/bits/mman.h b/bits/mman.h similarity index 100% rename from sysdeps/generic/bits/mman.h rename to bits/mman.h diff --git a/sysdeps/generic/bits/types.h b/bits/types.h similarity index 100% rename from sysdeps/generic/bits/types.h rename to bits/types.h diff --git a/sysdeps/generic/bits/waitstatus.h b/bits/waitstatus.h similarity index 100% rename from sysdeps/generic/bits/waitstatus.h rename to bits/waitstatus.h diff --git a/csu/dso_handle.c b/csu/dso_handle.c index 72f80889d7..fd295f2442 100644 --- a/csu/dso_handle.c +++ b/csu/dso_handle.c @@ -18,5 +18,5 @@ /* We have to define __dso_handle ourselves since we do not use gcc's crtbegin files. */ -void *const __dso_handle __attribute__ ((__visibility__ ("hidden"))) +const void *const __dso_handle __attribute__ ((__visibility__ ("hidden"))) = &__dso_handle; diff --git a/elf/cache.c b/elf/cache.c index 9ce3d161a7..c13918ccb4 100644 --- a/elf/cache.c +++ b/elf/cache.c @@ -30,8 +30,8 @@ #include #include -#include "ldconfig.h" -#include "dl-cache.h" +#include +#include struct cache_entry { diff --git a/elf/chroot_canon.c b/elf/chroot_canon.c index 41d6e82625..3ef2fdf08f 100644 --- a/elf/chroot_canon.c +++ b/elf/chroot_canon.c @@ -1,6 +1,6 @@ /* Return the canonical absolute name of a given file inside chroot. - Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2004, 2005 - Free Software Foundation, Inc. + Copyright (C) 1996,1997,1998,1999,2000,2001,2004,2005 + Free Software Foundation, Inc. This file is part of the GNU C Library. This program is free software; you can redistribute it and/or modify @@ -26,7 +26,7 @@ #include #include -#include "ldconfig.h" +#include #ifndef PATH_MAX #define PATH_MAX 1024 diff --git a/elf/dl-error.c b/elf/dl-error.c index b5374e949c..79ebaaf01b 100644 --- a/elf/dl-error.c +++ b/elf/dl-error.c @@ -113,7 +113,7 @@ _dl_signal_error (int errcode, const char *objname, const char *occation, lcatch->malloced = false; } /* We do not restore the signal mask because none was saved. */ - __longjmp (lcatch->env, errcode ?: -1); + __longjmp (lcatch->env[0].__jmpbuf, errcode ?: -1); } else { diff --git a/elf/dl-lookup.c b/elf/dl-lookup.c index 130453ca24..5a7bed16e5 100644 --- a/elf/dl-lookup.c +++ b/elf/dl-lookup.c @@ -23,7 +23,7 @@ #include #include #include -#include "dl-hash.h" +#include #include #include #include diff --git a/elf/ldconfig.c b/elf/ldconfig.c index e63b312bd0..e5a931913f 100644 --- a/elf/ldconfig.c +++ b/elf/ldconfig.c @@ -37,10 +37,10 @@ #include #include -#include "ldconfig.h" -#include "dl-cache.h" +#include +#include -#include "dl-procinfo.h" +#include #ifdef _DL_FIRST_PLATFORM # define _DL_FIRST_EXTRA (_DL_FIRST_PLATFORM + _DL_PLATFORMS_COUNT) diff --git a/elf/readlib.c b/elf/readlib.c index 65c8e9d65d..8896bbdaca 100644 --- a/elf/readlib.c +++ b/elf/readlib.c @@ -34,7 +34,7 @@ #include #include -#include "ldconfig.h" +#include #define Elf32_CLASS ELFCLASS32 #define Elf64_CLASS ELFCLASS64 @@ -178,4 +178,4 @@ process_file (const char *real_file_name, const char *file_name, } /* Get architecture specific version of process_elf_file. */ -#include "readelflib.c" +#include diff --git a/elf/rtld.c b/elf/rtld.c index aee3ea9a2a..71bcf0ab71 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -34,7 +34,7 @@ #include #include #include "dynamic-link.h" -#include "dl-librecon.h" +#include #include #include #include diff --git a/fedora/branch.mk b/fedora/branch.mk index 43a878b1bd..eb64c97cd4 100644 --- a/fedora/branch.mk +++ b/fedora/branch.mk @@ -3,5 +3,5 @@ glibc-branch := fedora glibc-base := HEAD DIST_BRANCH := devel COLLECTION := dist-fc4 -fedora-sync-date := 2005-12-21 09:31 UTC -fedora-sync-tag := fedora-glibc-20051221T0931 +fedora-sync-date := 2005-12-27 14:26 UTC +fedora-sync-tag := fedora-glibc-20051227T1426 diff --git a/fedora/glibc.spec.in b/fedora/glibc.spec.in index d28e5481ab..70c2b41003 100644 --- a/fedora/glibc.spec.in +++ b/fedora/glibc.spec.in @@ -1,4 +1,4 @@ -%define glibcrelease 22 +%define glibcrelease 23 %define auxarches i586 i686 athlon sparcv9 alphaev6 %define prelinkarches noarch %define xenarches i686 athlon @@ -390,7 +390,7 @@ cat > asm/unistd.h < asm/unistd.h < asm/errno.h < +%ifarch alpha +#ifndef ENOKEY +#define ENOKEY 132 +#define EKEYEXPIRED 133 +#define EKEYREVOKED 134 +#define EKEYREJECTED 135 +#endif +#ifndef EOWNERDEAD +#define EOWNERDEAD 136 +#define ENOTRECOVERABLE 137 +#endif +%endif +%ifarch %{ix86} ia64 ppc ppc64 s390 s390x x86_64 +#ifndef ENOKEY +#define ENOKEY 126 +#define EKEYEXPIRED 127 +#define EKEYREVOKED 128 +#define EKEYREJECTED 129 +#endif +#ifndef EOWNERDEAD +#define EOWNERDEAD 130 +#define ENOTRECOVERABLE 131 +#endif +%endif +%ifarch sparc sparcv9 sparc64 +#ifndef ENOKEY +#define ENOKEY 128 +#define EKEYEXPIRED 129 +#define EKEYREVOKED 130 +#define EKEYREJECTED 131 +#endif +#ifndef EOWNERDEAD +#define EOWNERDEAD 132 +#define ENOTRECOVERABLE 133 +#endif +%endif +#endif +EOF # A lot of programs still misuse memcpy when they have to use # memmove. The memcpy implementation below is not tolerant at @@ -1074,6 +1115,12 @@ rm -f *.filelist* %endif %changelog +* Tue Dec 27 2005 Jakub Jelinek 2.3.90-23 +- update from CVS + - robust mutexes +- fix transliteration segfaults (#176573, #176583) +- ignore prelink temporaries in ldconfig (#176570) + * Wed Dec 21 2005 Jakub Jelinek 2.3.90-22 - update from CVS - minor fts fixes diff --git a/gmon/mcount.c b/gmon/mcount.c index e18bf86e83..32a5f1ea0f 100644 --- a/gmon/mcount.c +++ b/gmon/mcount.c @@ -37,7 +37,7 @@ static char sccsid[] = "@(#)mcount.c 8.1 (Berkeley) 6/4/93"; /* This file provides the machine-dependent definitions of the _MCOUNT_DECL and MCOUNT macros. */ -#include "machine-gmon.h" +#include #include diff --git a/hurd/hurdfault.c b/hurd/hurdfault.c index 6ab5a97876..36653e1488 100644 --- a/hurd/hurdfault.c +++ b/hurd/hurdfault.c @@ -1,5 +1,6 @@ /* Handle faults in the signal thread. - Copyright (C) 1994,95,96,97,2002 Free Software Foundation, Inc. + Copyright (C) 1994,1995,1996,1997,2002,2005 + Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -24,7 +25,7 @@ #include #include #include -#include "thread_state.h" +#include #include "faultexc_server.h" /* mig-generated header for our exc server. */ #include diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index bbd0c17182..e12d19da12 100644 --- a/hurd/hurdsig.c +++ b/hurd/hurdsig.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991,92,93,94,95,96,97,98,99,2000,01,2002 +/* Copyright (C) 1991,92,1993,1994,1995,1996,1997,1998,1999,2000,2001,2002,2005 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -132,7 +132,7 @@ _hurd_thread_sigstate (thread_t thread) #include #include #include -#include "thread_state.h" +#include #include #include /* For __msg_sig_post_reply. */ #include @@ -256,7 +256,7 @@ interrupted_reply_port_location (struct machine_thread_all_state *thread_state, } #include -#include "intr-msg.h" +#include /* Timeout on interrupt_operation calls. */ mach_msg_timeout_t _hurdsig_interrupt_timeout = 1000; diff --git a/hurd/report-wait.c b/hurd/report-wait.c index 2ec1c19202..da0ca3bdb2 100644 --- a/hurd/report-wait.c +++ b/hurd/report-wait.c @@ -1,5 +1,5 @@ /* Report on what a thread in our task is waiting for. - Copyright (C) 1996,97,99,2002 Free Software Foundation, Inc. + Copyright (C) 1996,1997,1999,2002,2005 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -23,8 +23,8 @@ #include #include #include -#include "thread_state.h" -#include "intr-msg.h" +#include +#include static char * describe_number (string_t description, const char *flavor, long int i) diff --git a/hurd/sigunwind.c b/hurd/sigunwind.c index 1c6489b3b3..2231518bd0 100644 --- a/hurd/sigunwind.c +++ b/hurd/sigunwind.c @@ -18,7 +18,7 @@ 02111-1307 USA. */ #include -#include "thread_state.h" +#include #include #include diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c index 78f41cb368..ad5a7ee105 100644 --- a/iconv/gconv_conf.c +++ b/iconv/gconv_conf.c @@ -46,7 +46,7 @@ struct path_elem *__gconv_path_elem; size_t __gconv_max_path_elem_len; /* We use the following struct if we couldn't allocate memory. */ -static const struct path_elem empty_path_elem; +static const struct path_elem empty_path_elem = { NULL, 0 }; /* Name of the file containing the module information in the directories along the path. */ diff --git a/include/stdlib.h b/include/stdlib.h index 49e87576f3..90b779d895 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -10,6 +10,8 @@ /* Now define the internal interfaces. */ #ifndef __Need_M_And_C +__BEGIN_DECLS + extern __typeof (strtol_l) __strtol_l; extern __typeof (strtoul_l) __strtoul_l; extern __typeof (strtoll_l) __strtoll_l; @@ -197,6 +199,8 @@ __strtoull_l (__const char * __restrict __nptr, char **__restrict __endptr, extern void * __default_morecore (ptrdiff_t); libc_hidden_proto (__default_morecore) +__END_DECLS + #undef __Need_M_And_C #endif /* include/stdlib.h */ diff --git a/include/time.h b/include/time.h index c2171ef449..adf2dea1ec 100644 --- a/include/time.h +++ b/include/time.h @@ -5,6 +5,8 @@ # include