Minor changes, plus definitions for Sparc Lynx host.
This commit is contained in:
parent
c9368a3bc3
commit
20f951757e
@ -1,4 +1,4 @@
|
||||
/* Intel 386 running Lynx OS */
|
||||
/* Intel 386 running LynxOS */
|
||||
|
||||
#ifndef hosts_i386lynx_h
|
||||
#define hosts_i386lynx_h
|
||||
@ -27,10 +27,11 @@
|
||||
#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 */
|
||||
#endif /* hosts_i386lynx_h */
|
||||
|
@ -1,6 +1,8 @@
|
||||
/* Motorola 680x0 running any BSD Unix */
|
||||
/* Motorola 680x0 running LynxOS */
|
||||
|
||||
#ifndef hosts_m68klynx_H
|
||||
#define hosts_m68klynx_H
|
||||
|
||||
#ifndef hosts_m68kbsd_H
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
@ -25,5 +27,9 @@
|
||||
#define u_comm u_kproc.kp_proc.p_comm
|
||||
|
||||
#include "fopen-same.h"
|
||||
#define hosts_m68kbsd_H
|
||||
#endif
|
||||
|
||||
/* Lynx has calloc, but no cfree, and gprof uses it. */
|
||||
|
||||
#define cfree free
|
||||
|
||||
#endif /* hosts_m68klynx_H */
|
||||
|
35
bfd/hosts/sparclynx.h
Normal file
35
bfd/hosts/sparclynx.h
Normal file
@ -0,0 +1,35 @@
|
||||
/* Sparc running LynxOS */
|
||||
|
||||
#ifndef hosts_sparclynx_h
|
||||
#define hosts_sparclynx_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_sparc
|
||||
#define HOST_TEXT_START_ADDR USRTEXT
|
||||
|
||||
#define HOST_LYNX
|
||||
|
||||
#include "fopen-same.h"
|
||||
|
||||
/* Lynx has calloc, but no cfree, and gprof uses it. */
|
||||
|
||||
#define cfree free
|
||||
|
||||
#endif /* hosts_sparclynx_h */
|
Loading…
Reference in New Issue
Block a user