From ae1025be4026d5d4beb605541854d800ce05ee4e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 26 Jun 1997 22:23:01 +0000 Subject: Updated. 1997-06-26 21:50 Ulrich Drepper * math/math.h: Move definition of macros for unordered comparison after inclusion of . * sysdeps/i386/fpu/bits/mathinline.h: Don't undef macros for unordered comparison before definition. * sysdeps/m68k/fpu/bits/mathinline.h: Likewise. * Makerules: Move definition of load-map-file before use. (lib%.so): Depend on load-map-file, not lib%-map. * manual/lgpl.texinfo: Likewise. 1997-06-24 09:40 Andreas Schwab * sysdeps/m68k/fpu/bits/mathinline.h: Don't define __ilogb. * sysdeps/m68k/fpu/s_ilogb.c: Define it here. Handle zero, NaN and infinity specially. * sysdeps/m68k/fpu/s_ilogbf.c, sysdeps/m68k/fpu/s_ilogbl.c: Adapted. * sysdeps/m68k/fpu/bits/mathdef.h (FP_ILOGB0): Correct value. 1997-06-26 17:06 Ulrich Drepper * configure.in: Don't use .long in tests since some strange platforms without binutils don't know this. Redirect output of test commands correctly. Patch by Klaus Espenlaub . * hurd/hurdsig.c (_hurdsig_init): Call _hurd_self_sigstate. Patch by Kazumoto Kojima . 1997-06-26 09:02 Fila Kolodny * sysdeps/mach/hurd/abi-tag.h: New file. * sysdeps/mach/bits/libc-lock.h: Add typedef for __libc_key_t. * sysdeps/stub/bits/libc-lock.h: Likewise. * sysdeps/mach/hurd/accept.c (accept): Fix type of parameter addrarg. Add variable addr containing the desired part of the union. * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise. * sysdeps/mach/hurd/getsockname.c (getsockname): Likewise. * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise. * sysdeps/mach/hurd/connect.c (__connect): Likewise. * sysdeps/mach/hurd/bind.c (bind): Likewise. * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T to sizeof(MACH_MSG_TYPE_INTEGER_T). * io/ftw.c (ftw_startup): Use PATH_MAX only if defined. * sysdeps/mach/hurd/open.c (__open): Fix type of parameter file. * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Add closefn to paramater list since it is used. * sysdeps/mach/hurd/rename.c (rename): Fix type of paramater new. * sysdeps/mach/hurd/sigaltstack.c (sigaltstack): Change parameter from ss to argss. 1997-06-24 14:02 Andreas Jaeger * Rules: Update copyright. * mach/Machrules: Likewise. 1997-06-26 14:28 Ulrich Drepper * configure.in: Fix accidently removed AC_OUTPUT line. Reported by Andreas Jaeger. * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is defined. Reported by Akim Demaille . * sysdeps/generic/getdomain.c: Include handling for stub case. This eliminated the only case of a function in generic and stub. * sysdeps/stub/getdomain.c: Removed. Patch by Zack Weinberg . 1997-06-23 22:20 Andreas Jaeger * sysdeps/alpha/_mcount.S: Update and reformat copyright, remove trailing white spaces and send through unexpand. * sysdeps/alpha/bb_init_func.S: Likewise. * sysdeps/alpha/bzero.S: Likewise. * sysdeps/alpha/ffs.S: Likewise. * sysdeps/alpha/memset.S: Likewise. * sysdeps/alpha/s_fabs.S: Likewise. * sysdeps/alpha/strcmp.S: Likewise. * sysdeps/alpha/strlen.S: Likewise. * sysdeps/alpha/strncmp.S: Likewise. * sysdeps/alpha/strncpy.S: Likewise. * sysdeps/alpha/strrchr.S: Likewise. * sysdeps/alpha/stxcpy.S: Likewise. * sysdeps/alpha/stxncpy.S: Likewise. * sysdeps/alpha/elf/start.S: Likewise. * sysdeps/i386/strchr.S: Likewise. * sysdeps/m68k/bsd-_setjmp.S: Likewise. * sysdeps/m68k/bsd-setjmp.S: Likewise. * sysdeps/m68k/elf/start.S: Likewise. * sysdeps/mach/alpha/syscall.S: Likewise. * sysdeps/mach/i386/syscall.S: Likewise. * sysdeps/mips/elf/start.S: Likewise. * sysdeps/sparc/alloca.S: Likewise. * sysdeps/standalone/i386/start.S: Likewise. * sysdeps/standalone/i386/force_cpu386/strtsupp.S: Likewise. * sysdeps/standalone/i960/start.S: Likewise. * sysdeps/standalone/m68k/m68020/start.S: Likewise. * sysdeps/unix/_exit.S: Likewise. * sysdeps/unix/fork.S: Likewise. * sysdeps/unix/getegid.S: Likewise. * sysdeps/unix/geteuid.S: Likewise. * sysdeps/unix/getppid.S: Likewise. * sysdeps/unix/syscall.S: Likewise. * sysdeps/unix/arm/brk.S: Likewise. * sysdeps/unix/arm/fork.S: Likewise. * sysdeps/unix/bsd/hp/m68k/brk.S: Likewise. * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise. * sysdeps/unix/bsd/hp/m68k/wait3.S: Likewise. * sysdeps/unix/bsd/i386/vfork.S: Likewise. * sysdeps/unix/bsd/i386/wait3.S: Likewise. * sysdeps/unix/bsd/m68k/pipe.S: Likewise. * sysdeps/unix/bsd/m68k/syscall.S: Likewise. * sysdeps/unix/bsd/m68k/sysdep.S: Likewise. * sysdeps/unix/bsd/m68k/wait.S: Likewise. * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise. * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise. * sysdeps/unix/bsd/osf/alpha/killpg.S: Likewise. * sysdeps/unix/bsd/osf/alpha/pipe.S: Likewise. * sysdeps/unix/bsd/osf/alpha/recv.S: Likewise. * sysdeps/unix/bsd/osf/alpha/send.S: Likewise. * sysdeps/unix/bsd/osf/alpha/sigblock.S: Likewise. * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise. * sysdeps/unix/bsd/osf/alpha/sigsetmask.S: Likewise. * sysdeps/unix/bsd/osf/alpha/sigvec.S: Likewise. * sysdeps/unix/bsd/osf/alpha/start.S: Likewise. * sysdeps/unix/bsd/osf/alpha/vhangup.S: Likewise. * sysdeps/unix/bsd/sequent/i386/getgroups.S: Likewise. * sysdeps/unix/bsd/sequent/i386/sigvec.S: Likewise. * sysdeps/unix/bsd/sequent/i386/syscall.S: Likewise. * sysdeps/unix/bsd/sun/sigreturn.S: Likewise. * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise. * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise. * sysdeps/unix/bsd/sun/m68k/syscall.S: Likewise. * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise. * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise. * sysdeps/unix/bsd/ultrix4/wait3.S: Likewise. * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Likewise. * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise. * sysdeps/unix/bsd/vax/brk.S: Likewise. * sysdeps/unix/bsd/vax/pipe.S: Likewise. * sysdeps/unix/bsd/vax/sysdep.S: Likewise. * sysdeps/unix/bsd/vax/vfork.S: Likewise. * sysdeps/unix/bsd/vax/wait.S: Likewise. * sysdeps/unix/bsd/vax/wait3.S: Likewise. * sysdeps/unix/i386/brk.S: Likewise. * sysdeps/unix/i386/fork.S: Likewise. * sysdeps/unix/i386/pipe.S: Likewise. * sysdeps/unix/i386/sigreturn.S: Likewise. * sysdeps/unix/i386/syscall.S: Likewise. * sysdeps/unix/i386/vfork.S: Likewise. * sysdeps/unix/i386/wait.S: Likewise. * sysdeps/unix/mips/brk.S: Likewise. * sysdeps/unix/mips/fork.S: Likewise. * sysdeps/unix/mips/pipe.S: Likewise. * sysdeps/unix/mips/sigreturn.S: Likewise. * sysdeps/unix/mips/sysdep.S: Likewise. * sysdeps/unix/mips/wait.S: Likewise. * sysdeps/unix/sparc/brk.S: Likewise. * sysdeps/unix/sparc/fork.S: Likewise. * sysdeps/unix/sparc/pipe.S: Likewise. * sysdeps/unix/sparc/sysdep.S: Likewise. * sysdeps/unix/sparc/vfork.S: Likewise. * sysdeps/unix/sysv/i386/signal.S: Likewise. * sysdeps/unix/sysv/i386/time.S: Likewise. * sysdeps/unix/sysv/irix4/__handler.S: Likewise. * sysdeps/unix/sysv/irix4/sigreturn.S: Likewise. * sysdeps/unix/sysv/irix4/uname.S: Likewise. * sysdeps/unix/sysv/irix4/wait.S: Likewise. * sysdeps/unix/sysv/linux/alpha/pipe.S: Likewise. * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise. * sysdeps/unix/sysv/sco3.2.4/sigaction.S: Likewise. * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise. * sysdeps/unix/sysv/sco3.2.4/uname.S: Likewise. * sysdeps/unix/sysv/sco3.2.4/waitpid.S: Likewise. * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise. * sysdeps/vax/bsd-_setjmp.S: Likewise. * sysdeps/vax/bsd-setjmp.S: Likewise. --- ChangeLog | 198 ++++++++++++++++ Makerules | 16 +- Rules | 8 +- configure | 49 ++-- configure.in | 17 +- hurd/hurdsig.c | 2 + io/ftw.c | 4 + mach/Machrules | 6 +- manual/lgpl.texinfo | 9 +- math/math.h | 63 +++-- sysdeps/alpha/_mcount.S | 56 ++--- sysdeps/alpha/bb_init_func.S | 35 ++- sysdeps/alpha/bzero.S | 35 ++- sysdeps/alpha/elf/start.S | 35 +-- sysdeps/alpha/ffs.S | 67 +++--- sysdeps/alpha/memset.S | 35 ++- sysdeps/alpha/s_fabs.S | 30 +-- sysdeps/alpha/strcmp.S | 11 +- sysdeps/alpha/strlen.S | 29 ++- sysdeps/alpha/strncmp.S | 11 +- sysdeps/alpha/strncpy.S | 35 ++- sysdeps/alpha/strrchr.S | 35 ++- sysdeps/alpha/stxcpy.S | 31 ++- sysdeps/alpha/stxncpy.S | 33 ++- sysdeps/generic/getdomain.c | 24 +- sysdeps/i386/fpu/bits/mathinline.h | 28 +-- sysdeps/i386/strchr.S | 2 +- sysdeps/m68k/bsd-_setjmp.S | 28 +-- sysdeps/m68k/bsd-setjmp.S | 28 +-- sysdeps/m68k/elf/start.S | 34 +-- sysdeps/m68k/fpu/bits/mathdef.h | 2 +- sysdeps/m68k/fpu/bits/mathinline.h | 36 +-- sysdeps/m68k/fpu/s_ilogb.c | 26 +- sysdeps/m68k/fpu/s_ilogbf.c | 2 +- sysdeps/m68k/fpu/s_ilogbl.c | 2 +- sysdeps/mach/alpha/syscall.S | 30 +-- sysdeps/mach/bits/libc-lock.h | 3 + sysdeps/mach/hurd/abi-tag.h | 5 + sysdeps/mach/hurd/accept.c | 5 +- sysdeps/mach/hurd/bind.c | 5 +- sysdeps/mach/hurd/connect.c | 5 +- sysdeps/mach/hurd/getpeername.c | 6 +- sysdeps/mach/hurd/getsockname.c | 5 +- sysdeps/mach/hurd/open.c | 2 +- sysdeps/mach/hurd/recvfrom.c | 5 +- sysdeps/mach/hurd/rename.c | 3 +- sysdeps/mach/hurd/select.c | 3 +- sysdeps/mach/hurd/sigaltstack.c | 3 +- sysdeps/mach/hurd/sysd-stdio.c | 2 +- sysdeps/mach/i386/syscall.S | 28 +-- sysdeps/mips/elf/start.S | 36 +-- sysdeps/sparc/alloca.S | 28 +-- sysdeps/standalone/i386/force_cpu386/strtsupp.S | 92 ++++---- sysdeps/standalone/i386/start.S | 302 ++++++++++++------------ sysdeps/standalone/i960/start.S | 148 ++++++------ sysdeps/standalone/m68k/m68020/start.S | 145 ++++++------ sysdeps/stub/bits/libc-lock.h | 3 + sysdeps/unix/_exit.S | 28 +-- sysdeps/unix/arm/brk.S | 32 +-- sysdeps/unix/arm/fork.S | 26 +- sysdeps/unix/bsd/hp/m68k/brk.S | 34 +-- sysdeps/unix/bsd/hp/m68k/vfork.S | 34 +-- sysdeps/unix/bsd/hp/m68k/wait3.S | 34 +-- sysdeps/unix/bsd/i386/vfork.S | 28 +-- sysdeps/unix/bsd/i386/wait3.S | 34 +-- sysdeps/unix/bsd/m68k/pipe.S | 28 +-- sysdeps/unix/bsd/m68k/syscall.S | 28 +-- sysdeps/unix/bsd/m68k/sysdep.S | 28 +-- sysdeps/unix/bsd/m68k/wait.S | 28 +-- sysdeps/unix/bsd/osf/alpha/brk.S | 27 ++- sysdeps/unix/bsd/osf/alpha/fork.S | 27 ++- sysdeps/unix/bsd/osf/alpha/killpg.S | 27 ++- sysdeps/unix/bsd/osf/alpha/pipe.S | 27 ++- sysdeps/unix/bsd/osf/alpha/recv.S | 28 +-- sysdeps/unix/bsd/osf/alpha/send.S | 28 +-- sysdeps/unix/bsd/osf/alpha/sigblock.S | 27 ++- sysdeps/unix/bsd/osf/alpha/sigpause.S | 27 ++- sysdeps/unix/bsd/osf/alpha/sigsetmask.S | 27 ++- sysdeps/unix/bsd/osf/alpha/sigvec.S | 27 ++- sysdeps/unix/bsd/osf/alpha/start.S | 27 ++- sysdeps/unix/bsd/osf/alpha/vhangup.S | 28 +-- sysdeps/unix/bsd/sequent/i386/getgroups.S | 28 +-- sysdeps/unix/bsd/sequent/i386/sigvec.S | 34 +-- sysdeps/unix/bsd/sequent/i386/syscall.S | 28 +-- sysdeps/unix/bsd/sun/m68k/brk.S | 34 +-- sysdeps/unix/bsd/sun/m68k/sethostid.S | 34 +-- sysdeps/unix/bsd/sun/m68k/syscall.S | 28 +-- sysdeps/unix/bsd/sun/m68k/vfork.S | 34 +-- sysdeps/unix/bsd/sun/sigreturn.S | 28 +-- sysdeps/unix/bsd/sun/sparc/sethostid.S | 34 +-- sysdeps/unix/bsd/ultrix4/mips/__handler.S | 27 ++- sysdeps/unix/bsd/ultrix4/mips/start.S | 27 ++- sysdeps/unix/bsd/ultrix4/mips/vfork.S | 27 ++- sysdeps/unix/bsd/ultrix4/wait3.S | 27 ++- sysdeps/unix/bsd/vax/brk.S | 34 +-- sysdeps/unix/bsd/vax/pipe.S | 28 +-- sysdeps/unix/bsd/vax/sysdep.S | 28 +-- sysdeps/unix/bsd/vax/vfork.S | 34 +-- sysdeps/unix/bsd/vax/wait.S | 28 +-- sysdeps/unix/bsd/vax/wait3.S | 34 +-- sysdeps/unix/fork.S | 28 +-- sysdeps/unix/getegid.S | 28 +-- sysdeps/unix/geteuid.S | 28 +-- sysdeps/unix/getppid.S | 28 +-- sysdeps/unix/i386/brk.S | 34 +-- sysdeps/unix/i386/fork.S | 28 +-- sysdeps/unix/i386/pipe.S | 28 +-- sysdeps/unix/i386/sigreturn.S | 28 +-- sysdeps/unix/i386/syscall.S | 28 +-- sysdeps/unix/i386/vfork.S | 27 ++- sysdeps/unix/i386/wait.S | 28 +-- sysdeps/unix/mips/brk.S | 27 ++- sysdeps/unix/mips/fork.S | 27 ++- sysdeps/unix/mips/pipe.S | 27 ++- sysdeps/unix/mips/sigreturn.S | 27 ++- sysdeps/unix/mips/sysdep.S | 27 ++- sysdeps/unix/mips/wait.S | 27 ++- sysdeps/unix/sparc/brk.S | 34 +-- sysdeps/unix/sparc/fork.S | 28 +-- sysdeps/unix/sparc/pipe.S | 28 +-- sysdeps/unix/sparc/sysdep.S | 28 +-- sysdeps/unix/sparc/vfork.S | 28 +-- sysdeps/unix/syscall.S | 28 +-- sysdeps/unix/sysv/i386/signal.S | 28 +-- sysdeps/unix/sysv/i386/time.S | 28 +-- sysdeps/unix/sysv/irix4/__handler.S | 27 ++- sysdeps/unix/sysv/irix4/sigreturn.S | 27 ++- sysdeps/unix/sysv/irix4/uname.S | 28 +-- sysdeps/unix/sysv/irix4/wait.S | 27 ++- sysdeps/unix/sysv/linux/alpha/pipe.S | 27 ++- sysdeps/unix/sysv/linux/i386/mmap.S | 30 +-- sysdeps/unix/sysv/linux/m68k/mmap.S | 30 +-- sysdeps/unix/sysv/linux/m68k/sigreturn.S | 28 +-- sysdeps/unix/sysv/linux/m68k/socket.S | 30 +-- sysdeps/unix/sysv/linux/sparc/fork.S | 6 +- sysdeps/unix/sysv/sco3.2.4/sigaction.S | 28 +-- sysdeps/unix/sysv/sco3.2.4/sysconf.S | 28 +-- sysdeps/unix/sysv/sco3.2.4/uname.S | 31 ++- sysdeps/unix/sysv/sco3.2.4/waitpid.S | 28 +-- sysdeps/unix/sysv/sysv4/i386/sys-sig.S | 28 +-- sysdeps/unix/sysv/sysv4/solaris2/fsync.S | 27 ++- sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S | 27 ++- sysdeps/vax/bsd-_setjmp.S | 28 +-- sysdeps/vax/bsd-setjmp.S | 28 +-- time/strftime.c | 4 +- 145 files changed, 2333 insertions(+), 2080 deletions(-) create mode 100644 sysdeps/mach/hurd/abi-tag.h diff --git a/ChangeLog b/ChangeLog index 34c7853faf..e2830571fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,201 @@ +1997-06-26 21:50 Ulrich Drepper + + * math/math.h: Move definition of macros for unordered comparison + after inclusion of . + * sysdeps/i386/fpu/bits/mathinline.h: Don't undef macros for + unordered comparison before definition. + * sysdeps/m68k/fpu/bits/mathinline.h: Likewise. + + * Makerules: Move definition of load-map-file before use. + (lib%.so): Depend on load-map-file, not lib%-map. + + * manual/lgpl.texinfo: Likewise. + +1997-06-24 09:40 Andreas Schwab + + * sysdeps/m68k/fpu/bits/mathinline.h: Don't define __ilogb. + * sysdeps/m68k/fpu/s_ilogb.c: Define it here. Handle zero, NaN + and infinity specially. + * sysdeps/m68k/fpu/s_ilogbf.c, sysdeps/m68k/fpu/s_ilogbl.c: + Adapted. + + * sysdeps/m68k/fpu/bits/mathdef.h (FP_ILOGB0): Correct value. + +1997-06-26 17:06 Ulrich Drepper + + * configure.in: Don't use .long in tests since some strange + platforms without binutils don't know this. + Redirect output of test commands correctly. + Patch by Klaus Espenlaub . + + * hurd/hurdsig.c (_hurdsig_init): Call _hurd_self_sigstate. + Patch by Kazumoto Kojima . + +1997-06-26 09:02 Fila Kolodny + + * sysdeps/mach/hurd/abi-tag.h: New file. + + * sysdeps/mach/bits/libc-lock.h: Add typedef for __libc_key_t. + * sysdeps/stub/bits/libc-lock.h: Likewise. + + * sysdeps/mach/hurd/accept.c (accept): Fix type of parameter addrarg. + Add variable addr containing the desired part of the union. + * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise. + * sysdeps/mach/hurd/getsockname.c (getsockname): Likewise. + * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise. + * sysdeps/mach/hurd/connect.c (__connect): Likewise. + * sysdeps/mach/hurd/bind.c (bind): Likewise. + + * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T + to sizeof(MACH_MSG_TYPE_INTEGER_T). + + * io/ftw.c (ftw_startup): Use PATH_MAX only if defined. + + * sysdeps/mach/hurd/open.c (__open): Fix type of parameter file. + + * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Add closefn to + paramater list since it is used. + + * sysdeps/mach/hurd/rename.c (rename): Fix type of paramater new. + + * sysdeps/mach/hurd/sigaltstack.c (sigaltstack): Change parameter from + ss to argss. + +1997-06-24 14:02 Andreas Jaeger + + * Rules: Update copyright. + * mach/Machrules: Likewise. + +1997-06-26 14:28 Ulrich Drepper + + * configure.in: Fix accidently removed AC_OUTPUT line. + Reported by Andreas Jaeger. + + * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is + defined. Reported by Akim Demaille . + + * sysdeps/generic/getdomain.c: Include handling for stub case. + This eliminated the only case of a function in generic and stub. + * sysdeps/stub/getdomain.c: Removed. + Patch by Zack Weinberg . + +1997-06-23 22:20 Andreas Jaeger + + * sysdeps/alpha/_mcount.S: Update and reformat copyright, + remove trailing white spaces and send through unexpand. + * sysdeps/alpha/bb_init_func.S: Likewise. + * sysdeps/alpha/bzero.S: Likewise. + * sysdeps/alpha/ffs.S: Likewise. + * sysdeps/alpha/memset.S: Likewise. + * sysdeps/alpha/s_fabs.S: Likewise. + * sysdeps/alpha/strcmp.S: Likewise. + * sysdeps/alpha/strlen.S: Likewise. + * sysdeps/alpha/strncmp.S: Likewise. + * sysdeps/alpha/strncpy.S: Likewise. + * sysdeps/alpha/strrchr.S: Likewise. + * sysdeps/alpha/stxcpy.S: Likewise. + * sysdeps/alpha/stxncpy.S: Likewise. + * sysdeps/alpha/elf/start.S: Likewise. + * sysdeps/i386/strchr.S: Likewise. + * sysdeps/m68k/bsd-_setjmp.S: Likewise. + * sysdeps/m68k/bsd-setjmp.S: Likewise. + * sysdeps/m68k/elf/start.S: Likewise. + * sysdeps/mach/alpha/syscall.S: Likewise. + * sysdeps/mach/i386/syscall.S: Likewise. + * sysdeps/mips/elf/start.S: Likewise. + * sysdeps/sparc/alloca.S: Likewise. + * sysdeps/standalone/i386/start.S: Likewise. + * sysdeps/standalone/i386/force_cpu386/strtsupp.S: Likewise. + * sysdeps/standalone/i960/start.S: Likewise. + * sysdeps/standalone/m68k/m68020/start.S: Likewise. + * sysdeps/unix/_exit.S: Likewise. + * sysdeps/unix/fork.S: Likewise. + * sysdeps/unix/getegid.S: Likewise. + * sysdeps/unix/geteuid.S: Likewise. + * sysdeps/unix/getppid.S: Likewise. + * sysdeps/unix/syscall.S: Likewise. + * sysdeps/unix/arm/brk.S: Likewise. + * sysdeps/unix/arm/fork.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/brk.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise. + * sysdeps/unix/bsd/hp/m68k/wait3.S: Likewise. + * sysdeps/unix/bsd/i386/vfork.S: Likewise. + * sysdeps/unix/bsd/i386/wait3.S: Likewise. + * sysdeps/unix/bsd/m68k/pipe.S: Likewise. + * sysdeps/unix/bsd/m68k/syscall.S: Likewise. + * sysdeps/unix/bsd/m68k/sysdep.S: Likewise. + * sysdeps/unix/bsd/m68k/wait.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/killpg.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/pipe.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/recv.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/send.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/sigblock.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/sigsetmask.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/sigvec.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/start.S: Likewise. + * sysdeps/unix/bsd/osf/alpha/vhangup.S: Likewise. + * sysdeps/unix/bsd/sequent/i386/getgroups.S: Likewise. + * sysdeps/unix/bsd/sequent/i386/sigvec.S: Likewise. + * sysdeps/unix/bsd/sequent/i386/syscall.S: Likewise. + * sysdeps/unix/bsd/sun/sigreturn.S: Likewise. + * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise. + * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise. + * sysdeps/unix/bsd/sun/m68k/syscall.S: Likewise. + * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise. + * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise. + * sysdeps/unix/bsd/ultrix4/wait3.S: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. + * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise. + * sysdeps/unix/bsd/vax/brk.S: Likewise. + * sysdeps/unix/bsd/vax/pipe.S: Likewise. + * sysdeps/unix/bsd/vax/sysdep.S: Likewise. + * sysdeps/unix/bsd/vax/vfork.S: Likewise. + * sysdeps/unix/bsd/vax/wait.S: Likewise. + * sysdeps/unix/bsd/vax/wait3.S: Likewise. + * sysdeps/unix/i386/brk.S: Likewise. + * sysdeps/unix/i386/fork.S: Likewise. + * sysdeps/unix/i386/pipe.S: Likewise. + * sysdeps/unix/i386/sigreturn.S: Likewise. + * sysdeps/unix/i386/syscall.S: Likewise. + * sysdeps/unix/i386/vfork.S: Likewise. + * sysdeps/unix/i386/wait.S: Likewise. + * sysdeps/unix/mips/brk.S: Likewise. + * sysdeps/unix/mips/fork.S: Likewise. + * sysdeps/unix/mips/pipe.S: Likewise. + * sysdeps/unix/mips/sigreturn.S: Likewise. + * sysdeps/unix/mips/sysdep.S: Likewise. + * sysdeps/unix/mips/wait.S: Likewise. + * sysdeps/unix/sparc/brk.S: Likewise. + * sysdeps/unix/sparc/fork.S: Likewise. + * sysdeps/unix/sparc/pipe.S: Likewise. + * sysdeps/unix/sparc/sysdep.S: Likewise. + * sysdeps/unix/sparc/vfork.S: Likewise. + * sysdeps/unix/sysv/i386/signal.S: Likewise. + * sysdeps/unix/sysv/i386/time.S: Likewise. + * sysdeps/unix/sysv/irix4/__handler.S: Likewise. + * sysdeps/unix/sysv/irix4/sigreturn.S: Likewise. + * sysdeps/unix/sysv/irix4/uname.S: Likewise. + * sysdeps/unix/sysv/irix4/wait.S: Likewise. + * sysdeps/unix/sysv/linux/alpha/pipe.S: Likewise. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise. + * sysdeps/unix/sysv/sco3.2.4/sigaction.S: Likewise. + * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise. + * sysdeps/unix/sysv/sco3.2.4/uname.S: Likewise. + * sysdeps/unix/sysv/sco3.2.4/waitpid.S: Likewise. + * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise. + * sysdeps/vax/bsd-_setjmp.S: Likewise. + * sysdeps/vax/bsd-setjmp.S: Likewise. + 1997-06-26 02:06 Ulrich Drepper * posix/Makefile (CFLAGS-regex.c): -DDEBUG was not meant for the diff --git a/Makerules b/Makerules index 20034e58da..d95a7e0b5c 100644 --- a/Makerules +++ b/Makerules @@ -331,12 +331,20 @@ endif ifeq (yes,$(build-shared)) +# Reference map file only when versioning is selected and a map file name +# is given. +ifeq ($(versioning),yes) +load-map-file = $($(@F:%.so=%)-map) +else +load-map-file = +endif + # Pattern rule to build a shared object from an archive of PIC objects. # This must come after the installation rules so Make doesn't try to # build shared libraries in place from the installed *_pic.a files. # $(LDLIBS-%.so) may contain -l switches to generate run-time dependencies # on other shared objects. -lib%.so: lib%_pic.a $(lib%-map); $(build-shlib) +lib%.so: lib%_pic.a $(load-map-file); $(build-shlib) ifeq ($(have-no-whole-archive),yes) no-whole-archive = -Wl,--no-whole-archive @@ -344,12 +352,6 @@ else no-whole-archive = endif -ifeq ($(versioning),yes) -load-map-file = $($(@F:%.so=%)-map) -else -load-map-file = -endif - interp-obj = $(common-objpfx)interp.so $(interp-obj): $(common-objpfx)%.so: $(..)%.c $(compile-command.c) diff --git a/Rules b/Rules index 89050bedf1..0531f0fcce 100644 --- a/Rules +++ b/Rules @@ -1,4 +1,4 @@ -# Copyright (C) 1991, 92, 93, 94, 95, 96 Free Software Foundation, Inc. +# Copyright (C) 1991, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -12,9 +12,9 @@ # Library General Public License for more details. # You should have received a copy of the GNU Library General Public -# License along with the GNU C Library; see the file COPYING.LIB. If -# not, write to the Free Software Foundation, Inc., 675 Mass Ave, -# Cambridge, MA 02139, USA. +# License along with the GNU C Library; see the file COPYING.LIB. If not, +# write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. # # Rules for making a subdirectory in the GNU C library. diff --git a/configure b/configure index 13545165ad..253d947776 100755 --- a/configure +++ b/configure @@ -1702,7 +1702,7 @@ for ac_globl in .globl .global; do cat > conftest.s </dev/null; then libc_cv_asm_global_directive=${ac_globl} @@ -1729,7 +1729,7 @@ if eval "test \"`echo '$''{'libc_cv_asm_set_directive'+set}'`\" = set"; then else cat > conftest.s <&5 2>&5; then if { ac_try='${CC-cc} $CFLAGS --shared -o conftest.so conftest.o - -Wl,--version-script,conftest.map'; { (eval echo configure:1797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; + -Wl,--version-script,conftest.map + 1>&5'; { (eval echo configure:1798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then libc_cv_ld_version_script_option=yes else @@ -1823,7 +1824,7 @@ fi if test $elf = yes; then echo $ac_n "checking for .previous assembler directive""... $ac_c" 1>&6 -echo "configure:1827: checking for .previous assembler directive" >&5 +echo "configure:1828: checking for .previous assembler directive" >&5 if eval "test \"`echo '$''{'libc_cv_asm_previous_directive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1831,7 +1832,7 @@ else .section foo_section .previous EOF - if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure:1835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then + if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure:1836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then libc_cv_asm_previous_directive=yes else libc_cv_asm_previous_directive=no @@ -1847,7 +1848,7 @@ EOF else echo $ac_n "checking for .popsection assembler directive""... $ac_c" 1>&6 -echo "configure:1851: checking for .popsection assembler directive" >&5 +echo "configure:1852: checking for .popsection assembler directive" >&5 if eval "test \"`echo '$''{'libc_cv_asm_popsection_directive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1855,7 +1856,7 @@ else .pushsection foo_section .popsection EOF - if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure:1859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then + if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure:1860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then libc_cv_asm_popsection_directive=yes else libc_cv_asm_popsection_directive=no @@ -1875,12 +1876,12 @@ fi if test $elf != yes; then echo $ac_n "checking for .init and .fini sections""... $ac_c" 1>&6 -echo "configure:1879: checking for .init and .fini sections" >&5 +echo "configure:1880: checking for .init and .fini sections" >&5 if eval "test \"`echo '$''{'libc_cv_have_initfini'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* libc_cv_have_initfini=yes else @@ -1914,19 +1915,19 @@ if test $elf = yes; then libc_cv_asm_underscores=no else echo $ac_n "checking for _ prefix on C symbol names""... $ac_c" 1>&6 -echo "configure:1918: checking for _ prefix on C symbol names" >&5 +echo "configure:1919: checking for _ prefix on C symbol names" >&5 if eval "test \"`echo '$''{'libc_cv_asm_underscores'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* libc_cv_asm_underscores=yes else @@ -1953,14 +1954,14 @@ if test $elf = yes; then libc_cv_asm_weakext_directive=no else echo $ac_n "checking for assembler .weak directive""... $ac_c" 1>&6 -echo "configure:1957: checking for assembler .weak directive" >&5 +echo "configure:1958: checking for assembler .weak directive" >&5 if eval "test \"`echo '$''{'libc_cv_asm_weak_directive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.s <&6 if test $libc_cv_asm_weak_directive = no; then echo $ac_n "checking for assembler .weakext directive""... $ac_c" 1>&6 -echo "configure:1980: checking for assembler .weakext directive" >&5 +echo "configure:1981: checking for assembler .weakext directive" >&5 if eval "test \"`echo '$''{'libc_cv_asm_weakext_directive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.s <&6 -echo "configure:2017: checking for ld --no-whole-archive" >&5 +echo "configure:2018: checking for ld --no-whole-archive" >&5 if eval "test \"`echo '$''{'libc_cv_ld_no_whole_archive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2024,7 +2025,7 @@ __throw () {} EOF if { ac_try='${CC-cc} $CFLAGS -nostdlib -nostartfiles -Wl,--no-whole-archive - -o conftest conftest.c'; { (eval echo configure:2028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then + -o conftest conftest.c 1>&5'; { (eval echo configure:2029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then libc_cv_ld_no_whole_archive=yes else libc_cv_ld_no_whole_archive=no @@ -2035,7 +2036,7 @@ fi echo "$ac_t""$libc_cv_ld_no_whole_archive" 1>&6 echo $ac_n "checking for gcc -fno-exceptions""... $ac_c" 1>&6 -echo "configure:2039: checking for gcc -fno-exceptions" >&5 +echo "configure:2040: checking for gcc -fno-exceptions" >&5 if eval "test \"`echo '$''{'libc_cv_gcc_no_exceptions'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2046,7 +2047,7 @@ __throw () {} EOF if { ac_try='${CC-cc} $CFLAGS -nostdlib -nostartfiles -fno-exceptions - -o conftest conftest.c'; { (eval echo configure:2050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then + -o conftest conftest.c 1>&5'; { (eval echo configure:2051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then libc_cv_gcc_no_exceptions=yes else libc_cv_gcc_no_exceptions=no @@ -2098,7 +2099,7 @@ if test "$uname" = "sysdeps/generic"; then fi echo $ac_n "checking OS release for uname""... $ac_c" 1>&6 -echo "configure:2102: checking OS release for uname" >&5 +echo "configure:2103: checking OS release for uname" >&5 if eval "test \"`echo '$''{'libc_cv_uname_release'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2120,7 +2121,7 @@ echo "$ac_t""$libc_cv_uname_release" 1>&6 uname_release="$libc_cv_uname_release" echo $ac_n "checking OS version for uname""... $ac_c" 1>&6 -echo "configure:2124: checking OS version for uname" >&5 +echo "configure:2125: checking OS version for uname" >&5 if eval "test \"`echo '$''{'libc_cv_uname_version'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2142,7 +2143,7 @@ else fi echo $ac_n "checking stdio selection""... $ac_c" 1>&6 -echo "configure:2146: checking stdio selection" >&5 +echo "configure:2147: checking stdio selection" >&5 case $stdio in libio) cat >> confdefs.h <<\EOF diff --git a/configure.in b/configure.in index 150843c54b..e734a9b876 100644 --- a/configure.in +++ b/configure.in @@ -464,7 +464,7 @@ for ac_globl in .globl .global; do cat > conftest.s </dev/null; then libc_cv_asm_global_directive=${ac_globl} @@ -481,7 +481,7 @@ fi AC_CACHE_CHECK(for .set assembler directive, libc_cv_asm_set_directive, [dnl cat > conftest.s <&AC_FD_CC 2>&AC_FD_CC; then if AC_TRY_COMMAND([${CC-cc} $CFLAGS --shared -o conftest.so conftest.o - -Wl,--version-script,conftest.map]); + -Wl,--version-script,conftest.map + 1>&AC_FD_CC]); then libc_cv_ld_version_script_option=yes else @@ -619,7 +620,7 @@ else cat > conftest.s < conftest.s <&AC_FD_CC]); then libc_cv_ld_no_whole_archive=yes else libc_cv_ld_no_whole_archive=no @@ -683,7 +684,7 @@ EOF dnl No \ in command here because it ends up inside ''. if AC_TRY_COMMAND([${CC-cc} $CFLAGS -nostdlib -nostartfiles -fno-exceptions - -o conftest conftest.c]); then + -o conftest conftest.c 1>&AC_FD_CC]); then libc_cv_gcc_no_exceptions=yes else libc_cv_gcc_no_exceptions=no @@ -833,5 +834,5 @@ fi VERSION=`sed -e 's/^#define VERSION "\([^"]*\)"/\1/p' -e d < $srcdir/version.h` AC_SUBST(VERSION) +AC_OUTPUT(config.make glibcbug ${config_makefile} ${config_uname}, , [echo '$config_vars' >> config.make; test -d bits || mkdir bits]) - [echo '$config_vars' >> config.make]) diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index f50daa2f8f..81c109c08b 100644 --- a/hurd/hurdsig.c +++ b/hurd/hurdsig.c @@ -1214,6 +1214,8 @@ _hurdsig_init (void) err = __thread_resume (_hurd_msgport_thread); assert_perror (err); + (void) _hurd_self_sigstate (); + /* Receive exceptions on the signal port. */ __task_set_special_port (__mach_task_self (), TASK_EXCEPTION_PORT, _hurd_msgport); diff --git a/io/ftw.c b/io/ftw.c index c53773d0c1..f7e336541d 100644 --- a/io/ftw.c +++ b/io/ftw.c @@ -462,7 +462,11 @@ ftw_startup (const char *dir, int is_nftw, void *func, int descriptors, * sizeof (struct dir_data *)); memset (data.dirstreams, '\0', data.maxdir * sizeof (struct dir_data *)); +#ifdef PATH_MAX data.dirbufsize = MAX (2 * strlen (dir), PATH_MAX); +#else + data.dirbufsize = 2 * strlen (dir); +#endif data.dirbuf = (char *) malloc (data.dirbufsize); if (data.dirbuf == NULL) return -1; diff --git a/mach/Machrules b/mach/Machrules index 47b74aa7b5..ef2d306b80 100644 --- a/mach/Machrules +++ b/mach/Machrules @@ -14,9 +14,9 @@ # Library General Public License for more details. # You should have received a copy of the GNU Library General Public -# License along with the GNU C Library; see the file COPYING.LIB. If -# not, write to the Free Software Foundation, Inc., 675 Mass Ave, -# Cambridge, MA 02139, USA. +# License along with the GNU C Library; see the file COPYING.LIB. If not, +# write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. # Makefiles may define these variable before including this file: # user-interfaces Names of interfaces to put user stubs in for. diff --git a/manual/lgpl.texinfo b/manual/lgpl.texinfo index 8ba7317fe0..f5d97a8d3d 100644 --- a/manual/lgpl.texinfo +++ b/manual/lgpl.texinfo @@ -12,7 +12,8 @@ @display Copyright @copyright{} 1991 Free Software Foundation, Inc. -675 Mass Ave, Cambridge, MA 02139, USA +59 Temple Place -- Suite 330, Boston, MA 02111-1307, USA + Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -524,9 +525,9 @@ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. -You should have received a copy of the GNU Library General Public -License along with this library; if not, write to the Free Software -Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. @end smallexample Also add information on how to contact you by electronic and paper mail. diff --git a/math/math.h b/math/math.h index d98c221e45..713b3d5416 100644 --- a/math/math.h +++ b/math/math.h @@ -194,29 +194,6 @@ extern long long int llrint __P ((long double __x)); extern long int lround __P ((long double __x)); extern long long int llround __P ((long double __x)); - -/* Comparison macros. */ - -/* Return nonzero value if X is greater than Y. */ -# define isgreater(x, y) (!isunordered ((x), (y)) && (x) > (y)) - -/* Return nonzero value if X is greater than or equal to Y. */ -# define isgreaterequal(x, y) (!isunordered ((x), (y)) && (x) >= (y)) - -/* Return nonzero value if X is less than Y. */ -# define isless(x, y) (!isunordered ((x), (y)) && (x) < (y)) - -/* Return nonzero value if X is less than or equal to Y. */ -# define islessequal(x, y) (!isunordered ((x), (y)) && (x) <= (y)) - -/* Return nonzero value if either X is less than Y or Y is less than X. */ -# define islessgreater(x, y) \ - (!isunordered ((x), (y)) && ((x) < (y) || (y) < (x))) - -/* Return nonzero value if arguments are unordered. */ -# define isunordered(x, y) \ - (fpclassify (x) == FP_NAN || fpclassify (y) == FP_NAN) - #endif /* Use ISO C 9X. */ #ifdef __USE_MISC @@ -327,6 +304,46 @@ extern int matherr __P ((struct exception *__exc)); #endif +#if __USE_ISOC9X +/* ISO C 9X defines some macros to compare number while taking care + for unordered numbers. Since many FPUs provide special + instructions to support these and these tests are defined in + , we define the macros at this late point. */ + +/* Return nonzero value if X is greater than Y. */ +# ifndef isgreater +# define isgreater(x, y) (!isunordered ((x), (y)) && (x) > (y)) +# endif + +/* Return nonzero value if X is greater than or equal to Y. */ +# ifndef isgreaterequal +# define isgreaterequal(x, y) (!isunordered ((x), (y)) && (x) >= (y)) +# endif + +/* Return nonzero value if X is less than Y. */ +# ifndef isless +# define isless(x, y) (!isunordered ((x), (y)) && (x) < (y)) +# endif + +/* Return nonzero value if X is less than or equal to Y. */ +# ifndef islessequal +# define islessequal(x, y) (!isunordered ((x), (y)) && (x) <= (y)) +# endif + +/* Return nonzero value if either X is less than Y or Y is less than X. */ +# ifndef islessgreater +# define islessgreater(x, y) \ + (!isunordered ((x), (y)) && ((x) < (y) || (y) < (x))) +# endif + +/* Return nonzero value if arguments are unordered. */ +# ifndef isunordered +# define isunordered(x, y) \ + (fpclassify (x) == FP_NAN || fpclassify (y) == FP_NAN) +# endif + +#endif + __END_DECLS diff --git a/sysdeps/alpha/_mcount.S b/sysdeps/alpha/_mcount.S index 6c4af3f233..f4c234db38 100644 --- a/sysdeps/alpha/_mcount.S +++ b/sysdeps/alpha/_mcount.S @@ -1,37 +1,37 @@ /* Machine-specific calling sequence for `mcount' profiling function. alpha -Copyright (C) 1995, 1996 Free Software Foundation, Inc. -Contributed by David Mosberger (davidm@cs.arizona.edu). -This file is part of the GNU C Library. + Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. + Contributed by David Mosberger (davidm@cs.arizona.edu). + This file is part of the GNU C Library. -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. -The GNU C Library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ /* Assembly stub to invoke _mcount(). Compiler generated code calls -this stub after executing a function's prologue and without saving any -registers. It is therefore necessary to preserve a0..a5 as they may -contain function arguments. To work correctly with frame- less -functions, it is also necessary to preserve ra. Finally, division -routines are invoked with a special calling convention and the -compiler treats those calls as if they were instructions. In -particular, it doesn't save any of the temporary registers (caller -saved registers). It is therefore necessary to preserve all -caller-saved registers as well - -Upon entering _mcount, register $at holds the return address and ra -holds the return address of the function's caller (selfpc and frompc, -respectively in gmon.c language...). */ + this stub after executing a function's prologue and without saving any + registers. It is therefore necessary to preserve a0..a5 as they may + contain function arguments. To work correctly with frame- less + functions, it is also necessary to preserve ra. Finally, division + routines are invoked with a special calling convention and the + compiler treats those calls as if they were instructions. In + particular, it doesn't save any of the temporary registers (caller + saved registers). It is therefore necessary to preserve all + caller-saved registers as well + + Upon entering _mcount, register $at holds the return address and ra + holds the return address of the function's caller (selfpc and frompc, + respectively in gmon.c language...). */ #include diff --git a/sysdeps/alpha/bb_init_func.S b/sysdeps/alpha/bb_init_func.S index dcd4eac231..779cd25a16 100644 --- a/sysdeps/alpha/bb_init_func.S +++ b/sysdeps/alpha/bb_init_func.S @@ -1,27 +1,26 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. Contributed by David Mosberger (davidm@cs.arizona.edu). + This file is part of the GNU C Library. -This file is part of the GNU C Library. + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. -The GNU C Library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ /* __bb_init_func is invoked at the beginning of each function, before -any registers have been saved. It is therefore safe to use any -caller-saved (call-used) registers (except for argument registers -a1-a5). */ + any registers have been saved. It is therefore safe to use any + caller-saved (call-used) registers (except for argument registers + a1-a5). */ #include diff --git a/sysdeps/alpha/bzero.S b/sysdeps/alpha/bzero.S index c614fc1a6e..b70ade6a6d 100644 --- a/sysdeps/alpha/bzero.S +++ b/sysdeps/alpha/bzero.S @@ -1,22 +1,21 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) - -This file is part of the GNU C Library. - -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. - -The GNU C Library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ /* Fill a block of memory with zeros. Optimized for the Alpha architecture: diff --git a/sysdeps/alpha/elf/start.S b/sysdeps/alpha/elf/start.S index c8b374afe5..a67a39a49f 100644 --- a/sysdeps/alpha/elf/start.S +++ b/sysdeps/alpha/elf/start.S @@ -1,21 +1,22 @@ /* Startup code for Alpha/ELF. -Copyright (C) 1993, 1995, 1996 Free Software Foundation, Inc. -Contributed by Richard Henderson - -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. - -The GNU C Library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + Copyright (C) 1993, 1995, 1996, 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Richard Henderson + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ #include diff --git a/sysdeps/alpha/ffs.S b/sysdeps/alpha/ffs.S index 959d1046d4..23dff6e06b 100644 --- a/sysdeps/alpha/ffs.S +++ b/sysdeps/alpha/ffs.S @@ -1,30 +1,29 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. Contributed by David Mosberger (davidm@cs.arizona.edu). + This file is part of the GNU C Library. -This file is part of the GNU C Library. + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. -The GNU C Library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ /* Finds the first bit set in an integer. Optimized for the Alpha -architecture. */ + architecture. */ #include - .set noreorder - .set noat + .set noreorder + .set noat ENTRY(ffs) #ifdef PROF @@ -38,36 +37,36 @@ ENTRY(ffs) ldq_u zero, 0(sp) # on the 21064, this helps dual-issuing addl a0, zero, a0 # the last insn and reduces the stall - negq a0, t0 # due to the srl instruction - and a0, t0, t0 + negq a0, t0 # due to the srl instruction + and a0, t0, t0 clr v0 beq a0, $done # now do binary search for first non-zero bit zapnot t0, 0x03, t2 - addq v0, 16, t3 - cmoveq t2, t3, v0 + addq v0, 16, t3 + cmoveq t2, t3, v0 zapnot t0, 0x05, t2 - addq v0, 8, t3 - cmoveq t2, t3, v0 + addq v0, 8, t3 + cmoveq t2, t3, v0 srl t0, v0, t0 addq v0, 1, v0 - and t0, 0x0f, t2 - addq v0, 4, t3 - cmoveq t2, t3, v0 + and t0, 0x0f, t2 + addq v0, 4, t3 + cmoveq t2, t3, v0 - and t0, 0x33, t2 - addq v0, 2, t3 - cmoveq t2, t3, v0 + and t0, 0x33, t2 + addq v0, 2, t3 + cmoveq t2, t3, v0 - and t0, 0x55, t2 - addq v0, 1, t3 - cmoveq t2, t3, v0 + and t0, 0x55, t2 + addq v0, 1, t3 + cmoveq t2, t3, v0 $done: ret - END(ffs) + END(ffs) diff --git a/sysdeps/alpha/memset.S b/sysdeps/alpha/memset.S index 2b29357c6e..6ee99c204d 100644 --- a/sysdeps/alpha/memset.S +++ b/sysdeps/alpha/memset.S @@ -1,22 +1,21 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) - -This file is part of the GNU C Library. - -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. - -The GNU C Library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ /* Fill a block of memory with a character. Optimized for the Alpha architecture: diff --git a/sysdeps/alpha/s_fabs.S b/sysdeps/alpha/s_fabs.S index 75976333f9..e5992ad90c 100644 --- a/sysdeps/alpha/s_fabs.S +++ b/sysdeps/alpha/s_fabs.S @@ -1,21 +1,21 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. -Contributed by David Mosberger +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by David Mosberger -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. -The GNU C Library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ #include diff --git a/sysdeps/alpha/strcmp.S b/sysdeps/alpha/strcmp.S index 7dcae04ea4..8633a6cb56 100644 --- a/sysdeps/alpha/strcmp.S +++ b/sysdeps/alpha/strcmp.S @@ -1,6 +1,5 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) - This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -14,9 +13,9 @@ Library General Public License for more details. You should have received a copy of the GNU Library General Public - License along with the GNU C Library; see the file COPYING.LIB. If - not, write to the Free Software Foundation, Inc., 675 Mass Ave, - Cambridge, MA 02139, USA. */ + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ /* Bytewise compare two null-terminated strings. */ @@ -178,7 +177,7 @@ $eos: beq v0, $done # .. e1 : /* Here we have two differing co-aligned words in t0 & t1. - Bytewise compare them and return (t0 > t1 ? 1 : -1). */ + Bytewise compare them and return (t0 > t1 ? 1 : -1). */ $wordcmp: cmpbge t0, t1, t2 # e0 : comparison yields bit mask of ge cmpbge t1, t0, t3 # .. e1 : diff --git a/sysdeps/alpha/strlen.S b/sysdeps/alpha/strlen.S index 026c8addc2..60be29cf8b 100644 --- a/sysdeps/alpha/strlen.S +++ b/sysdeps/alpha/strlen.S @@ -1,22 +1,21 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. Contributed by David Mosberger (davidm@cs.arizona.edu). + This file is part of the GNU C Library. -This file is part of the GNU C Library. + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. -The GNU C Library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ /* Finds length of a 0-terminated string. Optimized for the Alpha architecture: diff --git a/sysdeps/alpha/strncmp.S b/sysdeps/alpha/strncmp.S index a6c6c61213..12e44e4405 100644 --- a/sysdeps/alpha/strncmp.S +++ b/sysdeps/alpha/strncmp.S @@ -1,6 +1,5 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) - This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -14,9 +13,9 @@ Library General Public License for more details. You should have received a copy of the GNU Library General Public - License along with the GNU C Library; see the file COPYING.LIB. If