From owner-p4-projects Sun Oct 13 21:31:37 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6263B37B404; Sun, 13 Oct 2002 21:31:35 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2672037B401; Sun, 13 Oct 2002 21:31:35 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6340543EAC; Sun, 13 Oct 2002 21:31:34 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g9E4VXpk021751; Sun, 13 Oct 2002 22:31:33 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 13 Oct 2002 22:31:08 -0600 (MDT) Message-Id: <20021013.223108.30260344.imp@bsdimp.com> To: jmallett@FreeBSD.ORG Cc: jake@locore.ca, perforce@FreeBSD.ORG Subject: Re: PERFORCE change 19167 for review From: "M. Warner Losh" In-Reply-To: <20021012192858.A40288@FreeBSD.org> References: <20021012200435.D17643@locore.ca> <20021012.202508.121567815.imp@bsdimp.com> <20021012192858.A40288@FreeBSD.org> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20021012192858.A40288@FreeBSD.org> Juli Mallett writes: : * De: "M. Warner Losh" [ Data: 2002-10-12 ] : [ Subjecte: Re: PERFORCE change 19167 for review ] : > In message: <20021012200435.D17643@locore.ca> : > Jake Burkholder writes: : > : Its often easier to just write a program that converts a binary from : > : elf to . We do this for sparc64 where the prom : > : wants an a.out binary (elf2aout), and I'm pretty sure for alpha which : > : might actually use COFF (elf2exe). : > : > Actually, objcopy does that fairly well in most cases. And we (or : > NetBSD) already has an elf2coff and an elf2aout. I think that NetBSD : > is migrating to the former, but I can't be 100% sure. I gotta get my : > NetBSD arc box up and running since it requires ECOFF of a weird : > flavor to boot... : : Much like some older flavors of SGI :/ : : I think you mean XCOFF? That's what some early OFW Macs use, and I seem : to recall having a discussion with Benno about an elf2xcoff. I was : never able to find adequate docs of the differences between {e,}coff : and xcoff to give it a go :/ : : And yeah, objcopy should be enough, I'd forgotten about that. No, I'm sure I mean ECOFF. There's about 3 different minor variants as to magic number and such. The magic numbers for the ECOFF are listed in the ECOFF O'Reilly book I have... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message