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/m68klynx.h | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'bfd/hosts/m68klynx.h') diff --git a/bfd/hosts/m68klynx.h b/bfd/hosts/m68klynx.h index 394289a..2d370da 100644 --- a/bfd/hosts/m68klynx.h +++ b/bfd/hosts/m68klynx.h @@ -3,33 +3,8 @@ #ifndef hosts_m68klynx_H #define hosts_m68klynx_H -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include "hosts/lynx.h" -#ifndef O_ACCMODE -#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) -#endif - -#define SEEK_SET 0 -#define SEEK_CUR 1 - -#define HOST_PAGE_SIZE NBPG #define HOST_MACHINE_ARCH bfd_arch_m68k -#define HOST_TEXT_START_ADDR USRTEXT - -#define u_comm u_kproc.kp_proc.p_comm - -#include "fopen-same.h" - -/* Lynx has calloc, but no cfree, and gprof uses it. */ - -#define cfree free #endif /* hosts_m68klynx_H */ -- cgit v1.1