2b91cc453b
* bfd-in2.h (tdata): Add lynx_core_data; * config.bfd configure.host: Get rid of superfluous netbsd and lynxos entries. * configure.in: Add lynx-core.o to Lynx config. * i386lynx.c: Add defs for core file support. * lynx-core.c: New file with Lynx core file support. * hosts/i386lynx.h: Move lots of host specific includes to here. Add def of HOST_LYNX. Remove unnecessary defs.
32 lines
645 B
C
32 lines
645 B
C
/* Intel 386 running Lynx OS */
|
|
|
|
#ifndef hosts_i386lynx_h
|
|
#define hosts_i386lynx_h
|
|
|
|
#include <fcntl.h>
|
|
#include <errno.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <ctype.h>
|
|
#include <string.h>
|
|
|
|
#include <sys/conf.h>
|
|
#include <sys/kernel.h>
|
|
#include <sys/mem.h>
|
|
#include <sys/signal.h>
|
|
#include <sys/time.h>
|
|
#include <sys/resource.h>
|
|
#include <sys/itimer.h>
|
|
#include <sys/file.h>
|
|
#include <sys/proc.h>
|
|
|
|
#define HOST_PAGE_SIZE NBPG
|
|
#define HOST_MACHINE_ARCH bfd_arch_i386
|
|
#define HOST_TEXT_START_ADDR USRTEXT
|
|
|
|
#define HOST_LYNX
|
|
|
|
#include "fopen-same.h"
|
|
#undef I386 /* Lynx defines this for some reason */
|
|
|
|
#endif /* hosts_i386lynx_h */
|