If we use IMAGE_FILE_MACHINE_AMD64 instead of AMD64MAGIC, we can avoid including the arch-specific coff/x86_64 header. Based on a patch from Maxim Kammerer <mk@dee.su>. Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>