diff options
author | Hans-Christian Noren Egtvedt <egtvedt@samfundet.no> | 2025-04-22 14:41:19 +0200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2025-04-30 09:34:18 +1200 |
commit | b49e4c689c4dc8e9c8da5b8f56d7ddf59e485d3b (patch) | |
tree | 17933f7258d92082c9fdeb4b07da6355f61e737e /config | |
parent | 179fe2d5df7d4c5acc4cbaaf4b4007af73807025 (diff) | |
download | crosstool-ng-b49e4c689c4dc8e9c8da5b8f56d7ddf59e485d3b.tar.gz crosstool-ng-b49e4c689c4dc8e9c8da5b8f56d7ddf59e485d3b.tar.bz2 crosstool-ng-b49e4c689c4dc8e9c8da5b8f56d7ddf59e485d3b.zip |
binutils: add version 2.44
https://lists.gnu.org/archive/html/info-gnu/2025-02/msg00001.html
Add the new version rebasing the patches we carry on top. Drop patches
to gold, since this linker has been removed from upstream.
Add a new Kconfig entry that removes visibility of enabling gold linker
when selecting binutils version >= 2.44.
Signed-off-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>
Diffstat (limited to 'config')
-rw-r--r-- | config/binutils/binutils.in | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/config/binutils/binutils.in b/config/binutils/binutils.in index af321524..030e0b9d 100644 --- a/config/binutils/binutils.in +++ b/config/binutils/binutils.in @@ -13,10 +13,16 @@ config BINUTILS_GOLD_SUPPORTS_ARCH default y if ARCH_SPARC default y if ARCH_X86 +# Support for gold was deprecated and removed from binutils 2.44. +config BINUTILS_HAS_GOLD + bool + default y if !BINUTILS_2_44_or_later + default y if !BINUTILS_SRC_RELEASE + config BINUTILS_GOLD_SUPPORT bool default y - depends on BINUTILS_GOLD_SUPPORTS_ARCH + depends on BINUTILS_GOLD_SUPPORTS_ARCH && BINUTILS_HAS_GOLD # Force using the BFD linker if needed. There are two options: # - For some C libraries (eg. glibc at least), BFD ld must be @@ -34,6 +40,11 @@ config BINUTILS_DEP_BISON depends on BINUTILS_2_39_or_later && !CONFIGURE_has_bison_3_0_4_or_newer && (ARCH_X86 || (ARCH_ARM && ARCH_64)) select COMP_TOOLS_BISON +if BINUTILS_2_44_or_later && BINUTILS_GOLD_SUPPORT && !BINUTILS_SRC_RELEASE +comment "WARNING! For binutils >= 2.44 only enable gold support if supplied" +comment "| through custom source tree." +endif + choice bool prompt "Linkers to enable" |