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