Skip to content

Commit 1e91020

Browse files
committed
devkitPPC: update binutils to 2.44
1 parent 24164cc commit 1e91020

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

dkppc/patches/binutils-2.44.patch

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
diff --git a/ld/emulparams/elf32ppccommon.sh b/ld/emulparams/elf32ppccommon.sh
2+
index da892988f5d..6b8efb9bbdb 100644
3+
--- a/ld/emulparams/elf32ppccommon.sh
4+
+++ b/ld/emulparams/elf32ppccommon.sh
5+
@@ -23,7 +23,7 @@ else
6+
unset SBSS_START_SYMBOLS
7+
unset SBSS_END_SYMBOLS
8+
fi
9+
-OTHER_END_SYMBOLS="${CREATE_SHLIB+PROVIDE (}__end = .${CREATE_SHLIB+)};"
10+
+OTHER_END_SYMBOLS="${CREATE_SHLIB+PROVIDE (}__end = .${CREATE_SHLIB+)};${CREATE_SHLIB+PROVIDE (}__end__ = .${CREATE_SHLIB+)};"
11+
OTHER_RELRO_SECTIONS="
12+
.fixup ${RELOCATING-0} : { *(.fixup) }
13+
.got1 ${RELOCATING-0} : { *(.got1) }
14+
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
15+
index e55bfe846cd..f160e290bce 100644
16+
--- a/opcodes/ppc-opc.c
17+
+++ b/opcodes/ppc-opc.c
18+
@@ -4988,7 +4988,7 @@ const unsigned int num_powerpc_operands = ARRAY_SIZE (powerpc_operands);
19+
#define MFDEC2 (PPC_OPCODE_PPC | PPC_OPCODE_601 | PPC_OPCODE_BOOKE \
20+
| PPC_OPCODE_TITAN)
21+
#define BOOKE PPC_OPCODE_BOOKE
22+
-#define NO371 PPC_OPCODE_BOOKE | PPC_OPCODE_PPCPS | PPC_OPCODE_EFS
23+
+#define NO371 PPC_OPCODE_BOOKE | PPC_OPCODE_EFS
24+
#define PPCE300 PPC_OPCODE_E300
25+
#define PPCSPE PPC_OPCODE_SPE
26+
#define PPCSPE2 PPC_OPCODE_SPE2

select_toolchain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ case "$VERSION" in
4040
;;
4141
"2" )
4242
GCC_VER=14.2.0
43-
BINUTILS_VER=2.43.1
43+
BINUTILS_VER=2.44
4444
MN_BINUTILS_VER=2.24
4545
NEWLIB_VER=4.4.0.20231231
4646
basedir='dkppc'

0 commit comments

Comments
 (0)