From owner-cvs-all Mon Sep 14 11:27:36 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA20756 for cvs-all-outgoing; Mon, 14 Sep 1998 11:27:36 -0700 (PDT) (envelope-from owner-cvs-all) Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA20731 for ; Mon, 14 Sep 1998 11:27:29 -0700 (PDT) (envelope-from jhay@zibbi.mikom.csir.co.za) Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.9.1/8.9.1) id UAA09679; Mon, 14 Sep 1998 20:26:56 +0200 (SAT) From: John Hay Message-Id: <199809141826.UAA09679@zibbi.mikom.csir.co.za> Subject: Re: cvs commit: src/usr.sbin/crunch/crunchide exec_aout.c exec_elf32.c exec_elf64.c extern.h Makefile crunchide.c In-Reply-To: <199809141542.IAA12122@austin.polstra.com> from John Polstra at "Sep 14, 98 08:42:03 am" To: jdp@polstra.com (John Polstra) Date: Mon, 14 Sep 1998 20:26:56 +0200 (SAT) Cc: committers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Modified files: > > usr.sbin/crunch/crunchide Makefile crunchide.c > > Added files: > > usr.sbin/crunch/crunchide exec_aout.c exec_elf32.c > > exec_elf64.c extern.h > > Log: > > Teach crunch about an elf/a.out world. > > Submitted by: jhay > > Oh, drat! This is fine, but it's sure a lot of wasted work. I > pointed out in -current a week or two ago that, for ELF, crunchide > could be thrown out entirely and replaced by a suitable invocation of > /usr/libexec/elf/objcopy. If I had known you guys were working on it, > I would have told you directly. Well I did see your message, but then nothing happened for a while and I had a peek at NetBSD and they had it all worked out, with auto detection of binary format included. :-) Our elf include files are actually quite similar, it is just here and there that they use capitals and we don't and so forth. John -- John Hay -- John.Hay@mikom.csir.co.za