From owner-freebsd-hackers Tue Nov 12 10:34:02 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA12166 for hackers-outgoing; Tue, 12 Nov 1996 10:34:02 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id KAA12146 for ; Tue, 12 Nov 1996 10:33:39 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id LAA20599; Tue, 12 Nov 1996 11:22:44 -0700 From: Terry Lambert Message-Id: <199611121822.LAA20599@phaeton.artisoft.com> Subject: Re: Linux compat issue(s) To: peter@taronga.com (Peter da Silva) Date: Tue, 12 Nov 1996 11:22:44 -0700 (MST) Cc: hackers@freebsd.org In-Reply-To: <199611101841.MAA22803@bonkers.taronga.com> from "Peter da Silva" at Nov 10, 96 12:41:53 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I am not familiar with ELF in particular, but other modern binary file > formats (IFF, MFF, PNG, even GIF) support a mechanism for adding entries > to the file without having to understand the file's content completely. > > What's wrong with using a NOTE field. Sure, the binary's size will change > but all the offsets should automagically drop in... How do you tell the difference between Linux binaries (which do not use the note field you suggest) and SVR4 binaries (which do not use the note field you suggest) on a FreeBSD box (which will create binaries with the note field, so all you can tell about the other binaries is that they are "ELF, not FreeBSD")? Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.