aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-01-30 09:21:33 +0000
committerJohn Gilmore <gnu@cygnus>1992-01-30 09:21:33 +0000
commitd89b9f991bb9b322cb1ea0995b2648aca9606cd9 (patch)
treee73d30657438a22c2c5a76a6cf6b0b71957bb141 /bfd
parent0aa70210e4ec2933a8c6e1f85800b620e16d792d (diff)
downloadgdb-d89b9f991bb9b322cb1ea0995b2648aca9606cd9.zip
gdb-d89b9f991bb9b322cb1ea0995b2648aca9606cd9.tar.gz
gdb-d89b9f991bb9b322cb1ea0995b2648aca9606cd9.tar.bz2
* configure.in: Make Tahoe configuration work again.
* bfd-in.h: Remove trailing comma from enum declaration. * ieee.c: Can't put byte values >0x7F into a signed char.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/configure.in31
2 files changed, 29 insertions, 8 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 27f9df4..0a056bb 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+Thu Jan 30 01:19:56 1992 John Gilmore (gnu at cygnus.com)
+
+ * configure.in: Make Tahoe configuration work again.
+ * bfd-in.h: Remove trailing comma from enum declaration.
+ * ieee.c: Can't put byte values >0x7F into a signed char.
+
Tue Jan 28 21:10:51 1992 Fred Fish (fnf at cygnus.com)
* Makefile.in: Add dependencies for various coff-*.o files.
diff --git a/bfd/configure.in b/bfd/configure.in
index 630a290..c475f68 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -6,6 +6,7 @@
configdirs="doc"
srctrigger=libbfd.c
srcname="BFD"
+target_dependent=true
# per-host:
@@ -40,7 +41,7 @@ m68k)
cbm)
case ${host_os} in
amigados) my_host=amigados ;;
- svr4) my_host=amix ;;
+ sysv4*) my_host=amix ;;
esac
;;
hp)
@@ -54,12 +55,15 @@ m68k)
esac
;;
+i860) my_host=stratus
+ ;;
+
i386)
case "${host_vendor}" in
*)
case "${host_os}" in
+ sysv4*) my_host=i386v4 ;;
sysv*) my_host=i386v ;;
- svr4*) my_host=i386v4 ;;
mach*) my_host=i386mach ;;
msdos*) my_host=dose ;;
esac
@@ -96,16 +100,16 @@ esac
files="hosts/h-${my_host}.h"
links="sysdep.h"
-if [ ! -f ${files} ] ; then
+if [ ! -f ${srcdir}/${files} ] ; then
if [ -n "${my_host}" ] ; then
- echo '***' No file ${files}
+ echo '***' No file ${srcdir}/${files}
fi
echo '***' ${srcname} does not support host ${host}
exit 1
fi
host_makefile_frag=
-if [ -f config/mh-${my_host} ] ; then
+if [ -f ${srcdir}/config/mh-${my_host} ] ; then
host_makefile_frag=config/mh-${my_host}
fi
@@ -115,7 +119,18 @@ case "${target_vendor}" in
aout | coff | bout | elf) bfd_target=${target_cpu}-${target_vendor} ;;
sony) bfd_target=news ;;
intel) bfd_target=${target_cpu}-coff ;;
-cbm | ncr) bfd_target=${target_cpu}-elf ;;
+stratus | cbm | ncr) bfd_target=${target_cpu}-elf ;;
+
+unknown)
+ case "${target_os}" in
+ bsd) bfd_target=${target_cpu}-aout ;;
+ sysv4*) bfd_target=${target_cpu}-elf ;;
+ sysv*) bfd_target=${target_cpu}-coff ;;
+ none) case "${target_cpu}" in
+ tahoe | vax) bfd_target=${target_cpu} ;;
+ esac
+ esac
+ ;;
ibm) my_host=rs6000
case "${target_cpu}" in
@@ -202,9 +217,9 @@ motorola)
;;
esac
-if [ ! -f config/mt-${bfd_target} ] ; then
+if [ ! -f ${srcdir}/config/mt-${bfd_target} ] ; then
if [ -n "${bfd_target}" ] ; then
- echo '***' No file config/mt-${bfd_target}
+ echo '***' No file ${srcdir}/config/mt-${bfd_target}
fi
echo '***' BFD does not support target ${target}
echo '***' Look in bfd/configure.in for supported targets