aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-07-25(_IO_file_seekoff_mmap): Set fp->_offset after succesful seek call. Simply ↵Ulrich Drepper
error checking.
2002-07-24* hurd/hurdsig.c (_hurdsig_getenv): Always return null ifRoland McGrath
__libc_enable_secure is set.
2002-07-24Added <ifaddrs.h> interface with functions `getifaddrs', `freeifaddrs'.Roland McGrath
This implementation supports only IPv4. * inet/ifaddrs.h: New file. * sysdeps/generic/ifaddrs.c: New file. * sysdeps/gnu/ifaddrs.c: New file. * inet/test-ifaddrs.c: New file. * inet/Makefile (routines): Add ifaddrs. (headers): Add ifaddrs.h here. (tests): Add test-ifaddrs. * inet/Versions (GLIBC_2.3): New set, add getifaddrs and freeifaddrs. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use an explicit socket call to get an AF_INET socket, instead of using __opensock. The SIOCGIFNETMASK ioctl will work only with a PF_INET socket. * sysdeps/generic/ifreq.h (__ifreq): Take third argument SOCKFD, if not -1 use it instead of calling __opensock. * sysdeps/unix/sysv/linux/ifreq.h (__ifreq): Likewise. * sysdeps/mach/hurd/ifreq.h (__ifreq): Take new argument and ignore it. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Pass new argument. * sysdeps/mach/hurd/ifreq.h: New file. * sysdeps/generic/ifreq.h (__if_freereq): Take second argument NUM_IFS. * sysdeps/unix/sysv/linux/ifreq.h (__if_freereq): Likewise. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Update caller.
2002-07-24* libio/fileops.c (_IO_file_seekoff_mmap): Don't rely on FP->_offset,Roland McGrath
which gets moved around. Calculate size of mmap'd buffer instead.
2002-07-24Cosmetic edits.Roland McGrath
2002-07-24Update.Ulrich Drepper
2002-07-24 Philip Blundell <philb@gnu.org> * sysdeps/unix/arm/brk.S: Improve schedule. * sysdeps/unix/sysv/linux/arm/socket.S (PUSHARGS_1): Use more efficient instruction. (__socket): Optimize return sequence. * locale/hashval.h: Make more self-contained by defining LONG_BITS.
2002-07-24Update.Ulrich Drepper
2002-07-24 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/opensock.c (__opensock): Prefer inet sockets on old kernels.
2002-07-24Update.Ulrich Drepper
2002-07-22 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/errlist.c: Remove extra weak alias definiton of _old_sys_nerr. Define _old_sys_errlist as strong alias.
2002-07-24Update.Ulrich Drepper
2002-07-24 Ulrich Drepper <drepper@redhat.com> * locale/hashval.h: Make more self-containedby defining LONG_BITS. * locale/programs/simple-hash.c: Remove LONG_BITS definition. * locale/programs/locarchive.c (add_locale_to_archive): Correct test to detect duplicate locales. * libio/fileops.c (_IO_new_file_seekoff): Fail if relative position would be before beginning of file. (_IO_file_seekoff_mmap): Likewise. * libio/Makefile (tests): Add bug-fseek. * libio/bug-fseek.c: New file. * intl/explodename.c: Remove support for CEN-style locale variables. It was never used and shouldn't be since it's not portable. * intl/finddomain.c: Likewise. * intl/l10nflist.c: Likewise. * intl/loadinfo.h: Likewise. * locale/findlocale.c: Likewise.
2002-07-24Remove support for CEN-style locale variables. It was never used and ↵Ulrich Drepper
shouldn't be since it's not portable.
2002-07-24* libio/fileops.c (_IO_file_seekoff_mmap): When just examining theRoland McGrath
position, calculate it to take into account an active pushback buffer. * libio/Makefile (tests): Add bug-ungetc. * libio/bug-ungetc.c: New file.
2002-07-242002-07-24 Roland McGrath <roland@frob.com>Roland McGrath
* libio/Makefile (tests): Add bug-ungetc. * libio/bug-ungetc.c: New file.
2002-07-23Moved to misc/sys.Ulrich Drepper
2002-07-23Update.Ulrich Drepper
2002-07-23 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/libc-tls.c: New file. * csu/Makefile (routines): Add libc-tls. (static-only-routines): Add libc-tls. * elf/dl-support.c (_dl_phdr): New variable. (_dl_phnum): New variable. (_dl_aux_init): Initialize _dl_phdr and _dl_phnum from aux vector. * sysdeps/generic/libc-start.c (__libc_start_main): Reorganize code for !SHARED. First look through auxiliary vector. If TLS always call __pthread_initialize_minimal. * sysdeps/generic/dl-tls.c (_dl_allocate_tls): Make sure size argument in mmap call is never zero.
2002-07-23(_dl_phdr): New variable. (_dl_phnum): New variable. (_dl_aux_init): ↵Ulrich Drepper
Initialize _dl_phdr and _dl_phnum from aux vector.
2002-07-23Fix whitespace.Andreas Jaeger
2002-07-23Update.Andreas Jaeger
2002-07-23 Andreas Jaeger <aj@suse.de> * sysdeps/x86_64/fpu/s_copysign.S: Use optimized version. * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2002-07-23Use optimized version.Andreas Jaeger
2002-07-23Update.Ulrich Drepper
2002-07-22 Ulrich Drepper <drepper@redhat.com> * Makefile: Actually creat tst-signal.out file when running the test.
2002-07-23pdate.Ulrich Drepper
* libio/tst-eof.c: Rewrite to let test-skeleton.c deal with creation and removal of the temp file.
2002-07-22Update.Ulrich Drepper
2002-07-22 Ulrich Drepper <drepper@redhat.com> * libio/bug-rewind.c: Use test skeleton. Use create_temp_file for file creation. * test-skeleton.c (create_temp_file): New function.
2002-07-22(create_temp_file): New function.Ulrich Drepper
2002-07-22Update.Andreas Jaeger
2002-07-22 Andreas Jaeger <aj@suse.de> * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Use local label.
2002-07-22(elf_machine_load_address): Use local label.Andreas Jaeger
2002-07-22* wcsmbs/Makefile (strtox-CFLAGS): New variable,Roland McGrath
put -I../include before -I../stdlib so we get the right errno.h et al. (CFLAGS-wcstod.c): Use that variable instead of -I../stdlib. (CFLAGS-wcstof.c): Likewise. (CFLAGS-wcstold.c): Likewise. (CFLAGS-wcstod_l.c): Likewise. (CFLAGS-wcstof_l.c): Likewise. (CFLAGS-wcstold_l.c): Likewise.
2002-07-22* sysdeps/mach/hurd/errnos.awk: Remove __set_errno defn from output.Roland McGrath
2002-07-222002-07-19 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/mach/hurd/errnos.awk: Remove __set_errno defn from output.
2002-07-22(Hooks for Malloc): Correct order of arguments for __memalign_hook.Ulrich Drepper
2002-07-20Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define if __ASSUME_AT_XID is defined. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_XID): Define for 2.4.1 and up. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Optimize handling of AT_UID, AT_EUID, AT_GID, and AT_EGID.
2002-07-20Update.Ulrich Drepper
2002-07-20 Ulrich Drepper <drepper@redhat.com> * wcsmbs/Makefile (CFLAGS-wcstod.c): Add -I../stdlib. (CFLAGS-wcstof.c): Likewise. (CFLAGS-wcstold.c): Likewise. (CFLAGS-wcstod_l.c): Likewise. (CFLAGS-wcstof_l.c): Likewise. (CFLAGS-wcstold_l.c): Likewise.
2002-07-20Update.Ulrich Drepper
2002-07-18 Jakub Jelinek <jakub@redhat.com> * resource/sys/resource.h (__rlimit_resource_t, __rusage_who_t, __priority_which_t): Always typedef to int for C++.
2002-07-20Update.Ulrich Drepper
2002-07-19 Ulrich Drepper <drepper@redhat.com> * configure.in: Add test for __thread support in compiler. * config.h.in: Add HAVE___THREAD. * Makefile (headers): Remove errno.h, sys/errno.h, and bits/errno.h. * include/sys/errno.h: Moved to... * stdlib/sys/errno.h: ...here. New file. * stdlib/errno.h: New file. Moved from... * include/errno.h: ...here. Changed into an internal header defining libc-local things like __set_errno. * stdlib/Makefile (headers): Add errno.h, sys/errno.h, and bits/errno.h. * elf/dl-minimal.c: Include <tls.h>. Define errno as thread-local variable if USE_TLS && HAVE___THREAD. Don't define __errno_location either. * elf/rtld.c (_dl_start): Add code to initialize TLS for ld.so from... (_dl_start_final): ...here. Add code to initialize tls elements from bootstrap_map. * sysdeps/generic/errno-loc.c: Define errno as thread-local variable if USE_TLS && HAVE___THREAD. * sysdeps/generic/bits/errno.h: Remove __set_errno definition. * sysdeps/mach/hurd/bits/errno.h: Likewise. * sysdeps/standalone/arm/bits/errno.h: Likewise. * sysdeps/standalone/bits/errno.h: Likewise. * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise. * sysdeps/unix/sysv/aix/bits/errno.h: Likewise. * sysdeps/unix/sysv/hpux/bits/errno.h: Likewise. * sysdeps/unix/sysv/linux/bits/errno.h: Likewise. * sysdeps/unix/sysv/linux/hppa/bits/errno.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: Likewise. * sysdeps/i386/dl-machine.c (elf_machine_rel) [RTLD_BOOTSTRAP]: Don't use GL(dl_rtld_map), use map parameter. * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/unix/sysv/linux/i386/sysdep.S: Define errno in .tbss if USE_TLS && HAVE___THREAD. * sysdeps/unix/sysv/linux/i386/sysdep.h: Unify SETUP_PIC_REG definitions. If USE_TLS && HAVE___THREAD store errooor value using TLS code sequence. * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/getcwd.c: No real need to restore errno. * sysdeps/unix/sysv/linux/grantpt.c: Likewise. * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise. * sysdeps/unix/sysv/linux/msgctl.c: Likewise. * sysdeps/unix/sysv/linux/readv.c: Likewise. * sysdeps/unix/sysv/linux/writev.c: Likewise.
2002-07-17Update.Ulrich Drepper
2002-07-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Fix MS_SYNC and MS_INVALIDATE values.
2002-07-17Update.Ulrich Drepper
2002-07-17 Andreas Schwab <schwab@suse.de> Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/pread.c: Sign extend offset. * sysdeps/unix/sysv/linux/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2002-07-17Update.Ulrich Drepper
2002-07-01 H.J. Lu <hjl@gnu.org> * elf/circleload1.c (load_dso): Call "circlemod1" and check return value. * elf/circlemod1.c (circlemod1): Return int. * elf/circlemod2.c (circlemod2): Likewise. * elf/circlemod2a.c (circlemod2): Likewise. * elf/circlemod3.c (circlemod3): Likewise. (circlemod3a): A new function.
2002-07-17Update.Ulrich Drepper
* catgets/tst-catgets.c (main): Don't expect results for untranslated messages. * math/Makefile (CPPFLAGS-test-ifloat.c): Also define TEST_FAST_MATH. (CPPFLAGS-test-idouble.c): Likewise. (CPPFLAGS-test-ildouble.c): Likewise.
2002-07-16Update.Ulrich Drepper
2002-07-16 Ulrich Drepper <drepper@redhat.com> * locales/th_TH: Change tel_dom_fmt. Patch by Theppitak Karoonboonyanan <thep@links.nectec.or.th>.
2002-07-16Update.Ulrich Drepper
2002-07-16 Ulrich Drepper <drepper@redhat.com> * glibcbug.in: Fix little typo. Remove STDIO. * config.h.in: Fail if __FAST_MATH__ is defined.
2002-07-16Update.Ulrich Drepper
2002-07-15 Ulrich Drepper <drepper@redhat.com> * intl/tst-gettext.sh: Pass -f option to msgfmt. * intl/tst-gettext.c: Correctly handle untranslated messages in positive tests. * po/de.po: Update from translation team.
2002-07-16Update.Ulrich Drepper
2002-07-02 H.J. Lu <hjl@gnu.org> * sysdeps/mips/atomicity.h: Don't include <sgidefs.h>. Always use ll/sc. * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise. * sysdeps/unix/sysv/linux/configure.in: Set arch_minimum_kernel to 2.4.0 for mips. TLS fail if USE_TLS is not defined.
2002-07-16Update.Ulrich Drepper
* elf/dl-load.c (_dl_map_object_from_fd): If loaded object uses TLS fail is USE_TLS is not defined.
2002-07-15Update.Ulrich Drepper
2002-07-15 Ulrich Drepper <drepper@redhat.com> * libio/wfileops.c (_IO_wfile_seekoff): Reposition wide pointers and adjust state for seek position. [PR libc/4070] * libio/Makefile (tests): Add bug-rewind. * libio/bug-rewind.c: New file.
2002-07-15Update.Ulrich Drepper
2002-07-12 Philip Blundell <philb@gnu.org> * sysdeps/generic/backtrace.c (FIRST_FRAME_POINTER): New macro. (__backtrace): Use it. * sysdeps/arm/frame.h (FIRST_FRAME_POINTER): Define. [PR libc/2632] 2002-07-12 Philip Blundell <philb@gnu.org> * sysdeps/arm/dl-machine.h (elf_machine_rel): Don't handle R_ARM_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined. (elf_machine_rela): Remove unused variable. * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf] (sysdep-rtld-routines, sysdep_routines, sysdep-dl-routines): Don't define. 2002-07-12 Ulrich Drepper <drepper@redhat.com> * iconvdata/gconv-modules: Add aliases for ISO-8859-11.
2002-07-15Update.Ulrich Drepper
2002-07-14 Ulrich Drepper <drepper@redhat.com> * manager.c (pthread_handle_create): Initialize self-reference in descriptor.
2002-07-15(pthread_handle_create): Initialize self-reference in descriptor.Ulrich Drepper
2002-07-14Update.Andreas Jaeger
2002-07-14 Andreas Jaeger <aj@suse.de> * sysdeps/x86_64/bits/link.h: Add biarch support.
2002-07-12Update.Andreas Jaeger
2002-07-13 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Use correct indices. Patch by Eliot Dresselhaus <eliot@ayrnetworks.com>.
2002-07-12* sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Andreas Jaeger
Use correct indices. Patch by Eliot Dresselhaus <eliot@ayrnetworks.com>.
2002-07-12Add aliases for ISO-8859-11.Ulrich Drepper
2002-07-11Update.Ulrich Drepper
2002-07-09 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/bits/byteswap.h: Unified 31/64 bit byteswap.h. * sysdeps/s390/s390-32/bits/byteswap.h: Remove. * sysdeps/s390/s390-64/bits/byteswap.h: Remove. * sysdeps/s390/bits/link.h: Unified 31/64 bit link.h. * sysdeps/s390/s390-32/bits/link.h: Remove. * sysdeps/s390/s390-64/bits/link.h: Remove. * sysdeps/s390/bits/setjmp.h: Unified 31/64 bit setjmp.h. * sysdeps/s390/s390-32/bits/setjmp.h: Remove. * sysdeps/s390/s390-64/bits/setjmp.h: Remove. * sysdeps/s390/bits/wordsize.h: New file. * sysdeps/unix/sysv/linux/s390/bits/elfclass.h: Unified 31/64 bit elfclass.h. * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Unified 31/64 bit fcntl.h. * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: Remove. * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Unified 31/64 bit ipc.h. * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Unified 31/64 bit mman.h. * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: Remove. * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/msq.h: Unified 31/64 bit msq.h. * ysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/resource.h: Unified 31/64 bit resource.h. * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: Remove. * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/sem.h: Unified 31/64 bit sem.h. * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/shm.h: Unified 31/64 bit shm.h. * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Unified 31/64 bit sigaction.h. * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Unified 31/64 bit siginfo.h. * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: Remove. * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/socket.h: Unified 31/64 bit socket.h. * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/stat.h: Unified 31/64 bit stat.h. * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: Remove. * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: Remove. * sysdeps/unix/sysv/linux/s390/bits/types.h: Unified 31/64 bit types.h. * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: Remove. * sysdeps/unix/sysv/linux/s390/net/route.h: New file. * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Unified 31/64 bit procfs.h. * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: Remove. * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: Remove. * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Unified 31/64 bit ucontext.h. * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Remove. * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Remove.