ibm6000 revision 328875
1206376Srpaulo
2206376Srpaulo#------------------------------------------------------------------------------
3206376Srpaulo# $File: ibm6000,v 1.13 2017/03/17 21:35:28 christos Exp $
4206376Srpaulo# ibm6000:  file(1) magic for RS/6000 and the RT PC.
5206376Srpaulo#
6206376Srpaulo0	beshort		0x01df		executable (RISC System/6000 V3.1) or obj module
7255944Sbdrewery>12	belong		>0		not stripped
8206376Srpaulo# Breaks sun4 statically linked execs.
9206376Srpaulo#0      beshort		0x0103		executable (RT Version 2) or obj module
10206376Srpaulo#>2	byte		0x50		pure
11206376Srpaulo#>28	belong		>0		not stripped
12206376Srpaulo#>6	beshort		>0		- version %ld
13206376Srpaulo0	beshort		0x0104		shared library
14206376Srpaulo0	beshort		0x0105		ctab data
15206376Srpaulo0	beshort		0xfe04		structured file
16206376Srpaulo0	string		0xabcdef	AIX message catalog
17206376Srpaulo0	belong		0x000001f9	AIX compiled message catalog
18206376Srpaulo0	string		\<aiaff>	archive
19206376Srpaulo0	string		\<bigaf>	archive (big format)
20206376Srpaulo
21206376Srpaulo0	beshort		0x01f7		64-bit XCOFF executable or object module
22206376Srpaulo>20	belong		0		not stripped
23206376Srpaulo# GRR: this test is still too general as it catches also many FATs of DOS filesystems
24206376Srpaulo4	belong		&0x0feeddb0
25206376Srpaulo# real core dump could not be 32-bit and 64-bit together
26206376Srpaulo>7	byte&0x03	!3		AIX core file
27206376Srpaulo>>1	byte		&0x01		fulldump
28206376Srpaulo>>7	byte		&0x01		32-bit
29206376Srpaulo>>>0x6e0	string	>\0		\b, %s
30206376Srpaulo>>7	byte		&0x02		64-bit
31206376Srpaulo>>>0x524	string	>\0		\b, %s
32206376Srpaulo