Commit b886a80b authored by Jeff Chapman's avatar Jeff Chapman

update to current git master

906b3eb9df6c577d3f6e9c3ea5c9d7e4d1e90536
parent 9c76e698

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

2020-03-09 Tobias Burnus <[email protected]>
* configure.ac: Build libgomp by default for amdgcn.
* configure: Regenerate.
2020-03-05 Srinath Parvathaneni <[email protected]>
* MAINTAINERS (Write After Approval): Add myself.
2020-02-28 Joel Hutton <[email protected]>
* MAINTAINERS (Write After Approval) : Add myself.
2020-02-20 Palmer Dabbelt <[email protected]>
* MAINTAINERS: Change [email protected] to [email protected]
2020-02-14 Martin Sebor <[email protected]>
* doc/extend.texi (attribute alias): Mention type requirement.
(attribute weak): Same.
(attribute weakref): Correct invalid example.
2020-02-03 Segher Boessenkool <[email protected]>
* doc/md.texi (PowerPC and IBM RS6000): Improve documentation.
2020-01-15 Segher Boessenkool <[email protected]hing.org>
Jakub Jelinek <[email protected]>
......
......@@ -96,7 +96,7 @@ or1k port Stafford Horne <[email protected]>
pdp11 port Paul Koning <[email protected]>
powerpcspe port Andrew Jenner <[email protected]>
riscv port Kito Cheng <[email protected]>
riscv port Palmer Dabbelt <[email protected]sifive.com>
riscv port Palmer Dabbelt <[email protected]dabbelt.com>
riscv port Andrew Waterman <[email protected]>
riscv port Jim Wilson <[email protected]>
rs6000/powerpc port David Edelsohn <[email protected]>
......@@ -429,6 +429,7 @@ Falk Hueffner <[email protected]>
Andrew John Hughes <[email protected]>
Dominique d'Humieres <[email protected]>
Andy Hutchinson <[email protected]>
Joel Hutton <[email protected]>
Lewis Hyatt <[email protected]>
Naveen H.S <[email protected]>
Roland Illig <[email protected]>
......@@ -495,6 +496,7 @@ Carl Love <[email protected]>
Martin v. Löwis <[email protected]>
H.J. Lu <[email protected]>
Xiong Hu Luo <[email protected]>
Bin Bin Lv <[email protected]>
Christophe Lyon <[email protected]>
Luis Machado <[email protected]>
Ziga Mahkovec <[email protected]>
......@@ -539,6 +541,7 @@ Peter O'Gorman <[email protected]>
Andrea Ornstein <[email protected]>
Maxim Ostapenko <[email protected]>
Patrick Palka <[email protected]>
Srinath Parvathaneni <[email protected]>
Devang Patel <[email protected]>
Andris Pavenis <[email protected]>
Fernando Pereira <[email protected]>
......
2020-02-12 Sandra Loosemore <[email protected]>
PR libstdc++/79193
PR libstdc++/88999
* no-executables.m4: Use a non-empty program to test for linker
support.
2020-02-01 Andrew Burgess <[email protected]>
* lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Update shell syntax.
2020-01-27 Andrew Burgess <[email protected]>
* lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Add new
--with-libXXX-type=... option. Use this to guide the selection of
either a shared library or a static library.
2020-01-24 Maciej W. Rozycki <[email protected]>
* toolexeclibdir.m4: New file.
2019-09-10 Christophe Lyon <[email protected]>
* futex.m4: Handle *-uclinux*.
......
......@@ -150,6 +150,11 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
fi
fi
])
AC_LIB_ARG_WITH([lib$1-type],
[ --with-lib$1-type=TYPE type of library to search for (auto/static/shared) ],
[ with_lib$1_type=$withval ], [ with_lib$1_type=auto ])
lib_type=`eval echo \$with_lib$1_type`
dnl Search the library and its dependencies in $additional_libdir and
dnl $LDFLAGS. Using breadth-first-seach.
LIB[]NAME=
......@@ -195,13 +200,13 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
found_so=
found_a=
if test $use_additional = yes; then
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
found_dir="$additional_libdir"
found_so="$additional_libdir/lib$name.$shlibext"
if test -f "$additional_libdir/lib$name.la"; then
found_la="$additional_libdir/lib$name.la"
fi
else
elif test x$lib_type != xshared; then
if test -f "$additional_libdir/lib$name.$libext"; then
found_dir="$additional_libdir"
found_a="$additional_libdir/lib$name.$libext"
......@@ -217,13 +222,13 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
case "$x" in
-L*)
dir=`echo "X$x" | sed -e 's/^X-L//'`
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
found_dir="$dir"
found_so="$dir/lib$name.$shlibext"
if test -f "$dir/lib$name.la"; then
found_la="$dir/lib$name.la"
fi
else
elif test x$lib_type != xshared; then
if test -f "$dir/lib$name.$libext"; then
found_dir="$dir"
found_a="$dir/lib$name.$libext"
......@@ -487,8 +492,13 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
dnl known to the linker and runtime loader. (All the system
dnl directories known to the linker should also be known to the
dnl runtime loader, otherwise the system is severely misconfigured.)
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
else
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l:lib$name.$libext"
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l:lib$name.$libext"
fi
fi
fi
fi
......
......@@ -25,7 +25,9 @@ AC_BEFORE([$0], [_AC_COMPILER_EXEEXT])
AC_BEFORE([$0], [AC_LINK_IFELSE])
m4_define([_AC_COMPILER_EXEEXT],
[AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
[AC_LANG_CONFTEST([AC_LANG_PROGRAM(
[#include <stdio.h>],
[printf ("hello world\n");])])
# FIXME: Cleanup?
AS_IF([AC_TRY_EVAL(ac_link)], [gcc_no_link=no], [gcc_no_link=yes])
if test x$gcc_no_link = xyes; then
......
dnl toolexeclibdir override support.
dnl Copyright (C) 2020 Free Software Foundation, Inc.
dnl
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 3, or (at your option)
dnl any later version.
dnl
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dnl GNU General Public License for more details.
dnl
dnl You should have received a copy of the GNU General Public License
dnl along with this program; see the file COPYING3. If not see
dnl <http://www.gnu.org/licenses/>.
AC_DEFUN([GCC_WITH_TOOLEXECLIBDIR],
[AC_ARG_WITH(toolexeclibdir,
[AS_HELP_STRING([--with-toolexeclibdir=DIR],
[install libraries built with a cross compiler within DIR])],
[dnl
case ${with_toolexeclibdir} in
/)
;;
*/)
with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
;;
esac],
[with_toolexeclibdir=no])
])
......@@ -3213,7 +3213,7 @@ if test x$enable_libgomp = x ; then
;;
*-*-darwin* | *-*-aix*)
;;
nvptx*-*-*)
nvptx*-*-* | amdgcn*-*-*)
;;
*)
noconfigdirs="$noconfigdirs target-libgomp"
......
......@@ -512,7 +512,7 @@ if test x$enable_libgomp = x ; then
;;
*-*-darwin* | *-*-aix*)
;;
nvptx*-*-*)
nvptx*-*-* | amdgcn*-*-*)
;;
*)
noconfigdirs="$noconfigdirs target-libgomp"
......
2020-01-24 Richard Earnshaw <[email protected]>
* gcc-git-customization.sh: Use users/<pfx> for the personal remote
rather than just <pfx>. Convert existing personal branches to the
new remote.
* git-add-user-branch.sh: New file.
2020-01-22 Richard Earnshaw <[email protected]>
* git-add-vendor-branch.sh: New file.
2020-01-20 Richard Earnshaw <[email protected]>
* gcc-git-customization.sh: Check that user-supplied remote
......
......@@ -128,7 +128,7 @@ url=$(git config --get "remote.${upstream}.url")
pushurl=$(git config --get "remote.${upstream}.pushurl")
for v in $vendors
do
echo "Migrating vendor $v to new remote vendors/$v"
echo "Migrating vendor \"$v\" to new remote \"vendors/$v\""
git config --unset-all "remote.${upstream}.fetch" "refs/vendors/$v/"
git config --unset-all "remote.${upstream}.push" "refs/vendors/$v/"
git config "remote.vendors/${v}.url" "${url}"
......@@ -140,15 +140,36 @@ do
git config --add "remote.vendors/${v}.fetch" "+refs/vendors/$v/tags/*:refs/tags/vendors/${v}/*"
done