Skip to content

Commit

Permalink
Bump up newlib version to 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jjohnstn committed Dec 18, 2020
1 parent 4bb6581 commit 415fdd4
Show file tree
Hide file tree
Showing 115 changed files with 1,140 additions and 1,134 deletions.
6 changes: 6 additions & 0 deletions newlib/NEWS
@@ -1,3 +1,9 @@
*** Major changes in newlib version 4.1.0:

- fixes for regressions to pow/powf and tgamma functions
- RISC-V semihosting support
- RISC-V and arm patches

*** Major changes in newlib version 4.0.0:

- additional out-of-bounds checking for malloc/nano-malloc family
Expand Down
22 changes: 11 additions & 11 deletions newlib/README
@@ -1,11 +1,11 @@
README for newlib-4.0.0 release
README for newlib-4.1.0 release
(mostly cribbed from the README in the gdb-4.13 release)

This is `newlib', a simple ANSI C library, math library, and collection
of board support packages.

Prior to the 4.0.0 release, newlib supported both ANSI and K&R-style
compilers. As of 4.0.0, K&R is no longer supported.
Prior to the 3.0.0 release, newlib supported both ANSI and K&R-style
compilers. As of 3.0.0, K&R is no longer supported.

The newlib and libgloss subdirectories are a collection of software from
several sources, each with their own copyright and license. See the file
Expand All @@ -20,8 +20,8 @@ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Unpacking and Installation -- quick overview
==========================

When you unpack the newlib-4.0.0.tar.gz file, you'll find a directory
called `newlib-4.0.0', which contains:
When you unpack the newlib-4.1.0.tar.gz file, you'll find a directory
called `newlib-4.1.0', which contains:

COPYING config/ install-sh* mpw-configure
COPYING.LIB config-ml.in libgloss/ mpw-install
Expand Down Expand Up @@ -97,13 +97,13 @@ directory. If the path to `configure' would be the same as the
argument to `--srcdir', you can leave out the `--srcdir' option; it
will be assumed.)

For example, with version 4.0.0, you can build NEWLIB in a separate
For example, with version 4.1.0, you can build NEWLIB in a separate
directory for a Sun 4 cross m68k-aout environment like this:

cd newlib-4.0.0
cd newlib-4.1.0
mkdir ../newlib-m68k-aout
cd ../newlib-m68k-aout
../newlib-4.0.0/configure --host=sun4 --target=m68k-aout
../newlib-4.1.0/configure --host=sun4 --target=m68k-aout
make

When `configure' builds a configuration using a remote source
Expand All @@ -119,8 +119,8 @@ called `configure' (or one of its subdirectories).

The `Makefile' that `configure' generates in each source directory
also runs recursively. If you type `make' in a source directory such
as `newlib-4.0.0' (or in a separate configured directory configured with
`--srcdir=PATH/newlib-4.0.0'), you will build all the required libraries.
as `newlib-4.1.0' (or in a separate configured directory configured with
`--srcdir=PATH/newlib-4.1.0'), you will build all the required libraries.

When you have multiple hosts or targets configured in separate
directories, you can run `make' on them in parallel (for example, if
Expand Down Expand Up @@ -604,7 +604,7 @@ Reporting Bugs

The correct address for reporting bugs found in NEWLIB is
"newlib@sourceware.org". Please email all bug reports to that
address. Please include the NEWLIB version number (e.g., newlib-4.0.0),
address. Please include the NEWLIB version number (e.g., newlib-4.1.0),
and how you configured it (e.g., "sun4 host and m68k-aout target").
Since NEWLIB supports many different configurations, it is important
that you be precise about this.
Expand Down
2 changes: 1 addition & 1 deletion newlib/acinclude.m4
Expand Up @@ -2,7 +2,7 @@ dnl This provides configure definitions used by all the newlib
dnl configure.in files.

AC_DEFUN([DEF_NEWLIB_MAJOR_VERSION],m4_define([NEWLIB_MAJOR_VERSION],[4]))
AC_DEFUN([DEF_NEWLIB_MINOR_VERSION],m4_define([NEWLIB_MINOR_VERSION],[0]))
AC_DEFUN([DEF_NEWLIB_MINOR_VERSION],m4_define([NEWLIB_MINOR_VERSION],[1]))
AC_DEFUN([DEF_NEWLIB_PATCHLEVEL_VERSION],m4_define([NEWLIB_PATCHLEVEL_VERSION],[0]))
AC_DEFUN([DEF_NEWLIB_VERSION],m4_define([NEWLIB_VERSION],[NEWLIB_MAJOR_VERSION.NEWLIB_MINOR_VERSION.NEWLIB_PATCHLEVEL_VERSION]))

