config/binutils/binutils.in
changeset 3121 5016315d88ba
parent 3089 3662412ddd59
child 3142 6569f6a9060c
     1.1 --- a/config/binutils/binutils.in	Thu Oct 11 14:39:41 2012 +1000
     1.2 +++ b/config/binutils/binutils.in	Mon Nov 19 21:45:09 2012 +0100
     1.3 @@ -115,8 +115,11 @@
     1.4  config BINUTILS_HAS_GOLD
     1.5      bool
     1.6  
     1.7 +# gold only suports the listed architectures
     1.8  config BINUTILS_GOLD_SUPPORTS_ARCH
     1.9      bool
    1.10 +    default y if ARCH_arm
    1.11 +    default y if ARCH_x86
    1.12  
    1.13  config BINUTILS_HAS_PLUGINS
    1.14      bool
    1.15 @@ -124,13 +127,6 @@
    1.16  config BINUTILS_HAS_PKGVERSION_BUGURL
    1.17      bool
    1.18  
    1.19 -# Only these architectures have support in gold
    1.20 -config ARCH_arm
    1.21 -    select BINUTILS_GOLD_SUPPORTS_ARCH
    1.22 -
    1.23 -config ARCH_x86
    1.24 -    select BINUTILS_GOLD_SUPPORTS_ARCH
    1.25 -
    1.26  # Force using the BFD linker if needed
    1.27  # This is the case for some C libraries (eg. glibc and
    1.28  # eglibc at least) and affected components can select this