Can you explain this shared lib anomaly? (3B1)
Andy Fyfe
andy at cs.caltech.edu
Tue Jan 1 03:12:27 AEST 1991
In article <1990Dec31.132708.5522 at ims.alaska.edu> floyd at 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 at cs.caltech.edu
More information about the Comp.sys.att
mailing list