Skip to content

Commit 092f657

Browse files
committed
devkitPPC: update binutils to 2.37
1 parent 7d3bbea commit 092f657

2 files changed

Lines changed: 29 additions & 1 deletion

File tree

dkppc/patches/binutils-2.37.patch

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
diff -NBaur binutils-2.37/libiberty/rust-demangle.c binutils-2.37-new/libiberty/rust-demangle.c
2+
--- binutils-2.37/libiberty/rust-demangle.c 2021-07-15 15:19:46.000000000 +0100
3+
+++ binutils-2.37-new/libiberty/rust-demangle.c 2022-01-01 22:02:21.860422023 +0000
4+
@@ -75,10 +75,10 @@
5+
int version;
6+
7+
/* Recursion depth. */
8+
- uint recursion;
9+
+ unsigned recursion;
10+
/* Maximum number of times demangle_path may be called recursively. */
11+
#define RUST_MAX_RECURSION_COUNT 1024
12+
-#define RUST_NO_RECURSION_LIMIT ((uint) -1)
13+
+#define RUST_NO_RECURSION_LIMIT ((unsigned) -1)
14+
15+
uint64_t bound_lifetime_depth;
16+
};
17+
diff -NBaur binutils-2.37/opcodes/ppc-opc.c binutils-2.37-new/opcodes/ppc-opc.c
18+
--- binutils-2.37/opcodes/ppc-opc.c 2021-07-08 12:37:21.000000000 +0100
19+
+++ binutils-2.37-new/opcodes/ppc-opc.c 2022-01-01 22:02:04.409141184 +0000
20+
@@ -4302,7 +4302,7 @@
21+
#define MFDEC2 (PPC_OPCODE_PPC | PPC_OPCODE_601 | PPC_OPCODE_BOOKE \
22+
| PPC_OPCODE_TITAN)
23+
#define BOOKE PPC_OPCODE_BOOKE
24+
-#define NO371 PPC_OPCODE_BOOKE | PPC_OPCODE_PPCPS | PPC_OPCODE_EFS
25+
+#define NO371 PPC_OPCODE_BOOKE | PPC_OPCODE_EFS
26+
#define PPCE300 PPC_OPCODE_E300
27+
#define PPCSPE PPC_OPCODE_SPE
28+
#define PPCSPE2 PPC_OPCODE_SPE2

select_toolchain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ case "$VERSION" in
3939
toolchain=DEVKITARM
4040
;;
4141
"2" )
42-
BINUTILS_VER=2.36.1
4342
GCC_VER=11.2.0
43+
BINUTILS_VER=2.37
4444
MN_BINUTILS_VER=2.24
4545
NEWLIB_VER=4.1.0
4646
basedir='dkppc'

0 commit comments

Comments
 (0)