From owner-p4-projects Sat Oct 12 19:29: 0 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 1087137B404; Sat, 12 Oct 2002 19:28:59 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id B49BF37B401; Sat, 12 Oct 2002 19:28:58 -0700 (PDT) Date: Sat, 12 Oct 2002 19:28:58 -0700 From: Juli Mallett To: "M. Warner Losh" Cc: jake@locore.ca, perforce@freebsd.org Subject: Re: PERFORCE change 19167 for review Message-ID: <20021012192858.A40288@FreeBSD.org> References: <200210122211.g9CMBh5K040057@repoman.freebsd.org> <20021012200435.D17643@locore.ca> <20021012.202508.121567815.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021012.202508.121567815.imp@bsdimp.com>; from imp@bsdimp.com on Sat, Oct 12, 2002 at 08:25:08PM -0600 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes 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 * 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. -- Juli Mallett | FreeBSD: The Power To Serve Will break world for fulltime employment. | finger jmallett@FreeBSD.org http://people.FreeBSD.org/~jmallett/ | Support my FreeBSD hacking! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message