Update gcc 10 diff

This commit is contained in:
Andrew Pamment 2020-12-28 13:48:26 +10:00
parent 8df0d4fd13
commit 25fc5bf841

View File

@ -1,6 +1,6 @@
diff -Naur a/config.sub b/config.sub
--- a/config.sub 2020-07-23 16:35:16.912379792 +1000
+++ b/config.sub 2020-12-28 10:35:53.456147527 +1000
+++ b/config.sub 2020-12-28 13:39:57.638319504 +1000
@@ -1343,7 +1343,7 @@
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
| sym* | kopensolaris* | plan9* \
@ -12,7 +12,7 @@ diff -Naur a/config.sub b/config.sub
| knetbsd* | mirbsd* | netbsd* \
diff -Naur a/fixincludes/mkfixinc.sh b/fixincludes/mkfixinc.sh
--- a/fixincludes/mkfixinc.sh 2020-07-23 16:35:16.932380013 +1000
+++ b/fixincludes/mkfixinc.sh 2020-12-28 10:37:15.612177243 +1000
+++ b/fixincludes/mkfixinc.sh 2020-12-28 13:39:57.730315512 +1000
@@ -11,6 +11,7 @@
# Check for special fix rules for particular targets
@ -23,7 +23,7 @@ diff -Naur a/fixincludes/mkfixinc.sh b/fixincludes/mkfixinc.sh
x86_64-*-mingw32* | \
diff -Naur a/gcc/config/quinn.h b/gcc/config/quinn.h
--- a/gcc/config/quinn.h 1970-01-01 10:00:00.000000000 +1000
+++ b/gcc/config/quinn.h 2020-12-28 10:51:21.925294617 +1000
+++ b/gcc/config/quinn.h 2020-12-28 13:39:57.730315512 +1000
@@ -0,0 +1,20 @@
+/* Useful if you wish to make target-specific gcc changes. */
+#undef TARGET_QUINN
@ -47,7 +47,7 @@ diff -Naur a/gcc/config/quinn.h b/gcc/config/quinn.h
+
diff -Naur a/gcc/config/quinn-stdint.h b/gcc/config/quinn-stdint.h
--- a/gcc/config/quinn-stdint.h 1970-01-01 10:00:00.000000000 +1000
+++ b/gcc/config/quinn-stdint.h 2020-12-28 10:39:41.320659879 +1000
+++ b/gcc/config/quinn-stdint.h 2020-12-28 13:39:57.730315512 +1000
@@ -0,0 +1,55 @@
+/* Definitions for <stdint.h> types for NetBSD systems.
+ Copyright (C) 2016-2017 Free Software Foundation, Inc.
@ -106,7 +106,7 @@ diff -Naur a/gcc/config/quinn-stdint.h b/gcc/config/quinn-stdint.h
+#define UINTPTR_TYPE UINT32_TYPE
diff -Naur a/gcc/config.gcc b/gcc/config.gcc
--- a/gcc/config.gcc 2020-07-23 16:35:17.316384243 +1000
+++ b/gcc/config.gcc 2020-12-28 10:42:25.596774199 +1000
+++ b/gcc/config.gcc 2020-12-28 13:39:57.734315339 +1000
@@ -675,6 +675,11 @@
# Common parts for widely ported systems.
@ -130,21 +130,21 @@ diff -Naur a/gcc/config.gcc b/gcc/config.gcc
tm_file="${tm_file} aarch64/aarch64-elf.h aarch64/aarch64-errata.h aarch64/aarch64-elf-raw.h"
diff -Naur a/libgcc/config.host b/libgcc/config.host
--- a/libgcc/config.host 2020-07-23 16:35:18.752400064 +1000
+++ b/libgcc/config.host 2020-12-28 10:44:34.631984285 +1000
@@ -215,6 +215,10 @@
# Common parts for widely ported systems.
case ${host} in
+++ b/libgcc/config.host 2020-12-28 13:45:49.991049522 +1000
@@ -737,6 +737,10 @@
;;
x86_64-*-openbsd*)
;;
+i[34567]86-*-quinn*)
+ extra_parts="$extra_parts crtbegin.o crtend.o"
+ tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic"
+ ;;
*-*-darwin*)
asm_hidden_op=.private_extern
tmake_file="$tmake_file t-darwin ${cpu_type}/t-darwin t-libgcc-pic t-slibgcc-darwin"
i[34567]86-*-linux*)
extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules"
diff -Naur a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4
--- a/libstdc++-v3/crossconfig.m4 2020-07-23 16:35:19.188404867 +1000
+++ b/libstdc++-v3/crossconfig.m4 2020-12-28 10:46:33.062939053 +1000
+++ b/libstdc++-v3/crossconfig.m4 2020-12-28 13:39:57.754314471 +1000
@@ -5,6 +5,13 @@
AC_DEFUN([GLIBCXX_CROSSCONFIG],[
# Base decisions on target environment.