From d112ae3080c54e6274513ad4b70e2e67507c2dcb Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 16 Feb 1999 09:39:12 +0000 Subject: [PATCH] Update. 1999-02-15 Geoff Keating * stdio-common/_itoa.c (_itoa): Correct parameters to udiv_qrnnd_preinv. 1999-02-14 Andreas Jaeger * misc/sys/cdefs.h: Undefine __PMT since it might be defined before (e.g. in glob.h). Closes PR libc/959. 1999-02-16 Andreas Jaeger * sysdeps/mips/fpu_control.h: Fix typo. Patch by Sylvain Pion . Remove __setfpucw. --- ChangeLog | 17 +++++++++++++++++ misc/sys/cdefs.h | 3 ++- stdio-common/_itoa.c | 8 ++++---- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index cf92a06..c4894b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +1999-02-15 Geoff Keating + + * stdio-common/_itoa.c (_itoa): Correct parameters to + udiv_qrnnd_preinv. + +1999-02-14 Andreas Jaeger + + * misc/sys/cdefs.h: Undefine __PMT since it might be defined + before (e.g. in glob.h). + Closes PR libc/959. + +1999-02-16 Andreas Jaeger + + * sysdeps/mips/fpu_control.h: Fix typo. + Patch by Sylvain Pion . + Remove __setfpucw. + 1999-02-10 Roland McGrath * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h index 24d5f31..bc8d7c5 100644 --- a/misc/sys/cdefs.h +++ b/misc/sys/cdefs.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1992, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc. +/* Copyright (C) 1992,93,94,95,96,97,98,99 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 @@ -26,6 +26,7 @@ /* Some user header file might have defined this before. */ #undef __P +#undef __PMT #ifdef __GNUC__ diff --git a/stdio-common/_itoa.c b/stdio-common/_itoa.c index 72949ea..af48360 100644 --- a/stdio-common/_itoa.c +++ b/stdio-common/_itoa.c @@ -1,8 +1,8 @@ /* Internal function for converting integers to ASCII. - Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1994, 1995, 1996, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Torbjorn Granlund - and Ulrich Drepper . + and Ulrich Drepper . 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 @@ -285,7 +285,7 @@ _itoa (value, buflim, base, upper_case) xl = ((mp_limb_t) value) << big_normalization_steps; udiv_qrnnd_preinv (x1lo, x, r, xl, big_base_norm, - big_normalization_steps); + brec->big.base_ninv); t[2] = x >> big_normalization_steps; if (big_normalization_steps == 0) @@ -295,7 +295,7 @@ _itoa (value, buflim, base, upper_case) | (x1lo >> (32 - big_normalization_steps))); xl = x1lo << big_normalization_steps; udiv_qrnnd_preinv (t[0], x, xh, xl, big_base_norm, - big_normalization_steps); + brec->big.base_ninv); t[1] = x >> big_normalization_steps; #elif UDIV_NEEDS_NORMALIZATION mp_limb_t x, xh, xl; -- 2.7.4