aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2001-07-16Update.Ulrich Drepper
2001-07-15 Ulrich Drepper <drepper@redhat.com> * malloc/obstack.c: Define __attribute__ for non-gcc compilers. Patch by Jim Meyering <jim@meyering.net>. 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder fields in the sigaction struct to match the definition in the kernel. 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the test for ENOSYS. 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores to the entries in the __jmp_buf structure. * sysdeps/s390/s390-64/bits/setjmp.h: Likewise. 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks (> 64K) and a mvc loop for small blocks. * sysdeps/s390/s390-32/memcpy.S: Likewise. * sysdeps/s390/s390-64/bcopy.S: Likewise. * sysdeps/s390/s390-64/memcpy.S: Likewise.
2001-07-16Use mvcle for big blocks (> 64K) and a mvc loop for small blocks.Ulrich Drepper
2001-07-15* sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.Andreas Schwab
* sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
2001-07-15* sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesizeAndreas Schwab
first. Default to 4096, not EXEC_PAGESIZE.
2001-07-14Update.Andreas Jaeger
2001-07-09 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2. * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM, HWCAP_I386_XMM2 to enum.
2001-07-12Update.Ulrich Drepper
2001-07-12 H.J. Lu <hjl@gnu.org> * sysdeps/generic/segfault.c: Include <errno.h>.
2001-07-12Update.Ulrich Drepper
2001-07-01 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate sbrk. Closes PR libc/2312. 2001-07-01 Andreas Jaeger <aj@suse.de> * sysdeps/generic/segfault.c (install_handler): Handle case that the output file does not exists. Closes PR libc/2345. 2001-07-11 Ulrich Drepper <drepper@redhat.com> * intl/locale.alias: Use he language code for hebrew, not il [PR libc/2382]. 2001-07-11 Jakub Jelinek <jakub@redhat.com> * iconv/gconv_int.h: Fix comment typo. * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code. backwards conditional in test for x == 1.0.
2001-07-11Update.Andreas Jaeger
2001-07-10 Stephen L Moshier <moshier@mediaone.net> * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Fix backwards conditional in test for x == 1.0.
2001-07-10Update.Andreas Jaeger
2001-07-10 Andreas Jaeger <aj@suse.de> * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh (-0.7).
2001-07-09* sysdeps/unix/sysv/linux/configure.in: Revert patch from Andreas Jaeger
2001-07-05 for sysconfdir handling. * config.make.in (sysconfdir): Likewise. * configure.in: Likewise. * configure.in: Always assign libc_cv_sysconfdir. 2001-07-09 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/configure.in: Revert patch from 2001-07-05 for sysconfdir handling. * config.make.in (sysconfdir): Likewise. * configure.in: Likewise. * configure.in: Always assign libc_cv_sysconfdir.
2001-07-08Update.Ulrich Drepper
* sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to what we define in <stdio.h>.
2001-07-08Update.Ulrich Drepper
2001-07-08 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type. * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise. * sysdeps/unix/sysv/aix/recv.c: New file. * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types. * sysdeps/generic/recv.c: Fix return type. * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo. * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add declarations for asm functions.
2001-07-08Update.Ulrich Drepper
2001-07-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
2001-07-07Update.Ulrich Drepper
2001-07-06 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm explicitly into .text section. 2001-04-16 Jes Sorensen <jes@linuxcare.com> * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext): Add 16 longwords reserved for future use to match changes in the kernel. 2001-07-03 Jes Sorensen <jes@trained-monkey.org> * sysdeps/ia64/strncpy.S: Call strnlen() when determining the string length rather than strlen(). Solves the performance problem of doing strlen on a 5MB string when strncpy was called with a length argument of 5 bytes. 2001-07-02 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle R_SPARC_UA16 and R_SPARC_UA32. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. 2001-07-01 Stephen L Moshier <moshier@mediaone.net> * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): acosh(x) = ln(2x) if x > 2^30. * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): acosh(x) = ln(2x) if x > 2^54. * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
2001-07-07(__ieee754_acoshl): acosh(x) = ln(2x) if x > 2^30.Ulrich Drepper
2001-07-07* sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Generate ↵Mark Kettenis
SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and KERN_WRITE_PROTECTION_FAILURE. 2001-07-07 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and KERN_WRITE_PROTECTION_FAILURE.
2001-07-07Update.Ulrich Drepper
* posix/regex.c: Limit string length printed in debug messages to 100 chars.
2001-07-07Put under LGPL v2.1.Andreas Jaeger
2001-07-06Update.Andreas Jaeger
* sysdeps/unix/sysv/linux/configure.in: Fix handling of sysconfdir.
2001-07-06Update.Andreas Jaeger
* manual/libc-texinfo.sh: Add note for the FDL. * manual/argp.texi (Argp Example 4): Fix texinfo warning. * manual/libc.texinfo: Regenerated. * manual/fdl.texi: Fix node.
2001-07-06Update.cvs/post-lgplv2_1Andreas Jaeger
* config.make.in (sysconfdir): Replace correctly. Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>. * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no longer needed. * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add case for alpha. Rework handling of missing linuxthreads add-on. * configure.in: Remove unused sysconfdir substitution.
2001-07-06Update.Andreas Jaeger
2001-07-06 Andreas Jaeger <aj@suse.de> * manual/Makefile (texis): Add fdl.texi. * manual/fdl.texi: New. * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox. * manual/libc.texinfo: Add fdl, update titlepage. Patches by Brian Youmans <3diff@gnu.org>. * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for generated file.
2001-07-06Update to LGPL v2.1.Andreas Jaeger
2001-07-06 Paul Eggert <eggert@twinsun.com> * manual/argp.texi: Remove ignored LGPL copyright notice; it's not appropriate for documentation anyway. * manual/libc-texinfo.sh: "Library General Public License" -> "Lesser General Public License". 2001-07-06 Andreas Jaeger <aj@suse.de> * All files under GPL/LGPL version 2: Place under LGPL version 2.1.
2001-07-05Synch with Linux 2.4.5: Andreas Jaeger
* sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH): New. (AF_BLUETOOTH): New. * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h (PF_BLUETOOTH): New. (AF_BLUETOOTH): New. * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New. (PF_BLUETOOTH): New. * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New. (PF_BLUETOOTH): New. * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New. (AF_BLUETOOTH): New. * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New. (AF_BLUETOOTH): New. * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New. * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New. * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New. * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
2001-07-03Remove check for crypt add-on.Andreas Jaeger
2001-07-01* sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in the Hurd ↵Mark Kettenis
pfinet server, using equivalent code from the Linux version in sysdeps/unix/sysv/linux/if_index.c. In detail: Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and <hurd/pfinet.h>. Don't include <sys/mman.h> and <hurd/fsys.h> anymore. (if_nametoindex): New implementation using SIOCGIFINDEX. (if_freenameindex): Straight copy of the Linux version. (if_nameindex): New implementation based on pfinet_siocgifconf and SIOCGIFINDEX. (if_indextoname): New implementation using SIOCGIFNAME. (map_interfaces): Function removed. From Marcus Brinkmann <marcus@gnu.org>. 2001-07-01 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in the Hurd pfinet server, using equivalent code from the Linux version in sysdeps/unix/sysv/linux/if_index.c. In detail: Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and <hurd/pfinet.h>. Don't include <sys/mman.h> and <hurd/fsys.h> anymore. (if_nametoindex): New implementation using SIOCGIFINDEX. (if_freenameindex): Straight copy of the Linux version. (if_nameindex): New implementation based on pfinet_siocgifconf and SIOCGIFINDEX. (if_indextoname): New implementation using SIOCGIFNAME. (map_interfaces): Function removed. From Marcus Brinkmann <marcus@gnu.org>.
2001-06-30(__elf_preferred_address): Prefer gaps below main executable.Ulrich Drepper
2001-06-29Update.Andreas Jaeger
2001-06-19 Andreas Jaeger <aj@suse.de> * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Handle profiling.
2001-06-29asinh implmentation for 128-bit long doubles.Andreas Jaeger
2001-06-27* sysdeps/mach/hurd/read.c: Include <hurd/fd.h>. (__libc_read): Don't call ↵Mark Kettenis
__pread. Use _hurd_fd_read directly instead. * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>. (__libc_write): Don't call __pwrite. Use _hurd_fd_write directly instead. * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>. (__libc_read): Don't call __pread. Use _hurd_fd_read directly instead. * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>. (__libc_write): Don't call __pwrite. Use _hurd_fd_write directly instead.
2001-06-27* sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back -Wl,-soname ↵Mark Kettenis
option lost in 2001-06-16 change. 2001-06-28 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back -Wl,-soname option lost in 2001-06-16 change.
2001-06-26* hurd/Makefile (user-interfaces): Add pfinet. * hurd/hurdioctl.c: Include ↵Mark Kettenis
<hurd/pfinet.h>, <net/if.h> and <netinet/in.h>. (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL as the handler for SIOCGIFCONF. * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and SIOCGIFNAME. From Marcus Brunkmann <marcus@gnu.org>. 2001-06-26 Mark Kettenis <kettenis@gnu.org> * hurd/Makefile (user-interfaces): Add pfinet. * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and <netinet/in.h>. (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL as the handler for SIOCGIFCONF. * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and SIOCGIFNAME. From Marcus Brunkmann <marcus@gnu.org>.
2001-06-26Update.Ulrich Drepper
* sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short and _IOT_ifreq_int. Patch by Mark Kettenis <kettenis@wins.uva.nl>.
2001-06-22Update.Andreas Jaeger
* sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese to avoid warnings. * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused variable. Add unused attributes to avoid warnings.
2001-06-22Include <math_private.h> for prototypes.Andreas Jaeger
2001-06-21Update.Ulrich Drepper
2001-06-20 Alexandre Oliva <aoliva@redhat.com> * sysdeps/unix/sysv/settimeofday.c: Include time.h.
2001-06-20Update.Ulrich Drepper
2001-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
2001-06-20Update.Ulrich Drepper
2001-05-09 Michael Keezer <mkeezer@redhat.com> * Makeconfig: Added AIX-ld support for DSO. * Makerules: Likewise. * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared. (defaultmod2.so): Likewise. * debug/Makefile: Conditionalize use of elf/ld.so. * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig. * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c. * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) & (f/g)prrest(0/1) static only. * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0. * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but shared. * sysdeps/unix/sysv/aix/setitimer.c: New file. * sysdeps/unix/sysv/aix/sleep.c: New file. * sysdeps/unix/sysv/aix/usleep.c: New file. * sysdeps/unix/sysv/aix/dl-addr.c: New file. * sysdeps/unix/sysv/aix/dl-error.c: New file. * sysdeps/unix/sysv/aix/dl-support.c: New file. * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file. (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. I f "ja", prefer conversion to Japanese character sets. If "zh", prefer conversion to GB2312. I f "ko", prefer conversion to KSC5601. Small
2001-06-19UpdateAndreas Jaeger
2001-06-19 Andreas Jaeger <aj@suse.de> * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file. * math/libm-test.inc (tanh_test): Test for 2^-56. * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result equals argument when x < 2^-55. Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2001-06-19128 bit implementation of tanh.Andreas Jaeger
2001-06-19Update.Ulrich Drepper
2001-06-17 Alan Modra <amodra@bigpond.net.au> * sysdeps/hppa/dl-machine.h (elf_machine_rela): handle relocs at unaligned address.
2001-06-18Revert last change.Ulrich Drepper
2001-06-18* sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,Roland McGrath
not LIO_READ + 1 (which is the value of LIO_WRITE!).
2001-06-18* sysdeps/unix/sysv/linux/i386/sigaction.c (restore, restore_rt):Roland McGrath
Declare these without `static', to avoid warning that we haven't defined them. * Makerules (build-module-helper-objlist): New variable, broken out of build-module. Insert --whole-archive/--no-whole-archive immediately each *_pic.a file in the link object list. (whole-archive): New variable, used by that. (build-module-objlist): New variable using build-module-helper-objlist. (build-module, build-module-helper): Use it. (build-shlib-objlist): New variable using build-module-helper-objlist. (build-shlib): Use that. * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
2001-06-182001-06-17 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/unix/sysv/linux/i386/sigaction.c (restore, restore_rt): Declare these without `static', to avoid warning that we haven't defined them.
2001-06-17* posix/spawni.c: Moved to ...Roland McGrath
* sysdeps/posix/spawni.c: ... here. * sysdeps/generic/spawni.c: New file.
2001-06-17* hurd/Makefile (routines): Add lookup-retry.Roland McGrath
* hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ... * hurd/lookup-retry.c: ... into here, new file. * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead using of duplicate code here. * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0. * posix/regex.c: Avoid an access violation if malloc fails.
2001-06-162001-06-15 Roland McGrath <roland@frob.com>Roland McGrath
* rt/Makefile (aio-routines, clock-routines, timer-routines): New variables, broken out of librt-routines. (librt-routines): Set using those. (extra-libs, extra-libc-others, tests): Set these unconditionally. (distribute): No need for $(librt-map) or $(librt-routines:=.c) here. * sysdeps/generic/aio_fsync.c: New file. * sysdeps/generic/aio_misc.c: New file. * sysdeps/generic/aio_write.c: New file. * sysdeps/generic/aio_write64.c: New file. * sysdeps/generic/aio_read64.c: New file. * sysdeps/generic/aio_read.c: New file. * sysdeps/generic/aio_notify.c: New file. * sysdeps/generic/lio_listio64.c: New file. * sysdeps/generic/lio_listio.c: New file. * sysdeps/generic/aio_cancel.c: New file. * sysdeps/generic/aio_misc.h: New file. * sysdeps/generic/aio_suspend.c: New file. * rt/aio_cancel.c: Moved to ... * sysdeps/pthread/aio_cancel.c: ... here. * rt/aio_fsync.c: Moved to ... * sysdeps/pthread/aio_fsync.c: ... here. * rt/aio_misc.c: Moved to ... * sysdeps/pthread/aio_misc.c: ... here. * rt/aio_misc.h: Moved to ... * sysdeps/pthread/aio_misc.h: ... here. * rt/aio_notify.c: Moved to ... * sysdeps/pthread/aio_notify.c: ... here. * rt/aio_read.c: Moved to ... * sysdeps/pthread/aio_read.c: ... here. * rt/aio_read64.c: Moved to ... * sysdeps/pthread/aio_read64.c: ... here. * rt/aio_suspend.c: Moved to ... * sysdeps/pthread/aio_suspend.c: ... here. * rt/aio_write.c: Moved to ... * sysdeps/pthread/aio_write.c: ... here. * rt/aio_write64.c: Moved to ... * sysdeps/pthread/aio_write64.c: ... here. * rt/lio_listio.c: Moved to ... * sysdeps/pthread/lio_listio.c: ... here. * rt/lio_listio64.c: Moved to ... * sysdeps/pthread/lio_listio64.c: ... here.
2001-06-16Update.Ulrich Drepper
2001-06-14 Roland McGrath <roland@frob.com> * configure.in: Let sysdeps Implies files in add-ons bring in sysdeps directories from the main source and other add-ons too. 2001-06-15 Jakub Jelinek <jakub@redhat.com> * math/test-misc.c (main): Add tests for nextafter and nexttoward with +-Inf as second argument. * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for NaN, not Inf. * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN. * sysdeps/i386/fpu/s_nexttoward.c: New. * sysdeps/i386/fpu/s_nexttowardf.c: New. * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify check for NaN, optimize x==+-0 handling. * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise. * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify check for NaN, fix sign in x==+-0 case. * sysdeps/ia64/fpu/s_nexttoward.c: New. * sysdeps/ia64/fpu/s_nexttowardf.c: New. 2001-06-15 H.J. Lu <hjl@gnu.org> * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0. * 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.
2001-06-15* sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline. Andreas Schwab
* sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.