1ef01931fSBen Gras 2ef01931fSBen Gras#------------------------------------------------------------------------------ 3*0a6a1f1dSLionel Sambuc# $File: ibm370,v 1.9 2014/04/30 21:41:02 christos Exp $ 4ef01931fSBen Gras# ibm370: file(1) magic for IBM 370 and compatibles. 5ef01931fSBen Gras# 6ef01931fSBen Gras# "ibm370" said that 0x15d == 0535 was "ibm 370 pure executable". 7ef01931fSBen Gras# What the heck *is* "USS/370"? 8ef01931fSBen Gras# AIX 4.1's "/etc/magic" has 9ef01931fSBen Gras# 10ef01931fSBen Gras# 0 short 0535 370 sysV executable 11ef01931fSBen Gras# >12 long >0 not stripped 12ef01931fSBen Gras# >22 short >0 - version %d 13ef01931fSBen Gras# >30 long >0 - 5.2 format 14ef01931fSBen Gras# 0 short 0530 370 sysV pure executable 15ef01931fSBen Gras# >12 long >0 not stripped 16ef01931fSBen Gras# >22 short >0 - version %d 17ef01931fSBen Gras# >30 long >0 - 5.2 format 18ef01931fSBen Gras# 19ef01931fSBen Gras# instead of the "USS/370" versions of the same magic numbers. 20ef01931fSBen Gras# 21ef01931fSBen Gras0 beshort 0537 370 XA sysV executable 22ef01931fSBen Gras>12 belong >0 not stripped 23ef01931fSBen Gras>22 beshort >0 - version %d 24ef01931fSBen Gras>30 belong >0 - 5.2 format 25ef01931fSBen Gras0 beshort 0532 370 XA sysV pure executable 26ef01931fSBen Gras>12 belong >0 not stripped 27ef01931fSBen Gras>22 beshort >0 - version %d 28ef01931fSBen Gras>30 belong >0 - 5.2 format 29ef01931fSBen Gras0 beshort 054001 370 sysV pure executable 30ef01931fSBen Gras>12 belong >0 not stripped 31ef01931fSBen Gras0 beshort 055001 370 XA sysV pure executable 32ef01931fSBen Gras>12 belong >0 not stripped 33ef01931fSBen Gras0 beshort 056401 370 sysV executable 34ef01931fSBen Gras>12 belong >0 not stripped 35ef01931fSBen Gras0 beshort 057401 370 XA sysV executable 36ef01931fSBen Gras>12 belong >0 not stripped 37ef01931fSBen Gras0 beshort 0531 SVR2 executable (Amdahl-UTS) 38ef01931fSBen Gras>12 belong >0 not stripped 39*0a6a1f1dSLionel Sambuc>24 belong >0 - version %d 40ef01931fSBen Gras0 beshort 0534 SVR2 pure executable (Amdahl-UTS) 41ef01931fSBen Gras>12 belong >0 not stripped 42*0a6a1f1dSLionel Sambuc>24 belong >0 - version %d 43ef01931fSBen Gras0 beshort 0530 SVR2 pure executable (USS/370) 44ef01931fSBen Gras>12 belong >0 not stripped 45*0a6a1f1dSLionel Sambuc>24 belong >0 - version %d 46ef01931fSBen Gras0 beshort 0535 SVR2 executable (USS/370) 47ef01931fSBen Gras>12 belong >0 not stripped 48*0a6a1f1dSLionel Sambuc>24 belong >0 - version %d 49