+Tue Sep 3 13:46:19 1991 Steve Chamberlain (steve at cygint.cygnus.com)
+
+ * config/* aoutx.h configure* shortened all the h/tmake-xxxx to h/t-xxxx
+ files so that everything will work on System V.
+
Fri Aug 23 13:51:06 1991 John Gilmore (gnu at cygint.cygnus.com)
+ * aoutx.h: Add information on host-aout.c and how to configure
+ to use it, to the manual.
* configure.in: Tix typo.
* ecoff.c: If compiling for DEC3100, use trad_unix core files,
else dummy out the core file support.
sunos_big_vec
@end example
+The file host-aout.c is a special case. It is for a large set of hosts
+that use ``more or less standard'' a.out files, and for which cross-debugging
+is not interesting. It uses the standard 32-bit a.out support routines,
+but determines the file offsets and addresses of the text, data,
+and BSS sections, the machine architecture and machine type,
+and the entry point address, in a host-dependent manner. Once these
+values have been determined, generic code is used to handle the
+object file.
+
+When porting it to run on a new system, you must supply:
+
+ HOST_PAGE_SIZE
+ HOST_SEGMENT_SIZE
+ HOST_MACHINE_ARCH (optional)
+ HOST_MACHINE_MACHINE (optional)
+ HOST_TEXT_START_ADDR
+ HOST_STACK_END_ADDR
+
+in the file ../include/sys/h-XXX.h (for your host). These values, plus
+the structures and macros defined in <a.out.h> on your host system, will
+produce a BFD target that will access ordinary a.out files on your host.
+
+To configure a new machine to use host-aout.c, specify:
+
+TDEFINES = -DDEFAULT_VECTOR=host_aout_big_vec
+TDEPFILES= host-aout.o trad-core.o
+
+in the config/t-XXX file, and modify configure.in to use the
+t-XXX file (by setting "bfd_target=XXX") when your configuration is
+selected.
+
*/
#define KEEPIT flags
host_vendor=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
host_os=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
host=${host_cpu}-${host_vendor}-${host_os}
- host_makefile_frag=config/hmake-${host}
+ host_makefile_frag=config/h-${host}
#### configure.in per-host parts come in here.
esac
fi
-if [ ! -f config/hmake-${bfd_host} ] ; then
- echo '***' BFD does not support host ${host}: no file config/hmake-${bfd_host}
+if [ ! -f config/h-${bfd_host} ] ; then
+ echo '***' BFD does not support host ${host}: no file config/h-${bfd_host}
exit 1
fi
-host_makefile_frag=config/hmake-${bfd_host}
+host_makefile_frag=config/h-${bfd_host}
## end of per-host part.
target_vendor=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
target_os=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
target=${target_cpu}-${target_vendor}-${target_os}
- target_makefile_frag=config/tmake-${target}
+ target_makefile_frag=config/t-${target}
#### configure.in per-target parts come in here.
;;
esac
-if [ ! -f config/tmake-${bfd_target} ] ; then
- echo '***' BFD does not support target ${target}: no file config/tmake-${bfd_target}
+if [ ! -f config/t-${bfd_target} ] ; then
+ echo '***' BFD does not support target ${target}: no file config/t-${bfd_target}
exit 1
fi
-target_makefile_fragment=config/tmake-${bfd_target}
+target_makefile_frag=config/t-${bfd_target}
files=
links=
#
# $Log$
-# Revision 1.23 1991/08/23 04:48:43 rich
+# Revision 1.25 1991/09/03 20:48:23 steve
+# *** empty log message ***
+#
+# Revision 1.24 1991/08/23 20:55:21 gnu
+# * configure.in: Tix typo.
+# * ecoff.c: If compiling for DEC3100, use trad_unix core files,
+# else dummy out the core file support.
+# * trad-core.c (trad_unix_core_file_p): If HOST_DATA_START_ADDR is
+# specified, use it to locate the data section.
+# * coffcode.h (coff_write_symbols): Declare buffer as bfd_bytes
+# rather than as chars (lint).
+#
+# Revision 1.23 1991/08/23 04:48:43 rich
# Minor config polish.
#
# Revision 1.22 1991/08/23 03:31:43 rich
esac
fi
-if [ ! -f config/hmake-${bfd_host} ] ; then
- echo '***' BFD does not support host ${host}: no file config/hmake-${bfd_host}
+if [ ! -f config/h-${bfd_host} ] ; then
+ echo '***' BFD does not support host ${host}: no file config/h-${bfd_host}
exit 1
fi
-host_makefile_frag=config/hmake-${bfd_host}
+host_makefile_frag=config/h-${bfd_host}
# per-target:
;;
esac
-if [ ! -f config/tmake-${bfd_target} ] ; then
- echo '***' BFD does not support target ${target}: no file config/tmake-${bfd_target}
+if [ ! -f config/t-${bfd_target} ] ; then
+ echo '***' BFD does not support target ${target}: no file config/t-${bfd_target}
exit 1
fi
-target_makefile_fragment=config/tmake-${bfd_target}
+target_makefile_frag=config/t-${bfd_target}
files=
links=