From c4a33af7a7dce38c168cc2afe5a9dfa285c7e946 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Fri, 6 Jun 1997 01:21:12 +0000 Subject: [PATCH] (*:Linux:*:*): Don't test for elf_i.86 or m68kelf. From-SVN: r14156 --- gcc/config.guess | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gcc/config.guess b/gcc/config.guess index 7be7aea..4d39b91 100755 --- a/gcc/config.guess +++ b/gcc/config.guess @@ -436,16 +436,12 @@ EOF # The BFD linker knows what the default object file format is, so # first see if it will tell us. ld_help_string=`ld --help 2>&1` - if echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf_i.86"; then - echo "${UNAME_MACHINE}-pc-linux-gnu" ; exit 0 - elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i.86linux"; then + if echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i.86linux"; then echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i.86coff"; then echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0 elif echo $ld_help_string | grep >/dev/null 2>&1 "supported emulations:sparclinux"; then echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 - elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68kelf"; then - echo "${UNAME_MACHINE}-unknown-linux-gnu" ; exit 0 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68klinux"; then echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf32ppc"; then -- 2.7.4