about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * sysdeps/generic/errno.c [! USE___THREAD]Roland McGrath2002-11-146-8/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | [HAVE_ELF && SHARED && DO_VERSIONING] (errno, _errno): Declare these with compat_symbol so they are not link-time visible. [! USE___THREAD] (__libc_errno): New alias for errno. * csu/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE): Add __libc_errno here. * inet/herrno.c [USE___THREAD]: Use this conditional in place of [USE_TLS && HAVE___THREAD]. [! USE___THREAD] [HAVE_ELF && SHARED && DO_VERSIONING] (h_errno, _h_errno): Declare these with compat_symbol so they are not link-time visible. [! USE___THREAD] (__libc_h_errno): New alias for h_errno. * resolv/res_libc.c [! USE___THREAD] [HAVE_ELF && SHARED && DO_VERSIONING] (_res): Likewise. (_res): Use __attribute__ ((section (".bss"))) so we can have an alias. (__libc_res): Define as alias for _res. * resolv/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE): Add __libc_h_errno and __libc_res here. 2002-11-14 Jakub Jelinek <jakub@redhat.com> * csu/Versions (errno): Move STT_TLS symbol to GLIBC_PRIVATE for now. * resolv/Versions (h_errno, _res): Likewise. 2002-11-14 Roland McGrath <roland@redhat.com>
* * Makerules (%.dynsym): Remove $(objpfx) from target and dep.Roland McGrath2002-11-142-1/+6
| | | | (%.symlist): Likewise.
* 2002-11-14 Roland McGrath <roland@redhat.com>Roland McGrath2002-11-141-1/+1
| | | | * Makerules (%.dynsym): Remove $(objpfx) from target and dep.
* * sysdeps/unix/sysv/linux/ia64/pt-initfini.c: Fix unterminatedAndreas Schwab2002-11-141-0/+5
| | | | string.
* Fix unterminated string.Andreas Schwab2002-11-141-70/+70
|
* [$(subdir) = elf] (tests): Depend on libc.symlist.Roland McGrath2002-11-142-5/+6
| | | | (generated, common-generated): Add those files.
* * scripts/abilist.awk: New file.Roland McGrath2002-11-148-7/+154
| | | | | | | | | | | | | | | | | | | * Makefile (distribute): Add it. * Makerules ($(objpfx)%.dynsym, $(objpfx)%.symlist): New rules. (tests): Depend on .symlist file for each $(install-lib.so-versioned). [! subdir] (tests): Depend on libc.symlist. (generated): Add those files. * aclocal.m4 (LIBC_PROG_BINUTILS): Check for objdump, set OBJDUMP. * configure: Regenerated. * config.make.in (OBJDUMP): New variable, substituted by configure. * malloc/mcheck.c (struct hdr): New members `block' and `magic2'. (mallochook, reallochook): Set them up. (checkhdr): Check HDR->magic2 value. (freehook): Reset HDR->magic2. (memalignhook): New static function. (old_memalign_hook): New static variable. (mcheck, reallochook): Set __memalign_hook to memalignhook.
* * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Zero the spaceRoland McGrath2002-11-143-0/+13
| | | | for the new TCB.
* 2002-11-13 Roland McGrath <roland@redhat.com>Roland McGrath2002-11-141-2/+3
| | | | * Examples/ex6.c (main): Improve error reporting.
* Update.Andreas Jaeger2002-11-131-0/+6
| | | | | | | | 2002-11-13 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Check for visibility attribute. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* Check for visibility attribute.Andreas Jaeger2002-11-132-2/+4
|
* 2002-11-11 Paul Eggert <eggert@twinsun.com>Roland McGrath2002-11-132-4/+12
| | | | | * manual/crypt.texi (Cryptographic Functions): Mention that the MD5 one-way algorithm is compatible with BSD's.
* * posix/regex_internal.c (re_string_skip_chars): Also return the lastRoland McGrath2002-11-133-12/+68
| | | | | | | | | | wide character. (re_string_reconstruct): Calculate the context by itself when the offset points out of the valid range. (re_string_context_at): Use wide character when MB_CUR_MAX > 1. * posix/regex_internal.h (WIDE_NEWLINE_CHAR): New macro. (IS_WIDE_WORD_CHAR): New macro. (IS_WIDE_NEWLINE): New macro.
* * libio/libioP.h [_LIBC && !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]Roland McGrath2002-11-121-0/+3
| | | | (_G_IO_NO_BACKWARD_COMPAT): Define it.
* 2002-11-12 Roland McGrath <roland@redhat.com>Roland McGrath2002-11-121-0/+10
| | | | | * libio/libioP.h [_LIBC && !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_G_IO_NO_BACKWARD_COMPAT): Define it.
* Update.Andreas Jaeger2002-11-122-6/+9
| | | | | * sysdeps/x86_64/strchr.S: Don't use one register for two purposes, this fixes a bug noticed by test-strchr.c.
* Update.Andreas Jaeger2002-11-121-0/+5
| | | | | | | 2002-11-12 Andreas Jaeger <aj@suse.de> * sysdeps/x86_64/strcat.S: Fix algorithm to align source pointer correctly.
* Fix algorithm to align source pointer correctly.Andreas Jaeger2002-11-121-1/+3
|
* * sysdeps/ia64/dl-fptr.c [_LIBC_REENTRANT]: Include <ia64intrin.h>Roland McGrath2002-11-122-3/+11
| | | | | | | instead of <pt-machine.h>. [_LIBC_REENTRANT] (lock, unlock): Use __sync_lock_* macros instead of testandset. From Ian Wienand <ianw@gelato.unsw.edu.au>.
* * libio/bug-wfflush.c (do_test): Call rewind instead of fsetpos.Roland McGrath2002-11-112-11/+8
| | | | Call fputs instead of fwprintf (simpler to follow in debugger).
* * crypt/md5-crypt.c: Doc fix.Roland McGrath2002-11-113-4/+9
|
* * sysdeps/unix/make-syscalls.sh: Insert $(make-target-directory) atRoland McGrath2002-11-116-4/+37
| | | | | | | | | | | | | | | | | the beginning of generated target commands. * csu/Makefile ($(objpfx)crti.o, $(objpfx)crtn.o): Add explicit dependencies for these in case implicit rule search skipped the nonexistent source directory. * sysdeps/gnu/Makefile ($(objpfx)errlist.d): Give this rule all the files with $(object-suffixes) as targets too. * Makerules [no_deps && objpfx] (before-compile): Add $(objpfx). and a target for it using $(make-target-directory). * Rules (before-compile): Add $(common-objpfx)bits/stdio-lim.h. * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: Moved to ... * sysdeps/generic/bits/pthreadtypes.h: ... here.
* * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Treat a struct flock withRoland McGrath2002-11-102-1/+11
| | | | l_start == 0 and l_len == 1 as we do l_len == 0.
* * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: Moved to ...Roland McGrath2002-11-101-0/+3
| | | | * sysdeps/generic/bits/pthreadtypes.h: ... here.
* 2002-11-10 Roland McGrath <roland@redhat.com>Roland McGrath2002-11-102-0/+1
| | | | | * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: Moved to ... * sysdeps/generic/bits/pthreadtypes.h: ... here.
* Update.Ulrich Drepper2002-11-101-2/+6
| | | | | | | | | 2002-11-10 Ulrich Drepper <drepper@redhat.com> * po/da.po: Update from translation team. * sysdeps/mach/hurd/i386/ioperm.c (ioperm): Correct off by one error in range calculation.
* Update from translation team.Ulrich Drepper2002-11-101-4159/+4436
|
* * config.make.in (includedir): New variable, substituted by configure.Roland McGrath2002-11-101-0/+6
| | | | | Reported missing by Jocelyn Fournier <joc@presence-pc.com>. * Makeconfig (includedir): Use $(prefix), not $(exec_prefix).
* 2002-11-10 Roland McGrath <roland@redhat.com>Roland McGrath2002-11-102-1/+2
| | | | | | * config.make.in (includedir): New variable, substituted by configure. Reported missing by Jocelyn Fournier <joc@presence-pc.com>. * Makeconfig (includedir): Use $(prefix), not $(exec_prefix).
* Update.Andreas Jaeger2002-11-102-2/+10
| | | | | | * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h (enum): Add REG_OLDMASK and REG_CR2 to synch with kernel header. (NGREG): Increase.
* Update.Andreas Jaeger2002-11-101-0/+17
| | | | | | | | | | | | | | | | | | | 2002-11-10 Andreas Jaeger <aj@suse.de> * nss/getXXent.c (GETFUNC_NAME): Use union type to avoid strict aliasing problem. * nss/getXXbyYY_r.c (INTERNAL): Likewise. * nss/getnssent_r.c (__nss_getent_r): Likewise. (__nss_setent): Likewise. (__nss_getent_r): Likewise. * inet/getnetgrent_r.c (innetgr): Likewise. (__internal_setnetgrent_reuse): Likewise. (internal_getnetgrent_r): Likewise. * inet/ether_hton.c (ether_hostton): Likewise. * inet/ether_ntoh.c (ether_ntohost): Likewise. * sunrpc/netname.c (netname2user): Likewise. * sunrpc/publickey.c (getpublickey): Likewise. (getsecretkey): Likewise.
* * nss/getXXent.c (GETFUNC_NAME): Use union type to avoid strict Andreas Jaeger2002-11-108-92/+161
| | | | | | | | | | | | | | | | aliasing problem. * nss/getXXbyYY_r.c (INTERNAL): Likewise. * nss/getnssent_r.c (__nss_getent_r): Likewise. (__nss_setent): Likewise. (__nss_getent_r): Likewise. * inet/getnetgrent_r.c (innetgr): Likewise. (__internal_setnetgrent_reuse): Likewise. (internal_getnetgrent_r): Likewise. * inet/ether_hton.c (ether_hostton): Likewise. * inet/ether_ntoh.c (ether_ntohost): Likewise. * sunrpc/netname.c (netname2user): Likewise. * sunrpc/publickey.c (getpublickey): Likewise. (getsecretkey): Likewise.
* 2002-11-09 Marcus Brinkmann <marcus@gnu.org>Roland McGrath2002-11-092-1/+6
| | | | | * sysdeps/mach/hurd/i386/ioperm.c (ioperm): Correct off by one error in range calculation.
* * string/test-strspn.c (do_test): Ensure zero termination.Roland McGrath2002-11-0911-189/+104
| | | | | | | | | | | | | | | | | | | | | | | * string/test-strpbrk.c (do_test): Likewise. * string/test-strncmp.c (stupid_strncmp): Use strnlen, not strlen. * string/test-strncpy.c (stupid_strncpy): Likewise. * string/test-stpncpy.c (stupid_stpncpy): Likewise. 2002-10-08 Roland McGrath <roland@redhat.com> * string/test-string.h (test_init): Fill BUF1 and BUF2 with nonzero characters. 2002-09-22 H.J. Lu <hjl@gnu.org> * sysdeps/unix/sysv/linux/mmap64.c (MMAP2_PAGE_SHIFT): Renamed from PAGE_SHIFT. Define if not defined. Check MMAP2_PAGE_SHIFT only if __NR_mmap2 is defined. * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Moved to ... * sysdeps/unix/sysv/linux/mmap64.c: ... here. * sysdeps/unix/sysv/linux/hppa/mmap64.c: File removed. * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: FIle removed,
* * posix/bug-regex13.c (tests): Add new test.Roland McGrath2002-11-082-0/+3
|
* * string/test-strchr.c (stupid_strchr): New function.Roland McGrath2002-11-0810-86/+233
| | | | | | | | | | | | | | | | | | (do_random_tests): Make sure the string is zero terminated. * string/test-strpbrk.c (stupid_strpbrk): New function. (do_random_tests): Make sure the string is zero terminated. * string/test-strcmp.c (stupid_strcmp): New function. (do_random_tests): Make sure the strings are zero terminated. * string/test-strspn.c (stupid_strspn): New function. (simple_strspn): Rename rej argument to acc. (do_random_tests): Make sure the string is zero terminated. * string/test-strcspn.c (stupid_strcspn): New function. * string/test-strncpy.c (stupid_strncpy): New function. * string/test-stpncpy.c (stupid_stpncpy): New function. * string/test-strncmp.c (stupid_strncmp): New function. (do_random_tests): Make sure the strings are zero terminated. * string/test-string.h (impl_t): Change test into long. (IMPL): Add __attribute__((aligned (sizeof (void *)))).
* * sysdeps/ia64/elf/configure.in: Add TLS check.Roland McGrath2002-11-083-0/+90
| | | | | | | | | | | | | | | From Ian Wienand <ianw@cse.unsw.edu.au>. * sysdeps/ia64/elf/configure: Regenerated. 2002-11-07 Roland McGrath <roland@redhat.com> * libio/fileops.c (_IO_new_file_overflow): Use INTUSE(_IO_do_write) in place of _IO_new_do_write. [_LIBC] (_IO_do_write): Define as macro for _IO_new_do_write and #undef before versioned_symbol use. * string/test-string.h (test_init): Fill BUF1 and BUF2 with nonzero characters.
* * configure.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove test.Roland McGrath2002-11-0827-248/+495
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure: Regenerated. * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove #undef. * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Use !samegp. (RTLD_START): Likewise. Access _dl_skip_args, _rtld_local, and _dl_fini via gp-relative relocations. * sysdeps/alpha/fpu/e_sqrt.c: Use !samegp. * elf/tls-macros.h: Add alpha versions. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs. * sysdeps/unix/alpha/sysdep.S: Support USE___THREAD. * sysdeps/unix/alpha/sysdep.h: Likewise. Add SYSCALL_ERROR_HANDLER. * sysdeps/unix/sysv/linux/alpha/brk.S: Use it. * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise. * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Likewise. * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. * sysdeps/unix/sysv/linux/alpha/sysdep.h: Re-include protect. Kill argument registers across the inline syscall. * sysdeps/unix/sysv/linux/alpha/clone.S: Add user_tid and tls args. * linuxthreads/sysdeps/alpha/tls.h: New file. * sysdeps/alpha/dl-tls.h: New file.
* * sysdeps/ia64/elf/initfini.c [HAVE_INITFINI_ARRAY]Roland McGrath2002-11-079-78/+354
| | | | | | | | | | | | | | | | | | | | | | | (gmon_initializer): New function. (.init prologue): If HAVE_INITFINI_ARRAY is true, don't call __gmon_start__ here. Call it from gmon_initializer() instead. 2002-03-12 H.J. Lu <hjl@gnu.org> * elf/Makefile [$(have-initfini-array) = yes] (tests): Add tst-array1, tst-array2, and tst-array3. [$(have-initfini-array) = yes] (tests-static): Add tst-array3. [$(have-initfini-array) = yes] (modules-names): Add tst-array2dep. ($(objpfx)tst-array1.out): New target. ($(objpfx)tst-array2): Likewise. ($(objpfx)tst-array2.out): Likewise. ($(objpfx)tst-array3.out): Likewise. * elf/tst-array1.c: New file. * elf/tst-array1.exp: Likewise. * elf/tst-array2.c: Likewise. * elf/tst-array2dep.c: Likewise. * elf/tst-array2.exp: Likewise. * elf/tst-array3.c: Likewise.
* * elf/dl-fini.c (_dl_fini): Invoke fini_array in _reverse_ order.Roland McGrath2002-11-072-6/+9
| | | | Don't add L->l_addr to array entry values.
* * string/test-string.h: New file.Roland McGrath2002-11-0722-2/+3841
| | | | | | | | | | | | | | | | | | | | | | | | | | * string/test-strlen.c: New file. * string/test-string.h: New file. * string/test-strcmp.c: New file. * string/test-strchr.c: New file. * string/test-strrchr.c: New file. * string/test-strcpy.c: New file. * string/test-stpcpy.c: New file. * string/test-strncpy.c: New file. * string/test-stpncpy.c: New file. * string/test-strpbrk.c: New file. * string/test-strcspn.c: New file. * string/test-strspn.c: New file. * string/test-strcat.c: New file. * string/test-strncmp.c: New file. * string/test-memchr.c: New file. * string/test-memcmp.c: New file. * string/test-memset.c: New file. * string/test-memcpy.c: New file. * string/test-mempcpy.c: New file. * string/test-memmove.c: New file. * string/Makefile (strop-tests): New variable. (tests): Add strop-tests. (distribute): Add test-string.h.
* * sysdeps/unix/sysv/linux/mips/configure.in: File removed.Roland McGrath2002-11-061-0/+3
| | | | * sysdeps/unix/sysv/linux/mips/configure: Likewise.
* 2002-11-06 Roland McGrath <roland@redhat.com>Roland McGrath2002-11-062-79/+0
| | | | | * sysdeps/unix/sysv/linux/mips/configure.in: File removed. * sysdeps/unix/sysv/linux/mips/configure: Likewise.
* Update.Ulrich Drepper2002-11-064-2400/+2411
| | | | | | | | | | 2002-11-06 Ulrich Drepper <drepper@redhat.com> * posix/regcomp.c: Use tabs instead of spaces. * posix/regexec.c: Likewise. * posix/regex_internal.h: Likewise. * posix/regcomp.c (re_compile_fastmap_iter): Use __wcrtomb not wctomb.
* Update.Ulrich Drepper2002-11-064-423/+624
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-06 Jakub Jelinek <jakub@redhat.com> * posix/regcomp.c (re_compile_pattern): Don't set regs_allocated here. (regcomp): Don't set can_be_null here. (re_comp): Clear whole re_comp_buf with the exception of fastmap. (re_compile_internal): Clear can_be_null, set regs_allocated. * posix/regcomp.c (re_set_fastmap): New function. (re_compile_fastmap_iter): Use it. Remove redundant type == COMPLEX_BRACKET check. * posix/regexec.c (re_search_internal): Optimize searching with fastmap. Call re_string_reconstruct even if match_first is smaller than raw_mbs_idx. 2002-11-06 Isamu Hasegawa <isamu@yamato.ibm.com> * posix/regcomp (free_dfa_content): Use free_state. * posix/regex_internal.c (re_string_realloc_buffers): Don't edit pointers in case that realloc failed. (re_node_set_merge): Likewise. (register_state): Likewise. (create_newstate_common): Invoke memory release functions in case of error conditions. (create_ci_newstate): Likewise. (create_cd_newstate): Likewise. (free_state): New function. * posix/regexec.c (re_search_internal): Invoke memory release functions in case of error conditions. (sift_states_backward): Likewise. (merge_state_array): Likewise. (add_epsilon_src_nodes): Likewise. (sub_epsilon_src_nodes): Likewise. (search_subexp): Likewise. (sift_states_bkref): Likewise. (transit_state_sb): Likewise. (transit_state_mb): Likewise. (transit_state_bkref_loop): Likewise. (group_nodes_into_DFAstates): Likewise. (push_fail_stack): Don't edit pointers in case that realloc failed. (extend_buffers): Likewise. (match_ctx_add_entry): Likewise.
* (free_dfa_content): Use free_state.Ulrich Drepper2002-11-061-9/+1
|
* 2002-11-06 Thorsten Kukuk <kukuk@suse.de>Roland McGrath2002-11-062-3/+7
| | | | * locales/tl_PH: Fix typo: Philipines -> Philippines.
* * configure.in: Add checks on as and ld for binutils 2.13 or later.Roland McGrath2002-11-061-0/+5
| | | | * configure: Regenerated.
* 2002-11-06 Roland McGrath <roland@redhat.com>Roland McGrath2002-11-062-17/+137
| | | | | * configure.in: Add checks on as and ld for binutils 2.13 or later. * configure: Regenerated.
* Update.Ulrich Drepper2002-11-062-67/+88
| | | | | | | | | | | | 2002-11-06 Ulrich Drepper <drepper@redhat.com> * posix/regcomp.c (regcomp): __re_compile_fastmap can never fail. If re_compile_internal failed free fastmap buffer. (free_dfa_content): Broken out of regfree function. Frees all dfa related data. (regfree): Add free_dfa_content. (re_compile_internal): If any of the called functions fails free all dfa related memory.