summaryrefslogtreecommitdiff
path: root/config/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'config/binutils')
-rw-r--r--config/binutils/binutils.in10
1 files changed, 3 insertions, 7 deletions
diff --git a/config/binutils/binutils.in b/config/binutils/binutils.in
index b01c2da..98b1a8a 100644
--- a/config/binutils/binutils.in
+++ b/config/binutils/binutils.in
@@ -115,8 +115,11 @@ config BINUTILS_HAS_HASH_STYLE
config BINUTILS_HAS_GOLD
bool
+# gold only suports the listed architectures
config BINUTILS_GOLD_SUPPORTS_ARCH
bool
+ default y if ARCH_arm
+ default y if ARCH_x86
config BINUTILS_HAS_PLUGINS
bool
@@ -124,13 +127,6 @@ config BINUTILS_HAS_PLUGINS
config BINUTILS_HAS_PKGVERSION_BUGURL
bool
-# Only these architectures have support in gold
-config ARCH_arm
- select BINUTILS_GOLD_SUPPORTS_ARCH
-
-config ARCH_x86
- select BINUTILS_GOLD_SUPPORTS_ARCH
-
# Force using the BFD linker if needed
# This is the case for some C libraries (eg. glibc and
# eglibc at least) and affected components can select this