aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-06-132002-06-13 Roland McGrath <roland@frob.com>Roland McGrath
* hurd/hurdstartup.h (_hurd_startup): int -> intptr_t in MAIN arg type. * hurd/hurdstartup.c (_hurd_startup): Likewise. Use intptr_t instead of int for argc in stack layout. * sysdeps/mach/hurd/alpha/init-first.c (init): Fix argument type. (_dl_init_first): Likewise. (_hurd_stack_setup): Likewise. (init1): Add a cast.
2002-06-13* sysdeps/m68k/fpu/s_isinf.c (INTDEFX): Define to get correctAndreas Schwab
expansion order.
2002-06-13(INTDEFX): Define to get correct expansion order.Andreas Schwab
2002-06-12Update.Ulrich Drepper
2002-06-12Function to get address of thread local variable.Ulrich Drepper
2002-06-12* sysdeps/generic/tmpfile.c [USE_IN_LIBIO] (tmpfile): Don't #defineRoland McGrath
if already defined. [USE_IN_LIBIO]: Conditionalize versioned_symbol use on [GEN_THIS == __GT_FILE] so that tmpfile64.c's inclusion doesn't get it.
2002-06-11* sysdeps/mach/hurd/xstat64.c: Conditionalize entire contents of theRoland McGrath
file on [!RTLD_STAT64]. * sysdeps/mach/hurd/fxstat64.c: Likewise. * sysdeps/mach/hurd/tmpfile.c (tmpfile64): Define as alias of tmpfile. (__fdopen): Use INTUSE. * sysdeps/mach/hurd/tmpfile64.c: New file, empty placeholder. * stdio-common/tmpfile64.c: File removed. * sysdeps/generic/tmpfile64.c: New file. * sysdeps/generic/tmpfile.c (GEN_THIS): New macro, define to __GT_FILE if not already defined. (tmpfile): Use it in place of __GT_FILE. * include/unistd.h: Declare __chown_internal. * sysdeps/mach/hurd/sendfile64.c (sendfile64): Do real work here. * sysdeps/mach/hurd/sendfile.c (sendfile): Call that. 2002-06-09 Roland McGrath <roland@frob.com> Update to new Hurd RPC interfaces supporting 64-bit file sizes. * sysdeps/mach/hurd/configure.in: Check for <hurd/version.h> with value of HURD_INTERFACE_VERSION >= 20020609. * sysdeps/mach/hurd/configure: Regenerated. * shlib-versions (.*-.*-gnu-gnu.*): Set libhurduser=0.3. * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Rewritten to convert a struct stat64 into a struct stat and return 0 or -1 with errno set to EOVERFLOW. * sysdeps/mach/hurd/statfsconv.c (statfs64_conv): Likewise for struct statfs64 to struct statfs. * sysdeps/mach/hurd/xstat.c (__xstat): Use converter and call ... * sysdeps/mach/hurd/xstat64.c (__xstat64): ... this, real work here. * sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise. * sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise. * sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise. * sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise. * sysdeps/mach/hurd/statfs.c (__statfs): Likewise. * sysdeps/mach/hurd/statfs64.c (__statfs64): Likewise. * sysdeps/mach/hurd/fstatfs.c (__fstatfs): Likewise. * sysdeps/mach/hurd/fstatfs64.c (__fstatfs64): Likewise. * sysdeps/mach/hurd/pwrite64.c (__libc_pwrite64): Do real work here. * sysdeps/mach/hurd/pwrite.c (__libc_pwrite): Call that. * sysdeps/mach/hurd/pread64.c (__libc_pread64): Do real work here. * sysdeps/mach/hurd/pread.c (__libc_pread): Call that. * sysdeps/mach/hurd/lseek64.c (__libc_lseek64): Do real work here. * sysdeps/mach/hurd/lseek.c (__libc_lseek): Call that. * sysdeps/mach/hurd/readdir64.c (__readdir64): Do real work here. * sysdeps/mach/hurd/readdir.c (__readdir): Call that. * sysdeps/mach/hurd/readdir64_r.c (__readdir64_r): Do real work here. * sysdeps/mach/hurd/readdir_r.c (__readdir64_r): Call that. * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use struct stat64 for io_stat argument. * sysdeps/mach/hurd/readlink.c (__readlink): Likewise. * hurd/fopenport.c (seekio): Remove EOVERFLOW check, pass POS directly to io_seek. * hurd/fd-read.c (_hurd_fd_read): Use loff_t for OFFSET argument. * hurd/fd-write.c (_hurd_fd_write): Likewise. * hurd/hurd/fd.h: Update decls. * sysdeps/mach/hurd/getcwd.c (_hurd_canonicalize_directory_name_internal): Use ino64_t and struct dirent64. * sysdeps/mach/hurd/dl-sysdep.c (open_file): Use struct stat64. (__xstat): Renamed to __xstat64, use struct stat64 for argument. (__fxstat): Renamed to __fxstat64, use struct stat64 for argument. (__lseek): Renamed to __libc_lseek64, use off64_t for argument. 2002-06-08 Roland McGrath <roland@frob.com> * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Use size_t instead of unsigned long int for __allocation and __size members. 2002-05-19 Ulrich Drepper <drepper@redhat.com>
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/mach/hurd/dirstream.h (struct __dirstream): Use size_t instead of unsigned long int for __allocation and __size members.
2002-06-09Update.Andreas Jaeger
2002-06-09 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/i386/dl-brk.c: Move... * sysdeps/unix/sysv/linux/dl-brk.c: ...here. * sysdeps/unix/sysv/linux/i386/dl-sbrk.c: Move... * sysdeps/unix/sysv/linux/dl-sbrk.c: ...here.
2002-06-07Update.Andreas Jaeger
2002-06-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/ia64/pt-machine.h (MEMORY_BARRIER): Fix typo.
2002-06-07 (MEMORY_BARRIER): Fix typo.Andreas Jaeger
2002-06-07* sysdeps/mach/hurd/bits/environments.h: File removed.Roland McGrath
2002-06-072002-06-07 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/mach/hurd/bits/environments.h: File removed.
2002-06-07(__fxstat64, __lxstat64): Only define if not already defined.Andreas Jaeger
2002-06-07Update.Andreas Jaeger
2002-06-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/alpha/sendfile64.c: New. * sysdeps/unix/sysv/linux/ia64/sendfile64.c: New. * sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: New. * sysdeps/unix/sysv/linux/x86_64/sendfile64.c: New. * sysdeps/unix/sysv/linux/syscalls.list (sendfile): Remove EXTRA. (sendfile64): Likewise. * sysdeps/unix/sysv/linux/alpha/syscalls.list (sendfile): Likewise. * sysdeps/unix/sysv/linux/ia64/syscalls.list (sendfile): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (sendfile): Likewise. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Likewise. * include/sys/stat.h (__fxstat64, __lxstat64): Only define if not already defined.
2002-06-06Update.Andreas Jaeger
2002-06-04 Bruno Haible <bruno@clisp.org> * sysdeps/cris/stackinfo.h: New file. * sysdeps/hppa/dl-machine.h (elf_machine_rela): Cast reloc_addr to an integer type before performing bit operations on it.
2002-06-06Cris stack information.Andreas Jaeger
2002-06-05* sysdeps/generic/sendfile.c: Include <errno.h>.Roland McGrath
* sysdeps/generic/sendfile64.c: Likewise.
2002-06-05* io/Makefile (routines): Add sendfile and sendfile64.Roland McGrath
(headers): Add sys/sendfile.h to the list. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it here. * sysdeps/unix/sysv/linux/sys/sendfile.h: Moved to ... * io/sys/sendfile.h: ... here. * sysdeps/generic/sendfile.c: New file. * sysdeps/generic/sendfile64.c: New file. * sysdeps/unix/sysv/linux/Versions (GLIBC_2.1, GLIBC_2.3): Move sendfile, sendfile64 to ... * io/Versions (GLIBC_2.1, GLIBC_2.3): ... here. * sysdeps/mach/hurd/sendfile.c: New file. * sysdeps/mach/hurd/sendfile64.c: New file. * sysdeps/mach/nanosleep.c: New file.
2002-06-04* sysdeps/alpha/elf/configure.in: New file. Check for TLS support.Roland McGrath
* sysdeps/alpha/elf/configure: New file (generated).
2002-06-04* include/link.h: Include <tls.h> to make sure USE_TLS is defined.Roland McGrath
2002-06-01 Roland McGrath <roland@frob.com> * sysdeps/mach/hurd/alpha/init-first.c: New file, modified from i386/init-first.c by Andrew M. Miklic <miklic@attglobal.net>.
2002-06-042002-06-02 Roland McGrath <roland@frob.com>Roland McGrath
* include/link.h: Include <tls.h> to make sure USE_TLS is defined.
2002-05-31Update.Ulrich Drepper
2002-05-21 Jakub Jelinek <jakub@redhat.com> * resolv/resolv.h (struct __res_state): Remove unused nstimes. Add nsmap. * resolv/res_init.c (__res_vinit): Initialize nsmap array. Remove nstimes setting. (res_nclose): Check all MAXNS nameservers with non-NULL nsaddrs. * resolv/res_send.c (res_nsend): Don't close unconditionally if there is mix of IPv6 and IPv4 nameservers. Use nsmap array to find free slots and preserve nameserver ordering. Fix RES_ROTATE.
2002-05-31Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/sys/sendfile.h: It is now possible to use this header with LFS.
2002-05-31Update.Ulrich Drepper
* po/sk.po: Update from translation team. 2002-05-28 Andreas Schwab <schwab@suse.de> * sysdeps/generic/readelflib.c (process_elf_file): Give correct message when finding object of wrong class. 2002-05-28 Jakub Jelinek <jakub@redhat.com> * sysdeps/wordsize-32/divdi3.c (__moddi3): Fix pasto. Patch by <radu@netsoft.ro>. 2002-05-30 Ulrich Drepper <drepper@redhat.com>
2002-05-30Update.Ulrich Drepper
2002-05-30 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] (sysdep_routines): Add readahead. * sysdeps/unix/sysv/linux/readahead.c: New file. * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile64 syscall. * sysdeps/unix/sysv/linux/Versions: Export readahead and sendfile64. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add readahead syscall. Add sendfile64 alias to sendfile syscall. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_readahead syscall. * sysdeps/unix/sysv/linux/i386/sysdep.h: Use __i686.get_pc_thunk.XX special section for PIC register loading. * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise. * config.h.in: Define HAVE_HIDDEN. * configure.in: Also define HAVE_HIDDEN if HAVE_PROTECTED is defined. * elf/elf.h: Correct Alpha TLS relocations according to last spec.
2002-05-30Define HAVE_HIDDEN.Ulrich Drepper
2002-05-29* sysdeps/mach/alpha/setfpucw.c: New file.Roland McGrath
2002-05-26 Roland McGrath <roland@frob.com> * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't use sizeof in _IOTS. Use integer_t instead of int for IOC_VOID case.
2002-05-292002-05-28 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/mach/alpha/setfpucw.c: New file.
2002-05-28Update.Ulrich Drepper
2002-05-27 Alexandre Oliva <aoliva@redhat.com> * configure.in (DO_STATIC_NSS): Define if --disable-shared. 2002-05-26 Bruno Haible <bruno@clisp.org> * iconvdata/iso-2022-jp.c (BODY for TO_LOOP): Avoid running off the end of the ISO-8859-7 from idx table. 2002-05-27 Ulrich Drepper <drepper@redhat.com> * manual/lang.texi: Fix FLT_EPSILON description [PR libc/3649]. 2002-05-24 David S. Miller <davem@redhat.com> * string/bits/string2.h (memset): Do not try to optimize when not _STRING_ARCH_unaligned if GCC will do the right thing.
2002-05-24Update.Ulrich Drepper
2002-05-21 Isamu Hasegawa <isamu@yamato.ibm.com> * posix/regex.c: Define `inline' as a macro into nothing for the compilers which lack the keyword. * posix/regex.h: (RE_SYNTAX_GNU_AWK): Remove RE_CONTEXT_INVALID_OPS for the compatibility of gawk. * posix/regcomp.c: Add fake implementation of isblank() for the environments which lack the function. Don't use free_charset() in case of non-i18n envs. (build_range_exp): Don't use i18n related code in case of non-i18n envs. (build_collating_symbol): Likewise. (build_equiv_class): Likewise. (build_charclass): Likewise. (re_compile_fastmap_iter): Likewise. (parse_bracket_exp): Likewise. (build_word_op): Likewise. (regfree): Don't use free_charset() in case of non-i18n envs. * posix/regex_internal.h: Remove COMPLEX_BRACKET from re_token_type_t in case of non-i18n envs. Don't define re_charset_t in case of non-i18n envs. Change the type of wcs of re_string_t from wchar_t to wint_t, since we store also WEOF. * posix/regex_internal.c: (re_string_realloc_buffers): Change the type of wcs of re_string_t from wchar_t to wint_t. (re_string_reconstruct): Likewise. (create_ci_newstate): Don't use i18n related code in case of non-i18n envs. (create_cd_newstate): Likewise. 2002-05-24 Ulrich Drepper <drepper@redhat.com> * iconv/loop.c: Fix typo. 2002-05-23 Jakub Jelinek <jakub@redhat.com> * inet/ether_line.c (ether_line): Fix a typo causing only lower 4 bits of each ethernet address byte being assigned. Don't modify what line points to. * inet/tst-ether_aton.c (main): Add ether_line tests. 2002-05-23 Marcus Brinkmann <marcus@gnu.org> * manual/filesys.texi: Don't make readlink example leak memory when readlink fails.
2002-05-21Update.Ulrich Drepper
2002-05-21 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/pthread.h (pthread_create): Rename first parameter. (pthread_cancel): Likewise. * internals.h (__pthread_create_2_1): Likewise. * sysdeps/unix/sysv/linux/bits/sigthread.h (pthread_kill): Likewise.
2002-05-21Update.Ulrich Drepper
2002-05-20 Ulrich Drepper <drepper@redhat.com> * iconv/loop.c: Fix condition for defining unaligned loop. Add some more security checks.
2002-05-21Update.Ulrich Drepper
2002-05-17 David S. Miller <davem@redhat.com> * sysdeps/unix/sysv/linux/sparc/fork.S: Define _internal aliases. 2002-05-16 David S. Miller <davem@redhat.com> * sysdeps/sparc/sparc32/dl-machine.h (LOAD_PIC_REG): Define. (elf_machine_dynamic): Use it to force PIC register to be loaded. (elf_machine_load_address): Likewise. * sysdeps/sparc/sparc64/dl-machine.h: Mirror sparc32 changes. * sysdeps/sparc/sparc64/strncmp.S: When second argument pointer is unaligned, do not forget to fully initialize %g1 magic value. * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Fix 64-bit elf register definitions and provide 32-bit variants of structures during 64-bit builds. * soft-fp/op-1.h (_FP_FRAC_CLEAR_OVERP_1): Define. * soft-fp/op-2.h (_FP_FRAC_CLEAR_OVERP_2): Define. * soft-fp/op-4.h (_FP_FRAC_CLEAR_OVERP_4): Define. * soft-fp/op-common.h (_FP_PACK_CANONICAL): After rounding, if _FP_FRAC_OVERP_X is set, use _FP_FRAC_CLEAR_OVERP_X to clear it. (_FP_FROM_INT): Perform right shifts on unsigned integer type. Do not clear implicit one bit here, it must be done post-rounding. Only pad to the left using left shift if value uses less than the available fractional bits.
2002-05-21Update.Ulrich Drepper
2002-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/powerpc/Makefile (sysdeps_routines): Use libgcc-compat instead of cmpdi2, shdi3, fixdfdi, fixsfdi in csu dir. (shared-only-routines): Likewise. * sysdeps/powerpc/libgcc-compat.c: New file. * sysdeps/wordsize-32/cmpdi2.c: Removed. * sysdeps/wordsize-32/fixdfdi.c: Removed. * sysdeps/wordsize-32/fixsfdi.c: Removed. * sysdeps/wordsize-32/shdi3.c: Removed.
2002-05-20Update.Ulrich Drepper
2002-05-16 Bruno Haible <bruno@clisp.org> * MakeTAGS (libc.pot): Don't sort the output. * po/header.pot: Update to match xgettext 0.11 output. 2002-05-16 Bruno Haible <bruno@clisp.org> * MakeTAGS (subdirs): Remove duplicates.
2002-05-20Update.Ulrich Drepper
2002-05-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/errlist.c: Remove extra weak alias definiton of _old_sys_nerr. Define _old_sys_errlist as strong alias.
2002-05-20Remove extra weak alias definiton of _old_sys_nerr. Define _old_sys_errlist ↵Ulrich Drepper
as strong alias.
2002-05-19Regenerated.Andreas Jaeger
2002-05-19Warn against installing into /usr/localAndreas Jaeger
2002-05-19 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/configure.in: Warn against an installation in /usr/local.
2002-05-19Update.Andreas Jaeger
2002-05-16 Bruno Haible <bruno@clisp.org> * sysdeps/unix/sysv/aix/bits/ioctl-types.h: Don't use multiline string as argument of #error.
2002-05-19Don't use multiline string as argument of #error.Andreas Jaeger
2002-05-16(Symbolic Links): Adjust description of realpath to new implementation.Ulrich Drepper
2002-05-16Update.Ulrich Drepper
* stdlib/canonicalize.c (canonicalize): Rename to __realpath and don't define static. Remove old __realpath function. TC1 of POSIX 2001 will allow the second parameter to be NULL. * stdlib/test-canon.c: Comment out test for NULL as second parameter of realpath. * time/offtime.c (__offtime): Set errno if overflow is detected.
2002-05-16Update.Ulrich Drepper
2002-05-15 Ulrich Drepper <drepper@redhat.com> * elf/Makefile (rtld-routines): Remove dl-brk and dl-sbrk. * sysdeps/unix/sysv/linux/Makefile (sysdep-rtld-routines): Add dl-brk and dl-sbrk. * sysdeps/sparc/fpu/bits/mathinline.h (fdim): Add __THROW. (fdimf): Likewise.
2002-05-16(sysdep-rtld-routines): Add dl-brk and dl-sbrk.Ulrich Drepper
2002-05-16* hurd/report-wait.c (_S_msg_report_wait): Use mach_msg_id_t for arg.Roland McGrath
2002-05-162002-05-15 Roland McGrath <roland@frob.com>Roland McGrath
* hurd/report-wait.c (_S_msg_report_wait): Use mach_msg_id_t for arg.
2002-05-16Add __THROW to the declarations, too.Ulrich Drepper
2002-05-15Update.Ulrich Drepper
2002-05-15 Ulrich Drepper <drepper@redhat.com> * locales/be_BY: Fix int_curr_symbol. Patch by Alexander Mikhailian <lowry@altern.org> [PR libc/3565].