From owner-freebsd-emulation Thu May 27 6:34:41 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id 1655A14E86 for ; Thu, 27 May 1999 06:34:38 -0700 (PDT) (envelope-from marcel@scc.nl) Received: from scones.sup.scc.nl (p604.asi.euronet.nl [194.134.124.132]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id PAA11935 from for ; Thu, 27 May 1999 15:34:37 +0200 (MET DST) Received: from scc.nl (scones.sup.scc.nl [192.168.2.4]) by scones.sup.scc.nl (8.9.3/8.9.1) with ESMTP id PAA00707; Thu, 27 May 1999 15:34:05 +0200 (CEST) (envelope-from marcel@scc.nl) Message-ID: <374D49CC.BF385B46@scc.nl> Date: Thu, 27 May 1999 15:34:04 +0200 From: Marcel Moolenaar Organization: SCC vof X-Mailer: Mozilla 4.6 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: uday kiran Cc: emulation@freebsd.org Subject: Re: [uday@aravalli.novalink.stpn.soft.net: linux-emulator] References: <19990526114240.A8555@cs.tu-berlin.de> <374C6895.7F73B916@scc.nl> <374CE4A1.125D1E3@encanto.stpn.soft.net> <374D2A02.1CE5364E@scc.nl> <374D2F36.DB791A82@encanto.stpn.soft.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org uday kiran wrote: > > following patch does: > > > Index: sys/kern/imgact_elf.c > > =================================================================== > > RCS file: /home/ncvs/src/sys/kern/imgact_elf.c,v > > retrieving revision 1.12.2.2 > > diff -r1.12.2.2 imgact_elf.c > > 255c255 > > < if (hdr->e_type != type) > > --- > > > if (hdr->e_type != type && hdr->e_type != ET_DYN) ^^^^^^ Correction: ET_DYN must be ET_REL. And as an extra consequence, the patch is not entirely correct then, but that is left as an execise for the reader :-) -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ Amsterdam, The Netherlands tel: +31 20 4200655 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message