From ae793d657a95e22da1b6b346664a2c95f010f052 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Sun, 14 Feb 2021 19:45:43 +0000 Subject: [PATCH] devkitPPC: update binutils to 2.36.1 --- dkppc/patches/binutils-2.36.1.patch | 12 ++++++++++++ select_toolchain.sh | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 dkppc/patches/binutils-2.36.1.patch diff --git a/dkppc/patches/binutils-2.36.1.patch b/dkppc/patches/binutils-2.36.1.patch new file mode 100644 index 0000000..5950cae --- /dev/null +++ b/dkppc/patches/binutils-2.36.1.patch @@ -0,0 +1,12 @@ +diff -NBaur binutils-2.36.1/opcodes/ppc-opc.c binutils-2.36.1-ppc/opcodes/ppc-opc.c +--- binutils-2.36.1/opcodes/ppc-opc.c 2021-01-09 10:47:34.000000000 +0000 ++++ binutils-2.36.1-ppc/opcodes/ppc-opc.c 2021-02-14 19:41:09.350749949 +0000 +@@ -4225,7 +4225,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 850bd77..269c205 100755 --- a/select_toolchain.sh +++ b/select_toolchain.sh @@ -40,7 +40,7 @@ case "$VERSION" in ;; "2" ) GCC_VER=10.2.0 - BINUTILS_VER=2.34 + BINUTILS_VER=2.36.1 MN_BINUTILS_VER=2.17 NEWLIB_VER=4.1.0 basedir='dkppc'