about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-02-16 09:39:12 +0000
committerUlrich Drepper <drepper@redhat.com>1999-02-16 09:39:12 +0000
commitd112ae3080c54e6274513ad4b70e2e67507c2dcb (patch)
tree1ffb5f008f46aa5a5e45b99a6402f012285c84a1
parent3bbe74166d1161bdc1cab9c198ac4030b8c6d574 (diff)
downloadglibc-d112ae3080c54e6274513ad4b70e2e67507c2dcb.tar.gz
glibc-d112ae3080c54e6274513ad4b70e2e67507c2dcb.tar.xz
glibc-d112ae3080c54e6274513ad4b70e2e67507c2dcb.zip
Update.
1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>

	* stdio-common/_itoa.c (_itoa): Correct parameters to
	udiv_qrnnd_preinv.

1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* 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  <aj@arthur.rhein-neckar.de>

	* sysdeps/mips/fpu_control.h: Fix typo.
	Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
	Remove __setfpucw.
-rw-r--r--ChangeLog17
-rw-r--r--misc/sys/cdefs.h3
-rw-r--r--stdio-common/_itoa.c8
3 files changed, 23 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index cf92a065b9..c4894b1ced 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
+
+	* stdio-common/_itoa.c (_itoa): Correct parameters to
+	udiv_qrnnd_preinv.
+
+1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+	* 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  <aj@arthur.rhein-neckar.de>
+
+	* sysdeps/mips/fpu_control.h: Fix typo.
+	Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
+	Remove __setfpucw.
+
 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
 
 	* 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 24d5f315b7..bc8d7c5cdb 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 72949ea8fb..af4836036f 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 <tege@matematik.su.se>
-   and Ulrich Drepper <drepper@gnu.ai.mit.edu>.
+   and Ulrich Drepper <drepper@gnu.org>.
 
    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;