[Unix-jun72] 0407 binaries on 1ed
wkt at tuhs.org
Sun May 4 18:33:53 EDT 2008
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
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.
More information about the Unix-jun72