Author: aurel32 Date: 2010-01-15 15:50:03 +0000 (Fri, 15 Jan 2010) New Revision: 4085
Added: glibc-package/trunk/debian/patches/sh4/submitted-set_fpscr.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: * Add patches/sh4/submitted-set_fpscr.diff to add __set_fpscr() prototype. Closes: #565369. Modified: glibc-package/trunk/debian/changelog =================================================================== --- glibc-package/trunk/debian/changelog 2010-01-15 15:47:15 UTC (rev 4084) +++ glibc-package/trunk/debian/changelog 2010-01-15 15:50:03 UTC (rev 4085) @@ -6,6 +6,8 @@ in some tests. * Add patches/any/cvs-malloc_info-init.diff to fix malloc_info() with no malloc() done. Closes: #562679. + * Add patches/sh4/submitted-set_fpscr.diff to add __set_fpscr() prototype. + Closes: #565369. [ Samuel Thibault ] * patches/hurd-i386/local-pthread.diff: New hurd-only patch to provide @@ -18,7 +20,7 @@ * patches/hurd-i386/submitted-net.diff: New patch to factorize net/ files between Linux and Hurd. - -- Aurelien Jarno <aure...@debian.org> Fri, 15 Jan 2010 15:22:50 +0100 + -- Aurelien Jarno <aure...@debian.org> Fri, 15 Jan 2010 16:49:26 +0100 eglibc (2.10.2-5) unstable; urgency=low Modified: glibc-package/trunk/debian/patches/series =================================================================== --- glibc-package/trunk/debian/patches/series 2010-01-15 15:47:15 UTC (rev 4084) +++ glibc-package/trunk/debian/patches/series 2010-01-15 15:50:03 UTC (rev 4085) @@ -141,6 +141,7 @@ s390/submitted-siginfo.diff sh4/local-fpscr_values.diff +sh4/submitted-set_fpscr.diff sparc/local-fork.diff sparc/local-sparcv9-target.diff Added: glibc-package/trunk/debian/patches/sh4/submitted-set_fpscr.diff =================================================================== --- glibc-package/trunk/debian/patches/sh4/submitted-set_fpscr.diff (rev 0) +++ glibc-package/trunk/debian/patches/sh4/submitted-set_fpscr.diff 2010-01-15 15:50:03 UTC (rev 4085) @@ -0,0 +1,17 @@ +--- a/sysdeps/sh/sh4/fpu/fpu_control.h ++++ b/sysdeps/sh/sh4/fpu/fpu_control.h +@@ -45,6 +45,14 @@ + #define _FPU_GETCW(cw) __asm__ ("sts fpscr,%0" : "=r" (cw)) + + #if defined __GNUC__ ++/* Allow the use in C++ code. */ ++#ifdef __cplusplus ++extern "C" { ++#endif ++extern void __set_fpscr(unsigned long); ++#ifdef __cplusplus ++} ++#endif /* C++ */ + #define _FPU_SETCW(cw) __set_fpscr ((cw)) + #else + #define _FPU_SETCW(cw) __asm__ ("lds %0,fpscr" : : "r" (cw)) -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org