]> granicus.if.org Git - file/commitdiff
use "universal binary". From Guy Harris
authorChristos Zoulas <christos@zoulas.com>
Fri, 4 Jan 2013 23:27:55 +0000 (23:27 +0000)
committerChristos Zoulas <christos@zoulas.com>
Fri, 4 Jan 2013 23:27:55 +0000 (23:27 +0000)
magic/Magdir/cafebabe

index ed4c8dfb2bababe53c0805ba3eb1f51b4495e551..4150014e9ad598d694d7faa345c56b649deb09ac 100644 (file)
@@ -1,13 +1,13 @@
 
 #------------------------------------------------------------------------------
-# $File: cafebabe,v 1.10 2012/10/31 16:32:01 christos Exp $
+# $File: cafebabe,v 1.11 2013/01/04 23:27:55 christos Exp $
 # Cafe Babes unite!
 #
-# Since Java bytecode and Mach-O fat-files have the same magic number, the test
-# must be performed in the same "magic" sequence to get both right.  The long
-# at offset 4 in a mach-O fat file tells the number of architectures; the short at
-# offset 4 in a Java bytecode file is the JVM minor version and the
-# short at offset 6 is the JVM major version.  Since there are only 
+# Since Java bytecode and Mach-O universal binaries have the same magic number,
+# the test must be performed in the same "magic" sequence to get both right.
+# The long at offset 4 in a Mach-O universal binary tells the number of
+# architectures; the short at offset 4 in a Java bytecode file is the JVM minor
+# version and the short at offset 6 is the JVM major version.  Since there are only 
 # only 18 labeled Mach-O architectures at current, and the first released 
 # Java class format was version 43.0, we can safely choose any number
 # between 18 and 39 to test the number of architectures against
 >0     belong          x               \b]
 
 0      belong          0xcafebabe
->4     belong          1               Mach-O fat file with 1 architecture:
+>4     belong          1               Mach-O universal binary with 1 architecture:
 >>8    use             mach-o
 >4     belong          >1
->>4    belong          <20             Mach-O fat file with %ld architectures:
+>>4    belong          <20             Mach-O universal binary with %ld architectures:
 >>>8   use             mach-o
 >>>28  use             mach-o
 >>>4   belong          >2