summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoenig, Joerg <Joerg.Koenig@techsat.com>2021-09-24 05:40:12 (GMT)
committerKoenig, Joerg <Joerg.Koenig@techsat.com>2021-09-24 05:40:12 (GMT)
commit2f8c5c4b36d4465238f221e0e8fbcb05bfbb2f2c (patch)
treea3e48fe7492633c515afdc13e0aafa5adb7a2693
parent0ddbecec586a549b86312de56069b4f0503d9fd2 (diff)
downloadgcc-compiler-suite-2f8c5c4b36d4465238f221e0e8fbcb05bfbb2f2c.zip
gcc-compiler-suite-2f8c5c4b36d4465238f221e0e8fbcb05bfbb2f2c.tar.gz
gcc-compiler-suite-2f8c5c4b36d4465238f221e0e8fbcb05bfbb2f2c.tar.bz2
Extend patch for binutils 2.37 mingw buildrefs/changes/79/16879/1
Change-Id: I27076f620831b52ed00f03c4bf6cb8461f39e916
-rw-r--r--PATCHES/0020-binutil-2.37_RUST_NO_RECURSION_LIMIT_mingw.patch10
1 files changed, 7 insertions, 3 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
index cddf978..42a09d4 100644
--- a/PATCHES/0020-binutil-2.37_RUST_NO_RECURSION_LIMIT_mingw.patch
+++ b/PATCHES/0020-binutil-2.37_RUST_NO_RECURSION_LIMIT_mingw.patch
@@ -1,8 +1,12 @@
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-23 15:28:07.421338968 +0200
-@@ -78,7 +78,7 @@
- uint recursion;
++++ 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)