Xref: utzoo unix-pc.general:7015 comp.sys.att:11335 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!jarthur!nntp-server.caltech.edu!news From: andy@cs.caltech.edu (Andy Fyfe) Newsgroups: unix-pc.general,comp.sys.att Subject: Re: Can you explain this shared lib anomaly? (3B1) Message-ID: <1990Dec31.161227.4945@nntp-server.caltech.edu> Date: 31 Dec 90 16:12:27 GMT References: <37414@cup.portal.com> <1990Dec31.132708.5522@ims.alaska.edu> Sender: news@nntp-server.caltech.edu Reply-To: andy@cs.caltech.edu Organization: California Institute of Technology Lines: 30 Nntp-Posting-Host: juno.caltech.edu In article <1990Dec31.132708.5522@ims.alaska.edu> floyd@ims.alaska.edu (Floyd Davidson) writes: >The "-F (0413 demand page)" is from /etc/magic: > >>>36 long >0x80000 -F (0413 demand paged) The long at offset 36 is the entry field in the (optional, but ever present) a.out header (see aouthdr.h). Moving the startup file crt0 around is bound to affect this number; it's not clear what it might mean under more "controlled" circumstances. In any event, this has been deleted from the updated /etc/magic file in fix disk 2. My entry now looks like this (and it's been augmented to provide cpu and floating point types (the ">18" lines)): 0 short &0177770 0520 mc68k executable >18 short &0x1800 0x0000 [68010] >18 short &0x1800 0x0800 [68020] >18 short &0xe000 0x0000 [float-none] >18 short &0xe000 0x2000 [float-soft] >18 short &0xe000 0x4000 [68881] >18 short &0xe000 0x8000 [sky] >12 long >0 not stripped >2 short 4 {shared library} >0 short 0520 (impure) >0 short 0521 (shared) >0 short 0522 (shared demand paged) There's also a comment at the front that says: # 4/89 - JCM - Changed to correct identification of 68010 types Andy Fyfe andy@cs.caltech.edu