This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.14-491-g998832a


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  998832a46688b9fb3a101eccae77bc45e7c1d7ab (commit)
      from  10fb0bfab13b7cd6cd9b22c2edced0fd3a3b8b32 (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=998832a46688b9fb3a101eccae77bc45e7c1d7ab

commit 998832a46688b9fb3a101eccae77bc45e7c1d7ab
Author: Andreas Schwab <schwab@redhat.com>
Date:   Fri Nov 4 14:39:05 2011 +0100

    Always provide declarations of long double math functions when !_LIBC

diff --git a/ChangeLog b/ChangeLog
index 6622603..e57f098 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-11-04  Andreas Schwab  <schwab@redhat.com>
 
+	[BZ #10103]
+	* math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
+	declarations for long double functions.
+	* math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
+
 	* elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
 
 2011-11-03  Andreas Schwab  <schwab@redhat.com>
diff --git a/NEWS b/NEWS
index 60f8f87..6223bae 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-GNU C Library NEWS -- history of user-visible changes.  2011-11-1
+GNU C Library NEWS -- history of user-visible changes.  2011-11-4
 Copyright (C) 1992-2009, 2010, 2011 Free Software Foundation, Inc.
 See the end for copying conditions.
 
@@ -9,10 +9,10 @@ Version 2.15
 
 * The following bugs are resolved with this release:
 
-  6779, 6783, 9696, 10709, 11589, 12403, 12847, 12868, 12852, 12874, 12885,
-  12892, 12907, 12922, 12935, 13007, 13021, 13067, 13068, 13090, 13092,
-  13114, 13118, 13123, 13134, 13138, 13150, 13179, 13192, 13268, 13276,
-  13291, 13335, 13337, 13344, 13358, 13367
+  6779, 6783, 9696, 10103, 10709, 11589, 12403, 12847, 12868, 12852, 12874,
+  12885, 12892, 12907, 12922, 12935, 13007, 13021, 13067, 13068, 13090,
+  13092, 13114, 13118, 13123, 13134, 13138, 13150, 13179, 13192, 13268,
+  13276, 13291, 13335, 13337, 13344, 13358, 13367
 
 * New program pldd to list loaded object of a process
   Implemented by Ulrich Drepper.
diff --git a/math/complex.h b/math/complex.h
index 751aaf7..cc6006e 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999, 2000, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2000, 2006, 2011 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
@@ -85,7 +85,8 @@ __BEGIN_DECLS
 /* And the long double versions.  It is non-critical to define them
    here unconditionally since `long double' is required in ISO C99.  */
 #if (__STDC__ - 0 || __GNUC__ - 0) \
-    && (!defined __NO_LONG_DOUBLE_MATH || defined __LDBL_COMPAT)
+    && (!(defined __NO_LONG_DOUBLE_MATH && defined _LIBC) \
+	|| defined __LDBL_COMPAT)
 # ifdef __LDBL_COMPAT
 #  undef __MATHDECL_1
 #  define __MATHDECL_1(type, function, args) \
diff --git a/math/math.h b/math/math.h
index 8b98ff3..a849a03 100644
--- a/math/math.h
+++ b/math/math.h
@@ -98,7 +98,8 @@ __BEGIN_DECLS
 # undef	__MATH_PRECNAME
 
 # if (__STDC__ - 0 || __GNUC__ - 0) \
-     && (!defined __NO_LONG_DOUBLE_MATH || defined __LDBL_COMPAT)
+     && (!(defined __NO_LONG_DOUBLE_MATH && defined _LIBC) \
+	 || defined __LDBL_COMPAT)
 #  ifdef __LDBL_COMPAT
 
 #   ifdef __USE_ISOC99
@@ -116,9 +117,6 @@ extern long double __REDIRECT_NTH (nexttowardl,
 #    endif
 #   endif
 
-/* Include the file of declarations again, this time using `long double'
-   instead of `double' and appending l to each function name.  */
-
 #   undef __MATHDECL_1
 #   define __MATHDECL_2(type, function,suffix, args, alias) \
   extern type __REDIRECT_NTH(__MATH_PRECNAME(function,suffix), \
@@ -127,6 +125,9 @@ extern long double __REDIRECT_NTH (nexttowardl,
   __MATHDECL_2(type, function,suffix, args, __CONCAT(function,suffix))
 #  endif
 
+/* Include the file of declarations again, this time using `long double'
+   instead of `double' and appending l to each function name.  */
+
 #  ifndef _Mlong_double_
 #   define _Mlong_double_	long double
 #  endif

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog      |    5 +++++
 NEWS           |   10 +++++-----
 math/complex.h |    5 +++--
 math/math.h    |    9 +++++----
 4 files changed, 18 insertions(+), 11 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]