[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commits] r21933 - in /fsf/trunk/libc: ./ ports/ ports/sysdeps/powerpc/nofpu/ soft-fp/ stdio-common/ sysdeps/ieee754/ldbl-128ibm/
- To: commits@xxxxxxxxxx
- Subject: [Commits] r21933 - in /fsf/trunk/libc: ./ ports/ ports/sysdeps/powerpc/nofpu/ soft-fp/ stdio-common/ sysdeps/ieee754/ldbl-128ibm/
- From: eglibc@xxxxxxxxxx
- Date: Thu, 06 Dec 2012 00:01:52 -0000
Author: eglibc
Date: Thu Dec 6 00:01:51 2012
New Revision: 21933
Log:
Import glibc-mainline for 2012-12-06
Modified:
fsf/trunk/libc/ChangeLog
fsf/trunk/libc/LICENSES
fsf/trunk/libc/README
fsf/trunk/libc/ports/ChangeLog
fsf/trunk/libc/ports/ChangeLog.powerpc
fsf/trunk/libc/ports/README
fsf/trunk/libc/ports/sysdeps/powerpc/nofpu/fgetexcptflg.c
fsf/trunk/libc/soft-fp/op-common.h
fsf/trunk/libc/stdio-common/tst-put-error.c
fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c
Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Thu Dec 6 00:01:51 2012
@@ -1,3 +1,18 @@
+2012-12-05 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * README: Don't refer to ports add-on as distributed separately.
+ Mention AArch64 in list of systems supported in the ports add-on.
+
+ * LICENSES: Add more non-FSF copyright and license notices.
+
+ * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
+ ((unused)).
+
+ * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
+
+ * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
+ 10000 as width of padded output.
+
2012-12-04 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
* sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
Modified: fsf/trunk/libc/LICENSES
==============================================================================
--- fsf/trunk/libc/LICENSES (original)
+++ fsf/trunk/libc/LICENSES Thu Dec 6 00:01:51 2012
@@ -38,9 +38,9 @@
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
-The DNS resolver code, taken from BIND 4.9.5, is copyrighted both by
-UC Berkeley and by Digital Equipment Corporation. The DEC portions
-are under the following license:
+The DNS resolver code, taken from BIND 4.9.5, is copyrighted by UC
+Berkeley, by Digital Equipment Corporation and by Internet Software
+Consortium. The DEC portions are under the following license:
Portions Copyright (C) 1993 by Digital Equipment Corporation.
@@ -59,6 +59,23 @@
FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+The ISC portions are under the following license:
+
+Portions Copyright (c) 1996-1999 by Internet Software Consortium.
+
+Permission to use, copy, modify, and distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
+ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
+CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
+DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
+PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
+ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
+SOFTWARE.
The Sun RPC support (from rpcsrc-4.0) is covered by the following
license:
@@ -221,3 +238,232 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
If these license terms cause you a real problem, contact the author. */
+
+The file sunrpc/des_impl.c is copyright Eric Young:
+
+Copyright (C) 1992 Eric Young
+Collected from libdes and modified for SECURE RPC by Martin Kuck 1994
+This file is distributed under the terms of the GNU Lesser General
+Public License, version 2.1 or later - see the file COPYING.LIB for details.
+If you did not receive a copy of the license with this program, please
+see <http://www.gnu.org/licenses/> to obtain a copy.
+
+The libidn code is copyright Simon Josefsson, with portions copyright
+The Internet Society, Tom Tromey and Red Hat, Inc.:
+
+Copyright (C) 2002, 2003, 2004, 2011 Simon Josefsson
+
+This file is part of GNU Libidn.
+
+GNU Libidn 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.
+
+GNU Libidn 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 GNU Libidn; if not, see <http://www.gnu.org/licenses/>.
+
+The following notice applies to portions of libidn/nfkc.c:
+
+This file contains functions from GLIB, including gutf8.c and
+gunidecomp.c, all licensed under LGPL and copyright hold by:
+
+Copyright (C) 1999, 2000 Tom Tromey
+Copyright 2000 Red Hat, Inc.
+
+The following applies to portions of libidn/punycode.c and
+libidn/punycode.h:
+
+This file is derived from RFC 3492bis written by Adam M. Costello.
+
+Disclaimer and license: Regarding this entire document or any
+portion of it (including the pseudocode and C code), the author
+makes no guarantees and is not responsible for any damage resulting
+from its use. The author grants irrevocable permission to anyone
+to use, modify, and distribute it in any way that does not diminish
+the rights of anyone else to use, modify, and distribute it,
+provided that redistributed derivative works do not contain
+misleading author or version information. Derivative works need
+not be licensed under similar terms.
+
+Copyright (C) The Internet Society (2003). All Rights Reserved.
+
+This document and translations of it may be copied and furnished to
+others, and derivative works that comment on or otherwise explain it
+or assist in its implementation may be prepared, copied, published
+and distributed, in whole or in part, without restriction of any
+kind, provided that the above copyright notice and this paragraph are
+included on all such copies and derivative works. However, this
+document itself may not be modified in any way, such as by removing
+the copyright notice or references to the Internet Society or other
+Internet organizations, except as needed for the purpose of
+developing Internet standards in which case the procedures for
+copyrights defined in the Internet Standards process must be
+followed, or as required to translate it into languages other than
+English.
+
+The limited permissions granted above are perpetual and will not be
+revoked by the Internet Society or its successors or assigns.
+
+This document and the information contained herein is provided on an
+"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
+TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
+BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
+HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
+MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+
+The file inet/rcmd.c is under a UCB copyright and the following:
+
+Copyright (C) 1998 WIDE Project.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+3. Neither the name of the project nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+
+The file posix/runtests.c is copyright Tom Lord:
+
+Copyright 1995 by Tom Lord
+
+ All Rights Reserved
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
+provided that the above copyright notice appear in all copies and that
+both that copyright notice and this permission notice appear in
+supporting documentation, and that the name of the copyright holder not be
+used in advertising or publicity pertaining to distribution of the
+software without specific, written prior permission.
+
+Tom Lord DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+EVENT SHALL TOM LORD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
+USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
+
+The posix/rxspencer tests are copyright Henry Spencer:
+
+Copyright 1992, 1993, 1994, 1997 Henry Spencer. All rights reserved.
+This software is not subject to any license of the American Telephone
+and Telegraph Company or of the Regents of the University of California.
+
+Permission is granted to anyone to use this software for any purpose on
+any computer system, and to alter it and redistribute it, subject
+to the following restrictions:
+
+1. The author is not responsible for the consequences of use of this
+ software, no matter how awful, even if they arise from flaws in it.
+
+2. The origin of this software must not be misrepresented, either by
+ explicit claim or by omission. Since few users ever read sources,
+ credits must appear in the documentation.
+
+3. Altered versions must be plainly marked as such, and must not be
+ misrepresented as being the original software. Since few users
+ ever read sources, credits must appear in the documentation.
+
+4. This notice may not be removed or altered.
+
+The file posix/PCRE.tests is copyright University of Cambridge:
+
+Copyright (c) 1997-2003 University of Cambridge
+
+Permission is granted to anyone to use this software for any purpose on any
+computer system, and to redistribute it freely, subject to the following
+restrictions:
+
+1. This software 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.
+
+2. The origin of this software must not be misrepresented, either by
+ explicit claim or by omission. In practice, this means that if you use
+ PCRE in software that you distribute to others, commercially or
+ otherwise, you must put a sentence like this
+
+ Regular expression support is provided by the PCRE library package,
+ which is open source software, written by Philip Hazel, and copyright
+ by the University of Cambridge, England.
+
+ somewhere reasonably visible in your documentation and in any relevant
+ files or online help data or similar. A reference to the ftp site for
+ the source, that is, to
+
+ ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
+
+ should also be given in the documentation. However, this condition is not
+ intended to apply to whole chains of software. If package A includes PCRE,
+ it must acknowledge it, but if package B is software that includes package
+ A, the condition is not imposed on package B (unless it uses PCRE
+ independently).
+
+3. Altered versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+
+4. If PCRE is embedded in any software that is released under the GNU
+ General Purpose Licence (GPL), or Lesser General Purpose Licence (LGPL),
+ then the terms of that licence shall supersede any condition above with
+ which it is incompatible.
+
+Files from Sun fdlibm are copyright Sun Microsystems, Inc.:
+
+Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
+
+Developed at SunPro, a Sun Microsystems, Inc. business.
+Permission to use, copy, modify, and distribute this
+software is freely granted, provided that this notice
+is preserved.
+
+Part of stdio-common/tst-printf.c is copyright C E Chew:
+
+(C) Copyright C E Chew
+
+Feel free to copy, use and distribute this software provided:
+
+ 1. you do not pretend that you wrote it
+ 2. you leave this copyright notice intact.
+
+Various long double libm functions are copyright Stephen L. Moshier:
+
+Copyright 2001 by Stephen L. Moshier <moshier@xxxxxxxxxxxxxxx>
+
+ This 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.
+
+ This 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 this library; if not, see
+ <http://www.gnu.org/licenses/>. */
Modified: fsf/trunk/libc/README
==============================================================================
--- fsf/trunk/libc/README (original)
+++ fsf/trunk/libc/README Thu Dec 6 00:01:51 2012
@@ -35,11 +35,10 @@
sparc64*-*-linux-gnu
The code for other CPU configurations supported by volunteers outside of
-the core glibc maintenance effort is contained in the separate `ports'
-add-on. You can find glibc-ports-VERSION distributed separately in the
-same place where you got the main glibc distribution files.
-Currently these configurations have code in the `ports' add-on:
+the core glibc maintenance effort is contained in the `ports' add-on,
+located in the `ports' subdirectory of the source tree.
+ aarch64*-*-linux-gnu
alpha*-*-linux-gnu
am33*-*-linux-gnu Not currently functional
arm-*-linux-gnueabi
Modified: fsf/trunk/libc/ports/ChangeLog
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog (original)
+++ fsf/trunk/libc/ports/ChangeLog Thu Dec 6 00:01:51 2012
@@ -1,4 +1,7 @@
2012-07-03 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * README: Don't refer to ports as a separate repository. Don't
+ refer to scripts/data/.
* .gitignore: Remove file.
* Banner: Likewise.
Modified: fsf/trunk/libc/ports/ChangeLog.powerpc
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog.powerpc (original)
+++ fsf/trunk/libc/ports/ChangeLog.powerpc Thu Dec 6 00:01:51 2012
@@ -1,3 +1,8 @@
+2012-12-05 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
+ Specify return type as int.
+
2012-11-30 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
* sysdeps/powerpc/nofpu/libm-test-ulps: Remove fma ulps.
Modified: fsf/trunk/libc/ports/README
==============================================================================
--- fsf/trunk/libc/ports/README (original)
+++ fsf/trunk/libc/ports/README Thu Dec 6 00:01:51 2012
@@ -1,4 +1,4 @@
-This is the glibc ports repository, an add-on for the GNU C Library (glibc).
+This is the glibc ports add-on, an add-on for the GNU C Library (glibc).
It contains code that is not maintained in the official glibc source tree.
This includes working ports to GNU/Linux on some machine architectures that
@@ -8,13 +8,13 @@
some optimized functions tailored for specific CPU implementations of an
architecture, to be selected using --with-cpu.
-The ports repository is cooperatively maintained by volunteers on the
-<libc-ports@xxxxxxxxxxxxxx> mailing list, and housed in a separate
-ports git repository. See
+The ports add-on is cooperatively maintained by volunteers on the
+<libc-ports@xxxxxxxxxxxxxx> mailing list, and housed in the ports
+subdirectory of the glibc git repository. See
http://www.gnu.org/software/libc/download.html for details on using
-git. To report a bug in code housed in the ports repository, please
-go to http://sources.redhat.com/bugzilla/ and file a bug report under
-the glibc "ports" component.
+git. To report a bug in code housed in the ports add-on, please go to
+http://sources.redhat.com/bugzilla/ and file a bug report under the
+glibc "ports" component.
An add-on for an individual port can be made from just the sysdeps/
subdirectories containing the port's code. You may want to include a
@@ -35,8 +35,7 @@
generated by Autoconf from sysdeps/CPU/preconfigure.in, and follow the
rules for glibc add-on configure fragments. No preconfigure file should do
anything on an unrelated configuration, so that disparate ports can be put
-into a single add-on without interfering with each other. Files that
-would go in scripts/data/ for libc go in data/ in ports.
+into a single add-on without interfering with each other.
Like all glibc add-ons, this must be used by specifying the directory in
the --enable-add-ons option when running glibc's configure script.
Modified: fsf/trunk/libc/ports/sysdeps/powerpc/nofpu/fgetexcptflg.c
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/powerpc/nofpu/fgetexcptflg.c (original)
+++ fsf/trunk/libc/ports/sysdeps/powerpc/nofpu/fgetexcptflg.c Thu Dec 6 00:01:51 2012
@@ -1,5 +1,5 @@
/* Store current representation for exceptions (soft-float edition).
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002-2012 Free Software Foundation, Inc.
Contributed by Aldy Hernandez <aldyh@xxxxxxxxxx>, 2002.
This file is part of the GNU C Library.
@@ -21,6 +21,7 @@
#include "soft-supp.h"
#include <bp-sym.h>
+int
__fegetexceptflag (fexcept_t *flagp, int excepts)
{
*flagp = (fexcept_t) __sim_exceptions & excepts & FE_ALL_EXCEPT;
Modified: fsf/trunk/libc/soft-fp/op-common.h
==============================================================================
--- fsf/trunk/libc/soft-fp/op-common.h (original)
+++ fsf/trunk/libc/soft-fp/op-common.h Thu Dec 6 00:01:51 2012
@@ -29,8 +29,10 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#define _FP_DECL(wc, X) \
- _FP_I_TYPE X##_c __attribute__((unused)), X##_s, X##_e; \
+#define _FP_DECL(wc, X) \
+ _FP_I_TYPE X##_c __attribute__((unused)); \
+ _FP_I_TYPE X##_s __attribute__((unused)); \
+ _FP_I_TYPE X##_e; \
_FP_FRAC_DECL_##wc(X)
/*
Modified: fsf/trunk/libc/stdio-common/tst-put-error.c
==============================================================================
--- fsf/trunk/libc/stdio-common/tst-put-error.c (original)
+++ fsf/trunk/libc/stdio-common/tst-put-error.c Thu Dec 6 00:01:51 2012
@@ -47,7 +47,7 @@
error (EXIT_FAILURE, 0, "second fprintf succeeded");
/* Padded printing takes a different code path. */
- n = fprintf (fp, "%10000s", "foo");
+ n = fprintf (fp, "%10000000s", "foo");
printf ("fprintf = %d\n", n);
if (n >= 0)
error (EXIT_FAILURE, 0, "padded fprintf succeeded");
Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c Thu Dec 6 00:01:51 2012
@@ -19,6 +19,7 @@
#include <math.h>
#include <math_private.h>
#include <float.h>
+#include <stdlib.h>
/* Calculate X + Y exactly and store the result in *HI + *LO. It is
given that |X| >= |Y| and the values are small enough that no
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits