diff mbox series

[committed,obvious] Regenerate `configure' scripts for `uclinuxfdpiceabi' libtool.m4 update

Message ID alpine.LFD.2.21.1909272152030.28360@redsun52.ssa.fujisawa.hgst.com
State Accepted
Headers show
Series [committed,obvious] Regenerate `configure' scripts for `uclinuxfdpiceabi' libtool.m4 update | expand

Commit Message

Maciej W. Rozycki Sept. 27, 2019, 9:25 p.m. UTC
A change made with r275564 ("[ARM/FDPIC v6 02/24] [ARM] FDPIC: Handle 
arm*-*-uclinuxfdpiceabi in configure scripts") to libtool.m4 has not 
regenerated all the `configure' scripts affected.  Fix it.

	gcc/
	* configure: Regenerate.

	libatomic/
	* configure: Regenerate.

	libbacktrace/
	* configure: Regenerate.

	libcc1/
	* configure: Regenerate.

	libffi/
	* configure: Regenerate.

	libgfortran/
	* configure: Regenerate.

	libgomp/
	* configure: Regenerate.

	libhsail-rt/
	* configure: Regenerate.

	libitm/
	* configure: Regenerate.

	libobjc/
	* configure: Regenerate.

	liboffloadmic/
	* configure: Regenerate.

	libphobos/
	* configure: Regenerate.

	libquadmath/
	* configure: Regenerate.

	libsanitizer/
	* configure: Regenerate.

	libssp/
	* configure: Regenerate.

	libstdc++-v3/
	* configure: Regenerate.

	libvtv/
	* configure: Regenerate.

	lto-plugin/
	* configure: Regenerate.

	zlib/
	* configure: Regenerate.
---
 gcc/configure           |   22 ++++++++++++++++------
 libatomic/configure     |    4 ++--
 libbacktrace/configure  |   15 ++++++++++-----
 libcc1/configure        |   22 ++++++++++++++++------
 libffi/configure        |   22 ++++++++++++++++------
 libgfortran/configure   |   48 +++++++++++++++++++++++-------------------------
 libgomp/configure       |   28 +++++++++++++++++++---------
 libhsail-rt/configure   |   22 ++++++++++++++++------
 libitm/configure        |    4 ++--
 libobjc/configure       |   17 +++++++++++------
 liboffloadmic/configure |   22 ++++++++++++++++------
 libphobos/configure     |   17 +++++++++++------
 libquadmath/configure   |   15 ++++++++++-----
 libsanitizer/configure  |   22 ++++++++++++++++------
 libssp/configure        |   15 ++++++++++-----
 libstdc++-v3/configure  |   18 +++++++++---------
 libvtv/configure        |   22 ++++++++++++++++------
 lto-plugin/configure    |   15 ++++++++++-----
 zlib/configure          |   15 ++++++++++-----
 19 files changed, 239 insertions(+), 126 deletions(-)

gcc-configure-uclinux-regen.diff

Comments

Christophe Lyon Sept. 29, 2019, 8:47 p.m. UTC | #1
On Fri, 27 Sep 2019 at 23:25, Maciej W. Rozycki <macro@wdc.com> wrote:
>
> A change made with r275564 ("[ARM/FDPIC v6 02/24] [ARM] FDPIC: Handle
> arm*-*-uclinuxfdpiceabi in configure scripts") to libtool.m4 has not
> regenerated all the `configure' scripts affected.  Fix it.
>

Oops sorry!
I knew I forgot something....

Thanks,

Christophe

>         gcc/
>         * configure: Regenerate.
>
>         libatomic/
>         * configure: Regenerate.
>
>         libbacktrace/
>         * configure: Regenerate.
>
>         libcc1/
>         * configure: Regenerate.
>
>         libffi/
>         * configure: Regenerate.
>
>         libgfortran/
>         * configure: Regenerate.
>
>         libgomp/
>         * configure: Regenerate.
>
>         libhsail-rt/
>         * configure: Regenerate.
>
>         libitm/
>         * configure: Regenerate.
>
>         libobjc/
>         * configure: Regenerate.
>
>         liboffloadmic/
>         * configure: Regenerate.
>
>         libphobos/
>         * configure: Regenerate.
>
>         libquadmath/
>         * configure: Regenerate.
>
>         libsanitizer/
>         * configure: Regenerate.
>
>         libssp/
>         * configure: Regenerate.
>
>         libstdc++-v3/
>         * configure: Regenerate.
>
>         libvtv/
>         * configure: Regenerate.
>
>         lto-plugin/
>         * configure: Regenerate.
>
>         zlib/
>         * configure: Regenerate.
> ---
>  gcc/configure           |   22 ++++++++++++++++------
>  libatomic/configure     |    4 ++--
>  libbacktrace/configure  |   15 ++++++++++-----
>  libcc1/configure        |   22 ++++++++++++++++------
>  libffi/configure        |   22 ++++++++++++++++------
>  libgfortran/configure   |   48 +++++++++++++++++++++++-------------------------
>  libgomp/configure       |   28 +++++++++++++++++++---------
>  libhsail-rt/configure   |   22 ++++++++++++++++------
>  libitm/configure        |    4 ++--
>  libobjc/configure       |   17 +++++++++++------
>  liboffloadmic/configure |   22 ++++++++++++++++------
>  libphobos/configure     |   17 +++++++++++------
>  libquadmath/configure   |   15 ++++++++++-----
>  libsanitizer/configure  |   22 ++++++++++++++++------
>  libssp/configure        |   15 ++++++++++-----
>  libstdc++-v3/configure  |   18 +++++++++---------
>  libvtv/configure        |   22 ++++++++++++++++------
>  lto-plugin/configure    |   15 ++++++++++-----
>  zlib/configure          |   15 ++++++++++-----
>  19 files changed, 239 insertions(+), 126 deletions(-)
>
> gcc-configure-uclinux-regen.diff
> Index: gcc/gcc/configure
> ===================================================================
> --- gcc.orig/gcc/configure
> +++ gcc/gcc/configure
> @@ -13783,7 +13783,7 @@ irix5* | irix6* | nonstopux*)
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    lt_cv_deplibs_check_method=pass_all
>    ;;
>
> @@ -16594,7 +16594,7 @@ _LT_EOF
>        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
>        ;;
>
> -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
> +    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>        tmp_diet=no
>        if test "$host_os" = linux-dietlibc; then
>         case $cc_basename in
> @@ -18125,7 +18125,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> @@ -18814,7 +18819,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 18817 "configure"
> +#line 18822 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -18920,7 +18925,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 18923 "configure"
> +#line 18928 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -21785,7 +21790,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> Index: gcc/libatomic/configure
> ===================================================================
> --- gcc.orig/libatomic/configure
> +++ gcc/libatomic/configure
> @@ -11360,7 +11360,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 11358 "configure"
> +#line 11363 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -11466,7 +11466,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 11464 "configure"
> +#line 11469 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> Index: gcc/libbacktrace/configure
> ===================================================================
> --- gcc.orig/libbacktrace/configure
> +++ gcc/libbacktrace/configure
> @@ -6460,7 +6460,7 @@ irix5* | irix6* | nonstopux*)
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    lt_cv_deplibs_check_method=pass_all
>    ;;
>
> @@ -9272,7 +9272,7 @@ _LT_EOF
>        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
>        ;;
>
> -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
> +    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>        tmp_diet=no
>        if test "$host_os" = linux-dietlibc; then
>         case $cc_basename in
> @@ -10803,7 +10803,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> @@ -11492,7 +11497,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 11495 "configure"
> +#line 11500 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -11598,7 +11603,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 11601 "configure"
> +#line 11606 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> Index: gcc/libcc1/configure
> ===================================================================
> --- gcc.orig/libcc1/configure
> +++ gcc/libcc1/configure
> @@ -5744,7 +5744,7 @@ irix5* | irix6* | nonstopux*)
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    lt_cv_deplibs_check_method=pass_all
>    ;;
>
> @@ -8555,7 +8555,7 @@ _LT_EOF
>        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
>        ;;
>
> -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
> +    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>        tmp_diet=no
>        if test "$host_os" = linux-dietlibc; then
>         case $cc_basename in
> @@ -10086,7 +10086,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> @@ -10775,7 +10780,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 10778 "configure"
> +#line 10783 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -10881,7 +10886,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 10884 "configure"
> +#line 10889 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -14152,7 +14157,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> Index: gcc/libffi/configure
> ===================================================================
> --- gcc.orig/libffi/configure
> +++ gcc/libffi/configure
> @@ -6251,7 +6251,7 @@ irix5* | irix6* | nonstopux*)
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    lt_cv_deplibs_check_method=pass_all
>    ;;
>
> @@ -9332,7 +9332,7 @@ _LT_EOF
>        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
>        ;;
>
> -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
> +    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>        tmp_diet=no
>        if test "$host_os" = linux-dietlibc; then
>         case $cc_basename in
> @@ -10863,7 +10863,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> @@ -11552,7 +11557,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 11555 "configure"
> +#line 11560 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -11658,7 +11663,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 11661 "configure"
> +#line 11666 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -14523,7 +14528,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> Index: gcc/libgfortran/configure
> ===================================================================
> --- gcc.orig/libgfortran/configure
> +++ gcc/libgfortran/configure
> @@ -780,7 +780,6 @@ infodir
>  docdir
>  oldincludedir
>  includedir
> -runstatedir
>  localstatedir
>  sharedstatedir
>  sysconfdir
> @@ -871,7 +870,6 @@ datadir='${datarootdir}'
>  sysconfdir='${prefix}/etc'
>  sharedstatedir='${prefix}/com'
>  localstatedir='${prefix}/var'
> -runstatedir='${localstatedir}/run'
>  includedir='${prefix}/include'
>  oldincludedir='/usr/include'
>  docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
> @@ -1124,15 +1122,6 @@ do
>    | -silent | --silent | --silen | --sile | --sil)
>      silent=yes ;;
>
> -  -runstatedir | --runstatedir | --runstatedi | --runstated \
> -  | --runstate | --runstat | --runsta | --runst | --runs \
> -  | --run | --ru | --r)
> -    ac_prev=runstatedir ;;
> -  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
> -  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
> -  | --run=* | --ru=* | --r=*)
> -    runstatedir=$ac_optarg ;;
> -
>    -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
>      ac_prev=sbindir ;;
>    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
> @@ -1270,7 +1259,7 @@ fi
>  for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
>                 datadir sysconfdir sharedstatedir localstatedir includedir \
>                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
> -               libdir localedir mandir runstatedir
> +               libdir localedir mandir
>  do
>    eval ac_val=\$$ac_var
>    # Remove trailing slashes.
> @@ -1423,7 +1412,6 @@ For better control, use the options belo
>    --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
>    --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
>    --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
> -  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
>    --libdir=DIR            object code libraries [EPREFIX/lib]
>    --includedir=DIR        C header files [PREFIX/include]
>    --oldincludedir=DIR     C header files for non-gcc [/usr/include]
> @@ -7636,7 +7624,7 @@ irix5* | irix6* | nonstopux*)
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    lt_cv_deplibs_check_method=pass_all
>    ;;
>
> @@ -10452,7 +10440,7 @@ _LT_EOF
>        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
>        ;;
>
> -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
> +    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>        tmp_diet=no
>        if test "$host_os" = linux-dietlibc; then
>         case $cc_basename in
> @@ -11992,7 +11980,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> @@ -12699,7 +12692,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 12703 "configure"
> +#line 12695 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -12805,7 +12798,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 12809 "configure"
> +#line 12801 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -14306,7 +14299,7 @@ _LT_EOF
>        archive_expsym_cmds_FC='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
>        ;;
>
> -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
> +    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>        tmp_diet=no
>        if test "$host_os" = linux-dietlibc; then
>         case $cc_basename in
> @@ -15626,7 +15619,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> @@ -16054,7 +16052,7 @@ else
>      We can't simply define LARGE_OFF_T to be 9223372036854775807,
>      since some C++ compilers masquerading as C compilers
>      incorrectly reject 9223372036854775807.  */
> -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
> +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
>    int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
>                        && LARGE_OFF_T % 2147483647 == 1)
>                       ? 1 : -1];
> @@ -16100,7 +16098,7 @@ else
>      We can't simply define LARGE_OFF_T to be 9223372036854775807,
>      since some C++ compilers masquerading as C compilers
>      incorrectly reject 9223372036854775807.  */
> -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
> +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
>    int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
>                        && LARGE_OFF_T % 2147483647 == 1)
>                       ? 1 : -1];
> @@ -16124,7 +16122,7 @@ rm -f core conftest.err conftest.$ac_obj
>      We can't simply define LARGE_OFF_T to be 9223372036854775807,
>      since some C++ compilers masquerading as C compilers
>      incorrectly reject 9223372036854775807.  */
> -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
> +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
>    int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
>                        && LARGE_OFF_T % 2147483647 == 1)
>                       ? 1 : -1];
> @@ -16169,7 +16167,7 @@ else
>      We can't simply define LARGE_OFF_T to be 9223372036854775807,
>      since some C++ compilers masquerading as C compilers
>      incorrectly reject 9223372036854775807.  */
> -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
> +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
>    int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
>                        && LARGE_OFF_T % 2147483647 == 1)
>                       ? 1 : -1];
> @@ -16193,7 +16191,7 @@ rm -f core conftest.err conftest.$ac_obj
>      We can't simply define LARGE_OFF_T to be 9223372036854775807,
>      since some C++ compilers masquerading as C compilers
>      incorrectly reject 9223372036854775807.  */
> -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
> +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
>    int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
>                        && LARGE_OFF_T % 2147483647 == 1)
>                       ? 1 : -1];
> Index: gcc/libgomp/configure
> ===================================================================
> --- gcc.orig/libgomp/configure
> +++ gcc/libgomp/configure
> @@ -6094,7 +6094,7 @@ irix5* | irix6* | nonstopux*)
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    lt_cv_deplibs_check_method=pass_all
>    ;;
>
> @@ -9174,7 +9174,7 @@ _LT_EOF
>        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
>        ;;
>
> -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
> +    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>        tmp_diet=no
>        if test "$host_os" = linux-dietlibc; then
>         case $cc_basename in
> @@ -10705,7 +10705,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> @@ -11394,7 +11399,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 11397 "configure"
> +#line 11402 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -11500,7 +11505,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 11503 "configure"
> +#line 11508 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -13039,7 +13044,7 @@ _LT_EOF
>        archive_expsym_cmds_FC='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
>        ;;
>
> -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
> +    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>        tmp_diet=no
>        if test "$host_os" = linux-dietlibc; then
>         case $cc_basename in
> @@ -14350,7 +14355,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> @@ -15875,7 +15885,7 @@ fi
>
>
>  case "$target" in
> -  *-linux*)
> +  *-linux* | *-uclinux*)
>      case "$enable_linux_futex" in
>        default)
>         # If headers don't have gettid/futex syscalls definition, then
> @@ -16145,7 +16155,7 @@ _ACEOF
>  if ac_fn_c_try_link "$LINENO"; then :
>    chktls_save_LDFLAGS="$LDFLAGS"
>                           case $host in
> -           *-*-linux*)
> +           *-*-linux* | -*-uclinuxfdpic*)
>               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
>               ;;
>           esac
> Index: gcc/libhsail-rt/configure
> ===================================================================
> --- gcc.orig/libhsail-rt/configure
> +++ gcc/libhsail-rt/configure
> @@ -5908,7 +5908,7 @@ irix5* | irix6* | nonstopux*)
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    lt_cv_deplibs_check_method=pass_all
>    ;;
>
> @@ -8987,7 +8987,7 @@ _LT_EOF
>        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
>        ;;
>
> -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
> +    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>        tmp_diet=no
>        if test "$host_os" = linux-dietlibc; then
>         case $cc_basename in
> @@ -10518,7 +10518,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> @@ -11207,7 +11212,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 11210 "configure"
> +#line 11215 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -11313,7 +11318,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 11316 "configure"
> +#line 11321 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -14178,7 +14183,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> Index: gcc/libitm/configure
> ===================================================================
> --- gcc.orig/libitm/configure
> +++ gcc/libitm/configure
> @@ -12037,7 +12037,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 12035 "configure"
> +#line 12040 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -12143,7 +12143,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 12141 "configure"
> +#line 12146 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> Index: gcc/libobjc/configure
> ===================================================================
> --- gcc.orig/libobjc/configure
> +++ gcc/libobjc/configure
> @@ -5371,7 +5371,7 @@ irix5* | irix6* | nonstopux*)
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    lt_cv_deplibs_check_method=pass_all
>    ;;
>
> @@ -8496,7 +8496,7 @@ _LT_EOF
>        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
>        ;;
>
> -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
> +    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>        tmp_diet=no
>        if test "$host_os" = linux-dietlibc; then
>         case $cc_basename in
> @@ -10036,7 +10036,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> @@ -10743,7 +10748,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 10746 "configure"
> +#line 10751 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -10849,7 +10854,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 10852 "configure"
> +#line 10857 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -11302,7 +11307,7 @@ _ACEOF
>  if ac_fn_c_try_link "$LINENO"; then :
>    chktls_save_LDFLAGS="$LDFLAGS"
>                           case $host in
> -           *-*-linux*)
> +           *-*-linux* | -*-uclinuxfdpic*)
>               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
>               ;;
>           esac
> Index: gcc/liboffloadmic/configure
> ===================================================================
> --- gcc.orig/liboffloadmic/configure
> +++ gcc/liboffloadmic/configure
> @@ -6367,7 +6367,7 @@ irix5* | irix6* | nonstopux*)
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    lt_cv_deplibs_check_method=pass_all
>    ;;
>
> @@ -9178,7 +9178,7 @@ _LT_EOF
>        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
>        ;;
>
> -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
> +    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>        tmp_diet=no
>        if test "$host_os" = linux-dietlibc; then
>         case $cc_basename in
> @@ -10709,7 +10709,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> @@ -11398,7 +11403,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 11401 "configure"
> +#line 11406 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -11504,7 +11509,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 11507 "configure"
> +#line 11512 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -14369,7 +14374,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> Index: gcc/libphobos/configure
> ===================================================================
> --- gcc.orig/libphobos/configure
> +++ gcc/libphobos/configure
> @@ -6604,7 +6604,7 @@ irix5* | irix6* | nonstopux*)
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    lt_cv_deplibs_check_method=pass_all
>    ;;
>
> @@ -9415,7 +9415,7 @@ _LT_EOF
>        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
>        ;;
>
> -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
> +    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>        tmp_diet=no
>        if test "$host_os" = linux-dietlibc; then
>         case $cc_basename in
> @@ -10946,7 +10946,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> @@ -11635,7 +11640,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 11638 "configure"
> +#line 11643 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -11741,7 +11746,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 11744 "configure"
> +#line 11749 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -12857,7 +12862,7 @@ _LT_EOF
>        archive_expsym_cmds_D='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
>        ;;
>
> -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
> +    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>        tmp_diet=no
>        if test "$host_os" = linux-dietlibc; then
>         case $cc_basename in
> Index: gcc/libquadmath/configure
> ===================================================================
> --- gcc.orig/libquadmath/configure
> +++ gcc/libquadmath/configure
> @@ -5740,7 +5740,7 @@ irix5* | irix6* | nonstopux*)
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    lt_cv_deplibs_check_method=pass_all
>    ;;
>
> @@ -8558,7 +8558,7 @@ _LT_EOF
>        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
>        ;;
>
> -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
> +    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>        tmp_diet=no
>        if test "$host_os" = linux-dietlibc; then
>         case $cc_basename in
> @@ -10098,7 +10098,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> @@ -10805,7 +10810,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 10808 "configure"
> +#line 10813 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -10911,7 +10916,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 10914 "configure"
> +#line 10919 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> Index: gcc/libsanitizer/configure
> ===================================================================
> --- gcc.orig/libsanitizer/configure
> +++ gcc/libsanitizer/configure
> @@ -7298,7 +7298,7 @@ irix5* | irix6* | nonstopux*)
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    lt_cv_deplibs_check_method=pass_all
>    ;;
>
> @@ -10109,7 +10109,7 @@ _LT_EOF
>        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
>        ;;
>
> -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
> +    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>        tmp_diet=no
>        if test "$host_os" = linux-dietlibc; then
>         case $cc_basename in
> @@ -11640,7 +11640,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> @@ -12329,7 +12334,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 12332 "configure"
> +#line 12337 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -12435,7 +12440,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 12438 "configure"
> +#line 12443 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -15300,7 +15305,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> Index: gcc/libssp/configure
> ===================================================================
> --- gcc.orig/libssp/configure
> +++ gcc/libssp/configure
> @@ -5922,7 +5922,7 @@ irix5* | irix6* | nonstopux*)
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    lt_cv_deplibs_check_method=pass_all
>    ;;
>
> @@ -8740,7 +8740,7 @@ _LT_EOF
>        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
>        ;;
>
> -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
> +    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>        tmp_diet=no
>        if test "$host_os" = linux-dietlibc; then
>         case $cc_basename in
> @@ -10280,7 +10280,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> @@ -10987,7 +10992,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 10990 "configure"
> +#line 10995 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -11093,7 +11098,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 11096 "configure"
> +#line 11101 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> Index: gcc/libstdc++-v3/configure
> ===================================================================
> --- gcc.orig/libstdc++-v3/configure
> +++ gcc/libstdc++-v3/configure
> @@ -11850,7 +11850,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 11848 "configure"
> +#line 11853 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -11956,7 +11956,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 11954 "configure"
> +#line 11959 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -15648,7 +15648,7 @@ $as_echo "$glibcxx_cv_atomic_long_long"
>    # Fake what AC_TRY_COMPILE does.
>
>      cat > conftest.$ac_ext << EOF
> -#line 15641 "configure"
> +#line 15651 "configure"
>  int main()
>  {
>    typedef bool atomic_type;
> @@ -15683,7 +15683,7 @@ $as_echo "$glibcxx_cv_atomic_bool" >&6;
>      rm -f conftest*
>
>      cat > conftest.$ac_ext << EOF
> -#line 15676 "configure"
> +#line 15686 "configure"
>  int main()
>  {
>    typedef short atomic_type;
> @@ -15718,7 +15718,7 @@ $as_echo "$glibcxx_cv_atomic_short" >&6;
>      rm -f conftest*
>
>      cat > conftest.$ac_ext << EOF
> -#line 15711 "configure"
> +#line 15721 "configure"
>  int main()
>  {
>    // NB: _Atomic_word not necessarily int.
> @@ -15754,7 +15754,7 @@ $as_echo "$glibcxx_cv_atomic_int" >&6; }
>      rm -f conftest*
>
>      cat > conftest.$ac_ext << EOF
> -#line 15747 "configure"
> +#line 15757 "configure"
>  int main()
>  {
>    typedef long long atomic_type;
> @@ -15907,7 +15907,7 @@ $as_echo "mutex" >&6; }
>    # unnecessary for this test.
>
>      cat > conftest.$ac_ext << EOF
> -#line 15900 "configure"
> +#line 15910 "configure"
>  int main()
>  {
>    _Decimal32 d1;
> @@ -15949,7 +15949,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
>    # unnecessary for this test.
>
>      cat > conftest.$ac_ext << EOF
> -#line 15942 "configure"
> +#line 15952 "configure"
>  template<typename T1, typename T2>
>    struct same
>    { typedef T2 type; };
> @@ -15983,7 +15983,7 @@ $as_echo "$enable_int128" >&6; }
>      rm -f conftest*
>
>      cat > conftest.$ac_ext << EOF
> -#line 15976 "configure"
> +#line 15986 "configure"
>  template<typename T1, typename T2>
>    struct same
>    { typedef T2 type; };
> Index: gcc/libvtv/configure
> ===================================================================
> --- gcc.orig/libvtv/configure
> +++ gcc/libvtv/configure
> @@ -7199,7 +7199,7 @@ irix5* | irix6* | nonstopux*)
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    lt_cv_deplibs_check_method=pass_all
>    ;;
>
> @@ -10010,7 +10010,7 @@ _LT_EOF
>        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
>        ;;
>
> -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
> +    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>        tmp_diet=no
>        if test "$host_os" = linux-dietlibc; then
>         case $cc_basename in
> @@ -11541,7 +11541,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> @@ -12230,7 +12235,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 12233 "configure"
> +#line 12238 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -12336,7 +12341,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 12339 "configure"
> +#line 12344 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -15201,7 +15206,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> Index: gcc/lto-plugin/configure
> ===================================================================
> --- gcc.orig/lto-plugin/configure
> +++ gcc/lto-plugin/configure
> @@ -6734,7 +6734,7 @@ irix5* | irix6* | nonstopux*)
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    lt_cv_deplibs_check_method=pass_all
>    ;;
>
> @@ -9546,7 +9546,7 @@ _LT_EOF
>        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
>        ;;
>
> -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
> +    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>        tmp_diet=no
>        if test "$host_os" = linux-dietlibc; then
>         case $cc_basename in
> @@ -11077,7 +11077,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> @@ -11766,7 +11771,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 11769 "configure"
> +#line 11774 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -11872,7 +11877,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 11875 "configure"
> +#line 11880 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> Index: gcc/zlib/configure
> ===================================================================
> --- gcc.orig/zlib/configure
> +++ gcc/zlib/configure
> @@ -5310,7 +5310,7 @@ irix5* | irix6* | nonstopux*)
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    lt_cv_deplibs_check_method=pass_all
>    ;;
>
> @@ -8396,7 +8396,7 @@ _LT_EOF
>        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
>        ;;
>
> -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
> +    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>        tmp_diet=no
>        if test "$host_os" = linux-dietlibc; then
>         case $cc_basename in
> @@ -9936,7 +9936,12 @@ linux*oldld* | linux*aout* | linux*coff*
>    ;;
>
>  # This must be Linux ELF.
> -linux* | k*bsd*-gnu | kopensolaris*-gnu)
> +
> +# uclinux* changes (here and below) have been submitted to the libtool
> +# project, but have not yet been accepted: they are GCC-local changes
> +# for the time being.  (See
> +# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
> +linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
>    version_type=linux
>    need_lib_prefix=no
>    need_version=no
> @@ -10643,7 +10648,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 10646 "configure"
> +#line 10651 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
> @@ -10749,7 +10754,7 @@ else
>    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
>    lt_status=$lt_dlunknown
>    cat > conftest.$ac_ext <<_LT_EOF
> -#line 10752 "configure"
> +#line 10757 "configure"
>  #include "confdefs.h"
>
>  #if HAVE_DLFCN_H
diff mbox series

Patch

Index: gcc/gcc/configure
===================================================================
--- gcc.orig/gcc/configure
+++ gcc/gcc/configure
@@ -13783,7 +13783,7 @@  irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -16594,7 +16594,7 @@  _LT_EOF
       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
 	case $cc_basename in
@@ -18125,7 +18125,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -18814,7 +18819,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 18817 "configure"
+#line 18822 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -18920,7 +18925,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 18923 "configure"
+#line 18928 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -21785,7 +21790,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
Index: gcc/libatomic/configure
===================================================================
--- gcc.orig/libatomic/configure
+++ gcc/libatomic/configure
@@ -11360,7 +11360,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11358 "configure"
+#line 11363 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11466,7 +11466,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11464 "configure"
+#line 11469 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
Index: gcc/libbacktrace/configure
===================================================================
--- gcc.orig/libbacktrace/configure
+++ gcc/libbacktrace/configure
@@ -6460,7 +6460,7 @@  irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -9272,7 +9272,7 @@  _LT_EOF
       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
 	case $cc_basename in
@@ -10803,7 +10803,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -11492,7 +11497,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11495 "configure"
+#line 11500 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11598,7 +11603,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11601 "configure"
+#line 11606 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
Index: gcc/libcc1/configure
===================================================================
--- gcc.orig/libcc1/configure
+++ gcc/libcc1/configure
@@ -5744,7 +5744,7 @@  irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -8555,7 +8555,7 @@  _LT_EOF
       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
 	case $cc_basename in
