diff options
Diffstat (limited to 'libc/stdlib')
147 files changed, 498 insertions, 171 deletions
diff --git a/libc/stdlib/Makefile b/libc/stdlib/Makefile index afbe79bc7..7c926b8ac 100644 --- a/libc/stdlib/Makefile +++ b/libc/stdlib/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1991-2013 Free Software Foundation, Inc. +# Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/a64l.c b/libc/stdlib/a64l.c index 653411d04..a88688cf5 100644 --- a/libc/stdlib/a64l.c +++ b/libc/stdlib/a64l.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.org>, August 1995. diff --git a/libc/stdlib/abort.c b/libc/stdlib/abort.c index 72b2d6066..c471f44f2 100644 --- a/libc/stdlib/abort.c +++ b/libc/stdlib/abort.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/abs.c b/libc/stdlib/abs.c index 2fbb4c380..b82474d57 100644 --- a/libc/stdlib/abs.c +++ b/libc/stdlib/abs.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/add_n.c b/libc/stdlib/add_n.c index e3930ea5f..17ebd435a 100644 --- a/libc/stdlib/add_n.c +++ b/libc/stdlib/add_n.c @@ -1,6 +1,6 @@ /* mpn_add_n -- Add two limb vectors of equal, non-zero length. -Copyright (C) 1992-2013 Free Software Foundation, Inc. +Copyright (C) 1992-2014 Free Software Foundation, Inc. This file is part of the GNU MP Library. diff --git a/libc/stdlib/addmul_1.c b/libc/stdlib/addmul_1.c index cf5b37160..b6f2d076c 100644 --- a/libc/stdlib/addmul_1.c +++ b/libc/stdlib/addmul_1.c @@ -3,7 +3,7 @@ limb vector pointed to by RES_PTR. Return the most significant limb of the product, adjusted for carry-out from the addition. -Copyright (C) 1992-2013 Free Software Foundation, Inc. +Copyright (C) 1992-2014 Free Software Foundation, Inc. This file is part of the GNU MP Library. diff --git a/libc/stdlib/alloca.h b/libc/stdlib/alloca.h index 88612b073..2d592d4fb 100644 --- a/libc/stdlib/alloca.h +++ b/libc/stdlib/alloca.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1992-2013 Free Software Foundation, Inc. +/* Copyright (C) 1992-2014 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 diff --git a/libc/stdlib/at_quick_exit.c b/libc/stdlib/at_quick_exit.c index 81a4c8c5c..665edabcc 100644 --- a/libc/stdlib/at_quick_exit.c +++ b/libc/stdlib/at_quick_exit.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/atexit.c b/libc/stdlib/atexit.c index 38f07b4f3..da8e41612 100644 --- a/libc/stdlib/atexit.c +++ b/libc/stdlib/atexit.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/atof.c b/libc/stdlib/atof.c index ad4e4c103..3cf8d2500 100644 --- a/libc/stdlib/atof.c +++ b/libc/stdlib/atof.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/atoi.c b/libc/stdlib/atoi.c index ab7f077e4..2ef52f7b4 100644 --- a/libc/stdlib/atoi.c +++ b/libc/stdlib/atoi.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/atol.c b/libc/stdlib/atol.c index bee0c675a..35e18a41e 100644 --- a/libc/stdlib/atol.c +++ b/libc/stdlib/atol.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/atoll.c b/libc/stdlib/atoll.c index 7261020e7..012dd9491 100644 --- a/libc/stdlib/atoll.c +++ b/libc/stdlib/atoll.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/bits/monetary-ldbl.h b/libc/stdlib/bits/monetary-ldbl.h index 61c81bae3..9cd2a2465 100644 --- a/libc/stdlib/bits/monetary-ldbl.h +++ b/libc/stdlib/bits/monetary-ldbl.h @@ -1,5 +1,5 @@ /* -mlong-double-64 compatibility mode for monetary functions. - Copyright (C) 2006-2013 Free Software Foundation, Inc. + Copyright (C) 2006-2014 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 diff --git a/libc/stdlib/bits/stdlib-float.h b/libc/stdlib/bits/stdlib-float.h index 65484be38..fdee2d534 100644 --- a/libc/stdlib/bits/stdlib-float.h +++ b/libc/stdlib/bits/stdlib-float.h @@ -1,5 +1,5 @@ /* Floating-point inline functions for stdlib.h. - Copyright (C) 2012-2013 Free Software Foundation, Inc. + Copyright (C) 2012-2014 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 diff --git a/libc/stdlib/bits/stdlib-ldbl.h b/libc/stdlib/bits/stdlib-ldbl.h index a606fd3d0..feadbdf39 100644 --- a/libc/stdlib/bits/stdlib-ldbl.h +++ b/libc/stdlib/bits/stdlib-ldbl.h @@ -1,5 +1,5 @@ /* -mlong-double-64 compatibility mode for <stdlib.h> functions. - Copyright (C) 2006-2013 Free Software Foundation, Inc. + Copyright (C) 2006-2014 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 diff --git a/libc/stdlib/bits/stdlib.h b/libc/stdlib/bits/stdlib.h index a4abe2a8b..7b5b57b50 100644 --- a/libc/stdlib/bits/stdlib.h +++ b/libc/stdlib/bits/stdlib.h @@ -1,5 +1,5 @@ /* Checking macros for stdlib functions. - Copyright (C) 2005-2013 Free Software Foundation, Inc. + Copyright (C) 2005-2014 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 diff --git a/libc/stdlib/bsearch.c b/libc/stdlib/bsearch.c index 4a357efee..7e7872def 100644 --- a/libc/stdlib/bsearch.c +++ b/libc/stdlib/bsearch.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/bug-strtod.c b/libc/stdlib/bug-strtod.c index a1a22f8ed..89d0bcc6e 100644 --- a/libc/stdlib/bug-strtod.c +++ b/libc/stdlib/bug-strtod.c @@ -1,6 +1,6 @@ /* Test to strtod etc for numbers like x000...0000.000e-nn. This file is part of the GNU C Library. - Copyright (C) 2001-2013 Free Software Foundation, Inc. + Copyright (C) 2001-2014 Free Software Foundation, Inc. Contributed by Ulrich Drepper <drepper@redhat.com>, 2001. The GNU C Library is free software; you can redistribute it and/or diff --git a/libc/stdlib/canonicalize.c b/libc/stdlib/canonicalize.c index 784c97843..bf1775eba 100644 --- a/libc/stdlib/canonicalize.c +++ b/libc/stdlib/canonicalize.c @@ -1,5 +1,5 @@ /* Return the canonical absolute name of a given file. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 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 diff --git a/libc/stdlib/cmp.c b/libc/stdlib/cmp.c index 8b53cea2e..83188d403 100644 --- a/libc/stdlib/cmp.c +++ b/libc/stdlib/cmp.c @@ -1,6 +1,6 @@ /* mpn_cmp -- Compare two low-level natural-number integers. -Copyright (C) 1991-2013 Free Software Foundation, Inc. +Copyright (C) 1991-2014 Free Software Foundation, Inc. This file is part of the GNU MP Library. diff --git a/libc/stdlib/cxa_at_quick_exit.c b/libc/stdlib/cxa_at_quick_exit.c index 800697c12..90419ffc6 100644 --- a/libc/stdlib/cxa_at_quick_exit.c +++ b/libc/stdlib/cxa_at_quick_exit.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2009-2013 Free Software Foundation, Inc. +/* Copyright (C) 2009-2014 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 diff --git a/libc/stdlib/cxa_atexit.c b/libc/stdlib/cxa_atexit.c index 0a42776db..21dec7b54 100644 --- a/libc/stdlib/cxa_atexit.c +++ b/libc/stdlib/cxa_atexit.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1999-2013 Free Software Foundation, Inc. +/* Copyright (C) 1999-2014 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 diff --git a/libc/stdlib/cxa_finalize.c b/libc/stdlib/cxa_finalize.c index 2ee890f27..299a9c0fc 100644 --- a/libc/stdlib/cxa_finalize.c +++ b/libc/stdlib/cxa_finalize.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1999-2013 Free Software Foundation, Inc. +/* Copyright (C) 1999-2014 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 diff --git a/libc/stdlib/cxa_thread_atexit_impl.c b/libc/stdlib/cxa_thread_atexit_impl.c index dfd4c7e69..d2f88d3ed 100644 --- a/libc/stdlib/cxa_thread_atexit_impl.c +++ b/libc/stdlib/cxa_thread_atexit_impl.c @@ -1,5 +1,5 @@ /* Register destructors for C++ TLS variables declared with thread_local. - Copyright (C) 2013 Free Software Foundation, Inc. + Copyright (C) 2013-2014 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 diff --git a/libc/stdlib/dbl2mpn.c b/libc/stdlib/dbl2mpn.c index 429e20aa7..9163086e4 100644 --- a/libc/stdlib/dbl2mpn.c +++ b/libc/stdlib/dbl2mpn.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993-2013 Free Software Foundation, Inc. +/* Copyright (C) 1993-2014 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 diff --git a/libc/stdlib/div.c b/libc/stdlib/div.c index 0f5569a5d..d0d42e589 100644 --- a/libc/stdlib/div.c +++ b/libc/stdlib/div.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992-2013 Free Software Foundation, Inc. +/* Copyright (C) 1992-2014 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 diff --git a/libc/stdlib/divmod_1.c b/libc/stdlib/divmod_1.c index c11c913e6..b7bbf3c13 100644 --- a/libc/stdlib/divmod_1.c +++ b/libc/stdlib/divmod_1.c @@ -6,7 +6,7 @@ QUOT_PTR and DIVIDEND_PTR might point to the same limb. -Copyright (C) 1991-2013 Free Software Foundation, Inc. +Copyright (C) 1991-2014 Free Software Foundation, Inc. This file is part of the GNU MP Library. diff --git a/libc/stdlib/divrem.c b/libc/stdlib/divrem.c index 99c782e22..52375932c 100644 --- a/libc/stdlib/divrem.c +++ b/libc/stdlib/divrem.c @@ -1,7 +1,7 @@ /* mpn_divrem -- Divide natural numbers, producing both remainder and quotient. -Copyright (C) 1993-2013 Free Software Foundation, Inc. +Copyright (C) 1993-2014 Free Software Foundation, Inc. This file is part of the GNU MP Library. diff --git a/libc/stdlib/drand48-iter.c b/libc/stdlib/drand48-iter.c index c9b289fe9..10d2969df 100644 --- a/libc/stdlib/drand48-iter.c +++ b/libc/stdlib/drand48-iter.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995. diff --git a/libc/stdlib/drand48.c b/libc/stdlib/drand48.c index 6371b0be8..61f270f5d 100644 --- a/libc/stdlib/drand48.c +++ b/libc/stdlib/drand48.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995. diff --git a/libc/stdlib/drand48_r.c b/libc/stdlib/drand48_r.c index cf18404b7..2a7f925e5 100644 --- a/libc/stdlib/drand48_r.c +++ b/libc/stdlib/drand48_r.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995. diff --git a/libc/stdlib/erand48.c b/libc/stdlib/erand48.c index 6363440df..bd89cbf24 100644 --- a/libc/stdlib/erand48.c +++ b/libc/stdlib/erand48.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995. diff --git a/libc/stdlib/erand48_r.c b/libc/stdlib/erand48_r.c index 06f00e023..98eade772 100644 --- a/libc/stdlib/erand48_r.c +++ b/libc/stdlib/erand48_r.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995. diff --git a/libc/stdlib/errno.h b/libc/stdlib/errno.h index 6843cbf95..936022167 100644 --- a/libc/stdlib/errno.h +++ b/libc/stdlib/errno.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/exit.c b/libc/stdlib/exit.c index 270fda7b4..0aa7cd41d 100644 --- a/libc/stdlib/exit.c +++ b/libc/stdlib/exit.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/exit.h b/libc/stdlib/exit.h index d96ed95d4..eb2c3949f 100644 --- a/libc/stdlib/exit.h +++ b/libc/stdlib/exit.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/fmtmsg.c b/libc/stdlib/fmtmsg.c index 5185de427..acf3be233 100644 --- a/libc/stdlib/fmtmsg.c +++ b/libc/stdlib/fmtmsg.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997-2013 Free Software Foundation, Inc. +/* Copyright (C) 1997-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. diff --git a/libc/stdlib/fmtmsg.h b/libc/stdlib/fmtmsg.h index 73bbb1225..ec4c5e0f7 100644 --- a/libc/stdlib/fmtmsg.h +++ b/libc/stdlib/fmtmsg.h @@ -1,5 +1,5 @@ /* Message display handling. - Copyright (C) 1997-2013 Free Software Foundation, Inc. + Copyright (C) 1997-2014 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 diff --git a/libc/stdlib/fpioconst.c b/libc/stdlib/fpioconst.c index 56072e682..665f40ec1 100644 --- a/libc/stdlib/fpioconst.c +++ b/libc/stdlib/fpioconst.c @@ -1,5 +1,5 @@ /* Table of MP integer constants 10^(2^i), used for floating point <-> decimal. - Copyright (C) 1995-2013 Free Software Foundation, Inc. + Copyright (C) 1995-2014 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 diff --git a/libc/stdlib/fpioconst.h b/libc/stdlib/fpioconst.h index b5374c51b..66c4936a9 100644 --- a/libc/stdlib/fpioconst.h +++ b/libc/stdlib/fpioconst.h @@ -1,5 +1,5 @@ /* Header file for constants used in floating point <-> decimal conversions. - Copyright (C) 1995-2013 Free Software Foundation, Inc. + Copyright (C) 1995-2014 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 diff --git a/libc/stdlib/gen-fpioconst.c b/libc/stdlib/gen-fpioconst.c index 1ff1baf98..3fe5de26f 100644 --- a/libc/stdlib/gen-fpioconst.c +++ b/libc/stdlib/gen-fpioconst.c @@ -1,5 +1,5 @@ /* Generate data for fpioconst.c. - Copyright (C) 2012-2013 Free Software Foundation, Inc. + Copyright (C) 2012-2014 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 diff --git a/libc/stdlib/gen-tst-strtod-round.c b/libc/stdlib/gen-tst-strtod-round.c index c0634e017..20aa432d6 100644 --- a/libc/stdlib/gen-tst-strtod-round.c +++ b/libc/stdlib/gen-tst-strtod-round.c @@ -1,6 +1,6 @@ /* Generate table of tests in tst-strtod-round.c from tst-strtod-round-data. - Copyright (C) 2012-2013 Free Software Foundation, Inc. + Copyright (C) 2012-2014 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 diff --git a/libc/stdlib/getcontext.c b/libc/stdlib/getcontext.c index 868c65162..a9e18e11a 100644 --- a/libc/stdlib/getcontext.c +++ b/libc/stdlib/getcontext.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998-2013 Free Software Foundation, Inc. +/* Copyright (C) 1998-2014 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 diff --git a/libc/stdlib/getenv.c b/libc/stdlib/getenv.c index f33c22f44..e8cb91349 100644 --- a/libc/stdlib/getenv.c +++ b/libc/stdlib/getenv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/getsubopt.c b/libc/stdlib/getsubopt.c index 34705042f..3e8366479 100644 --- a/libc/stdlib/getsubopt.c +++ b/libc/stdlib/getsubopt.c @@ -1,5 +1,5 @@ /* Parse comma separate list into words. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. diff --git a/libc/stdlib/gmp-impl.h b/libc/stdlib/gmp-impl.h index c2cbfce9a..83865dc41 100644 --- a/libc/stdlib/gmp-impl.h +++ b/libc/stdlib/gmp-impl.h @@ -1,6 +1,6 @@ /* Include file for internal GNU MP types and definitions. -Copyright (C) 1991-2013 Free Software Foundation, Inc. +Copyright (C) 1991-2014 Free Software Foundation, Inc. This file is part of the GNU MP Library. diff --git a/libc/stdlib/gmp.h b/libc/stdlib/gmp.h index 07bebc008..0eecf92f3 100644 --- a/libc/stdlib/gmp.h +++ b/libc/stdlib/gmp.h @@ -1,6 +1,6 @@ /* gmp.h -- Definitions for GNU multiple precision functions. -Copyright (C) 1991-2013 Free Software Foundation, Inc. +Copyright (C) 1991-2014 Free Software Foundation, Inc. This file is part of the GNU MP Library. diff --git a/libc/stdlib/grouping.c b/libc/stdlib/grouping.c index 6709a3a0e..e65cea9a3 100644 --- a/libc/stdlib/grouping.c +++ b/libc/stdlib/grouping.c @@ -1,5 +1,5 @@ /* Internal header for proving correct grouping in strings of numbers. - Copyright (C) 1995-2013 Free Software Foundation, Inc. + Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. diff --git a/libc/stdlib/grouping.h b/libc/stdlib/grouping.h index eedf84132..ae28e6dfd 100644 --- a/libc/stdlib/grouping.h +++ b/libc/stdlib/grouping.h @@ -1,5 +1,5 @@ /* Internal header for proving correct grouping in strings of numbers. - Copyright (C) 1995-2013 Free Software Foundation, Inc. + Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. diff --git a/libc/stdlib/isomac.c b/libc/stdlib/isomac.c index 621b5154d..13accb566 100644 --- a/libc/stdlib/isomac.c +++ b/libc/stdlib/isomac.c @@ -1,5 +1,5 @@ /* Check system header files for ISO 9899:1990 (ISO C) compliance. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jens Schweikhardt <schweikh@noc.dfn.de>, 1996. diff --git a/libc/stdlib/jrand48.c b/libc/stdlib/jrand48.c index ac5ebad78..0b58e6ef9 100644 --- a/libc/stdlib/jrand48.c +++ b/libc/stdlib/jrand48.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995. diff --git a/libc/stdlib/jrand48_r.c b/libc/stdlib/jrand48_r.c index 251db9aed..b550e5b2d 100644 --- a/libc/stdlib/jrand48_r.c +++ b/libc/stdlib/jrand48_r.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995. diff --git a/libc/stdlib/l64a.c b/libc/stdlib/l64a.c index 6f1aae2b4..e71e1a2c2 100644 --- a/libc/stdlib/l64a.c +++ b/libc/stdlib/l64a.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995. diff --git a/libc/stdlib/labs.c b/libc/stdlib/labs.c index b6c44fa05..14f6f36b3 100644 --- a/libc/stdlib/labs.c +++ b/libc/stdlib/labs.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/lcong48.c b/libc/stdlib/lcong48.c index b40b92a3a..8733909c8 100644 --- a/libc/stdlib/lcong48.c +++ b/libc/stdlib/lcong48.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995. diff --git a/libc/stdlib/lcong48_r.c b/libc/stdlib/lcong48_r.c index b7e2e711e..39a51d2de 100644 --- a/libc/stdlib/lcong48_r.c +++ b/libc/stdlib/lcong48_r.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995. diff --git a/libc/stdlib/ldiv.c b/libc/stdlib/ldiv.c index a03057fc0..da864da6f 100644 --- a/libc/stdlib/ldiv.c +++ b/libc/stdlib/ldiv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992-2013 Free Software Foundation, Inc. +/* Copyright (C) 1992-2014 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 diff --git a/libc/stdlib/llabs.c b/libc/stdlib/llabs.c index af00e8c17..695ef0805 100644 --- a/libc/stdlib/llabs.c +++ b/libc/stdlib/llabs.c @@ -1,5 +1,5 @@ /* `long long int' absolute value. - Copyright (C) 1991-2013 Free Software Foundation, Inc. + Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/lldiv.c b/libc/stdlib/lldiv.c index 0da1a6afc..6e6b7d479 100644 --- a/libc/stdlib/lldiv.c +++ b/libc/stdlib/lldiv.c @@ -1,5 +1,5 @@ /* `long long int' divison with remainder. - Copyright (C) 1992-2013 Free Software Foundation, Inc. + Copyright (C) 1992-2014 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 diff --git a/libc/stdlib/longlong.h b/libc/stdlib/longlong.h index c4b1b97be..10d76cf65 100644 --- a/libc/stdlib/longlong.h +++ b/libc/stdlib/longlong.h @@ -1,5 +1,5 @@ /* longlong.h -- definitions for mixed size 32/64 bit arithmetic. - Copyright (C) 1991-2013 Free Software Foundation, Inc. + Copyright (C) 1991-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -188,16 +188,20 @@ extern UDItype __udiv_qrnnd (UDItype *, UDItype, UDItype, UDItype); "rIJ" ((USItype) (bh)), \ "r" ((USItype) (al)), \ "rIJ" ((USItype) (bl))) -/* Call libgcc routine. */ -#define umul_ppmm(w1, w0, u, v) \ -do { \ - DWunion __w; \ - __w.ll = __umulsidi3 (u, v); \ - w1 = __w.s.high; \ - w0 = __w.s.low; \ -} while (0) -#define __umulsidi3 __umulsidi3 -UDItype __umulsidi3 (USItype, USItype); + +#define __umulsidi3(u,v) ((UDItype)(USItype)u*(USItype)v) +#ifdef __ARC_NORM__ +#define count_leading_zeros(count, x) \ + do \ + { \ + SItype c_; \ + \ + __asm__ ("norm.f\t%0,%1\n\tmov.mi\t%0,-1" : "=r" (c_) : "r" (x) : "cc");\ + (count) = c_ + 1; \ + } \ + while (0) +#define COUNT_LEADING_ZEROS_0 32 +#endif #endif #if defined (__arm__) && (defined (__thumb2__) || !defined (__thumb__)) \ @@ -285,12 +289,39 @@ UDItype __umulsidi3 (USItype, USItype); #endif /* defined (__AVR__) */ -#if defined (__CRIS__) && __CRIS_arch_version >= 3 +#if defined (__CRIS__) + +#if __CRIS_arch_version >= 3 #define count_leading_zeros(COUNT, X) ((COUNT) = __builtin_clz (X)) +#define COUNT_LEADING_ZEROS_0 32 +#endif /* __CRIS_arch_version >= 3 */ + #if __CRIS_arch_version >= 8 #define count_trailing_zeros(COUNT, X) ((COUNT) = __builtin_ctz (X)) -#endif -#endif /* __CRIS__ */ +#endif /* __CRIS_arch_version >= 8 */ + +#if __CRIS_arch_version >= 10 +#define __umulsidi3(u,v) ((UDItype)(USItype) (u) * (UDItype)(USItype) (v)) +#else +#define __umulsidi3 __umulsidi3 +extern UDItype __umulsidi3 (USItype, USItype); +#endif /* __CRIS_arch_version >= 10 */ + +#define umul_ppmm(w1, w0, u, v) \ + do { \ + UDItype __x = __umulsidi3 (u, v); \ + (w0) = (USItype) (__x); \ + (w1) = (USItype) (__x >> 32); \ + } while (0) + +/* FIXME: defining add_ssaaaa and sub_ddmmss should be advantageous for + DFmode ("double" intrinsics, avoiding two of the three insns handling + carry), but defining them as open-code C composing and doing the + operation in DImode (UDImode) shows that the DImode needs work: + register pressure from requiring neighboring registers and the + traffic to and from them come to dominate, in the 4.7 series. */ + +#endif /* defined (__CRIS__) */ #if defined (__hppa) && W_TYPE_SIZE == 32 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ diff --git a/libc/stdlib/lrand48.c b/libc/stdlib/lrand48.c index 2b9b19a11..c37ba391b 100644 --- a/libc/stdlib/lrand48.c +++ b/libc/stdlib/lrand48.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995. diff --git a/libc/stdlib/lrand48_r.c b/libc/stdlib/lrand48_r.c index c53566510..fc5f10ece 100644 --- a/libc/stdlib/lrand48_r.c +++ b/libc/stdlib/lrand48_r.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.org>, August 1995. diff --git a/libc/stdlib/lshift.c b/libc/stdlib/lshift.c index c92439b4a..6e0d5052f 100644 --- a/libc/stdlib/lshift.c +++ b/libc/stdlib/lshift.c @@ -1,6 +1,6 @@ /* mpn_lshift -- Shift left low level. -Copyright (C) 1991-2013 Free Software Foundation, Inc. +Copyright (C) 1991-2014 Free Software Foundation, Inc. This file is part of the GNU MP Library. diff --git a/libc/stdlib/makecontext.c b/libc/stdlib/makecontext.c index b4d07bd10..fb5103774 100644 --- a/libc/stdlib/makecontext.c +++ b/libc/stdlib/makecontext.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998-2013 Free Software Foundation, Inc. +/* Copyright (C) 1998-2014 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 diff --git a/libc/stdlib/mblen.c b/libc/stdlib/mblen.c index 2a9252036..2f9289219 100644 --- a/libc/stdlib/mblen.c +++ b/libc/stdlib/mblen.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/mbstowcs.c b/libc/stdlib/mbstowcs.c index 68382c7db..7e41fc132 100644 --- a/libc/stdlib/mbstowcs.c +++ b/libc/stdlib/mbstowcs.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/mbtowc.c b/libc/stdlib/mbtowc.c index 1ff261a50..fc534612b 100644 --- a/libc/stdlib/mbtowc.c +++ b/libc/stdlib/mbtowc.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/mod_1.c b/libc/stdlib/mod_1.c index c5f5c908f..83a12c6a5 100644 --- a/libc/stdlib/mod_1.c +++ b/libc/stdlib/mod_1.c @@ -3,7 +3,7 @@ Return the single-limb remainder. There are no constraints on the value of the divisor. -Copyright (C) 1991-2013 Free Software Foundation, Inc. +Copyright (C) 1991-2014 Free Software Foundation, Inc. This file is part of the GNU MP Library. diff --git a/libc/stdlib/monetary.h b/libc/stdlib/monetary.h index 24c605dab..f371d26d5 100644 --- a/libc/stdlib/monetary.h +++ b/libc/stdlib/monetary.h @@ -1,5 +1,5 @@ /* Header file for monetary value formatting functions. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 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 diff --git a/libc/stdlib/mp_clz_tab.c b/libc/stdlib/mp_clz_tab.c index c78257562..866bcadf6 100644 --- a/libc/stdlib/mp_clz_tab.c +++ b/libc/stdlib/mp_clz_tab.c @@ -1,5 +1,5 @@ /* __clz_tab -- support for longlong.h - Copyright (C) 1991-2013 Free Software Foundation, Inc. + Copyright (C) 1991-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Its master source is NOT part of the C library, however. The master source lives in the GNU MP Library. diff --git a/libc/stdlib/mpn2dbl.c b/libc/stdlib/mpn2dbl.c index b6d62fe09..6b9bfb570 100644 --- a/libc/stdlib/mpn2dbl.c +++ b/libc/stdlib/mpn2dbl.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 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 diff --git a/libc/stdlib/mpn2flt.c b/libc/stdlib/mpn2flt.c index 9044a8a6a..5681bc6d2 100644 --- a/libc/stdlib/mpn2flt.c +++ b/libc/stdlib/mpn2flt.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 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 diff --git a/libc/stdlib/mrand48.c b/libc/stdlib/mrand48.c index 6e0adf941..f7d7543dc 100644 --- a/libc/stdlib/mrand48.c +++ b/libc/stdlib/mrand48.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995. diff --git a/libc/stdlib/mrand48_r.c b/libc/stdlib/mrand48_r.c index 823640b77..a77b8f16a 100644 --- a/libc/stdlib/mrand48_r.c +++ b/libc/stdlib/mrand48_r.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995. diff --git a/libc/stdlib/msort.c b/libc/stdlib/msort.c index 897fad015..02ef28b89 100644 --- a/libc/stdlib/msort.c +++ b/libc/stdlib/msort.c @@ -1,6 +1,6 @@ /* An alternative to qsort, with an identical interface. This file is part of the GNU C Library. - Copyright (C) 1992-2013 Free Software Foundation, Inc. + Copyright (C) 1992-2014 Free Software Foundation, Inc. Written by Mike Haertel, September 1988. The GNU C Library is free software; you can redistribute it and/or diff --git a/libc/stdlib/mul.c b/libc/stdlib/mul.c index 125871717..bb699e42f 100644 --- a/libc/stdlib/mul.c +++ b/libc/stdlib/mul.c @@ -1,6 +1,6 @@ /* mpn_mul -- Multiply two natural numbers. -Copyright (C) 1991-2013 Free Software Foundation, Inc. +Copyright (C) 1991-2014 Free Software Foundation, Inc. This file is part of the GNU MP Library. diff --git a/libc/stdlib/mul_1.c b/libc/stdlib/mul_1.c index f566ba22f..375df6ad3 100644 --- a/libc/stdlib/mul_1.c +++ b/libc/stdlib/mul_1.c @@ -1,7 +1,7 @@ /* mpn_mul_1 -- Multiply a limb vector with a single limb and store the product in a second limb vector. -Copyright (C) 1991-2013 Free Software Foundation, Inc. +Copyright (C) 1991-2014 Free Software Foundation, Inc. This file is part of the GNU MP Library. diff --git a/libc/stdlib/mul_n.c b/libc/stdlib/mul_n.c index f0a9a304d..a27ef6f58 100644 --- a/libc/stdlib/mul_n.c +++ b/libc/stdlib/mul_n.c @@ -1,6 +1,6 @@ /* mpn_mul_n -- Multiply two natural numbers of length n. -Copyright (C) 1991-2013 Free Software Foundation, Inc. +Copyright (C) 1991-2014 Free Software Foundation, Inc. This file is part of the GNU MP Library. diff --git a/libc/stdlib/nrand48.c b/libc/stdlib/nrand48.c index f5170089e..ab6a554f4 100644 --- a/libc/stdlib/nrand48.c +++ b/libc/stdlib/nrand48.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995. diff --git a/libc/stdlib/nrand48_r.c b/libc/stdlib/nrand48_r.c index baacb7d56..6594045bb 100644 --- a/libc/stdlib/nrand48_r.c +++ b/libc/stdlib/nrand48_r.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995. diff --git a/libc/stdlib/on_exit.c b/libc/stdlib/on_exit.c index c0966dcf4..bc0fc897b 100644 --- a/libc/stdlib/on_exit.c +++ b/libc/stdlib/on_exit.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/putenv.c b/libc/stdlib/putenv.c index a6f585b17..9bc16872b 100644 --- a/libc/stdlib/putenv.c +++ b/libc/stdlib/putenv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/qsort.c b/libc/stdlib/qsort.c index 471c66217..04c25b984 100644 --- a/libc/stdlib/qsort.c +++ b/libc/stdlib/qsort.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Douglas C. Schmidt (schmidt@ics.uci.edu). diff --git a/libc/stdlib/quick_exit.c b/libc/stdlib/quick_exit.c index 55064db7b..440b5cdd6 100644 --- a/libc/stdlib/quick_exit.c +++ b/libc/stdlib/quick_exit.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2009-2013 Free Software Foundation, Inc. +/* Copyright (C) 2009-2014 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 diff --git a/libc/stdlib/rand.c b/libc/stdlib/rand.c index ba3a9e79b..c0a13576b 100644 --- a/libc/stdlib/rand.c +++ b/libc/stdlib/rand.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/rand_r.c b/libc/stdlib/rand_r.c index 571b323fe..ae66e8829 100644 --- a/libc/stdlib/rand_r.c +++ b/libc/stdlib/rand_r.c @@ -1,5 +1,5 @@ /* Reentrant random function from POSIX.1c. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. diff --git a/libc/stdlib/random.c b/libc/stdlib/random.c index d286bcf22..c75d1d96a 100644 --- a/libc/stdlib/random.c +++ b/libc/stdlib/random.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/libc/stdlib/random_r.c b/libc/stdlib/random_r.c index a393dd3c1..87cfdc285 100644 --- a/libc/stdlib/random_r.c +++ b/libc/stdlib/random_r.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1995-2013 Free Software Foundation, Inc. + Copyright (C) 1995-2014 Free Software Foundation, Inc. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/libc/stdlib/rpmatch.c b/libc/stdlib/rpmatch.c index 87755343b..4d667a64a 100644 --- a/libc/stdlib/rpmatch.c +++ b/libc/stdlib/rpmatch.c @@ -1,7 +1,7 @@ /* Determine whether string value is affirmation or negative response according to current locale's data. This file is part of the GNU C Library. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/libc/stdlib/rshift.c b/libc/stdlib/rshift.c index c69dbd02e..72e4fc581 100644 --- a/libc/stdlib/rshift.c +++ b/libc/stdlib/rshift.c @@ -1,6 +1,6 @@ /* mpn_rshift -- Shift right a low-level natural-number integer. -Copyright (C) 1991-2013 Free Software Foundation, Inc. +Copyright (C) 1991-2014 Free Software Foundation, Inc. This file is part of the GNU MP Library. diff --git a/libc/stdlib/secure-getenv.c b/libc/stdlib/secure-getenv.c index 1ea795168..5dc48d9dc 100644 --- a/libc/stdlib/secure-getenv.c +++ b/libc/stdlib/secure-getenv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/seed48.c b/libc/stdlib/seed48.c index 2791d088e..526fc421f 100644 --- a/libc/stdlib/seed48.c +++ b/libc/stdlib/seed48.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995. diff --git a/libc/stdlib/seed48_r.c b/libc/stdlib/seed48_r.c index 3f7874c69..6a6acd484 100644 --- a/libc/stdlib/seed48_r.c +++ b/libc/stdlib/seed48_r.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995. diff --git a/libc/stdlib/setcontext.c b/libc/stdlib/setcontext.c index 7431e3916..a276d8c1f 100644 --- a/libc/stdlib/setcontext.c +++ b/libc/stdlib/setcontext.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998-2013 Free Software Foundation, Inc. +/* Copyright (C) 1998-2014 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 diff --git a/libc/stdlib/setenv.c b/libc/stdlib/setenv.c index 63c995b0d..7df5b3fd5 100644 --- a/libc/stdlib/setenv.c +++ b/libc/stdlib/setenv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992-2013 Free Software Foundation, Inc. +/* Copyright (C) 1992-2014 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 diff --git a/libc/stdlib/srand48.c b/libc/stdlib/srand48.c index 7b5d758fc..e8bc8796c 100644 --- a/libc/stdlib/srand48.c +++ b/libc/stdlib/srand48.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995. diff --git a/libc/stdlib/srand48_r.c b/libc/stdlib/srand48_r.c index db9219191..4d01762e7 100644 --- a/libc/stdlib/srand48_r.c +++ b/libc/stdlib/srand48_r.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2013 Free Software Foundation, Inc. +/* Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995. diff --git a/libc/stdlib/stdlib.h b/libc/stdlib/stdlib.h index 813da19e0..d35ffac79 100644 --- a/libc/stdlib/stdlib.h +++ b/libc/stdlib/stdlib.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/strfmon.c b/libc/stdlib/strfmon.c index e4d4c0d24..2f604884a 100644 --- a/libc/stdlib/strfmon.c +++ b/libc/stdlib/strfmon.c @@ -1,5 +1,5 @@ /* Formatting a monetary value according to the current locale. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com> and Jochen Hein <Jochen.Hein@informatik.TU-Clausthal.de>, 1996. diff --git a/libc/stdlib/strfmon_l.c b/libc/stdlib/strfmon_l.c index 345e0056e..71bb5bd38 100644 --- a/libc/stdlib/strfmon_l.c +++ b/libc/stdlib/strfmon_l.c @@ -1,5 +1,5 @@ /* Formatting a monetary value according to the given locale. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. @@ -158,8 +158,8 @@ __vstrfmon_l (char *s, size_t maxsize, __locale_t loc, const char *format, group = 1; /* Print digits grouped. */ pad = ' '; /* Fill character is <SP>. */ is_long_double = 0; /* Double argument by default. */ - p_sign_posn = -1; /* This indicates whether the */ - n_sign_posn = -1; /* '(' flag is given. */ + p_sign_posn = -2; /* This indicates whether the */ + n_sign_posn = -2; /* '(' flag is given. */ width = -1; /* No width specified so far. */ left = 0; /* Right justified by default. */ @@ -181,7 +181,7 @@ __vstrfmon_l (char *s, size_t maxsize, __locale_t loc, const char *format, group = 0; continue; case '+': /* Use +/- for sign of number. */ - if (n_sign_posn != -1) + if (n_sign_posn != -2) { __set_errno (EINVAL); return -1; @@ -190,7 +190,7 @@ __vstrfmon_l (char *s, size_t maxsize, __locale_t loc, const char *format, n_sign_posn = *_NL_CURRENT (LC_MONETARY, N_SIGN_POSN); continue; case '(': /* Use ( ) for negative sign. */ - if (n_sign_posn != -1) + if (n_sign_posn != -2) { __set_errno (EINVAL); return -1; @@ -310,16 +310,16 @@ __vstrfmon_l (char *s, size_t maxsize, __locale_t loc, const char *format, /* If not specified by the format string now find the values for the format specification. */ - if (p_sign_posn == -1) + if (p_sign_posn == -2) p_sign_posn = *_NL_CURRENT (LC_MONETARY, int_format ? INT_P_SIGN_POSN : P_SIGN_POSN); - if (n_sign_posn == -1) + if (n_sign_posn == -2) n_sign_posn = *_NL_CURRENT (LC_MONETARY, int_format ? INT_N_SIGN_POSN : N_SIGN_POSN); if (right_prec == -1) { right_prec = *_NL_CURRENT (LC_MONETARY, int_format ? INT_FRAC_DIGITS : FRAC_DIGITS); - if (right_prec == CHAR_MAX) + if (right_prec == '\377') right_prec = 2; } @@ -384,13 +384,13 @@ __vstrfmon_l (char *s, size_t maxsize, __locale_t loc, const char *format, cs_precedes = 1; if (other_cs_precedes != 0) other_cs_precedes = 1; - if (sep_by_space == CHAR_MAX) + if (sep_by_space == '\377') sep_by_space = 0; - if (other_sep_by_space == CHAR_MAX) + if (other_sep_by_space == '\377') other_sep_by_space = 0; - if (sign_posn == CHAR_MAX) + if (sign_posn == '\377') sign_posn = 1; - if (other_sign_posn == CHAR_MAX) + if (other_sign_posn == '\377') other_sign_posn = 1; /* Check for degenerate cases */ diff --git a/libc/stdlib/strtod.c b/libc/stdlib/strtod.c index bbeaf5e6c..a42556bd7 100644 --- a/libc/stdlib/strtod.c +++ b/libc/stdlib/strtod.c @@ -1,6 +1,6 @@ /* Read decimal floating point numbers. This file is part of the GNU C Library. - Copyright (C) 1995-2013 Free Software Foundation, Inc. + Copyright (C) 1995-2014 Free Software Foundation, Inc. Contributed by Ulrich Drepper <drepper@gnu.org>, 1995. The GNU C Library is free software; you can redistribute it and/or diff --git a/libc/stdlib/strtod_l.c b/libc/stdlib/strtod_l.c index e744cadad..1b46f2a41 100644 --- a/libc/stdlib/strtod_l.c +++ b/libc/stdlib/strtod_l.c @@ -1,5 +1,5 @@ /* Convert string representing a number to float value, using given locale. - Copyright (C) 1997-2013 Free Software Foundation, Inc. + Copyright (C) 1997-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -229,7 +229,7 @@ round_and_return (mp_limb_t *retval, intmax_t exponent, int negative, round_limb = retval[RETURN_LIMB_SIZE - 1]; round_bit = (MANT_DIG - 1) % BITS_PER_MP_LIMB; - for (i = 0; i < RETURN_LIMB_SIZE; ++i) + for (i = 0; i < RETURN_LIMB_SIZE - 1; ++i) more_bits |= retval[i] != 0; MPN_ZERO (retval, RETURN_LIMB_SIZE); } diff --git a/libc/stdlib/strtof.c b/libc/stdlib/strtof.c index 620c60095..b7e8034f5 100644 --- a/libc/stdlib/strtof.c +++ b/libc/stdlib/strtof.c @@ -1,6 +1,6 @@ /* Read decimal floating point numbers. This file is part of the GNU C Library. - Copyright (C) 1995-2013 Free Software Foundation, Inc. + Copyright (C) 1995-2014 Free Software Foundation, Inc. Contributed by Ulrich Drepper <drepper@gnu.org>, 1995. The GNU C Library is free software; you can redistribute it and/or diff --git a/libc/stdlib/strtof_l.c b/libc/stdlib/strtof_l.c index c4c1c1f2d..63105a5d4 100644 --- a/libc/stdlib/strtof_l.c +++ b/libc/stdlib/strtof_l.c @@ -1,5 +1,5 @@ /* Convert string representing a number to float value, using given locale. - Copyright (C) 1997-2013 Free Software Foundation, Inc. + Copyright (C) 1997-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. diff --git a/libc/stdlib/strtol.c b/libc/stdlib/strtol.c index 22ab264cf..f97fc440a 100644 --- a/libc/stdlib/strtol.c +++ b/libc/stdlib/strtol.c @@ -1,5 +1,5 @@ /* Convert string representation of a number into an integer value. - Copyright (C) 1991-2013 Free Software Foundation, Inc. + Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/strtol_l.c b/libc/stdlib/strtol_l.c index dc47608b0..95c2df398 100644 --- a/libc/stdlib/strtol_l.c +++ b/libc/stdlib/strtol_l.c @@ -1,5 +1,5 @@ /* Convert string representing a number to integer value, using given locale. - Copyright (C) 1997-2013 Free Software Foundation, Inc. + Copyright (C) 1997-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. diff --git a/libc/stdlib/strtold.c b/libc/stdlib/strtold.c index f9fa99efb..38a1c4da5 100644 --- a/libc/stdlib/strtold.c +++ b/libc/stdlib/strtold.c @@ -1,6 +1,6 @@ /* Read decimal floating point numbers. This file is part of the GNU C Library. - Copyright (C) 1995-2013 Free Software Foundation, Inc. + Copyright (C) 1995-2014 Free Software Foundation, Inc. Contributed by Ulrich Drepper <drepper@gnu.org>, 1995. The GNU C Library is free software; you can redistribute it and/or diff --git a/libc/stdlib/strtold_l.c b/libc/stdlib/strtold_l.c index 8c7c13ccd..1782890f0 100644 --- a/libc/stdlib/strtold_l.c +++ b/libc/stdlib/strtold_l.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1999-2013 Free Software Foundation, Inc. +/* Copyright (C) 1999-2014 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 diff --git a/libc/stdlib/strtoll.c b/libc/stdlib/strtoll.c index dffb0cec9..34b6e3532 100644 --- a/libc/stdlib/strtoll.c +++ b/libc/stdlib/strtoll.c @@ -1,5 +1,5 @@ /* Function to parse a `long long int' from text. - Copyright (C) 1995-2013 Free Software Foundation, Inc. + Copyright (C) 1995-2014 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 diff --git a/libc/stdlib/strtoll_l.c b/libc/stdlib/strtoll_l.c index bcf528667..51d976aef 100644 --- a/libc/stdlib/strtoll_l.c +++ b/libc/stdlib/strtoll_l.c @@ -1,5 +1,5 @@ /* Convert string representing a number to integer value, using given locale. - Copyright (C) 1997-2013 Free Software Foundation, Inc. + Copyright (C) 1997-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. diff --git a/libc/stdlib/strtoul.c b/libc/stdlib/strtoul.c index 627a92f94..2aa412236 100644 --- a/libc/stdlib/strtoul.c +++ b/libc/stdlib/strtoul.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/strtoul_l.c b/libc/stdlib/strtoul_l.c index 0c03282ac..77b37523a 100644 --- a/libc/stdlib/strtoul_l.c +++ b/libc/stdlib/strtoul_l.c @@ -1,5 +1,5 @@ /* Convert string representing a number to integer value, using given locale. - Copyright (C) 1997-2013 Free Software Foundation, Inc. + Copyright (C) 1997-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. diff --git a/libc/stdlib/strtoull.c b/libc/stdlib/strtoull.c index c946187f3..7e64c53cb 100644 --- a/libc/stdlib/strtoull.c +++ b/libc/stdlib/strtoull.c @@ -1,5 +1,5 @@ /* Function to parse an `unsigned long long int' from text. - Copyright (C) 1995-2013 Free Software Foundation, Inc. + Copyright (C) 1995-2014 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 diff --git a/libc/stdlib/strtoull_l.c b/libc/stdlib/strtoull_l.c index b706f0afe..ba407b3b5 100644 --- a/libc/stdlib/strtoull_l.c +++ b/libc/stdlib/strtoull_l.c @@ -1,5 +1,5 @@ /* Convert string representing a number to integer value, using given locale. - Copyright (C) 1997-2013 Free Software Foundation, Inc. + Copyright (C) 1997-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. diff --git a/libc/stdlib/sub_n.c b/libc/stdlib/sub_n.c index 9b3fb92fe..50fc2b80b 100644 --- a/libc/stdlib/sub_n.c +++ b/libc/stdlib/sub_n.c @@ -1,6 +1,6 @@ /* mpn_sub_n -- Subtract two limb vectors of equal, non-zero length. -Copyright (C) 1992-2013 Free Software Foundation, Inc. +Copyright (C) 1992-2014 Free Software Foundation, Inc. This file is part of the GNU MP Library. diff --git a/libc/stdlib/submul_1.c b/libc/stdlib/submul_1.c index 61a07ca68..ca82bfc24 100644 --- a/libc/stdlib/submul_1.c +++ b/libc/stdlib/submul_1.c @@ -3,7 +3,7 @@ from the limb vector pointed to by RES_PTR. Return the most significant limb of the product, adjusted for carry-out from the subtraction. -Copyright (C) 1992-2013 Free Software Foundation, Inc. +Copyright (C) 1992-2014 Free Software Foundation, Inc. This file is part of the GNU MP Library. diff --git a/libc/stdlib/swapcontext.c b/libc/stdlib/swapcontext.c index 47d6b8d92..ff43bbb43 100644 --- a/libc/stdlib/swapcontext.c +++ b/libc/stdlib/swapcontext.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998-2013 Free Software Foundation, Inc. +/* Copyright (C) 1998-2014 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 diff --git a/libc/stdlib/system.c b/libc/stdlib/system.c index 4aeadc9f0..e5ac6647e 100644 --- a/libc/stdlib/system.c +++ b/libc/stdlib/system.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/test-a64l.c b/libc/stdlib/test-a64l.c index e252351c4..aef569191 100644 --- a/libc/stdlib/test-a64l.c +++ b/libc/stdlib/test-a64l.c @@ -1,5 +1,5 @@ /* Test program for the l64a and a64l functions. - Copyright (C) 2001-2013 Free Software Foundation, Inc. + Copyright (C) 2001-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Schwab <schwab@suse.de>. diff --git a/libc/stdlib/test-canon.c b/libc/stdlib/test-canon.c index c4bff0ed9..8d46290e3 100644 --- a/libc/stdlib/test-canon.c +++ b/libc/stdlib/test-canon.c @@ -1,5 +1,5 @@ /* Test program for returning the canonical absolute name of a given file. - Copyright (C) 1996-2013 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by David Mosberger <davidm@azstarnet.com>. diff --git a/libc/stdlib/test-canon2.c b/libc/stdlib/test-canon2.c index 7f10238d4..8785512db 100644 --- a/libc/stdlib/test-canon2.c +++ b/libc/stdlib/test-canon2.c @@ -1,5 +1,5 @@ /* Test for realpath/canonicalize function. - Copyright (C) 1998-2013 Free Software Foundation, Inc. + Copyright (C) 1998-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998. diff --git a/libc/stdlib/testdiv.c b/libc/stdlib/testdiv.c index 049ecd474..9091c433f 100644 --- a/libc/stdlib/testdiv.c +++ b/libc/stdlib/testdiv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992-2013 Free Software Foundation, Inc. +/* Copyright (C) 1992-2014 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 diff --git a/libc/stdlib/testrand.c b/libc/stdlib/testrand.c index 80a1a699a..12e910d80 100644 --- a/libc/stdlib/testrand.c +++ b/libc/stdlib/testrand.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992-2013 Free Software Foundation, Inc. +/* Copyright (C) 1992-2014 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 diff --git a/libc/stdlib/tst-bsearch.c b/libc/stdlib/tst-bsearch.c index a3ea608ea..e53927593 100644 --- a/libc/stdlib/tst-bsearch.c +++ b/libc/stdlib/tst-bsearch.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2000-2013 Free Software Foundation, Inc. +/* Copyright (C) 2000-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2000. diff --git a/libc/stdlib/tst-environ.c b/libc/stdlib/tst-environ.c index f5cb5da86..3316d7e55 100644 --- a/libc/stdlib/tst-environ.c +++ b/libc/stdlib/tst-environ.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1999-2013 Free Software Foundation, Inc. +/* Copyright (C) 1999-2014 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 diff --git a/libc/stdlib/tst-fmtmsg.sh b/libc/stdlib/tst-fmtmsg.sh index 963c522bb..4f075dca3 100755 --- a/libc/stdlib/tst-fmtmsg.sh +++ b/libc/stdlib/tst-fmtmsg.sh @@ -1,6 +1,6 @@ #! /bin/sh # Test of fmtmsg function family. -# Copyright (C) 2000-2013 Free Software Foundation, Inc. +# Copyright (C) 2000-2014 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 diff --git a/libc/stdlib/tst-makecontext.c b/libc/stdlib/tst-makecontext.c index 15a241254..7968a6d3d 100644 --- a/libc/stdlib/tst-makecontext.c +++ b/libc/stdlib/tst-makecontext.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2006-2013 Free Software Foundation, Inc. +/* Copyright (C) 2006-2014 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 diff --git a/libc/stdlib/tst-makecontext2.c b/libc/stdlib/tst-makecontext2.c index 151be3322..1dfc1ae03 100644 --- a/libc/stdlib/tst-makecontext2.c +++ b/libc/stdlib/tst-makecontext2.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2008-2013 Free Software Foundation, Inc. +/* Copyright (C) 2008-2014 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 diff --git a/libc/stdlib/tst-makecontext3.c b/libc/stdlib/tst-makecontext3.c index bca445965..545b8654a 100644 --- a/libc/stdlib/tst-makecontext3.c +++ b/libc/stdlib/tst-makecontext3.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2013 Free Software Foundation, Inc. +/* Copyright (C) 2001-2014 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 diff --git a/libc/stdlib/tst-random2.c b/libc/stdlib/tst-random2.c index 094cd29d7..0553b6299 100644 --- a/libc/stdlib/tst-random2.c +++ b/libc/stdlib/tst-random2.c @@ -1,5 +1,5 @@ /* Test initstate saving the old state. - Copyright (C) 2005-2013 Free Software Foundation, Inc. + Copyright (C) 2005-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek <jakub@redhat.com>, 2005. diff --git a/libc/stdlib/tst-secure-getenv.c b/libc/stdlib/tst-secure-getenv.c index 9e6837c55..e5da404b8 100644 --- a/libc/stdlib/tst-secure-getenv.c +++ b/libc/stdlib/tst-secure-getenv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2012-2013 Free Software Foundation, Inc. +/* Copyright (C) 2012-2014 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 diff --git a/libc/stdlib/tst-setcontext.c b/libc/stdlib/tst-setcontext.c index 91183ac0c..ac9deb1b4 100644 --- a/libc/stdlib/tst-setcontext.c +++ b/libc/stdlib/tst-setcontext.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2013 Free Software Foundation, Inc. +/* Copyright (C) 2001-2014 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 diff --git a/libc/stdlib/tst-strtod-overflow.c b/libc/stdlib/tst-strtod-overflow.c index ed10fca03..d2c8818eb 100644 --- a/libc/stdlib/tst-strtod-overflow.c +++ b/libc/stdlib/tst-strtod-overflow.c @@ -1,5 +1,5 @@ /* Test for integer/buffer overflow in strtod. - Copyright (C) 2012-2013 Free Software Foundation, Inc. + Copyright (C) 2012-2014 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 diff --git a/libc/stdlib/tst-strtod-round-data b/libc/stdlib/tst-strtod-round-data index 86d460e3b..a6c37677e 100644 --- a/libc/stdlib/tst-strtod-round-data +++ b/libc/stdlib/tst-strtod-round-data @@ -109,3 +109,11 @@ -0x0.7p-1074 -0x0.7p-16445 -0x0.7p-16494 +0x1p-150 +0x1p-1075 +0x1p-16446 +0x1p-16495 +-0x1p-150 +-0x1p-1075 +-0x1p-16446 +-0x1p-16495 diff --git a/libc/stdlib/tst-strtod-round.c b/libc/stdlib/tst-strtod-round.c index 9a440264d..f334b20af 100644 --- a/libc/stdlib/tst-strtod-round.c +++ b/libc/stdlib/tst-strtod-round.c @@ -1,6 +1,6 @@ /* Test for correct rounding of results of strtod and related functions. - Copyright (C) 2012-2013 Free Software Foundation, Inc. + Copyright (C) 2012-2014 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 @@ -7535,6 +7535,294 @@ static const struct test tests[] = { -0x0p+0L, -0x0p+0L, -0x0p+0L), + TEST ("0x1p-150", + false, + 0x0p+0f, + 0x0p+0f, + 0x0p+0f, + 0x8p-152f, + true, + 0x4p-152, + 0x4p-152, + 0x4p-152, + 0x4p-152, + true, + 0x4p-152L, + 0x4p-152L, + 0x4p-152L, + 0x4p-152L, + true, + 0x4p-152L, + 0x4p-152L, + 0x4p-152L, + 0x4p-152L, + true, + 0x4p-152L, + 0x4p-152L, + 0x4p-152L, + 0x4p-152L, + true, + 0x4p-152L, + 0x4p-152L, + 0x4p-152L, + 0x4p-152L, + true, + 0x4p-152L, + 0x4p-152L, + 0x4p-152L, + 0x4p-152L), + TEST ("0x1p-1075", + false, + 0x0p+0f, + 0x0p+0f, + 0x0p+0f, + 0x8p-152f, + false, + 0x0p+0, + 0x0p+0, + 0x0p+0, + 0x4p-1076, + false, + 0x0p+0L, + 0x0p+0L, + 0x0p+0L, + 0x4p-1076L, + true, + 0x2p-1076L, + 0x2p-1076L, + 0x2p-1076L, + 0x2p-1076L, + true, + 0x2p-1076L, + 0x2p-1076L, + 0x2p-1076L, + 0x2p-1076L, + false, + 0x0p+0L, + 0x0p+0L, + 0x0p+0L, + 0x4p-1076L, + true, + 0x2p-1076L, + 0x2p-1076L, + 0x2p-1076L, + 0x2p-1076L), + TEST ("0x1p-16446", + false, + 0x0p+0f, + 0x0p+0f, + 0x0p+0f, + 0x8p-152f, + false, + 0x0p+0, + 0x0p+0, + 0x0p+0, + 0x4p-1076, + false, + 0x0p+0L, + 0x0p+0L, + 0x0p+0L, + 0x4p-1076L, + false, + 0x0p+0L, + 0x0p+0L, + 0x0p+0L, + 0x8p-16448L, + true, + 0x4p-16448L, + 0x4p-16448L, + 0x4p-16448L, + 0x4p-16448L, + false, + 0x0p+0L, + 0x0p+0L, + 0x0p+0L, + 0x4p-1076L, + true, + 0x4p-16448L, + 0x4p-16448L, + 0x4p-16448L, + 0x4p-16448L), + TEST ("0x1p-16495", + false, + 0x0p+0f, + 0x0p+0f, + 0x0p+0f, + 0x8p-152f, + false, + 0x0p+0, + 0x0p+0, + 0x0p+0, + 0x4p-1076, + false, + 0x0p+0L, + 0x0p+0L, + 0x0p+0L, + 0x4p-1076L, + false, + 0x0p+0L, + 0x0p+0L, + 0x0p+0L, + 0x8p-16448L, + false, + 0x0p+0L, + 0x0p+0L, + 0x0p+0L, + 0x4p-16448L, + false, + 0x0p+0L, + 0x0p+0L, + 0x0p+0L, + 0x4p-1076L, + false, + 0x0p+0L, + 0x0p+0L, + 0x0p+0L, + 0x4p-16496L), + TEST ("-0x1p-150", + false, + -0x8p-152f, + -0x0p+0f, + -0x0p+0f, + -0x0p+0f, + true, + -0x4p-152, + -0x4p-152, + -0x4p-152, + -0x4p-152, + true, + -0x4p-152L, + -0x4p-152L, + -0x4p-152L, + -0x4p-152L, + true, + -0x4p-152L, + -0x4p-152L, + -0x4p-152L, + -0x4p-152L, + true, + -0x4p-152L, + -0x4p-152L, + -0x4p-152L, + -0x4p-152L, + true, + -0x4p-152L, + -0x4p-152L, + -0x4p-152L, + -0x4p-152L, + true, + -0x4p-152L, + -0x4p-152L, + -0x4p-152L, + -0x4p-152L), + TEST ("-0x1p-1075", + false, + -0x8p-152f, + -0x0p+0f, + -0x0p+0f, + -0x0p+0f, + false, + -0x4p-1076, + -0x0p+0, + -0x0p+0, + -0x0p+0, + false, + -0x4p-1076L, + -0x0p+0L, + -0x0p+0L, + -0x0p+0L, + true, + -0x2p-1076L, + -0x2p-1076L, + -0x2p-1076L, + -0x2p-1076L, + true, + -0x2p-1076L, + -0x2p-1076L, + -0x2p-1076L, + -0x2p-1076L, + false, + -0x4p-1076L, + -0x0p+0L, + -0x0p+0L, + -0x0p+0L, + true, + -0x2p-1076L, + -0x2p-1076L, + -0x2p-1076L, + -0x2p-1076L), + TEST ("-0x1p-16446", + false, + -0x8p-152f, + -0x0p+0f, + -0x0p+0f, + -0x0p+0f, + false, + -0x4p-1076, + -0x0p+0, + -0x0p+0, + -0x0p+0, + false, + -0x4p-1076L, + -0x0p+0L, + -0x0p+0L, + -0x0p+0L, + false, + -0x8p-16448L, + -0x0p+0L, + -0x0p+0L, + -0x0p+0L, + true, + -0x4p-16448L, + -0x4p-16448L, + -0x4p-16448L, + -0x4p-16448L, + false, + -0x4p-1076L, + -0x0p+0L, + -0x0p+0L, + -0x0p+0L, + true, + -0x4p-16448L, + -0x4p-16448L, + -0x4p-16448L, + -0x4p-16448L), + TEST ("-0x1p-16495", + false, + -0x8p-152f, + -0x0p+0f, + -0x0p+0f, + -0x0p+0f, + false, + -0x4p-1076, + -0x0p+0, + -0x0p+0, + -0x0p+0, + false, + -0x4p-1076L, + -0x0p+0L, + -0x0p+0L, + -0x0p+0L, + false, + -0x8p-16448L, + -0x0p+0L, + -0x0p+0L, + -0x0p+0L, + false, + -0x4p-16448L, + -0x0p+0L, + -0x0p+0L, + -0x0p+0L, + false, + -0x4p-1076L, + -0x0p+0L, + -0x0p+0L, + -0x0p+0L, + false, + -0x4p-16496L, + -0x0p+0L, + -0x0p+0L, + -0x0p+0L), }; static int diff --git a/libc/stdlib/tst-strtod-underflow.c b/libc/stdlib/tst-strtod-underflow.c index eac02dd3d..bc2374188 100644 --- a/libc/stdlib/tst-strtod-underflow.c +++ b/libc/stdlib/tst-strtod-underflow.c @@ -1,6 +1,6 @@ /* Test for strtod handling of arguments that may cause floating-point underflow. - Copyright (C) 2012-2013 Free Software Foundation, Inc. + Copyright (C) 2012-2014 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 diff --git a/libc/stdlib/tst-strtod.c b/libc/stdlib/tst-strtod.c index 9d7aa4e8d..e337a7ccb 100644 --- a/libc/stdlib/tst-strtod.c +++ b/libc/stdlib/tst-strtod.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/tst-system.c b/libc/stdlib/tst-system.c index 28dda686c..eff0bf42f 100644 --- a/libc/stdlib/tst-system.c +++ b/libc/stdlib/tst-system.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002-2013 Free Software Foundation, Inc. +/* Copyright (C) 2002-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. diff --git a/libc/stdlib/tst-tininess.c b/libc/stdlib/tst-tininess.c index aa7124e22..c2dca571a 100644 --- a/libc/stdlib/tst-tininess.c +++ b/libc/stdlib/tst-tininess.c @@ -1,5 +1,5 @@ /* Test that tininess.h is correct for this architecture. - Copyright (C) 2012-2013 Free Software Foundation, Inc. + Copyright (C) 2012-2014 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 diff --git a/libc/stdlib/tst-tls-atexit-lib.c b/libc/stdlib/tst-tls-atexit-lib.c index 9c7021aea..964f94b27 100644 --- a/libc/stdlib/tst-tls-atexit-lib.c +++ b/libc/stdlib/tst-tls-atexit-lib.c @@ -1,5 +1,5 @@ /* Verify that DSO is unloaded only if its TLS objects are destroyed - the DSO. - Copyright (C) 2013 Free Software Foundation, Inc. + Copyright (C) 2013-2014 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 diff --git a/libc/stdlib/tst-tls-atexit.c b/libc/stdlib/tst-tls-atexit.c index 3d3777c31..1ba3fae35 100644 --- a/libc/stdlib/tst-tls-atexit.c +++ b/libc/stdlib/tst-tls-atexit.c @@ -1,5 +1,5 @@ /* Verify that DSO is unloaded only if its TLS objects are destroyed. - Copyright (C) 2013 Free Software Foundation, Inc. + Copyright (C) 2013-2014 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 diff --git a/libc/stdlib/tst-xpg-basename.c b/libc/stdlib/tst-xpg-basename.c index 3d2046e7a..61e2e4b14 100644 --- a/libc/stdlib/tst-xpg-basename.c +++ b/libc/stdlib/tst-xpg-basename.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1999-2013 Free Software Foundation, Inc. +/* Copyright (C) 1999-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Jaeger <aj@suse.de>, 1999. diff --git a/libc/stdlib/ucontext.h b/libc/stdlib/ucontext.h index 640e95753..209ce3191 100644 --- a/libc/stdlib/ucontext.h +++ b/libc/stdlib/ucontext.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1997-2013 Free Software Foundation, Inc. +/* Copyright (C) 1997-2014 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 diff --git a/libc/stdlib/wcstombs.c b/libc/stdlib/wcstombs.c index 63e693e60..c7b8a42fd 100644 --- a/libc/stdlib/wcstombs.c +++ b/libc/stdlib/wcstombs.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/wctomb.c b/libc/stdlib/wctomb.c index 196090f00..0001ab77f 100644 --- a/libc/stdlib/wctomb.c +++ b/libc/stdlib/wctomb.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2013 Free Software Foundation, Inc. +/* Copyright (C) 1991-2014 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 diff --git a/libc/stdlib/xpg_basename.c b/libc/stdlib/xpg_basename.c index ecba7fe60..1a513144d 100644 --- a/libc/stdlib/xpg_basename.c +++ b/libc/stdlib/xpg_basename.c @@ -1,5 +1,5 @@ /* Return basename of given pathname according to the weird XPG specification. - Copyright (C) 1997-2013 Free Software Foundation, Inc. + Copyright (C) 1997-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. |