aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-10-03Update.Ulrich Drepper
2002-10-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/s390/s390-32/initfini.c: Avoid unterminated string literals. * sysdeps/sh/elf/initfini.c: Likewise. * sysdeps/mach/hurd/mips/init-first.c: Likewise. * sysdeps/hppa/elf/initfini.c: Likewise. * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Likewise.
2002-10-02Update.Ulrich Drepper
2002-10-02 Steven Munroe <sjmunroe@us.ibm.com> Jakub Jelinek <jakub@redhat.com> * login/programs/utmpdump.c (print_entry): Copy up->ut_tv fields to struct timeval temp_tv before printing to be 32-/64-bit agnostic. * sysdeps/powerpc/bits/wordsize.h: Move to... * sysdeps/powerpc/powerpc32/bits/wordsize.h: ...here. (__WORDSIZE_COMPAT32): Define. * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise. * sysdeps/sparc/sparc32/bits/wordsize.h (__WORDSIZE_COMPAT32): Define. * sysdeps/sparc/sparc64/bits/wordsize.h (__WORDSIZE_COMPAT32): Define. * sysdeps/s390/bits/wordsize.h: Move to... * sysdeps/s390/s390-32/bits/wordsize.h: ...here. * sysdeps/s390/s390-64/bits/wordsize.h: Likewise. * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Define. * sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: New file. * sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: New file. * sysdeps/unix/sysv/linux/sparc/bits/utmp.h: New file. * sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: New file. * sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: New file. * sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: New file.
2002-10-02Update.Ulrich Drepper
2002-10-02 Jakub Jelinek <jakub@redhat.com> * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix comment typo. Temporarily enable R_ALPHA_NONE relocs in ld.so. * sysdeps/ia64/dl-machine.h (elf_machine_rela): Temporarily enable R_IA64_NONE relocs in ld.so.
2002-10-02Temporarily enable R_*_NONE relocs in ld.so.Ulrich Drepper
2002-10-02* sysdeps/mips/fpu/fraiseexcpt.c: Add internal definition. Andreas Jaeger
* sysdeps/mips/fpu/fesetenv.c: Likewise.
2002-10-02* README.template: Minimum Linux kernel for powerpc64 is 2.4.19.Roland McGrath
* sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (struct ipc_perm): Use __uint32_t and __uint64_t for __seq, __pad1, __unused[12] fields so they are consistent between PPC32 and PPC64.
2002-10-02* sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__WORDSIZE != 32]:Roland McGrath
(_STAT_VER): Define to _STAT_VER_KERNEL. (stru stat, struct stat64): Define to match the PPC64 kernel. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions (libc: GLIBC_2.2): Remove __xstat64, __fxstat64, and __lxstat64. * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add kernel_stat.h. 2002-10-02 Roland McGrath <roland@redhat.com> * sysdeps/unix/sysv/linux/xstatconv.c [STAT_IS_KERNEL_STAT]: Conditionalize the function definitions on this. * sysdeps/unix/sysv/linux/xstat.c (__xstat) [STAT_IS_KERNEL_STAT]: Don't use xstat_conv, just fail if VERS != _STAT_VER_KERNEL. * sysdeps/unix/sysv/linux/fxstat.c (__fxstat) [STAT_IS_KERNEL_STAT]: Likewise. * sysdeps/unix/sysv/linux/lxstat.c (__lxstat) [STAT_IS_KERNEL_STAT]: Likewise. * Make-dist (dist): Create .bz2 file. Add rule to create .bz2 files.
2002-10-022002-10-02 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/xstatconv.c [STAT_IS_KERNEL_STAT]: Conditionalize the function definitions on this. * sysdeps/unix/sysv/linux/xstat.c (__xstat) [STAT_IS_KERNEL_STAT]: Don't use xstat_conv, just fail if VERS != _STAT_VER_KERNEL. * sysdeps/unix/sysv/linux/fxstat.c (__fxstat) [STAT_IS_KERNEL_STAT]: Likewise. * sysdeps/unix/sysv/linux/lxstat.c (__lxstat) [STAT_IS_KERNEL_STAT]: Likewise.
2002-10-02Update.Ulrich Drepper
2002-10-02 Ulrich Drepper <drepper@redhat.com> * version.h (VERSION): Bump to 2.3. * elf/Makefile (distribute): Add tst-tlsmod1.c, tst-tlsmod2.c, tst-tlsmod3.c, tst-tlsmod4.c, circlemod1.c, circlemod1a.c, circlemod2.c, circlemod2a.c, circlemod3.c, circlemod3a.c, and nodlopenmod2.c. * login/Makefile (distribute): Add utmp-equal.h. * iconvdata/Makefile (distribute): Add TSCII.precomposed and TSCII.irreversible. * Make-dist (dist): Create .bz2 file. Add rule to create .bz2 files. Also distribute xtests sources. 2002-10-02 Kaz Kojima <kkojima@rr.iij4u.or.jp> * elf/elf.h: Change TLS ELF relocation numbers. * elf/tls-macros.h: Fix code sequences for SH TLS_LD and TLS_GD macros. * sysdeps/sh/dl-machine.h (dl_machine_rela) [case R_SH_TLS_TPOFF32]: Use addend. * sysdeps/sh/elf/initfini.c: Move __fpscr_values to... * sysdeps/sh/elf/start.S: ...here.
2002-10-02Update.Ulrich Drepper
2002-10-02 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/pt-machine.h: Make C code ifndef'ed with __ASSEMBLER__. * sysdeps/sh/tls.h: Likewise. * sysdeps/unix/sysv/linux/sh/smp.h: New file.
2002-10-01Update.Ulrich Drepper
2002-10-01 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ, SIGSTKSZ): Changed to match kernel. * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h: New file.
2002-10-01(MINSIGSTKSZ, SIGSTKSZ): Changed to match kernel.Ulrich Drepper
2002-10-01* sysdeps/unix/sysv/linux/hppa/bits/fcntl.hRoland McGrath
[__USE_GNU] (F_SETLEASE, F_GETLEASE, F_NOTIFY): New macros. [__USE_GNU] (DN_ACCESS, DN_MODIFY, DN_CREATE, DN_DELETE, DN_RENAME, DN_ATTRIB, DN_MULTISHOT): New macros. 2002-02-08 Randolph Chung <tausq@debian.org> * sysdeps/hppa/elf/start.S: Define __data_start.
2002-10-012002-10-01 Carlos O'Donell <carlos@baldric.uwo.ca>Roland McGrath
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_GNU] (F_SETLEASE, F_GETLEASE, F_NOTIFY): New macros. [__USE_GNU] (DN_ACCESS, DN_MODIFY, DN_CREATE, DN_DELETE, DN_RENAME, DN_ATTRIB, DN_MULTISHOT): New macros.
2002-10-01Update.Ulrich Drepper
2002-10-01 Isamu Hasegawa <isamu@yamato.ibm.com> * posix/regex_internal.c (re_string_reconstruct): Reset the member LEN and STOP. * posix/regexec.c (re_search_stub): Remove incorrect condition of "range < 0". Round RANGE in case that it is too small.
2002-10-01(re_string_reconstruct): Reset the member LEN and STOP.Ulrich Drepper
2002-10-01* config.h.in (NO_HIDDEN): New #undef.Roland McGrath
* include/libc-symbols.h [! NO_HIDDEN]: Add this condition to nonempty definitions of hidden_proto et al. * configure.in: Grok --disable-hidden-plt to define NO_HIDDEN. * configure: Regenerated. * sysdeps/mach/hurd/configure.in: Always define NO_HIDDEN. * sysdeps/mach/hurd/configure: Regenerated.
2002-10-012002-10-01 Roland McGrath <roland@frob.com>Roland McGrath
* config.h.in (NO_HIDDEN): New #undef. * include/libc-symbols.h [! NO_HIDDEN]: Add this condition to nonempty definitions of hidden_proto et al. * configure.in: Grok --disable-hidden-plt to define NO_HIDDEN. * configure: Regenerated. * sysdeps/mach/hurd/configure.in: Always define NO_HIDDEN. * sysdeps/mach/hurd/configure: Regenerated.
2002-10-01Update.Ulrich Drepper
2002-09-19 David Mosberger <davidm@hpl.hp.com> * sysdeps/ia64/dl-fptr.c (make_fdesc): Load address of "local" via a 64-bit gp-relative address to enable binaries with large data sections. 2002-09-30 Ulrich Drepper <drepper@redhat.com> * stdlib/cxa_finalize.c (__cxa_finalize): Call UNREGISTER_ATFORK if it is defined. * posix/Makefile (distribute): Add fork.h. * sysdeps/generic/fork.h: New file.
2002-09-30Update.Ulrich Drepper
2002-09-29 Bruno Haible <bruno@clisp.org> * sysdeps/generic/utmp_file.c (LOCKING_FAILED): New macro. (UNLOCK_FILE): Add a label. (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file, updwtmp_file): Shut off the alarm clock when locking failed.
2002-09-30Update.Ulrich Drepper
2002-09-30 Isamu Hasegawa <isamu@yamato.ibm.com> * posix/regex_internal.h (re_match_context_t): Add a new member. (re_fail_stack_ent_t): New structure. (re_fail_stack_t): Likewise. * posix/regexec.c (re_search_internal): Use the new member of re_match_context_t. Use fail stack only if it has back references and there are plural matching candidates. (proceed_next_node): Use fail stack if it is indicated. (set_regs): Likewise. (push_fail_stack): New function. (pop_fail_stack): New function. (check_dst_limits): Likewise. (check_dst_limits_calc_pos): Likewise. (search_subexp): Check the limitations on the top of subexpressions. (sift_states_bkref): Check the limitations of the destination node. Reuse the array sctx->sifted_states. 2002-09-30 Ulrich Drepper <drepper@redhat.com> * stdio-common/printf_fp.c: Shuffle a few lines around to help the compiler optimizing. No semantical changes intended.
2002-09-30Update.Ulrich Drepper
2002-09-30* sysdeps/ia64/strncpy.S: Only segfault in .recovery2 if some bitsRoland McGrath
from the next quad are needed.
2002-09-30* elf/tls-macros.h (TLS_LD, TLS_GD): Use call insn, not callq.Roland McGrath
* sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD] [! PIC]: Use direct-%fs form of TLS access for errno. * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: File removed, since the i386 version has all the same asm now. * sysdeps/i386/elf/configure.in: Add @GOTNTPOFF and @NTPOFF uses to the TLS support check. * sysdeps/i386/elf/configure: Regenerated. * sysdeps/unix/sysv/linux/i386/sysdep.h [USE_TLS && HAVE___THREAD] (SYSCALL_ERROR_HANDLER): Use direct-%gs form of TLS access for errno. * sysdeps/unix/i386/sysdep.S (syscall_error) [USE_TLS && HAVE___THREAD]: Use TLS access for errno.
2002-09-302002-09-30 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/i386/sysdep.h [USE_TLS && HAVE___THREAD] (SYSCALL_ERROR_HANDLER): Use direct-%gs form of TLS access for errno.
2002-09-30Update.Andreas Jaeger
* stdlib/tst-bsearch.c (main): Fix format strings. * stdio-common/tst-rndseek.c (do_test): Likewise. * libio/tst_swprintf.c (main): Likewise. * catgets/tst-catgets.c (main): Likewise. * libio/tst-fgetws.c (main): Likewise. * posix/tst-mmap.c (main): Likewise. * posix/bug-regex12.c (main): Likewise. * posix/bug-regex11.c (main): Likewise. * io/tst-getcwd.c (do_test): Likewise.
2002-09-30Fix format strings.Andreas Jaeger
2002-09-30* sysdeps/unix/sysv/linux/x86_64/sysdep.hRoland McGrath
[USE_TLS && HAVE___THREAD] (SYSCALL_ERROR_HANDLER): Use TLS access.
2002-09-30* rt/tst-aio7.c (do_test): Don't read from stdin, which could be theRoland McGrath
terminal when the test is running in a background job. Instead, make a pipe and read from its read half while never writing anything to it.
2002-09-302002-09-30 Roland McGrath <roland@redhat.com>Roland McGrath
* rt/tst-aio7.c (do_test): Don't read from stdin, which could be the terminal when the test is running in a background job. Instead, make a pipe and read from its read half while never writing anything to it.
2002-09-30Update.Andreas Jaeger
2002-09-30 Andreas Jaeger <aj@suse.de> * iconvdata/tst-e2big.c (test): Use %td in printf for ptrdiff_t. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Store 4 bytes into errno, not 8 bytes.
2002-09-30(test): Use %td in printf for ptrdiff_t.Andreas Jaeger
2002-09-30Update.Ulrich Drepper
2002-09-29 Ulrich Drepper <drepper@redhat.com> * posix/regexec.c (sift_states_bkref): Remove ret variable. Use err instead. handling and don't pass in a siginfo variable. * nss/Makefile: Move bug-erange from tests to xtests.
2002-09-30(sift_states_bkref): Remove ret variable. Use err instead.Ulrich Drepper
2002-09-30* test-skeleton.c (timeout_handler): Use WUNTRACED flag in waitpid.Roland McGrath
Examine the child's status and print something different if it wasn't just killed by our SIGKILL. (main): In the child process call setpgid to put it in its own pgrp.
2002-09-302002-09-29 Roland McGrath <roland@redhat.com>Roland McGrath
* test-skeleton.c (timeout_handler): Use WUNTRACED flag in waitpid. Examine the child's status and print something different if it wasn't just killed by our SIGKILL. (main): In the child process call setpgid to put it in its own pgrp.
2002-09-29Update.Ulrich Drepper
2002-09-29 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): The return value semantics for sigtimedwait is different. Rework the return value handling and don't pass in an siginfo variable.
2002-09-29* malloc/malloc.c [! MALLOC_DEBUG] (assert): #undef before defining.Roland McGrath
* sysdeps/mach/hurd/Versions (ld: GLIBC_2.2.6): Add __errno_location.
2002-09-29* sysdeps/mach/hurd/Versions (ld: GLIBC_2.2.6): Add __errno_location.Roland McGrath
2002-09-29 Roland McGrath <roland@redhat.com>
2002-09-292002-09-29 Jakub Jelinek <jakub@redhat.com>Roland McGrath
* sysdeps/pthread/tst-timer.c (main): Clear SIGEV2.sigev_notify_attributes.
2002-09-29(__sigwait): The return value semantics for sigtimedwait is different. ↵Ulrich Drepper
Rework the return value handling and don't pass in an siginfo variable.
2002-09-29* sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]:Roland McGrath
Define errno in .tbss. * sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Use TLS access for setting errno. * sysdeps/unix/x86_64/sysdep.S: Store 32 bits at errno, not 64 bits. AFAICT, it was just blind luck that the word following errno in .bss was just alignment padding and not some other variable to be clobbered.
2002-09-292002-09-29 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Define errno in .tbss. * sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Use TLS access for setting errno.
2002-09-29Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SETRESUID_SYSCALL): On the sparc, define to 1, not empty. 2002-09-29 Jakub Jelinek <jakub@redhat.com>
2002-09-29Update.Ulrich Drepper
* nss/bug-erange.c (main): Don't fail if /etc/resolv.conf doesn't exist. 2002-09-29 Ulrich Drepper <drepper@redhat.com> * nss/Makefile: Move bug-erage from tests to xtests. 2002-09-29 Jakub Jelinek <jakub@redhat.com>
2002-09-29(DO_SET_THREAD_AREA): Don't use INLINE_SYSCALL for set_thread_area syscall.Ulrich Drepper
2002-09-29* stdlib/longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.Roland McGrath
2002-09-29 Jakub Jelinek <jakub@redhat.com>
2002-09-29* sysdeps/unix/sysv/linux/sparc/sysdep.h (inline_syscall0): Make asmRoland McGrath
volatile. (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4, inline_syscall5, inline_syscall6): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (INLINE_SYSCALL): Likewise. 2002-09-29 Roland McGrath <roland@redhat.com> * configure.in (libc_cv_ranlib_necessary check): Put the .o file in the archive, not the .c file. * configure: Regenerated.
2002-09-29* configure: Regenerated after aclocal.m4 change.Roland McGrath
* sysdeps/x86_64/sysdep.h [HAVE_ELF] (L): Define with .L##name form. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (L): Don't define it here. * sysdeps/generic/dl-lookupcfg.h [USE_TLS] (DL_LOOKUP_RETURNS_MAP): Define it, because _dl_sym presumes it (for any platform). * sysdeps/x86_64/dl-tls.h: New file. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add a cast. * sysdeps/x86_64/elf/configure.in: New file. * sysdeps/x86_64/elf/configure: New generated file.
2002-09-29* elf/rtld.c (_dl_start): Fix conditional for declaring CNT.Roland McGrath
* aclocal.m4 (LIBC_PROG_BINUTILS): Don't clobber $RANLIB with ranlib before we check it.