about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * csu/dso_handle.c (__dso_handle): Add const to pointer type too.Roland McGrath2005-12-211-0/+4
|
* 2005-12-21 Roland McGrath <roland@redhat.com>Roland McGrath2005-12-211-1/+1
| | | | * csu/dso_handle.c (__dso_handle): Add const to pointer type too.
* * iconv/gconv_conf.c: Initialize empty_path_elem.Ulrich Drepper2005-12-212-1/+3
|
* * sysdeps/ieee754/dbl-64/halfulp.c: Mark tab54 as static and const.Ulrich Drepper2005-12-217-18/+59
| | | | | | | | | | | * 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.
* * elf/readlib.c: Fix include of readelflib.c.Ulrich Drepper2005-12-212-1/+5
|
* [BZ #1962] cvs/fedora-glibc-20051221T0931Ulrich Drepper2005-12-212-5/+10
| | | | | | * io/fts.c (fts_open): Change type of len to size_t. (fts_build): Remove cast in call to fts_alloc. (fts_alloc): Change third parameter's type to size_t.
* [BZ #1960]Ulrich Drepper2005-12-212-1/+7
| | | | | | 2005-12-21 Ulrich Drepper <drepper@redhat.com> [BZ #1960] * io/fts.c (fts_open): Avoid function call in MAX macro use.
* * locale/xlocale.c (_nl_C_locobj): Mark as const.Ulrich Drepper2005-12-2113-42/+57
| | | | | | | | | | | | | | | * include/locale.h: Define _nl_C_locobj_ptr. * iconv/gconv_charset.h: Use _nl_C_locobj_ptr instead of using pointer to _nl_C_locobj because we also need a cast. * iconv/gconv_conf.c: Likewise. * iconv/gconv_int.h: Likewise. * iconv/gconv_open.c: Likewise. * locale/duplocale.c: Likewise. * locale/freelocale.c: Likewise. * locale/newlocale.c: Likewise. * misc/syslog.c: Likewise. * stdlib/strtod_l.c: Likewise. * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
* * csu/dso_handle.c (__dso_handle): Mark as const.Ulrich Drepper2005-12-212-2/+5
|
* * intl/plural-exp.c (GERMANIC_PLURAL): Mark as const.Ulrich Drepper2005-12-213-4/+8
| | | | | * intl/plural-exp.h: Adjust declaration of __gettext_germanic_plural.
* * resolv/herror.c (h_errlist): Mark as const.Ulrich Drepper2005-12-212-2/+7
| | | | (h_nerr): Likewise.
* * sunrpc/clnt_unix.c (unix_ops): Mark as const.Ulrich Drepper2005-12-206-11/+17
| | | | | | | | | * sunrpc/auth_des.c (authdes_ops): Likewise. * sunrpc/svc_raw.c (server_ops): Likewise. * sunrpc/clnt_udp.c (udp_ops): Likewise. * sunrpc/clnt_tcp.c (tcp_ops): Likewise. * sunrpc/clnt_raw.c (client_ops): Likewise. * sunrpc/auth_unix.c (auth_unix_ops): Likewise.
* (client_ops): Mark as const.Ulrich Drepper2005-12-201-2/+2
|
* [BZ #2061]Roland McGrath2005-12-202-3/+14
| | | | | | 2005-12-15 Thomas Schwinge <tschwinge@gnu.org> [BZ #2061] * sysdeps/mach/hurd/xmknod.c (__xmknod): Handle S_IFREG.
* * sysdeps/unix/sysv/linux/ifreq.h: File removed.Roland McGrath2005-12-203-42/+11
| | | | | | | | * sysdeps/unix/sysv/linux/ifreq.c: #include "kernel-features.h" here. * sysdeps/mach/hurd/ifreq.h: File removed. (__ifreq): Function moved to ... * sysdeps/mach/hurd/ifreq.c: ... here, new file.
* 2005-12-20 Roland McGrath <roland@redhat.com>Roland McGrath2005-12-201-23/+2
| | | | | | * sysdeps/mach/hurd/ifreq.h: File removed. (__ifreq): Function moved to ... * sysdeps/mach/hurd/ifreq.c: ... here, new file.
* * sunrpc/auth_unix.c (auth_unix_ops): Mark as const.Ulrich Drepper2005-12-202-3/+4
| | | | * sunrpc/auth_none.c (ops): Likewise.
* * sunrpc/auth_none.c (ops): Mark as const.Ulrich Drepper2005-12-204-8/+15
| | | | | | * nss/nsswitch.c (databases): Mark as const. Change name field into array. * nss/databases.def: Add warning.
* * resolv/res_hconf.c (arg_service_list): Reduce size of svcs andUlrich Drepper2005-12-202-4/+6
| | | | | mark const. (cmd): Mark as const.
* * resolv/res_hconf.c (cmd): Mark as const.Ulrich Drepper2005-12-202-2/+5
| | | | (parse_line): Mark c as pointer to const.
* * misc/getusershell.c (initshells): Remove unnecessary tests.Ulrich Drepper2005-12-202-11/+9
| | | | | (endusershell): Likewise. (okshells): Mark as const.
* * sysdeps/posix/gai_strerror.c: Complete rewrite. Avoid relocations.Ulrich Drepper2005-12-204-30/+62
| | | | | * sysdeps/posix/gai_strerror-strs.h: New file. * sysdeps/posix/Dist: New file.
* * sysdeps/posix/getaddrinfo.c (gaih): Mark as const. cvs/fedora-glibc-20051220T1751Ulrich Drepper2005-12-202-3/+5
| | | | * locale/loadlocale.c (_nl_value_types): Likewise.
* * locale/loadlocale.c (_nl_value_types): Mark as const.Ulrich Drepper2005-12-203-5/+17
| | | | * iconv/gconv_conf.c (builtin_aliases): Likewise.
* * iconv/gconv_conf.c (builtin_aliases): Mark as const.Ulrich Drepper2005-12-203-3/+11
| | | | * iconv/gconv_open.c (internal_trans_names): Likewise.
* * iconv/gconv_open.c (internal_trans_names): Mark as const.Ulrich Drepper2005-12-202-2/+7
|
* * sysdeps/unix/sysv/linux/sh/sysdep.h: Include tls.h.Ulrich Drepper2005-12-209-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.
* * sysdeps/ia64/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.Ulrich Drepper2005-12-202-1/+16
| | | | | * sysdeps/unix/sysv/linux/time.c: If __NR_time is not defined, use sysdeps/unix/time.c implementation.
* [BZ #1952, BZ #1955] cvs/fedora-glibc-20051220T1028Ulrich Drepper2005-12-203-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>
* time implementation for Linux.Ulrich Drepper2005-12-201-0/+35
|
* 2005-12-15 Thomas Schwinge <tschwinge@gnu.org>Roland McGrath2005-12-201-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-15 Thomas Schwinge <tschwinge@gnu.org>Roland McGrath2005-12-203-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.
* [BZ #1978]Ulrich Drepper2005-12-2034-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.
* * sysdeps/gnu/Makefile: Make sure the correct errlist.c file isUlrich Drepper2005-12-202-4/+11
| | | | used when generating errlist-compat.c.
* * iconv/gconv.c: Demangle pointers before use if necessary. cvs/fedora-glibc-20051219T1003Ulrich Drepper2005-12-1914-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.
* * iconv/gconv_builtin.c (builtin_map): Change type of sizeUlrich Drepper2005-12-192-6/+10
| | | | information fields to int8_t.
* * libio/libioP.h (__libio_codecvt): Adjust declaraction.Ulrich Drepper2005-12-192-2/+3
|
* * libio/iofwide.c (__libio_codecvt): Mark as const.Ulrich Drepper2005-12-192-2/+5
| | | | (__libio_translit): Likewise.
* * wcsmbs/wcsmbsload.c (to_wc): Mark as const.Ulrich Drepper2005-12-191-0/+5
| | | | (to_mb): Likewise.
* (to_wc): Mark as const. (to_mb): Likewise.Ulrich Drepper2005-12-191-5/+5
|
* * sysdeps/alpha/libc-tls.c: Fix directory on include of base file.Richard Henderson2005-12-182-1/+5
| | | | | | 2005-12-18 Richard Henderson <rth@redhat.com> * sysdeps/alpha/libc-tls.c: Fix directory on include of base file.
* * iconv/gconv_builtin.c: Mark map with attribute_relro.Ulrich Drepper2005-12-182-2/+4
|
* * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Define CUlrich Drepper2005-12-183-3/+12
| | | | | | version for inside ld.so. * elf/rtld.c (dl_main): Don't use hp timing code unless it's available.
* * sysdeps/powerpc/powerpc32/setjmp-common.S [IS_IN_rtld]: AvoidUlrich Drepper2005-12-183-2/+17
| | | | | call to __sigjmp_save. * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
* * stdlib/cxa_atexit.c: Use PTR_MANGLE on function pointer. Fill inUlrich Drepper2005-12-185-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.
* * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE andUlrich Drepper2005-12-183-6/+34
| | | | | PTR_DEMANGLE for C code in libc. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
* * elf/Versions [GLIBC_PRIVATE]: Export __pointer_chk_guard if defined.Ulrich Drepper2005-12-1820-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.
* * elf/dl-error.c (_dl_catch_error): Use __sigsetgjmp instead ofUlrich Drepper2005-12-172-1/+4
| | | | setjmp.
* * elf/dl-error.c (_dl_signal_error): Use __longjmp instead of longjmp.Ulrich Drepper2005-12-173-8/+6
| | | | * elf/dl-minimal.c (longjmp): Remove definition.
* * sysdeps/x86_64/bsd-setjmp.S [PIC] (setjmp): Add missing jmp.Ulrich Drepper2005-12-172-0/+5
|