package/binutils: add support for binutils 2.46.0
commit: https://gitlab.com/buildroot.org/buildroot/-/commit/101997e334efcbfd9bde3100ae75400177cfa56f
branch: https://gitlab.com/buildroot.org/buildroot/-/tree/next
https://sourceware.org/pipermail/binutils/2026-February/148149.html
" This release contains numerous bug fixes, and also the following new
features:
* Support for new instructions added to AMD, ARM and RISC-V architectures.
* Support for version 3 of the SFrame standard.
* The readelf program can now display the contents of Global Offset Tables.
* Improved linker tagging support."
We bring and rebased patches 0001 and 0002 that we carry for binutils 2.45.
--- package/binutils/2.46.0/0001-sh-conf.patch | 52 ++++ .../2.46.0/0002-poison-system-directories.patch | 312 +++++++++++++++++++++ package/binutils/Config.in.host | 4 + package/binutils/binutils.hash | 1 + 4 files changed, 369 insertions(+)
package/binutils/2.46.0/0001-sh-conf.patch new file +52 -0
@@ -0,0 +1,52 @@ +From 0bf75276c392cac7794e78e1572abcd793d99e4e Mon Sep 17 00:00:00 2001 +From: Romain Naour <[email protected]> +Date: Fri, 25 Dec 2015 11:38:13 +0100 +Subject: [PATCH] sh-conf + +Likewise, binutils has no idea about any of these new targets either, so we +fix that up too.. now we're able to actually build a real toolchain for +sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more +inept targets than that one, really. Go look, I promise). + +Upstream: N/A [Buildroot specific] + +[Romain: rebase on top of 2.32] +Signed-off-by: Romain Naour <[email protected]> +[Thomas: rebase on top of 2.29, in which sh64 support was removed.] +Signed-off-by: Thomas Petazzoni <[email protected]> +[Bernd: rebased for version 2.46.0] +Signed-off-by: Bernd Kuhls <[email protected]> +--- + configure | 2 +- + configure.ac | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure b/configure +index bbfb5979546..bcd95684ae1 100755 +--- a/configure ++++ b/configure +@@ -4196,7 +4196,7 @@ + nvptx*-*-*) + noconfigdirs="$noconfigdirs target-libssp" + ;; +- sh-*-*) ++ sh*-*-*) + case "${target}" in + sh*-*-elf) + ;; +diff --git a/configure.ac b/configure.ac +index f9694cdf901..d6a3623ba50 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1365,7 +1365,7 @@ + nvptx*-*-*) + noconfigdirs="$noconfigdirs target-libssp" + ;; +- sh-*-*) ++ sh*-*-*) + case "${target}" in + sh*-*-elf) + ;; +-- +2.51.1 +
package/binutils/2.46.0/0002-poison-system-directories.patch new file +312 -0
312 lines not on this page · raw message
package/binutils/Config.in.host +4 -0
@@ -25,6 +25,9 @@ config BR2_BINUTILS_VERSION_2_44_X config BR2_BINUTILS_VERSION_2_45_X bool "binutils 2.45.1" +config BR2_BINUTILS_VERSION_2_46_X + bool "binutils 2.46.0" + endchoice config BR2_BINUTILS_VERSION
@@ -33,6 +36,7 @@ config BR2_BINUTILS_VERSION default "2.43.1" if BR2_BINUTILS_VERSION_2_43_X default "2.44" if BR2_BINUTILS_VERSION_2_44_X default "2.45.1" if BR2_BINUTILS_VERSION_2_45_X + default "2.46.0" if BR2_BINUTILS_VERSION_2_46_X config BR2_BINUTILS_GPROFNG bool "gprofng support"
package/binutils/binutils.hash +1 -0
@@ -2,6 +2,7 @@ sha512 20977ad17729141a2c26d358628f44a0944b84dcfefdec2ba029c2d02f40dfc41cc91c0631044560d2bd6f9a51e1f15846b4b311befbe14f1239f14ff7d57824 binutils-2.43.1.tar.xz sha512 b85d3bbc0e334cf67a96219d3c7c65fbf3e832b2c98a7417bf131f3645a0307057ec81cd2b29ff2563cec53e3d42f73e2c60cc5708e80d4a730efdcc6ae14ad7 binutils-2.44.tar.xz sha512 ea030419eba387579ab717be7e3223fc99e93b586860b06003c12489f93441640d4082736f76aa5e98233db4f46e232f536a45e471486de1f5b64e1b827c167e binutils-2.45.1.tar.xz +sha512 32f880bb4f69351f4ae54a5d00359625c6c49d8e76624fb5cffdf174c79c8d3212f66225b81c12933c6ed59604ab652560773dd92fab384b930c97a9d4e1fdf2 binutils-2.46.0.tar.xz # Locally calculated (fetched from Github) sha512 46c336a16bde7b73dc4ceac0986887d47d542a1452e1936ef871b5e76afdb6cad4b18ccb4d93341358e7bb92c2ef74781e1fb72935d527d15251ac9f9daa8305 binutils-gdb-arc-2024.12-release.tar.gz
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot