[BZ #2749]
authorDaniel Jacobowitz <dan@codesourcery.com>
Tue, 23 Jan 2007 14:47:02 +0000 (14:47 +0000)
committerDaniel Jacobowitz <dan@codesourcery.com>
Tue, 23 Jan 2007 14:47:02 +0000 (14:47 +0000)
* sysdeps/powerpc/nofpu/fenv_libc.h: New file.

ChangeLog.powerpc
sysdeps/powerpc/nofpu/fenv_libc.h [new file with mode: 0644]

index 8f32962..015c95c 100644 (file)
@@ -1,3 +1,8 @@
+2007-01-23  Steven Munroe  <sjmunroe@us.ibm.com>
+
+       [BZ #2749]
+       * sysdeps/powerpc/nofpu/fenv_libc.h: New file.
+
 2007-01-08  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/powerpc/nofpu/fesetenv.c (__sim_exceptions,
diff --git a/sysdeps/powerpc/nofpu/fenv_libc.h b/sysdeps/powerpc/nofpu/fenv_libc.h
new file mode 100644 (file)
index 0000000..db6996c
--- /dev/null
@@ -0,0 +1,29 @@
+/* Internal libc stuff for floating point environment routines.
+   Copyright (C) 2007 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
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#ifndef _FENV_LIBC_H
+#define _FENV_LIBC_H   1
+
+/* fenv_libc.h is used in libm implementations of ldbl-128ibm.  So we
+   need this version in the soft-fp to at minimum include fenv.h to
+   get the fegetround definition.  */
+
+#include <fenv.h>
+#endif /* fenv_libc.h */