aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-10-022002-10-02 Roland McGrath <roland@redhat.com>Roland McGrath4-11/+36
* 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 Drepper5-5/+41
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 Drepper13-36/+62
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 Drepper2-0/+61
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 Drepper1-3/+3
2002-10-01* sysdeps/unix/sysv/linux/hppa/bits/fcntl.hRoland McGrath2-0/+18
[__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 McGrath1-0/+17
* 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 Drepper2-1/+11
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 Drepper1-0/+2
2002-10-01* config.h.in (NO_HIDDEN): New #undef.Roland McGrath1-0/+10
* 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 McGrath6-135/+171
* 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 Drepper5-4/+31
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 Drepper2-10/+31
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 Drepper4-68/+358
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 Drepper1-18/+4
2002-09-30* sysdeps/ia64/strncpy.S: Only segfault in .recovery2 if some bitsRoland McGrath2-2/+10
from the next quad are needed.
2002-09-30* elf/tls-macros.h (TLS_LD, TLS_GD): Use call insn, not callq.Roland McGrath7-106/+44
* 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 McGrath1-4/+3
* 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 Jaeger1-0/+10
* 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 Jaeger9-16/+16
2002-09-30* sysdeps/unix/sysv/linux/x86_64/sysdep.hRoland McGrath2-7/+15
[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 McGrath1-0/+6
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 McGrath1-3/+10
* 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 Jaeger2-3/+10
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 Jaeger1-2/+2
2002-09-30Update.Ulrich Drepper1-2/+7
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 Drepper1-2/+2
2002-09-30* test-skeleton.c (timeout_handler): Use WUNTRACED flag in waitpid.Roland McGrath1-0/+7
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 McGrath1-2/+17
* 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 Drepper1-0/+6
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 McGrath3-2/+8
* 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 McGrath2-0/+8
2002-09-29 Roland McGrath <roland@redhat.com>
2002-09-292002-09-29 Jakub Jelinek <jakub@redhat.com>Roland McGrath1-0/+1
* sysdeps/pthread/tst-timer.c (main): Clear SIGEV2.sigev_notify_attributes.
2002-09-29(__sigwait): The return value semantics for sigtimedwait is different. ↵Ulrich Drepper1-4/+9
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 McGrath2-6/+21
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 McGrath1-1/+11
* 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 Drepper2-3/+8
* 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 Drepper4-2/+25
* 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 Drepper1-11/+31
2002-09-29* stdlib/longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.Roland McGrath2-1/+5
2002-09-29 Jakub Jelinek <jakub@redhat.com>
2002-09-29* sysdeps/unix/sysv/linux/sparc/sysdep.h (inline_syscall0): Make asmRoland McGrath6-84/+80
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 McGrath9-109/+269
* 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 McGrath2-1/+8
* aclocal.m4 (LIBC_PROG_BINUTILS): Don't clobber $RANLIB with ranlib before we check it.
2002-09-292002-09-28 Roland McGrath <roland@redhat.com>Roland McGrath1-2/+4
* aclocal.m4 (LIBC_PROG_BINUTILS): Don't clobber $RANLIB with ranlib before we check it.
2002-09-29Update.Ulrich Drepper2-1/+6
2002-09-28Update.Ulrich Drepper1-1/+6
2002-09-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __syscall_exit entry point. * sysdeps/unix/nice.c (nice): Use getpriority() for the return value.
2002-09-28Add __syscall_exit entry point.Ulrich Drepper1-0/+1
2002-09-28* pthread.c (__pthread_reset_main_thread) [FLOATING_STACKS]:Roland McGrath2-6/+18
Don't call setrlimit, since we did no prior bogon we need to undo.
2002-09-28* posix/bug-regex11.c (tests): Add flags field.Roland McGrath1-0/+8
(main): Avoid warnings. Use test[i].flags. Return nonzero if any of the tests failed. * posix/bug-regex12.c: New file. * posix/Makefile (tests): Add bug-regex12.
2002-09-282002-09-28 Jakub Jelinek <jakub@redhat.com>Roland McGrath3-8/+81
* posix/bug-regex11.c (tests): Add flags field. (main): Avoid warnings. Use test[i].flags. Return nonzero if any of the tests failed. * posix/bug-regex12.c: New file. * posix/Makefile (tests): Add bug-regex12.