about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * locale/programs/ld-ctype.c (ctype_read): When given a repertoireRoland McGrath2002-08-2660-164/+403
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | name of "", store a null pointer instead. * configure.in (elf): Set to yes for freebsd*, netbsd*. * configure: Regenerated. * locale/xlocale.c [! (USE_TLS && HAVE___THREAD)] (__libc_tsd_LOCALE): Initialize this instead of __libc_tsd_LOCALE_data. * sysdeps/unix/grantpt.c (pts_name): Convert ENOTTY return from ptsname_r to EINVAL. * sysdeps/generic/ptsname.c (__ptsname_r): Return ENOSYS instead of 0. * rt/Makefile: Revert last change, it was inappropriate to presume aio implementations depend on pthreads. * rt/tst-aio.c (do_test): Exit happy if first failure is ENOSYS. * rt/tst-aio64.c (do_test): Likewise. * rt/tst-aio2.c (do_test): Likewise. * rt/tst-aio3.c (do_test): Likewise. * rt/tst-aio4.c (do_test): Likewise. * rt/tst-aio5.c (do_test): Likewise. * rt/tst-aio6.c (do_test): Likewise. * rt/tst-aio7.c (do_test): Likewise. * sysdeps/generic/bits/libc-lock.h (__libc_setspecific): Use a cast to void so as to avoid compiler warnings. * libio/oldstdfiles.c [! _IO_MTSAFE_IO] (DEF_STDFILE): Don't define _IO_wide_data_FD, which is never used here. * libio/iofread.c [! _IO_MTSAFE_IO] (fread_unlocked): Add libc_hidden_ver defn. * libio/iofputs.c [! _IO_MTSAFE_IO] (fputs_unlocked): Likewise. * libio/iofgets.c [! _IO_MTSAFE_IO] (fgets_unlocked): Likewise. * include/resolv.h [! _LIBC_REENTRANT] (_res): #undef it before decl. * include/netdb.h [! _LIBC_REENTRANT] (h_errno): Declare normal extern. * misc/syslog.c (openlog): Conditionalize locking on [_LIBC_REENTRANT]. (closelog): Likewise. 2002-07-06 Bruno Haible <bruno@clisp.org> * sysdeps/alpha/fpu/fpu_control.h: Comment fix. * sysdeps/unix/sysv/linux/alpha/pipe.S: Moved to ... * sysdeps/unix/alpha/pipe.S: ... here. * sysdeps/unix/bsd/osf/alpha/pipe.S: File removed. * sysdeps/unix/i386/brk.S: Rename local label to '.Lhere' in ELF. * sysdeps/unix/i386/brk.S: Add PSEUDO_END invocation. * sysdeps/unix/i386/fork.S: Likewise. * sysdeps/unix/i386/pipe.S: Likewise. * sysdeps/unix/i386/wait.S: Likewise. * sysdeps/unix/fork.S: Fix PSEUDO_END argument. * sysdeps/unix/arm/fork.S: Likewise. * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Swap DO_CALL arguments. (DO_CALL): Swap argument order. * sysdeps/unix/sysv/linux/hppa/sysdep.h (PSEUDO): Swap DO_CALL arguments. (DO_CALL): Swap argument order. * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Swap DO_CALL arguments. (DO_CALL): Swap argument order. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO): Swap DO_CALL arguments. (DO_CALL): Swap argument order. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PSEUDO): Swap DO_CALL arguments. (DO_CALL): Swap argument order. * sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Swap DO_CALL arguments. (DO_CALL): Swap argument order. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Swap DO_CALL arguments. (DO_CALL): Swap argument order. * sysdeps/i386/sysdep.h (PSEUDO): Fix syntax error. (L): Define right for ELF. * sysdeps/unix/sysv/linux/i386/sysdep.h (L): Remove definition. Now defined in sysdeps/i386/sysdep.h. * sysdeps/posix/readv.c: Ansify function definition. * sysdeps/posix/writev.c: Likewise. * stdio-common/tst-fseek.c (main): Don't assume that off_t and size_t have the same size. Avoid direct cast from size_t to off_t. * login/tst-utmp.c (simulate_login): Don't leave garbage after the nul byte in entry[n].ut_user. (simulate_logout): Likewise. * login/programs/utmpdump.c (print_entry): Test _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST, instead of assuming the existence of corresponding members of 'struct utmp'. * login/tst-utmp.c: Trivialize the test if testing 'struct utmp' and !_HAVE_UT_TYPE. * sysdeps/unix/opendir.c (__opendir): If st_blksize is 0 or too small, allocate a buffer of at least BUFSIZ bytes, not just of sizeof (struct dirent). * sysdeps/generic/glob.c: Include <limits.h>. (NAME_MAX): Define a fallback. (glob_in_dir): Allocate enough room for a 'struct dirent64' on the stack. * posix/tst-dir.c: Include <stddef.h>, for offsetof. (main): Allocate enough room for a 'struct dirent64' on the stack. * posix/tst-gnuglob.c (my_DIR): Allocate enough room for a 'struct dirent'. * sysdeps/unix/sysv/linux/init-first.c: Don't include kernel-features.h. * inet/htontest.c: Include <sys/types.h>. * sysdeps/generic/sys/sysinfo.h: Surround with __{BEGIN,END}_DECLS. * include/sys/sysctl.h: Comment fix. * elf/rtld.c (_rtld_global) [! _LIBC_REENTRANT]: Don't initialize _dl_load_lock. * libio/fileno.c (fileno_unlocked): Define regardless of _IO_MTSAFE_IO. * sysdeps/unix/bsd/bsd4.4/syscalls.list (__sigaltstack): New alias. * sysdeps/unix/inet/syscalls.list (__connect_internal): New alias. (__getpeername): New alias. (__getsockname): New alias. (__socket): New alias. * sysdeps/unix/common/syscalls.list (getpgid): Remove. * sysdeps/unix/syscalls.list (__chown_internal): New alias. (__fcntl_internal): New alias. (__profil): New alias.
* 2002-08-26 Roland McGrath <roland@redhat.com>Roland McGrath2002-08-261-0/+3
| | | | | * locale/programs/ld-ctype.c (ctype_read): When given a repertoire name of "", store a null pointer instead.
* Update.Ulrich Drepper2002-08-262-14/+21
| | | | | | | | * nscd/hstcache.c (cache_addhst): Add new parameter saying whether entry was for getaddr* lookup or not. Add only matching cache entry. Change all callers [PR libc/4317]. * libio/bug-rewind.c: Fix creation of temp file.
* Update.Ulrich Drepper2002-08-265-7/+90
| | | | | | | | | 2002-08-26 Ulrich Drepper <drepper@redhat.com> * libio/wfileops.c (_IO_wfile_seekoff): Set fp->_offset after finding the read position [PR libc/4265]. * libio/Makefile (tests): Add bug-rewind2. * libio/bug-rewind2.c: New file.
* Update.Ulrich Drepper2002-08-2638-387/+337
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nss/getXXbyYY_r.c (REENTRANT_NAME): Return ENOENT if status is neither SUCCESS nor TRYAGAIN [PR libc/4259]. * nss/nss_files/files-XXX.c (internal_getent): Don't set *errnop to ENOENT if no entry is found. * nis/nss_compat/compat-grp.c: Don't set errno in case of lookup failure. * nis/nss_compat/compat-initgroups.c: Likewise. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. * nis/nss_nis/nis-alias.c: Likewise. * nis/nss_nis/nis-ethers.c: Likewise. * nis/nss_nis/nis-grp.c: Likewise. * nis/nss_nis/nis-hosts.c: Likewise. * nis/nss_nis/nis-initgroups.c: Likewise. * nis/nss_nis/nis-netgrp.c: Likewise. * nis/nss_nis/nis-network.c: Likewise. * nis/nss_nis/nis-proto.c: Likewise. * nis/nss_nis/nis-publickey.c: Likewise. * nis/nss_nis/nis-pwd.c: Likewise. * nis/nss_nis/nis-rpc.c: Likewise. * nis/nss_nis/nis-service.c: Likewise. * nis/nss_nis/nis-spwd.c: Likewise. * resolv/nss_dns/dns-host.c: Likewise. * resolv/nss_dns/dns-network.c: Likewise. * nis/nss_nisplus/nisplus-alias.c: Save errno around NIS calls. * nis/nss_nisplus/nisplus-ethers.c: Likewise. * nis/nss_nisplus/nisplus-grp.c: Likewise. * nis/nss_nisplus/nisplus-hosts.c: Likewise. * nis/nss_nisplus/nisplus-network.c: Likewise. * nis/nss_nisplus/nisplus-proto.c: Likewise. * nis/nss_nisplus/nisplus-pwd.c: Likewise. * nis/nss_nisplus/nisplus-rpc.c: Likewise. * nis/nss_nisplus/nisplus-service.c: Likewise. * nis/nss_nisplus/nisplus-spwd.c: Likewise. * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Preserve errno value. * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise. * hesiod/nss_hesiod/hesiod-grp.c (lookup): Likewise. * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
* Update.Ulrich Drepper2002-08-262-3/+17
| | | | | | | 2002-08-25 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/sigaction.c: Avoid warnings by declaring __restore and __restore_rt as hidden (if possible).
* Update.Ulrich Drepper2002-08-264-99/+191
| | | | | | | | | | | | | | | | | | * locale/programs/locale.c: Don't print aliases for non-existing locales for 'locale -a'. Patch by Noah Levitt <nlevitt@columbia.edu> [PR libc/4166]. 2002-07-19 H.J. Lu <hjl@gnu.org> * sysdeps/unix/sysv/linux/mips/bits/msq.h: New file. 2002-07-16 H.J. Lu <hjl@gnu.org> * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/personality.h. * sysdeps/unix/sysv/linux/sys/personality.h: New file. 2002-08-25 Ulrich Drepper <drepper@redhat.com>
* Definitions for personality syscall.Ulrich Drepper2002-08-261-0/+70
|
* * manual/llio.texi (Access Modes): Fix typos in O_READ/O_WRITE defns.Roland McGrath2002-08-261-0/+2
|
* 2002-08-25 Roland McGrath <roland@redhat.com>Roland McGrath2002-08-261-2/+2
| | | | * manual/llio.texi (Access Modes): Fix typos in O_READ/O_WRITE defns.
* (Setting an Alarm): Document that SA_RESTART must not be set when y sycall ↵Ulrich Drepper2002-08-261-0/+9
| | | | has to be interrupted.
* * sysdeps/generic/utmp_file.c (LOCK_FILE): Check for error from fcntl.Roland McGrath2002-08-251-0/+6
| | | | | (getutent_r_file, internal_getut_r): Updated all callers. (getutline_r_file, pututline_file, updwtmp_file): Likewise.
* 2002-08-25 Roland McGrath <roland@redhat.com>Roland McGrath2002-08-251-6/+20
| | | | | | * sysdeps/generic/utmp_file.c (LOCK_FILE): Check for error from fcntl. (getutent_r_file, internal_getut_r): Updated all callers. (getutline_r_file, pututline_file, updwtmp_file): Likewise.
* Update.Ulrich Drepper2002-08-255-0/+12
| | | | | | | | | | 2002-08-25 Ulrich Drepper <drepper@redhat.com> * elf/tst-tlsmod1.c (in_dso): Make sure the TLS variable access is not moved ahead of the fputs call. * elf/tst-tlsmod2.c (in_dso): Likewise. * elf/tst-tlsmod3.c (in_dso2): Likewise. * elf/tst-tlsmod4.c (in_dso): Likewise.
* Update.Ulrich Drepper2002-08-251-1/+5
| | | | | | | | 2002-08-25 Andreas Schwab <schwab@suse.de> * elf/dl-reloc.c (_dl_reloc_bad_type): Nul-terminate message. * misc/Makefile (CFLAGS-init-misc.c): Variable removed. It served to
* (_dl_reloc_bad_type): Nul-terminate message.Ulrich Drepper2002-08-251-1/+2
|
* * sysdeps/generic/utmp_file.c (UNLOCK_FILE): Clear alarm beforeRoland McGrath2002-08-255-19/+93
| | | | | | | | | | | | | | | | | | | | | | | resetting handler, to avoid the possibility of a spurious SIGALRM delivered to the user's handler. Reported by Amit D. Chaudhary <amitc@brocade.com>, * misc/Makefile (CFLAGS-init-misc.c): Varaible removed. It served to set -fkeep-inline-functions, which is not needed for the current file. * sysdeps/generic/ldsodefs.h: Add attribute_hidden to *_internal decls. (_dl_setup_hash): Add attribute_hidden. (_dl_sysdep_start, _dl_sysdep_start_cleanup): Likewise. (_dl_sysdep_read_whole_file, _dl_dprintf): Likewise. (_dl_new_object, _dl_map_object_deps): Likewise. (_dl_map_object_deps_internal): Remove decl. * elf/rtld.c (__mempcpy, _exit): Redeclare locally as hidden. * sysdeps/i386/dl-machine.h [PI_STATIC_AND_HIDDEN && HAVE_VISIBILITY_ATTRIBUTE && HAVE_HIDDEN && !HAVE_BROKEN_VISIBILITY_ATTRIBUTE] (elf_machine_dynamic, elf_machine_load_address): Rewritten without asm, instead relying on the compiler to produce only GOTOFF variable refs.
* 2002-08-25 Roland McGrath <roland@redhat.com>Roland McGrath2002-08-251-2/+0
| | | | | * misc/Makefile (CFLAGS-init-misc.c): Varaible removed. It served to set -fkeep-inline-functions, which is not needed for the current file.
* Update.Ulrich Drepper2002-08-255-28/+43
| | | | * elf/dl-load.c: Fix typo in comment. Add a few more __builtin_expect.
* Update.Ulrich Drepper2002-08-252-1/+4
| | | | | * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Define as static inline to avoid defining it in every file which includes this header.
* Update.Ulrich Drepper2002-08-254-1/+33
| | | | | * elf/rtld.c: Also test for HAVE_VISIBILITY_ATTRIBUTE before defining DONT_USE_BOOTSTRAP_MAP.
* Update.Ulrich Drepper2002-08-2531-89/+111
| | | | | | | | | | | * libio/tst-freopen.c (main): Use correct formats for __LINE__. * libio/tst-mmap-setvbuf.c (main): Likewise. * libio/tst-widetext.c (main): Likewise. * libio/tst-mmap-eofsync.c (do_test): Use correct format in error message. * libio/tst-mmap-fflushsync.c (do_test): Likewise. * libio/tst-mmap2-eofsync.c (do_test): Likewise.
* Update.Ulrich Drepper2002-08-255-2/+24
| | | | | | | | | | | | 2002-08-25 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/elf/configure.in: Unconditionally define PI_STATIC_AND_HIDDEN. * elf/rtld.c (DONT_USE_BOOTSTRAP_MAP): Define only if PI_STATIC_AND_HIDDEN is defined as well. * config.h.in: Add PI_STATIC_AND_HIDDEN entry. * elf/rtld.c (dl_main): Likewise.
* Update.Ulrich Drepper2002-08-252-10/+13
| | | | * sysdeps/ia64/bzero.S: Define __bzero as well.
* Update.Ulrich Drepper2002-08-2534-188/+313
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-24 Ulrich Drepper <drepper@redhat.com> * locale/programs/charmap.c (charmap_new_char): Don't use ULONG_MAX as maximum UCS4 value. * sysdeps/unix/sysv/linux/ia64/sys/user.h: New file. * sysdeps/generic/strtol.c: We don't need the isascii test in glibc. * malloc/hooks.c (public_sET_STATe): use size_t as type for i. * malloc/malloc.c (mALLINFo): Likewise. * libio/wstrops.c (_IO_wstr_pbackfail): Use WEOF in comparison. * libio/wfileops.c (_IO_wfile_overflow): Use EOF not WEOF when examining result of _IO_do_flush call. * stdio-common/vfprintf.c (vfprintf): Use correct type in va_arg. Use prec not spec when sizing buffers. * catgets/open_catalog.c (__open_catalog): Add casts to avoid warnings. * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise. * locale/loadlocale.c (_nl_intern_locale_data): Likewise. * stdio-common/vfscanf.c (inchar): Likewise. * misc/efgcvt_r.c (fcvt_r): Likewise. * elf/dl-misc.c (_dl_debug_vdprintf): Likewise. * elf/readlib.c (process_file): Likewise. * elf/sprof.c (load_profdata): Likewise. * sysdeps/ia64/hp-timing.h (HP_TIMING_PRINT): Likewise. * locale/programs/linereader.c (get_toplvl_escape): Likewise. * locale/programs/charmap.c (charmap_read): Likewise. * libio/fileops.c: Likewise. * libio/fmemopen.c: Likewise. * stdlib/strtod.c: Likewise. * elf/dl-load.c: Likewise. * iconv/iconvconfig.c: Likewise. * iconv/iconv_prog.c (process_block): Likewise. * sysdeps/unix/sysv/linux/ia64/Makefile: Define _ASM_IA64_CURRENT_H macro to calm down the compiler. * iconv/gconv_cache.c (__gconv_load_cache): Add cast to avoid warning. * sysdeps/ia64/elf/initfini.c: Don't use newlines embedded in string. * sysdeps/unix/sysv/linux/i386/sysdep.S: Update comment regarding placement of errno definition. * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/mips/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise. * resolv/nss_dns/dns-host.c (MAXPACKET): Increase minimum value from 1024 to 65536, to avoid buffer overrun. 2002-08-16 Paul Eggert <eggert@twinsun.com> * resolv/gethnamaddr.c (MAXPACKET): Increase minimum value from 1024 to 65536, to avoid buffer overrun. * resolv/res_query.c (MAXPACKET): Likewise. architectures.
* (MAXPACKET): Increase minimum value from 1024 to 65536, to avoid buffer overrun.Ulrich Drepper2002-08-243-6/+6
|
* Update.Andreas Jaeger2002-08-241-0/+4
| | | | | | 2002-08-24 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/i386/Versions: Remove *xattr syscalls.
* Remove *xattr syscalls.Andreas Jaeger2002-08-241-17/+0
|
* Update.Ulrich Drepper2002-08-247-2/+35
| | | | | | 2002-08-23 Ulrich Drepper <drepper@redhat.com> * pthread.c (__linuxthreads_version): New global constant.
* Update.Ulrich Drepper2002-08-245-185/+246
| | | | | | | | | | | | | | * sysdeps/ieee754/dbl-64/e_pow.c (log1): Define and initialize two52 locally. (log2): Likewise. * sysdeps/ieee754/dbl-64/upow.h: Remove definition of two52. Patch by Simon Gee <simong@agile.tv>. * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs_conf): Prefer reading /proc/stat since it is more uniform across architectures.1 * manual/texinfo.tex: Update to latest official version.
* Update.Ulrich Drepper2002-08-2313-17/+69
| | | | | | | | | | | | | | | * sysvipc/sys/shm.h: Remove SHMLBA definition. * sysdeps/generic/bits/shm.h: Define SHMLBA here. * sysdeps/gnu/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Define SHMLBA to 2^20 since this is what the kernel says.
* Update.Ulrich Drepper2002-08-231-0/+5
| | | | | | | 2002-08-23 Ulrich Drepper <drepper@redhat.com> * misc/sys/xattr.h: Include <sys/types.h> instead of <stddef.h> since ssize_t is needed as well. Replace const with __const.
* Include <sys/types.h> instead of <stddef.h> since ssize_t is needed as well. ↵Ulrich Drepper2002-08-231-16/+14
| | | | Replace const with __const.
* * sysdeps/x86_64/pt-machine.h: Use %fs instead of %gs Andreas Jaeger2002-08-232-18/+26
| | | | | | | | | | | | as thread specific register. (testandset): Fix inline asm. (THREAD_GETMEM): Fix inline asm. 2002-08-23 Andreas Jaeger <aj@suse.de> * sysdeps/x86_64/pt-machine.h: Use %fs instead of %gs as thread specific register. (testandset): Fix inline asm. (THREAD_GETMEM): Fix inline asm.
* * malloc/hooks.c (__malloc_initialize_hook, __free_hook,Roland McGrath2002-08-233-34/+42
| | | | | | __malloc_hook, __realloc_hook, __memalign_hook, __after_morecore_hook): Variable definitions moved to ... * malloc/malloc.c: ... here, so as to be before all references.
* * sysdeps/i386/dl-machine.h (elf_machine_load_address): Add a dummyRoland McGrath2002-08-232-1/+9
| | | | | global variable reference in an unused asm parameter, to ensure the compiler has set up the GOT register before we use it.
* * malloc/hooks.c: Move variable definitions ahead of uses.Roland McGrath2002-08-231-6/+8
| | | | | | | | * libio/fileops.c: Move versioned_symbol defns ahead of _IO_jump_t initializers that make reference to variables they define. * misc/sys/xattr.h: New file, contributed by Christoph Hellwig <hch@lst.de>.
* 2002-08-23 Roland McGrath <roland@redhat.com>Roland McGrath2002-08-232-29/+40
| | | | | | * malloc/hooks.c: Move variable definitions ahead of uses. * libio/fileops.c: Move versioned_symbol defns ahead of _IO_jump_t initializers that make reference to variables they define.
* Update.Andreas Jaeger2002-08-2329-194/+554
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-23 Andreas Jaeger <aj@suse.de> * locale/loadarchive.c: Include <stdlib.h> for prototypes of alloca, free, qsort. * dlfcn/bug-dlsym1-lib1.c (foo): Add prototype to avoid warning. * sysdeps/ieee754/flt-32/e_jnf.c: Remove unused variable. * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise. * sysdeps/generic/fgetxattr.c: New file. * sysdeps/generic/flistxattr.c: New file. * sysdeps/generic/fremovexattr.c: New file. * sysdeps/generic/fsetxattr.c: New file. * sysdeps/generic/getxattr.c: New file. * sysdeps/generic/listxattr.c: New file. * sysdeps/generic/lgetxattr.c: New file. * sysdeps/generic/llistxattr.c: New file. * sysdeps/generic/lremovexattr.c: New file. * sysdeps/generic/lsetxattr.c: New file. * sysdeps/generic/removexattr.c: New file. * sysdeps/generic/setxattr.c: New file. * misc/sys/xattr.h: New file, contributed by Christoph Hellwig <hch@lst.de>. * misc/Makefile (headers): Add sys/xattr.h. (routines): Add *xattr calls. * misc/Versions: Add *xattr calls with version 2.3. * sysdeps/unix/sysv/linux/m68k/Versions: Remove *xattr syscalls. * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise. * sysdeps/unix/sysv/linux/x86_64/Versions: Likewise. * sysdeps/unix/sysv/linux/ia64/Versions: Likewise. * sysdeps/unix/sysv/linux/alpha/Versions: Likewise. * sysdeps/unix/sysv/linux/arm/Versions: Likewise. * sysdeps/powerpc/elf/libc-start.c * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
* (foo): Add prototype to avoid warning.Andreas Jaeger2002-08-231-1/+3
|
* * sysdeps/i386/useldt.h (INIT_THREAD_SELF): Remove [HAVE_TLS_SUPPORT]Roland McGrath2002-08-221-0/+11
| | | | | | | | | | conditional. (INIT_THREAD_SELF): Pass second arg to DO_SET_THREAD_AREA. (DO_SET_THREAD_AREA): Take second arg, pass to DO_SET_THREAD_AREA_REUSE macro. That chooses whether to reuse %gs value or let kernel set it. [USE_TLS] (DO_SET_THREAD_AREA_REUSE): New macro, always 1. [!USE_TLS] (DO_SET_THREAD_AREA_REUSE): New macro, true if arg is not constant 0.
* 2002-08-22 Roland McGrath <roland@redhat.com>Roland McGrath2002-08-221-14/+39
| | | | | | | | | | | * sysdeps/i386/useldt.h (INIT_THREAD_SELF): Remove [HAVE_TLS_SUPPORT] conditional. (INIT_THREAD_SELF): Pass second arg to DO_SET_THREAD_AREA. (DO_SET_THREAD_AREA): Take second arg, pass to DO_SET_THREAD_AREA_REUSE macro. That chooses whether to reuse %gs value or let kernel set it. [USE_TLS] (DO_SET_THREAD_AREA_REUSE): New macro, always 1. [!USE_TLS] (DO_SET_THREAD_AREA_REUSE): New macro, true if arg is not constant 0.
* 2002-08-22 Steven Munroe <sjmunroe@us.ibm.com>Geoff Keating2002-08-224-11/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/powerpc/elf/libc-start.c (__cache_line_size): Declare. (__aux_init_cache): New. (__libc_start_main): Change type of `auxvec' parameter to `ElfW(auxv_t) *'. Correct walking of aux vector. Call __aux_init_cache. * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (__cache_line_size): Declare. (__aux_init_cache): New. (DL_PLATFORM_INIT): Define. * sysdeps/powerpc/memset.S: Define __cache_line_size and use its value to select the correct stride for dcbz. 2002-08-22 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/elf/libc-start.c (__cache_line_size): Declare. (__aux_init_cache): New. (__libc_start_main): Change type of `auxvec' parameter to `ElfW(auxv_t) *'. Correct walking of aux vector. Call __aux_init_cache. * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (__cache_line_size): Declare. (__aux_init_cache): New. (DL_PLATFORM_INIT): Define. * sysdeps/powerpc/memset.S: Define __cache_line_size and use its value to select the correct stride for dcbz.
* Update.Andreas Jaeger2002-08-221-0/+5
| | | | | | | 2002-08-22 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Fix arguments of shmat.
* Fix arguments of shmat.Andreas Jaeger2002-08-221-1/+1
|
* * locale/loadarchive.c (_nl_load_locale_from_archive): Check max fileRoland McGrath2002-08-222-9/+33
| | | | | | | | | position indicated by locrectab against file bounds before rounding to page size. In mapping loop, always set TO before breaking out of contiguous range coalescing loop. * locale/loadarchive.c (_nl_load_locale_from_archive): Use MAP_PRIVATE (or MAP_COPY if available) instead of MAP_SHARED.
* * scripts/firstversions.awk: When encountering a version newer thanRoland McGrath2002-08-222-6/+27
| | | | | the specified earliest version, be sure to emit the specified earliest version first if any renaming of an older version to that has been.
* * configure.in: Make GCC version check require 3.[2-9]* and no others.Roland McGrath2002-08-227-54/+69
| | | | | | | | | | | | | | | * configure: Regenerated. * manual/install.texi (Tools for Compilation): Say 3.2 is required. (Configuring and compiling): Don't mention older GCC versions any more. * INSTALL: Regenerated. * manual/install.texi (Configuring and compiling, Installation, Running make install, Linux): Linux -> GNU/Linux where appropriate. * elf/rtld.c (_dl_start_final): Move defn before _dl_start so it can be inlined. Declare it with always_inline if [DONT_USE_BOOTSTRAP_MAP] and with noinline otherwise. Remove hack alloca use to prevent inlining, we can ask for it explicitly nowadays.
* 2002-08-21 Roland McGrath <roland@redhat.com>Roland McGrath2002-08-221-95/+98
| | | | | | | * elf/rtld.c (_dl_start_final): Move defn before _dl_start so it can be inlined. Declare it with always_inline if [DONT_USE_BOOTSTRAP_MAP] and with noinline otherwise. Remove hack alloca use to prevent inlining, we can ask for it explicitly nowadays.
* Update.Ulrich Drepper2002-08-212-4/+7
| | | | | | (_dl_start_final): Don't copy bootstrap_map if DONT_USE_BOOTSTRAP_MAP. * sysdeps/x86_64/machine-gmon.h: New file. * sysdeps/x86_64/_mcount.S: New file.