aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-12-20* sysdeps/unix/sysv/linux/sh/sysdep.h: Include tls.h.Ulrich Drepper9-44/+152
(PTR_MANGLE, PTR_DEMANGLE): Define. (SYSCALL_ERROR_HANDLER): Fix typo. * sysdeps/sh/sh4/__longjmp.S: Use PTR_DEMANGLE if defined. * sysdeps/sh/sh3/__longjmp.S: Likewise. * sysdeps/sh/sh4/setjmp.S: Use PTR_MANGLE if defined. * sysdeps/sh/sh3/setjmp.S: Likewise.
2005-12-20* sysdeps/ia64/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.Ulrich Drepper2-1/+16
* sysdeps/unix/sysv/linux/time.c: If __NR_time is not defined, use sysdeps/unix/time.c implementation.
2005-12-20[BZ #1952, BZ #1955]cvs/fedora-glibc-20051220T1028Ulrich Drepper3-3/+12
2005-12-19 Ulrich Drepper <drepper@redhat.com> [BZ #1955] * timezone/zic.c (tofile;): Fix typo in symlink creation. Patch by Phil Estes <pestes@us.ibm.com>. [BZ #1952] * sysdeps/unix/sysv/linux/time.c: New file. * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove time entry. 2005-12-15 Thomas Schwinge <tschwinge@gnu.org>
2005-12-20time implementation for Linux.Ulrich Drepper1-0/+35
2005-12-202005-12-15 Thomas Schwinge <tschwinge@gnu.org>Roland McGrath1-0/+6
* io/xmknodat.c: Include <stddef.h>. * misc/futimesat.c: Remove weak_alias and correct stub_warning. * stdio-common/renameat.c (renameat): Fix typo.
2005-12-202005-12-15 Thomas Schwinge <tschwinge@gnu.org>Roland McGrath3-4/+3
* io/xmknodat.c: Include <stddef.h>. * misc/futimesat.c: Remove weak_alias and correct stub_warning. * stdio-common/renameat.c (renameat): Fix typo.
2005-12-20[BZ #1978]Ulrich Drepper34-255/+663
2005-12-16 Thorsten Kukuk <kukuk@suse.de> [BZ #1978] * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): Map more filesystem types to a string. * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add SYSFS_MAGIC. 2005-12-19 Jakub Jelinek <jakub@redhat.com> * locale/Makefile (programs/%-kw.h): Run $(GPERF) inside of the programs subdirectory. * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use PTR_DEMANGLE for PC if defined. * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise. * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Likewise. * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Xor %r14 with THREAD_GET_POINTER_GUARD () if PTR_DEMANGLE is defined. * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise. * sysdeps/powerpc/powerpc32/setjmp-common.S (__sigsetjmp): Use PTR_MANGLE for PC if defined. * sysdeps/powerpc/powerpc64/setjmp-common.S (__sigsetjmp): Likewise. * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise. Avoid call to __sigjmp_save if IS_IN_rtld. * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise. * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise. * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise. * sysdeps/unix/sysv/linux/ia64/setjmp.S (__sigsetjmp): Likewise. * sysdeps/unix/sysv/linux/ia64/sysdep.h (PTR_MANGLE, PTR_DEMANGLE): Define. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Include tls.h. (PTR_MANGLE, PTR_DEMANGLE): Define. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Include tls.h (PTR_MANGLE, PTR_DEMANGLE): Define. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Include tls.h. (PTR_MANGLE, PTR_DEMANGLE): Define. (SYSCALL_ERROR_HANDLER): Add missing semicolons. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Include tls.h. (PTR_MANGLE, PTR_DEMANGLE): Define. * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Add SYSCALL_ERROR_HANDLER. 2005-12-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Handle NO_WEAK_ALIAS. * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise. Patch by Clint Adams. 2005-12-16 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/sys/user.h: Copy struct user and dependent definitions from the kernel header to sys/user.h and remove the #include of asm/user.h.
2005-12-20* sysdeps/gnu/Makefile: Make sure the correct errlist.c file isUlrich Drepper2-4/+11
used when generating errlist-compat.c.
2005-12-19* iconv/gconv.c: Demangle pointers before use if necessary.cvs/fedora-glibc-20051219T1003Ulrich Drepper14-77/+228
* iconv/gconv_cache.c: Likewise. * iconv/skeleton.c: Likewise. * libio/iofwide.c: Likewise. * wcsmbs/btowc.c: Likewise. * wcsmbs/mbrtowc.c: Likewise. * wcsmbs/mbsnrtowcs.c: Likewise. * wcsmbs/mbsrtowcs_l.c: Likewise. * wcsmbs/wcrtomb.c: Likewise. * wcsmbs/wcsnrtombs.c: Likewise. * wcsmbs/wcsrtombs.c: Likewise. * wcsmbs/wctob.c: Likewise. * iconv_gconv_db.c: Likewise. After init functions returns mangle btowc pointer if necessary. * iconv/gconv_dl.c: Mangle function pointers retrieved from dlsym.
2005-12-19* iconv/gconv_builtin.c (builtin_map): Change type of sizeUlrich Drepper2-6/+10
information fields to int8_t.
2005-12-19* libio/libioP.h (__libio_codecvt): Adjust declaraction.Ulrich Drepper2-2/+3
2005-12-19* libio/iofwide.c (__libio_codecvt): Mark as const.Ulrich Drepper2-2/+5
(__libio_translit): Likewise.
2005-12-19* wcsmbs/wcsmbsload.c (to_wc): Mark as const.Ulrich Drepper1-0/+5
(to_mb): Likewise.
2005-12-19(to_wc): Mark as const. (to_mb): Likewise.Ulrich Drepper1-5/+5
2005-12-18 * sysdeps/alpha/libc-tls.c: Fix directory on include of base file.Richard Henderson2-1/+5
2005-12-18 Richard Henderson <rth@redhat.com> * sysdeps/alpha/libc-tls.c: Fix directory on include of base file.
2005-12-18* iconv/gconv_builtin.c: Mark map with attribute_relro.Ulrich Drepper2-2/+4
2005-12-18* sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Define CUlrich Drepper3-3/+12
version for inside ld.so. * elf/rtld.c (dl_main): Don't use hp timing code unless it's available.
2005-12-18* sysdeps/powerpc/powerpc32/setjmp-common.S [IS_IN_rtld]: AvoidUlrich Drepper3-2/+17
call to __sigjmp_save. * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2005-12-18* stdlib/cxa_atexit.c: Use PTR_MANGLE on function pointer. Fill inUlrich Drepper5-8/+51
flavor field last and protect with memory barrier. * stdlib/on_exit.c: Likewise. * stdlib/cxa_finalize.c: Use PTR_DEMANGLE on function pointer before using it. * stdlib/exit.c: Likewise.
2005-12-18* sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE andUlrich Drepper3-6/+34
PTR_DEMANGLE for C code in libc. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2005-12-18* elf/Versions [GLIBC_PRIVATE]: Export __pointer_chk_guard if defined.Ulrich Drepper20-161/+159
* elf/rtld.c: Define __pointer_chk_guard_local and if necessary __pointer_chk_guard. (_rtld_global_ro): Initialize _dl_pointer_guard. (dl_main): Initialize __pointer_chk_guard_local and either __pointer_chk_guard or TLS value if necessary. (process_envvars): Recognize and handle LD_POINTER_GUARD. * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_pointer_guard. * sysdeps/i386/__longjmp.S: Use PTR_DEMANGLE for PC if defined. * sysdeps/x86_64/__longjmp.S: Likewise. * sysdeps/i386/bsd-_setjmp.S: Use PTR_MANGLE for PC if defined. * sysdeps/i386/bsd-_setjmp.S: Likewise. * sysdeps/i386/setjmp.S: Likewise. [IS_IN_rtld]: Avoid call to __sigjmp_save. * sysdeps/i386/setjmp.S: Likewise. * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and PTR_DEMANGLE. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. * sysdeps/i386/elf/setjmp.S: Removed. * sysdeps/i386/elf/bsd-setjmp.S: Removed.
2005-12-17* elf/dl-error.c (_dl_catch_error): Use __sigsetgjmp instead ofUlrich Drepper2-1/+4
setjmp.
2005-12-17* elf/dl-error.c (_dl_signal_error): Use __longjmp instead of longjmp.Ulrich Drepper3-8/+6
* elf/dl-minimal.c (longjmp): Remove definition.
2005-12-17* sysdeps/x86_64/bsd-setjmp.S [PIC] (setjmp): Add missing jmp.Ulrich Drepper2-0/+5
2005-12-16* nscd/Makefile: Don't build nscd_nischeck.Ulrich Drepper3-104/+8
* nscd/nscd_nischeck.c: Removed.
2005-12-16* sysdeps/unix/sysv/linux/renameat.c: Move errno setting code inUlrich Drepper12-3/+415
separate function __atfct_seterrno_2. * include/fcntl.h: Declare __atfct_seterrno_2. * posix/unistd.h: Declare linkat, symlinkat, readlinkat. * io/Makefile (routines): Add linkat, symlinkat, readlinkat. * io/Versions [GLIBC_2.4]: Export linkat, symlinkat, readlinkat. * io/linkat.c: New file. * io/readlinkat.c: New file. * io/symlinkat.c: New file. * sysdeps/unix/sysv/linux/linkat.c: New file. * sysdeps/unix/sysv/linux/readlinkat.c: New file. * sysdeps/unix/sysv/linux/symlinkat.c: New file.
2005-12-16Move errno setting code in separate function __atfct_seterrno_2.Ulrich Drepper1-39/+48
2005-12-15[BZ #1997]Roland McGrath2-2/+7
* manual/stdio.texi (String Streams): For open_memstream, elaborate a little on malloc reference.
2005-12-15* sysdeps/alpha/fpu/s_cacosf.c: Don't use sysdeps/generic/.Roland McGrath82-161/+244
* sysdeps/alpha/fpu/s_cacoshf.c: Likewise. * sysdeps/alpha/fpu/s_casinf.c: Likewise. * sysdeps/alpha/fpu/s_casinhf.c: Likewise. * sysdeps/alpha/fpu/s_catanf.c: Likewise. * sysdeps/alpha/fpu/s_catanhf.c: Likewise. * sysdeps/alpha/fpu/s_ccosf.c: Likewise. * sysdeps/alpha/fpu/s_ccoshf.c: Likewise. * sysdeps/alpha/fpu/s_cexpf.c: Likewise. * sysdeps/alpha/fpu/s_clog10f.c: Likewise. * sysdeps/alpha/fpu/s_clogf.c: Likewise. * sysdeps/alpha/fpu/s_cpowf.c: Likewise. * sysdeps/alpha/fpu/s_cprojf.c: Likewise. * sysdeps/alpha/fpu/s_csinf.c: Likewise. * sysdeps/alpha/fpu/s_csinhf.c: Likewise. * sysdeps/alpha/fpu/s_csqrtf.c: Likewise. * sysdeps/alpha/fpu/s_ctanf.c: Likewise. * sysdeps/alpha/fpu/s_ctanhf.c: Likewise. * sysdeps/alpha/libc-tls.c: Likewise. * sysdeps/gnu/glob64.c: Likewise. * sysdeps/gnu/updwtmp.c: Likewise. * sysdeps/gnu/utmp_file.c: Likewise. * sysdeps/i386/bzero.c: Likewise. * sysdeps/i386/ffs.c: Likewise. * sysdeps/i386/i686/ffs.c: Likewise. * sysdeps/i386/memset.c: Likewise. * sysdeps/ia64/fpu/printf_fphex.c: Likewise. * sysdeps/ia64/libc-tls.c: Likewise. * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise. * sysdeps/m68k/ffs.c: Likewise. * sysdeps/mach/hurd/getdents.c: Likewise. * sysdeps/mach/hurd/init-posix.c: Likewise. * sysdeps/mach/msync.c: Likewise. * sysdeps/mips/libc-tls.c: Likewise. * sysdeps/posix/profil.c: Likewise. * sysdeps/posix/shm_open.c: Likewise. * sysdeps/posix/shm_unlink.c: Likewise. * sysdeps/posix/sprofil.c: Likewise. * sysdeps/powerpc/ffs.c: Likewise. * sysdeps/rs6000/ffs.c: Likewise. * sysdeps/s390/libc-tls.c: Likewise. * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise. * sysdeps/unix/sysv/linux/alpha/wordexp.c: Likewise. * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise. * sysdeps/unix/sysv/linux/gai_sigqueue.c: Likewise. * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise. * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise. * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise. * sysdeps/unix/sysv/linux/i386/readelflib.c: Likewise. * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. * sysdeps/unix/sysv/linux/ia64/readelflib.c: Likewise. * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. * sysdeps/unix/sysv/linux/mips/readelflib.c: Likewise. * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. * sysdeps/unix/sysv/linux/mq_close.c: Likewise. * sysdeps/unix/sysv/linux/mq_getattr.c: Likewise. * sysdeps/unix/sysv/linux/mq_notify.c: Likewise. * sysdeps/unix/sysv/linux/mq_open.c: Likewise. * sysdeps/unix/sysv/linux/mq_receive.c: Likewise. * sysdeps/unix/sysv/linux/mq_send.c: Likewise. * sysdeps/unix/sysv/linux/mq_unlink.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/readelflib.c: Likewise. * sysdeps/unix/sysv/linux/s390/readelflib.c: Likewise. * sysdeps/unix/sysv/linux/sched_getaffinity.c: Likewise. * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise. * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. * sysdeps/unix/sysv/linux/sigstack.c: Likewise. * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. * sysdeps/unix/sysv/linux/sparc/readelflib.c: Likewise. * sysdeps/unix/sysv/linux/truncate64.c: Likewise. * sysdeps/unix/sysv/linux/vfork.c: Likewise. * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Likewise.
2005-12-15* sysdeps/unix/sysv/linux/Makefile (inhibit-siglist): Removed.Roland McGrath1-0/+4
2005-12-152005-12-15 Roland McGrath <roland@redhat.com>Roland McGrath1-5/+0
* sysdeps/unix/sysv/linux/Makefile (inhibit-siglist): Removed.
2005-12-14Moved to csu/errno-loc.c.Ulrich Drepper772-5974/+106
2005-12-142005-12-13 Ulrich Drepper <drepper@redhat.com>Ulrich Drepper137-397/+8102
2005-12-14Use "config.h" to refer to the local config.h file.Ulrich Drepper1-1/+1
2005-12-13* sysdeps/generic/Makefile: Remove remaining bits/endian.h cruft.Roland McGrath1-0/+4
2005-12-132005-12-13 Roland McGrath <roland@redhat.com>Roland McGrath1-9/+2
* sysdeps/generic/Makefile: Remove remaining bits/endian.h cruft.
2005-12-13* sysdeps/generic/signame.c: Removed.Ulrich Drepper6-495/+5
* sysdeps/generic/signame.h: Removed. * sysdeps/generic/configure.in: Removed. * sysdeps/generic/Dist: Remove these files.
2005-12-13* sysdeps/generic/det_endian.c: Removed.Ulrich Drepper1-0/+6
* sysdeps/generic/Makefile: Remove rule to build it. * sysdeps/generic/Dist: Don't distribute it.
2005-12-13Remove det_endian.c.Ulrich Drepper3-44/+1
2005-12-13* sysdeps/powerpc/dl-procinfo.c: New file.Roland McGrath3-0/+146
* sysdeps/powerpc/dl-procinfo.h: New file.
2005-12-13* init.c (__pthread_initialize_minimal_internal): Do __static_tls_sizeRoland McGrath1-0/+6
adjustments before choosing stack size. Update minimum stack size calculation to match allocate_stack change.
2005-12-132005-12-12 Roland McGrath <roland@redhat.com>Roland McGrath1-13/+12
* init.c (__pthread_initialize_minimal_internal): Do __static_tls_size adjustments before choosing stack size. Update minimum stack size calculation to match allocate_stack change.
2005-12-13* allocatestack.c (allocate_stack): Don't demand that there is anUlrich Drepper2-2/+9
additional full page available on the stack beside guard, TLS, the minimum stack.
2005-12-12* io/sys/stat.h: Add restrict to fstatat declarations.Ulrich Drepper2-6/+13
2005-12-11* posix/regex_internal.h: Include <stdint.h> if available.Ulrich Drepper2-0/+16
2005-12-06 Paolo Bonzini <bonzini@gnu.org> * posix/regex_internal.h (SIZE_MAX): Provide a default definition.
2005-12-09* nis/nis_call.c (inetstr2int): Optimize.Ulrich Drepper2-16/+11
2005-12-08* nis/nis_call.c (__nisbind_create): Remove __nisbind_destroy,Ulrich Drepper3-9/+12
->clnt cannot be != NULL. (__do_niscall): No need to use __nisbind_destroy, __nisbind_next did it. (__nisbind_connect): use_auth is already TRUE, otherwise we would not be here. * nis/nis_lookup.c (nis_lookup): Remove unnecessary __nisbind_destroy calls. __nisbind_next does all that.
2005-12-08* nis/ypclnt.c (yp_update): Before trying default authentication,Ulrich Drepper2-0/+6
free DES descriptor.
2005-12-08* nis/nis_table.c (nis_list): Fix memory handling in error case.Ulrich Drepper2-39/+49
2005-12-07 Ulrich Drepper <drepper@redhat.com> * nis/nis_table.c (nis_list): Remove have_tablepath, just use the pointer value itself.
2005-12-07* catgets/gencat.c: Use GPL, not LGPL.Ulrich Drepper68-772/+726
* elf/cache.c: Likewise. * elf/chroot_canon.c: Likewise. * elf/ldconfig.c: Likewise. * elf/readlib.c: Likewise. * iconv/dummy-repertoire.c: Likewise. * iconv/iconv_charmap.c: Likewise. * iconv/iconv_prog.c: Likewise. * iconv/iconvconfig.c: Likewise. * locale/programs/3level.h: Likewise. * locale/programs/charmap-dir.c: Likewise. * locale/programs/charmap-dir.h: Likewise. * locale/programs/charmap-kw.gperf: Likewise. * locale/programs/charmap.c: Likewise. * locale/programs/charmap.h: Likewise. * locale/programs/config.h: Likewise. * locale/programs/ld-address.c: Likewise. * locale/programs/ld-collate.c: Likewise. * locale/programs/ld-ctype.c: Likewise. * locale/programs/ld-identification.c: Likewise. * locale/programs/ld-measurement.c: Likewise. * locale/programs/ld-messages.c: Likewise. * locale/programs/ld-monetary.c: Likewise. * locale/programs/ld-name.c: Likewise. * locale/programs/ld-numeric.c: Likewise. * locale/programs/ld-paper.c: Likewise. * locale/programs/ld-telephone.c: Likewise. * locale/programs/ld-time.c: Likewise. * locale/programs/linereader.c: Likewise. * locale/programs/linereader.h: Likewise. * locale/programs/locale-spec.c: Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * locale/programs/localedef.h: Likewise. * locale/programs/locarchive.c: Likewise. * locale/programs/locfile-kw.gperf: Likewise. * locale/programs/locfile-token.h: Likewise. * locale/programs/locfile.c: Likewise. * locale/programs/locfile.h: Likewise. * locale/programs/repertoire.c: Likewise. * locale/programs/repertoire.h: Likewise. * locale/programs/simple-hash.c: Likewise. * locale/programs/simple-hash.h: Likewise. * locale/programs/xmalloc.c: Likewise. * locale/programs/xstrdup.c: Likewise. * malloc/memusagestat.c: Likewise. * nscd/aicache.c: Likewise. * nscd/cache.c: Likewise. * nscd/connections.c: Likewise. * nscd/dbg_log.c: Likewise. * nscd/gai.c: Likewise. * nscd/getgrgid_r.c: Likewise. * nscd/getgrnam_r.c: Likewise. * nscd/gethstbyad_r.c: Likewise. * nscd/gethstbynm2_r.c: Likewise. * nscd/getpwnam_r.c: Likewise. * nscd/getpwuid_r.c: Likewise. * nscd/grpcache.c: Likewise. * nscd/hstcache.c: Likewise. * nscd/initgrcache.c: Likewise. * nscd/mem.c: Likewise. * nscd/nscd.c: Likewise. * nscd/nscd_conf.c: Likewise. * nscd/pwdcache.c: Likewise. * posix/getconf.c: Likewise. * sysdeps/generic/nscd_setup_thread.c: Likewise. * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise.