This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.12-170-gcf7a1eb
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 1 Oct 2010 23:40:55 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.12-170-gcf7a1eb
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via cf7a1eb81d3eb37e3dc2523f8b0ecccfe0ba8713 (commit)
from b8b4863d78bf26b39918fc753b03ed98ef262903 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=cf7a1eb81d3eb37e3dc2523f8b0ecccfe0ba8713
commit cf7a1eb81d3eb37e3dc2523f8b0ecccfe0ba8713
Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Date: Fri Oct 1 19:40:36 2010 -0400
sh: Add "extern "C"" to __set_fpscr function
diff --git a/ChangeLog b/ChangeLog
index 62eb2ff..a49e12a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
+
+ * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
+ __set_fpscr.
+
2010-09-30 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
diff --git a/sysdeps/sh/sh4/fpu/fpu_control.h b/sysdeps/sh/sh4/fpu/fpu_control.h
index d1be46d..ae50070 100644
--- a/sysdeps/sh/sh4/fpu/fpu_control.h
+++ b/sysdeps/sh/sh4/fpu/fpu_control.h
@@ -1,5 +1,5 @@
/* FPU control word definitions. SH version.
- Copyright (C) 1999, 2000, 2009 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000, 2009, 2010 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
@@ -20,6 +20,8 @@
#ifndef _FPU_CONTROL_H
#define _FPU_CONTROL_H
+#include <features.h>
+
/* masking of interrupts */
#define _FPU_MASK_VM 0x0800 /* Invalid operation */
#define _FPU_MASK_ZM 0x0400 /* Division by zero */
@@ -45,6 +47,8 @@ typedef unsigned int fpu_control_t;
#define _FPU_GETCW(cw) __asm__ ("sts fpscr,%0" : "=r" (cw))
#if defined __GNUC__
+__BEGIN_DECLS
+
/* GCC provides this function. */
extern void __set_fpscr (unsigned long);
#define _FPU_SETCW(cw) __set_fpscr ((cw))
@@ -55,4 +59,5 @@ extern void __set_fpscr (unsigned long);
/* Default control word set at startup. */
extern fpu_control_t __fpu_control;
+__END_DECLS
#endif /* _FPU_CONTROL_H */
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/sh/sh4/fpu/fpu_control.h | 7 ++++++-
2 files changed, 11 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources