xref: /minix3/external/bsd/file/dist/magic/magdir/ibm6000 (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1ef01931fSBen Gras
2ef01931fSBen Gras#------------------------------------------------------------------------------
3*0a6a1f1dSLionel Sambuc# $File: ibm6000,v 1.12 2013/09/16 15:12:42 christos Exp $
4ef01931fSBen Gras# ibm6000:  file(1) magic for RS/6000 and the RT PC.
5ef01931fSBen Gras#
6ef01931fSBen Gras0	beshort		0x01df		executable (RISC System/6000 V3.1) or obj module
7ef01931fSBen Gras>12	belong		>0		not stripped
8ef01931fSBen Gras# Breaks sun4 statically linked execs.
9ef01931fSBen Gras#0      beshort		0x0103		executable (RT Version 2) or obj module
10ef01931fSBen Gras#>2	byte		0x50		pure
11ef01931fSBen Gras#>28	belong		>0		not stripped
12ef01931fSBen Gras#>6	beshort		>0		- version %ld
13ef01931fSBen Gras0	beshort		0x0104		shared library
14ef01931fSBen Gras0	beshort		0x0105		ctab data
15ef01931fSBen Gras0	beshort		0xfe04		structured file
16ef01931fSBen Gras0	string		0xabcdef	AIX message catalog
17ef01931fSBen Gras0	belong		0x000001f9	AIX compiled message catalog
18ef01931fSBen Gras0	string		\<aiaff>	archive
19ef01931fSBen Gras0	string		\<bigaf>	archive (big format)
20ef01931fSBen Gras
2184d9c625SLionel Sambuc0	beshort		0x01f7		64-bit XCOFF executable or object module
2284d9c625SLionel Sambuc>20	belong		0		not stripped
23*0a6a1f1dSLionel Sambuc# GRR: this test is still too general as it catches also many FATs of DOS filesystems
24*0a6a1f1dSLionel Sambuc4	belong		&0x0feeddb0
25*0a6a1f1dSLionel Sambuc# real core dump could not be 32-bit and 64-bit together
26*0a6a1f1dSLionel Sambuc>7	byte&0x03	!3		AIX core file
27*0a6a1f1dSLionel Sambuc>>1	byte		&0x01		fulldump
28*0a6a1f1dSLionel Sambuc>>7	byte		&0x01		32-bit
29*0a6a1f1dSLionel Sambuc>>>0x6e0	string	>\0		\b, %s
30*0a6a1f1dSLionel Sambuc>>7	byte		&0x02		64-bit
31*0a6a1f1dSLionel Sambuc>>>0x524	string	>\0		\b, %s
32