mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-15 16:23:25 +08:00
b11a7fbea7
Binutils 2.29 and 2.30 are affected by a bug in ADR and ADRL pseudo-instruction [1] that was fixed in Binutils 2.31 [2]. * The ADR and ADRL pseudo-instructions supported by the ARM assembler now only set the bottom bit of the address of thumb function symbols if the -mthumb-interwork command line option is active. Due to this issue, we were default to binutils 2.28 for ARM Thumb. But now that the issue has been fixed in binutils 2.31 and that this version is the default, the special casing to use 2.28 is no longer needed. [1] https://sourceware.org/bugzilla/show_bug.cgi?id=21458 [2] https://sourceware.org/ml/binutils/2018-07/msg00213.html Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
56 lines
1.4 KiB
Plaintext
56 lines
1.4 KiB
Plaintext
comment "Binutils Options"
|
|
|
|
config BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI
|
|
bool
|
|
default y
|
|
depends on !BR2_microblaze
|
|
depends on !(BR2_nios2 && (BR2_BINUTILS_VERSION_2_28_X || BR2_BINUTILS_VERSION_2_29_X))
|
|
|
|
choice
|
|
prompt "Binutils Version"
|
|
default BR2_BINUTILS_VERSION_2_31_X if !BR2_arc
|
|
default BR2_BINUTILS_VERSION_ARC if BR2_arc
|
|
help
|
|
Select the version of binutils you wish to use.
|
|
|
|
config BR2_BINUTILS_VERSION_2_28_X
|
|
bool "binutils 2.28.1"
|
|
depends on !BR2_arc
|
|
depends on !BR2_riscv
|
|
|
|
config BR2_BINUTILS_VERSION_2_29_X
|
|
bool "binutils 2.29.1"
|
|
depends on !BR2_riscv
|
|
|
|
config BR2_BINUTILS_VERSION_2_30_X
|
|
bool "binutils 2.30"
|
|
|
|
config BR2_BINUTILS_VERSION_2_31_X
|
|
bool "binutils 2.31.1"
|
|
|
|
config BR2_BINUTILS_VERSION_2_32_X
|
|
bool "binutils 2.32"
|
|
|
|
config BR2_BINUTILS_VERSION_ARC
|
|
bool "binutils arc (2.31)"
|
|
depends on BR2_arc
|
|
endchoice
|
|
|
|
config BR2_BINUTILS_VERSION
|
|
string
|
|
default "arc-2018.09-release" if BR2_BINUTILS_VERSION_ARC
|
|
default "2.28.1" if BR2_BINUTILS_VERSION_2_28_X
|
|
default "2.29.1" if BR2_BINUTILS_VERSION_2_29_X
|
|
default "2.30" if BR2_BINUTILS_VERSION_2_30_X
|
|
default "2.31.1" if BR2_BINUTILS_VERSION_2_31_X
|
|
default "2.32" if BR2_BINUTILS_VERSION_2_32_X
|
|
|
|
config BR2_BINUTILS_ENABLE_LTO
|
|
bool
|
|
|
|
config BR2_BINUTILS_EXTRA_CONFIG_OPTIONS
|
|
string "Additional binutils options"
|
|
default ""
|
|
help
|
|
Any additional binutils options you may want to include.
|