From 343c1a964109a703b6f53d081d61fde6d91eddb5 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Wed, 17 Nov 1993 01:11:30 +0000 Subject: * lynx-core.c (lynx_core_file_p): Change bfd_zalloc to bfd_alloc. * m68klynx.c: Define core file macros. * hosts/i386lynx.h, hosts/m68klynx.h, hosts/lynx.h: Move all non-architecture specific stuff into lynx.h. --- bfd/hosts/lynx.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 bfd/hosts/lynx.h (limited to 'bfd/hosts/lynx.h') diff --git a/bfd/hosts/lynx.h b/bfd/hosts/lynx.h new file mode 100644 index 0000000..737c9bd --- /dev/null +++ b/bfd/hosts/lynx.h @@ -0,0 +1,36 @@ +/* Architecture independant LynxOS host support for 2.2 */ + +#ifndef hosts_lynx_h +#define hosts_lynx_h + +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#define HOST_PAGE_SIZE NBPG +#define HOST_TEXT_START_ADDR USRTEXT + +#define HOST_LYNX + +#include "fopen-same.h" + +#undef I386 /* Lynx defines this for some reason */ + +/* Lynx has calloc, but no cfree, and gprof uses it. */ + +#define cfree free + +#endif /* hosts_lynx_h */ -- cgit v1.1