diff options
author | Alexey Neyman <stilor@att.net> | 2018-12-05 03:12:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-05 03:12:59 (GMT) |
commit | f8874f447e40852d33d65c1f443a90b0760901df (patch) | |
tree | f506cfa723b6e3baa28ac30e2be4a314516f5950 /config/binutils | |
parent | dc9fa6ad64f81e3314a469fc434f1dd4abcff0cc (diff) | |
parent | 1e5c48f190f5f0da9177a1137113b8d4a836ab9e (diff) |
Merge pull request #1108 from stilor/config-fixes
Config fixes
Diffstat (limited to 'config/binutils')
-rw-r--r-- | config/binutils/binutils.in | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/config/binutils/binutils.in b/config/binutils/binutils.in index bd32bd6..928659a 100644 --- a/config/binutils/binutils.in +++ b/config/binutils/binutils.in @@ -79,7 +79,7 @@ config BINUTILS_LINKER_LD_GOLD config BINUTILS_LINKER_GOLD_LD bool prompt "gold, ld" - depends on !BINUTILS_FORCE_LD_BFD_ONLY + depends on !BINUTILS_FORCE_LD_BFD_DEFAULT && !BINUTILS_FORCE_LD_BFD_ONLY depends on BINUTILS_GOLD_SUPPORT select BINUTILS_GOLD_INSTALLED select BINUTILS_LINKER_BOTH @@ -146,6 +146,16 @@ config BINUTILS_PLUGINS Especially, gold can use the lto-plugin, as installed by gcc, to handle LTO. +config BINUTILS_RELRO + tristate + prompt "Enable -z relro in ELF linker by default" if BINUTILS_2_27_or_later + default m + help + Setting this option forces "-z relro" by default in the ELF linker. + Clearing this option forces "-z norelro" by default in the ELF linker. + Setting this option to 'M' configures binutils with their internal + default for the selected architecture. + config BINUTILS_EXTRA_CONFIG_ARRAY string prompt "binutils extra config" |