From eafc6d85c63f836c43fc90563d1605c39f30de86 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Mon, 3 Aug 1992 07:36:45 +0000 Subject: [PATCH] * configure.in: Recognize i486 host cpu, and use i386-elf for i486-ncr-sysv4. --- bfd/ChangeLog | 5 +++++ bfd/configure.in | 22 +++++++++++++--------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b2466fdf04..94b805453e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Mon Aug 3 00:35:29 1992 Fred Fish (fnf@cygnus.com) + + * configure.in: Recognize i486 host cpu, and use i386-elf + for i486-ncr-sysv4. + Sat Aug 1 13:49:59 1992 Fred Fish (fnf@cygnus.com) * config/stratus.mt (CC): Remove definition. diff --git a/bfd/configure.in b/bfd/configure.in index 54f40a7ab7..ced42cdb8d 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -69,7 +69,7 @@ m68k|m680[01234]0) i860) my_host=stratus ;; -i386) +i386 | i486) case "${host_vendor}" in ncr*) case "${host_os}" in @@ -115,7 +115,7 @@ vax) *) my_host=vaxbsd ;; esac ;; -hppa) +hppa*) case "${host_vendor}" in hp) case "${host_os}" in @@ -133,9 +133,9 @@ links="sysdep.h" if [ ! -f ${srcdir}/${files} ] ; then if [ -n "${my_host}" ] ; then - echo '***' No file ${srcdir}/${files} + echo '***' No file ${srcdir}/${files} 1>&2 fi - echo '***' ${srcname} does not support host ${host} + echo '***' ${srcname} does not support host ${host} 1>&2 exit 1 fi @@ -161,6 +161,8 @@ i960-wrs-* ) bfd_target=i960-bout ;; m68k-wrs-* ) bfd_target=m68k-aout ;; m680[01234]0-wrs-* ) bfd_target=m68k-aout ;; +m68*-ericsson-* ) bfd_target=m68k-aout ;; + m68k-sun-* ) bfd_target=m68k-aout ;; m680[01234]0-sun-* ) bfd_target=m68k-aout ;; sparc-sun-sysv4 ) bfd_target=sparc-elf ;; @@ -194,8 +196,10 @@ m88k-motorola-* ) bfd_target=m88k-coff ;; vax-*-* ) bfd_target=vax ;; tahoe-*-* ) bfd_target=tahoe ;; -hppa-hp-hpux ) bfd_target=hppahpux ;; -hppa-hp-bsd ) bfd_target=hppabsd ;; +hppa*-hp-hpux ) bfd_target=hppahpux ;; +hppa*-hp-bsd ) bfd_target=hppabsd ;; + +i[34]86-ncr-sysv4* ) bfd_target=i386-elf ;; *-*-aout ) bfd_target=${target_cpu}-aout ;; *-*-bsd ) bfd_target=${target_cpu}-aout ;; @@ -225,10 +229,10 @@ esac if [ ! -f ${srcdir}/config/${bfd_target}.mt ] ; then if [ -n "${bfd_target}" ] ; then - echo '***' No file ${srcdir}/config/${bfd_target}.mt + echo '***' No file ${srcdir}/config/${bfd_target}.mt 1>&2 fi - echo '***' BFD does not support target ${target} - echo '***' Look in bfd/configure.in for supported targets + echo '***' BFD does not support target ${target} 1>&2 + echo '***' Look in bfd/configure.in for supported targets 1>&2 exit 1 fi target_makefile_frag=config/${bfd_target}.mt