[Unix-jun72] Early a.out headers

Warren Toomey wkt at tuhs.org
Thu May 1 18:28:23 EDT 2008


On Fri, May 02, 2008 at 08:23:55AM +1000, Warren Toomey wrote:
> I haven't read the the OCR'd kernel source fully yet; in the section for
> exec(), there must be code to parse an a.out header. Does it only know
> about 0405, or 0407, or both?

I'll answer myself. sysexec() in u2.s has this:

        cmp     core,$405 / br .+14 is first instrution if file is
                          / standard a.out format
        bne     1f / branch, if not standard format

So the kernel is definitely 1st Edition, then.

	Warren



More information about the Unix-jun72 mailing list