@@ -10086,7 +10086,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -10775,7 +10780,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10778 "configure"
+#line 10783 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -10881,7 +10886,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10884 "configure"
+#line 10889 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -14152,7 +14157,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
Index: gcc/libffi/configure
===================================================================
--- gcc.orig/libffi/configure
+++ gcc/libffi/configure
@@ -6251,7 +6251,7 @@  irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -9332,7 +9332,7 @@  _LT_EOF
       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
 	case $cc_basename in
@@ -10863,7 +10863,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -11552,7 +11557,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11555 "configure"
+#line 11560 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11658,7 +11663,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11661 "configure"
+#line 11666 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -14523,7 +14528,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
Index: gcc/libgfortran/configure
===================================================================
--- gcc.orig/libgfortran/configure
+++ gcc/libgfortran/configure
@@ -780,7 +780,6 @@  infodir
 docdir
 oldincludedir
 includedir
-runstatedir
 localstatedir
 sharedstatedir
 sysconfdir
@@ -871,7 +870,6 @@  datadir='${datarootdir}'
 sysconfdir='${prefix}/etc'
 sharedstatedir='${prefix}/com'
 localstatedir='${prefix}/var'
-runstatedir='${localstatedir}/run'
 includedir='${prefix}/include'
 oldincludedir='/usr/include'
 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
@@ -1124,15 +1122,6 @@  do
   | -silent | --silent | --silen | --sile | --sil)
     silent=yes ;;
 
-  -runstatedir | --runstatedir | --runstatedi | --runstated \
-  | --runstate | --runstat | --runsta | --runst | --runs \
-  | --run | --ru | --r)
-    ac_prev=runstatedir ;;
-  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
-  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
-  | --run=* | --ru=* | --r=*)
-    runstatedir=$ac_optarg ;;
-
   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
     ac_prev=sbindir ;;
   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@@ -1270,7 +1259,7 @@  fi
 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 		datadir sysconfdir sharedstatedir localstatedir includedir \
 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
-		libdir localedir mandir runstatedir
+		libdir localedir mandir
 do
   eval ac_val=\$$ac_var
   # Remove trailing slashes.
@@ -1423,7 +1412,6 @@  For better control, use the options belo
   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
-  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   --libdir=DIR            object code libraries [EPREFIX/lib]
   --includedir=DIR        C header files [PREFIX/include]
   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
@@ -7636,7 +7624,7 @@  irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -10452,7 +10440,7 @@  _LT_EOF
       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
 	case $cc_basename in
@@ -11992,7 +11980,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12699,7 +12692,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12703 "configure"
+#line 12695 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12805,7 +12798,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12809 "configure"
+#line 12801 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -14306,7 +14299,7 @@  _LT_EOF
       archive_expsym_cmds_FC='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
 	case $cc_basename in
@@ -15626,7 +15619,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -16054,7 +16052,7 @@  else
     We can't simply define LARGE_OFF_T to be 9223372036854775807,
     since some C++ compilers masquerading as C compilers
     incorrectly reject 9223372036854775807.  */
-#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
 		       && LARGE_OFF_T % 2147483647 == 1)
 		      ? 1 : -1];
@@ -16100,7 +16098,7 @@  else
     We can't simply define LARGE_OFF_T to be 9223372036854775807,
     since some C++ compilers masquerading as C compilers
     incorrectly reject 9223372036854775807.  */
-#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
 		       && LARGE_OFF_T % 2147483647 == 1)
 		      ? 1 : -1];
@@ -16124,7 +16122,7 @@  rm -f core conftest.err conftest.$ac_obj
     We can't simply define LARGE_OFF_T to be 9223372036854775807,
     since some C++ compilers masquerading as C compilers
     incorrectly reject 9223372036854775807.  */
-#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
 		       && LARGE_OFF_T % 2147483647 == 1)
 		      ? 1 : -1];
@@ -16169,7 +16167,7 @@  else
     We can't simply define LARGE_OFF_T to be 9223372036854775807,
     since some C++ compilers masquerading as C compilers
     incorrectly reject 9223372036854775807.  */
-#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
 		       && LARGE_OFF_T % 2147483647 == 1)
 		      ? 1 : -1];
