xref: /freebsd/contrib/file/magic/Magdir/ibm370 (revision b6cee71de37d56e36dbc118e2d9b03e7cece5709)
1*b6cee71dSXin LI
2*b6cee71dSXin LI#------------------------------------------------------------------------------
3*b6cee71dSXin LI# $File: ibm370,v 1.9 2014/04/30 21:41:02 christos Exp $
4*b6cee71dSXin LI# ibm370:  file(1) magic for IBM 370 and compatibles.
5*b6cee71dSXin LI#
6*b6cee71dSXin LI# "ibm370" said that 0x15d == 0535 was "ibm 370 pure executable".
7*b6cee71dSXin LI# What the heck *is* "USS/370"?
8*b6cee71dSXin LI# AIX 4.1's "/etc/magic" has
9*b6cee71dSXin LI#
10*b6cee71dSXin LI#	0	short		0535		370 sysV executable
11*b6cee71dSXin LI#	>12	long		>0		not stripped
12*b6cee71dSXin LI#	>22	short		>0		- version %d
13*b6cee71dSXin LI#	>30	long		>0		- 5.2 format
14*b6cee71dSXin LI#	0	short		0530		370 sysV pure executable
15*b6cee71dSXin LI#	>12	long		>0		not stripped
16*b6cee71dSXin LI#	>22	short		>0		- version %d
17*b6cee71dSXin LI#	>30	long		>0		- 5.2 format
18*b6cee71dSXin LI#
19*b6cee71dSXin LI# instead of the "USS/370" versions of the same magic numbers.
20*b6cee71dSXin LI#
21*b6cee71dSXin LI0	beshort		0537		370 XA sysV executable
22*b6cee71dSXin LI>12	belong		>0		not stripped
23*b6cee71dSXin LI>22	beshort		>0		- version %d
24*b6cee71dSXin LI>30	belong		>0		- 5.2 format
25*b6cee71dSXin LI0	beshort		0532		370 XA sysV pure executable
26*b6cee71dSXin LI>12	belong		>0		not stripped
27*b6cee71dSXin LI>22	beshort		>0		- version %d
28*b6cee71dSXin LI>30	belong		>0		- 5.2 format
29*b6cee71dSXin LI0	beshort		054001		370 sysV pure executable
30*b6cee71dSXin LI>12	belong		>0		not stripped
31*b6cee71dSXin LI0	beshort		055001		370 XA sysV pure executable
32*b6cee71dSXin LI>12	belong		>0		not stripped
33*b6cee71dSXin LI0	beshort		056401		370 sysV executable
34*b6cee71dSXin LI>12	belong		>0		not stripped
35*b6cee71dSXin LI0	beshort		057401		370 XA sysV executable
36*b6cee71dSXin LI>12	belong		>0		not stripped
37*b6cee71dSXin LI0       beshort		0531		SVR2 executable (Amdahl-UTS)
38*b6cee71dSXin LI>12	belong		>0		not stripped
39*b6cee71dSXin LI>24     belong		>0		- version %d
40*b6cee71dSXin LI0	beshort		0534		SVR2 pure executable (Amdahl-UTS)
41*b6cee71dSXin LI>12	belong		>0		not stripped
42*b6cee71dSXin LI>24	belong		>0		- version %d
43*b6cee71dSXin LI0	beshort		0530		SVR2 pure executable (USS/370)
44*b6cee71dSXin LI>12	belong		>0		not stripped
45*b6cee71dSXin LI>24	belong		>0		- version %d
46*b6cee71dSXin LI0	beshort		0535		SVR2 executable (USS/370)
47*b6cee71dSXin LI>12	belong		>0		not stripped
48*b6cee71dSXin LI>24	belong		>0		- version %d
49