summaryrefslogtreecommitdiffstats
path: root/PATCHES
diff options
context:
space:
mode:
authorKoenig, Joerg <Joerg.Koenig@techsat.com>2021-09-24 15:27:05 (GMT)
committerKoenig, Joerg <Joerg.Koenig@techsat.com>2021-09-24 15:27:05 (GMT)
commit117b19e5cbebd40a3b758bddaf3b16aecc282eef (patch)
tree5a89db6a8730a70c68f6f31060916bf2a9af6e49 /PATCHES
parent343880dd5511ce70d18f953e332df1fd3381275e (diff)
downloadgcc-compiler-suite-117b19e5cbebd40a3b758bddaf3b16aecc282eef.zip
gcc-compiler-suite-117b19e5cbebd40a3b758bddaf3b16aecc282eef.tar.gz
gcc-compiler-suite-117b19e5cbebd40a3b758bddaf3b16aecc282eef.tar.bz2
Update to gcc 11.2, MinGW9.0 and binutils 2.37refs/changes/92/16892/1
Resolves: :jira:<issue> See also: :jira:<issue> Change-Id: Ib5ef3f3c040d5cce4e8a0ef9a77fdbf11b3cfe7f
Diffstat (limited to 'PATCHES')
-rw-r--r--PATCHES/0020-binutil-2.37_RUST_NO_RECURSION_LIMIT_mingw.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/PATCHES/0020-binutil-2.37_RUST_NO_RECURSION_LIMIT_mingw.patch b/PATCHES/0020-binutil-2.37_RUST_NO_RECURSION_LIMIT_mingw.patch
new file mode 100644
index 0000000..42a09d4
--- /dev/null
+++ b/PATCHES/0020-binutil-2.37_RUST_NO_RECURSION_LIMIT_mingw.patch
@@ -0,0 +1,16 @@
+diff -ruNb binutils-2.37.orig/libiberty/rust-demangle.c binutils-2.37/libiberty/rust-demangle.c
+--- binutils-2.37.orig/libiberty/rust-demangle.c 2021-07-15 16:19:46.000000000 +0200
++++ binutils-2.37/libiberty/rust-demangle.c 2021-09-24 07:38:20.014724822 +0200
+@@ -75,10 +75,10 @@
+ int version;
+
+ /* Recursion depth. */
+- uint recursion;
++ unsigned int recursion;
+ /* Maximum number of times demangle_path may be called recursively. */
+ #define RUST_MAX_RECURSION_COUNT 1024
+-#define RUST_NO_RECURSION_LIMIT ((uint) -1)
++#define RUST_NO_RECURSION_LIMIT ((unsigned int) -1)
+
+ uint64_t bound_lifetime_depth;
+ };