4 ?magics in the 68000
Brandon Allbery
allbery at ncoast.UUCP
Fri Dec 6 11:01:46 AEST 1985
Expires:
Quoted from <3044 at sun.uucp> ["Re: magic numbers? (teach me, please)"], by guy at sun.uucp (Guy Harris)...
+---------------
| ..................................................... (does anybody know why
| there seem to be four(!) different magic numbers for 68000-family
| executables?).
+---------------
Portability, I guess. The magic numbers are the original PDP-11 ones.
AMAGIC The standard magic number
NMAGIC Shared text
IMAGIC Separate I&D
OMAGIC Overlay
While all 4 are described as possible b.out structures in Xenix {2.3a,3.0} and
Plexus sys3, other files say that only AMAGIC and NMAGIC are supported in the
kernel. (b.out is what Xenix calls the standard 68000 object file, as opposed
to a.out (PDP-11, Z8000) or x.out (Xenix common format). Plexus calls it bhdr.)
--
Lord Charteris (thurb)
ncoast!allbery at Case.CSNet (ncoast!allbery%Case.CSNet at CSNet-Relay.ARPA)
..decvax!cwruecmp!ncoast!allbery (..ncoast!tdi2!root for business)
6615 Center St., Mentor, OH 44060 (I moved) --Phone: +01 216 974 9210
CIS 74106,1032 -- MCI MAIL BALLBERY (WARNING: I am only a part-time denizen...)
More information about the Comp.unix.wizards
mailing list