(linenum→info "unix/slp.c:2238")

glibc/2.7/ChangeLog.13

    1: 2002-10-03  Richard Henderson  <rth@redhat.com>
    2: 
    3:         * sysdeps/alpha/stxncpy.S: Don't access memory beyond the source
    4:         buffer.
    5:         * sysdeps/alpha/alphaev6/stxncpy.S: Likewise.
    6: 
    7: 2002-10-02  Andreas Jaeger  <aj@suse.de>
    8:             Guido Guenther  <agx@sigxcpu.org>
    9: 
   10:         * sysdeps/mips/fpu/fraiseexcpt.c: Add internal definition.
   11:         * sysdeps/mips/fpu/fesetenv.c: Likewise.
   12: 
   13: 2002-10-03  Jakub Jelinek  <jakub@redhat.com>
   14: 
   15:         * sysdeps/unix/sysv/linux/net/route.h: Include bits/wordsize.h.
   16:         (struct rtentry): Make rt_pad4 6 bytes long if __WORDSIZE == 64.
   17:         * sysdeps/unix/sysv/linux/alpha/Dist: Remove net/route.h.
   18:         * sysdeps/unix/sysv/linux/alpha/net/route.h: Remove.
   19:         * sysdeps/unix/sysv/linux/ia64/Dist: Remove net/route.h.
   20:         * sysdeps/unix/sysv/linux/ia64/net/route.h: Remove.
   21:         * sysdeps/unix/sysv/linux/s390/Dist: Remove net/route.h.
   22:         * sysdeps/unix/sysv/linux/s390/net/route.h: Remove.
   23: 
   24: 2002-10-03  Ulrich Drepper  <drepper@redhat.com>
   25: 
   26:         * libio/freopen.c: Don't re-set _wide_data element if the stream
   27:         is of old style which didn't have the element.
   28:         * libio/freopen64.c: Likewise.
   29: 
   30: 2002-10-02  Ulrich Drepper  <drepper@redhat.com>
   31: 
   32:         * sysdeps/unix/sysv/linux/x86_64/Dist: Add bits/utmpx.h.
   33:         * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
   34:         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
   35: 
   36:         * sysdeps/s390/s390-32/initfini.c: Avoid unterminated string literals.
   37:         * sysdeps/sh/elf/initfini.c: Likewise.
   38:         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
   39:         * sysdeps/hppa/elf/initfini.c: Likewise.
   40:         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Likewise.
   41: 
   42: 2002-10-02  Steven Munroe  <sjmunroe@us.ibm.com>
   43:             Jakub Jelinek  <jakub@redhat.com>
   44: 
   45:         * login/programs/utmpdump.c (print_entry): Copy up->ut_tv fields
   46:         to struct timeval temp_tv before printing to be 32-/64-bit agnostic.
   47:         * sysdeps/powerpc/bits/wordsize.h: Move to...
   48:         * sysdeps/powerpc/powerpc32/bits/wordsize.h: ...here.
   49:         (__WORDSIZE_COMPAT32): Define.
   50:         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
   51:         * sysdeps/sparc/sparc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
   52:         Define.
   53:         * sysdeps/sparc/sparc64/bits/wordsize.h (__WORDSIZE_COMPAT32):
   54:         Define.
   55:         * sysdeps/s390/bits/wordsize.h: Move to...
   56:         * sysdeps/s390/s390-32/bits/wordsize.h: ...here.
   57:         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
   58:         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Define.
   59:         * sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: New file.
   60:         * sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: New file.
   61:         * sysdeps/unix/sysv/linux/sparc/bits/utmp.h: New file.
   62:         * sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: New file.
   63:         * sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: New file.
   64:         * sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: New file.
   65: 
   66: 2002-10-02  Jakub Jelinek  <jakub@redhat.com>
   67: 
   68:         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix comment typo.
   69:         Temporarily enable R_ALPHA_NONE relocs in ld.so.
   70:         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Temporarily enable
   71:         R_IA64_NONE relocs in ld.so.
   72: 
   73: 2002-09-27  Steven Munroe  <sjmunroe@us.ibm.com>
   74: 
   75:         * README.template: Minimum Linux kernel for powerpc64 is 2.4.19.
   76: 
   77:         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (struct ipc_perm):
   78:         Use __uint32_t and __uint64_t for __seq, __pad1, __unused[12] fields
   79:         so they are consistent between PPC32 and PPC64.
   80: 
   81:         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__WORDSIZE != 32]:
   82:         (_STAT_VER): Define to _STAT_VER_KERNEL.
   83:         (stru stat, struct stat64): Define to match the PPC64 kernel.
   84:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
   85:         (libc: GLIBC_2.2): Remove __xstat64, __fxstat64, and __lxstat64.
   86:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: New file.
   87:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c: New file.
   88:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c: New file.
   89:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c: New file.
   90:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add kernel_stat.h.
   91: 
   92: 2002-10-02  Roland McGrath  <roland@redhat.com>
   93: 
   94:         * sysdeps/unix/sysv/linux/xstatconv.c [STAT_IS_KERNEL_STAT]:
   95:         Conditionalize the function definitions on this.
   96:         * sysdeps/unix/sysv/linux/xstat.c (__xstat) [STAT_IS_KERNEL_STAT]:
   97:         Don't use xstat_conv, just fail if VERS != _STAT_VER_KERNEL.
   98:         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat) [STAT_IS_KERNEL_STAT]:
   99:         Likewise.
  100:         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat) [STAT_IS_KERNEL_STAT]:
  101:         Likewise.
  102: 
  103: 2002-10-02  Ulrich Drepper  <drepper@redhat.com>
  104: 
  105:         * version.h (VERSION): Bump to 2.3.
  106: 
  107:         * elf/Makefile (distribute): Add tst-tlsmod1.c, tst-tlsmod2.c,
  108:         tst-tlsmod3.c, tst-tlsmod4.c, circlemod1.c, circlemod1a.c,
  109:         circlemod2.c, circlemod2a.c, circlemod3.c, circlemod3a.c,
  110:         and nodlopenmod2.c.
  111: 
  112:         * login/Makefile (distribute): Add utmp-equal.h.
  113: 
  114:         * iconvdata/Makefile (distribute): Add TSCII.precomposed and
  115:         TSCII.irreversible.
  116: 
  117:         * Make-dist (dist): Create .bz2 file.  Add rule to create .bz2 files.
  118:         Also distribute xtests sources.
  119: 
  120: 2002-10-02  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
  121: 
  122:         * elf/elf.h: Change TLS ELF relocation numbers.
  123:         * elf/tls-macros.h: Fix code sequences for SH TLS_LD and TLS_GD
  124:         macros.
  125:         * sysdeps/sh/dl-machine.h (dl_machine_rela) [case R_SH_TLS_TPOFF32]:
  126:         Use addend.
  127:         * sysdeps/sh/elf/initfini.c: Move __fpscr_values to...
  128:         * sysdeps/sh/elf/start.S: ...here.
  129: 
  130: 2002-10-01  Jakub Jelinek  <jakub@redhat.com>
  131: 
  132:         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ,
  133:         SIGSTKSZ): Changed to match kernel.
  134:         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h: New file.
  135: 
  136: 2002-10-01  Carlos O'Donell  <carlos@baldric.uwo.ca>
  137: 
  138:         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
  139:         [__USE_GNU] (F_SETLEASE, F_GETLEASE, F_NOTIFY): New macros.
  140:         [__USE_GNU] (DN_ACCESS, DN_MODIFY, DN_CREATE, DN_DELETE, DN_RENAME,
  141:         DN_ATTRIB, DN_MULTISHOT): New macros.
  142: 
  143: 2002-02-08  Randolph Chung  <tausq@debian.org>
  144: 
  145:         * sysdeps/hppa/elf/start.S: Define __data_start.
  146: 
  147: 2002-10-01  Isamu Hasegawa  <isamu@yamato.ibm.com>
  148: 
  149:         * posix/regex_internal.c (re_string_reconstruct): Reset the member
  150:         LEN and STOP.
  151:         * posix/regexec.c (re_search_stub): Remove incorrect condition of
  152:         "range < 0".
  153:         Round RANGE in case that it is too small.
  154: 
  155: 2002-10-01  Roland McGrath  <roland@frob.com>
  156: 
  157:         * config.h.in (NO_HIDDEN): New #undef.
  158:         * include/libc-symbols.h [! NO_HIDDEN]: Add this condition to
  159:         nonempty definitions of hidden_proto et al.
  160:         * configure.in: Grok --disable-hidden-plt to define NO_HIDDEN.
  161:         * configure: Regenerated.
  162:         * sysdeps/mach/hurd/configure.in: Always define NO_HIDDEN.
  163:         * sysdeps/mach/hurd/configure: Regenerated.
  164: 
  165: 2002-09-19  David Mosberger  <davidm@hpl.hp.com>
  166: 
  167:         * sysdeps/ia64/dl-fptr.c (make_fdesc): Load address of "local" via
  168:         a 64-bit gp-relative address to enable binaries with large data
  169:         sections.
  170: 
  171: 2002-09-30  Ulrich Drepper  <drepper@redhat.com>
  172: 
  173:         * stdlib/cxa_finalize.c (__cxa_finalize): Call UNREGISTER_ATFORK
  174:         if it is defined.
  175:         * posix/Makefile (distribute): Add fork.h.
  176:         * sysdeps/generic/fork.h: New file.
  177: 
  178: 2002-09-29  Bruno Haible  <bruno@clisp.org>
  179: 
  180:         * sysdeps/generic/utmp_file.c (LOCKING_FAILED): New macro.
  181:         (UNLOCK_FILE): Add a label.
  182:         (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file,
  183:         updwtmp_file): Shut off the alarm clock when locking failed.
  184: 
  185: 2002-09-30  Isamu Hasegawa  <isamu@yamato.ibm.com>
  186: 
  187:         * posix/regex_internal.h (re_match_context_t): Add a new member.
  188:         (re_fail_stack_ent_t): New structure.
  189:         (re_fail_stack_t): Likewise.
  190:         * posix/regexec.c (re_search_internal): Use the new member of
  191:         re_match_context_t.
  192:         Use fail stack only if it has back references and there are plural
  193:         matching candidates.
  194:         (proceed_next_node): Use fail stack if it is indicated.
  195:         (set_regs): Likewise.
  196:         (push_fail_stack): New function.
  197:         (pop_fail_stack): New function.
  198:         (check_dst_limits): Likewise.
  199:         (check_dst_limits_calc_pos): Likewise.
  200:         (search_subexp): Check the limitations on the top of subexpressions.
  201:         (sift_states_bkref): Check the limitations of the destination node.
  202:         Reuse the array sctx->sifted_states.
  203: 
  204: 2002-09-30  Ulrich Drepper  <drepper@redhat.com>
  205: 
  206:         * stdio-common/printf_fp.c: Shuffle a few lines around to help the
  207:         compiler optimizing.  No semantical changes intended.
  208: 
  209: 2002-09-30  Jakub Jelinek  <jakub@redhat.com>
  210: 
  211:         * sysdeps/ia64/strncpy.S: Only segfault in .recovery2 if some bits
  212:         from the next quad are needed.
  213: 
  214: 2002-09-30  Roland McGrath  <roland@redhat.com>
  215: 
  216:         * elf/tls-macros.h (TLS_LD, TLS_GD): Use call insn, not callq.
  217: 
  218:         * sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD] [! PIC]:
  219:         Use direct-%fs form of TLS access for errno.
  220: 
  221:         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: File removed, since
  222:         the i386 version has all the same asm now.
  223: 
  224:         * sysdeps/i386/elf/configure.in: Add @GOTNTPOFF and @NTPOFF uses to
  225:         the TLS support check.
  226:         * sysdeps/i386/elf/configure: Regenerated.
  227: 
  228:         * sysdeps/unix/sysv/linux/i386/sysdep.h [USE_TLS && HAVE___THREAD]
  229:         (SYSCALL_ERROR_HANDLER): Use direct-%gs form of TLS access for errno.
  230: 
  231:         * sysdeps/unix/i386/sysdep.S (syscall_error)
  232:         [USE_TLS && HAVE___THREAD]: Use TLS access for errno.
  233: 
  234:         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
  235:         [USE_TLS && HAVE___THREAD] (SYSCALL_ERROR_HANDLER): Use TLS access.
  236: 
  237:         * rt/tst-aio7.c (do_test): Don't read from stdin, which could be the
  238:         terminal when the test is running in a background job.  Instead, make
  239:         a pipe and read from its read half while never writing anything to it.
  240: 
  241: 2002-09-30  Andreas Jaeger  <aj@suse.de>
  242: 
  243:         * stdlib/tst-bsearch.c (main): Fix format strings.
  244:         * stdio-common/tst-rndseek.c (do_test): Likewise.
  245:         * libio/tst_swprintf.c (main): Likewise.
  246:         * catgets/tst-catgets.c (main): Likewise.
  247:         * libio/tst-fgetws.c (main): Likewise.
  248:         * posix/tst-mmap.c (main): Likewise.
  249:         * posix/bug-regex12.c (main): Likewise.
  250:         * posix/bug-regex11.c (main): Likewise.
  251:         * io/tst-getcwd.c (do_test): Likewise.
  252: 
  253:         * iconvdata/tst-e2big.c (test): Use %td in printf for ptrdiff_t.
  254: 
  255:         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
  256:         Store 4 bytes into errno, not 8 bytes.
  257: 
  258: 2002-09-29  Ulrich Drepper  <drepper@redhat.com>
  259: 
  260:         * posix/regexec.c (sift_states_bkref): Remove ret variable.  Use
  261:         err instead.
  262: 
  263: 2002-09-29  Roland McGrath  <roland@redhat.com>
  264: 
  265:         * test-skeleton.c (timeout_handler): Use WUNTRACED flag in waitpid.
  266:         Examine the child's status and print something different if it wasn't
  267:         just killed by our SIGKILL.
  268:         (main): In the child process call setpgid to put it in its own pgrp.
  269: 
  270: 2002-09-29  Ulrich Drepper  <drepper@redhat.com>
  271: 
  272:         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): The return value
  273:         semantics for sigtimedwait is different.  Rework the return value
  274:         handling and don't pass in a siginfo variable.
  275: 
  276: 2002-09-29  Roland McGrath  <roland@redhat.com>
  277: 
  278:         * malloc/malloc.c [! MALLOC_DEBUG] (assert): #undef before defining.
  279: 
  280:         * sysdeps/mach/hurd/Versions (ld: GLIBC_2.2.6): Add __errno_location.
  281: 
  282:         * sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]:
  283:         Define errno in .tbss.
  284:         * sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Use TLS
  285:         access for setting errno.
  286: 
  287:         * sysdeps/unix/x86_64/sysdep.S: Store 32 bits at errno, not 64 bits.
  288:         AFAICT, it was just blind luck that the word following errno in .bss
  289:         was just alignment padding and not some other variable to be clobbered.
  290: 
  291: 2002-09-29  Jakub Jelinek  <jakub@redhat.com>
  292: 
  293:         * sysdeps/unix/sysv/linux/kernel-features.h
  294:         (__ASSUME_SETRESUID_SYSCALL): On the sparc, define to 1, not empty.
  295: 
  296: 2002-09-29  Jakub Jelinek  <jakub@redhat.com>
  297: 
  298:         * nss/bug-erange.c (main): Don't fail if /etc/resolv.conf doesn't
  299:         exist.
  300: 
  301: 2002-09-29  Ulrich Drepper  <drepper@redhat.com>
  302: 
  303:         * nss/Makefile: Move bug-erange from tests to xtests.
  304: 
  305: 2002-09-29  Jakub Jelinek  <jakub@redhat.com>
  306: 
  307:         * stdlib/longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.
  308: 
  309: 2002-09-29  Jakub Jelinek  <jakub@redhat.com>
  310: 
  311:         * sysdeps/unix/sysv/linux/sparc/sysdep.h (inline_syscall0): Make asm
  312:         volatile.
  313:         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
  314:         inline_syscall5, inline_syscall6): Likewise.
  315:         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
  316:         Likewise.
  317:         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (INLINE_SYSCALL):
  318:         Likewise.
  319: 
  320: 2002-09-29  Roland McGrath  <roland@redhat.com>
  321: 
  322:         * configure.in (libc_cv_ranlib_necessary check): Put the .o file in
  323:         the archive, not the .c file.
  324:         * configure: Regenerated.
  325: 
  326: 2002-09-29  Roland McGrath  <roland@redhat.com>
  327: 
  328:         * configure: Regenerated after aclocal.m4 change.
  329: 
  330:         * sysdeps/x86_64/sysdep.h [HAVE_ELF] (L): Define with .L##name form.
  331:         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (L): Don't define it here.
  332: 
  333:         * sysdeps/generic/dl-lookupcfg.h [USE_TLS] (DL_LOOKUP_RETURNS_MAP):
  334:         Define it, because _dl_sym presumes it (for any platform).
  335: 
  336:         * sysdeps/x86_64/dl-tls.h: New file.
  337: 
  338:         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add a cast.
  339: 
  340:         * sysdeps/x86_64/elf/configure.in: New file.
  341:         * sysdeps/x86_64/elf/configure: New generated file.
  342: 
  343: 2002-09-28  Roland McGrath  <roland@redhat.com>
  344: 
  345:         * elf/rtld.c (_dl_start): Fix conditional for declaring CNT.
  346: 
  347:         * aclocal.m4 (LIBC_PROG_BINUTILS): Don't clobber $RANLIB with ranlib
  348:         before we check it.
  349: 
  350: 2002-09-28  Ulrich Drepper  <drepper@redhat.com>
  351: 
  352:         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __syscall_exit
  353:         entry point.
  354: 
  355: 2002-09-28  Jakub Jelinek  <jakub@redhat.com>
  356: 
  357:         * posix/bug-regex11.c (tests): Add flags field.
  358:         (main): Avoid warnings.  Use test[i].flags.  Return nonzero
  359:         if any of the tests failed.
  360:         * posix/bug-regex12.c: New file.
  361:         * posix/Makefile (tests): Add bug-regex12.
  362: 
  363: 2002-03-02  Thorsten Kukuk  <kukuk@suse.de>
  364: 
  365:         * sysdeps/unix/nice.c (nice): Use getpriority() for the return value.
  366: 
  367: 2002-09-28  Jeff Bailey  <jbailey@gnu.org>
  368: 
  369:         * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Delete.
  370:         * sysdeps/unix/sysv/aix/configure.in: Update comment and remove
  371:         stdio=libio setting.
  372: 
  373: 2002-09-28  Roland McGrath  <roland@redhat.com>
  374: 
  375:         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Use INTUSE for
  376:         _dl_signal_error.
  377:         * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Likewise.
  378:         * sysdeps/powerpc/powerpc64/dl-machine.c
  379:         (_dl_reloc_overflow): Likewise.
  380:         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
  381:         (elf_machine_rela): Likewise.
  382: 
  383: 2002-09-27  Steven Munroe  <sjmunroe@us.ibm.com>
  384: 
  385:         * include/libc-symbols.h (__hidden_dot_weak1): Fix typo.  Replace
  386:         ASM_GLOBAL_DIRECTIVE with .weak.
  387: 
  388: 2002-09-28  Andreas Jaeger  <aj@suse.de>
  389: 
  390:         * sysdeps/unix/sysv/linux/mips/truncate64.c (truncate64): Fix
  391:         number of args to syscall.
  392:         * sysdeps/unix/sysv/linux/mips/ftruncate64.c (__ftruncate64): Likewise.
  393:         Patch by Guido Guenther <agx@sigxcpu.org>.
  394: 
  395: 2002-09-27  Roland McGrath  <roland@redhat.com>
  396: 
  397:         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_pread, __NR_pwrite):
  398:         Define these to __NR_pread64, __NR_pwrite64 if not defined.
  399: 
  400:         * sysdeps/unix/sysv/linux/powerpc/lchown.S
  401:         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Use this condition
  402:         on chown compatibility symbol; use compat_symbol, not symbol_version.
  403: 
  404: 2002-09-27  Isamu Hasegawa  <isamu@yamato.ibm.com>
  405: 
  406:         * posix/regcomp.c (reg_free): Free the debug area.
  407:         (re_compile_internal): Allocate debug area for the input string.
  408:         (create_initial_state): Check the back references in initial states
  409:         if they are really match null string in the initial state.
  410:         (parse_reg_exp): Mark the dfa that the dfa can have plural matchings.
  411:         (parse_expression): Likewise.
  412:         (parse_bracket_exp): Likewise.
  413:         * posix/regex_internal.c (re_node_set_intersect): Remove unused
  414:         function.
  415:         (re_node_set_contains): Change to return the index of node.
  416:         * posix/regex_internal.h (re_backref_cache_entry): Change the members.
  417:         (re_match_context_t): Likewise.
  418:         (struct re_dfa_t): Likewise.
  419:         (re_sift_context_t): New structure.
  420:         * posix/regexec.c (match_ctx_clear_flag): New function.
  421:         (sift_ctx_init): Likewise.
  422:         (update_cur_sifted_state): Likewise.
  423:         (add_epsilon_src_nodes): Likewise.
  424:         (sub_epsilon_src_nodes): Likewise.
  425:         (check_subexp_limits): Likewise.
  426:         (search_subexp): Likewise.
  427:         (sift_states_bkref): Likewise.
  428:         (merge_state_array): Likewise.
  429:         (sift_states_iter_bkref): Remove unused function.
  430:         (add_epsilon_backreference): Remove unused function.
  431:         (re_search_internal): Adapt new members and interfaces.
  432:         (check_matching): Check the back references in initial states
  433:         if they are really match null string in the initial state.
  434:         (proceed_next_node): Change the evaluation of back references,
  435:         since we have real registers here.
  436:         (set_regs): Adapt new interface of proceed_next_node.
  437:         (sift_states_backward): Add invocation of update_cur_sifted_state
  438:         instead of add_epsilon_backreference.
  439:         Add a sentinel to the outermost while loop.
  440:         Move the handling of back references to sift_states_bkref function,
  441:         since we can't handle some back references (e.g. a back reference
  442:         which match NULL string) here.
  443:         (transit_state_mb): Handle the new member max_mb_elem_len.
  444:         (transit_state_bkref_loop): Move the evaluation of back references to
  445:         search_subexp function, since we can't evaluate some back references
  446:         (e.g. a back reference which can have plural matchings) here.
  447:         (match_ctx_init): Adapt the new member.
  448:         (match_ctx_add_entry): Adapt the new members.
  449: 
  450: 2002-09-25  Alan Modra  <amodra@bigpond.net.au>
  451: 
  452:         * elf/do-rel.h: Define macro DO_ELF_MACHINE_REL_RELATIVE for
  453:         'elf_machine_rel_relative'
  454:         (elf_dynamic_do_rel): Call DO_ELF_MACHINE_REL_RELATIVE macro
  455:         instead of 'elf_machine_rel_relative'.
  456:         * sysdeps/hppa/dl-machine.h:
  457:         Define macro DO_ELF_MACHINE_REL_RELATIVE for
  458:         'elf_machine_rel_relative' with extra map parameter
  459:         required by HPPA.
  460:         (elf_machine_rela_relative): Add plt relocation changes.
  461: 
  462: 2001-11-14  Matthew Wilcox  <willy@debian.org>
  463: 
  464:         * sysdeps/unix/sysv/linux/hppa/bits/ipc.h: New file.
  465:         * sysdeps/unix/sysv/linux/hppa/bits/msq.h: New file.
  466:         * sysdeps/unix/sysv/linux/hppa/bits/sem.h: New file.
  467:         * sysdeps/unix/sysv/linux/hppa/bits/shm.h: New file.
  468: 
  469: 2002-09-27  Steven Munroe  <sjmunroe@us.ibm.com>
  470: 
  471:         * sysdeps/powerpc/powerpc32/Makefile: Fix typo in comment.
  472: 
  473:         * sysdeps/powerpc/powerpc64/Makefile
  474:         [$(build-shared) = yes] (pic-ccflag): Define it.
  475:         [$(subdir) = csu] (CFLAGS-initfini.s): Add -fpic here too.
  476: 
  477: 2002-09-27  Roland McGrath  <roland@redhat.com>
  478: 
  479:         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Remove
  480:         unneeded TLS cases.
  481: 
  482: 2002-09-27  Jakub Jelinek  <jakub@redhat.com>
  483: 
  484:         * elf/dl-addr.c (_dl_addr): Set dli_fbase to l_map_start
  485:         unconditionally.  Set dli_fname to _dl_argv[0] only for main program.
  486: 
  487: 2002-09-27  Roland McGrath  <roland@redhat.com>
  488: 
  489:         * elf/dl-addr.c (_dl_addr): Add a cast.
  490: 
  491:         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [USE_TLS]: Handle new
  492:         TLS relocs R_X86_64_DTPMOD64, R_X86_64_DTPOFF64, and R_X86_64_TPOFF64.
  493: 
  494:         * elf/elf.h (R_X86_64_DTPMOD64, R_X86_64_DTPOFF64, R_X86_64_TPOFF64,
  495:         R_X86_64_TLSGD, R_X86_64_TLSLD, R_X86_64_DTPOFF32,
  496:         R_x86_64_GOTTPOFF, R_X86_64_TPOFF32): New macros.
  497:         (R_X86_64_NUM): Update the value.
  498: 
  499: 2002-09-24  Jakub Jelinek  <jakub@redhat.com>
  500: 
  501:         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address): Don't
  502:         rely on *r_offset of R_SPARC_RELATIVE reloc in .got to contain the
  503:         addend.
  504:         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): Use
  505:         the same l_addr computation.
  506:         * sysdeps/sparc/sparc64/configure.in: Removed.
  507:         * sysdeps/sparc/sparc64/configure: Removed.
  508:         * config.h.in (SPARC64_DYNAMIC_BEFORE_GOT): Remove.
  509: 
  510: 2002-09-26  Ulrich Drepper  <drepper@redhat.com>
  511: 
  512:         * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_HASH entry
  513:         if necessary.
  514:         * elf/dl-lookup.c (_dl_setup_hash): DT_HASH entry is already relocated.
  515:         * elf/dl-addr.c (_dl_addr): Use .hash[1] entry to determine end of the
  516:         symbol table if necessary.
  517: 
  518: 2002-09-26  Roland McGrath  <roland@redhat.com>
  519: 
  520:         * stdlib/longlong.h: Replaced with current version from GCC mainline,
  521:         last modified 2002-09-22  Kazu Hirata  <kazu@cs.umass.edu>.
  522: 
  523: 2002-09-25  Andreas Jaeger  <aj@suse.de>
  524: 
  525:         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add syscall_exit.
  526:         Patch by Guido Guenther <agx@sigxcpu.org>.
  527: 
  528: 2002-09-25  Roland McGrath  <roland@redhat.com>
  529: 
  530:         * Makeconfig (%.v.i pattern rule): Use $(CPPFLAGS).
  531: 
  532: 2002-09-24  Ulrich Drepper  <drepper@redhat.com>
  533: 
  534:         * sysdeps/unix/sysv/linux/configure.in: Recognize nptl add-on name.
  535: 
  536: 2002-09-24  Roland McGrath  <roland@redhat.com>
  537: 
  538:         * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Move __libc_read,
  539:         __libc_write, __libc_lseek64, to ...
  540:         (ld: GLIBC_PRIVATE): ... here.
  541: 
  542:         * csu/Versions: Use %include <tls.h> to get USE_TLS defined.
  543:         (libc: GLIBC_2.0) [USE_TLS && HAVE___THREAD]: Remove _errno, errno.
  544:         (libc: GLIBC_2.3) [USE_TLS && HAVE___THREAD]: Put errno here instead.
  545:         * resolv/Versions: Use %include <tls.h> to get USE_TLS defined.
  546:         (libc: GLIBC_2.0) [USE_TLS && HAVE___THREAD]: Remove _h_errno, h_errno,
  547:         and _res.
  548:         (libc: GLIBC_2.3) [USE_TLS && HAVE___THREAD]: Put h_errno, _res here.
  549: 
  550:         * elf/tls-macros.h [__x86_64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD):
  551:         New macros for x86-64.
  552: 
  553:         * sysdeps/unix/sysv/linux/alpha/bits/time.h: File removed.
  554:         It was indentical to the linux/bits/time.h file.
  555: 
  556:         * nscd/nscd_gethst_r.c (nscd_gethst_r): Add a cast to silence warning.
  557: 
  558:         * resolv/gethnamaddr.c (gethostbyaddr): Use socklen_t for SIZE.
  559: 
  560: 2002-09-23  Ulrich Drepper  <drepper@redhat.com>
  561: 
  562:         * po/zh_CN.po: New file.
  563: 
  564: 2002-09-23  Roland McGrath  <roland@redhat.com>
  565: 
  566:         * posix/unistd.h: Test [__USE_UNIX98] instead of [__USE_OPEN2K]
  567:         for gethostname declaration.
  568: 
  569:         * catgets/open_catalog.c (__open_catalog): Don't use a value type
  570:         as the __builtin_expect expression, just the Boolean value.
  571: 
  572:         * sysdeps/generic/wordexp.c (parse_glob): int -> size_t for counter.
  573:         * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
  574:         * resolv/res_hconf.c (arg_service_list, parse_line): Likewise.
  575:         * iconvdata/tst-loading.c (main): Likewise.
  576:         * catgets/tst-catgets.c (main): Likewise.
  577:         * stdlib/tst-xpg-basename.c (main): Likewise.
  578:         * stdlib/tst-bsearch.c (main): Likewise.
  579:         * stdio-common/test-vfprintf.c (main): Likewise.
  580:         * stdio-common/tst-rndseek.c (do_test): Likewise.
  581:         * libio/tst_swprintf.c (main): Likewise.
  582:         * libio/tst-fgetws.c (main): Likewise.
  583:         * wcsmbs/tst-mbrtowc.c (check_ascii): Likewise.
  584:         * time/tst-posixtz.c (main): Likewise.
  585:         * time/tst-strptime.c (test_tm): Likewise.
  586:         * time/tst-strptime.c (main): Likewise.
  587:         * time/tst-getdate.c (main): Likewise.
  588:         * posix/tst-mmap.c (main): Likewise.
  589:         * posix/tst-getaddrinfo.c (do_test): Likewise.
  590:         * io/tst-getcwd.c (do_test): Likewise.
  591:         * resolv/tst-aton.c (main): Likewise.
  592:         * inet/tst-network.c (main): Likewise.
  593:         * libio/tst-fgetws.c (main): Likewise.
  594:         * sysdeps/posix/sprofil.c (add_region): int -> unsigned int for I.
  595:         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): int -> unsigned int
  596:         for PTYNO.
  597: 
  598:         * stdlib/msort.c (qsort): Add a cast to silence warning.
  599:         * stdio-common/vfprintf.c (process_string_arg): Likewise.
  600:         * libio/oldfileops.c (_IO_old_do_write): Likewise.
  601:         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Likewise.
  602:         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
  603:         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
  604:         * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
  605:         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
  606:         * sysdeps/unix/grantpt.c (grantpt): Likewise.
  607:         * libio/tst-widetext.c (main): Likewise.
  608:         * libio/tst-mmap2-eofsync.c (do_test): Likewise.
  609:         * rt/tst-aio.c (test_file): Likewise.
  610:         * rt/tst-aio64.c (test_file): Likewise.
  611:         * resolv/tst-aton.c (main): Likewise.
  612: 
  613:         * catgets/catgetsinfo.h (CATGETS_MAGIC): Use U suffix on the constant.
  614: 
  615:         * ctype/ctype.c (__ctype_tolower, __ctype_toupper): Cast to int32_t
  616:         instead of uint32_t in these macros.
  617: 
  618: 2002-09-22  Bruno Haible  <bruno@clisp.org>
  619: 
  620:         * iconv/iconv_prog.c (main): Provide an error message that identifies
  621:         the wrong encoding.
  622: 
  623:         * iconvdata/tscii.c: New file.
  624:         * iconvdata/testdata/TSCII: New file.
  625:         * iconvdata/testdata/TSCII..UTF8: New file.
  626:         * iconvdata/TSCII.precomposed: New file.
  627:         * iconvdata/TSCII.irreversible: New file.
  628:         * iconvdata/gconv-modules (TSCII): New module.
  629:         * iconvdata/Makefile (modules): Add TSCII.
  630:         (distribute): Add tscii.c.
  631:         * iconvdata/tst-table-from.c (try, utf8_decode, main): Double output
  632:         buffer size.
  633:         * iconvdata/tst-tables.sh: Add TSCII.
  634:         * iconvdata/TESTS: Add TSCII.
  635: 
  636:         Revert 2002-04-18 patch.
  637:         * iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for
  638:         FROM_DIRECTION): Make the FROM direction stateful again.
  639:         * iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for
  640:         FROM_DIRECTION): Likewise.
  641: 
  642:         * iconvdata/tst-e2big.c: New file.
  643:         * iconvdata/Makefile (tests): Add tst-e2big.
  644: 
  645: 2002-09-23  Roland McGrath  <roland@redhat.com>
  646: 
  647:         * elf/Makefile (test-extras): Define this instead of test-srcs.
  648:         * Makerules (all-nonlib): Include $(test-extras) too.
  649: 
  650: 2002-09-21  Carlos O'Donell  <carlos@baldric.uwo.ca>
  651: 
  652:         * sysdeps/hppa/abort-instr.h: New file.
  653: 
  654: 2002-09-22  Roland McGrath  <roland@frob.com>
  655: 
  656:         * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Remove duplicate entry.
  657: 
  658:         * sysdeps/mach/hurd/dl-sysdep.c (_exit): Add alias __GI__exit.
  659: 
  660: 2002-09-22  Andreas Schwab  <schwab@suse.de>
  661: 
  662:         * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Append, not overwrite.
  663: 
  664:         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal)
  665:         (isless, islessequal, islessgreater, isunordered) [GCC >= 3.1]:
  666:         Use GCC builtins.
  667: 
  668: 2002-09-21  Roland McGrath  <roland@redhat.com>
  669: 
  670:         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_PLATFORM):
  671:         Correct the value so it covers all platforms, and is computed
  672:         from _DL_PLATFORMS_COUNT rather than hard-wired.
  673:         From Andrew Suffield <asuffield@debian.org>.
  674: 
  675: 2002-09-20  Ulrich Drepper  <drepper@redhat.com>
  676: 
  677:         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Avoid
  678:         locking when using mount tab file.
  679:         * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
  680:         * sysdeps/unix/sysv/linux/statvfs.c: Include <stdio_ext.h>.
  681:         * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
  682: 
  683:         * elf/dl-init.c (_dl_init): Fix test of the size of the
  684:         preinit_array section.
  685:         (call_init): Optimize access to DT_INIT_ARRAY entry a bit.
  686:         Reported by Brian Cabral <cabral@ikuni.com>.
  687: 
  688: 2002-09-20  Steven Munroe  <sjmunroe@us.ibm.com>
  689: 
  690:         * sysdeps/powerpc/sysdep.h: Remove powerpc32 specific macros.
  691:         * sysdeps/powerpc/powerpc32/sysdep.h: New file.  Define powerpc32
  692:         specific macros copied from sysdeps/powerpc/sysdep.h.
  693:         * sysdeps/powerpc/powerpc64/sysdep.h: New file.  Define powerpc64
  694:         specific macros.
  695:         * sysdeps/unix/powerpc/sysdep.h: Include <bits/wordsize.h>.
  696:         [__WORDSIZE==64]: Include sysdeps/powerpc/powerpc64/sysdep.h.
  697:         [!__WORDSIZE==64]: Include sysdeps/powerpc/powerpc32/sysdep.h.
  698: 
  699: 2002-09-19  Bruno Haible  <bruno@clisp.org>
  700: 
  701:         * intl/dcigettext.c (DCIGETTEXT): Restore errno only right before
  702:         returning.
  703: 
  704: 2002-09-17  Bruno Haible  <bruno@clisp.org>
  705: 
  706:         * sysdeps/generic/utmp-equal.h: New file, extracted from utmp_file.c.
  707:         * sysdeps/generic/utmp_file.c (setutent_file): Invalidate last_entry
  708:         also on platforms with !HAVE_UT_TYPE.
  709:         (proc_utmp_eq): Remove function.
  710:         (internal_getut_r, pututline_file): Call __utmp_equal instead.
  711: 
  712: 2002-09-20  Bruno Haible  <bruno@clisp.org>
  713: 
  714:         * abi-tags: Add support for FreeBSD with ABI OS value 3.
  715:         * elf/cache.c (print_entry): Support the GNU/FreeBSD ABI tag.
  716: 
  717: 2002-09-20  Roland McGrath  <roland@redhat.com>
  718: 
  719:         * sysdeps/generic/gmp-mparam.h: Include <bits/wordsize.h>.
  720:         (BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB, BITS_PER_LONGINT): Define in
  721:         terms of __WORDSIZE.
  722:         * sysdeps/x86_64/gmp-mparam.h: File removed.
  723:         * sysdeps/sparc/gmp-mparam.h: File removed.
  724:         * sysdeps/mips/mips64/gmp-mparam.h: File removed.
  725:         * sysdeps/ia64/gmp-mparam.h: File removed.
  726:         * sysdeps/alpha/gmp-mparam.h: File removed.
  727: 
  728: 2002-09-20  Steven Munroe  <sjmunroe@us.ibm.com>
  729: 
  730:         * sysdeps/powerpc/elf/libc-start.c: Use long in place of int for argc
  731:         load, so as to work on both 32-bit and 64-bit.  Remove unnecessary
  732:         casts.  Align __libc_stack_end to 8 bytes.
  733: 
  734: 2002-09-20  Roland McGrath  <roland@redhat.com>
  735: 
  736:         * sysdeps/powerpc/fpu/s_lrint.c: Use strong_alias/weak_alias macros
  737:         instead of asm for lrintf, __lrintf aliases.
  738: 
  739:         * sysdeps/powerpc/fpu/s_lrint.c (__lrint): Change union long array to
  740:         int array for 32-/64-bit compatibility.
  741:         From Steven Munroe  <sjmunroe@us.ibm.com>.
  742: 
  743: 2002-09-17  Bruno Haible  <bruno@clisp.org>
  744: 
  745:         * sysdeps/generic/ifreq.h (__if_nextreq): New function.
  746:         * sysdeps/unix/sysv/linux/ifreq.h (__if_nextreq): New function.
  747:         * sysdeps/mach/hurd/ifreq.h (__if_nextreq): New function.
  748:         * sysdeps/gnu/ifaddrs.c (getifaddrs): Use __if_nextreq
  749:         for iterating through the list of interfaces.
  750:         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Likewise.
  751: 
  752: 2002-09-20  Roland McGrath  <roland@redhat.com>
  753: 
  754:         * sysdeps/unix/grantpt.c (pts_name): Set errno when __ptsname_r fails.
  755:         Reported by Bruno Haible <bruno@clisp.org>.
  756: 
  757:         * sysdeps/unix/bsd/bsd4.4/isatty.c: New file.
  758: 
  759:         * sysdeps/unix/bsd/isatty.c (__isatty): Don't save and restore errno.
  760:         * sysdeps/unix/bsd/ptsname.c (__ptsname_r): Return errno value from
  761:         isatty unmodified.  Reported by Bruno Haible <bruno@clisp.org>.
  762: 
  763: 2002-09-20  Steven Munroe  <sjmunroe@us.ibm.com>
  764: 
  765: