hitachi-sh 836 B

12345678910111213141516171819202122
  1. #------------------------------------------------------------------------------
  2. # $File: hitachi-sh,v 1.6 2013/01/29 19:31:33 christos Exp $
  3. # hitach-sh: file(1) magic for Hitachi Super-H
  4. #
  5. # Super-H COFF
  6. #
  7. # below test line conflicts with 2nd NTFS filesystem sector
  8. 0 beshort 0x0500 Hitachi SH big-endian COFF
  9. # 2nd NTFS filesystem sector often starts with 0x05004e00 for unicode string 5 NTLDR
  10. #0 ubelong&0xFFFFNMPQ 0x0500NMPQ Hitachi SH big-endian COFF
  11. >18 beshort&0x0002 =0x0000 object
  12. >18 beshort&0x0002 =0x0002 executable
  13. >18 beshort&0x0008 =0x0008 \b, stripped
  14. >18 beshort&0x0008 =0x0000 \b, not stripped
  15. #
  16. 0 leshort 0x0550 Hitachi SH little-endian COFF
  17. >18 leshort&0x0002 =0x0000 object
  18. >18 leshort&0x0002 =0x0002 executable
  19. >18 leshort&0x0008 =0x0008 \b, stripped
  20. >18 leshort&0x0008 =0x0000 \b, not stripped