changeset 11607:c23dd70bf6a3

Support for pre-BFD versions of Linux ld.
author Michael Meissner <gnu@the-meissners.org>
date Thu, 27 Apr 1995 18:35:38 +0000
parents e90c3c69416a
children 23e8d67edd9d
files config.guess
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/config.guess	Thu Apr 27 13:22:29 1995 +0000
+++ b/config.guess	Thu Apr 27 18:35:38 1995 +0000
@@ -300,7 +300,14 @@
 	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 <<EOF
 main(argc, argv)
 int argc;