libc/glibc-common: force use of the BFD linker
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Apr 05 01:04:31 2011 +0200 (2011-04-05)
changeset 237732c08de1d54f
parent 2376 369664fd7cba
child 2378 fa3c0b3cebf6
libc/glibc-common: force use of the BFD linker

gold can not build glibc/eglibc, force use of the BFD
linker during the toolchain build.

Reported-by: Bill Pringlemeir <bpringle@sympatico.ca>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
config/libc/glibc-eglibc.in-common
     1.1 --- a/config/libc/glibc-eglibc.in-common	Tue Apr 05 01:02:28 2011 +0200
     1.2 +++ b/config/libc/glibc-eglibc.in-common	Tue Apr 05 01:04:31 2011 +0200
     1.3 @@ -3,6 +3,12 @@
     1.4  
     1.5  if LIBC_glibc || LIBC_eglibc
     1.6  
     1.7 +# Force using the BFD linker during the toolchain build
     1.8 +config LIBC_glibc_familly
     1.9 +    bool
    1.10 +    default y
    1.11 +    select BINUTILS_FORCE_LD_BFD
    1.12 +
    1.13  # Some architectures require the ports addon. List them one by one here:
    1.14  # This list must be carefully in sync with the architectures names
    1.15  # we can find in config/arch/*