Skip to content

Commit

Permalink
Bump up newlib version to 2.4.0 due to feature test refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
jjohnstn committed Mar 29, 2016
1 parent 3d90769 commit fbc4a08
Show file tree
Hide file tree
Showing 103 changed files with 1,102 additions and 1,079 deletions.
8 changes: 8 additions & 0 deletions newlib/NEWS
@@ -1,3 +1,11 @@
*** Major changes in newlib version 2.4.0:

- feature test macro overhaul
- new string functions (e.g. timingsafe_bcmp)
- new stdlib functions (e.g. arc4random)
- simplified versioning macros for newlib
- Changelog files deprecated

*** Major changes in newlib version 2.3.0:

- dynamic atexit logic fixed
Expand Down
18 changes: 9 additions & 9 deletions newlib/README
@@ -1,4 +1,4 @@
README for newlib-2.3.0 release
README for newlib-2.4.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
Expand All @@ -17,8 +17,8 @@ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Unpacking and Installation -- quick overview
==========================

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

COPYING config/ install-sh* mpw-configure
COPYING.LIB config-ml.in libgloss/ mpw-install
Expand Down Expand Up @@ -94,13 +94,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 2.3.0, you can build NEWLIB in a separate
For example, with version 2.4.0, you can build NEWLIB in a separate
directory for a Sun 4 cross m68k-aout environment like this:

cd newlib-2.3.0
cd newlib-2.4.0
mkdir ../newlib-m68k-aout
cd ../newlib-m68k-aout
../newlib-2.3.0/configure --host=sun4 --target=m68k-aout
../newlib-2.4.0/configure --host=sun4 --target=m68k-aout
make

When `configure' builds a configuration using a remote source
Expand All @@ -116,8 +116,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-2.3.0' (or in a separate configured directory configured with
`--srcdir=PATH/newlib-2.3.0'), you will build all the required libraries.
as `newlib-2.4.0' (or in a separate configured directory configured with
`--srcdir=PATH/newlib-2.4.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 @@ -589,7 +589,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-2.3.0),
address. Please include the NEWLIB version number (e.g., newlib-2.4.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],[2]))
AC_DEFUN([DEF_NEWLIB_MINOR_VERSION],m4_define([NEWLIB_MINOR_VERSION],[3]))
AC_DEFUN([DEF_NEWLIB_MINOR_VERSION],m4_define([NEWLIB_MINOR_VERSION],[4]))
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
30 changes: 15 additions & 15 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 2.3.0.
# Generated by GNU Autoconf 2.68 for newlib 2.4.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='2.3.0'
PACKAGE_STRING='newlib 2.3.0'
PACKAGE_VERSION='2.4.0'
PACKAGE_STRING='newlib 2.4.0'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''

Expand Down Expand Up @@ -1371,7 +1371,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 2.3.0 to adapt to many kinds of systems.
\`configure' configures newlib 2.4.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1441,7 +1441,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of newlib 2.3.0:";;
short | recursive ) echo "Configuration of newlib 2.4.0:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1572,7 +1572,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
newlib configure 2.3.0
newlib configure 2.4.0
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1850,7 +1850,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 2.3.0, which was
It was created by newlib $as_me 2.4.0, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -3162,7 +3162,7 @@ fi

# Define the identity of the package.
PACKAGE='newlib'
VERSION='2.3.0'
VERSION='2.4.0'


# Some tools Automake needs.
Expand Down Expand Up @@ -7997,7 +7997,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10.[012]*)
10.[012][,.]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
Expand Down Expand Up @@ -9566,7 +9566,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
tmp_addflag=
tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
Expand Down Expand Up @@ -9748,7 +9748,7 @@ _LT_EOF
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
else
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
fi
aix_use_runtimelinking=no

Expand Down Expand Up @@ -12323,13 +12323,13 @@ _ACEOF
fi


$as_echo "#define _NEWLIB_VERSION \"2.3.0\"" >>confdefs.h
$as_echo "#define _NEWLIB_VERSION \"2.4.0\"" >>confdefs.h


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


$as_echo "#define __NEWLIB_MINOR__ 3" >>confdefs.h
$as_echo "#define __NEWLIB_MINOR__ 4" >>confdefs.h


$as_echo "#define __NEWLIB_PATCHLEVEL__ 0" >>confdefs.h
Expand Down Expand Up @@ -13240,7 +13240,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 2.3.0, which was
This file was extended by newlib $as_me 2.4.0, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -13306,7 +13306,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 2.3.0
newlib config.status 2.4.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 2.3.0.
# Generated by GNU Autoconf 2.68 for newlib 2.4.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='2.3.0'
PACKAGE_STRING='newlib 2.3.0'
PACKAGE_VERSION='2.4.0'
PACKAGE_STRING='newlib 2.4.0'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''

Expand Down Expand Up @@ -1241,7 +1241,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 2.3.0 to adapt to many kinds of systems.
\`configure' configures newlib 2.4.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1311,7 +1311,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of newlib 2.3.0:";;
short | recursive ) echo "Configuration of newlib 2.4.0:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1402,7 +1402,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
newlib configure 2.3.0
newlib configure 2.4.0
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1457,7 +1457,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 2.3.0, which was
It was created by newlib $as_me 2.4.0, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -2529,7 +2529,7 @@ fi
# Define the identity of the package.
PACKAGE='newlib'
VERSION='2.3.0'
VERSION='2.4.0'
# Some tools Automake needs.
Expand Down Expand Up @@ -4045,7 +4045,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 2.3.0, which was
This file was extended by newlib $as_me 2.4.0, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -4102,7 +4102,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 2.3.0
newlib config.status 2.4.0
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
Expand Down
26 changes: 13 additions & 13 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 2.3.0.
# Generated by GNU Autoconf 2.68 for newlib 2.4.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='2.3.0'
PACKAGE_STRING='newlib 2.3.0'
PACKAGE_VERSION='2.4.0'
PACKAGE_STRING='newlib 2.4.0'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''

Expand Down Expand Up @@ -1322,7 +1322,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 2.3.0 to adapt to many kinds of systems.
\`configure' configures newlib 2.4.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1392,7 +1392,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of newlib 2.3.0:";;
short | recursive ) echo "Configuration of newlib 2.4.0:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1503,7 +1503,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
newlib configure 2.3.0
newlib configure 2.4.0
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1781,7 +1781,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 2.3.0, which was
It was created by newlib $as_me 2.4.0, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -2853,7 +2853,7 @@ fi

# Define the identity of the package.
PACKAGE='newlib'
VERSION='2.3.0'
VERSION='2.4.0'


# Some tools Automake needs.
Expand Down Expand Up @@ -7646,7 +7646,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10.[012]*)
10.[012][,.]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
Expand Down Expand Up @@ -9215,7 +9215,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
tmp_addflag=
tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
Expand Down Expand Up @@ -9397,7 +9397,7 @@ _LT_EOF
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
else
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
fi
aix_use_runtimelinking=no

Expand Down Expand Up @@ -12378,7 +12378,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 2.3.0, which was
This file was extended by newlib $as_me 2.4.0, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -12435,7 +12435,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 2.3.0
newlib config.status 2.4.0
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
Expand Down

0 comments on commit fbc4a08

Please sign in to comment.