]> sourceware.org Git - glibc.git/commitdiff
Provide a __set_fpscr prototype.
authorMike Frysinger <vapier@gentoo.org>
Sun, 13 Dec 2009 17:42:52 +0000 (09:42 -0800)
committerUlrich Drepper <drepper@redhat.com>
Sun, 13 Dec 2009 17:42:52 +0000 (09:42 -0800)
ChangeLog
sysdeps/sh/sh4/fpu/fpu_control.h

index 85cbc12cb9b6b021e309b25a92a56c010047f8fe..93602d1935a3af3ba011395b209d6e445390c676 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-12-01  Mike Frysinger  <vapier@gentoo.org>
+
+       * sysdeps/sh/sh4/fpu/fpu_control.h (__set_fpscr): New prototype.
+
 2009-12-11  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Redefine O_SYNC and
index 43eb9e549289656db729d5f5a693496bacabd748..d1be46d12fcec7e1c4feb9e10c1b4e3102eaf527 100644 (file)
@@ -1,5 +1,5 @@
 /* FPU control word definitions.  SH version.
-   Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2000, 2009 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
@@ -45,6 +45,8 @@ typedef unsigned int fpu_control_t;
 #define _FPU_GETCW(cw) __asm__ ("sts fpscr,%0" : "=r" (cw))
 
 #if defined __GNUC__
+/* GCC provides this function.  */
+extern void __set_fpscr (unsigned long);
 #define _FPU_SETCW(cw) __set_fpscr ((cw))
 #else
 #define _FPU_SETCW(cw) __asm__ ("lds %0,fpscr" : : "r" (cw))
This page took 0.057427 seconds and 5 git commands to generate.