diff options
author | Yann Diorcet <diorcet.yann@gmail.com> | 2012-11-19 21:45:09 +0100 |
---|---|---|
committer | Yann Diorcet <diorcet.yann@gmail.com> | 2012-11-19 21:45:09 +0100 |
commit | 19fa6609da1f0f0f71ec1d5ccfc740620620a7aa (patch) | |
tree | b70b56f1f349f8df6e631ea44cafcff7dcf0b885 /config | |
parent | 7b7f7e4db241b9d803e64a7cb4a7bce43d62ed55 (diff) | |
download | crosstool-ng-19fa6609da1f0f0f71ec1d5ccfc740620620a7aa.tar.gz crosstool-ng-19fa6609da1f0f0f71ec1d5ccfc740620620a7aa.tar.bz2 crosstool-ng-19fa6609da1f0f0f71ec1d5ccfc740620620a7aa.zip |
binutils/binutils: simplify gold dependencies
In preparation of adding a new kernel-type, Yann D. came up
with a change in semantic on binutils/gold availability.
So far, it was architectures' responsibility to declare that
they did support binutils/gold or not. It makes much more sense
that binutils/gold declares its own availability depending on
the current architecture; after all, architectures have no way
to know wether gold supports them, while gold does know it.
Signed-off-by:Yann Diorcet <diorcet.yann@gmail.com>
[yann.morin.1998@free.fr: split up original patch for self-contained changes]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <d3d1d51f399e6d2c1163.1353320546@macbook-smorlat.local>
Patchwork-Id: 199971
Diffstat (limited to 'config')
-rw-r--r-- | config/binutils/binutils.in | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/config/binutils/binutils.in b/config/binutils/binutils.in index b01c2da9..98b1a8a4 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 |