From 26024770b8d470106bb54886e4da6e170749af71 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Mon, 30 Jul 2007 17:47:42 +0200 Subject: [PATCH] For the moment we always throwCantPack() for arm/pe and win32/pe. --- src/p_armpe.cpp | 4 ++++ src/p_w32pe.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/p_armpe.cpp b/src/p_armpe.cpp index 21904631..32d5128c 100644 --- a/src/p_armpe.cpp +++ b/src/p_armpe.cpp @@ -507,6 +507,10 @@ void PackArmPe::buildLoader(const Filter *ft) void PackArmPe::pack(OutputFile *fo) { + // FIXME: we need to think about better support for --exact + if (opt->exact) + throwCantPackExact(); + const unsigned objs = ih.objects; isection = new pe_section_t[objs]; fi->seek(pe_offset+sizeof(ih),SEEK_SET); diff --git a/src/p_w32pe.cpp b/src/p_w32pe.cpp index d443f140..e9157163 100644 --- a/src/p_w32pe.cpp +++ b/src/p_w32pe.cpp @@ -592,6 +592,10 @@ void PackW32Pe::buildLoader(const Filter *ft) void PackW32Pe::pack(OutputFile *fo) { + // FIXME: we need to think about better support for --exact + if (opt->exact) + throwCantPackExact(); + const unsigned objs = ih.objects; isection = new pe_section_t[objs]; fi->seek(pe_offset+sizeof(ih),SEEK_SET);