From: Michael Meissner Date: Thu, 27 Apr 1995 18:35:38 +0000 (+0000) Subject: Support for pre-BFD versions of Linux ld. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0dd0f1b6625c215f21cec51a73626d0f2ec4e4b9;p=gcc.git Support for pre-BFD versions of Linux ld. From-SVN: r9511 --- diff --git a/gcc/config.guess b/gcc/config.guess index d27eee7fd06..f002f48361e 100755 --- a/gcc/config.guess +++ b/gcc/config.guess @@ -300,7 +300,14 @@ EOF echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit 0 ;; *:Linux:*:*) - # Determine whether the default compiler is a.out or elf + # Systems without a BFD linker + if test -d /usr/lib/ldscripts/. ; then + : + else + echo "${UNAME_MACHINE}-unknown-linuxoldld" + exit 0 + fi + # Determine whether the default compiler is a.out or elf cat >dummy.c <