Expand Down
24 changes: 12 additions & 12 deletions newlib/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for newlib 4.0.0.
# Generated by GNU Autoconf 2.68 for newlib 4.1.0.
#
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
Expand Down Expand Up @@ -567,8 +567,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='newlib'
PACKAGE_TARNAME='newlib'
PACKAGE_VERSION='4.0.0'
PACKAGE_STRING='newlib 4.0.0'
PACKAGE_VERSION='4.1.0'
PACKAGE_STRING='newlib 4.1.0'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''

Expand Down Expand Up @@ -1380,7 +1380,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures newlib 4.0.0 to adapt to many kinds of systems.
\`configure' configures newlib 4.1.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1450,7 +1450,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of newlib 4.0.0:";;
short | recursive ) echo "Configuration of newlib 4.1.0:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1586,7 +1586,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
newlib configure 4.0.0
newlib configure 4.1.0
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1864,7 +1864,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by newlib $as_me 4.0.0, which was
It was created by newlib $as_me 4.1.0, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -3235,7 +3235,7 @@ fi

# Define the identity of the package.
PACKAGE='newlib'
VERSION='4.0.0'
VERSION='4.1.0'


# Some tools Automake needs.
Expand Down Expand Up @@ -12444,13 +12444,13 @@ _ACEOF
fi


$as_echo "#define _NEWLIB_VERSION \"4.0.0\"" >>confdefs.h
$as_echo "#define _NEWLIB_VERSION \"4.1.0\"" >>confdefs.h


$as_echo "#define __NEWLIB__ 4" >>confdefs.h


$as_echo "#define __NEWLIB_MINOR__ 0" >>confdefs.h
$as_echo "#define __NEWLIB_MINOR__ 1" >>confdefs.h


$as_echo "#define __NEWLIB_PATCHLEVEL__ 0" >>confdefs.h
Expand Down Expand Up @@ -13383,7 +13383,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by newlib $as_me 4.0.0, which was
This file was extended by newlib $as_me 4.1.0, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -13449,7 +13449,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
newlib config.status 4.0.0
newlib config.status 4.1.0
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
Expand Down
20 changes: 10 additions & 10 deletions newlib/doc/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for newlib 4.0.0.
# Generated by GNU Autoconf 2.68 for newlib 4.1.0.
#
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
Expand Down Expand Up @@ -556,8 +556,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='newlib'
PACKAGE_TARNAME='newlib'
PACKAGE_VERSION='4.0.0'
PACKAGE_STRING='newlib 4.0.0'
PACKAGE_VERSION='4.1.0'
PACKAGE_STRING='newlib 4.1.0'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''

Expand Down Expand Up @@ -1242,7 +1242,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures newlib 4.0.0 to adapt to many kinds of systems.
\`configure' configures newlib 4.1.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1312,7 +1312,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of newlib 4.0.0:";;
short | recursive ) echo "Configuration of newlib 4.1.0:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1404,7 +1404,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
newlib configure 4.0.0
newlib configure 4.1.0
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1459,7 +1459,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by newlib $as_me 4.0.0, which was
It was created by newlib $as_me 4.1.0, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -2543,7 +2543,7 @@ fi
# Define the identity of the package.
PACKAGE='newlib'
VERSION='4.0.0'
VERSION='4.1.0'
# Some tools Automake needs.
Expand Down Expand Up @@ -4063,7 +4063,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by newlib $as_me 4.0.0, which was
This file was extended by newlib $as_me 4.1.0, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -4120,7 +4120,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
newlib config.status 4.0.0
newlib config.status 4.1.0
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
Expand Down
20 changes: 10 additions & 10 deletions newlib/iconvdata/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for newlib 4.0.0.
# Generated by GNU Autoconf 2.68 for newlib 4.1.0.
#
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
Expand Down Expand Up @@ -567,8 +567,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='newlib'
PACKAGE_TARNAME='newlib'
PACKAGE_VERSION='4.0.0'
PACKAGE_STRING='newlib 4.0.0'
PACKAGE_VERSION='4.1.0'
PACKAGE_STRING='newlib 4.1.0'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''

Expand Down Expand Up @@ -1323,7 +1323,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures newlib 4.0.0 to adapt to many kinds of systems.
\`configure' configures newlib 4.1.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1393,7 +1393,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of newlib 4.0.0:";;
short | recursive ) echo "Configuration of newlib 4.1.0:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1505,7 +1505,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
newlib configure 4.0.0
newlib configure 4.1.0
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1783,7 +1783,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by newlib $as_me 4.0.0, which was
It was created by newlib $as_me 4.1.0, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -2867,7 +2867,7 @@ fi

# Define the identity of the package.
PACKAGE='newlib'
VERSION='4.0.0'
VERSION='4.1.0'


# Some tools Automake needs.
Expand Down Expand Up @@ -12396,7 +12396,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by newlib $as_me 4.0.0, which was
This file was extended by newlib $as_me 4.1.0, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -12453,7 +12453,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
newlib config.status 4.0.0
newlib config.status 4.1.0
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
Expand Down

0 comments on commit 415fdd4

Please sign in to comment.