From owner-freebsd-hackers Sun Nov 10 10:41:11 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA23879 for hackers-outgoing; Sun, 10 Nov 1996 10:41:11 -0800 (PST) Received: from ami.tom.computerworks.net (root@AMI.RES.CMU.EDU [128.2.95.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id KAA23873 for ; Sun, 10 Nov 1996 10:41:09 -0800 (PST) Received: from bonkers.taronga.com by ami.tom.computerworks.net with smtp (Smail3.1.29.1 #3) id m0vMenf-0021WYC; Sun, 10 Nov 96 13:40 EST Received: (from peter@localhost) by bonkers.taronga.com (8.6.11/8.6.9) id MAA22803; Sun, 10 Nov 1996 12:41:53 -0600 Date: Sun, 10 Nov 1996 12:41:53 -0600 From: peter@taronga.com (Peter da Silva) Message-Id: <199611101841.MAA22803@bonkers.taronga.com> To: hackers@freebsd.org Subject: Re: Linux compat issue(s) Newsgroups: taronga.freebsd.hackers In-Reply-To: <199610151816.UAA01759@SandBox.CyberCity.dk> References: <199610151643.JAA03974@austin.polstra.com> Organization: none Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article <199610151816.UAA01759@SandBox.CyberCity.dk>, Soren Schmidt wrote: >to do SVR4 emulation we will NEED a way to tell them apart. So having >a nice little util that marks the ELF header in ways for us to know >is the ONLY solution to this problem, like it or not.=20 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...