aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-02-09Update.Ulrich Drepper
Make stream locking operations really work. * misc/Makefile (CFLAGS-mntent_r.c): Define. * shadow/Makefile (CFLAGS-fgetspent_r.c): Define. (CFLAGS-putspent.c): Define. * grp/Makefile (CFLAGS-fgetgrent_r.c): Define. (CFLAGS-putgrent.c): Define. * pwd/Makefile (CFLAGS-fgetpwent_r.c): Define. Reported by Shunichi Sagawa <s-sagawa@jp.fujitsu.com>.
2004-02-09Update.Ulrich Drepper
* elf/dl-load.c (lose): Use noinline attribute instead of silly alloca to prevent inlining. * elf/dl-runtime.c (fixup): Likewise. (profile_fixup): Likewise.
2004-02-08Update.Ulrich Drepper
2004-02-08 Ulrich Drepper <drepper@redhat.com> * stdio-common/printf_size.c: Undo parts of patch from 2000-2-11. Initialize width correctly.
2004-02-08Undo parts of patch from 2000-2-11. Initialize width correctly.Ulrich Drepper
2004-02-07Fix last commit.Andreas Jaeger
2004-02-07Update.Andreas Jaeger
2004-02-07 Andreas Jaeger <aj@suse.de> * iconv/gconv_simple.c (ucs4le_internal_loop): Remove cast used as lvalue. (internal_ucs4le_loop_single): Likewise. (ucs4_internal_loop): Likewise. (BODY): Likewise. (internal_ucs4_loop_single): Likewise. * iconvdata/iso8859-1.c (BODY): Likewise. * iconvdata/cp1255.c (EMIT_SHIFT_TO_INIT): Likewise. * iconvdata/cp1258.c (EMIT_SHIFT_TO_INIT): Likewise. * iconvdata/gb18030.c (BODY): Likewise. * iconvdata/armscii-8.c (BODY): Likewise. * stdlib/msort.c (msort_with_tmp): Likewise. * iconv/gconv_open.c (__gconv_open): Remove conditional expression as lvalue.
2004-02-07* iconv/gconv_simple.c (ucs4le_internal_loop): Remove cast used as Andreas Jaeger
lvalue. (internal_ucs4le_loop_single): Likewise. (ucs4_internal_loop): Likewise. (BODY): Likewise. (internal_ucs4_loop_single): Likewise.
2004-02-07Update.Ulrich Drepper
2004-02-06 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/powerpc32/dl-machine.c: Declare __cache_line_size as weak extern. (__elf_machine_runtime_setup): Invalidate the instruction cache over the whole range of the PLT.
2004-02-06Update.Ulrich Drepper
2004-02-06 Andreas Schwab <schwab@suse.de> * posix/regcomp.c (build_range_exp): Fix off-by-one. (parse_bracket_exp): Likewise.
2004-02-05Update.Ulrich Drepper
2004-02-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Define _HAVE_STAT_NSEC and _HAVE_STAT64_NSEC. Patch by Anton Blanchard.
2004-02-02#Update.Ulrich Drepper
2004-02-02 Paolo Bonzini <bonzini@gnu.org> * posix/regexec.c (check_matching): Add P_MATCH_FIRST parameter. (re_search_internal): Pass new parameter to check_matching. (check_matching): Unless a parenthesized group is found at the beginning of the regexp, advance P_MATCH_FIRST until we entered a state different from the initial state.
2004-02-01Update.Ulrich Drepper
* math/libm-test.inc (lround_test): Add new test. (llround_test): Likewise. (lrint_test): Likewise. (llrint_test): Likewise. * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Fix special case with result taking up 20 bits. * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.. * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Fix special case with result taking up 31 bits. * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
2004-02-01Update.Ulrich Drepper
2004-02-01 Ulrich Drepper <drepper@redhat.com> * po/nl.po: Update from translation team.
2004-01-30Update.Ulrich Drepper
2004-01-30 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_BREAK, FPE_DECOVF, FPE_DECDIV, FPE_DECERR, FPE_INVASC, FPE_INVDEC, SEGV_PSTKOVF): Remove underscore prefix from definition.
2004-01-30Update.Ulrich Drepper
2004-01-28 Paolo Bonzini <bonzini@gnu.org> Merge regex changes in gawk. * posix/regcomp.c (build_range_exp) [!_LIBC]: Check validity of collation elements. * posix/regex.c: Include limits.h. * posix/regex.h: Document REG_ECOLLATE correctly. * posix/regex_internal.h [!_LIBC && !ENABLE_NLS]: Disable NLS.
2004-01-30(build_range_exp) [!_LIBC]: Check validity of collation elements.Ulrich Drepper
2004-01-30(Tools for Compilation): Grammar fixes.Roland McGrath
2004-01-28Update.Ulrich Drepper
2004-01-24 Andreas Jaeger <aj@suse.de> * malloc/obstack.h: Import gnulib version. * malloc/obstack.c: Likewise.
2004-01-27Update.Ulrich Drepper
2004-01-26 David Mosberger <davidm@hpl.hp.com> * elf/link.h (struct dl_phdr_info): Fix typo in comment. * elf/rtld.c (dl_main): After incrementing dl_nloaded, also increment dl_load_adds. * elf/dl-iteratephdr.c (__dl_iterate_phdr): Replace GL(dl_load_subs) with equivalent GL(dl_load_adds - GL(dl_nloaded). (dl_iterate_phdr): Likewise. * elf/dl-close.c (_dl_close): Delete increment of GL(dl_load_subs). * elf/dl-support.c: Remove global variable _dl_load_subs. * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove _dl_load_subs member. 2004-01-27 Jakub Jelinek <jakub@redhat.com> * elf/rtld.c (_dl_start_final): Don't set l_relro_* here. (_dl_start): And neither here. (dl_main): Set GL(dl_loaded)->l_relro_* and GL(dl_rtld_map)->l_relro_*.
2004-01-24Update.Ulrich Drepper
2004-01-23 David Mosberger <davidm@hpl.hp.com> * sysdeps/generic/ldsodefs.h (struct rtld_global): Add members _dl_load_adds and _dl_load_subs. * elf/dl-support.c (_dl_load_adds): New variable. (_dl_load_subs): Likewise. * elf/dl-object.c (_dl_new_object): Increment dl_load_adds. * elf/dl-close.c (_dl_close): Increment dl_load_subs. * elf/link.h (struct dl_phdr_info): Add members dlpi_adds and dlpi_subs. * include/link.h: Likewise. * elf/dl-iteratephdr.c (__dl_iterate_phdr): Initialize dlpi_adds and dlpi_subs members. (dl_iterate_phdr): Likewise. * elf/tst-dlmodcount.c: New file. * elf/Makefile (distribute): Mention tst-dlmodcount.c. (tests): If build-shared, mention tst-dlmodcount. ($(objpfx)tst-dlmodcount): If build-shared, build and run tst-dlmodcount.
2004-01-24Update.Ulrich Drepper
2004-01-22 Jakub Jelinek <jakub@redhat.com> * elf/dl-reloc.c (_dl_relocate_object): Move PT_GNU_RELRO protection into... (_dl_protect_relro): New routine. * sysdeps/generic/ldsodefs.h (_dl_protect_relro): New prototype. * elf/rtld.c (_dl_start_final): Copy l_relro_addr and l_relro_size from bootstrap_map. (_dl_main): Don't set GL(_dl_loaded)->l_relro_{addr,size} here. Call _dl_protect_relro for libraries if prelinking.
2004-01-24(_dl_relocate_object): Move PT_GNU_RELRO protection into... ↵Ulrich Drepper
(_dl_protect_relro): New routine.
2004-01-23 * Versions.def (libm): Replace GLIBC_2.3.3 with GLIBC_2.3.4. ↵Richard Henderson
* sysdeps/alpha/fpu/Versions (libm): Likewise. * sysdeps/alpha/fpu/cfloat-compat.h (cfloat_versions): Likewise. * sysdeps/alpha/fpu/s_clog10f.c (clog10f): Likewise. 2004-01-23 Richard Henderson <rth@redhat.com> * Versions.def (libm): Replace GLIBC_2.3.3 with GLIBC_2.3.4. * sysdeps/alpha/fpu/Versions (libm): Likewise. * sysdeps/alpha/fpu/cfloat-compat.h (cfloat_versions): Likewise. * sysdeps/alpha/fpu/s_clog10f.c (clog10f): Likewise.
2004-01-23* sysdeps/ieee754/dbl-64/e_pow.c (log2): Rename to my_log2 toAndreas Jaeger
avoid warnings for builtin function log2. 2004-01-22 Andreas Jaeger <aj@suse.de>
2004-01-22Add proper unwind information.Andreas Jaeger
2004-01-22 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Add proper unwind information.
2004-01-21Update.cvs/ChangeLogUlrich Drepper
* sysdeps/unix/sysv/linux/sys/epoll.h: Add EPOLLONESHOT. * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise. Patch by Davide Libenzi.
2004-01-21Update.Ulrich Drepper
* allocatestack.c: Pretty printing.
2004-01-21Update.Ulrich Drepper
2004-01-20 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/createthread.c (create_thread): Don't add CLONE_DETACHED bit if it is not necessary.
2004-01-21UpdateUlrich Drepper
* sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_NO_CLONE_DETACHED for 2.6.2+ kernels.
2004-01-20Update.Ulrich Drepper
* catgets/Makefile ($(objpfx)de.msg): Run sed in C locale.
2004-01-20Update.Ulrich Drepper
2004-01-20 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/readahead.c (__readahead): Use off64_t instead of loff_t. Include <fcntl.h>. * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add readahead prototype. * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. * elf/dl-load.c: Don't add attribute_relro to max_dirnamelen. * sysdeps/generic/inttypes.h: Fix PRI*FAST{16,32} macros. * include/unistd.h (__libc_enable_secure): Mark attribute_relro. (__libc_enable_secure_internal): Likewise. * elf/dl-load.c: Don't declare __libc_stack_end. * sysdeps/generic/libc-start.c: Likewise. * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise. * sysdeps/generic/segfault.c: Likewise. Include ldsodefs.h. * sysdeps/generic/backtrace.c: Likewise.
2004-01-19Update.Ulrich Drepper
2003-12-31 Bruno Haible <bruno@clisp.org> * iconvdata/iso_6937-2.c (to_ucs4): Map 0x7E to U+007E, not U+203E. Map 0xA6 to U+0023. Map 0xA8 to U+00A4. (to_ucs4_comb): Map 0xC5 0x20 to U+00AF. (from_ucs4): Map U+00ED to 0xC2 0x69, not 0xC2 0xE9. (BODY for TO_LOOP): Don't map U+02DC. Map U+02DD to 0xCD 0x20, not 0x00 0x20. Don't map U+2500..U+25E3.
2004-01-19Update.Ulrich Drepper
2004-01-19 Jakub Jelinek <jakub@redhat.com> * posix/regexec.c (get_subexp): Remove bkref_str variable. Extend buffers if needed before comparisons. (get_subexp_sub): Handle clean_state_log_if_needed failure.
2004-01-17Update.Ulrich Drepper
2004-01-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/i486/bits/atomic.h (atomic_add): Fix test for using atomic_decrement. Patch by Davin McCall.
2004-01-17(atomic_add): Fix test for using atomic_decrement.Ulrich Drepper
2004-01-17* sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions)Roland McGrath
(__sim_disabled_exceptions, __sim_round_mode): Declare with hidden data and nocommon. * sysdeps/powerpc/nofpu/soft-supp.h (__sim_exceptions) (__sim_disabled_exceptions, __sim_round_mode): Use libc_hidden_proto. * sysdeps/powerpc/soft-fp/sfp-machine.h (__sim_exceptions) (__sim_disabled_exceptions, __sim_round_mode): Likewise.
2004-01-172004-01-13 Daniel Jacobowitz <drow@mvista.com>Roland McGrath
* sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions) (__sim_disabled_exceptions, __sim_round_mode): Declare with hidden data and nocommon. * sysdeps/powerpc/nofpu/soft-supp.h (__sim_exceptions) (__sim_disabled_exceptions, __sim_round_mode): Use libc_hidden_proto. * sysdeps/powerpc/soft-fp/sfp-machine.h (__sim_exceptions) (__sim_disabled_exceptions, __sim_round_mode): Likewise.
2004-01-16Update.Ulrich Drepper
2004-01-16 Ulrich Drepper <drepper@redhat.com> * pthread_getattr_np.c: Include ldsodefs.h. * allocatestack.c: Don't declare __libc_stack_end. * init.c (__pthread_initialize_minimal_internal): Likewise. * pthread_getattr_np.c (pthread_getattr_np): Likewise.
2004-01-16Update.Ulrich Drepper
2004-01-16 Ulrich Drepper <drepper@redhat.com> * elf/elf.h: Define PT_IA_64_HP_OPT_ANOT, PT_IA_64_HP_HSL_ANOT, and PT_IA_64_HP_STACK.
2004-01-16Define PT_IA_64_HP_OPT_ANOT, PT_IA_64_HP_HSL_ANOT, and PT_IA_64_HP_STACK.Ulrich Drepper
2004-01-16 * include/unistd.h (__libc_enable_secure): Mark attribute_relro. ↵Richard Henderson
(__libc_enable_secure_internal): Likewise. * include/unistd.h (__libc_enable_secure): Mark attribute_relro. (__libc_enable_secure_internal): Likewise.
2004-01-16 * elf/dl-load.c: Don't declare __libc_stack_end. * ↵Richard Henderson
sysdeps/generic/libc-start.c: Likewise. * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise. * sysdeps/generic/segfault.c: Likewise. Include ldsodefs.h. * sysdeps/generic/backtrace.c: Likewise. linuxthreads/ * attr.c: Include ldsodefs.h. (pthread_getattr_np): Don't declare __libc_stack_end. nptl/ * allocatestack.c: Don't declare __libc_stack_end. * init.c (__pthread_initialize_minimal_internal): Likewise. * pthread_getattr_np.c (pthread_getattr_np): Likewise. 2004-01-16 Richard Henderson <rth@redhat.com> * elf/dl-load.c: Don't declare __libc_stack_end. * sysdeps/generic/libc-start.c: Likewise. * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise. * sysdeps/generic/segfault.c: Likewise. Include ldsodefs.h. * sysdeps/generic/backtrace.c: Likewise.
2004-01-16Update.Ulrich Drepper
2004-01-15 Ulrich Drepper <drepper@redhat.com> * Versions.def: Add GLIBC_2.3.4. [SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] (__novec_getcontext): [SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] (__novec_setcontext): [SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] (__novec_swapcontext): [SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)] (__novec_getcontext): [SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)] (__novec_makecontext): [SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)] (__novec_setcontext):
2004-01-16Add GLIBC_2.3.4.Ulrich Drepper
2004-01-16 * sysdeps/unix/alpha/sysdep.h: Revert last change.Richard Henderson
* sysdeps/unix/alpha/sysdep.h: Revert last change. 2004-01-15 Richard Henderson <rth@redhat.com>
2004-01-16 * sysdeps/unix/alpha/sysdep.h [PIC] (SYSCALL_ERROR_HANDLER): Use ↵Richard Henderson
!samegp relocation. * sysdeps/unix/alpha/sysdep.h [PIC] (SYSCALL_ERROR_HANDLER): Use !samegp relocation.
2004-01-16 * sysdeps/alpha/dl-machine.h (RTLD_START): Use _dl_argv_internal.Richard Henderson
* sysdeps/alpha/dl-machine.h (RTLD_START): Use _dl_argv_internal. 2004-01-15 Richard Henderson <rth@redhat.com>
2004-01-16 * sysdeps/alpha/tls.h (tcbhead_t): Add private. ↵Richard Henderson
(TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN, TLS_TCB_SIZE, TLS_PRE_TCB_SIZE, TLS_TCB_ALIGN, INSTALL_DTV, INSTALL_NEW_DTV, GET_DTV, THREAD_DTV, THREAD_SELF, DB_THREAD_SELF): Match ia64. (TLS_TCB_OFFSET, THREAD_ID, NO_TLS_OFFSET): Remove. (THREAD_GETMEM, THREAD_GETMEM_NC): Simplify. (THREAD_SETMEM, THREAD_SETMEM_NC): Likewise. * sysdeps/unix/sysv/linux/alpha/createthread.c (TLS_VALUE): Match ia64. 2004-01-15 Richard Henderson <rth@redhat.com> * sysdeps/alpha/tls.h (tcbhead_t): Add private. (TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN, TLS_TCB_SIZE, TLS_PRE_TCB_SIZE, TLS_TCB_ALIGN, INSTALL_DTV, INSTALL_NEW_DTV, GET_DTV, THREAD_DTV, THREAD_SELF, DB_THREAD_SELF): Match ia64. (TLS_TCB_OFFSET, THREAD_ID, NO_TLS_OFFSET): Remove. (THREAD_GETMEM, THREAD_GETMEM_NC): Simplify. (THREAD_SETMEM, THREAD_SETMEM_NC): Likewise. * sysdeps/unix/sysv/linux/alpha/createthread.c (TLS_VALUE): Match ia64.
2004-01-16 * sysdeps/unix/sysv/linux/alpha/Makefile [stdlib]: Process ↵Richard Henderson
ucontext-offsets.sym. * sysdeps/unix/sysv/linux/alpha/getcontext.S: New file. * sysdeps/unix/sysv/linux/alpha/makecontext.S: New file. * sysdeps/unix/sysv/linux/alpha/setcontext.S: New file. * sysdeps/unix/sysv/linux/alpha/swapcontext.S: New file. * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: New file. * sysdeps/unix/sysv/linux/alpha/Makefile [stdlib]: Process ucontext-offsets.sym. * sysdeps/unix/sysv/linux/alpha/getcontext.S: New file. * sysdeps/unix/sysv/linux/alpha/makecontext.S: New file. * sysdeps/unix/sysv/linux/alpha/setcontext.S: New file. * sysdeps/unix/sysv/linux/alpha/swapcontext.S: New file. * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: New file. 2004-01-15 Richard Henderson <rth@redhat.com>
2004-01-16 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Prefix stubs with ↵Richard Henderson
__syscall_, move nop inside, adjust users by +4. 2004-01-15 Richard Henderson <rth@redhat.com> * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Prefix stubs with __syscall_, move nop inside, adjust users by +4.