From 409adee2a6f70eab316757db78e7d6be2d415e59 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Thu, 29 Aug 1996 17:44:42 +0000 Subject: *** empty log message *** --- exec/priv.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'exec/priv.h') diff --git a/exec/priv.h b/exec/priv.h index 0ded21eb..115c858a 100644 --- a/exec/priv.h +++ b/exec/priv.h @@ -1,5 +1,5 @@ /* GNU Hurd standard exec server, private declarations. - Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc. + Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. Written by Roland McGrath. This file is part of the GNU Hurd. @@ -26,7 +26,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include #include + +#ifdef BFD #include +#endif + #include #include #include "exec_S.h" @@ -35,11 +39,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef exec_priv_h #define exec_priv_h +#ifdef BFD /* A BFD whose architecture and machine type are those of the host system. */ extern bfd_arch_info_type host_bfd_arch_info; extern bfd host_bfd; -extern Elf32_Half elf_machine; /* ELF e_machine for the host. */ +#endif +extern Elf32_Half elf_machine; /* ELF e_machine for the host. */ /* Information kept around to be given to a new task in response to a message on the task's bootstrap port. */ @@ -67,6 +73,9 @@ typedef struct trivfs_protid *trivfs_protid_t; /* For MiG. */ extern mach_port_t procserver; /* Our proc port. */ +#ifndef BFD +typedef void asection; +#endif /* Data shared between check, check_section, load, load_section, and finish. */ -- cgit v1.2.3