summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/pe_amain.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/driver/pe_amain.c b/src/driver/pe_amain.c
index 42ec2d1..1ded100 100644
--- a/src/driver/pe_amain.c
+++ b/src/driver/pe_amain.c
@@ -66,6 +66,9 @@ static void pe_perform_unit_actions(
int fpara = 0;
uint64_t flags = dctx->cctx->fmtflags;
+ if (flags & PERK_OUTPUT_IMAGE_TYPE)
+ pe_output_image_type(dctx,uctx,0);
+
if (flags & PERK_OUTPUT_EXPORT_SYMS) {
pe_output_export_symbols(dctx,uctx->meta,0);
fpara += uctx->meta->summary.nexpsyms;