From 52255637f226fe33bde4418885e893ea6d33bd39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Moln=C3=A1r?= Date: Thu, 22 Mar 2007 13:45:03 +0100 Subject: [PATCH] give an error for x86/wince files --- src/p_w32pe.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/p_w32pe.cpp b/src/p_w32pe.cpp index 15b4041a..29f3f44d 100644 --- a/src/p_w32pe.cpp +++ b/src/p_w32pe.cpp @@ -616,6 +616,9 @@ void PackW32Pe::pack(OutputFile *fo) )) throwCantPack("unexpected value in PE header (try --force)"); + if (ih.subsystem == 9) + throwCantPack("x86/wince files are not yet supported"); + if (IDSIZE(PEDIR_SEC)) IDSIZE(PEDIR_SEC) = IDADDR(PEDIR_SEC) = 0; if (IDSIZE(PEDIR_COMRT))