summaryrefslogtreecommitdiffstats
path: root/sys/i386/svr4
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1999-04-03 22:20:03 +0000
committerjdp <jdp@FreeBSD.org>1999-04-03 22:20:03 +0000
commit60ad9560502beabab095c9441389f5ad42ab0d86 (patch)
treec740f0812cd3e34726c1c768f6008d375c5d68a5 /sys/i386/svr4
parentdd18b40e3fd648d6d36b7b384929832ec0177168 (diff)
downloadFreeBSD-src-60ad9560502beabab095c9441389f5ad42ab0d86.zip
FreeBSD-src-60ad9560502beabab095c9441389f5ad42ab0d86.tar.gz
Restore support for executing BSD/OS binaries on the i386 by passing
the address of the ps_strings structure to the process via %ebx. For other kinds of binaries, %ebx is still zeroed as before. Submitted by: Thomas Stephens <tas@stephens.org> Reviewed by: jdp
Diffstat (limited to 'sys/i386/svr4')
-rw-r--r--sys/i386/svr4/svr4_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/svr4/svr4_machdep.c b/sys/i386/svr4/svr4_machdep.c
index 381a9bc..a94f45e 100644
--- a/sys/i386/svr4/svr4_machdep.c
+++ b/sys/i386/svr4/svr4_machdep.c
@@ -95,7 +95,7 @@ svr4_setregs(p, epp, stack)
register struct pcb *pcb = &p->p_addr->u_pcb;
pcb->pcb_savefpu.sv_env.en_cw = __SVR4_NPXCW__;
- setregs(p, epp, stack);
+ setregs(p, epp, stack, 0UL);
}
#endif /* __NetBSD__ */
OpenPOWER on IntegriCloud