summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/binutils/binutils.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/binutils/binutils.in b/config/binutils/binutils.in
index 173aacf..94190f4 100644
--- a/config/binutils/binutils.in
+++ b/config/binutils/binutils.in
@@ -62,10 +62,14 @@ config BINUTILS_VERSION
config BINUTILS_2_21_or_later
bool
select BINUTILS_HAS_GOLD
+ select BINUTILS_HAS_PLUGINS
config BINUTILS_HAS_GOLD
bool
+config BINUTILS_HAS_PLUGINS
+ bool
+
if BINUTILS_HAS_GOLD
choice
@@ -128,6 +132,15 @@ config BINUTILS_LINKERS_LIST
endif # BINUTILS_HAS_GOLD
+config BINUTILS_PLUGINS
+ bool
+ prompt "Enable support for plugins"
+ depends on BINUTILS_HAS_PLUGINS
+ help
+ binutils can be extended through the use of plugins.
+ Especially, gold can use the lto-plugin, as installed
+ by gcc, to handle LTO.
+
config BINUTILS_EXTRA_CONFIG
string
prompt "binutils extra config"