Lines Matching +full:cpu +full:- +full:version

2 #------------------------------------------------------------------------------
6 # Since Java bytecode and Mach-O universal binaries have the same magic number,
8 # The long at offset 4 in a Mach-O universal binary tells the number of
10 # version and the short at offset 6 is the JVM major version. Since there are only
11 # only 18 labeled Mach-O architectures at current, and the first released
12 # Java class format was version 43.0, we can safely choose any number
14 # (and use as a hack). Let's not use 18, because the Mach-O people
18 ### MACH-O START ###
19 # URL: https://en.wikipedia.org/wiki/Mach-O
21 0 name mach-o \b [
22 # for debugging purpose CPU type as hexadecimal
23 #>0 ubequad x CPU=%16.16llx
24 # display CPU type as string like: i386 x86_64 ... armv7 armv7k ...
25 >0 use mach-o-cpu \b
32 # Reference: https://opensource.apple.com/source/cctools/cctools-949.0.1/
33 # include/mach-o/fat.h
36 >4 belong 1 Mach-O universal binary with 1 architecture:
37 !:mime application/x-mach-binary
38 >>8 use mach-o \b
39 # nfat_arch; number of CPU architectures; highest is 18 for CPU_TYPE_POWERPC in 2020
41 >>4 ubelong <20 Mach-O universal binary with %d architectures:
42 !:mime application/x-mach-binary
43 >>>8 use mach-o \b
45 >>>>28 use mach-o \b
47 >>>>48 use mach-o \b
49 >>>>68 use mach-o \b
51 >>>>88 use mach-o \b
53 >>>>108 use mach-o \b
54 ### MACH-O END ###
59 !:mime application/x-java-applet
60 #!:mime application/java-byte-code
62 >>6 ubeshort x version %d.
64 # for debugging purpose version as hexadecimal to compare with Mach-O universal binary
102 >5 byte x version %d.
104 !:mime application/x-java-pack200