diff --git a/dkppc/patches/binutils-2.37.patch b/dkppc/patches/binutils-2.37.patch new file mode 100644 index 0000000..add8404 --- /dev/null +++ b/dkppc/patches/binutils-2.37.patch @@ -0,0 +1,28 @@ +diff -NBaur binutils-2.37/libiberty/rust-demangle.c binutils-2.37-new/libiberty/rust-demangle.c +--- binutils-2.37/libiberty/rust-demangle.c 2021-07-15 15:19:46.000000000 +0100 ++++ binutils-2.37-new/libiberty/rust-demangle.c 2022-01-01 22:02:21.860422023 +0000 +@@ -75,10 +75,10 @@ + int version; + + /* Recursion depth. */ +- uint recursion; ++ unsigned 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) -1) + + uint64_t bound_lifetime_depth; + }; +diff -NBaur binutils-2.37/opcodes/ppc-opc.c binutils-2.37-new/opcodes/ppc-opc.c +--- binutils-2.37/opcodes/ppc-opc.c 2021-07-08 12:37:21.000000000 +0100 ++++ binutils-2.37-new/opcodes/ppc-opc.c 2022-01-01 22:02:04.409141184 +0000 +@@ -4302,7 +4302,7 @@ + #define MFDEC2 (PPC_OPCODE_PPC | PPC_OPCODE_601 | PPC_OPCODE_BOOKE \ + | PPC_OPCODE_TITAN) + #define BOOKE PPC_OPCODE_BOOKE +-#define NO371 PPC_OPCODE_BOOKE | PPC_OPCODE_PPCPS | PPC_OPCODE_EFS ++#define NO371 PPC_OPCODE_BOOKE | PPC_OPCODE_EFS + #define PPCE300 PPC_OPCODE_E300 + #define PPCSPE PPC_OPCODE_SPE + #define PPCSPE2 PPC_OPCODE_SPE2 diff --git a/select_toolchain.sh b/select_toolchain.sh index a8cb094..c34f9d3 100755 --- a/select_toolchain.sh +++ b/select_toolchain.sh @@ -39,8 +39,8 @@ case "$VERSION" in toolchain=DEVKITARM ;; "2" ) - BINUTILS_VER=2.36.1 GCC_VER=11.2.0 + BINUTILS_VER=2.37 MN_BINUTILS_VER=2.24 NEWLIB_VER=4.1.0 basedir='dkppc'