summaryrefslogtreecommitdiff
path: root/arch/m68k
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-04-06 15:36:31 +0200
committerAlexander Graf <agraf@suse.de>2018-04-09 10:20:59 +0200
commitf4cf153a487486428a061b5d866fe2f68653b2f8 (patch)
tree1ebd5a4fbd8cdd8155673e3ea3cc2e91a1c3620a /arch/m68k
parent806d2fa8e3c4ebaa1a2b1854ee4569ccc056d238 (diff)
efi_loader: correctly set the machine type in the PE header
The portable executable header has a field describing the machine type. The machine type should match the binary. So on i386 we should use IMAGE_FILE_MACHINE_I386 and on x86_64 we should use IMAGE_FILE_MACHINE_AMD64. The actual value is issued by the objcopy command invoked in scripts/Makefile.lib in depdendence of the value of EFI_TARGET. The value is used both for EFI_STUB and for EFI_LOADER. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions