"Anderson Lizardo" <[EMAIL PROTECTED]> writes: > Any reason why the magic numbers from qemu-binfmt-conf.sh are not just > 16 bytes long as those reported by "readelf --file-header"? For > example: > > $ readelf --file-header /bin/true | grep Magic: > Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 > > Using only the first 16 bytes avoids the need to have separate entries > for i386 and i486, given that they are emulated by the same program > (qemu-i386).
How would you distinguish it from an arm or mipsel binary? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel