diff options
author | Chris Packham <judge.packham@gmail.com> | 2022-08-08 21:09:12 +1200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2022-08-14 10:15:17 +1200 |
commit | 29b6e00368b4f74c4d4a1cd22da7fdabdcd1d6ea (patch) | |
tree | 1850995abd102fccb121764acbfec523dea9c4ec /config/binutils | |
parent | d787518168d8acc2d4e33b8a1f0b1ff04eca3495 (diff) | |
download | crosstool-ng-29b6e00368b4f74c4d4a1cd22da7fdabdcd1d6ea.tar.gz crosstool-ng-29b6e00368b4f74c4d4a1cd22da7fdabdcd1d6ea.tar.bz2 crosstool-ng-29b6e00368b4f74c4d4a1cd22da7fdabdcd1d6ea.zip |
binutils: Add binutils 2.39
https://sourceware.org/pipermail/binutils/2022-August/122246.html
Add binutils 2.39 and regenerate patches.
0008-binutils-2.38-vs.-ppc32-linux-kernel.patch is dropped as it has
been applied upstream. Add a milestone for 2.39 which will be handy for
Loongarch.
Binutils now requires bison >= 3.0.4 to build gprofng for x86/aarch64 so
we build our own bison when the host bison does not meet that
requirement (which appears to be the case on macOS).
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'config/binutils')
-rw-r--r-- | config/binutils/binutils.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/binutils/binutils.in b/config/binutils/binutils.in index 286ed4b5..2aa877fc 100644 --- a/config/binutils/binutils.in +++ b/config/binutils/binutils.in @@ -24,6 +24,12 @@ config BINUTILS_FORCE_LD_BFD_DEFAULT config BINUTILS_FORCE_LD_BFD_ONLY bool +# Binutils 2.39 requires bison 3.0.4 or later for gprofng on x86/aarch64 +config BINUTILS_DEP_BISON + def_bool y + 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 + choice bool prompt "Linkers to enable" |