@@ -16193,7 +16191,7 @@  rm -f core conftest.err conftest.$ac_obj
     We can't simply define LARGE_OFF_T to be 9223372036854775807,
     since some C++ compilers masquerading as C compilers
     incorrectly reject 9223372036854775807.  */
-#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
 		       && LARGE_OFF_T % 2147483647 == 1)
 		      ? 1 : -1];
Index: gcc/libgomp/configure
===================================================================
--- gcc.orig/libgomp/configure
+++ gcc/libgomp/configure
@@ -6094,7 +6094,7 @@  irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -9174,7 +9174,7 @@  _LT_EOF
       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
 	case $cc_basename in
@@ -10705,7 +10705,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -11394,7 +11399,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11397 "configure"
+#line 11402 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11500,7 +11505,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11503 "configure"
+#line 11508 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -13039,7 +13044,7 @@  _LT_EOF
       archive_expsym_cmds_FC='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
 	case $cc_basename in
@@ -14350,7 +14355,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -15875,7 +15885,7 @@  fi
 
 
 case "$target" in
-  *-linux*)
+  *-linux* | *-uclinux*)
     case "$enable_linux_futex" in
       default)
 	# If headers don't have gettid/futex syscalls definition, then
@@ -16145,7 +16155,7 @@  _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
   chktls_save_LDFLAGS="$LDFLAGS"
 	  	  	  case $host in
