xref: /386bsd/usr/src/usr.bin/file/new/Magdir/hp (revision a2142627)
1#
2# magic.hp: Hewlett Packard Magic
3#
4# XXX - somebody should figure out whether any byte order needs to be
5# applied to the "TML" stuff; I'm assuming the Apollo stuff is
6# big-endian as it was mostly 68K-based.
7#
8# HP-PA is big-endian, so it (and "800", which is *also* HP-PA-based; I
9# assume "HPPA-RISC1.1" really means "HP-PA Version 1.1", which first
10# showed up in the 700 series, although later 800 series machines are,
11# I think, based on the PA7100 which implements HP-PA 1.1) are flagged
12# as big-endian.
13#
14# I think the 500 series was the old stack-based machines, running a
15# UNIX environment atop the "SUN kernel"; dunno whether it was
16# big-endian or little-endian.
17#
18# I'm guessing that the 200 series was 68K-based; the 300 and 400 series
19# are.
20#
21# The "misc" stuff needs a byte order; the archives look suspiciously
22# like the old 177545 archives (0xff65 = 0177545).
23#
24#### Old Apollo stuff
250	beshort		0627		Apollo m68k COFF executable
26>18	beshort		^040000		not stripped
27>22	beshort		>0		- version %ld
280	beshort		0624		apollo a88k COFF executable
29>18	beshort		^040000		not stripped
30>22	beshort		>0		- version %ld
310       long            01203604016     TML 0123 byte-order format
320       long            01702407010     TML 1032 byte-order format
330       long            01003405017     TML 2301 byte-order format
340       long            01602007412     TML 3210 byte-order format
35#### HPPA
360	belong 		0x02100106	HPPA-RISC1.1 relocatable object
370	belong 		0x02100107	HPPA-RISC1.1 executable
38>(144)	belong		0x054ef630	dynamically linked
39>96	belong		>0		-not stripped
40
410	belong 		0x02100108	HPPA-RISC1.1 shared executable
42>(144)	belong		0x054ef630	dynamically linked
43>96	belong		>0		-not stripped
44
450	belong 		0x0210010b	HPPA-RISC1.1 demand-load executable
46>(144)	belong		0x054ef630	dynamically linked
47>96	belong		>0		-not stripped
48
490	belong 		0x0210010e	HPPA-RISC1.1 shared library
50>96	belong		>0		-not stripped
51
520	belong 		0x0210010d	HPPA-RISC1.1 dynamic load library
53>96	belong		>0		-not stripped
54
55#### 800
560	belong 		0x020b0106	HP s800 relocatable object
57
580	belong 		0x020b0107	HP s800 executable
59>(144)	belong		0x054ef630	dynamically linked
60>96	belong		>0		-not stripped
61
620	belong 		0x020b0108	HP s800 shared executable
63>(144)	belong		0x054ef630	dynamically linked
64>96	belong		>0		-not stripped
65
660	belong 		0x020b010b	HP s800 demand-load executable
67>(144)	belong		0x054ef630	dynamically linked
68>96	belong		>0		-not stripped
69
700	belong 		0x020b010e	HP s800 shared library
71>96	belong		>0		-not stripped
72
730	belong 		0x020b010d	HP s800 dynamic load library
74>96	belong		>0		-not stripped
75
760	belong		0x213c6172	archive file
77>68	belong 		0x020b0619	-HP s800 relocatable library
78
79#### 500
800	long		0x02080106	HP s500 relocatable executable
81>16	long		>0		-version %ld
82
830	long		0x02080107	HP s500 executable
84>16	long		>0		-version %ld
85
860	long		0x02080108	HP s500 pure executable
87>16	long		>0		-version %ld
88
89#### 200
900	belong 		0x020c0108	HP s200 pure executable
91>4	beshort		>0		-version %ld
92>8	belong		&0x80000000	save fp regs
93>8	belong		&0x40000000	dynamically linked
94>8	belong		&0x20000000	debuggable
95>36	belong		>0		not stripped
96
970	belong		0x020c0107	HP s200 executable
98>4	beshort		>0		-version %ld
99>8	belong		&0x80000000	save fp regs
100>8	belong		&0x40000000	dynamically linked
101>8	belong		&0x20000000	debuggable
102>36	belong		>0		not stripped
103
1040	belong		0x020c010b	HP s200 demand-load executable
105>4	beshort		>0		-version %ld
106>8	belong		&0x80000000	save fp regs
107>8	belong		&0x40000000	dynamically linked
108>8	belong		&0x20000000	debuggable
109>36	belong		>0		not stripped
110
1110	belong		0x020c0106	HP s200 relocatable executable
112>4	beshort		>0		-version %ld
113>6	beshort		>0		-highwater %d
114>8	belong		&0x80000000	save fp regs
115>8	belong		&0x20000000	debuggable
116>8	belong		&0x10000000	PIC
117
1180	belong 		0x020a0108	HP s200 (2.x release) pure executable
119>4	beshort		>0		-version %ld
120>36	belong		>0		not stripped
121
1220	belong		0x020a0107	HP s200 (2.x release) executable
123>4	beshort		>0		-version %ld
124>36	belong		>0		not stripped
125
1260	belong		0x020c010e	HP s200 shared library
127>4	beshort		>0		-version %ld
128>6	beshort		>0		-highwater %d
129>36	belong		>0		not stripped
130
1310	belong		0x020c010d	HP s200 dynamic load library
132>4	beshort		>0		-version %ld
133>6	beshort		>0		-highwater %d
134>36	belong		>0		not stripped
135
136#### MISC
1370	long		0x0000ff65	HP old archive
1380	long		0x020aff65	HP s200 old archive
1390	long		0x020cff65	HP s200 old archive
1400	long		0x0208ff65	HP s500 old archive
141
1420	long		0x015821a6	HP core file
143
1440	long		0x4da7eee8	HP-WINDOWS font
145>8	byte		>0		-version %ld
1460	string		Bitmapfile	HP Bitmapfile
147
1480	string		IMGfile	CIS 	compimg HP Bitmapfile
1490	short		0x8000		lif file
1500	long		0x020c010c	compiled Lisp
151
1520	string		msgcat01	HP NLS message catalog,
153>8	long		>0		%d messages
154