Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site ecrcvax.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!vax135!cornell!bullwinkle!rochester!seismo!mcvax!unido!ecrcvax!dave From: dave@ecrcvax.UUCP (David Morton) Newsgroups: net.unix-wizards Subject: Re: magic numbers? (teach me, please) Message-ID: <181@ecrcvax.UUCP> Date: Sun, 22-Dec-85 09:38:45 EST Article-I.D.: ecrcvax.181 Posted: Sun Dec 22 09:38:45 1985 Date-Received: Wed, 25-Dec-85 03:11:13 EST Organization: ECRC, D-8000 Muenchen 81, W. Germany Lines: 38 Summary: Expires: References: <124@rexago1.UUCP> <416@ihdev.UUCP> <3044@sun.uucp> <9107@ritcv.UUCP> Sender: Reply-To: dave@ecrcvax.UUCP (David Morton) Followup-To: Distribution: net Organization: European Computer-Industry Research Centre, Munchen, W. Germany Keywords: In article guy@sun.uucp (Guy Harris) writes: >Well, I looked on an S5 machine we have here, and there are now seven(1) >different magic numbers in its "filehdr.h" - eight, if you count the fact >that it claims that the UNIX PC 7300 uses the same magic number as iAPX286 >large-model code(!!!). I don't know what the "four distinct forms of >executables for the M68000 family" are, but I suspect there's no correlation >between those forms and the various magic numbers. There are probably x (x > 8) different magic numbers on unix machines in the meantime. What's to stop a manufacturer making the kernel recognise yet another one (perhaps because he's developed his own mmu for some purpose or other), then hacking the assembler, loader & the includes. I know of one company here in Germany that did this. So much for binary compatibility. > >Why an "M68" is different from an "MC68K" is beyond my simple mind; maybe >somebody from the group that did this can explain it to us mere mortals. Yes please ! This was really confusing. Apart form that, the Motorola 5.0 SGS was nice to work with. -- Dave Morton Tel. + (49) 89 - 92699 - 139 CSNET: dave%ecrcvax.uucp@germany.csnet UUCP: seismo!mcvax!unido!ecrcvax!dave