From: Richard Stallman Date: Fri, 6 Jun 1997 01:21:12 +0000 (+0000) Subject: (*:Linux:*:*): Don't test for elf_i.86 or m68kelf. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c4a33af7a7dce38c168cc2afe5a9dfa285c7e946;p=gcc.git (*:Linux:*:*): Don't test for elf_i.86 or m68kelf. From-SVN: r14156 --- diff --git a/gcc/config.guess b/gcc/config.guess index 7be7aea7f80..4d39b91228a 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