summaryrefslogtreecommitdiff
path: root/exec
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1996-12-05 22:18:21 +0000
committerThomas Bushnell <thomas@gnu.org>1996-12-05 22:18:21 +0000
commitec025e6bd596ab51cd0e3e4c5f9f949be84b275f (patch)
treed69a7bd739f79c8e770997fceb50af2bf59d7c8e /exec
parent8e6ecac997e71b99ca79f2097f325018394d5470 (diff)
Sat Nov 23 16:26:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* priv.h (mach_host_elf_machine): New prototype. * hostarch.c: Include "priv.h".
Diffstat (limited to 'exec')
-rw-r--r--exec/ChangeLog5
-rw-r--r--exec/hostarch.c2
-rw-r--r--exec/priv.h2
3 files changed, 8 insertions, 1 deletions
diff --git a/exec/ChangeLog b/exec/ChangeLog
index c8abbad4..51decc65 100644
--- a/exec/ChangeLog
+++ b/exec/ChangeLog
@@ -1,3 +1,8 @@
+Sat Nov 23 16:26:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * priv.h (mach_host_elf_machine): New prototype.
+ * hostarch.c: Include "priv.h".
+
Mon Nov 18 17:45:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* exec.c (load_section): If ANYWHERE, then make sure ADDR starts
diff --git a/exec/hostarch.c b/exec/hostarch.c
index d8466969..2bb9d11f 100644
--- a/exec/hostarch.c
+++ b/exec/hostarch.c
@@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License
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 "priv.h"
#include <mach.h>
#include <hurd/hurd_types.h>
#include <errno.h>
diff --git a/exec/priv.h b/exec/priv.h
index 115c858a..a89858ce 100644
--- a/exec/priv.h
+++ b/exec/priv.h
@@ -125,6 +125,8 @@ struct execdata
} info;
};
+error_t mach_host_elf_machine (host_t, Elf32_Half *);
+
void finish (struct execdata *, int dealloc_file_port);
void check_hashbang (struct execdata *e,