about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* 2002-10-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>Roland McGrath2002-10-111-31/+46
| | | | | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL): Add all necessary register outputs for syscall-clobbered registers.
* Avoid unnecessary sigprocmask calls.Ulrich Drepper2002-10-111-4/+8
|
* Restore correct registers.Andreas Jaeger2002-10-101-6/+6
|
* Update.Ulrich Drepper2002-10-102-2/+3
| | | | | | | | * sysdeps/generic/ldsodefs.h: Remove attribute_hidden from _dl_allocate_tls_init. Add rtld_hidden_proto. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add rtld_hidden_def. * elf/Versions (ld) [GLIBC_PRIVATE]: Add _dl_allocate_tls_init.
* Update.Ulrich Drepper2002-10-091-1/+1
| | | | | | * sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)] (__libc_tsd_address): Use correct variable name. Patch by sStefan Jones <tefan.jones@multigig.com>.
* Update.Ulrich Drepper2002-10-091-1/+1
| | | | | * sysdeps/unix/sysv/linux/ia64/getcontext.S: Add missing ;;. Reported by edwardsg@sgi.com [PR libc/4678].
* Update.Ulrich Drepper2002-10-0918-41/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-09 Ulrich Drepper <drepper@redhat.com> * Versions.def (libc): Add GLIBC_2.3.1. (libpthread): Add GLIBC_2.3.1. * include/signal.h: Add libc_hidden_proto for __sigwait, __sigwaitinfo, and __sigtimedwait. * signal/Versions: Add __sigtimedwait, __sigwait, and __sigwaitinfo. * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Add libc_hidden_def. * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise. * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise. * include/sys/msg.h: Declare __libc_msgrcv and __libc_msgsnd. * sysdeps/unix/sysv/linux/msgrcv.c (__msgrcv): Rename to __libc_msgrcv and make old name an alias. * sysdeps/unix/sysv/linux/msgsnd.c (__msgsnd): Rename to __libc_msgsnd and make old name an alias. * sysvipc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_msgrcv and __libc_msgsnd. * include/sys/uio.h: Declare __libc_readv and __libc_writev. * misc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_readv and __libc_writev. * sysdeps/generic/readv.c (__readv): Rename to __libc_readv and make old name an alias. * sysdeps/posix/readv.c: Likewise * sysdeps/unix/sysv/aix/readv.c: Likewise. * sysdeps/unix/sysv/linux/readv.c: Likewise. * sysdeps/generic/writev.c (__writev): Rename to __libc_writev and make old name an alias. * sysdeps/posix/writev.c: Likewise * sysdeps/unix/sysv/aix/writev.c: Likewise. * sysdeps/unix/sysv/linux/writev.c: Likewise. * include/sys/wait.h: Declare __waitid. * posix/Versions (libc) [GLIBC_PRIVATE]: Add __waitid. * sysdeps/generic/waitid.c (waitid): Rename to __waitid and make old name an alias. * sysdeps/posix/waitid.c: Likewise. * sysdeps/unix/sysv/aix/waitid.c: Likewise. * sysdeps/unix/sysv/linux/syscalls.list: Add creat syscall. 2002-10-07 Jakub Jelinek <jakub@redhat.com> * include/alloca.h (__libc_use_alloca, __libc_alloca_cutoff): New prototypes. (__MAX_ALLOCA_CUTOFF): Define. Include allocalim.h. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r, _nss_dns_gethostbyaddr_r): Use alloca or malloc to allocate host_buffer depending on __libc_use_alloca. * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r, _nss_dns_getnetbyaddr_r): Use alloca or malloc to allocate net_buffer depending on __libc_use_alloca. * resolv/res_query.c (res_nquery): Use alloca or malloc to allocate buf depending on __libc_use_alloca. * resolv/gethnamaddr.c (gethostbyname2, gethostbyaddr): Likewise. * stdio-common/vfprintf.c (vfprintf): Use __libc_use_alloca instead of hardcoded constants. Pass proper size argument to alloca and compute end for wide char version. * stdio-common/printf_fp.c (__printf_fp): Use __libc_use_alloca instead of hardcoded constants. * string/strcoll.c (strcoll): Likewise. * string/strxfrm.c (strxfrm): Likewise. * sysdeps/posix/readv.c (__readv): Likewise. * sysdeps/posix/writev.c (__writev): Likewise. * sysdeps/generic/allocalim.h: New file.
* Update.Ulrich Drepper2002-10-051-1/+1
| | | | | | | | | | | | 2002-10-05 Kaz Kojima <kkojima@rr.iij4u.or.jp> * elf/tls-macros.h: Fix SH version of macros so as to match ABI syntax. 2002-10-03 Ulrich Drepper <drepper@redhat.com> * version.h (RELEASE): Change to stable. See ChangeLog.13 for earlier changes.
* Update.Ulrich Drepper2002-10-031-0/+3
| | | | | | | 2002-10-03 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/_exit.c (__syscall_exit, __syscall_exit_group): New prototypes.
* Update.Ulrich Drepper2002-10-031-0/+1
| | | | * glibc 2.3 released.
* Update. glibc-2.3 cvs/glibc-2-3Ulrich Drepper2002-10-032-72/+85
| | | | | | | | | | | | | | 2002-10-03 Richard Henderson <rth@redhat.com> * sysdeps/alpha/stxncpy.S: Don't access memory beyond the source buffer. * sysdeps/alpha/alphaev6/stxncpy.S: Likewise. 2002-10-02 Andreas Jaeger <aj@suse.de> Guido Guenther <agx@sigxcpu.org> * sysdeps/mips/fpu/fraiseexcpt.c: Add internal definition. * sysdeps/mips/fpu/fesetenv.c: Likewise.
* Update.Ulrich Drepper2002-10-037-429/+6
| | | | | | | | | | | | | 2002-10-03 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/net/route.h: Include bits/wordsize.h. (struct rtentry): Make rt_pad4 6 bytes long if __WORDSIZE == 64. * sysdeps/unix/sysv/linux/alpha/Dist: Remove net/route.h. * sysdeps/unix/sysv/linux/alpha/net/route.h: Remove. * sysdeps/unix/sysv/linux/ia64/Dist: Remove net/route.h. * sysdeps/unix/sysv/linux/ia64/net/route.h: Remove. * sysdeps/unix/sysv/linux/s390/Dist: Remove net/route.h. * sysdeps/unix/sysv/linux/s390/net/route.h: Remove.
* Update.Ulrich Drepper2002-10-033-0/+3
| | | | | | * sysdeps/unix/sysv/linux/x86_64/Dist: Add bits/utmpx.h. * sysdeps/unix/sysv/linux/sparc/Dist: Likewise. * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
* Update.Ulrich Drepper2002-10-038-345/+345
| | | | | | | | | | 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.
* Update.Ulrich Drepper2002-10-0212-0/+702
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Temporarily enable R_*_NONE relocs in ld.so.Ulrich Drepper2002-10-022-9/+7
|
* * sysdeps/mips/fpu/fraiseexcpt.c: Add internal definition. Andreas Jaeger2002-10-022-0/+4
| | | | * sysdeps/mips/fpu/fesetenv.c: Likewise.
* * README.template: Minimum Linux kernel for powerpc64 is 2.4.19.Roland McGrath2002-10-021-5/+5
| | | | | | * 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.
* * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__WORDSIZE != 32]:Roland McGrath2002-10-027-20/+120
| | | | | | | | | | | | | | | | | | | | | | | | | (_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-02 Roland McGrath <roland@redhat.com>Roland McGrath2002-10-024-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.
* Update.Ulrich Drepper2002-10-025-15/+11
| | | | | | | | 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.
* Update.Ulrich Drepper2002-10-011-0/+55
| | | | | | | | 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.
* (MINSIGSTKSZ, SIGSTKSZ): Changed to match kernel.Ulrich Drepper2002-10-011-3/+3
|
* * sysdeps/unix/sysv/linux/hppa/bits/fcntl.hRoland McGrath2002-10-011-0/+7
| | | | | | | | | | [__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-01 Carlos O'Donell <carlos@baldric.uwo.ca>Roland McGrath2002-10-011-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-01 Roland McGrath <roland@frob.com>Roland McGrath2002-10-012-5/+13
| | | | | | | | | | * 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.
* Update.Ulrich Drepper2002-10-012-2/+10
| | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2002-09-301-10/+24
| | | | | | | | | 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.
* * sysdeps/ia64/strncpy.S: Only segfault in .recovery2 if some bitsRoland McGrath2002-09-301-2/+5
| | | | from the next quad are needed.
* * elf/tls-macros.h (TLS_LD, TLS_GD): Use call insn, not callq.Roland McGrath2002-09-305-104/+24
| | | | | | | | | | | | | | | | | | * 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-30 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-301-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.
* * sysdeps/unix/sysv/linux/x86_64/sysdep.hRoland McGrath2002-09-301-7/+12
| | | | [USE_TLS && HAVE___THREAD] (SYSCALL_ERROR_HANDLER): Use TLS access.
* Update.Andreas Jaeger2002-09-301-3/+3
| | | | | | | | | 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.
* * sysdeps/mach/hurd/Versions (ld: GLIBC_2.2.6): Add __errno_location.Roland McGrath2002-09-291-0/+4
| | | | 2002-09-29 Roland McGrath <roland@redhat.com>
* (__sigwait): The return value semantics for sigtimedwait is different. ↵Ulrich Drepper2002-09-291-4/+9
| | | | Rework the return value handling and don't pass in an siginfo variable.
* * sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]:Roland McGrath2002-09-291-6/+10
| | | | | | | | | | 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-29 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-291-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.
* Update.Ulrich Drepper2002-09-291-3/+3
| | | | | | | * 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>
* * sysdeps/unix/sysv/linux/sparc/sysdep.h (inline_syscall0): Make asmRoland McGrath2002-09-293-47/+51
| | | | | | | | | | | | | | | | 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.
* * configure: Regenerated after aclocal.m4 change.Roland McGrath2002-09-297-9/+125
| | | | | | | | | | | | | | | * 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.
* Add __syscall_exit entry point.Ulrich Drepper2002-09-281-0/+1
|
* * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Use INTUSE forRoland McGrath2002-09-284-7/+10
| | | | | | | | | _dl_signal_error. * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Likewise. * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow): Likewise. * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_rela): Likewise.
* (nice): Use getpriority() for the return value.Ulrich Drepper2002-09-284-16/+3
|
* Fix number of args to syscall.Andreas Jaeger2002-09-282-4/+4
|
* Update.Ulrich Drepper2002-09-281-2/+46
| | | | | | | 2002-09-27 Ulrich Drepper <drepper@redhat.com> * locales/zh_TW: Use shorter forms for abday and day. Patch by Rex Tsai <chihchun@kalug.linux.org.tw>.
* * sysdeps/unix/sysv/linux/x86_64/sysdep.hRoland McGrath2002-09-281-4/+8
| | | | | | | | | (__NR_pread, __NR_pwrite): Define these to __NR_pread64, __NR_pwrite64 if not defined. * sysdeps/unix/sysv/linux/powerpc/lchown.S [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Use this condition on chown compatibility symbol; use compat_symbol, not symbol_version.
* 2002-09-27 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-281-0/+10
| | | | | | * sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_pread, __NR_pwrite): Define these to __NR_pread64, __NR_pwrite64 if not defined.
* SysV shared memory definitions for Linux/PA.Ulrich Drepper2002-09-284-0/+342
|
* 2002-09-27 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-282-0/+0
| | | | * sysdeps/x86_64/tls.h [__ASSEMBLER__]: Don't include <pt-machine.h>.
* * sysdeps/powerpc/powerpc32/Makefile: Fix typo in comment.Roland McGrath2002-09-271-1/+1
|