Merge pull request #327665 from bolives-hax/add-qemu-s390x-binfmt

added s390x option type via magic attributes
This commit is contained in:
Marcus Ramberg 2024-07-21 23:12:55 +02:00 committed by GitHub
commit 585a077fd2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -141,6 +141,10 @@ let
magicOrExtension = ''\x00asm'';
mask = ''\xff\xff\xff\xff'';
};
s390x-linux = {
magicOrExtension = ''\x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x16'';
mask = ''\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff'';
};
x86_64-windows.magicOrExtension = "MZ";
i686-windows.magicOrExtension = "MZ";
};