diff options
author | Michael I. Bushnell <mib@gnu.org> | 1993-10-21 22:07:40 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1993-10-21 22:07:40 +0000 |
commit | 7cc26c9d7ad5ed47451c17e1797103dd3993d229 (patch) | |
tree | 569fe702590c951209de14daf3dda214d8574f47 | |
parent | 806286a9da85bd7052726b62273e295f90e14197 (diff) |
Formerly hostarch.c.~2~
-rw-r--r-- | exec/hostarch.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/exec/hostarch.c b/exec/hostarch.c index ac9d5aed..4d6f339a 100644 --- a/exec/hostarch.c +++ b/exec/hostarch.c @@ -1,6 +1,6 @@ /* Determine the BFD (or a.out) architecture and machine flavor from a Mach host port. Used by the exec and core servers. - Copyright (C) 1992 Free Software Foundation, Inc. + Copyright (C) 1992, 1993 Free Software Foundation, Inc. Written by Roland McGrath. This file is part of the GNU Hurd. @@ -20,6 +20,7 @@ along with the GNU Hurd; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <mach.h> +#include <hurd/hurd_types.h> #include <errno.h> #ifdef BFD @@ -34,7 +35,7 @@ bfd_mach_host_arch_mach (host_t host, bfd_architecture *arch, bfd_machine *machine) #else -aout_mach_host_machine (host_t, int *host_machine) +aout_mach_host_machine (host_t host, int *host_machine) #endif { error_t err; @@ -115,7 +116,7 @@ aout_mach_host_machine (host_t, int *host_machine) #ifdef BFD *arch = bfd_arch_i386; #else - *host_machine = M_I386; + *host_machine = M_386; #endif break; |