From 1c8c89a8b2f8bab078c67d8d56559a891c113919 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 8 Feb 1994 04:58:32 +0000 Subject: [PATCH] New host configuration file. --- bfd/hosts/.Sanitize | 1 + bfd/hosts/hppaosf.h | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 bfd/hosts/hppaosf.h diff --git a/bfd/hosts/.Sanitize b/bfd/hosts/.Sanitize index 28e7f280eb9..997602930c7 100644 --- a/bfd/hosts/.Sanitize +++ b/bfd/hosts/.Sanitize @@ -46,6 +46,7 @@ hp300bsd.h hp300.h hppabsd.h hppahpux.h +hppaosf.h i386aix.h i386bsd.h i386linux.h diff --git a/bfd/hosts/hppaosf.h b/bfd/hosts/hppaosf.h new file mode 100644 index 00000000000..eb524b67cca --- /dev/null +++ b/bfd/hosts/hppaosf.h @@ -0,0 +1,38 @@ +#ifndef _HPPAOSF_H +#define _HPPAOSF_H + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#define HOST_HPPAOSF + +#ifndef O_ACCMODE +#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) +#endif + +#define SEEK_SET 0 +#define SEEK_CUR 1 + +#include + +#define HOST_PAGE_SIZE NBPG +#define HOST_SEGMENT_SIZE NBPG /* Data seg start addr rounds to NBPG */ +#define HOST_MACHINE_ARCH bfd_arch_hppa +/* #define HOST_MACHINE_MACHINE */ + +#define HOST_TEXT_START_ADDR UTEXTSEG +#define HOST_DATA_START_ADDR UDATASEG +#define HOST_STACK_END_ADDR KSTAKSEG + +#include "fopen-same.h" + +#endif /* _HPPAOSF_H */ -- 2.30.2