-	    *-*-linux*)
+	    *-*-linux* | -*-uclinuxfdpic*)
 	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
 	      ;;
 	  esac
Index: gcc/libhsail-rt/configure
===================================================================
--- gcc.orig/libhsail-rt/configure
+++ gcc/libhsail-rt/configure
@@ -5908,7 +5908,7 @@  irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -8987,7 +8987,7 @@  _LT_EOF
       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
 	case $cc_basename in
@@ -10518,7 +10518,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -11207,7 +11212,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11210 "configure"
+#line 11215 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11313,7 +11318,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11316 "configure"
+#line 11321 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -14178,7 +14183,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
Index: gcc/libitm/configure
===================================================================
--- gcc.orig/libitm/configure
+++ gcc/libitm/configure
@@ -12037,7 +12037,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12035 "configure"
+#line 12040 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12143,7 +12143,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12141 "configure"
+#line 12146 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
Index: gcc/libobjc/configure
===================================================================
--- gcc.orig/libobjc/configure
+++ gcc/libobjc/configure
@@ -5371,7 +5371,7 @@  irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -8496,7 +8496,7 @@  _LT_EOF
       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
 	case $cc_basename in
@@ -10036,7 +10036,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -10743,7 +10748,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10746 "configure"
+#line 10751 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -10849,7 +10854,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10852 "configure"
+#line 10857 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11302,7 +11307,7 @@  _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
   chktls_save_LDFLAGS="$LDFLAGS"
 	  	  	  case $host in
-	    *-*-linux*)
+	    *-*-linux* | -*-uclinuxfdpic*)
 	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
 	      ;;
 	  esac
Index: gcc/liboffloadmic/configure
===================================================================
--- gcc.orig/liboffloadmic/configure
+++ gcc/liboffloadmic/configure
@@ -6367,7 +6367,7 @@  irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -9178,7 +9178,7 @@  _LT_EOF
       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
 	case $cc_basename in
@@ -10709,7 +10709,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -11398,7 +11403,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11401 "configure"
+#line 11406 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11504,7 +11509,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11507 "configure"
+#line 11512 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -14369,7 +14374,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
Index: gcc/libphobos/configure
===================================================================
--- gcc.orig/libphobos/configure
+++ gcc/libphobos/configure
@@ -6604,7 +6604,7 @@  irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -9415,7 +9415,7 @@  _LT_EOF
       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
 	case $cc_basename in
@@ -10946,7 +10946,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -11635,7 +11640,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11638 "configure"
+#line 11643 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11741,7 +11746,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11744 "configure"
+#line 11749 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12857,7 +12862,7 @@  _LT_EOF
       archive_expsym_cmds_D='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
 	case $cc_basename in
