Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-2-0]: src/sys/compat/pecoff Pull up revision 1.7 (requested by ke...



details:   https://anonhg.NetBSD.org/src/rev/c39fd5c62540
branches:  netbsd-2-0
changeset: 562110:c39fd5c62540
user:      tron <tron%NetBSD.org@localhost>
date:      Mon Jul 19 09:01:54 2004 +0000

description:
Pull up revision 1.7 (requested by kent in ticket #675):
pass the whole of pecoff_opthdr, not only pecoff_imghdr.

diffstat:

 sys/compat/pecoff/pecoff_exec.h |  14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r f0d11aed882d -r c39fd5c62540 sys/compat/pecoff/pecoff_exec.h
--- a/sys/compat/pecoff/pecoff_exec.h   Sat Jul 17 16:56:07 2004 +0000
+++ b/sys/compat/pecoff/pecoff_exec.h   Mon Jul 19 09:01:54 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pecoff_exec.h,v 1.6 2003/06/29 22:29:43 fvdl Exp $     */
+/*     $NetBSD: pecoff_exec.h,v 1.6.4.1 2004/07/19 09:01:54 tron Exp $ */
 
 /*
  * Copyright (c) 2000 Masaru OKI
@@ -92,8 +92,9 @@
 
 #define PECOFF_HDR_SIZE (COFF_HDR_SIZE + sizeof(struct pecoff_opthdr))
 
+#define NETBSDPE_ABI_VERSION   0x00000002
 
-struct pecoff_args {
+struct pecoff_args1 {          /* obsoleted */
        u_long a_base;
        u_long a_entry;
        u_long a_end;
@@ -102,6 +103,15 @@
        u_long a_ldbase;
        u_long a_ldexport;
 };
+struct pecoff_args {
+       u_long a_abiversion;
+       u_long a_zero;          /* always 0 */
+       u_long a_entry;
+       u_long a_end;
+       u_long a_ldbase;
+       u_long a_ldexport;
+       struct pecoff_opthdr a_opthdr;
+};
 
 extern const struct emul emul_pecoff;
 



Home | Main Index | Thread Index | Old Index