Port-powerpc archive

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

please review fix for Darwin emulation



Hi -
would someone please confirm that the appended patch
is correct?
It has been lingering in my tree for quite a while,
but I can't test it.
In my understanding, it doesn't make sense to map
a NetBSD signal trampoline into a Darwin process.

best regards
Matthias


--- darwin_exec.c.~1.34.~       Mon Jan  5 16:01:26 2004
+++ darwin_exec.c       Fri Mar 26 18:26:29 2004
@@ -89,11 +89,6 @@ void syscall(void);
 void mach_syscall_intern(struct proc *);
 #endif
 
-#if !defined(__HAVE_SIGINFO) || defined(COMPAT_16)
-extern char sigcode[], esigcode[];
-struct uvm_object *emul_darwin_object;
-#endif
-
 const struct emul emul_darwin = {
        "darwin",
        "/emul/darwin",
@@ -112,15 +107,9 @@ const struct emul emul_darwin = {
        darwin_sendsig,
        darwin_trapsignal,
        darwin_tracesig,
-#if !defined(__HAVE_SIGINFO) || defined(COMPAT_16)
-       sigcode,
-       esigcode,
-       &emul_darwin_object,
-#else
        NULL,
        NULL,
        NULL,
-#endif
        setregs,
        darwin_e_proc_exec,
        darwin_e_proc_fork,


Home | Main Index | Thread Index | Old Index