Small cosmetic changes.

committer: mfx <mfx> 1142302586 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2006-03-14 02:16:26 +00:00
parent df04e8183d
commit a4d79d7375
2 changed files with 9 additions and 8 deletions
+5 -4
View File
@@ -1564,11 +1564,12 @@ void PackArmPe::pack(OutputFile *fo)
// check the PE header
// FIXME: add more checks
if (!opt->force && (
ih.opthdrsize != 0xE0
|| (ih.flags & EXECUTABLE) == 0
|| ih.subsystem != 9
(ih.cpu != 0x1c0)
|| (ih.opthdrsize != 0xe0)
|| ((ih.flags & EXECUTABLE) == 0)
|| (ih.subsystem != 9)
|| (ih.entry == 0 && !isdll)
|| ih.ddirsentries != 16
|| (ih.ddirsentries != 16)
// || IDSIZE(PEDIR_EXCEPTION) // is this used on arm?
// || IDSIZE(PEDIR_COPYRIGHT)
))