aboutsummaryrefslogtreecommitdiff
path: root/toolchain/binutils/patches/2.43.1
Commit message (Collapse)AuthorAge
* toolchain: binutils: fix compilation with GCC15Robert Marko2025-05-02
| | | | | | | | | | | | | | | | | | | | | | | | GCC15 has switched the C language default from GNU17 to GNU23[1] and this causes builds to fail with: In file included from mips-opc.c:29: mips-opc.c: In function 'decode_mips_operand': mips-formats.h:86:7: error: expected identifier or '(' before 'static_assert' 86 | static_assert[(1 << (SIZE)) == ARRAY_SIZE (MAP)]; \ | ^~~~~~~~~~~~~ mips-opc.c:214:15: note: in expansion of macro 'MAPPED_REG' 214 | case 'z': MAPPED_REG (0, 0, GP, reg_0_map); | ^~~~~~~~~~ So, backport upstream fix for this[2] to fix compilation with GCC15. Patch for 2.40 was manually refreshed as part of the S390 code does not exist in 2.40 as it was added after it. [1] https://gcc.gnu.org/gcc-15/porting_to.html#c23 [2] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=8ebe62f3f0d27806b1bf69f301f5e188b4acd2b4 Fixes: #18678 Link: https://github.com/openwrt/openwrt/pull/18681 Signed-off-by: Robert Marko <robimarko@gmail.com>
* toolchain: binutils: add support for 2.43.1Olcay Korkmaz2024-09-17
Release notes: https://lists.gnu.org/archive/html/info-gnu/2024-08/msg00003.html No need to refresh patches Test device: Xiaomi ax3600 Signed-off-by: Olcay Korkmaz <nuke_mania@hotmail.com> Link: https://github.com/openwrt/openwrt/pull/16405 Signed-off-by: Robert Marko <robimarko@gmail.com>