diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-03-19 14:32:08 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-03-19 14:32:08 +0000 |
commit | 838e5ffe9e0071859b635151729192dedbf104a7 (patch) | |
tree | 0886a5307590f0c708c9d1f7dfab853de0dc26b0 /sysdeps | |
parent | 7551a1e5100c596793fa182cd26346ff971d3a4f (diff) | |
download | glibc-838e5ffe9e0071859b635151729192dedbf104a7.tar glibc-838e5ffe9e0071859b635151729192dedbf104a7.tar.gz glibc-838e5ffe9e0071859b635151729192dedbf104a7.tar.bz2 glibc-838e5ffe9e0071859b635151729192dedbf104a7.zip |
Update.cvs/libc-ud-980319
1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
weak alias.
* sysdeps/i386/strtok_r.c: Likewise.
* sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
* sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
* sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
* sysdeps/libm-i387/i686/s_fmin.S: Likewise.
* sysdeps/libm-i387/i686/s_fminf.S: Likewise.
* sysdeps/libm-i387/i686/s_fminl.S: Likewise.
1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* intl/localealias.c: Remove unneeded define for strdup.
1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com>
* manual/argp.texi: Adjust for better TeX output.
* manual/arith.texi: Likewise.
* manual/conf.texi: Likewise.
* manual/filesys.texi: Likewise.
* manual/header.texi: Likewise.
* manual/lgpl.texinfo: Likewise.
* manual/math.texi: Likewise.
* manual/message.texi: Likewise.
* manual/pattern.texi: Likewise.
* manual/process.texi: Likewise.
* manual/signal.texi: Likewise.
* manual/socket.texi: Likewise.
* manual/startup.texi: Likewise.
* manual/stdio.texi: Likewise.
* manual/terminal.texi: Likewise.
* manual/examples/rprintf.c: Likewise.
* manual/examples/testopt.c: Likewise.
Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp.c (parse_param): Don't immediately stop parsing a
parameter name after seeing a digit if it's enclosed in braces.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/strtok_r.c | 5 | ||||
-rw-r--r-- | sysdeps/i386/i686/Implies | 1 | ||||
-rw-r--r-- | sysdeps/i386/strtok_r.S | 3 | ||||
-rw-r--r-- | sysdeps/libm-i387/i686/s_fdim.S | 7 | ||||
-rw-r--r-- | sysdeps/libm-i387/i686/s_fdimf.S | 7 | ||||
-rw-r--r-- | sysdeps/libm-i387/i686/s_fdiml.S | 7 | ||||
-rw-r--r-- | sysdeps/libm-i387/i686/s_fmin.S | 4 | ||||
-rw-r--r-- | sysdeps/libm-i387/i686/s_fminf.S | 4 | ||||
-rw-r--r-- | sysdeps/libm-i387/i686/s_fminl.S | 4 |
9 files changed, 24 insertions, 18 deletions
diff --git a/sysdeps/generic/strtok_r.c b/sysdeps/generic/strtok_r.c index 44430dae40..26d7da5176 100644 --- a/sysdeps/generic/strtok_r.c +++ b/sysdeps/generic/strtok_r.c @@ -1,5 +1,5 @@ /* Reentrant string tokenizer. Generic version. - Copyright (C) 1991, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1991, 1996, 1997, 1998 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 @@ -32,7 +32,7 @@ // s = "abc\0-def\0" */ char * -strtok_r (s, delim, save_ptr) +__strtok_r (s, delim, save_ptr) char *s; const char *delim; char **save_ptr; @@ -61,3 +61,4 @@ strtok_r (s, delim, save_ptr) } return token; } +weak_alias (__strtok_r, strtok_r) diff --git a/sysdeps/i386/i686/Implies b/sysdeps/i386/i686/Implies index b5c05ec7f2..5e3b4cb5e7 100644 --- a/sysdeps/i386/i686/Implies +++ b/sysdeps/i386/i686/Implies @@ -2,3 +2,4 @@ # not really good to use heavily i586 optimized code on a i686. It's # better to use i486/i386 code. i386/i486 +libm-i387/i686 diff --git a/sysdeps/i386/strtok_r.S b/sysdeps/i386/strtok_r.S index 297ba282ac..c048e41cb6 100644 --- a/sysdeps/i386/strtok_r.S +++ b/sysdeps/i386/strtok_r.S @@ -1,3 +1,4 @@ -#define FUNCTION strtok_r +#define FUNCTION __strtok_r #define USE_AS_STRTOK_R 1 #include <sysdeps/i386/strtok.S> +weak_alias (__strtok_r, strtok_r) diff --git a/sysdeps/libm-i387/i686/s_fdim.S b/sysdeps/libm-i387/i686/s_fdim.S index 1ecae61aa9..3f9f61b57d 100644 --- a/sysdeps/libm-i387/i686/s_fdim.S +++ b/sysdeps/libm-i387/i686/s_fdim.S @@ -1,5 +1,5 @@ /* Compute positive difference. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -30,11 +30,12 @@ ENTRY(__fdim) fsubp %st(1), %st fldz - fcmovnb %st(1), %st + fcomi %st(1), %st + fcmovb %st(1), %st jmp 2f 1: fucomi %st(0), %st - fcmovu %st, %st(1) + fcmovnu %st(1), %st 2: fstp %st(1) ret END(__fdim) diff --git a/sysdeps/libm-i387/i686/s_fdimf.S b/sysdeps/libm-i387/i686/s_fdimf.S index 0d2ef3cc1a..8b5cec6a3b 100644 --- a/sysdeps/libm-i387/i686/s_fdimf.S +++ b/sysdeps/libm-i387/i686/s_fdimf.S @@ -1,5 +1,5 @@ /* Compute positive difference. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -30,11 +30,12 @@ ENTRY(__fdimf) fsubp %st(1), %st fldz - fcmovnb %st(1), %st + fcomi %st(1), %st + fcmovb %st(1), %st jmp 2f 1: fucomi %st(0), %st - fcmovu %st, %st(1) + fcmovnu %st(1), %st 2: fstp %st(1) ret END(__fdimf) diff --git a/sysdeps/libm-i387/i686/s_fdiml.S b/sysdeps/libm-i387/i686/s_fdiml.S index 94510df756..e9f0535a3a 100644 --- a/sysdeps/libm-i387/i686/s_fdiml.S +++ b/sysdeps/libm-i387/i686/s_fdiml.S @@ -1,5 +1,5 @@ /* Compute positive difference. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -30,11 +30,12 @@ ENTRY(__fdiml) fsubp %st(1), %st fldz - fcmovnb %st(1), %st + fcomi %st(1), %st + fcmovb %st(1), %st jmp 2f 1: fucomi %st(0), %st - fcmovu %st, %st(1) + fcmovnu %st(1), %st 2: fstp %st(1) ret END(__fdiml) diff --git a/sysdeps/libm-i387/i686/s_fmin.S b/sysdeps/libm-i387/i686/s_fmin.S index 9df029996d..383e9579f6 100644 --- a/sysdeps/libm-i387/i686/s_fmin.S +++ b/sysdeps/libm-i387/i686/s_fmin.S @@ -1,5 +1,5 @@ /* Compute minimum of two numbers, regarding NaN as missing argument. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -29,7 +29,7 @@ ENTRY(__fmin) fcmovu %st(1), %st // now %st contains y if not NaN, x otherwise fucomi %st(1), %st - fcmovb %st(1), %st + fcmovnb %st(1), %st fstp %st(1) diff --git a/sysdeps/libm-i387/i686/s_fminf.S b/sysdeps/libm-i387/i686/s_fminf.S index a1d1497c15..f3dae00377 100644 --- a/sysdeps/libm-i387/i686/s_fminf.S +++ b/sysdeps/libm-i387/i686/s_fminf.S @@ -1,5 +1,5 @@ /* Compute minimum of two numbers, regarding NaN as missing argument. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -29,7 +29,7 @@ ENTRY(__fminf) fcmovu %st(1), %st // now %st contains y if not NaN, x otherwise fucomi %st(1), %st - fcmovb %st(1), %st + fcmovnb %st(1), %st fstp %st(1) diff --git a/sysdeps/libm-i387/i686/s_fminl.S b/sysdeps/libm-i387/i686/s_fminl.S index 089be40bd4..f125531112 100644 --- a/sysdeps/libm-i387/i686/s_fminl.S +++ b/sysdeps/libm-i387/i686/s_fminl.S @@ -1,5 +1,5 @@ /* Compute minimum of two numbers, regarding NaN as missing argument. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -29,7 +29,7 @@ ENTRY(__fminl) fcmovu %st(1), %st // now %st contains y if not NaN, x otherwise fucomi %st(1), %st - fcmovb %st(1), %st + fcmovnb %st(1), %st fstp %st(1) |