aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts/i386lynx.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/hosts/i386lynx.h')
-rw-r--r--bfd/hosts/i386lynx.h29
1 files changed, 1 insertions, 28 deletions
diff --git a/bfd/hosts/i386lynx.h b/bfd/hosts/i386lynx.h
index 2c93f50..b5be30c 100644
--- a/bfd/hosts/i386lynx.h
+++ b/bfd/hosts/i386lynx.h
@@ -3,35 +3,8 @@
#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 "hosts/lynx.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 */
-
-/* Lynx has calloc, but no cfree, and gprof uses it. */
-
-#define cfree free
#endif /* hosts_i386lynx_h */