Index: gcc/libquadmath/configure
===================================================================
--- gcc.orig/libquadmath/configure
+++ gcc/libquadmath/configure
@@ -5740,7 +5740,7 @@  irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -8558,7 +8558,7 @@  _LT_EOF
       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
 	case $cc_basename in
@@ -10098,7 +10098,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -10805,7 +10810,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10808 "configure"
+#line 10813 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -10911,7 +10916,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10914 "configure"
+#line 10919 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
Index: gcc/libsanitizer/configure
===================================================================
--- gcc.orig/libsanitizer/configure
+++ gcc/libsanitizer/configure
@@ -7298,7 +7298,7 @@  irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -10109,7 +10109,7 @@  _LT_EOF
       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
 	case $cc_basename in
@@ -11640,7 +11640,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12329,7 +12334,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12332 "configure"
+#line 12337 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12435,7 +12440,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12438 "configure"
+#line 12443 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -15300,7 +15305,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
Index: gcc/libssp/configure
===================================================================
--- gcc.orig/libssp/configure
+++ gcc/libssp/configure
@@ -5922,7 +5922,7 @@  irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -8740,7 +8740,7 @@  _LT_EOF
       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
 	case $cc_basename in
@@ -10280,7 +10280,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -10987,7 +10992,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10990 "configure"
+#line 10995 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11093,7 +11098,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11096 "configure"
+#line 11101 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
Index: gcc/libstdc++-v3/configure
===================================================================
--- gcc.orig/libstdc++-v3/configure
+++ gcc/libstdc++-v3/configure
@@ -11850,7 +11850,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11848 "configure"
+#line 11853 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11956,7 +11956,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11954 "configure"
+#line 11959 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -15648,7 +15648,7 @@  $as_echo "$glibcxx_cv_atomic_long_long"
   # Fake what AC_TRY_COMPILE does.
 
     cat > conftest.$ac_ext << EOF
-#line 15641 "configure"
+#line 15651 "configure"
 int main()
 {
   typedef bool atomic_type;
@@ -15683,7 +15683,7 @@  $as_echo "$glibcxx_cv_atomic_bool" >&6;
     rm -f conftest*
 
     cat > conftest.$ac_ext << EOF
-#line 15676 "configure"
+#line 15686 "configure"
 int main()
 {
   typedef short atomic_type;
@@ -15718,7 +15718,7 @@  $as_echo "$glibcxx_cv_atomic_short" >&6;
     rm -f conftest*
 
     cat > conftest.$ac_ext << EOF
-#line 15711 "configure"
+#line 15721 "configure"
 int main()
 {
   // NB: _Atomic_word not necessarily int.
@@ -15754,7 +15754,7 @@  $as_echo "$glibcxx_cv_atomic_int" >&6; }
     rm -f conftest*
 
     cat > conftest.$ac_ext << EOF
-#line 15747 "configure"
+#line 15757 "configure"
 int main()
 {
   typedef long long atomic_type;
@@ -15907,7 +15907,7 @@  $as_echo "mutex" >&6; }
   # unnecessary for this test.
 
     cat > conftest.$ac_ext << EOF
-#line 15900 "configure"
+#line 15910 "configure"
 int main()
 {
   _Decimal32 d1;
@@ -15949,7 +15949,7 @@  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   # unnecessary for this test.
 
     cat > conftest.$ac_ext << EOF
-#line 15942 "configure"
+#line 15952 "configure"
 template<typename T1, typename T2>
   struct same
   { typedef T2 type; };
@@ -15983,7 +15983,7 @@  $as_echo "$enable_int128" >&6; }
     rm -f conftest*
 
     cat > conftest.$ac_ext << EOF
-#line 15976 "configure"
+#line 15986 "configure"
 template<typename T1, typename T2>
   struct same
   { typedef T2 type; };
Index: gcc/libvtv/configure
===================================================================
--- gcc.orig/libvtv/configure
+++ gcc/libvtv/configure
@@ -7199,7 +7199,7 @@  irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -10010,7 +10010,7 @@  _LT_EOF
       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
 	case $cc_basename in
@@ -11541,7 +11541,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12230,7 +12235,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12233 "configure"
+#line 12238 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12336,7 +12341,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12339 "configure"
+#line 12344 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -15201,7 +15206,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
Index: gcc/lto-plugin/configure
===================================================================
--- gcc.orig/lto-plugin/configure
+++ gcc/lto-plugin/configure
@@ -6734,7 +6734,7 @@  irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -9546,7 +9546,7 @@  _LT_EOF
       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
 	case $cc_basename in
@@ -11077,7 +11077,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -11766,7 +11771,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11769 "configure"
+#line 11774 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11872,7 +11877,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11875 "configure"
+#line 11880 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
Index: gcc/zlib/configure
===================================================================
--- gcc.orig/zlib/configure
+++ gcc/zlib/configure
@@ -5310,7 +5310,7 @@  irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -8396,7 +8396,7 @@  _LT_EOF
       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
 	case $cc_basename in
@@ -9936,7 +9936,12 @@  linux*oldld* | linux*aout* | linux*coff*
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -10643,7 +10648,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10646 "configure"
+#line 10651 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -10749,7 +10754,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10752 "configure"
+#line 10757 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H