Prefer https to http for gnu.org and fsf.org URLs

Also, change sources.redhat.com to sourceware.org.
This patch was automatically generated by running the following shell
script, which uses GNU sed, and which avoids modifying files imported
from upstream:

sed -ri '
  s,(http|ftp)(://(.*\.)?(gnu|fsf|sourceware)\.org($|[^.]|\.[^a-z])),https\2,g
  s,(http|ftp)(://(.*\.)?)sources\.redhat\.com($|[^.]|\.[^a-z]),https\2sourceware.org\4,g
' \
  $(find $(git ls-files) -prune -type f \
      ! -name '*.po' \
      ! -name 'ChangeLog*' \
      ! -path COPYING ! -path COPYING.LIB \
      ! -path manual/fdl-1.3.texi ! -path manual/lgpl-2.1.texi \
      ! -path manual/texinfo.tex ! -path scripts/config.guess \
      ! -path scripts/config.sub ! -path scripts/install-sh \
      ! -path scripts/mkinstalldirs ! -path scripts/move-if-change \
      ! -path INSTALL ! -path  locale/programs/charmap-kw.h \
      ! -path po/libc.pot ! -path sysdeps/gnu/errlist.c \
      ! '(' -name configure \
            -execdir test -f configure.ac -o -f configure.in ';' ')' \
      ! '(' -name preconfigure \
            -execdir test -f preconfigure.ac ';' ')' \
      -print)

and then by running 'make dist-prepare' to regenerate files built
from the altered files, and then executing the following to cleanup:

  chmod a+x sysdeps/unix/sysv/linux/riscv/configure
  # Omit irrelevant whitespace and comment-only changes,
  # perhaps from a slightly-different Autoconf version.
  git checkout -f \
    sysdeps/csky/configure \
    sysdeps/hppa/configure \
    sysdeps/riscv/configure \
    sysdeps/unix/sysv/linux/csky/configure
  # Omit changes that caused a pre-commit check to fail like this:
  # remote: *** error: sysdeps/powerpc/powerpc64/ppc-mcount.S: trailing lines
  git checkout -f \
    sysdeps/powerpc/powerpc64/ppc-mcount.S \
    sysdeps/unix/sysv/linux/s390/s390-64/syscall.S
  # Omit change that caused a pre-commit check to fail like this:
  # remote: *** error: sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: last line does not end in newline
  git checkout -f sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S
This commit is contained in:
Paul Eggert 2019-09-06 22:40:42 -07:00
parent 1b7f04070b
commit 5a82c74822
10598 changed files with 10604 additions and 10604 deletions

View File

@ -643,7 +643,7 @@ library, you really only need to narrow it down to one library function
call, if possible. This should not be too difficult. call, if possible. This should not be too difficult.
The final step when you have a simple test case is to report the bug. The final step when you have a simple test case is to report the bug.
Do this at <http://www.gnu.org/software/libc/bugs.html>. Do this at <https://www.gnu.org/software/libc/bugs.html>.
If you are not sure how a function should behave, and this manual If you are not sure how a function should behave, and this manual
doesn't tell you, that's a bug in the manual. Report that too! If the doesn't tell you, that's a bug in the manual. Report that too! If the

View File

@ -246,7 +246,7 @@ Collected from libdes and modified for SECURE RPC by Martin Kuck 1994
This file is distributed under the terms of the GNU Lesser General 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. 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 If you did not receive a copy of the license with this program, please
see <http://www.gnu.org/licenses/> to obtain a copy. see <https://www.gnu.org/licenses/> to obtain a copy.
The file inet/rcmd.c is under a UCB copyright and the following: The file inet/rcmd.c is under a UCB copyright and the following:
@ -388,4 +388,4 @@ Copyright 2001 by Stephen L. Moshier <moshier@na-net.ornl.gov>
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with this library; if not, see License along with this library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */

View File

@ -13,7 +13,7 @@
# You should have received a copy of the GNU Lesser General Public # You should have received a copy of the GNU Lesser General Public
# License along with the GNU C Library; if not, see # License along with the GNU C Library; if not, see
# <http://www.gnu.org/licenses/>. # <https://www.gnu.org/licenses/>.
# #
# Makefile configuration options for the GNU C library. # Makefile configuration options for the GNU C library.

View File

@ -13,7 +13,7 @@
# You should have received a copy of the GNU Lesser General Public # You should have received a copy of the GNU Lesser General Public
# License along with the GNU C Library; if not, see # License along with the GNU C Library; if not, see
# <http://www.gnu.org/licenses/>. # <https://www.gnu.org/licenses/>.
# #
# Master Makefile for the GNU C library # Master Makefile for the GNU C library

View File

@ -13,7 +13,7 @@
# You should have received a copy of the GNU Lesser General Public # You should have received a copy of the GNU Lesser General Public
# License along with the GNU C Library; if not, see # License along with the GNU C Library; if not, see
# <http://www.gnu.org/licenses/>. # <https://www.gnu.org/licenses/>.
# #
# Common rules for making the GNU C library. This file is included # Common rules for making the GNU C library. This file is included

4
NEWS
View File

@ -4226,7 +4226,7 @@ Version 2.3.6
1110, 1111, 1112, 1113, 1125, 1137, 1138, 1249, 1250, 1251, 1252, 1110, 1111, 1112, 1113, 1125, 1137, 1138, 1249, 1250, 1251, 1252,
1253, 1254, 1350, 1358, 1394, 1438, 1498, 1534 1253, 1254, 1350, 1358, 1394, 1438, 1498, 1534
Visit <http://sources.redhat.com/bugzilla/> for the details of each bug. Visit <https://sourceware.org/bugzilla/> for the details of each bug.
* As of this release, GCC 4 can be used to compile the C Library. * As of this release, GCC 4 can be used to compile the C Library.
@ -4241,7 +4241,7 @@ Version 2.3.5
737, 738, 739, 740, 741, 742, 743, 744, 745, 765, 767, 768, 769, 776, 737, 738, 739, 740, 741, 742, 743, 744, 745, 765, 767, 768, 769, 776,
777, 787, 821, 822, 823, 825 777, 787, 821, 822, 823, 825
Visit <http://sources.redhat.com/bugzilla/> for the details of each bug. Visit <https://sourceware.org/bugzilla/> for the details of each bug.
Version 2.3.4 Version 2.3.4

6
README
View File

@ -44,12 +44,12 @@ The GNU C Library supports these configurations for using Linux kernels:
sparc64*-*-linux-gnu sparc64*-*-linux-gnu
If you are interested in doing a port, please contact the glibc If you are interested in doing a port, please contact the glibc
maintainers; see http://www.gnu.org/software/libc/ for more maintainers; see https://www.gnu.org/software/libc/ for more
information. information.
See the file INSTALL to find out how to configure, build, and install See the file INSTALL to find out how to configure, build, and install
the GNU C Library. You might also consider reading the WWW pages for the GNU C Library. You might also consider reading the WWW pages for
the C library at http://www.gnu.org/software/libc/. the C library at https://www.gnu.org/software/libc/.
The GNU C Library is (almost) completely documented by the Texinfo manual The GNU C Library is (almost) completely documented by the Texinfo manual
found in the `manual/' subdirectory. The manual is still being updated found in the `manual/' subdirectory. The manual is still being updated
@ -60,7 +60,7 @@ following the bug-reporting instructions below. Please be sure to check
the manual in the current development sources to see if your problem has the manual in the current development sources to see if your problem has
already been corrected. already been corrected.
Please see http://www.gnu.org/software/libc/bugs.html for bug reporting Please see https://www.gnu.org/software/libc/bugs.html for bug reporting
information. We are now using the Bugzilla system to track all bug reports. information. We are now using the Bugzilla system to track all bug reports.
This web page gives detailed information on how to report bugs properly. This web page gives detailed information on how to report bugs properly.

2
Rules
View File

@ -13,7 +13,7 @@
# You should have received a copy of the GNU Lesser General Public # You should have received a copy of the GNU Lesser General Public
# License along with the GNU C Library; if not, see # License along with the GNU C Library; if not, see
# <http://www.gnu.org/licenses/>. # <https://www.gnu.org/licenses/>.
# #
# Rules for making a subdirectory in the GNU C library. # Rules for making a subdirectory in the GNU C library.

View File

@ -13,7 +13,7 @@
# You should have received a copy of the GNU Lesser General Public # You should have received a copy of the GNU Lesser General Public
# License along with the GNU C Library; if not, see # License along with the GNU C Library; if not, see
# <http://www.gnu.org/licenses/>. # <https://www.gnu.org/licenses/>.
# #
# Makefile for argp. # Makefile for argp.

View File

@ -15,7 +15,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
/* If set by the user program, it should point to string that is the /* If set by the user program, it should point to string that is the
bug-reporting address for the program. It will be printed by argp_help if bug-reporting address for the program. It will be printed by argp_help if

View File

@ -15,7 +15,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
# include <config.h> # include <config.h>

View File

@ -15,7 +15,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
/* This package emulates glibc `line_wrap_stream' semantics for systems that /* This package emulates glibc `line_wrap_stream' semantics for systems that
don't have that. */ don't have that. */

View File

@ -15,7 +15,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
/* This package emulates glibc `line_wrap_stream' semantics for systems that /* This package emulates glibc `line_wrap_stream' semantics for systems that
don't have that. If the system does have it, it is just a wrapper for don't have that. If the system does have it, it is just a wrapper for

View File

@ -15,7 +15,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
# include <config.h> # include <config.h>

View File

@ -15,7 +15,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#ifndef _GNU_SOURCE #ifndef _GNU_SOURCE
# define _GNU_SOURCE 1 # define _GNU_SOURCE 1

View File

@ -15,7 +15,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#if !_LIBC #if !_LIBC
/* This code is written for inclusion in gnu-libc, and uses names in the /* This code is written for inclusion in gnu-libc, and uses names in the

View File

@ -15,7 +15,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include <config.h> #include <config.h>

View File

@ -15,7 +15,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
/* If set by the user program to a non-zero value, then a default option /* If set by the user program to a non-zero value, then a default option
--version is added (unless the ARGP_NO_HELP flag is used), which will --version is added (unless the ARGP_NO_HELP flag is used), which will

View File

@ -15,7 +15,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include <config.h> #include <config.h>

View File

@ -15,7 +15,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include <config.h> #include <config.h>

View File

@ -15,7 +15,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
# include <config.h> # include <config.h>

View File

@ -15,7 +15,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#ifndef _ARGP_H #ifndef _ARGP_H
#define _ARGP_H #define _ARGP_H

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#ifndef _ARGP_H #ifndef _ARGP_H
# error "Never include <bits/argp-ldbl.h> directly; use <argp.h> instead." # error "Never include <bits/argp-ldbl.h> directly; use <argp.h> instead."

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#include <argp.h> #include <argp.h>

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#include <argp.h> #include <argp.h>

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#include <argp.h> #include <argp.h>
#include <string.h> #include <string.h>

View File

@ -13,7 +13,7 @@
# You should have received a copy of the GNU Lesser General Public # You should have received a copy of the GNU Lesser General Public
# License along with the GNU C Library; if not, see # License along with the GNU C Library; if not, see
# <http://www.gnu.org/licenses/>. # <https://www.gnu.org/licenses/>.
# #
# Sub-makefile for assert portion of the library. # Sub-makefile for assert portion of the library.

View File

@ -13,7 +13,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
/* We have to see the prototype. */ /* We have to see the prototype. */
#undef NDEBUG #undef NDEBUG

View File

@ -13,7 +13,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#include <assert.h> #include <assert.h>
#include <libintl.h> #include <libintl.h>

View File

@ -13,7 +13,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#include <assert.h> #include <assert.h>
#include <atomic.h> #include <atomic.h>

View File

@ -13,7 +13,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
/* /*
* ISO C99 Standard: 7.2 Diagnostics <assert.h> * ISO C99 Standard: 7.2 Diagnostics <assert.h>

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#include <assert.h> #include <assert.h>

View File

@ -14,6 +14,6 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#include <tst-assert-c++.cc> #include <tst-assert-c++.cc>

View File

@ -13,7 +13,7 @@
# You should have received a copy of the GNU Lesser General Public # You should have received a copy of the GNU Lesser General Public
# License along with the GNU C Library; if not, see # License along with the GNU C Library; if not, see
# <http://www.gnu.org/licenses/>. # <https://www.gnu.org/licenses/>.
# Makefile for benchmark tests. The only useful target here is `bench`. # Makefile for benchmark tests. The only useful target here is `bench`.
# Add benchmark functions in alphabetical order. # Add benchmark functions in alphabetical order.

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#include <pthread.h> #include <pthread.h>
#include <stdio.h> #include <stdio.h>

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#include <errno.h> #include <errno.h>
#include <math.h> #include <math.h>

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define SIZE 1024 #define SIZE 1024
#define TEST_MAIN #define TEST_MAIN

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#define TEST_NAME "memccpy" #define TEST_NAME "memccpy"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#ifndef WIDE #ifndef WIDE
# define SMALL_CHAR 127 # define SMALL_CHAR 127

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#ifdef WIDE #ifdef WIDE

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#ifndef MEMCPY_RESULT #ifndef MEMCPY_RESULT
# define MEMCPY_RESULT(dst, len) dst # define MEMCPY_RESULT(dst, len) dst

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define MIN_PAGE_SIZE 131072 #define MIN_PAGE_SIZE 131072
#define TEST_MAIN #define TEST_MAIN

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
/* This microbenchmark measures the throughput of memcpy for various sizes from /* This microbenchmark measures the throughput of memcpy for various sizes from
1 byte to 32MiB, doubling every iteration and then misaligning by 0-15 1 byte to 32MiB, doubling every iteration and then misaligning by 0-15

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#ifndef MEMCPY_RESULT #ifndef MEMCPY_RESULT
# define MEMCPY_RESULT(dst, len) dst # define MEMCPY_RESULT(dst, len) dst

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#define TEST_NAME "memmem" #define TEST_NAME "memmem"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define BASE_PAGE_SIZE (1024 * 1024) #define BASE_PAGE_SIZE (1024 * 1024)
#define START_SIZE (4 * 1024) #define START_SIZE (4 * 1024)

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
/* This microbenchmark measures the throughput of memmove for various sizes from /* This microbenchmark measures the throughput of memmove for various sizes from
1 byte to 32MiB, doubling every iteration and then misaligning by 0-15 1 byte to 32MiB, doubling every iteration and then misaligning by 0-15

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#define TEST_NAME "memmove" #define TEST_NAME "memmove"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define MEMCPY_RESULT(dst, len) (dst) + (len) #define MEMCPY_RESULT(dst, len) (dst) + (len)
#define TEST_MAIN #define TEST_MAIN

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#define TEST_NAME "memrchr" #define TEST_NAME "memrchr"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#define TEST_NAME "memset" #define TEST_NAME "memset"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#define TEST_NAME "memset" #define TEST_NAME "memset"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#ifndef WIDE #ifndef WIDE

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#include <assert.h> #include <assert.h>
#include <stdint.h> #include <stdint.h>

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#include <string.h> #include <string.h>
#include <stdint.h> #include <stdint.h>

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define STRCPY_RESULT(dst, len) ((dst) + (len)) #define STRCPY_RESULT(dst, len) ((dst) + (len))
#define TEST_MAIN #define TEST_MAIN

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define STRCPY_RESULT(dst, len) ((dst) + (len)) #define STRCPY_RESULT(dst, len) ((dst) + (len))
#define TEST_MAIN #define TEST_MAIN

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define STRNCPY_RESULT(dst, len, n) ((dst) + ((len) > (n) ? (n) : (len))) #define STRNCPY_RESULT(dst, len, n) ((dst) + ((len) > (n) ? (n) : (len)))
#define TEST_MAIN #define TEST_MAIN

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#include <ctype.h> #include <ctype.h>
#define TEST_MAIN #define TEST_MAIN

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#define TEST_NAME "strcasestr" #define TEST_NAME "strcasestr"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#ifndef WIDE #ifndef WIDE

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#ifndef WIDE #ifndef WIDE

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define USE_FOR_STRCHRNUL 1 #define USE_FOR_STRCHRNUL 1
#include "bench-strchr.c" #include "bench-strchr.c"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#ifdef WIDE #ifdef WIDE

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#include <stdio.h> #include <stdio.h>
#include <fcntl.h> #include <fcntl.h>

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define BIG_CHAR MAX_CHAR #define BIG_CHAR MAX_CHAR

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#ifndef STRCPY_RESULT #ifndef STRCPY_RESULT
# define STRCPY_RESULT(dst, len) dst # define STRCPY_RESULT(dst, len) dst

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define STRPBRK_RESULT(s, pos) (pos) #define STRPBRK_RESULT(s, pos) (pos)
#define RES_TYPE size_t #define RES_TYPE size_t

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#include <getopt.h> #include <getopt.h>
#include <sys/cdefs.h> #include <sys/cdefs.h>

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#ifndef WIDE #ifndef WIDE

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#include <ctype.h> #include <ctype.h>
#define TEST_MAIN #define TEST_MAIN

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#ifndef WIDE #ifndef WIDE

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#ifdef WIDE #ifdef WIDE

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define BIG_CHAR MAX_CHAR #define BIG_CHAR MAX_CHAR

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#ifndef WIDE #ifndef WIDE

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define BIG_CHAR MAX_CHAR #define BIG_CHAR MAX_CHAR

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#ifdef WIDE #ifdef WIDE

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#define TEST_NAME "strsep" #define TEST_NAME "strsep"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#ifndef WIDE #ifndef WIDE

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define MIN_PAGE_SIZE 131072 #define MIN_PAGE_SIZE 131072
#define TEST_MAIN #define TEST_MAIN

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#define TEST_NAME "strtod" #define TEST_NAME "strtod"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define TEST_MAIN #define TEST_MAIN
#define TEST_NAME "strtok" #define TEST_NAME "strtok"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#include "bench-timing.h" #include "bench-timing.h"
#include <stdio.h> #include <stdio.h>

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#undef attribute_hidden #undef attribute_hidden
#define attribute_hidden #define attribute_hidden

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
static volatile unsigned int dontoptimize = 0; static volatile unsigned int dontoptimize = 0;

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#ifndef START_ITER #ifndef START_ITER

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define WIDE 1 #define WIDE 1
#include "bench-stpcpy.c" #include "bench-stpcpy.c"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define WIDE 1 #define WIDE 1
#include "bench-stpncpy.c" #include "bench-stpncpy.c"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define WIDE 1 #define WIDE 1
#include "bench-strcat.c" #include "bench-strcat.c"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define WIDE 1 #define WIDE 1
#include "bench-strchr.c" #include "bench-strchr.c"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define WIDE 1 #define WIDE 1
#include "bench-strchrnul.c" #include "bench-strchrnul.c"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define WIDE 1 #define WIDE 1
#include "bench-strcmp.c" #include "bench-strcmp.c"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define WIDE 1 #define WIDE 1
#include "bench-strcpy.c" #include "bench-strcpy.c"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define WIDE 1 #define WIDE 1
#include "bench-strcspn.c" #include "bench-strcspn.c"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define WIDE 1 #define WIDE 1
#include "bench-strlen.c" #include "bench-strlen.c"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define WIDE 1 #define WIDE 1
#include "bench-strncat.c" #include "bench-strncat.c"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define WIDE 1 #define WIDE 1
#include "bench-strncmp.c" #include "bench-strncmp.c"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define WIDE 1 #define WIDE 1
#include "bench-strncpy.c" #include "bench-strncpy.c"

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define WIDE 1 #define WIDE 1
#define __wmemchr wmemchr #define __wmemchr wmemchr

View File

@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#define WIDE 1 #define WIDE 1
#include "bench-strpbrk.c" #include "bench-strpbrk.c"

Some files were not shown because too many files have changed in this diff Show More