Date: Wed, 16 Oct 1996 10:36:13 +0200 (MET DST) From: sos@FreeBSD.org To: jdp@polstra.com (John Polstra) Cc: sos@FreeBSD.org, hackers@FreeBSD.org Subject: Re: Linux compat issue(s) Message-ID: <199610160836.KAA20912@ra.dkuug.dk> In-Reply-To: <199610160011.RAA08338@austin.polstra.com> from "John Polstra" at Oct 15, 96 05:11:26 pm
next in thread | previous in thread | raw e-mail | index | archive | help
In reply to John Polstra who wrote: > > > I propose that we use some unused space in the ELF header. The ELF > > header starts with a 16byte char field, where only the first 8 are > > used in all the ELF/i386 incarnations I've seen, so we can put a > > 8 char text here for the platform (that can easily be seen with > > the file(1) cmd too). Simple, easy, nice hack, works.... > > This is the kind of hack that I've argued against all along. But I > suppose it may be the only choice, if we want to be able to brand an > existing file. We can't use my Note section idea, because adding a > header to the program header part of the file shifts everything else > down in the file, changes the addresses of things in the program, and > so forth. It would be easy to add it in the link phase, but we are not > reasonably going to be able to control the link phase. > > It _is_ starting to sound like I agree with you, isn't it? :-) Yep, I told you so :) Well, I'll see if I can get a couble of hours and implement this in the kernel & the emulator. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Soren Schmidt (sos@FreeBSD.org) FreeBSD Core Team So much code to hack -- so little time.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610160836.KAA20912>