[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patches] Merge fix for building with recent binutils
- To: patches@xxxxxxxxxx
- Subject: [patches] Merge fix for building with recent binutils
- From: "Joseph S. Myers" <joseph@xxxxxxxxxxxxxxxx>
- Date: Sun, 17 Feb 2008 15:00:40 +0000 (UTC)
I've merged this for for building on x86 with recent binutils HEAD to
EGLIBC trunk/2.7/2.6/2.5.
2008-02-17 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
Backport:
2008-01-12 H.J. Lu <hongjiu.lu@xxxxxxxxx>
* sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Use short for fnstsw.
Index: sysdeps/i386/fpu/ftestexcept.c
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/i386/fpu/ftestexcept.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sysdeps/i386/fpu/ftestexcept.c 5 Mar 2004 10:14:48 -0000 1.5
+++ sysdeps/i386/fpu/ftestexcept.c 22 Jan 2008 18:36:15 -0000 1.6
@@ -26,7 +26,7 @@
int
fetestexcept (int excepts)
{
- int temp;
+ short temp;
int xtemp = 0;
/* Get current exceptions. */
--
Joseph S. Myers
joseph@xxxxxxxxxxxxxxxx