From mboxrd@z Thu Jan 1 00:00:00 1970 From: wkt@tuhs.org (Warren Toomey) Date: Mon, 5 May 2008 08:33:53 +1000 Subject: [Unix-jun72] 0407 binaries on 1ed In-Reply-To: References: Message-ID: <20080504223353.GA63333@minnie.tuhs.org> On Sun, May 04, 2008 at 10:18:08AM -1000, Tim Newsham wrote: > I added a patch "aout407.patch" for running a.out binaries in the 1ed > kernel. It could be a little cleaner; if anyone can review it and fix > it up I would appreciate it. I was able to run "as" and "size", > both of which are 0407 binaries. Excellent stuff Tim. I've had a quick look; I suspect the existing code: cmp r5,u.count / bgt 1f / branch if r5 greater than u.count mov r5,u.count checks to ensure that the new a.out is small emough to fit into the address space left by the executable that called exec(2). > This patch isn't applied automatically, but I also changed the > "tools/rebuild" script to take a list of optional patches to apply. That's also a good idea. Thanks Tim. Warren