aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@baylibre.com>2024-04-10 10:55:56 +0200
committerThomas Schwinge <tschwinge@baylibre.com>2024-04-10 10:55:56 +0200
commit1af2c40d7595c91f8c8f3573c1bec30556e35bb6 (patch)
tree38b5d5ec8fbb0f53621f676e35611cc092b8da42 /contrib
parent17ee9c68cbc9ba7a13b77ea458fbbc6275c38d02 (diff)
parent830d4659604e4d0f6e908d1cdb5bf1638a60bb21 (diff)
downloadgcc-1af2c40d7595c91f8c8f3573c1bec30556e35bb6.zip
gcc-1af2c40d7595c91f8c8f3573c1bec30556e35bb6.tar.gz
gcc-1af2c40d7595c91f8c8f3573c1bec30556e35bb6.tar.bz2
Merge commit 'f89186f962421f6d972035fc4b4c20490e7b1c5b^' into HEAD
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog10
-rwxr-xr-xcontrib/test_installed4
-rwxr-xr-xcontrib/unicode/gen_libstdcxx_unicode_data.py30
3 files changed, 43 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 0d94109..faf7642 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,13 @@
+2024-02-05 Jakub Jelinek <jakub@redhat.com>
+
+ * test_installed: Fill in HOSTCC, HOSTCXX, HOSTCFLAGS and
+ HOSTCXXFLAGS.
+
+2024-02-04 Jonathan Wakely <jwakely@redhat.com>
+
+ * unicode/gen_libstdcxx_unicode_data.py: Add copyright and
+ license text to the output.
+
2024-01-11 Paul Iannetta <piannetta@kalrayinc.com>
* dg-extract-results.py: Make the test_run regex case
diff --git a/contrib/test_installed b/contrib/test_installed
index a803419..fe9533e 100755
--- a/contrib/test_installed
+++ b/contrib/test_installed
@@ -114,6 +114,10 @@ set GCC_UNDER_TEST "${GCC_UNDER_TEST-${prefix}${prefix+/bin/}gcc}"
set GXX_UNDER_TEST "${GXX_UNDER_TEST-${prefix}${prefix+/bin/}g++}"
set GFORTRAN_UNDER_TEST "${GFORTRAN_UNDER_TEST-${prefix}${prefix+/bin/}gfortran}"
set OBJC_UNDER_TEST "${OBJC_UNDER_TEST-${prefix}${prefix+/bin/}gcc}"
+set HOSTCC "${HOSTCC-cc}"
+set HOSTCXX "${HOSTCXX-c++}"
+set HOSTCFLAGS ""
+set HOSTCXXFLAGS ""
EOF
if test x${target} != x; then
echo "set target_triplet $target" >> site.exp
diff --git a/contrib/unicode/gen_libstdcxx_unicode_data.py b/contrib/unicode/gen_libstdcxx_unicode_data.py
index f2f2f8a..2341a44 100755
--- a/contrib/unicode/gen_libstdcxx_unicode_data.py
+++ b/contrib/unicode/gen_libstdcxx_unicode_data.py
@@ -30,7 +30,35 @@ import sys
import re
import math
-print("// Generated by contrib/unicode/gen_std_format_width.py, do not edit.\n")
+print("""// Generated by contrib/unicode/gen_std_format_width.py, do not edit.
+
+// Copyright The GNU Toolchain Authors.
+//
+// This file is part of the GNU ISO C++ Library. This library is free
+// software; you can redistribute it and/or modify it under the
+// terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 3, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// Under Section 7 of GPL version 3, you are granted additional
+// permissions described in the GCC Runtime Library Exception, version
+// 3.1, as published by the Free Software Foundation.
+
+// You should have received a copy of the GNU General Public License and
+// a copy of the GCC Runtime Library Exception along with this program;
+// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+// <http://www.gnu.org/licenses/>.
+
+/** @file bits/unicode-data.h
+ * This is an internal header file, included by other library headers.
+ * Do not attempt to use it directly. @headername{format}
+ */
+""")
print("#ifndef _GLIBCXX_GET_UNICODE_DATA")
print('# error "This is not a public header, do not include it directly"')
print("#elif _GLIBCXX_GET_UNICODE_DATA != 150100")