about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* [BZ #1499]Ulrich Drepper2005-12-232-4/+9
| | | | | * misc/syslog.c (SyslogAddr): Use sockaddr_un instead of sockaddr. (openlog_internal): Adjust for this change.
* * Makeconfig: Define CXXFLAGS. Split out warnings from +gccwarn whichUlrich Drepper2005-12-238-7/+159
| | | | | | | | | | 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. * test-skeleton.c (timeout_handler): Rewrite ts initialization for C++ compatibility.
* (timeout_handler): Rewrite ts initialization for C++.Ulrich Drepper2005-12-231-1/+3
|
* * Makerules [gen-as-const-headers] (tests): Add one test per .symRoland McGrath2005-12-221-0/+8
| | | | | | | 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 Roland McGrath <roland@redhat.com>Roland McGrath2005-12-221-4/+4
| | | | | | | | * 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.
* * sysdeps/x86_64/__longjmp.S: Also protect SP and BP.Ulrich Drepper2005-12-223-2/+13
| | | | * sysdeps/x86_64/setjmp.S: Likewise.
* Also protect SP and BP.Ulrich Drepper2005-12-222-0/+11
|
* Typo fix.Roland McGrath2005-12-221-2/+2
|
* * sysdeps/unix/sysv/linux/i386/ucontext_i.h: File removed.Roland McGrath2005-12-2225-634/+366
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2005-12-21 Roland McGrath <roland@redhat.com>Roland McGrath2005-12-2273-4840/+9
| | | | | | | | | | | * 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. * 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]Roland McGrath2005-12-222-2/+11
| | | | | | | 2005-12-21 Roland McGrath <roland@redhat.com> [BZ #2066] * intl/l10nflist.c (_nl_make_l10nflist): Free ABS_FILENAME when later malloc fails.
* * sysdeps/powerpc/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.Roland McGrath2005-12-222-16/+22
|
* * sysdeps/mach/hurd/ifreq.c: Add missing #includes.Roland McGrath2005-12-2113-20/+40
|
* * elf/cache.c: Use <> rather than "" #includes.Roland McGrath2005-12-2135-70/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.Roland McGrath2005-12-213-4/+8
| | | | * elf/dl-error.c (_dl_signal_error): Use .__jmpbuf in __longjmp call.
* * 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.