sun 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. #------------------------------------------------------------------------------
  2. # $File: sun,v 1.25 2013/01/09 22:37:24 christos Exp $
  3. # sun: file(1) magic for Sun machines
  4. #
  5. # Values for big-endian Sun (MC680x0, SPARC) binaries on pre-5.x
  6. # releases. (5.x uses ELF.) Entries for executables without an
  7. # architecture type, used before the 68020-based Sun-3's came out,
  8. # are in aout, as they're indistinguishable from other big-endian
  9. # 32-bit a.out files.
  10. #
  11. 0 belong&077777777 0600413 a.out SunOS sparc demand paged
  12. >0 byte &0x80
  13. >>20 belong <4096 shared library
  14. >>20 belong =4096 dynamically linked executable
  15. >>20 belong >4096 dynamically linked executable
  16. >0 byte ^0x80 executable
  17. >16 belong >0 not stripped
  18. 0 belong&077777777 0600410 a.out SunOS sparc pure
  19. >0 byte &0x80 dynamically linked executable
  20. >0 byte ^0x80 executable
  21. >16 belong >0 not stripped
  22. 0 belong&077777777 0600407 a.out SunOS sparc
  23. >0 byte &0x80 dynamically linked executable
  24. >0 byte ^0x80 executable
  25. >16 belong >0 not stripped
  26. 0 belong&077777777 0400413 a.out SunOS mc68020 demand paged
  27. >0 byte &0x80
  28. >>20 belong <4096 shared library
  29. >>20 belong =4096 dynamically linked executable
  30. >>20 belong >4096 dynamically linked executable
  31. >0 byte ^0x80 executable
  32. >16 belong >0 not stripped
  33. 0 belong&077777777 0400410 a.out SunOS mc68020 pure
  34. >0 byte &0x80 dynamically linked executable
  35. >0 byte ^0x80 executable
  36. >16 belong >0 not stripped
  37. 0 belong&077777777 0400407 a.out SunOS mc68020
  38. >0 byte &0x80 dynamically linked executable
  39. >0 byte ^0x80 executable
  40. >16 belong >0 not stripped
  41. 0 belong&077777777 0200413 a.out SunOS mc68010 demand paged
  42. >0 byte &0x80
  43. >>20 belong <4096 shared library
  44. >>20 belong =4096 dynamically linked executable
  45. >>20 belong >4096 dynamically linked executable
  46. >0 byte ^0x80 executable
  47. >16 belong >0 not stripped
  48. 0 belong&077777777 0200410 a.out SunOS mc68010 pure
  49. >0 byte &0x80 dynamically linked executable
  50. >0 byte ^0x80 executable
  51. >16 belong >0 not stripped
  52. 0 belong&077777777 0200407 a.out SunOS mc68010
  53. >0 byte &0x80 dynamically linked executable
  54. >0 byte ^0x80 executable
  55. >16 belong >0 not stripped
  56. #
  57. # Core files. "SPARC 4.x BCP" means "core file from a SunOS 4.x SPARC
  58. # binary executed in compatibility mode under SunOS 5.x".
  59. #
  60. 0 belong 0x080456 SunOS core file
  61. >4 belong 432 (SPARC)
  62. >>132 string >\0 from '%s'
  63. >>116 belong =3 (quit)
  64. >>116 belong =4 (illegal instruction)
  65. >>116 belong =5 (trace trap)
  66. >>116 belong =6 (abort)
  67. >>116 belong =7 (emulator trap)
  68. >>116 belong =8 (arithmetic exception)
  69. >>116 belong =9 (kill)
  70. >>116 belong =10 (bus error)
  71. >>116 belong =11 (segmentation violation)
  72. >>116 belong =12 (bad argument to system call)
  73. >>116 belong =29 (resource lost)
  74. >>120 belong x (T=%dK,
  75. >>124 belong x D=%dK,
  76. >>128 belong x S=%dK)
  77. >4 belong 826 (68K)
  78. >>128 string >\0 from '%s'
  79. >4 belong 456 (SPARC 4.x BCP)
  80. >>152 string >\0 from '%s'
  81. # Sun SunPC
  82. 0 long 0xfa33c08e SunPC 4.0 Hard Disk
  83. 0 string #SUNPC_CONFIG SunPC 4.0 Properties Values
  84. # Sun snoop (see RFC 1761, which describes the capture file format,
  85. # RFC 3827, which describes some additional datalink types, and
  86. # http://www.iana.org/assignments/snoop-datalink-types/snoop-datalink-types.xml,
  87. # which is the IANA registry of Snoop datalink types)
  88. #
  89. 0 string snoop Snoop capture file
  90. >8 belong >0 - version %ld
  91. >12 belong 0 (IEEE 802.3)
  92. >12 belong 1 (IEEE 802.4)
  93. >12 belong 2 (IEEE 802.5)
  94. >12 belong 3 (IEEE 802.6)
  95. >12 belong 4 (Ethernet)
  96. >12 belong 5 (HDLC)
  97. >12 belong 6 (Character synchronous)
  98. >12 belong 7 (IBM channel-to-channel adapter)
  99. >12 belong 8 (FDDI)
  100. >12 belong 9 (Other)
  101. >12 belong 10 (type %ld)
  102. >12 belong 11 (type %ld)
  103. >12 belong 12 (type %ld)
  104. >12 belong 13 (type %ld)
  105. >12 belong 14 (type %ld)
  106. >12 belong 15 (type %ld)
  107. >12 belong 16 (Fibre Channel)
  108. >12 belong 17 (ATM)
  109. >12 belong 18 (ATM Classical IP)
  110. >12 belong 19 (type %ld)
  111. >12 belong 20 (type %ld)
  112. >12 belong 21 (type %ld)
  113. >12 belong 22 (type %ld)
  114. >12 belong 23 (type %ld)
  115. >12 belong 24 (type %ld)
  116. >12 belong 25 (type %ld)
  117. >12 belong 26 (IP over Infiniband)
  118. >12 belong >26 (type %ld)
  119. #---------------------------------------------------------------------------
  120. # The following entries have been tested by Duncan Laurie <duncan@sun.com> (a
  121. # lead Sun/Cobalt developer) who agrees that they are good and worthy of
  122. # inclusion.
  123. # Boot ROM images for Sun/Cobalt Linux server appliances
  124. 0 string Cobalt\ Networks\ Inc.\nFirmware\ v Paged COBALT boot rom
  125. >38 string x V%.4s
  126. # New format for Sun/Cobalt boot ROMs is annoying, it stores the version code
  127. # at the very end where file(1) can't get it.
  128. 0 string CRfs COBALT boot rom data (Flat boot rom or file system)