Signed-off-by: Jeremy Drake <[email protected]>
---
 mingw-w64-tools/genpeimg/src/img_pe.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/mingw-w64-tools/genpeimg/src/img_pe.c 
b/mingw-w64-tools/genpeimg/src/img_pe.c
index e7ecbcd5b..345fc4e44 100644
--- a/mingw-w64-tools/genpeimg/src/img_pe.c
+++ b/mingw-w64-tools/genpeimg/src/img_pe.c
@@ -101,10 +101,12 @@ fill_pe_info (pe_image *pe)
   switch (pe->pe_filehdr.machine)
     {
     case 0x14c: /* i386 */
+    case 0x1c4: /* ARMNT */
       pe->is_64bit = 0;
       pe->is_bigendian = 0;
       break;
-    case 0x8664:
+    case 0x8664: /* x64 */
+    case 0xaa64: /* ARM64 */
       pe->is_64bit = 1;
       pe->is_bigendian = 0;
       break;
-- 
2.32.0.windows.2



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to