ibm6000 1.1 KB

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